mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Milluzzo, Massimo" <mmilluzzo@moog.com>
To: Roland Hieber <r.hieber@pengutronix.de>,
	"ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] [EXTERNAL] Re: Build uImage with ptxdist for a Toradex Apalis iMX-6q module
Date: Mon, 5 Feb 2018 15:27:07 +0000	[thread overview]
Message-ID: <a58491b9583b4fe3916fa3c257690ab7@lujp1svwi090222.corp.mooginc.com> (raw)
In-Reply-To: <9988edc5-6f27-c992-fe71-656f8eb13f76@pengutronix.de>

Hi Roland,
Thanks for the answer, unfortunately it doesn't help.
I already change the configuration as you explain (actually I did it before ask you) but it doesn't work.
The weird thing is that if I select "zImage" everything works, if I select "uImage" (and change nothing else, same u-boot parameters) the build fails with the message:
"make: *** data/developer/user/nfs/project/External/Sources/Linux/bsp/platform-Toradex/state/u-boot.get  Error 1"

Thanks for helping me.
Regards.
Massimo

-----Original Message-----
From: Roland Hieber [mailto:r.hieber@pengutronix.de]
Sent: Monday, February 5, 2018 11:59 AM
To: ptxdist@pengutronix.de; Milluzzo, Massimo <mmilluzzo@moog.com>
Subject: [EXTERNAL] Re: [ptxdist] Build uImage with ptxdist for a Toradex Apalis iMX-6q module

Hi,

I think this means that you need to enable u-boot to build a uImage. In ptxdist platformconfig, go to "bootloaders" -> "u-boot", select it, and fill in its version and md5sum in its submenu. These parameters are used as URL parameters in the u-boot.get stage :-)

I think you also need to select "Image Type: uImage" in "ptxdist menuconfig kernel", otherwise the kernel.compile stage will still build a zImage and the kernel.install stage will try to install a uImage and fail.

Does this help?

  - Roland

On 02.02.2018 16:53, Milluzzo, Massimo wrote:
> Hi all,
>
> 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:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__pureftpd.targetins
> tall.post_&d=DwID-g&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIXVcH3yfj
> a0xjQhbEV1BVMr743P9g&m=iOgBWNgZLDNR55ZACKWPBqdQateJIDglQJa_mGn_B2Q&s=_
> WvB5Ze0q8ioTgJ1tuO6qyAV3J21M8mT8cSFPY8hzkY&e=
>
> /-----------------------------------/
>
> //
>
> /finished target
> https://urldefense.proofpoint.com/v2/url?u=http-3A__pureftpd.targetins
> tall.post_&d=DwID-g&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIXVcH3yfj
> a0xjQhbEV1BVMr743P9g&m=iOgBWNgZLDNR55ZACKWPBqdQateJIDglQJa_mGn_B2Q&s=_
> WvB5Ze0q8ioTgJ1tuO6qyAV3J21M8mT8cSFPY8hzkY&e=
>
> //
>
> /----------------------------------------/
>
> /target:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__kernel-2Dheader.ta
> rgetinstall.post_&d=DwID-g&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIX
> VcH3yfja0xjQhbEV1BVMr743P9g&m=iOgBWNgZLDNR55ZACKWPBqdQateJIDglQJa_mGn_
> B2Q&s=TGfafONVkHhEsVPKIruWLAR_M7hG5vu2zEsk3ZP4zQw&e=
>
> /----------------------------------------/
>
> //
>
> /finished target
> https://urldefense.proofpoint.com/v2/url?u=http-3A__kernel-2Dheader.ta
> rgetinstall.post_&d=DwID-g&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIX
> VcH3yfja0xjQhbEV1BVMr743P9g&m=iOgBWNgZLDNR55ZACKWPBqdQateJIDglQJa_mGn_
> B2Q&s=TGfafONVkHhEsVPKIruWLAR_M7hG5vu2zEsk3ZP4zQw&e=
>
> //
>
> /------------------/
>
> /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.
>
> My configuration:
>
> O.S.: CentOS 7
>
> Ptxdist: ptxdist-2017.06.0
>
> toolchain: OSELAS.Toolchain-2014.12.0
>
> u-boot: 2016-11
>
> linux kernel: linux-toradex_4.1-2.0.x-imx
>
> Can you help me please?
>
> Many thanks,
>
> Regards.
>
> **
>
> *Massimo Milluzzo*
>
>
> Avviso di riservatezza: La presente trasmissione di posta elettronica
> e intesa all'utilizzo da parte di persone fisiche e giuridiche alle
> quali questa e indirizzata e potrebbe contenere informazioni
> proprietarie e/o riservate, appartenenti al mittente. Qualora l'utente
> non fosse il destinatario designato, con la presente si notifica il
> severo divieto di qualsivoglia divulgazione, utilizzo, copia,
> distribuzione o azione in merito ai contenuti delle presenti
> informazioni. Laddove la presente trasmissione sia avvenuta per
> errore, si prega di notificarlo immediatamente al mittente a mezzo
> posta elettronica e cancellare il messaggio originale. Grazie per la collaborazione.
>
>
> Confidentiality Notice: This electronic mail transmission is intended
> for the use of the individual or entity to which it is addressed and
> may contain confidential and/or proprietary information belonging to
> the sender. If you are not the intended recipient, you are hereby
> notified that any disclosure, use, copying, distribution, or the
> taking of any action in reliance on the contents of this information
> is strictly prohibited. If you have received this transmission in
> error, please notify the sender immediately by e-mail and delete the original message.
> Thank you for your cooperation.
>
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
>

