Commit graph

2332 commits

Author SHA1 Message Date
Thomas McKahan
3d45b9fae9 [ rockchip64-dev ] fix location of RK808 poweroff patch 2019-08-04 16:15:23 -04:00
Tony
d069d44e56
Merge pull request #1484 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 #1467 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 (#1500) 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 (#1498)
* prefix uboot boot_scripts with /boot/ path

* load codec modules on desktop build
2019-08-03 14:06:31 -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
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
Aditya Prayoga
e261c6f828 Move mvebu DEFAULT, NEXT and DEV branch to next kernel (LTS) and U-boot #1426 (#1487)
* 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>

* [#1429] 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>

* [#1429] 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 (#1452)

On kernel 4.19, armada_thermal driver has been fixed to address
Marvell's Errata #132698 (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 #1421 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
tolqen
f8e88d16e1 Add eMMC to mainline u-boot device tree for NanoPi Neo Air (#1492)
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
Werner
b213bf52b3 [sunxi-next] remove obsolete patch (#1486)
was added to mainstream in 4.19.61
2019-07-28 17:39:38 -04:00
Werner
19c5be4cb4 Add files via upload (#1485)
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
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
zhangn1985
c7dfe7ee68 enable lima for sunxi-dev (#1478)
* 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: #1474
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 (#1475)
* 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
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
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
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
Thomas McKahan
3792d8ee59 [ rockchip default ] fix spidev compatible string 2019-07-19 16:53:35 -04:00
Hideaki Takahashi
7ccc58c402 disable strict mode for A64 pinctrl (#1459)
copy from patch/kernel/sunxi-dev
2019-07-17 14:08:03 +02:00
Igor Pecovnik
c865c065eb
Nanopi K1 plus: fix led colors 2019-07-15 17:29:31 +02:00
Igor Pecovnik
2b4af84e96 sunxi-next: add upstream patches and update kernel configuration 2019-07-15 09:58:52 +02:00
Martin Ayotte
885111ab0e switch rockchip64-dev and rk3399-dev to 5.2.y 2019-07-13 11:25:27 -04:00
Martin Ayotte
0221ba5aef fix nand-disable-badblock-check-for-migration patch 2019-07-13 10:06:35 -04:00
Martin Ayotte
5d20888218 remove useless patch 2019-07-13 09:41:22 -04:00
Igor Pecovnik
8336ecf6ab
Merge branch 'master' of https://github.com/armbian/build 2019-07-13 15:31:23 +02:00
Igor Pecovnik
9fda2386bf
rockchip-next: add gpio_mem driver
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-13 15:30:49 +02:00
Martin Ayotte
82cc720e7a fix xradio patch 2019-07-13 09:25:37 -04:00
Igor Pecovnik
fc17154500
rockchip-dev: bump to 5.2, adjust pathes, add gpio_mem driver
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-13 15:14:54 +02:00
Martin Ayotte
a8265b5db2 fix some patches for 5.2.y 2019-07-11 16:06:36 -04:00
Manuel Rüger
6d46d8f69d [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches (#1424)
* [rockchip64-dev] rockpi: Add 5.3 upstream DTS patches

* Support Bluetooth / WIFI
Akash Gajjar <akash@openedev.com>
45fa7c3838.patch
* Support Audio over HDMI
Ezequiel Garcia <ezequiel@collabora.com>
549dcdafe7.patch

* [rockchip64-dev] rockpi: Remove upstreamed patches

5.1 contains rockpi support

* [rockchip64-dev] Uboot: Add patch for correct naming
2019-07-11 09:12:50 +02:00
Igor Pecovnik
bb4a94d828
rockchip64: adjust patches with upstream and attach to the latest tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-08 19:43:05 +02:00
Martin Ayotte
605a7b8110 remove DS1308 from all NanoPi 2019-07-06 09:07:58 -04:00
Igor Pecovnik
76ac54aae3
sunxi-dev Fix wrong temperature readings
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-04 21:41:41 +02:00
Igor Pecovnik
adeb736f8e
sunxi-dev: fix the same spi bug as in sunxi-next, remove deprecated patches and adjust one
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 21:28:48 +02:00
Igor Pecovnik
278692c712
sunxi-next: spidev driver bugfix and upstream patch https://github.com/armbian/build/issues/1445
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 19:17:12 +02:00
Igor Pečovnik
4acb3795d6
imx6: make all u-boot targets, fix 4.14.y, remove unfunctional BT patch, enable DEV branch ... all variants tested (#1438)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-01 07:21:17 +02:00
dziobak
b79b3558e7 opp fix stability issue (#1434)
I've tested my OPi3 for best voltage numbers (for resolving stability problem after first patch), using StabilityTester and increasing slowly mV by 10 after every crash. Finaly, this values gives no error by running StabilityTester 100 times.
2019-06-29 09:42:25 +02:00
Igor Pecovnik
90ad4e43a2
sunxi-u-boot: Don't try to load logo when there is no video output. This removes error displayed on serial console when trying to load image
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-27 22:03:10 +02:00
Igor Pecovnik
ed10182100
sunxi-next Upstream patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-27 20:56:19 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00