element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Can't boot linaro kernel
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 176 subscribers
  • Views 225 views
  • Users 0 members are here
Related

Can't boot linaro kernel

joswa
joswa over 10 years ago

I've tried to follow the tutorial, "Ubuntu_on_Zedboard_Tutroial_v14.4_01.pdf" to build ubuntu on zedboard with adv7511. However, after running the u-boot and load the kernel, the following error got and the kernel hangs,



** Unable to read "ramdisk8M.image.gz" from mmc 0:1 **
## Starting application at 0x00008000 ...
Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x0fb71dd0).

Available machine support:

ID (hex)        NAME
00000d32        Xilinx Zynq Platform

Please check your kernel config and/or bootloader



I've exactly followed the tutorial. All the u-boot.bin, zImage and devicetree.dtb are successfully built.



Any suggestion what's wrong?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Enable macro CONFIG_MACH_TYPE in uboot code.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • joswa
    0 joswa over 10 years ago

    I can't find it is defined anywhere or any MACH_TYPE for zedboard. Where should I enable this macro?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Joswa, you should add the macro define in zynq_zed.h in uboot code. #define CONFIG_MACH_TYPE 0xd32
    If you define the macro, the value will be translate to bi_arch_number in board.c, and at last translate to kernel in function kernel_entry(0, machid, r2) in bootm.c

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    It's my post
    you may have seen it

    http://zedboard.org/content/solved-unrecognizedunsupported-machine-idubuntu-desktop-linux-reference-designs

    works for me
    and hope works for you too

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Hi,

    I'm tryng to use Linaro with kernel linux-3.6-digilent
    and I cannot boot correctly from SDRAM
    -
    when I compile the kernel with option:
    make ARCH=arm xilinx_zynq_defconfig
    -
    and CONFIG_XILINX_FIXED_DEVTREE_ADDR=y
    then booting the uImage with the on-ram fs hangs after writing:
    Calibrating delay loop...
    -
    but if I boot the zImage and the linaro fs on 2nd partition it boots and when the boot ends
    it starts an endless printout of:
    watchdog watchdog0: watchdog did not stop!

    if CONFIG_XILINX_FIXED_DEVTREE_ADDR is not set
    then booting the uImage with the on-ram fs is OK
    -
    but if I boot the zImage and the linaro fs on 2nd partition
    it generates the unrecognized/unsupported machine ID (r1=0x1fb6c62c)
    and says that the ID should be 00000d32
    -
    (I did configure the #define CONFIG_MACH_TYPE 0xd32 in u-boot,
    but this doesn't work)
    -
    when I compile the kernel with option:
    make ARCH=arm digilent_zed_defconfig
    -
    if CONFIG_XILINX_FIXED_DEVTREE_ADDR=y
    then booting the uImage with the on-ram fs hangs after writing:
    Uncompressing Linux... done, booting the kernel.
    -
    booting the zImage and the linaro fs on 2nd partition
    it starts an endless printout of:
    [  ss.cc0000]watchdog watchdog0: watchdog did not stop!
    if CONFIG_XILINX_FIXED_DEVTREE_ADDR is not set
    then booting the uImage with the on-ram fs is OK
    -
    if I boot the zImage and the linaro fs on 2nd partition it hangs after writing:
    Uncompressing Linux... done, booting the kernel.
    -
    in conclusion Linaro (or a FS from the 2nd partition) is usable only with the zImage from linux-3.3
    -
    how to fix the watchdog problem?
    it is very complicated to use the FS on ram and loosing everything at each turn-off
    I even tried to use linux-digilent-dev-3.8, with the same results;
    anyway within that Makefile there is the old 3.6.0 indication

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    I believe you are using an older u-boot which launches the kernel via "go 0x8000" with a devicetree at 0x100000; but your newer kernel is expecting to be started with "bootm <kernel> <ramdisk> <devicetree>" and looking for these addresses in registers.

    Perhaps my blog post can help.
    http://fpgacpu.wordpress.com/2013/05/24/yet-another-guide-to-running-linaro-ubuntu-desktop-on-xilinx-zynq-on-the-zedboard/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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 © 2023 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