LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2017, 06:51 AM   #1
mrigendra
LQ Newbie
 
Registered: Dec 2014
Posts: 22

Rep: Reputation: Disabled
How will the ROM boot loader detect the MMC card without any driver


I know that ROM code contains a jump vector as instruction to make CPU to look the MLO or the first 512 bytes from boot sector. I have a couple of confusions about booting?

Is MLO the file that contains this 512 bytes ?

Is MLO the boot sector?

How do the cpu reads MLO and put its contents into RAM if it do not have any mmc driver at this stage?

Also I have observed that while copying MLO, uboot.img, uImage and device tree blob, I have to copy MLO first.Why?

Because in MLO there are no filesystem drivers cause it can have only 512 bytes, we need to use U-boot.bin/img file? What if it can have more storage within it to support all the useful functioality of uboot, in that case do not have to use uboot stage?

Is initial ramdisk image is used by U-boot to load kernel and driver modules that kernel will use, or kernel uses ramdisk when its loaded?

I do not need all the intricate details if it so, just understanding to make up some boot logic in my head.
 
Old 03-27-2017, 05:13 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
I'm unfamiliar with the term MLO. Perhaps this link will help answer your questions.

http://www.comptechdoc.org/hardware/pc/pcboot.html
 
Old 03-27-2017, 07:03 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
"x-loader (MLO), u-boot (u-boot.bin )and the Linux kernel (uImage)"

http://processors.wiki.ti.com/index.php/Boot_Sequence

Guess you'd have to tell us the processor and board and maybe distro to be sure of the way it loads.
 
  


Reply

Tags
boot, linux, u-boot



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
[SOLVED] MMC/SD card driver problems on Linux2.6.29 quoctoan_3t Linux - Software 2 06-05-2012 01:19 AM
MMC/SD card driver problems on Linux2.6.29 quoctoan_3t Linux - Embedded & Single-board computer 0 06-04-2012 11:58 PM
how to detect whether the mmc card has been removed or the driver rmmoded mailtosouvik Linux - Kernel 1 07-03-2011 03:46 PM
What is the relationship between the linux mmc media driver and mmc host driver? archieval Linux - General 0 07-13-2009 12:36 AM
Accessing MMC card in Laptop built-in MMC Card Slot with knoppix bröggle Linux - Laptop and Netbook 0 08-18-2004 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 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