Aw: Detecting network loaded uboot

Frank Wunderlich frank-w at public-files.de
Sat Nov 7 11:10:46 CET 2020


Hi,
i don't think this is possible, because uboot is loaded in both cases to memory before it is executed. maybe you can set some kind of memory-flag outside the executions range before loading from storage/network.

regards Frank


> Gesendet: Freitag, 06. November 2020 um 22:52 Uhr
> Von: "Spaker, Erich" <e.spaker at qvii.com>
> An: "u-boot at lists.denx.de" <u-boot at lists.denx.de>
> Betreff: Detecting network loaded uboot
>
> I would like to configure uboot to default to network booting, if uboot.img was loaded from the network itself (by SPL). Otherwise booting from the drive.
> I presume some information is passed from SPL to uboot. Is the source of uboot.img (network, mmc) known to uboot after it starts?
>
> If not, I'd like to patch spl to pass this info, but I'm not sure the appropriate mechanism.
> Bloblist seems appropriate, but there seemed to be some alternatives discussed here http://u-boot.10912.n7.nabble.com/passing-info-from-SPL-to-U-Boot-td361636.html.
>
> I am working with an am335x/beaglebone black.
> Bloblist is not configured in the standard config, I'm not sure if this because of incompatibility or what the constraints are on choosing an address.
>


More information about the U-Boot mailing list