Commit graph

2353 commits

Author SHA1 Message Date
Igor Pecovnik
631296f2e6
Odroid N2: attacht to last known working upstream tag since master is currently broken. Remove deprecated patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-21 17:24:15 +02:00
Piotr Szczepanik
06d5e5746f [rockchip64-dev] Bring back power off fix for boards using RK808 (#1520) 2019-08-19 08:16:16 -04:00
Igor Pecovnik
ab1c14377c
mvebu-helios4: removing deprecated u-boot patch @boards-marvell
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-18 10:20:11 +02:00
5kft
144e67903f [ rockchip64-dev ] added DT symlink for nanopi-neo4 (nanopi4-rev04); merged into previous patch (and renamed accordingly) 2019-08-17 10:31:24 -07:00
Martin Ayotte
7ab8d6288d fix 8189es for 5.3.y compatibility 2019-08-16 14:55:13 -04:00
Igor Pecovnik
a496af3bc5
sunxi: update optional patch which disables boot messages
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 09:48:11 +02:00
Zhang Ning
f49c6f8e2b [meson64-dev] update to 5.3 and refresh all patches
1: update meson 4K support patches:
2, HDMI i2s improvement patches:
3, update vdec patches:
4, update meson audio patches:
5, add meson crypto engine driver
6, remove disabled patches:
7  remove unknown patch or no need
8, remove merged patches:
9, remove unknown patches from khadas should be covered by patches set 2
10, rename patches for better grouping
11, update kernel config accordingly

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-15 08:48:52 +08:00
Martin Ayotte
a00375179b switch sunxi-dev to 5.3.0-rc3 2019-08-14 09:23:05 -04:00
Igor Pecovnik
bbca5b7e9b
Rockchip64: move to current upstream tags. Tested on Rock64Pro, booting PCI slot.
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-13 23:39:27 +02:00
Martin Ayotte
a898424873 fix 8189fs and 8723cs patches to make them 5.3.y compatible 2019-08-10 15:16:23 -04:00
zhangn1985
78d28f8083 rebase sunxi-next to upstream LTS (#1507)
1, format all patches from https://github.com/megous/linux
   `git format-patch 79bf89b88a87f2ebf147f76d8c40183283b49b51...2a7cb228d29c3882c1414c10a44c5f3f59bfa44d`
   and copy them to sunxi-next with prefix `0000-`

2, remove unnecessary patches, due to they are revert of upstream patches:
    4d867e2bd6
    4e674a3000
    b8e05fe47e
    8bb8175edd
    a2888276ee

3, remove fail to apply and no use:
    960ddd63a8

4, remove WireGuard patch:
    1cd13b836c

5, remove meaningless patch:
    f26e36379a

6, remove merged or included by megous/linux patches:
   0112-mfd-axp20x-Add-supported-cells-for-AXP803.patch
   board-bpi-m3-make-ethernet-working.patch
   board-pine-h6-pine-h6-0025-phy-sun4i-usb-add-support-for-missing-USB-PHY-index.patch

7, remove stable release update patches.
   ignored.

8, rebase sunxi-next/sunxi64-next to upstream linux-4.19.y

test result:
   all patches applied, no error.
   orangepipc/orangpioneplus build OK.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-06 21:00:05 -04:00
Igor Pecovnik
5194d17539
rk3399: added fixed upstream patches, remove selinux due to broken headers, add latest rtl7156 driver, adjust kernel configuration. Briefly tested on T4. 2019-08-07 00:47:40 +02:00
Igor Pecovnik
0cc99ba7af
rockchip64: Add improved driver for RTL8156 2.5GBE USB based NIC.
Removed SE Linux since it breaks kernel headers and added upstream patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-06 18:31:59 +02:00
Tomasz Stachewicz
5cb66ac9fc Banana Pi M2 Zero: remove board-bpi-m2-zero-enable-dvfs.patch (#1503)
In current kernels (both next and dev) this patch breaks cpufreq and all that depends on it (no dvfs means board overheating). Removing it makes cpufreq and dvfs work again.
2019-08-05 18:04:29 +02:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
chwe17
a040785d42 Tinkerboard camera support (#1482)
* fix kernelcrash with config_of_overlay combined with isp1 camera driver,based on:
30a8401c2f

* add basic dtbo infrastucture

* set ov5647 (RPi cam rev 1.3) as default, imx219 (RPi cam V2.1) outputs a blurry green videostream at the moment

* maybe fix powering for camera

* adjust mainline dtbo patch to bsp kernel

* got you! little.. dtbo's are properly built and applied during boot.

* add imx219 overlay to switch between cameras & add ae/awb fix for ov 5647 from asus tinker repo

* patch imx219 up to 96396323fa

* bring back wireguard, otherwise igor gets grumpy :D

* fix camera status
2019-08-04 18:05:50 -04:00
Tony
f0400a21c7
Merge pull request #1491 from piter75/rock-pi-4-bring-leds-back
Bring back the LEDs to Rock Pi 4
2019-08-04 16:23:01 -04:00
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
Zhang Ning
18f0627a5c remove merged patch
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-02 14:16:17 +08:00
Piotr Szczepanik
e015080fda Disabled uncontrollable power LED in Rock Pi 4 2019-08-01 18:16:07 +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
Piotr Szczepanik
5633ff6c9c Bring back the LEDs to Rock Pi 4 2019-07-30 20:50:34 +02: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
Zhang Ning
2ea130f08a add patches from vendor
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 13:07:14 +08: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