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 Linaro Boot Problem
  • 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 200 views
  • Users 0 members are here
Related

Linaro Boot Problem

Former Member
Former Member over 12 years ago

I have problem with (Zedboard & Linaro) Boot , i made a (BOOT.BIN - DEVICETREE - uImage) linux have a problem with root directory , is missing :| ...
Tools : Webpack ISE 14.6
*****************************************************
digilent-zed.dts [Custom Config]
bootargs = "console=ttyPS0,115200  root=/dev/mmcblk0p2  rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=0";
*********************************************************
u-boot-xlnx[zynq_common.h]
"sdboot=echo Copying Linux from SD to RAM...;"
"mmcinfo;"
"fatload mmc 0 0x3000000 ${kernel_image};"
"fatload mmc 0 0x2A00000 ${devicetree_image};"
"bootm 0x3000000 - 0x2A00000"
*********************************************************

Partitions SD 8G
   - DOS - BOOT PArtition
   - EXT4- FS
*********************************************************
[screen is terminating]iver
xilinx@xilinx-desktop:~/Escritorio/sharel/u-boot-xlnx-xilinx-v14.6.01$
adv7511-hdmi-snd adv7511_hdmi_snd.2:  adv7511 <-> 75c00000.axi-sptc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
  #0: HDMI monitor
Console: switching to colour frame buffer device 160x64
fb0:  frame buffer device
drm: registered panic notifier
[drm] Initialized analog_drm 1.0.0 20110530 on minor 0
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaa 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:
b300         7761920 mmcblk0  driver: mmcblk
  b301         1052144 mmcblk0p1 00000000-0000-0000-0000-000000000000
  b302         6708480 mmcblk0p2 00000000-0000-0000-0000-000000000000
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[<c001334c>] (unwind_backtrace+0x0/0xe0) from [<c0345f98>] (panic+0x88/0x1e0)
[<c0345f98>] (panic+0x88/0x1e0) from [<c04a9cdc>] (mount_block_root+0x238/0x288)
xilinx@xilinx-desktop:~/Escritorio/sharel/u-boot-xlnx-xilinx-v14.6.01$
[<c04a9fd0>] (prepare_namespace+0x160/0x1c0) from [<c04a9960>] (kernel_init+0x178/0x1b8)
[<c04a9960>] (kernel_init+0x178/0x1b8) from [<c000e308>] (kernel_thread_exit+0x0/0x8)
CPU0: stopping
[<c001334c>] (unwind_backtrace+0x0/0xe0) from [<c0012320>] (ipi_cpu_stop+0x3c/0x6c)
[<c0012320>] (ipi_cpu_stop+0x3c/0x6c) from [<c00126a4>] (handle_IPI+0x68/0xb4)
[<c00126a4>] (handle_IPI+0x68/0xb4) from [<c000847c>] (gic_handle_irq+0x54/0x5c)
[<c000847c>] (gic_handle_irq+0x54/0x5c) from [<c000d3c4>] (__irq_svc+0x44/0x78)
Exception stack(0xc04d1f70 to 0xc04d1fb8)
1f60:                                     c04d0000 0000c8ee c04d1fa8 c04f29b0
1f80: c04f0550 c051ea00 c04c6a5c c0e2e100 0000406a 413fc090 00000000 00000000
1fa0: 00000000 c04d1fb8 c04d0028 c000e36c 20000013 ffffffff
[<c000d3c4>] (__irq_svc+0x44/0x78) from [<c000e36c>] (default_idle+0x28/0x30)
[<c000e36c>] (default_idle+0x28/0x30) from [<c000e558>] (cpu_idle+0x8c/0xe4)
[<c000e558>] (cpu_idle+0x8c/0xe4) from [<c04a9798>] (start_kernel+0x2b0/0x300)
[<c04a9798>] (start_kernel+0x2b0/0x300) from [<00008044>] (0x8044)
panic occurred, switching back to text console
[drm:drm_crtc_helper_set_config],
[drm:drm_crtc_helper_set_config], [CRTC:3] [FB:29] #connectors=1 (x y) (0 0)
[drm:drm_crtc_helper_set_config], [CONNECTOR:5:HDMI-A-1] to [CRTC:3]

  • Sign in to reply
  • Cancel
Parents
  • zedhed
    0 zedhed over 12 years ago

    Hi Ysanchez,

    Which Linaro tutorial are you following to get your system up and running?

    On the Ubuntu systems that I have been working on, I have run into problems mounting the SD card in read/write mode which seems to cause a crash dump like this so verify that the SD card does not have write protect enabled and that the write protect in your hardware platform is assigned to MIO46.

    Also, verify that the clock frequency provided to the SDIO controller in your hardware platform matches the "clock-frequency" parameter specified in your devicetree file for the SDIO declaration.  For example, on my system 50MHz clock is provided to the SDIO controller so I have this entry in my devicetree:

    ps7-sdio@e0100000 {
    clock-frequency = <0x2faf080>;
    ... some other stuff ...
    xlnx,has-cd = <0x1>;
    xlnx,has-power = <0x0>;
    xlnx,has-wp = <0x1>;
    xlnx,sdio-clk-freq-hz = <0x2faf080>;
    };

    Regards,

    -Kevin

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

    Hi Ysanchez,

    Which Linaro tutorial are you following to get your system up and running?

    On the Ubuntu systems that I have been working on, I have run into problems mounting the SD card in read/write mode which seems to cause a crash dump like this so verify that the SD card does not have write protect enabled and that the write protect in your hardware platform is assigned to MIO46.

    Also, verify that the clock frequency provided to the SDIO controller in your hardware platform matches the "clock-frequency" parameter specified in your devicetree file for the SDIO declaration.  For example, on my system 50MHz clock is provided to the SDIO controller so I have this entry in my devicetree:

    ps7-sdio@e0100000 {
    clock-frequency = <0x2faf080>;
    ... some other stuff ...
    xlnx,has-cd = <0x1>;
    xlnx,has-power = <0x0>;
    xlnx,has-wp = <0x1>;
    xlnx,sdio-clk-freq-hz = <0x2faf080>;
    };

    Regards,

    -Kevin

    • 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