
Le samedi 08 novembre 2014 à 23:19 +0100, Albert ARIBAUD a écrit :
Hello Paul,
On Sat, 8 Nov 2014 23:14:54 +0100, Paul Kocialkowski contact@paulk.fr wrote:
This is a first attempt at adding support for U-Boot image load from raw partitions. It does not support OS boot as I cannot test it on my current setup.
This is going to be useful for the Optimus Black port (please do not consider this as dead code because no board is using it right now, there will be one soon)!
Well... Why don't you just post these two patches a little later, as part of the upcoming series which will add support for the Optimus Black?
The honest answer here is that I don't think I'll have time to handle having the patches reviewed all at once and that I prefer to do things step by step, week after week (work on the next thing when the previous piece is ready or nearly so). Things are independent enough for this to work.
On the Optimus Black, the second stage bootloader (U-Boot in our case) is stored on the second partition of the internal EMMC. This patch allows reading from that partition without the need of providing the U-Boot config with a sector address, but with the partition address.
It makes sense as there is already code to read partition tables, so it would be a shame to hardcode the sector address while it can be obtained dynamically.
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Amicalement,