[Buildroot] Kernel does not boot on I.MX28

Mikael Åsberg mikael.asberg at mdh.se
Fri Apr 13 09:53:51 UTC 2012


Hi,

>ARCH=arm CROSS_COMPILE=/path/to/buildroot/output/host/usr/bin/arm-linux-
>to the build arguments.

I'm not sure where to put these, they will not have any effect in the Makefile...

--------------------------------------------------------------
Mikael Åsberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
Mälardalen University, Västerås Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Från: Thomas Petazzoni [thomas.petazzoni at free-electrons.com]
Skickat: den 13 april 2012 11:23
Till: Mikael Åsberg
Kopia: Attila Kinali; buildroot at busybox.net
Ämne: Re: [Buildroot] Kernel does not boot on I.MX28

Le Fri, 13 Apr 2012 11:06:45 +0200,
Mikael Åsberg <mikael.asberg at mdh.se> a écrit :

> For example, I have developed a new scheduler for Linux which is a kernel module.
> If I want to run this scheduler in the Linux kernel on my I.MX28 board, I need to compile this kernel module.
> Do I compile this module on my host machine with (arm-linux-gcc) and then transfer this binary to the board?

You should definitely compile it on your host machine, that's the
easiest solution.

If you have properly use Kbuild for the build system of your module,
you should simply add
ARCH=arm CROSS_COMPILE=/path/to/buildroot/output/host/usr/bin/arm-linux-
to the build arguments.

Regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list