> Can this not be implemented by some U-Boot script ? > I can imagine that reading the first few bytes from the partition (mmc > read) would permit you to obtain the uImage/fitImage header from the > partition, from which you can obtain the image size, which is the total > number of bytes to read (iminfo might help , or fdt header), and then > read out the entire image and bootm it.
Using this command provides the advantage to reduce code replication & maintainence by leveraging existing APIs (common_diskboot) which functionally does the same thing as a uboot script would do read one block, get size from header, read whole image, and bootm it, while additionally doing basic checks. -- Sent from: http://u-boot.10912.n7.nabble.com/