LS1028 I2C Boot flow

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028 I2C Boot flow

跳至解决方案
4,401 次查看
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!

标签 (1)
0 项奖励
回复
1 解答
4,371 次查看
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 项奖励
回复
5 回复数
4,361 次查看
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 项奖励
回复
4,355 次查看
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 项奖励
回复
4,372 次查看
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 项奖励
回复
3,607 次查看
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 项奖励
回复
4,085 次查看
kumar_086
Contributor IV

Thanks for the explaination @yipingwang 

0 项奖励
回复