LinuxQuestions.org
Visit Jeremy's Blog.
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 12-30-2013, 01:10 PM   #1
david_8274
Member
 
Registered: Jun 2013
Location: California
Distribution: Ubuntu, Fedora
Posts: 75

Rep: Reputation: Disabled
how to select a root file system (there are multiple of them in flash) from u-boot


Hi,

In the flash of the board I am working on, there are multiple root file systems in the flash. By default U-boot loads root0. So how do I select any of them as I wish?
Here is the partitions in the flash:

device nand0 <maximasp_nand.0>, # parts = 9
#: name size offset mask_flags
0: u-boot 0x00200000 0x00000000 1
1: env0 0x00080000 0x00200000 1
2: env1 0x00080000 0x00280000 1
3: kernel0 0x00400000 0x00300000 0
4: kernel1 0x00400000 0x00700000 0
5: kernel2 0x00500000 0x00b00000 0
6: root0 0x06400000 0x01000000 0
7: root1 0x06400000 0x07400000 0
8: other 0x12800000 0x0d800000 0

active partition: nand0,8 - (other) 0x12800000 @ 0x0d800000

Thanks,
Dave Xu
 
Old 01-02-2014, 08:53 PM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 93

Rep: Reputation: 9
Don't you use bootargs as in any Linux system? I don't use U-Boot, but from http://www.denx.de/wiki/view/DULG/UB...ction_5.9.6.3. I guess that would be a way.
Regards,
Esteban
 
  


Reply


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
SMDK2450 - Linux root file system mounting from NAND Flash aprajam Linux - Embedded & Single-board computer 10 10-19-2011 12:00 AM
fsck not checking non-root file system at boot time... robertjinx Slackware 2 04-21-2011 03:28 PM
System hangs on boot - "Mounting root file system" fails with Via VT6410 enabled Eagleorn Linux - Hardware 3 09-21-2006 12:58 PM
Root file system errors - won't boot shan Linux - General 4 12-24-2005 01:20 PM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM

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

All times are GMT -5. The time now is 12:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration