[U-Boot] [PATCH V2 1/9] mkimage: Add Freescale imx Boot Image	support (imximage)
    Fabio Estevam 
    fabioestevam at yahoo.com
       
    Fri Jan 15 13:19:18 CET 2010
    
    
  
Hi Stefano,
...
 
> > I think that the BOOT_FROM command can be removed,
> right?
> 
> No, we can't if the processor boots from OneNand device.
> According to  
> the manual,
Yes, it is still the same binary, but just needs a different offset.
>   the offset must be set to 0x100 instead of 0x400.
> 
> >
> > We can flash the same binary on a SD or NAND flash.
> 
> Correct,but there is still the OneNand case.
BTW, I don't see the following offset defines used anywhere in the code:
+#define FLASH_OFFSET_STANDARD    0x400
+#define FLASH_OFFSET_NAND    FLASH_OFFSET_STANDARD
+#define FLASH_OFFSET_SD        FLASH_OFFSET_STANDARD
+#define FLASH_OFFSET_SPI    FLASH_OFFSET_STANDARD
+#define FLASH_OFFSET_ONENAND    0x100
Regards,
Fabio Estevam
      
    
    
More information about the U-Boot
mailing list