853 Commits

Author SHA1 Message Date
Paolo Sabatino
2cbd35f3b2 rockchip: fix kernel device tree in u-boot 2022-03-24 09:21:56 +00:00
Paolo Sabatino
445062b8dc rockchip: advance tinkerboard u-boot to v2022.01 2022-03-24 09:21:56 +00:00
Paolo Sabatino
c674bac80c rockchip: advance tinkerboard u-boot to v2021.01 2022-03-24 09:21:56 +00:00
Oleg
f52a4193d0
Adding Pine64 Quartz64a as WIP target (#3539)
* add Quartz64a

* quartz64 to wip

* add m2\p2 current

* move patch archive
2022-03-20 22:58:21 +01:00
Paolo Sabatino
71d6e7db63 rk322x: bump to u-boot v2022.01 2022-03-18 17:26:46 +01:00
schwar3kat
6ff15fe54f
Add orangepi r1 plus lts (#3514)
* Rockchip64 Linux-5.10y - drivers for Motorcomm YT8531
renamed the previous "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" to "net-phy-Add-driver-for-Motorcomm-1-YT85xx-PHYs.patch" to fix patch order and added a new patch "net-phy-Add-driver-for-Motorcomm-2-YT8531-PHYs.patch"
The new YT8531 patch is sourced from from Lean's OpenWrt source rockchip/patches-5.10/601-net-phy-Add-driver-for-Motorcomm-YT8531-PHYs.patch.
It is intended to extend a patch identical to Armbian's "net-phy-Add-driver-for-Motorcomm-YT85xx-PHYs.patch" and is used without alteration.

* Add new board OrangePi R1 LTS (rk3328)
Includes uBoot and support for Linux-5.10y

* Rockchip64 Linux-5.15y drivers for YT8531 and other Motorcomm chips

YT8010, YT8510, YT8511, YT8512, YT8521. The driver patch set is sourced from Xunlong-OrangePi OpenWRT and is used as is, with only a name and makefile change.
A single patch set uses the same underlying source code as the Armbian Linux-5.10y set, but uses inbuilt logic to apply tweaks that depend on the Linux kernel version.
The patch is renamed similarly to the 5.10 patch set, net-phy-Add-driver-for-Motorcomm-T85xx+PHYs.patch to imply code base continuity with the previous similar Armbian patch sets.

* Rockchip64 Linux-5.15y support for Orange Pi R1 Plus LTS

Includes DTS and makefile changes. A driver for net phy YT8531C is in a separate commit

* change orangepi-r1plus-lts.csc to orangepi-r1plus-lts.conf

board is now supported

* - add patch also to 5.16.y
- fix wrong patch permission

* Fix Makefile patch

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2022-02-26 15:03:33 +01:00
Yuntian Zhang
3da96b2d77
Add support for Radxa Zero 2 (#3413)
Radxa Zero 2 is a small form factor SBC based on the Amlogic A311D
chipset that ships in a number of eMMC configurations:

- Amlogic A311D (Quad A73 + Dual A53) CPU
- 4GB LPDDR4 RAM
- 32/64/128GB eMMC
- Mali G52-MP4 GPU
- HDMI 2.1 output (micro)
- BCM4345 WiFi (2.4/5GHz a/b/g/n/ac) and BT 5.0
- 1x USB 2.0 port - Type C (OTG)
- 1x USB 3.0 port - Type C (Host)
- 1x micro SD Card slot
- 40 Pin GPIO header

Signed-off-by: Yuntian Zhang <yt@radxa.com>
2022-02-25 19:27:41 +01:00
Oleg
b3070c7eef
fix use auto dtb for extlinux (#3466) 2022-02-10 15:04:16 +01:00
Igor Pečovnik
e610f00bc7
Bump Meson64 u-boot to 2022.01 (#3418)
* Bump Meson64 u-boot to 2022.01

Tested VIM boards

* Move Jethub related patches under common meson64 patch collection

* Move jethub patch to per board and remove unneded settings
2022-01-20 23:18:55 +01:00
catalinii
f6143eff67
Fix the uboot for rock-3a (#3271)
* Sync kernel config with radxa and remove packaging patch

* Merge the rockchip64 legacy config as well

* Lower priority of EFI partitioning against DOS partitioning which is used by Armbian

Co-authored-by: Catalin Toda <catalinii@yahoo.com>
2021-12-25 11:57:26 -05:00
Vyacheslav
5efc78b531
JetHome JetHub D1/H1 patch/bsp updates (#3348)
* JetHome: Update u-boot patches: fix emmc work on JetHub D1
* JetHome: update kernel patches with last updates for JetHub devices.
* JetHome: Update Bluetooth init script to more stable start.
2021-12-14 12:08:26 +01:00
Paolo
d876b9a5e1
rk322x: minor device tree fixes and upgrades (#3334)
Introduced a couple of device tree sets for MXQ_PRO and R29_MXQ boards
2021-12-10 00:08:03 +01:00
Piotr Szczepanik
3c4b890ead
Moved rk35xx image names patch into a Rock 3A specific folder 2021-12-07 21:45:19 +01:00
Piotr Szczepanik
c2a1962013
Add SoC based image names (rk3566/rk3568) in rk35xx u-boot 2021-12-06 22:36:12 +01:00
Vyacheslav
c8358d4151
JetHome: Update U-Boot to 2022.01-rc2. Clean u-boot patches. (#3264)
* JetHome: Fix governor, cosmetic fixes, update u-boot to 2022.01-rc3

* JetHome: Clean u-boot patches for 2022.01-rc3.
2021-12-03 20:50:36 +01:00
Oleg
21d5340b35
fix sound HDMI rk3399 and bootsplash (#3260) 2021-11-17 07:22:04 +01:00
Oleg
320bf63430
Added usb boot support for NanoPC T4 (#3256) 2021-11-15 12:46:38 +01:00
Piotr Szczepanik
f93fd61ce9
Fixed u-boot v2021.07 compilation for Helios64 [AR-973] 2021-11-14 22:04:24 +01:00
Igor Pečovnik
c10cf6edb7
Rename Rockpi 3a to wip and enable nightly builds (#3252) 2021-11-14 21:22:02 +01:00
Igor Pecovnik
1c75b8fb91
Fix broken u-boot compilation on Rockpi S
- moving to CSC since we have no dedicated maintainer
- disabling build targets
2021-11-12 07:22:10 +01:00
Piotr Szczepanik
71ff7b3b98
Switched rockchip64 u-boot to v2021.07 (#3233)
* Switched rockchip64 u-boot to v2021.07

* Switched OrangePi R1 Plus to include mainline's R2S device tree

* Added unsingned signed comparison patch from Paolo to fix rk3328 reboots
2021-11-11 23:49:52 +01:00
Igor Pečovnik
36c06fec28
Bump sunxi to 5.15.y (#3236) 2021-11-07 00:04:02 +01:00
Piotr Szczepanik
fd33c6545b
Moved remaining u-boot rockchip64 mainline patches to new directory 2021-10-27 20:28:50 +02:00
Oleg
aba9e063c0
add start usb Station P1 (#3220)
* add start usb

* Make higher boot priority on USB on all RK3399

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-10-27 19:05:45 +02:00
Oleg
7789fef83f
u-boot usb m1 (#3221) 2021-10-27 18:56:02 +02:00
Piotr Szczepanik
5fc2d63988
Moved missing firefly-rk3399 u-boot patch to a new location 2021-10-26 22:19:01 +02:00
Piotr Szczepanik
86abac1fd4
Cleanup u-boot configurations for rockchip64 derivatives (#3150)
* Cleanup u-boot configurations for rockchip64 derivatives

* Bring separate BOOT_USE_* variables into BOOT_SCENARIO

* Revert BOOTDIR change in rockchip64

* Bump RK3568 BL31 to v1.35
2021-10-26 22:14:41 +02:00
Oleg
103ddb1adb
fix firefly-rk3399 (#3227) 2021-10-26 08:52:40 +02:00
Vyacheslav
3c4b69650e
Add support for JetHome JetHub D1/H1 home automation controllers (#3176)
* JetHome: add basic files for JetHub D1/H1 boards

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add uboot patches

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel)

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add bsp packages for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add kernel options for hardware JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: fix targets-cli-beta.conf for JetHub D1/H1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>

* JetHome: add axg uboot creation function for JetHub D1

Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
2021-10-19 21:05:36 +02:00
Igor Pečovnik
bd54236f9f
Update u-boot to 2021.10 (#3182) 2021-10-09 17:57:56 +02:00
Igor Pečovnik
d2fba532a6
allwinner: update u-boot to 2021.07 (#3143)
* Bugfix - Bananapi PRO seems to work fine with latest u-boot

Done many reboots and it didn't break. The same has to be tested with other A20 boards

* Set Allwinner 32bit hw to most recent u-boot 2021.07

* Let's move all to 2021.07 and test ...
2021-10-07 19:26:06 +02:00
Ricardo Pardini
2079811064
meson64: bump u-boot to 2021.07 // HC4/N2(+) cleanups (#3155)
* meson64: bump u-boot to 2021.07, rework patches

- as always based on chewitt's tree, with differences:
  - squashed versions of HC4+SATA, Radxa Zero, DT tree sync patches
    - so that DTB/config/code changes related to the same feature/board are grouped
  - removed documentation changes and Makefile reordering patches

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>

* meson64: ODROID HC4/N2: simplify/remove board vs family hacks; better SPI support

- thanks to mainline 2021.07 u-boot and it's HC4 config we can remove the conditionals
- boards now define the u-boot vars instead of conditionals in family
- on the HC4, build u-boot twice: one for SD (old C4 config) and one for HC4 (new SATA/SPI config)
  - reason is that the HC4 version does not work very well unless it is actually booted from SPI
- meson64_common: don't override UBOOT_TARGET_MAP if board-defined
  - but the default UBOOT_TARGET_MAP is still defined if the board didn't
- (sneakily) add lm-sensors fancontrol to the HC4's board packages

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-09-26 20:47:33 +02:00
Kali Prasad
b29527c697
Thermal sensor support for H616 SoC. (#3153)
Signed-off-by: Kali Prasad <kprasadvnsi@protonmail.com>
2021-09-19 12:10:59 +02:00
Piotr Szczepanik
0069ad60a6
Preliminary support for rockchip rk35xx boards (#3111) 2021-09-15 22:08:39 +02:00
Igor Pečovnik
abbe87a450
Add Radxa Zero initial support (#3128)
* Add support for Radxa Zero

u-boot: new patch based on v2021.04
kernel: use patches sent to kernel list by chewitt

Tested with minimal build and cinnamon desktop:
- SD/eMMC, ok
- USB3, works in USB 2 mode
- HDMI, ok
- WiFi/BT, ok

Signed-off-by: Jack Ma <jack@radxa.com>

* Add build targets

* Cleanup and set min speed to 666000

* Change to WIP target

Support status undetermined

Co-authored-by: Jack Ma <jack@radxa.com>
2021-09-08 17:50:05 +02:00
Stefan
c6c1981631
fix bananapro dts for using lima driver (#3117)
https://forum.armbian.com/topic/14180-bananapro-lima-driver-problems/
2021-09-02 20:44:01 +02:00
Igor Pečovnik
d54b2d6a84
Adding OPi Zero2 legacy kernel support (#2620)
* Adding OPi Zero2 legacy kernel support
2021-08-12 19:19:18 +02:00
Igor Pecovnik
da1cb09fc2 Bugfix - adjust sunxi u-boots
While necesary revert to 2020.10 we need to exclude a few of. Now they all build OOB.
2021-08-08 18:19:18 +02:00
Igor Pecovnik
7f44207062 Add upstream patches and re-add Orangepi3 to u-boot 2021-08-05 01:15:36 +02:00
Igor Pecovnik
cc606a8bb8 Bugfix - adding patch to fix broken u-boot compilation on some hosts (Hirsute) 2021-07-17 10:49:24 +00:00
Tony
2d8db84c90
Tinker Board 2 WIP (#3011)
* [ Rockchip64 ] Add Tinker Board 2

Using Mainline ATF/U-boot/Kernel

What works:

- USB (NOT TYPE C)
- PCIe
- LED's
- Ethernet
- HDMI

TODO:

- Type-C (fusb302 stuff)
- Type-C DP
- Regulators for big cores and GPU (sitting at default values now, no DVFS)
- Formware/driver for RTL8822CE

U-boot spits out some trash right after handing off control from SPL to U-Boot,
but doesn't impact boot.  Needs looked at.

* [ rockchip64 ] remove unrelated changes to 369ab2decdc5a3c49973d8eeb783c95558dcc41a

* [ rockchip64 ] fix merge mess from symlinks step 1

* [ rockchip64 ] fix merge mess from symlinks step 2

* [ rockchip64 ] fix merge mess from symlinks step 3

* [ rockchip64 ] add asus driver for FAN53200 regulator

* Rename tinkerboard.conf to tinkerboard.wip

set as WIP for merge to trunk.  Not ready for images just yet.

* revert rename to wip

wrong tinkerboard

* Rename tinkerboard-2.conf to tinkerboard-2.wip

prepare for merge to trunk.  Not ready for images

* Tinker Board 2 GPU and Type-C

Support USB3 over type-C connector.  display Port is still non-functional, framework in device tree however

Enable GPU

* Tinkerboard 2 DTS tweaks

Added this round:

Type-C DP now works
thermal sensors enabled  (oops)

* Tinker Board 2 update config

-Adds wifi support for the RTL8822
2021-07-15 21:29:27 -04:00
andpp
b2e98daf7b
Fixed u-boot script and kernel config for i.MX7D (#2953)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

* Fixed u-boot script and kernel config for i.MX7D

Fixed bug in u-boot script preventing to use armbianEnv.txt
Configured SDMA as module to fix loading SDMA firmware

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-03 21:57:43 +02:00
Icenowy Zheng
e6c4287246
Pine A64 LTS v2 support (#2919)
* remove obsolete and broken patch for pine64so u-boot

This prevents the image from being built.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

* sunxi: fix pine64so phy-mode and add yt8511 support

Pine A64-LTS board should have RGMII-TXID mode instead of RGMII-ID (the
Realtek PHY chip's RXID is sometimes broken).

In addition, new Pine A64-LTS v2 board will use YT8511 instead of
RTL8211E, which still works under RGMII-TXID mode.

Backport YT8511 driver and phy-mode change from linux-next.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2021-06-28 07:04:53 +02:00
Igor Pecovnik
7325cc57d7 Upstream patches add / remove and config adjustements 2021-06-21 23:01:14 +02:00
andpp
27536347d9
Updated kernel/u-boot for MCIMX7SABRE board (#2906)
* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-06-20 10:06:29 +02:00
Igor Pečovnik
17b3da0a44
Fix mainline kernel boot on Rockpi S (#2823)
https://armbian.atlassian.net/browse/AR-785
2021-06-10 11:58:00 +02:00
Igor Pecovnik
e1f63c571c Add upstream patches and remove deprecated patch
sunxi, odroidxu4
2021-05-28 14:17:47 +02:00
juanesf
7445aa7a49
Bpi-M2-Ultra swap audio patch (#2836)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-audio-codec-bpim2ultra-kernel.patch

- Add patch to enable audio codec in bpi-m2-ultra with h3 compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
2021-05-22 17:18:24 +02:00
Igor Pečovnik
3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00
juanesf
53c98cd6ca
Pinecube swap audio patch (#2830)
* Remove unnecessary patch

- this patch works when compiling and installing manually.
- the dtb with the changes is taken from the kernel and not from u-boot, therefore this patch does not work.

* Add enable-sound-pinecube-kernel.patch

- Add patch to enable audio codec in pinecube with v3s compatible
- Built and tested on Armbian Buster with Kernel 5.11.x (edge)
2021-05-15 18:33:43 +02:00