Freescale PowerPC SD/SPI boot tool (fork)
C
Switch branches/tags
Nothing to show
Latest commit a270c14 Dec 28, 2011 @kergoth Add a couple more .dat files
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Permalink
Failed to load latest commit information.
.gitignore Add .gitignore Dec 28, 2011
COPYING Initial public commit Dec 28, 2011
Makefile Fix clean target to not care about missing files Dec 28, 2011
README Initial public commit Dec 28, 2011
boot_format.c Apply 64 bit fix from Mentor Graphics Dec 28, 2011
boot_format.h Apply 64 bit fix from Mentor Graphics Dec 28, 2011
config_ddr2_1g_p1020rdb_533M.dat Initial public commit Dec 28, 2011
config_ddr2_1g_p1020rdb_667M.dat Initial public commit Dec 28, 2011
config_ddr2_1g_p2020rdb_667M.dat Initial public commit Dec 28, 2011
config_ddr2_1g_p2020rdb_800M.dat Initial public commit Dec 28, 2011
config_ddr2_512m_mpc8536ds_667M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_64bit_p2020rdb_pc.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_9131qds_800M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_9131rdb_800M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1010rdb_667M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1010rdb_800M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1014rdb_667M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1014rdb_800M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1_p2_rdb_pc_667M.dat Initial public commit Dec 28, 2011
config_ddr3_1gb_p1_p2_rdb_pc_800M.dat Initial public commit Dec 28, 2011
config_ddr3_2gb_p1022ds.dat Initial public commit Dec 28, 2011
config_ddr3_2gb_p1_p2_rdb_pc_800M.dat Initial public commit Dec 28, 2011
config_ddr_p1022ds.dat Add a couple more .dat files Dec 28, 2011
config_sram_blackadder2020.dat Add a couple more .dat files Dec 28, 2011
config_sram_p2020ds.dat Initial public commit Dec 28, 2011

README

boot_format
===========

This is a tool to write SD bootable images to a filesystem and build SD/SPI
images to a binary file for writing later.

Building
========

Run the following to build this project

	$ make

Execution
=========

Execute boot_format as follows.

For building SD images by writing directly to a file system on SD media:

	$ boot_format $config u-boot.bin -sd $device

Where $config is the included config.dat file for your platform and $device
is the target block device for the SD media on your computer.

For build binary images directly a local file:

	$ boot_format $config u-boot.bin -spi $file

Where $file is the target file. Also keep in mind the u-boot.bin file needs
to be the u-boot built for your particular platform and target media.

Hint: To generate a u-boot.bin for a P1020RDB booting from SD I would run the
following in the u-boot repository:

	$ make P1020RDB_SDCARD

Configuration Files
===================

Below are the configuration files to be used with a particular platform. Keep
in mind that some of these config files are tied to the platforms DDR speed.
Please see the SoC reference manual for more documentation.

P2020DS		config_sram_p2020ds.dat
P2010DS		config_sram_p2020ds.dat
P2020RDB	config_ddr3_1gb_64bit_p2020rdb_pc.dat
P2010RDB	config_ddr3_1gb_64bit_p2020rdb_pc.dat
P1020RDB	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
P1011RDB	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
P1010RDB	config_ddr3_1gb_p1010rdb_800M.dat
P1014RDB	config_ddr3_1gb_p1014rdb_800M.dat
P1021RDB	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
P1012RDB	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
P1022DS		config_ddr3_2gb_p1022ds.dat
P1013DS		config_ddr3_2gb_p1022ds.dat
P1024RDB	config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
P1013RDB	config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
P1025RDB	config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
P1016RDB	config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
P1020UTM	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
P1020MBG	config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
MPC8536DS	config_ddr2_512m_mpc8536ds_667M.dat