Hello jimmychan
Thanks for your proposal, however we don't have possibility of SPI bus coming out of our SOM module to carrier board. As it is very old and existing design. Hence Re-Spin of SOM design is not a primary option.
Hence we are limited and bounded to boot from I2C only.
however based on your reply and our latest status i have below queries:
1. Did I2C boot tested by NXP on i.MX53 platform??
Also can you please share the I2C based uboot source code, as it is quite challenging to make uboot of this minimal size for I2C based devices.
2. To Set fusing with I2C, we are writing below address:
Addr | Value |
0804 | 0x10 |
080C | 0x30 |
0810 | 0x01 |
0814 | 0x20 |
180C | 0x04 |
Does 0x818 Register also required to be set for proper I2C fusing?
3. We had prepared a uboot binary (minimal size) of size 63KB and writing in Big endian (4 Byte or int size) way into I2C externally. Can you please confirm how this binary data and at which address (i.e. Offset is required or not, if yes then what and how to calculate it) is need to be written?
As you confirmed that I2C addressing can't be increased in boot rom code, hence it means the MAX size of uboot possible to write over I2C is only 63K, 1024 offset might be required (as per RM).
Reference: "Table 7-26. Image Vector Table Offset and Initial Load Region Size" of "i.MX53 Multimedia Applications Processor Reference Manual, Rev. 2, 12/2012"
> Boot Device Type Image Vector Table Offset Initial Load Region Size
> I2C/HS-I2C/SPI EEPROM 1 Kbyte = 0x400 bytes 2 Kbyte
4. How to flash or write data over I2C via uuu script or any other script over USB / Serial download mode? Please share reference (if script is not present fully working also) as it may help us to lead some clue to move forward.
5. Is there any sequence or I2C data scope traces are available in your side repo, which can help us to debug our side (I2C booting doesn't work) Problem?
Thanks
Ashish Agarwal