Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,885

Rep: Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761Reputation: 761
I'm unfamiliar with the term MLO. Perhaps this link will help answer your questions.
Old 03-27-2017, 07:03 PM   #3
Registered: Mar 2008
Posts: 17,634

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

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


boot, linux, u-boot

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

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