Re: build barebox for imx8mqevk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux