Commit Graph

1190 Commits

Author SHA1 Message Date
Ian Leung
f1f9918752 Orange Pi 3B: Generate alternate SPI image for booting from SATA
This commit enables generation of `u-boot-rockchip-spi-sata.bin`.
Flashing this to SPI flash enables U-Boot to communicate with an
attached SATA m.2 SSD, thereby allowing booting directly from SPI flash
to SATA SSD.
2026-02-15 20:17:20 +01:00
Austin Lane
396ccb439c rockchip: Add CSC board ForLinx OK3506-S12 (RK3506J) 2026-02-12 19:35:49 +01:00
Austin Lane
e2421ab485 RK3506: Pin U-Boot to known-working commit
Kwiboo's `rk3506` branch is WIP / rebased often. Pin to commit hash while upstreaming work is underway.

Also revert (broken) changes that attempted to keep up with this branch.
2026-02-12 01:30:43 +01:00
Ian Leung
a792906065 Orange Pi 3B: Update config
Changes:
- Bump U-Boot to v2026.01
- Add "current" option to kernel target
- Simplify U-Boot processes
2026-02-09 00:27:51 +01:00
Patrick Yavitz
e778848389 OrangePi 3 LTS: Update u-boot defconfig
Source of defconfig additions and mmc patch:
https://github.com/LibreELEC/LibreELEC.tv/tree/master/projects/Allwinner/patches/u-boot

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-08 06:22:47 -05:00
okrc
09b7895004 Radxa-E52C: normalize u-boot patches
Signed-off-by: okrc <okrc@hexo.dev>
2026-02-07 09:12:37 -06:00
okrc
b31f093eb0 Radxa E52C: add mainline U-Boot support and kernel target configuration
Signed-off-by: okrc <okrc@hexo.dev>
2026-02-07 09:12:37 -06:00
Patrick Yavitz
d984ed1649 OrangePi 3 LTS: Add ethernet support to u-boot defconfig
Consolidate all defconfig patches to one patch.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-06 08:27:47 -05:00
Milivoje Legenovic
1890d7f656 Odroid-M2: update uboot to v2025.10
Signed-off-by: Milivoje Legenovic <m.legenovic@gmail.com>
2026-02-05 10:53:09 +01:00
Patrick Yavitz
5e8cca7279 OrangePi 3 LTS: Fixup u-boot LED nodes
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-05 01:04:23 +01:00
Patrick Yavitz
1e5512da7d OrangePi 3 LTS: Remove property kaslr-seed from chosen node
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-04 06:50:27 -05:00
Patrick Yavitz
1df4c30aaa OrangePi 3 LTS: Add DTS and DEFCONFIG to u-boot v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-04 06:50:27 -05:00
Patrick Yavitz
7998491d80 KickPi K2B: Fixup typo in u-boot patch
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
Patrick Yavitz
7e38101ed6 BPI-M4-Zero / KickPi K2B: Update u-boot to v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-02-03 07:42:47 -05:00
Igor Pecovnik
956b70340d forge1: switch to RK3506J variant and add OPTEE support
- Change BOOTCONFIG from rk3506b to rk3506j variant
- Update btrfs patch to target correct defconfig
- Add OPTEE image support for secure boot functionality
2026-02-01 17:46:14 +01:00
Marvin Wewer
7bf6574e18 Resolving boot issues 2026-02-01 17:45:45 +01:00
EvilOlaf
589a7d0b91 sun55i: rewrite recent uboot patches 2026-01-31 23:02:50 +01:00
EvilOlaf
f5789c2eb2 sun55i: adjust patch filenames and subjects where valuable 2026-01-31 23:02:50 +01:00
EvilOlaf
3c4855433c sun55i: migrate recent patches to standard uboot patch tree 2026-01-31 23:02:50 +01:00
Patrick Yavitz
317831dbf6 Add OrangePi 3 LTS u-boot-v2026.01 patches
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-31 11:33:29 -05:00
Marvin Wewer
6afba3a119
sunxi a523: add support for PCIe, SPI Flash and Iommu (#9280) 2026-01-31 06:52:26 +01:00
retro98boy
4ca40d63f2 SMART AM40: Bump U-Boot to v2026.01 2026-01-27 23:40:43 +01:00
retro98boy
3bda2f5260 BesTV R3300-L: Bump U-Boot to v2026.01 2026-01-27 23:36:38 +01:00
retro98boy
40de50f93b CAINIAO CNIoT-CORE: Bump U-Boot to v2026.01 2026-01-27 23:36:17 +01:00
okrc
8de93dbda3 Delete patch/u-boot/v2026.01/board_nanopi-r5c/nanopi-r5c_kaslrseed.patch 2026-01-25 11:33:12 +01:00
okrc
dede3f2a50 NanoPi R5C: Update to v2026.01; enable BTRFS support
Signed-off-by: okrc <okrc@hexo.dev>
2026-01-25 11:33:12 +01:00
Ricardo Pardini
c4b7488fa6 odroidhc4: u-boot: add regulator-boot-on also for u-boot
- Same as https://lore.kernel.org/linux-amlogic/20260116-odroid-hc4-dts-v1-1-459b601cd5cf@linuxdev.slmail.me/ but for u-boot
- u-boot ARCH_MESON uses OF_UPSTREAM; post-v2026.01 u-boot might eventually get this via dt-rebasing, but it might take a while
- All credit to Eric for the find and fix
2026-01-20 10:12:17 +03:00
Ricardo Pardini
332e43bc8c radxa-zero2: u-boot: bump to v2026.01; make fancy 2026-01-16 14:51:39 +01:00
Patrick Yavitz
2ca6da15e4 BananaPi CM4/M2S: Update u-boot to v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-16 08:12:04 -05:00
Ricardo Pardini
1d91ae2ebb mixtile-core3588e: u-boot: v2026.01: add patch for debugging fdt_fixup_ethernet()
- a bit verbose but confirms missing `ethernet0`/`1` alias was the cause of random MACs for at least a few boards
- there's quite a few boards to fix, so we might want to pull this one level up later
2026-01-13 20:39:37 +01:00
Ricardo Pardini
0a0889501b mixtile-core3588e: alias ethernet0 to gmac0 for stable MAC address
- phew. this was all it takes. u-boot does the rest of the magic
2026-01-13 20:39:37 +01:00
Viacheslav Bocharov
43a786c327 JetHub: Update JetHub D2 uboot to 2025.04
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2026-01-13 09:00:36 +03:00
Ricardo Pardini
f9a1e52aeb genio: u-boot: patch: include pxefile_addr_r == scriptaddr at 0x40000000
- include pxefile_addr_r == scriptaddr at 0x40000000 so PXE works OOB
  - before this, would need to be set in env manually

Fixes: 431f53df3e
2026-01-12 19:18:57 +01:00
TuAFBogey
c6e8c5b680 board: add Nuvoton MA35D1 NuMaker IoT board support
Add support for Nuvoton MA35D1 SoC family:
- ARM Cortex-A35 dual-core @ 800MHz + Cortex-M4 heterogeneous
- NuMaker IoT MA35D16F90 board (512MB DDR)
- Vendor kernel 5.10.140 from Nuvoton GitHub
- TF-A (BL2/BL31) + OP-TEE (BL32) + U-Boot (BL33) boot chain
- SD card boot support

Vendor kernel modules (pending):
Nuvoton provides closed-source Verisilicon licensed drivers:
- dcultrafb.ko (DCUltra display controller)
- ma35d1-vc8000.ko (H.264 video codec)
- galcore.ko (GPU driver)

These modules require exact kernel vermagic match:
  5.10.140-vendor-nuvoton-ma35d1 SMP mod_unload aarch64

Nuvoton is preparing custom builds of these modules for Armbian.

Signed-off-by: TuAFBogey <uguvenen@gmail.com>
2026-01-12 13:18:53 +01:00
Patrick Yavitz
a61ff239af NanoPi R3S LTS: Update to u-boot-v2026.01
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2026-01-09 13:18:14 -05:00
Ricardo Pardini
431f53df3e genio: u-boot: patch: fdt_addr_r/kernel_addr_r/ramdisk_addr_r for large kernels/initrds
- this patches u-boot default addresses with the same values used in the boot-genio bootscript
- this enables booting extlinux with large kernels and initrd (eg: `EXT=u-boot-menu`)
2026-01-08 12:30:24 +01:00
Ricardo Pardini
324d1ed403 genio: u-boot: patch: UFS 4k UMS fixes + BTRFS fixes/enablement
- backport fixes from upstream u-boot for
  - BTRFS (plus enable BTRFS and BZIP2 support for radxa-nio-12l)
    - tested with `CARD_DEVICE=/dev/mmcblk1 ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zstd` (no UFS!)
    - also with `EXT=ufs CARD_DEVICE=/dev/sdc ROOTFS_TYPE=btrfs BTRFS_COMPRESSION=zstd` (UFS!)
  - 4k block size UFS for UMS: fixes block size issue (USB issues unhandled)
- Enable "bind" command for the Mediatek-standard USB Gadget Ethernet
2026-01-08 12:30:24 +01:00
Ricardo Pardini
872863b95a genio: u-boot: patch: mt8195: boot order: SD -> UFS -> eMMC -> USB -> Network
- this way, one doesn't need to cripple UFS to be able to boot from SD
- USB didn't get the same treatment as it's slow and **not working**...
  - ...and beyond me to fix; both OTG and Host mode are funky in u-boot...
  - ...but seem to work fine in kernel
- IMPORTANT: keep in mind: "SDcard is NOT UFS (4k block)" and don't fall for traps!
- Network note:
    - `setenv ethaddr xx:xx:xx:xx:xx:xx` & `saveenv` & `reset`
    - required for network booting; mtk doesn't use random/cpu# MAC
    - required for stable MAC in kernel (keep IP from changing, etc)
2026-01-08 12:30:24 +01:00
Ricardo Pardini
a03b88841c genio: u-boot: patch: mt8195: adjust memory size at runtime and fixup fdt
- Use TFA + libdram to obtain and set the actual memory size.
- Overwrite the memory size in the devicetree that is passed to the kernel with the actual size detected.
- All credit to Bartosz Bilas' work for the mt8188/mt8370.
- This doesn't really "use" TF-A/libdram though, those call bl33 with magic arguments which we read here.
- That is implemented by a patch in TF-A for the mt8195 platform.
2026-01-08 12:30:24 +01:00
Ricardo Pardini
48237dda3f genio: u-boot: patches: rewrite Collabora patches 2026-01-08 12:30:24 +01:00
Ricardo Pardini
d6b1aedb52 genio: u-boot: patches: cosmetic formatting fixes on top of Collabora
- small hack to get around stupid "From xx" parsing in Armbian patcher
- also: fix attribution in `0023-watchdog-mtk_wdt-Correct-maximum-timeout-from-15-to`
2026-01-08 12:30:24 +01:00
Ricardo Pardini
121c89763a genio: u-boot: patches: vendor u-boot patches from Collabora (pristine)
- from https://gitlab.collabora.com/mediatek/aiot/boot/-/tree/main/patches/u-boot at 2db9a7b3f8c9c2141af6a01dd9372dbba809cf95
- I can see atleast one is a bit malformed so commit separately
2026-01-08 12:30:24 +01:00
Igor Velkov
94dd1fef1f fix for uninitialized variable 2026-01-08 12:29:01 +01:00
Igor Velkov
6bc25ea2c2 feeding rabbit 2026-01-08 12:29:01 +01:00
Igor Velkov
c60f78e0ec Helios64: update uBoot to v2026-01-rc5
- Switched to the binman-atf-mainline scenario with the same rkbin DDR blob
    rk3399_ddr_933MHz_v1.25.bin (TPL blob, as in the old working loader). DRAM init is correct, full
    4 GB visible, Linux boots.
  - U-Boot and DTS updated to v2026.01-rc5. Added MDIO/PHY node and phy-handle in rk3399-kobol-
    helios64.dts, fixing “mdio node is missing”. Disabled i2s2 in the U-Boot DT to avoid rockchip-
    i2s ... Could not register PCM.
  - boot_targets in U-Boot config shortened (mmc1, scsi0, usb0, pxe, dhcp) to avoid env_buf ... too
    small; however, the last built binary still shows the warning (needs rebuild with the shortened
    list or enlarging the buffer).
  - Boot flow: bootstd scans SD (mmc0) and eMMC (mmc1); SD boot works even without mmc0 in
    boot_targets.
  - Other changes: defconfig has CONFIG_ROCKCHIP_EXTERNAL_TPL=y to use the external DDR blob.

Boots.
2026-01-08 12:29:01 +01:00
Ricardo Pardini
d8830d5c20 mixtile-blade3: edge: u-boot: bump to v2026.01; boot order; symlinked DT
- fix bootorder (SD -> NVMe -> eMMC); USB disabled as nonworking with mainline still
- use the DT from rockchip64-6.18 so a single source for both u-boot and kernel
- note: the first (and only) RTL8169 used by u-boot is the port closest to board edge
2026-01-08 12:06:59 +01:00
Ricardo Pardini
32eaeb6193 mixtile-core3588e: drop vendor u-boot (mainline works great)
- no need for vendor u-boot, as mainline can boot vendor kernel fine
- update comments with hardware pin references
- mainline boot order: NVMe -> USB -> eMMC
2025-12-29 09:29:20 +01:00
Ricardo Pardini
b8344d2bea mixtile-core3588e: edge: u-boot defconfig/dt with working nvme/gmac/usb
- boot order: NVMe -> MMC
- GMAC works
- nvme works
- `ums` et al working
- usb3 ports (on carrier board) work
- DT is copy (not symlink) from kernel DT due to NPU nodes
2025-12-29 09:29:20 +01:00
Ricardo Pardini
42a0055940 mixtile-core3588e: add board with vendor and edge branches (Joshua Riek + fixes)
- vendor:
  - kernel: armbian/linux-rockchip already had a DTS from jriek
  - u-boot: taken from jriek (reorg'ed the defconfig)
- edge:
  - kernel: taken from jriek's 6.11 wip branch
  - u-boot: generic (can only boot SD/eMMC)
2025-12-29 09:29:20 +01:00
Patrick Yavitz
09f7b36373 SpacemiT: Fixup eMMC boot on the MusePi Pro "SPINOR"
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2025-12-28 17:05:50 -05:00