How to build P1022 SD Boot Image

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

How to build P1022 SD Boot Image

跳至解决方案
1,011 次查看
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 解答
495 次查看
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 回复数
495 次查看
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 项奖励
回复
496 次查看
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 项奖励
回复