Commit 262737f0 authored by Shaohui Xie's avatar Shaohui Xie Committed by York Sun

powerpc/tool/pbl: fix pbl image compiling process

Previous process of compiling a PBL boot image is:
1: make <board_name_config>
2: make u-boot.pbl

for example:
make T4240QDS_SDCARD_config
make u-boot.pbl

Now the process is:
1: make <board_name>

for example:
make T4240QDS_SDCARD

Also, updated README.pblimage.
Signed-off-by: 's avatarShaohui Xie <Shaohui.Xie@freescale.com>
parent 83d92566
...@@ -398,6 +398,7 @@ ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map ...@@ -398,6 +398,7 @@ ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map
ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin
ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin
ALL-$(CONFIG_RAMBOOT_PBL) += $(obj)u-boot.pbl
ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin
ALL-$(CONFIG_SPL_FRAMEWORK) += $(obj)u-boot.img ALL-$(CONFIG_SPL_FRAMEWORK) += $(obj)u-boot.img
ALL-$(CONFIG_TPL) += $(obj)tpl/u-boot-tpl.bin ALL-$(CONFIG_TPL) += $(obj)tpl/u-boot-tpl.bin
......
...@@ -14,20 +14,17 @@ Building PBL Boot Image and boot steps ...@@ -14,20 +14,17 @@ Building PBL Boot Image and boot steps
1. Building PBL Boot Image. 1. Building PBL Boot Image.
The default Image is u-boot.pbl. The default Image is u-boot.pbl.
For eSPI boot(available on P3041/P4080/P5020): For eSPI boot(available on P2041/P3041/P4080/P5020/P5040/T4240):
To build the eSPI boot image: To build the eSPI boot image:
make <board_name>_SPIFLASH_config make <board_name>_SPIFLASH
make u-boot.pbl
For SD boot(available on P3041/P4080/P5020): For SD boot(available on P2041/P3041/P4080/P5020/P5040/T4240):
To build the SD boot image: To build the SD boot image:
make <board_name>_SDCARD_config make <board_name>_SDCARD
make u-boot.pbl
For Nand boot(available on P3041/P5020): For Nand boot(available on P2041/P3041/P5020/P5040):
To build the NAND boot image: To build the NAND boot image:
make <board_name>_NAND_config make <board_name>_NAND
make u-boot.pbl
2. pblimage support available with mkimage utility will generate Freescale PBL 2. pblimage support available with mkimage utility will generate Freescale PBL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment