LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Boot linux on Beagle bone black with initrd (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/boot-linux-on-beagle-bone-black-with-initrd-4175536397/)

shashwatsingh87 03-11-2015 07:28 AM

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

sundialsvcs 03-11-2015 07:50 AM

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.

shashwatsingh87 03-11-2015 08:07 AM

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


All times are GMT -5. The time now is 06:28 PM.