From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel does not boot on I.MX28
Date: Fri, 13 Apr 2012 11:23:51 +0200 [thread overview]
Message-ID: <20120413112351.0b7e97d3@skate> (raw)
In-Reply-To: <63D6870D443E63419AC4A0C97B86C0920D358F816D@MBXCLUSTER.mdh.local>
Le Fri, 13 Apr 2012 11:06:45 +0200,
Mikael ?sberg <mikael.asberg@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
next prev parent reply other threads:[~2012-04-13 9:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 7:38 [Buildroot] Kernel does not boot on I.MX28 Mikael Åsberg
2012-04-13 7:56 ` Attila Kinali
2012-04-13 8:21 ` Mikael Åsberg
2012-04-13 8:31 ` Attila Kinali
2012-04-13 9:06 ` Mikael Åsberg
2012-04-13 9:23 ` Thomas Petazzoni [this message]
2012-04-13 9:53 ` Mikael Åsberg
2012-04-13 7:56 ` Thomas Petazzoni
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=20120413112351.0b7e97d3@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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