302 Commits

Author SHA1 Message Date
Mecid Urganci
ff59a4bc96 Genio: Address PR comments 2025-12-11 14:20:51 +01:00
Mecid Urganci
8f56288384 Genio: Update boot cmd 2025-12-11 14:20:51 +01:00
Mecid Urganci
8687e9d31a Radxa-Nio-12L: Switch Uboot flow from EFI to extlinux 2025-12-11 14:20:51 +01:00
Tom Urlings
f643d5073e boards / Helios4: Fix: libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
Bump U-Boot v2025.10:
- In DT path `/soc/spi@10680/` the entry `spi-flash@0` was renamed
  to `flash@0`
2025-11-24 15:57:01 +08:00
Tom Urlings
b6d4e33cff Generic bootscript template
Some background.
How to use it.
2025-11-17 10:15:23 +01:00
Tom Urlings
abcb6c947b Enable bootscript templating
- Enable bootscript templating using `envsubst`.
- Add generic bootscript.
- Fix: `test` does not support `==`, but deceptively returns `true` in case you use it.
- De-duplicate kernel commandline console options.
2025-11-17 10:15:23 +01:00
SuperKali
f252a17297 rockchip: rk3576: Fix serial console to use UART0 (ttyS0) (#8936)
- Change debug console from ttyS2 to ttyS0
- Remove SERIALCON from board configs
- Set console based on BOOT_SOC
- Enable UART0 in device tree for nanopi-r76s
2025-11-15 18:33:52 +01:00
Austin Lane
a14a9d1709 rockchip: Add CSC board Luckfox Lyra Plus 2025-11-06 00:17:13 +01:00
c0rnelius
0a7f461e57 Khadas VIM4: Update and Fixup U-Boot (#8631)
* Khadas VIM4: U-Boot: Mod bootargs/defconfig and add bootscr support

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Khadas VIM4: Pull U-Boot from CoreELEC instead of Khadas

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Khadas VIM4: Remove setexpr bootargs sub rootfstype= from boot.cmd

This is no longer required

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Meson S4T7: family.conf: Add missing `mkdir -p "${tbasedir}"`

The toolchains fail to download because the dir isn't created

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Meson T7: Add rootfstype= to command line

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Khadas VIM4: Add extra boot arguments

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Remove `viraniac` as maintainer and add `rw` to cmdline

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Amlogic T7: Add `fsck.repair=yes` and `rootwait` to cmdline

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

* Amlogic T7: Move `${bootargs}` placement

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
Co-authored-by: Igor <igor@armbian.com>
2025-09-15 22:44:28 +02:00
Jianfeng Liu
f61674d616 family: rockchip: add initial rk3506 support 2025-09-15 21:12:02 +02:00
Wei
e696c2eb3b Add support for XpressReal T3
XpressReal(https://xpressreal.io/) is a family of Single Board Computers
developed in collaboration between Fyde Innovations, Radxa and Realtek.

XpressReal T3 is the first product in the family - a small form factor
high performance single board computer powered by the Realtek RTD1619B,
which runs FydeOS/openFyde and Linux!

Now we are adding the awesome Armbian Linux support for XpressReal T3!

This commit introduces some binary files that XpressReal T3 needed:

- firmware/realtek/rtd1619b
	These binaries are the firmware for rtd1619b peripherals
	(including the audio decoder, video decoder, etc.).
- u-boot-fw.tar.gz
	This contains some co-processor firmware,
	which needs to be loaded by u-boot in the early stage of boot.
- u-boot-prebuilt.tar.gz
	These are hwsettings related files, used for tasks such as DDR initialization.

These files come from the rtd1619b SDK, which has already been open-sourced on our github:

- [firmware](https://github.com/XpressReal/linux-sdk/tree/main/meta-xpressreal/recipes-kernel/linux-firmware/files/rtd1619b)
- [u-boot prebuilts](https://github.com/XpressReal/linux-sdk/tree/main/meta-xpressreal/recipes-bsp/u-boot/files/prebuilt/rtd1619b)
2025-09-04 20:32:34 +08:00
djurny
0a001ec1d1 Update boot-mvebu.cmd after review
Remove the 10 sec delay in case "critical error" raised.
2025-06-09 21:18:08 +02:00
djurny
13536bf932 Update boot-mvebu.cmd after review
Follow conventional `if-then-else-fi` constructions by not having `else` followed by semicolon. Hush is accepting, but other commonly used shells do not accept this.
2025-06-09 21:18:08 +02:00
Tom Urlings
abe8102669 mvebu: bootscript load address calculation a.o. 2025-06-09 21:18:08 +02:00
Tom Urlings
d027115712 Bootscript enhancements
- Added FDT resize/trim to allow big DT and overlays and still use
  configured load addresses in case `setexpr` not available
- Moved FDT resize and next load address alignment
- Added filename information to load instructions
- Moved all "global" variable determinations to the top of the
  bootscript
2025-05-14 15:56:20 +02:00
Tom Urlings
dc9a1fcea0 Add early exits for critical errors
- Check all load actions
- Add optional early exit with explanation in case a load fails
2025-05-14 15:56:20 +02:00
Tom Urlings
a5fd439a48 Avoid oboe overlap trip during loading of images
https://github.com/armbian/build/issues/8178
- Add switch to turn avoidance on/off
- Increment base address before alignment to resolve the oboe
- oboe observed in U-Boot v2021.04 and in particular with DT loading
2025-05-14 15:56:20 +02:00
djurny
6e985c3d67 Update boot-mvebu.cmd
Changed the DT size back to 256KiB as there is no reason to trim it actually.
2025-05-10 11:21:08 +02:00
djurny
141e23b302 Update boot-mvebu.cmd
- Updated names to reflect function better.
- Followed coding style of rest of the file, e.g. `test` instead of `itest` and `if ... ; then`.
- If `setexpr` fails, use configured addresses - either the ones defined in boot.cmd or set by armbianEnv.txt.
2025-05-10 11:21:08 +02:00
djurny
58dbffba9e Update boot-mvebu.cmd
Fix for https://github.com/armbian/build/issues/8165

Determine the load address for kernel and initial ramdisk based on DT and kernel image size.
2025-05-10 11:21:08 +02:00
Igor Pecovnik
62ffa66cc8 qemu arm64: bump u-boot and fix wrong boot script parameter
Now it boots OOB: https://paste.armbian.com/ololipacam
2025-03-26 10:07:20 +01:00
Dominik Wójt
a6fc0ab328 meson8, MXQ: add boot from usb support, configurable dtb 2025-02-08 23:06:01 +01:00
Dominik Wójt
2bf71e2fda Add MXQ target. Copy HDMI fix from odroid-c1. 2025-02-08 23:06:01 +01:00
Andrew Davis
f98216d2c3 K3: Update to latest U-Boot v2025.01
Now that upstream U-Boot has support for building K3 boot artifacts
we can drop using the ti-u-boot fork. Switch to v2025.01 and
adjust file names and add new dependencies as needed.
2025-01-30 19:03:48 +01:00
The-going
4be6793bdf bootscript: sunxi: Delete the vendor's name from the fdtfile variable
Do not inform the user if the fixup.scr file was not found.
2024-12-09 14:13:32 +01:00