Hi,

On Fri, Feb 02, 2018 at 03:53:33PM +0000, Milluzzo, Massimo wrote:
> I'm trying to build a BSP for my Toradex Apalis iMX-6q module.
> I'm facing an issue with the linux image generation: in "platformconfig >
> Linux kernel > Image type" if I select "zImage" everything runs; if I select
> "uImage" (and I change only this parameter) I got an error:
> 
> ...
> -----------------------------------
> target: pureftpd.targetinstall.post
> -----------------------------------
> 
> finished target pureftpd.targetinstall.post
> 
> ----------------------------------------
> target: kernel-header.targetinstall.post
> ----------------------------------------
> 
> finished target kernel-header.targetinstall.post
> 
> ------------------
> target: u-boot.get
> ------------------
> 
> make: *** 
> [/data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.get]
>  Error 1
> 
> Obviously I need the "uImage" but I don't know how to generate it. I'm new in 
> ptxdist and in bsp generation.


This is really strange. Do you get this error if you execute "ptxdist get
u-boot"? If yes, then please edit scripts/lib/ptxd_make_world_get.sh (in
PTXdist and add "set -x" at the beginning of ptxd_make_world_get() like
this:
[....]
ptxd_make_world_get() {
    set -x
    ptxd_make_world_init &&

[...]

Then run "ptxdist get u-boot" again and send the output.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to