LS1028 I2C Boot flow

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028 I2C Boot flow

Jump to solution
1,608 Views
kumar_086
Contributor IV

Hi,

We are designing a hardware with NXP LS1028A processor.

I'm going through the LS1028 reference manual document where it has boot source options of I2C, but the Layerscape Software Development Kit User Guide 5.1.1 General boot flow mentions 'SoC comes out of reset and reads RCW/PBL image from a boot source, such as a NOR flash, SD card, or eMMC flash'. 

There is no information about the I2C booting. Can you please clarify this?

Thanks!

Labels (1)
0 Kudos
1 Solution
1,578 Views
yipingwang
NXP TechSupport
NXP TechSupport

I2C boot is supported. However, with extended bit addressing ,i.e., 16 bit the total size of EEPROM will be 64kB.

The .pbl image  and U-Boot image (fip.bin) is greater than 64kB. Therefore, booting from I2C is not a straightforward process.

Booting from I2C EEPROM [RCW+PBI binary] and jumping to NOR Flash [U-Boot Image] will be required.

View solution in original post

0 Kudos
5 Replies
1,568 Views
kumar_086
Contributor IV

Dear @yipingwang ,

Thanks for clarifying.

Can you please elaborate this "Booting from I2C EEPROM [RCW+PBI binary] and jumping to NOR Flash [U-Boot Image] will be required"? How we can perform this?

Thanks

Kumar

0 Kudos
1,562 Views
yipingwang
NXP TechSupport
NXP TechSupport
Add this block copy command in end in the RCW+PBI binary blockcopy 0x0a,0x400,0x00100000,0x9400 Source : I2C EEPROM = 0xa Source address: 0x400 Destination address: OCRAM (0x100000) Block size : size of BL2 binary in bytes Generate the full firmware image for ls1028a. The below-mentioned files will be generated. Program the following files in their respective locations RCW+PBI binary -- I2C EEPROM at 0x0 (rcw_1500_gpu600.bin present in /packages/firmware/rcw/ls1028ardb/R_SQPP_0x85bb) BL2 binary -- I2C EEPROM at 0x400 (bl2.bin present in /packages/firmware/atf/build/ls1028ardb/release) FIP binary -- NOR flash at 0x10000 (fip.bin present in /packages/firmware/atf/build/ls1028ardb/release)
0 Kudos
1,579 Views
yipingwang
NXP TechSupport
NXP TechSupport

I2C boot is supported. However, with extended bit addressing ,i.e., 16 bit the total size of EEPROM will be 64kB.

The .pbl image  and U-Boot image (fip.bin) is greater than 64kB. Therefore, booting from I2C is not a straightforward process.

Booting from I2C EEPROM [RCW+PBI binary] and jumping to NOR Flash [U-Boot Image] will be required.

0 Kudos
814 Views
HingWong
Contributor III

Hi yiping,

I want to use LS1028A  TSN function, and I have set boot flow according to the following instruction, and now it works. however ,  there is no tsntool in SD card, and I want change the boot flow to original, from emmc,how can I do to make it boot from emmc? Thanks!  

  • 使用以下命令更新SD卡

    => fatls mmc 0:1

    => fatload mmc 0:1 a0000000 firmware_ls1028ardb_uboot_sdboot.img

    => mmc write a0000000 8 75000

    => setenv bootcmd 'qixis_reset sd'

    => saveenv

    => reset

0 Kudos
1,292 Views
kumar_086
Contributor IV

Thanks for the explaination @yipingwang 

0 Kudos