[beagleboard] Re: SYSBOOT set to MMC1,MMC0 but MMC0 always booted if SD Card present

2020-12-29 Thread Ryan N
I ended up patching the u-boot source code used by https://github.com/RobertCNelson/Bootloader-Builder to switch the boot target search order from mmc0, legacy_mmc0, mmc1, legacy_mmc1 to mmc1, legacy_mmc1, mmc0, legacy_mmc0. Then I wrote the MLO and SPL images to the image so they get used duri

[beagleboard] SYSBOOT set to MMC1,MMC0 but MMC0 always booted if SD Card present

2020-10-12 Thread Ryan N
I've got a custom board with SYSBOOT boot order set to always prefer the onboard eMMC (MMC1) over the SD card (MMC0), but after initial flash of the eMMC it always boots from the SD card if it is present. I'm speculating that SPL is loaded from MMC1 as I expect but then it is using MMC0 as the