--
Pengutronix e.K.                  | Roland Hieber               |
Industrial Linux Solutions        | https://urldefense.proofpoint.com/v2/url?u=http-3A__www.pengutronix.de_&d=DwID-g&c=ByDrzdYw8tO08sJlHDO_Vg&r=93BpwewPp4TSQgIXVcH3yfja0xjQhbEV1BVMr743P9g&m=iOgBWNgZLDNR55ZACKWPBqdQateJIDglQJa_mGn_B2Q&s=n9IF8wdms_VwLhdEiyUOPHHJ-aqYxkvmZx00Ykuz-xY&e=  |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

Avviso di riservatezza: La presente trasmissione di posta elettronica e intesa all'utilizzo da parte di persone fisiche e giuridiche alle quali questa e indirizzata e potrebbe contenere informazioni proprietarie e/o riservate, appartenenti al mittente. Qualora l'utente non fosse il destinatario designato, con la presente si notifica il severo divieto di qualsivoglia divulgazione, utilizzo, copia, distribuzione o azione in merito ai contenuti delle presenti informazioni. Laddove la presente trasmissione sia avvenuta per errore, si prega di notificarlo immediatamente al mittente a mezzo posta elettronica e cancellare il messaggio originale. Grazie per la collaborazione.

Confidentiality Notice: This electronic mail transmission is intended for the use of the individual or entity to which it is addressed and may contain confidential and/or proprietary information belonging to the sender. If you are not the intended recipient, you are hereby notified that any disclosure, use, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately by e-mail and delete the original message. Thank you for your cooperation.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-02-05 15:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02 15:53 [ptxdist] " Milluzzo, Massimo
2018-02-05 10:58 ` Roland Hieber
2018-02-05 15:27   ` Milluzzo, Massimo [this message]
2018-02-08  9:21 ` Michael Olbrich
2018-02-08 12:55   ` [ptxdist] [EXTERNAL] " Milluzzo, Massimo
2018-02-08 14:53     ` Michael Olbrich
2018-02-09  7:44       ` Milluzzo, Massimo
2018-02-09  9:13         ` Michael Olbrich
2018-02-09 10:46           ` Milluzzo, Massimo
2018-02-09 14:25             ` Michael Olbrich
2018-02-09 14:56               ` Milluzzo, Massimo
2018-02-14  9:49               ` [ptxdist] FW: " Milluzzo, Massimo
2018-02-14 11:04                 ` m.olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a58491b9583b4fe3916fa3c257690ab7@lujp1svwi090222.corp.mooginc.com \
    --to=mmilluzzo@moog.com \
    --cc=ptxdist@pengutronix.de \
    --cc=r.hieber@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox