LS1028 I2C Boot flow

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
4,182件の閲覧回数
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,152件の閲覧回数
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,142件の閲覧回数
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,136件の閲覧回数
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,153件の閲覧回数
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,388件の閲覧回数
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 件の賞賛
返信
3,866件の閲覧回数
kumar_086
Contributor IV

Thanks for the explaination @yipingwang 

0 件の賞賛
返信