How to build P1022 SD Boot Image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to build P1022 SD Boot Image

ソリューションへジャンプ
981件の閲覧回数
adriancox
Contributor III

A P1022DS development system has turned up on my desk, and I'd like to build a u-boot image for it using the current git tree and then boot from SD card. I think I've got most of the parts, but something is missing and it's not working.

In the uboot tree:

make clean

make P1022DS_36BIT_SDCARD_config

make u-boot.bin

Then I cloned git://git.freescale.com/ppc/sdk/boot-format.git and built the sdk-v1.4.x branch.

To program the card (Sandisk 4GB SDHC):

sudo ./boot_format config_sram_p1022ds.dat ../fs-u-boot-devel/u-boot.bin -sd /dev/sdg

The development system arrived booting an older u-boot from 16-bit flash. I changed SW4 bits 5:8 to be 0111, inserted the SD card, and switched on. No output from serial port.

What might I be missing?

ラベル(1)
タグ(2)
0 件の賞賛
1 解決策
465件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

According to README of boot-format, you should specify dat file "config_ddr3_2gb_p1022ds.dat" to boot_format command.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
465件の閲覧回数
adriancox
Contributor III

That works, thanks.

I'm worried, though, that I'm hard-coding the memory configuration, when it should be discovered by reading the EEPROM on the DIMM. I think that's a separate question.

0 件の賞賛
466件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

According to README of boot-format, you should specify dat file "config_ddr3_2gb_p1022ds.dat" to boot_format command.

0 件の賞賛