LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 07:51 AM   #1
mrigendra
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, 06:13 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,853

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
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, 08:03 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,188

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
"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


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

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

All times are GMT -5. The time now is 04:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration