mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* build barebox for imx8mqevk
@ 2019-01-11  7:53 Yazdani, Reyhaneh
  2019-01-11 11:13 ` Sascha Hauer
  0 siblings, 1 reply; 5+ messages in thread
From: Yazdani, Reyhaneh @ 2019-01-11  7:53 UTC (permalink / raw)
  To: barebox

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’


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.

Thanks in advance.

Best regards,
Reyhaneh Yazdani

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build barebox for imx8mqevk
  2019-01-11  7:53 build barebox for imx8mqevk Yazdani, Reyhaneh
@ 2019-01-11 11:13 ` Sascha Hauer
  2019-01-15 14:42   ` Yazdani, Reyhaneh
  2019-01-25 13:16   ` Christian Hemp
  0 siblings, 2 replies; 5+ messages in thread
From: Sascha Hauer @ 2019-01-11 11:13 UTC (permalink / raw)
  To: Yazdani, Reyhaneh; +Cc: barebox

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

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build barebox for imx8mqevk
  2019-01-11 11:13 ` Sascha Hauer
@ 2019-01-15 14:42   ` Yazdani, Reyhaneh
  2019-01-25 13:16   ` Christian Hemp
  1 sibling, 0 replies; 5+ messages in thread
From: Yazdani, Reyhaneh @ 2019-01-15 14:42 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build barebox for imx8mqevk
  2019-01-11 11:13 ` Sascha Hauer
  2019-01-15 14:42   ` Yazdani, Reyhaneh
@ 2019-01-25 13:16   ` Christian Hemp
  2019-01-28  8:58     ` Sascha Hauer
  1 sibling, 1 reply; 5+ messages in thread
From: Christian Hemp @ 2019-01-25 13:16 UTC (permalink / raw)
  To: barebox

Hello Sascha,

Am Freitag, 11. Januar 2019, 12:13:16 CET schrieb Sascha Hauer:
> 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.

Is there a specific reason why ARM 32bit and 64bit are handled under arch/arm 
and not separate?

Regards
Christian

> 
> Regards,
>   Sascha
> 
> --
> 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 |
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox





_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build barebox for imx8mqevk
  2019-01-25 13:16   ` Christian Hemp
@ 2019-01-28  8:58     ` Sascha Hauer
  0 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2019-01-28  8:58 UTC (permalink / raw)
  To: Christian Hemp; +Cc: barebox

On Fri, Jan 25, 2019 at 02:16:40PM +0100, Christian Hemp wrote:
> Hello Sascha,
> 
> Am Freitag, 11. Januar 2019, 12:13:16 CET schrieb Sascha Hauer:
> > 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.
> 
> Is there a specific reason why ARM 32bit and 64bit are handled under arch/arm 
> and not separate?

Yes. They share a lot of code.

Sascha

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-28  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11  7:53 build barebox for imx8mqevk Yazdani, Reyhaneh
2019-01-11 11:13 ` Sascha Hauer
2019-01-15 14:42   ` Yazdani, Reyhaneh
2019-01-25 13:16   ` Christian Hemp
2019-01-28  8:58     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox