Commit graph

6559 commits

Author SHA1 Message Date
Tony
d069d44e56
Merge pull request from piter75/rock-pi-4-shutdown-fix
Power off fix for RK808/RK3399
2019-08-04 15:37:56 -04:00
Tony
d5f8caddcc
Merge pull request from piter75/rock-pi-4-boot-order
Prefer booting from SD on Rock Pi 4
2019-08-04 14:03:57 -04:00
Werner
b03c7cff0f [sunxi-next] Add upstream patch () 2019-08-04 12:24:37 +02:00
Igor Pecovnik
453554eae4
rockchip64-dev: remove deprecated patches, adjust patch, adjust configuration
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-04 08:00:42 +02:00
lanefu
09f7c70010
Odroidn2 tweaks ()
* prefix uboot boot_scripts with /boot/ path

* load codec modules on desktop build
2019-08-03 14:06:31 -04:00
Becker Béla
e517d588a9 Disable ext4 options that don't work with u-boot ()
Disable these mkfs options for all new distros
2019-08-02 20:02:54 -04:00
Igor Pecovnik
f035a82726
mvebu64: update dev to 5.2.y, rockchip64-default: attach to new tag + upstream patch, bump with version due to htop and sunxi kernels update
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-02 23:12:38 +02:00
count-doku
9e0f2414fb
Merge pull request from armbian/mvebu
Enable IIO and add bmp280 sensor module on mvebu kernel
2019-08-02 19:57:39 +02:00
count-doku
cde23300d8 Enable IIO and add bmp280 sensor module 2019-08-02 13:08:36 +02:00
Igor Pecovnik
a169b1e750
Adjust rootfs cache number, fix packaging debugging
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:45:31 +02:00
Igor Pecovnik
49ea906d9a
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:56 +02:00
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Igor Pečovnik
aae7ae95ba
Change rootfs cache version
For cache rebuilding
2019-07-31 23:52:47 +02:00
Igor Pečovnik
72c996334e
Bump with version
due to mvebu family update
2019-07-31 21:21:35 +02:00
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot ()
* Initial Mvebu RFC https://github.com/armbian/build/issues/1426

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: add missing patches

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu: change making u-boot targets to standard way, adjust patches and config

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* helios4: set default branch to use U-Boot 2018.11

Switch over to U-Boot 2018.11 that has been used for some time in next
branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Enable DEV branch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: Add RTC support on Clearfog and Helios4

Added DM driver for mvebu RTC and enable it on Clearfog and Helios4
configuration.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Added SPI NOR flash target

Build bootable SPI NOR flash image.
Change the boot order to USB -> SATA -> MMC

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Restore SPI support on U-Boot 2019.04

* mvebu: kernel: Added Wake-On-GPIO and WoL support

The patch set was missing during transition.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [] SolidRun's ARMADA A388 SOM U-Boot ODT Update

Old versions of U-Boot did not configure correctly the ODT on data
signals of DDR RAM on SolidRun's ARMADA A388 SOMs.

According to SolidRun Knowledge Base, the changes already pushed to
mainline U-Boot. But then it was overwritten when Marvell DDR Training
Tool updated

[URL]
https://developer.solid-run.com/knowledge-base/armada-38x-som-u-boot-odt-update/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* [] mvebu: u-boot: Add revision id for Armada 38x B0

Added patch for SolidRun U-Boot v2018.01 and
for Helios4 U-Boot v2018.11

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* clearfog: Added SPI NOR flash target

Build bootable SPI NOR flash image.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: clearfog: DEV branch use mainline U-Boot

Also move clearfog base patch into its own board folder.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: enable U-Boot uart target

Normal MMC image can be used for uart boot using following command:

./tools/kwboot -b u-boot-spl.kwb /dev/ttyUSBX

But on Helios4, the SPL failed to continue the booting process if ECC is
enabled, so disable it.

Since the usage of uart boot is more for rescue/debug, disable autoboot.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: NEXT branch use mainline U-Boot

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: fix fancontrol related bug during buster testing

- On kernel 4.19, cpu thermal sensor changed the name from
armada_thermal into f10e4078.thermal. Added this new name to udev rules
- Since DEFAULT branch now use kernel 4.14, update fancontrol
configuration
- Load lm75 kernel module
- On kernel 4.19, cpu temp reading about 20 degree C lower, update
fancontrol configuration.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: Override vendor provided fancontrol unit

systemd emit following message on dmesg

systemd[1]: /lib/systemd/system/fancontrol.service:9: PIDFile=
references path below legacy directory /var/run/, updating
/var/run/fancontrol.pid \xe2\x86\x92 /run/fancontrol.pid; please update
the unit file accordingly.

Override and change the value in the unit file to remove the message.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: DEV branch use its own u-boot patch folder

The patches are copied over from u-boot-mvebu-next

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: u-boot: Make clearfog model distinction more obvious

While at it, also change SerDes LANE4 into USB 3.0 on Clearfog Base.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* lib: Use apt-get install instead of dpkg on install_deb_chroot()

dpkg -i does not install dependencies required by the package.
This is needed if the BSP package requires other package that is not
installed during debootstrap.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Move various tweak to family_tweak_bsp()

Various tweak in family_tweaks_s() only applied to SD card image.
Move it to family_tweaks_bsp() so it will also included on the BSP
package and applied to existing user.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: mvebu: helios4: Add /etc/modules to BSP

On kernel 4.19, user need to modify the /etc/modules to add lm75 kernel
module. Pack the file into BSP so user no longer needed to modify it.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Make zbud as built-in module

To remove the following error:
[    1.705485] zswap: default zpool zbud not available
[    1.705488] zswap: pool creation failed

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* bootscripts: mvebu: Add default value for spi_workaround

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: kernel: Backport armada_thermal changes to 4.14 ()

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata  (The changes first appear on LK 4.16). The
result is temperature reading is around 20 degree Celsius lower.

Currently armbian-motd apply -20C tweak for both LK 4.14 and LK 4.19
which is incorrect. Instead of adding some logic on what condition to
apply the tweak, it is better to remove the tweak and patch the kernel
instead.

Revert commit b3dd4e9 ("[ mvebu ] Put back Armada temperature tweak in
motd")
which is part of  solution.

[URL]
https://forum.armbian.com/topic/10214-clearfogpro-possible-change-in-temperature-reporting-between-414next-and-419dev/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: unified fancontrol config

Since LK 4.14 on DEFAULT branch already patched and the temp reading is
same as LK 4.19 on NEXT branch, it is no longer needed to separate
fancontrol configuration file.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: helios4: Remove rev id patch

The patch is already applied in helios4 repo, no need to have it in
armbian.
This revert helios4 part of commit 7411c55

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: enable PCIe support and PCIe reset

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* u-boot: clearfog: add boot-marvell.cmd backward compatibility

The patches added missing variable that used on boot-marvell.cmd and
also adjust the some memory addresses to prevent crash due to usage of
fdt_high and initrd_high.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu: helios4: tweak regarding temperature setting

Make fan speed similar compared to pre-patched armada-thermal. Target
PWM value around 70 during idle.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: sources: clearfog to use u-boot 2018.01 for NEXT branch

This changes also affect Helios4. Moved the shared U-Boot source setting
back to Helios4 for NEXT branch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* config: boards: build Stretch image for Clearfog and Helios4

Also remove DEV from Helios4 CLI_TARGET

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: Disable access to SPI Flash

User need to set spi_workaround=yes to enable SPI Flash access and lost
access to internal SATA.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-next: adjust kernel config

* mvebu-dev: bump to 5.2 and adjust kernel configuraion. Tested for building.

* Adjust kernel config, add AUFS

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* mvebu-next: Adjust kernel config, add debug GPIO

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* mvebu-dev: separate Clearfog Base U-boot configuration file and patch

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-07-31 12:51:00 +02:00
zhangn1985
27e22f6e36 more clean up for source code ()
some patches will create new files, they can be removed by `git clean -qdf`

but when repo has update, git clean is forgot, thus leave new files still in repo.

add git clean back.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-30 22:24:00 -04:00
tolqen
f8e88d16e1 Add eMMC to mainline u-boot device tree for NanoPi Neo Air ()
The eMMC must have been forgotten when the device tree for the NanoPi Neo Air was being added to mainline u-boot, which results in the device being unable to boot when installed to the internal eMMC using the nand-sata-install utility.
2019-07-30 22:15:50 -04:00
Przemysław Sztoch
4d7d0e16bb ROOTPWD, HOST and rockpi-4a. ()
* More configuration options (ROOTPWD and HOST).

* Prepared for RockPi4A without wifi.
2019-07-30 14:23:48 +02:00
Igor Pecovnik
49983682b4
Enable CONFIG_SQUASHFS_XZ where not enabled. Closes https://github.com/armbian/build/issues/1483
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:58:17 +02:00
Igor Pecovnik
5412aa7d9c
sunxi-dev/sunxi64-dev: update kernel configurations
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-29 17:54:31 +02:00
Igor Pecovnik
518e24858b
AUFS - automated patching for future versions 2019-07-29 16:23:28 +02:00
Werner
b213bf52b3 [sunxi-next] remove obsolete patch ()
was added to mainstream in 4.19.61
2019-07-28 17:39:38 -04:00
Werner
19c5be4cb4 Add files via upload ()
SUNXI-NEXT to patchlevel 4.19.62
2019-07-28 09:46:35 -04:00
Piotr Szczepanik
4d3f3087ec Power off fix for rock pi 4 2019-07-28 00:30:34 +02:00
zhangn1985
35aedf08b0 main: show docker in build options ()
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 14:24:37 +02:00
Igor Pecovnik
33101aeea6
odroidc1: (try to) enable temperature readings 2019-07-25 16:40:55 +02:00
Igor Pecovnik
abd3b20696
odroidc1: set fixed mac address at first boot 2019-07-25 16:27:17 +02:00
Igor Pecovnik
307c1daaa1
sunxi-dev: adjust kernel configuration 2019-07-25 08:47:11 +02:00
Martin Ayotte
776a5e7eb2 fix SPI default spi-max-frequency 2019-07-24 17:43:52 -04:00
Martin Ayotte
fadde96f2b fix SPIDEV overlay and add SPI-JEDEC-NOR overlay 2019-07-24 17:41:52 -04:00
Piotr Szczepanik
9b10c1c1f3 Added avafinger's and Igor's patches for cpu monitoring in htop () 2019-07-24 09:15:03 -04:00
zhangn1985
c7dfe7ee68 enable lima for sunxi-dev ()
* remove merged patches for sunxi-dev

lima patches merged: a1d2a63399

0117: af2c06c419 (diff-f1ba11d1be7f40933d95529cd37bf26b)

board-a64-v3-02-19-arm64-dts-allwinner-a64-Add-Pine64-LTS-device-tree-file.patch:
b3ee15a509 (diff-bd675a39699d13027495d794e6a4c312)

for: 
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-dev: enable lima kernel driver

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* sunxi-u-boot: remove merged patches

add-nanopineoplus2.patch: 6130b1f6bc

add-orangepi-zeroplus.patch: 76d69eb01d

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-24 13:00:04 +02:00
Piotr Szczepanik
4dd45b56e6 Moved Rock Pi 4's prioritizing SD on boot to board specific patches dir 2019-07-24 10:51:51 +02:00
Piotr Szczepanik
9e070954ed Merge branch 'master' into rock-pi-4-boot-order 2019-07-24 10:50:57 +02:00
zhangn1985
4b7a9cea57 fix armbian logo patch and remove drm-sun4i-rgb-Add-5-tolerance-to-dot-clock-frequency, merged ()
* sunxi-dev: fix logo patch not applied

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* remove drm-sun4i-rgb-Add-5-tolerance-to-dot-clock-frequency, merged

replaced by: e2771deb5d

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-23 20:25:07 -04:00
Martin Ayotte
91a0bda856
Merge pull request from piter75/rockchip64-uart4-dedicated-serial
Additional UART port added to linux-rockchip64-dev.config
2019-07-23 18:31:05 -04:00
Piotr Szczepanik
3babd2042e Additional UART added to linux-rockchip64-dev.config 2019-07-23 23:25:24 +02:00
alpe12
6e45b916a6 Update linux-odroidc1-next.config ()
* Update linux-odroidc1-next.config

https://github.com/armbian/build/issues/1465

* Update linux-odroidc1-next.config
2019-07-23 20:26:21 +02:00
Martin Ayotte
840594fad3 switch meson64 to 5.2.y and fix patches accordingly 2019-07-23 14:16:14 -04:00
Martin Ayotte
f0d3670ff9 fix typo in UART4 overlay 2019-07-23 12:31:18 -04:00
Thomas Kaiser
443b460ad8
Better check for /tmp being a tmpfs. Closes 2019-07-23 17:05:55 +02:00
Piotr Szczepanik
1b36cb325c Merge branch 'origin/master' into rock-pi-4-boot-order 2019-07-23 07:59:39 +02:00
Martin Ayotte
6dceae89ce swap fragments order in UART4 overlay 2019-07-22 10:08:41 -04:00
Martin Ayotte
f034f8355c
Merge pull request from piter75/rockchip64-uart4-overlay
[rockchip64-dev] UART4 activating overlay
2019-07-22 08:21:56 -04:00
zhangn1985
28c2d20c77 rootfs: update DNS for prebuilt rootfs ()
defualt DNS for prebuilt rootfs is 1.0.0.1
when this DNS is not accessable, eg. due to proxy.

network operation in chroot will not available.

use alternative DNS in variable NAMESERVER.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-22 09:41:02 +02:00
Piotr Szczepanik
4698f9a456 [rockchip64-dev] rockpi - really prefer SD over eMMC 2019-07-21 23:01:34 +02:00
Piotr Szczepanik
5ae502fa0a [rockchip64-dev] UART4 activating overlay 2019-07-21 13:24:42 +02:00
Piotr Szczepanik
6c92812b19 [rockchip64-dev] rockpi - prefer booting from sd 2019-07-20 23:39:07 +02:00
Igor Pecovnik
07e00d8a2f
Cache creation: revert 568b8d7d55 since we already have this implementation. Go up with cache version. Fixing https://forum.armbian.com/topic/10989-armbian-build-stretchbuster-does-not-install-additional-packages 2019-07-20 08:45:11 +02:00
Thomas McKahan
3792d8ee59 [ rockchip default ] fix spidev compatible string 2019-07-19 16:53:35 -04:00