From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Loading modules with device tree after rootfs is mounted
Date: Sun, 31 Jan 2016 23:52:59 +0100 [thread overview]
Message-ID: <56AE904B.2030906@mind.be> (raw)
In-Reply-To: <CANqk_c9oEnF32aeNnPzki0vr1E4-s-xxGyC5+dHAwAw6rHkLAg@mail.gmail.com>
On 30-01-16 18:56, Tim Michals wrote:
> I've created new buildroot defconfig for Udoo Neo board, u-boot, linux kernel
> boots and busybox prompt is active and accepts commands. The issue is several
> drivers (wifi, camera, etc) are built as kernel modules and stored on ext4
> rootfs. How can the kernel load these modules via the device tree from the rootfs?
The kernel doesn't automatically load modules, you need a userspace hotplug
helper to handle that. You have the following options:
1. modprobe the required drivers in an init script (no hotplugging).
2. Write a hotplug script that modprobes as required (google it).
3. Use mdev as the /dev handler and add a modprobe handler in mdev.conf (google it).
4. Use udev as the /dev handler.
Regards,
Arnout
>
> Udoo team has a lubuntu image, and the drivers are loaded after rootfs is
> mounted, so I'm confused how this works.
>
>
>
> Thank your for help.
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2016-01-31 22:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-30 17:56 [Buildroot] Loading modules with device tree after rootfs is mounted Tim Michals
2016-01-31 22:52 ` Arnout Vandecappelle [this message]
2016-02-27 10:19 ` Peter Korsgaard
2016-02-27 12:09 ` Arnout Vandecappelle
2016-02-27 17:57 ` Peter Korsgaard
2016-02-27 20:46 ` Arnout Vandecappelle
2016-02-27 21:47 ` Peter Korsgaard
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=56AE904B.2030906@mind.be \
--to=arnout@mind.be \
--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