From: "Yazdani, Reyhaneh" <RYazdani@data-modul.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: build barebox for imx8mqevk
Date: Tue, 15 Jan 2019 14:42:59 +0000 [thread overview]
Message-ID: <faedf740-1747-9484-fb70-2bfa36689602@data-modul.com> (raw)
In-Reply-To: <20190111111316.i4sbti24awp2in3e@pengutronix.de>
Hi,
Thank you. Now I could build the Barebox :)
Best,
Reyhaneh
On 1/11/19 12:13 PM, Sascha Hauer wrote:
> Hi,
>
> On Fri, Jan 11, 2019 at 07:53:15AM +0000, Yazdani, Reyhaneh wrote:
>> Hello everyone,
>>
>> I am going to build Barebox for my imx8mq evaluation kit and in this process, I
>> have faced a problem.
>>
>> At first, I used a 32bit-armtoolchain(arm-poky-linux-gnueabi-gcc), which I have
>> used for building barebox for imx6..
>> $ make imx_v8_defconfig
>> $ make
>>
>> Then I got this error:
>> arm-poky-linux-gnueabi-gcc: error: unrecognized argument in option ‘-mabi=lp64’
>
> This cannot work. You need a 64bit toolchain.
>
>>
>>
>> Then, I used a 64bit-arm-toolchain(aarch64-poky-linux-gcc).
>> When I try again:
>>
>> $ make imx_v8_defconfig
>> Makefile:405: /development/gitarchives/barebox/arch/arm64/Makefile: No such file
>> or directory
>> make: *** No rule to make target
>> '/development/gitarchives/barebox/arch/arm64/Makefile'. Stop.
>>
>> I would appreciate if you help me, how to compile Barebox for imx8.
>
> You have to pass ARCH=arm as environment variable. It seems that you
> pass ARCH=arm64.
>
> In barebox both ARM 32bit and 64bit are handled under arch/arm,
> nevertheless you have to pass a suitable toolchain.
>
> Regards,
> Sascha
>
--
Reyhaneh Yazdani
Data Modul AG TEL: +49-89-56017-154
Embedded development FAX: +49-89-56017-119
Linux - Development RG: HR-Muenchen B-85591
Landsberger Str. 322 D-80687 Muenchen - http://www.data-modul.com
Vertrauliche E-Mail von / Confidential e-mail from: DATA MODUL AG
Vorstand / CEO: Dr. Florian Pesahl
Vorsitzende des Aufsichtsrates / Chairwoman of the Supervisory Board: Kristin D. Russell
Sitz der Gesellschaft / Registered Office: München
Registergericht / Registration Court: München Handelsregister B 85 591
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-01-15 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 7:53 Yazdani, Reyhaneh
2019-01-11 11:13 ` Sascha Hauer
2019-01-15 14:42 ` Yazdani, Reyhaneh [this message]
2019-01-25 13:16 ` Christian Hemp
2019-01-28 8:58 ` Sascha Hauer
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=faedf740-1747-9484-fb70-2bfa36689602@data-modul.com \
--to=ryazdani@data-modul.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@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