README.mpc85xx-sd-spi-boot 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ----------------------------------------
  2. Booting from On-Chip ROM (eSDHC or eSPI)
  3. ----------------------------------------
  4. boot_format is a tool to write SD bootable images to a filesystem and build
  5. SD/SPI images to a binary file for writing later.
  6. When booting from an SD card/MMC, boot_format puts the configuration file and
  7. the RAM-based U-Boot image on the card.
  8. When booting from an EEPROM, boot_format generates a binary image that is used
  9. to boot from this EEPROM.
  10. Where to get boot_format:
  11. ========================
  12. you can browse it online at:
  13. http://git.freescale.com/git/cgit.cgi/ppc/sdk/boot-format.git/
  14. Building
  15. ========
  16. Run the following to build this project
  17. $ make
  18. Execution
  19. =========
  20. boot_format runs under a regular Linux machine and requires a super user mode
  21. to run. Execute boot_format as follows.
  22. For building SD images by writing directly to a file system on SD media:
  23. $ boot_format $config u-boot.bin -sd $device
  24. Where $config is the included config.dat file for your platform and $device
  25. is the target block device for the SD media on your computer.
  26. For build binary images directly a local file:
  27. $ boot_format $config u-boot.bin -spi $file
  28. Where $file is the target file. Also keep in mind the u-boot.bin file needs
  29. to be the u-boot built for your particular platform and target media.
  30. Example: To generate a u-boot.bin for a P1022DS booting from SD, run the
  31. following in the u-boot repository:
  32. $ make P1022DS_SDCARD
  33. Configuration Files
  34. ===================
  35. Below are the configuration files to be used with a particular platform. Keep
  36. in mind that some of these config files are tied to the platforms DDR speed.
  37. Please see the SoC reference manual for more documentation.
  38. P1022DS config_sram_p1022ds.dat
  39. P2020DS config_sram_p2020ds.dat
  40. P1020RDB config_ddr2_1g_p1020rdb_533M.dat
  41. P1020RDB config_ddr2_1g_p1020rdb_667M.dat
  42. P2020RDB config_ddr2_1g_p2020rdb_800M.dat
  43. P2020RDB config_ddr2_1g_p2020rdb_667M.dat
  44. P2020RDB config_ddr3_1gb_64bit_p2020rdb_pc.dat
  45. P1020RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
  46. P1011RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
  47. P1010RDB config_ddr3_1gb_p1010rdb_800M.dat
  48. P1021RDB config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
  49. P1022DS config_ddr3_2gb_p1022ds.dat
  50. P1024RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
  51. P1025RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
  52. P1016RDB config_ddr3_1gb_p1_p2_rdb_pc_667M.dat
  53. P1020UTM config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
  54. P1020MBG config_ddr3_1gb_p1_p2_rdb_pc_800M.dat
  55. MPC8536DS config_ddr2_512m_mpc8536ds_667M.dat