56 Commits

Author SHA1 Message Date
Tom Urlings
826309f7bc rockchip64/rk3328: U-Boot v2022.04/07 add setexpr
- aimed at nanopi-r2s and nanopineo3
- impacts:
  - boards (re)using 'nanopi-r2s-rk3328_defconfig' (rk3328)
  and:
  - boards using U-Boot v2022.04 or
  - boards using U-Boot v2022.07
- added explicit dependency on python3-setuptools as (at least) U-Boot
  v2022.04 and v2022.07 fail building due to missing 'distutils' for
  boards that use U-Boot v2022.04 or v2022.07
2025-06-03 09:56:09 +02:00
Thorsten Maerz
9e3c0d4e0c mksklipad50: switch to uboot v2025.01
Fixes loading initramfs into EFI memory region, leading to
errors "efi_free_pool: illegal free".
Which may be the cause for these bootloops:
  https://github.com/armbian/build/pull/7883#issuecomment-2694110296
See also:
  https://lore.kernel.org/all/d3f3fc7f-b29a-4503-9fe0-97468bbe1f71@gmx.de/
2025-03-12 15:37:37 +01:00
Thorsten Maerz
e6ed66f1da mksklipad50: devicetree cleanups 2025-03-12 15:37:37 +01:00
Thorsten Maerz
0681dd2a0f change blue/user LED trigger from 'mmc1' to 'activity'
(mmc1 did not show any activity)
2025-02-03 16:17:54 +01:00
Thorsten Maerz
fa1168cc96 rename LEDs to reflect their actual colour 2025-02-03 16:17:54 +01:00
Thorsten Maerz
ef8349799f disable unusable v4l2 devices
Removes /dev/video[012] and /dev/media[01]
2025-02-03 16:17:54 +01:00
Thorsten Maerz
12ce53a434 disable unusable "end1" network device
There are no physical ethernet ports on that board.
2025-02-03 16:17:54 +01:00
Thorsten Maerz
8f2a468eb9 Add new board: MKSKLIPAD50 (based on MKSPI)
Contains rewritten dts, based on decompiled dtb from original Klipad50
(as similiar as possible to original).
Kernel defconfig taken from MKSPI (replaced "mkspi" with "mksklipad50")
2025-02-03 16:17:54 +01:00
Lu jicong
f3ad742fa3 nanopc t4: fix sdram unstable
Set sdram frequency to 1600MHz and switch to blobless
2025-01-30 19:04:01 +01:00
Maxim Medvedev
9eaf5e5140 mkspi: apply MKSPI specific U-Boot changes
Based on official MKS armbian repo
2024-12-13 09:41:27 +01:00
Maxim Medvedev
f1e0ade2e2 mkspi: add U-Boot draft for MKSPI board
copy of rk3328-roc-cc config and DTS files
2024-12-13 09:41:27 +01:00
Lemon
41aa99e657
To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level (#6843)
* To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level
* Integrating support for xiaobaonas boards into the rockchip64-6.9 kernel
2024-07-09 11:33:35 +02:00
ColorfulRhino
7da8ffb20b uboot: Use semantic versioning for 2022.04 and 2022.07
Setuptools >66 only allows for semantic versioning, but old U-Boot
versions don't use semver yet.
This makes compilation fail with an error.
2024-07-02 23:08:41 +02:00
Lemon1151
8f64f05082 Adding support for the fine3399 board 2024-06-03 12:32:02 +02:00
Lemon
10ce0c9e5f
重命名dd-new-borad-tinker-edge-r.patch -> patch/u-boot/u-boot-rockchip64/add-new-board-tinker-edge-r.patch;添加了对xiaobao-nas的支持 (#6662) 2024-05-29 13:31:51 +02:00
Alex Shumsky
6154b98851 rk3318: enable uboot gpio command 2024-02-23 11:20:57 +01:00
Alex Shumsky
f106da7fc8 rockchip64: fix uboot compressed btrfs handling 2024-01-22 21:16:39 +01:00
ARCW
9c4c0409a6
Add new borad "ASUS Tinker-Edge-R" (#6153)
* rockchip64: Add board "ASUS Tinker-Edge-R"

* rockchip64: Add board "ASUS Tinker-Edge-R": hammer for 6.6 current & 6.7 edge

- cleanup
- squash dtsi and dt into a single thing, rename to dashes
- change dtb reference in board file
- drop the 6.1 patch that has junk in it

---------

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-21 14:56:20 -05:00
Alban Browaeys
0b2389a03a
Fixup compilation helios64 uboot (#6068)
* CONFIG_SYS_SCSI_MAX_DEVICE was replaced by a macro in U-Boot v2022.04
* Fixes u-boot for rockchip64 derivatives
* Fix missing include for cli_simple_run_command
* Do not return value in a void function
2023-12-24 09:14:54 +01:00
Alban Browaeys
9bc637f738 Helios64: the chip temperature sensor is really a National lm75 2023-12-24 08:08:11 +01:00
Alex Shumsky
eec57ef6ce rk3318: add uboot Recovery button support 2023-12-18 10:03:17 +01:00
Alex Shumsky
e504369708 rockchip64: fix uboot zstd decompression 2023-12-05 00:05:13 +01:00
Alex Shumsky
4707e71e35 rk3318-box: Enable uboot BTRFS support 2023-11-26 13:58:04 +01:00
schwar3kat
8e87237cbf Clean_up_mbox_format_in_rk3399-ehci-probe-usb2.patch
U-boot-rockchip64. No code changes. Original patch applied and new patch generated then mbox tweaked to retain relevant details. Prevents patching errors in armbian-next.
2023-01-18 16:55:37 +01:00
schwar3kat
25c8de0056
add-board-orangepi-r1-plus-lts-patch-remove-trailing-spaces (#4668)
and line feeds. Improve parser compatibility. No functional changes.
2023-01-08 11:10:57 +01:00
swordow
1166723044
Fix rk3399 ehci probe failed for usb2 in uboot (#4512)
* mod: separate some network driver patchs

* fix: rk3399 ehci probe failed in uboot, using patch from here:https://lore.kernel.org/all/20220701185959.GC1700@begut/

* mod: format rk3399 ehci probe usb2 patch
2022-12-12 20:00:16 +01:00
Alban Browaeys
c3596f401a
Fixed u-boot v2022.07 compilation for Helios64 (#4480)
* Fixed u-boot v2022.07 compilation for Helios64

* Move Helios64 back from EOS to community supported as images can be assembled

Co-authored-by: Igor <igor@armbian.com>
2022-11-24 12:51:32 +01:00
Ricardo Pardini
eb4c090a38
tinkerboard-2: move to "legacy" 21.07 u-boot; firmware & kernel DTS fixes (5.18/19,6.0) (#4449)
- notes in the board file about the RAM issues (tested, confirmed working blob change of #4383 by @pinhaozhang working with u-boot 21.07; `blobless` also works with ATF v2.7 on my known-good-RAM boards)
- tinkerboard-2: add full firmware, for the rtl8822ce PCIe Wifi default card in the tb2 as shipped by ASUS
- tinkerboard-2: uboot: rename `TARGET_TINKER-2_RK3399` to `TARGET_TINKER2_RK3399` to avoid warnings all over
- tinkerboard-2: slower but working Tinkerboard 2S eMMC (HS400+ES to HS200)
  - both for u-boot and kernel.
  - should not affect 2, only 2S
2022-11-16 22:04:38 +01:00
David Manouchehri
0d67456651
Add kASLR for rk3399 u-boot (#4311)
* Add rk3399's rng to u-boot.

* Add kASLR support to the NanoPi R4S' u-boot.

* Fix rng for rk3399.

The manual clocks screw it up, so remove those.
2022-10-26 18:30:33 +02:00
David Manouchehri
8662fdb2e0 Add rk3399's rng to u-boot. 2022-10-21 23:18:50 +02:00
Igor Pečovnik
f99b356ff4
Bump Rockchip64 u-boot to 2022.07 (#4246) 2022-10-14 09:19:50 +02:00
aiamadeus
8648dde23f
rockchip: fixes support for orangepi-r1plus (#4215)
* rockchip: replace r8152 patches with openwrt

* rockchip: fixes support for orangepi-r1plus

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2022-09-22 10:25:28 +02:00
brentr
663be6550f
Allow non-legacy RockPi-S images to boot from their built-in EMMC (aka SDNAND) chips (#4002)
This moves the console from UART2 to UART0 because it
relies on a upgraded Radxa loader blob that only supports console on UART0.
Discussion at:
https://forum.armbian.com/topic/11228-rock-pi-s-rk3308-cpu-is-it-supported-by-anything/page/3
2022-07-16 10:37:37 +02:00
schwar3kat
4df997bcf1
Refactored dts for orangepi-r1-lts
cleanup - removes an unnessesary Nanopi dts and includes relevant nodes in orangepi-r1-lts.dts
2022-06-25 13:40:09 +12:00
Paolo
2ca6a9381d
rockchip64: add rk3318-box tvbox board patch and configurations (#3921)
* rockchip64: add rk3318-box tvbox board patch and configurations
* rockchip64: add missing bcm43342 patch for edge kernel
2022-06-23 08:30:54 +02:00
Paolo Sabatino
5130cc32fd rockchip64: fix u-boot USB OTG patch name 2022-06-20 08:35:13 +02:00
Paolo Sabatino
d4daf41404 rockchip64: add sdmmc_ext node, mmc reset properties and otg usb fix to u-boot 2022-06-20 08:35:13 +02:00
Piotr Szczepanik
2b431a4915
Adjust u-boot configs for Station M1 and Station P1 (#3900) 2022-06-16 19:29:16 +02:00
Piotr Szczepanik
26437e36c1
Switched rockchip64 u-boot to v2022.04 (#3871)
* Switched rockchip64 u-boot to v2022.04

* Adjust u-boot config for NanoPi M4V2

* Adjust u-boot config for OrangePi 4

* Adjust u-boot config for Helios64

* Adjust u-boot config for clockworkpi a06

* Adjust u-boot config for OrangePi R1 Plus LTS

* Adjust u-boot config for OrangePi R1 Plus

* Adjust u-boot device tree for OrangePi R1 Plus LTS

* Adjust u-boot config for Tinkerboard 2

* Adjust u-boot config for RockPi S

* Adjust u-boot config for NanoPi R4S
2022-06-16 12:27:05 +02:00
CXM
1f54bc33b8
Add clockworkpi-a06 support (#3768)
* feat: add clockworkpi-a06 support

* fix: disable dpms & screensaver
2022-05-11 21:47:28 +02: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
Oleg
b3070c7eef
fix use auto dtb for extlinux (#3466) 2022-02-10 15:04:16 +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
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
Piotr Szczepanik
fd33c6545b
Moved remaining u-boot rockchip64 mainline patches to new directory 2021-10-27 20:28:50 +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
Igor Pecovnik
e47cd5409f Bugfix - add missing YYLOC global declaration 2021-05-12 21:54:16 +02:00