Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I start to discover the embedded linux world. I have read the french book (because I am french ^^) "Linux embarqué" (translation => "embedded linux") written by Pierre Ficheux.
By reading this book I understood architecture and main mechanisms of an linux OS. Now I want to try !
I plan to buy a development board, but first I try to deploy a custom embedded linux OS on an emulated board, using Qemu.
I bought the "Linux Magazine" where Pierre Ficheux wrote an article "how to build an embedded linux with buildroot". I guess I am not the only one to use Buildroot, so I ask for your help because I have some trouble with that. I want to emulate a versatile ARM9 board. Here is the buildroot configuration (buildroot 2009.11) :
- Target Architecture => ARM
- Target architecture variant => ARM926T
- Target ABI => OABI
- Target Option => default configuration
- Build option => default configuration
- Toolchain => default configuration (linux kernel 2.6.31.x)
- Package selection => default configuration
- Target file system => cpio (gzip compression)
- Kernel => Same version as linux header
- config file => .config
- kernel binary format => zImage
Then, when I compile Buildroot, it ask me lot of questions (I think it is about the kernel compilation). I don't know what I have to answer to each questions, so I let the default answer.
Then I have my root file system and my kernel image.
When I want to try it I run the command :
qemu-system-arm -M versatilepb -m 16 -kernel //mykernel_path -initrd /myrootfs_path
Qemu is launching and nothing else happen. I don't have any error, but I don't have prompt... It seems that nothing is booting, or I don't know what.
My goal is to develop application on my embedded linux OS. But I can't even launch a simple OS !!
Can you tell me what is wrong, what is my mistake, what are your advice to achieve to develop an application.
Thank you Suresh Maniyath. Rather than to use Qemu to learn embedded linux, I bought a Mini2440 development board. Now I have troubles in developing my own application especially in playing sound. Please see my post "SDL cross compiled troubles" if you are interested in.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.