diff options
| author | Chunrong Guo <B40290@freescale.com> | 2015-12-11 01:26:16 -0600 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:22 -0300 |
| commit | a057f900f43d8f6a6ae631bd435949846a072b67 (patch) | |
| tree | 1c147fa950ce75247168c83c17cab975eec9bc3a | |
| parent | f9fdc597d1c2e06846fc6381e054481ff885aeaa (diff) | |
| download | meta-freescale-a057f900f43d8f6a6ae631bd435949846a072b67.tar.gz | |
u-boot-ls1: The finale u-boot binary is not named as u-boot.bin for sdcard/spi
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb index 44480b9e3..cc3d611a4 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | |||
| @@ -100,18 +100,29 @@ do_compile_append_qoriq-ppc() { | |||
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | do_compile_append_qoriq-arm () { | 102 | do_compile_append_qoriq-arm () { |
| 103 | if [ "x${UBOOT_CONFIG}" != "x" ] | 103 | unset i j |
| 104 | then | 104 | if [ "x${UBOOT_CONFIG}" != "x" ]; then |
| 105 | for config in ${UBOOT_MACHINE}; do | 105 | for config in ${UBOOT_MACHINE}; do |
| 106 | case "${config}" in | 106 | i=`expr $i + 1`; |
| 107 | *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/${config}/u-boot-dtb.bin ${S}/${config}/u-boot.swap.bin 8 | 107 | for type in ${UBOOT_CONFIG}; do |
| 108 | mv ${S}/${config}/u-boot.swap.bin ${S}/u-boot-${type}.${UBOOT_SUFFIX};; | 108 | j=`expr $j + 1`; |
| 109 | *nand* | *sdcard*) mv ${S}/${config}/u-boot-with-spl-pbl.bin ${S}/${config}/u-boot.bin;; | 109 | if [ $j -eq $i ]; then |
| 110 | esac | 110 | case "${config}" in |
| 111 | done | 111 | *nand* | *sdcard*) |
| 112 | fi | 112 | cp ${config}/u-boot-with-spl-pbl.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};; |
| 113 | *spi*) | ||
| 114 | tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${config}/u-boot-dtb.bin ${config}/u-boot.swap.bin 8 | ||
| 115 | cp ${config}/u-boot.swap.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};; | ||
| 116 | esac | ||
| 117 | fi | ||
| 118 | done | ||
| 119 | unset j | ||
| 120 | done | ||
| 121 | unset i | ||
| 122 | fi | ||
| 113 | } | 123 | } |
| 114 | 124 | ||
| 125 | |||
| 115 | do_install_append_qoriq-ppc() { | 126 | do_install_append_qoriq-ppc() { |
| 116 | for board in ${UBOOT_MACHINE}; do | 127 | for board in ${UBOOT_MACHINE}; do |
| 117 | if ! grep -wq $board ${S}/boards.cfg;then | 128 | if ! grep -wq $board ${S}/boards.cfg;then |
