element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Read Only File System
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 328 subscribers
  • Views 474 views
  • Users 0 members are here
Related

Read Only File System

jdbravo
jdbravo over 7 years ago

I'm building a image using Yocto rocky and Xilinx for my zynq-702 board.

 

But for some reason my root file system can only be mounted as a read only. If I put rw in the u-boot load command it fails. I'm booting from a SD card, that doesn't have any lock switch.

 

And if I boot using other kernel different than the one generated by yocto it does mount the file system as read write... the problem is somewhere in my image and not physical in the SD card or in the controller.

 

If generate my yocto image using a qemux86 machine, it does work good and mount the partition as rw.

 

This is the latest part of my boot log:

 

Waiting for root device /dev/mmcblk0p2...                                       
mmc0: new high speed SDHC card at address aaaa                                  
mmcblk0: mmc0:aaaa SL08G 7.40 GiB (ro)                                          
 mmcblk0: p1 p2                                                                 
VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -30     
Please append a correct "root=" boot option; here are the available partitions: 
0100           16384 ram0  (driver?)                                            
0101           16384 ram1  (driver?)                                            
0102           16384 ram2  (driver?)                                            
0103           16384 ram3  (driver?)                                            
0104           16384 ram4  (driver?)                                            
0105           16384 ram5  (driver?)                                            
0106           16384 ram6  (driver?)                                            
0107           16384 ram7  (driver?)                                            
0108           16384 ram8  (driver?)                                            
0109           16384 ram9  (driver?)                                            
010a           16384 ram10  (driver?)                                           
010b           16384 ram11  (driver?)                                           
010c           16384 ram12  (driver?)                                           
010d           16384 ram13  (driver?)                                           
010e           16384 ram14  (driver?)                                           
010f           16384 ram15  (driver?)                                           
b300         7761920 mmcblk0  driver: mmcblk                                    
  b301         1048576 mmcblk0p1 9d7a9d10-01                                    
  b302         6712320 mmcblk0p2 9d7a9d10-02                                    
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
CPU1: stopping                                                                  
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.0-xilinx-v2017.3 #1               
Hardware name: Xilinx Zynq Platform                                             
[<c010e3ac>] (unwind_backtrace) from [<c010a5f0>] (show_stack+0x10/0x14)        
[<c010a5f0>] (show_stack) from [<c02dcce4>] (dump_stack+0x80/0xa0)              
[<c02dcce4>] (dump_stack) from [<c010cb58>] (ipi_cpu_stop+0x3c/0x70)            
[<c010cb58>] (ipi_cpu_stop) from [<c010d388>] (handle_IPI+0x64/0x84)            
[<c010d388>] (handle_IPI) from [<c0101420>] (gic_handle_irq+0x80/0x8c)          
[<c0101420>] (gic_handle_irq) from [<c010b00c>] (__irq_svc+0x6c/0xa8)           
Exception stack(0xde471f70 to 0xde471fb8)                                       
1f60:                                     00000000 00000000 1e29c000 debde9c0   
1f80: 49d2e7a1 00000000 debdde40 00000001 47add66a 00000000 00000000 00000001   
1fa0: 00000015 de471fc0 c04af5dc c04af600 60000013 ffffffff                     
[<c010b00c>] (__irq_svc) from [<c04af600>] (cpuidle_enter_state+0xe4/0x1b4)     
[<c04af600>] (cpuidle_enter_state) from [<c014cdb4>] (cpu_startup_entry+0x18c/0)
[<c014cdb4>] (cpu_startup_entry) from [<001014cc>] (0x1014cc)                   
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-bl)
 

Thanks for your help!

  • Sign in to reply
  • Cancel
Parents
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello,

    Please ask all questions related to your ZC702 over at the Xilinx support forum.

    Thanks,

    Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jafoste4
    0 jafoste4 over 7 years ago

    Hello,

    Please ask all questions related to your ZC702 over at the Xilinx support forum.

    Thanks,

    Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube