mirror of
https://github.com/armbian/build.git
synced 2026-11-29 03:26:14 +00:00
Bring the Recore's U-Boot and TF-A in line with what Recore images ship, so that the linux-u-boot-recore package can be upgraded in place. TF-A: build Armbian's default TF-A with SUNXI_BL31_IN_DRAM=1 instead of pinning v2.8.0 in SRAM A2. That frees SRAM A2 for the AR100, which runs Klipper on this board. The A64 platform does not build the fdt helpers BL31-in-DRAM needs, so add them (atf-sunxi64/board_recore). The first MiB of DRAM is reserved for BL31 in the kernel device tree. U-Boot (v2026.07-sunxi64/board_recore): - 0001: device tree and defconfig for Recore A5-A8, updated: the USB-C port is a peripheral only, a USB stick is tried before the eMMC, the AR100 clock is set before Linux starts, the boot targets are FEL, MMC and USB, HDMI VBUS is enabled for the panel, and the firmware phase runs at 648 MHz - 0002: load BL31 at its DRAM address - 0003: probe all regulators at board init, so PD7 is driven low and the board does not source VBUS on USB-C - 0004: do not assert the USB phy reset on exit, which disturbs the display timing at the handover to Linux - 0005: restore USB_READY after a successful transfer, instead of a 5 ms delay on every command after the first error - 0006: A64 OHCI1's clock is parented on OHCI0's, which otherwise hangs "usb reset" when ohci0 is disabled - 0007: keep U-Boot's console output off the panel - 0008: make bootm_size cover the load layout, so a large initrd does not fail with "ramdisk - allocation error" Tested with full images built from main on Recore A8, A6 and A5 (edge, 7.2.8). An earlier revision, which set the boot targets in sunxi-common.h, was also tested on an A8 with current (6.18.50). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| atf-d1 | ||
| atf-genio | ||
| atf-rockchip64 | ||
| atf-spacemit | ||
| atf-spacemit-k3 | ||
| atf-sunxi64 | ||
| atf-tq | ||