Skip to contentSkip to conversation

Can't build manufacturing tool for imx6ulevk

meta-fsl-arm Gary Thomas 2 participants 4 messages Apr 14, 2016

lore
Share & tools
lore
#0 lore raw

Seems to be some confusion over the U-Boot style - the manufacturing tool recipe is expecting a split SPL+.img but the target builds a .imx

| cp: cannot stat '/local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/git/mx6ul_14x14_evk_config/u-boot.img': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/temp/log.do_compile.1707)

ERROR: Task 133 (/local/poky-cutting-edge/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2015.04.bb, do_compile) failed with exit code '1'

Built with a recent master
meta = "master:778121ab844af623a215430ba579a5fb3947928b"
meta-fsl-arm = "master:cec4c47e33979631e85e2c933cea5182da61ad82"

Any ideas how I can get the manufacturing tool built for this target?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 13 lines · Gary Thomas

Seems to be some confusion over the U-Boot style - the manufacturing tool recipe is expecting a split SPL+.img but the target builds a .imx

| cp: cannot stat '/local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/git/mx6ul_14x14_evk_config/u-boot.img':
No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/temp/log.do_compile.1707)
ERROR: Task 133
(/local/poky-cutting-edge/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2015.04.bb,
do_compile) failed with exit code '1'

Quoted 5 lines

Built with a recent master
meta = "master:778121ab844af623a215430ba579a5fb3947928b"
meta-fsl-arm = "master:cec4c47e33979631e85e2c933cea5182da61ad82"

Any ideas how I can get the manufacturing tool built for this target?

Ideally you could send the mfgtool support for the U-Boot mainline; the NXP fork is not used by the board by default, even though it is available, so you need to adapt the board file to not use SPL.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw
Quoted 18 lines · Otavio Salvador
Quoted 17 lines · Gary Thomas

Seems to be some confusion over the U-Boot style - the manufacturing tool recipe is expecting a split SPL+.img but the target builds a .imx

| cp: cannot stat '/local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/git/mx6ul_14x14_evk_config/u-boot.img':
No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/temp/log.do_compile.1707)
ERROR: Task 133
(/local/poky-cutting-edge/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2015.04.bb,
do_compile) failed with exit code '1'

Built with a recent master
meta = "master:778121ab844af623a215430ba579a5fb3947928b"
meta-fsl-arm = "master:cec4c47e33979631e85e2c933cea5182da61ad82"

Quoted 6 lines
Quoted 1 line

Any ideas how I can get the manufacturing tool built for this target?

Ideally you could send the mfgtool support for the U-Boot mainline; the NXP fork is not used by the board by default, even though it is available, so you need to adapt the board file to not use SPL.

I'm just trying to use the "off the shelf" [i.e. meta-fsl-arm] stuff. I didn't expect to have to work so hard to get something in master to be able to build :-(

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 27 lines · Gary Thomas
Quoted 26 lines · Otavio Salvador
Quoted 22 lines · Gary Thomas

Seems to be some confusion over the U-Boot style - the manufacturing tool recipe is expecting a split SPL+.img but the target builds a .imx

| cp: cannot stat

'/local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/git/mx6ul_14x14_evk_config/u-boot.img':
No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at

/local/imx6ul_2016-02-22/tmp/work/imx6ulevk-amltd-linux-gnueabi/u-boot-imx-mfgtool/2015.04-r0/temp/log.do_compile.1707)
ERROR: Task 133

(/local/poky-cutting-edge/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2015.04.bb, do_compile) failed with exit code '1'

Built with a recent master
meta = "master:778121ab844af623a215430ba579a5fb3947928b"
meta-fsl-arm = "master:cec4c47e33979631e85e2c933cea5182da61ad82"

Any ideas how I can get the manufacturing tool built for this target?

Quoted 8 lines
Quoted 4 lines

Ideally you could send the mfgtool support for the U-Boot mainline; the NXP fork is not used by the board by default, even though it is available, so you need to adapt the board file to not use SPL.

I'm just trying to use the "off the shelf" [i.e. meta-fsl-arm] stuff. I didn't expect to have to work so hard to get something in master to be able to build :-(

Few people uses mfgtool; in fact I think it is a disaster. I am not a Windoze guy and I don't trust it to rely on it for manufactur. For O.S. Systems customers we use imx-usb-load whenever it is possible (always).

As I am not an user of it, I stopped testing it on regular basis. If you are intending to use I will be happy to review the patches and make next mfgtool life easier ;-)

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750