LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This 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


Reply
  Search this Thread
Old 03-11-2015, 07:28 AM   #1
shashwatsingh87
LQ Newbie
 
Registered: Feb 2015
Location: Navi Mumbai
Distribution: 3.18.5
Posts: 4

Rep: Reputation: Disabled
Lightbulb Boot linux on Beagle bone black with initrd


Hi All,

I am a new comer to world of embedded linux and trying to learn almost everything
I am learning how to bring up BeagleBone Borad in multiple ways.
In that context I want to create a initrd image and then allow my kernel to use initrd as initial rootfile system to mount real rootfs.

I have set CONFIG_BLK_DEV_INITRD as Y
But cannot find a possible way to create initrd for my scenario.

Can anyone please guide me on how to create an initrd image for linux 3.18.5-bone1 and then how to make kernel to use initrd to complete the boot process.

Thanks
 
Old 03-11-2015, 07:50 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
I suggest that you compile the options that you need directly into your kernel, such that the entire "initrd" procedure can be avoided.

The entire purpose of "initrd" was to allow distros to write hardware-probing scripts. Instead of doing that, figure out what drivers are necessary and compile those directly into the kernel.
 
Old 03-11-2015, 08:07 AM   #3
shashwatsingh87
LQ Newbie
 
Registered: Feb 2015
Location: Navi Mumbai
Distribution: 3.18.5
Posts: 4

Original Poster
Rep: Reputation: Disabled
Lightbulb

Hi Sundialsvcs,

Thanks for the reply.

I wanna try the process in order to become familiar with how to use initrd.
It's a kind of experimental challenge for me as I am still a noob in this field.

I will try your suggestion but will it possible for you to throw some light or guidelines on my initial request as well

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WHen I rebooted my laptop it is stuck at "initrd /boot/initrd.img Shadowmeph Linux - Newbie 2 03-07-2014 03:03 PM
Beagle Bone Rev A5 serial communication UART4 and UART5 mux settings mandar.nandale Linux - Embedded & Single-board computer 0 05-22-2012 06:11 AM
LXer: Boot Linux on the Beagle Board LXer Syndicated Linux News 0 08-22-2009 09:30 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration