How to build P1022 SD Boot Image

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

How to build P1022 SD Boot Image

Jump to solution
974 Views
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?

Labels (1)
Tags (2)
0 Kudos
1 Solution
458 Views
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.

View solution in original post

0 Kudos
2 Replies
458 Views
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 Kudos
459 Views
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 Kudos