public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process
@ 2013-09-11  6:48 shh.xie at gmail.com
  2013-09-23 22:04 ` York Sun
  2013-09-27 17:54 ` York Sun
  0 siblings, 2 replies; 3+ messages in thread
From: shh.xie at gmail.com @ 2013-09-11  6:48 UTC (permalink / raw)
  To: u-boot

From: Shaohui Xie <Shaohui.Xie@freescale.com>

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: Shaohui Xie <Shaohui.Xie@freescale.com>
---
 Makefile            |    1 +
 doc/README.pblimage |   15 ++++++---------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile
index 8aa8039..9ae1719 100644
--- a/Makefile
+++ b/Makefile
@@ -397,6 +397,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_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_FRAMEWORK) += $(obj)u-boot.img
 ALL-$(CONFIG_TPL) += $(obj)tpl/u-boot-tpl.bin
diff --git a/doc/README.pblimage b/doc/README.pblimage
index 2b9bb5c..7fdd26b 100644
--- a/doc/README.pblimage
+++ b/doc/README.pblimage
@@ -14,20 +14,17 @@ Building PBL Boot Image and boot steps
 1. Building PBL Boot Image.
    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:
-	make <board_name>_SPIFLASH_config
-	make u-boot.pbl
+	make <board_name>_SPIFLASH
 
-   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:
-	make <board_name>_SDCARD_config
-	make u-boot.pbl
+	make <board_name>_SDCARD
 
-   For Nand boot(available on P3041/P5020):
+   For Nand boot(available on P2041/P3041/P5020/P5040):
 	To build the NAND boot image:
-	make <board_name>_NAND_config
-	make u-boot.pbl
+	make <board_name>_NAND
 
 
 2. pblimage support available with mkimage utility will generate Freescale PBL
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process
  2013-09-11  6:48 [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process shh.xie at gmail.com
@ 2013-09-23 22:04 ` York Sun
  2013-09-27 17:54 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2013-09-23 22:04 UTC (permalink / raw)
  To: u-boot

On 09/10/2013 11:48 PM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> 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: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
>  Makefile            |    1 +
>  doc/README.pblimage |   15 ++++++---------
>  2 files changed, 7 insertions(+), 9 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 8aa8039..9ae1719 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -397,6 +397,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_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_FRAMEWORK) += $(obj)u-boot.img
>  ALL-$(CONFIG_TPL) += $(obj)tpl/u-boot-tpl.bin
> diff --git a/doc/README.pblimage b/doc/README.pblimage
> index 2b9bb5c..7fdd26b 100644
> --- a/doc/README.pblimage
> +++ b/doc/README.pblimage
> @@ -14,20 +14,17 @@ Building PBL Boot Image and boot steps
>  1. Building PBL Boot Image.
>     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:
> -	make <board_name>_SPIFLASH_config
> -	make u-boot.pbl
> +	make <board_name>_SPIFLASH
>  
> -   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:
> -	make <board_name>_SDCARD_config
> -	make u-boot.pbl
> +	make <board_name>_SDCARD
>  
> -   For Nand boot(available on P3041/P5020):
> +   For Nand boot(available on P2041/P3041/P5020/P5040):
>  	To build the NAND boot image:
> -	make <board_name>_NAND_config
> -	make u-boot.pbl
> +	make <board_name>_NAND
>  
>  
>  2. pblimage support available with mkimage utility will generate Freescale PBL
> 

Tom,

Can I get your ack since this patch changes Makefile?

York

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process
  2013-09-11  6:48 [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process shh.xie at gmail.com
  2013-09-23 22:04 ` York Sun
@ 2013-09-27 17:54 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2013-09-27 17:54 UTC (permalink / raw)
  To: u-boot

On 09/10/2013 11:48 PM, shh.xie at gmail.com wrote:
> From: Shaohui Xie <Shaohui.Xie@freescale.com>
> 
> 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: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---


Applied to u-boot-mpc85xx/next, pending merging to u-boot-mpc85xx/master
branch.

York

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-27 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11  6:48 [U-Boot] [PATCH] powerpc/tool/pbl: fix pbl image compiling process shh.xie at gmail.com
2013-09-23 22:04 ` York Sun
2013-09-27 17:54 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox