Draft: u-boot on emmc and /boot on sata
- u-boot-config: enable CONFIG_SATA_BOOT
- patches/0001-tweak-boot-commands.patch: also attempt booting from sata0
- build u-boot image for sd as well as for emmc
- switch to POSIX shell
- set -u
- make shellcheck clean
- avoid cd in favour of -C and env --chdir
- bump u-boot version from v2023.10-rc4 to v2023.10
- verify top git hashes for u-boot and atf
- verify that BPI Block Copy src is correct for sd and emmc
- verify that sd and emmc images differ only in the Block Copy src
marked as draft as we first have to test whether this works
Edited by Johannes Schauer Marin Rodrigues
Merge request reports
Activity
added 1 commit
- 0bc4da6c - patches/0001-tweak-boot-commands.patch: also attempt booting from sata0
added 1 commit
- 04f77a37 - build u-boot image for sd as well as for emmc
added 1 commit
- f2f118be - build u-boot image for sd as well as for emmc
The emmc image that gets built is nonfunctional. Booting it gives the error messge "ERROR: EMMC driver not present. Check your BUILD" from the ATF. Probably there is some dependcy wrong in the Makefile and changing BOOT_MODE does not result in an appropriate rebuild. So better do a clean before rebuilding.
Please register or sign in to reply