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?
Solved! Go to Solution.
According to README of boot-format, you should specify dat file "config_ddr3_2gb_p1022ds.dat" to boot_format command.
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.
According to README of boot-format, you should specify dat file "config_ddr3_2gb_p1022ds.dat" to boot_format command.