Commit Graph

11 Commits

Author SHA1 Message Date
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
Orel
db6a2dd17c Add overlay_error env on sunxi64 to enable overlays support (#2679)
* Add overley_error env on sunxi64 to enable overlays support
* Add overlay_error env for mvebu
2021-03-02 12:52:14 +01:00
Igor Pečovnik
7d758026b5 Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00