Hi Benoît, On 25.04.2013 14:49, Benoît Thébaudeau wrote: >>>> Yes, I would prefer that. >>>> >>>> And being at it, why don't we add the offset to the resulting image as >>>> well? This would make programming the images to the destination (SD, >>>> NAND, MMC etc) easier. We would not have to care for the correct offset >>>> then (which is more error prone). And it is necessary btw, to have this >>>> offset added, when using the FSL kobs-ng tool to program the image to >>>> NAND flash. >>> >>> This would interfere with MBR on SD cards, the offset is there for a reason >>> ;-) >> >> Yes, makes sense. But only for SD cards. On other mediums (e.g. SPI NOR, >> NAND) this padded image would be easier (less error prone) to handle. > > For NAND, we already have u-boot-with-nand-spl.imx.
I'm thinking more about NAND on iMX6. Which doesn't support SPL (until now). We could add a new build target for imx6 for NAND booting as well. Not sure if this is better moved to a build target or to the imximage generation tool? > For SPI NOR, something > similar could be done, or this could be done by imximage. Yes. Perhaps its best to add this to imximage. Thanks, Stefan _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

