u-boot-script-boundary: handle the case where MACHINE=imx6sabrelite
PATCH 1/1 u-boot-script-boundary: handle the case where MACHINE=imx6sabrelite
else the build fails with :
uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: No such file or directory
--- recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +6 -2
@@ -14,12 +14,16 @@ S = "${WORKDIR}/git" inherit deploy do_mkimage () { + # workaround the case where MACHINE=imx6qsabrelite + if [ ! -d board/boundary/${MACHINE} ]; then + mkdir board/boundary/${MACHINE} + fi uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \ + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.txt \ board/boundary/${MACHINE}/6x_bootscript uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d board/boundary/${MACHINE}/6x_upgrade.txt \ + -n "upgrade script" -d board/boundary/nitrogen6x/6x_upgrade.txt \ board/boundary/${MACHINE}/6x_upgrade }
Signature · 1 line
1.7.10.4
Quoted 5 lines · Eric Bénard
else the build fails with :
uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: No such file or directorySigned-off-by Eric Bénard <[email protected]>Cc Eric Nelson <[email protected]>
Good catch!
Quoted 9 lines
--- recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)recipes-bsp/u-boot/u-boot-script-boundary_git.bb +0
-0
recipes-bsp/u-boot/u-boot-script-boundary_git.bb S = "${WORKDIR}/git" · line 20
Quoted 7 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +4
-0@@ -14,12 +14,16 @@ S = "${WORKDIR}/git" inherit deploy do_mkimage () { + # workaround the case where MACHINE=imx6qsabrelite + if [ ! -d board/boundary/${MACHINE} ]; then + mkdir board/boundary/${MACHINE} + fi
I just didn't understand why you create this directory as below you use nitrogen one?
recipes-bsp/u-boot/u-boot-script-boundary_git.bb S = "${WORKDIR}/git" · line 28
Quoted 10 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +2
-2uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \ + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.txt \ board/boundary/${MACHINE}/6x_bootscript uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d board/boundary/${MACHINE}/6x_upgrade.txt \ + -n "upgrade script" -d board/boundary/nitrogen6x/6x_upgrade.txt \ board/boundary/${MACHINE}/6x_upgrade }
Seem fine.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 20 lines · Otavio Salvador
Quoted 5 lines · Eric Bénard
else the build fails with :
uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: No such file or directorySigned-off-by Eric Bénard <[email protected]>Cc Eric Nelson <[email protected]>Good catch!
Quoted 11 lines
--- recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)recipes-bsp/u-boot/u-boot-script-boundary_git.bb +0
-0@@ -14,12 +14,16 @@ S = "${WORKDIR}/git" inherit deploy
Quoted 9 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb S = "${WORKDIR}/git" · line 20
Quoted 5 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +4
-0do_mkimage () { + # workaround the case where MACHINE=imx6qsabrelite + if [ ! -d board/boundary/${MACHINE} ]; then + mkdir board/boundary/${MACHINE} + fiI just didn't understand why you create this directory as below you use nitrogen one?
because I use the nitrogen one for the .txt but the ${MACHINE} one for the results in order not to make many changes to the .bb as I assume imx6sabrelite is due to disapear in a short future.
Quoted 17 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb S = "${WORKDIR}/git" · line 28
Quoted 10 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +2
-2uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \ + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.txt \ board/boundary/${MACHINE}/6x_bootscript uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d board/boundary/${MACHINE}/6x_upgrade.txt \ + -n "upgrade script" -d board/boundary/nitrogen6x/6x_upgrade.txt \ board/boundary/${MACHINE}/6x_upgrade }Seem fine.
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 32 lines · Eric Bénard
Quoted 20 lines · Otavio Salvador
Quoted 5 lines · Eric Bénard
else the build fails with :
uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: No such file or directorySigned-off-by Eric Bénard <[email protected]>Cc Eric Nelson <[email protected]>Good catch!
Quoted 11 lines
--- recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)recipes-bsp/u-boot/u-boot-script-boundary_git.bb +0
-0@@ -14,12 +14,16 @@ S = "${WORKDIR}/git" inherit deployQuoted 9 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb S = "${WORKDIR}/git" · line 20
Quoted 5 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +4
-0do_mkimage () { + # workaround the case where MACHINE=imx6qsabrelite + if [ ! -d board/boundary/${MACHINE} ]; then + mkdir board/boundary/${MACHINE} + fiI just didn't understand why you create this directory as below you use nitrogen one?
Quoted 3 lines
because I use the nitrogen one for the .txt but the ${MACHINE} one for the results in order not to make many changes to the .bb as I assume imx6sabrelite is due to disapear in a short future.
Makes sense :-)
Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
recipes-bsp/u-boot/u-boot-script-boundary_git.bb +2
-2uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "boot script" -d board/boundary/${MACHINE}/6x_bootscript.txt \ + -n "boot script" -d board/boundary/nitrogen6x/6x_bootscript.txt \ board/boundary/${MACHINE}/6x_bootscript uboot-mkimage -A arm -O linux -T script -C none -a 0 -e 0 \ - -n "upgrade script" -d board/boundary/${MACHINE}/6x_upgrade.txt \ + -n "upgrade script" -d board/boundary/nitrogen6x/6x_upgrade.txt \ board/boundary/${MACHINE}/6x_upgrade }
Quoted 7 lines
Quoted 6 lines
Seem fine.
--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Otavio Salvador
AppliedQuoted 5 lines · Eric Bénard
else the build fails with :
uboot-mkimage: Can't open board/boundary/imx6qsabrelite/6x_bootscript: No such file or directorySigned-off-by Eric Bénard <[email protected]>Cc Eric Nelson <[email protected]>
Applied. Thanks for finding this.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750