element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Linaro
  • 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 11 replies
  • Subscribers 363 subscribers
  • Views 1314 views
  • Users 0 members are here
Related

Linaro

e14 Contributor
e14 Contributor over 14 years ago

I have been introduced to Linaro recently http://www.linaro.org/ .  I enjoy the consistency of a toolchain and community there.  While I am aware there will be the same for the Zedboard, does anyone have any ideas of incorporating the Linaro tools over as well?

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    0 e14 Contributor over 13 years ago

    I'm also trying to make it work, at the moment the things i've done are:
    - add a second partition (ext2) to the CF
    - uncompress the linaro fs image in the CF
    - start the original linux from the CF
    - mount the linaro fs to /mnt:
      mount /dev/mmcblk0p2 /mnt
    - mount the /proc:
      mount none /mnt/proc -t proc
    - chroot to the linaro fs:
      chroot /mnt
    at this point most of the linaro applications works
    if you execute them, for example:
      ifconfig eth0 down
      dhclient eth0 &
      ifconfig eth0 up

    but i'm sure this is NOT the way to do it!
    there must be a way to call the (linaro) init process
    after chroot but i can't still see how.

    Can enyone enlighten us?

    Bye, C.


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    claudio.lorini,

    Take a look at this post:

    http://zynqgeek.blogspot.com/2012/09/modify-your-boot-image-on-your-zedboard.html

    It goes through modifying your SD-Card image.  I believe that is what you would like to do here, modify the RAM Disk image to mount the second partition, rather than mount the /proc and other partitions in RAM.

    Hope that helps!  Let me know if you get it working, and if not I'll do a write-up on it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    Thank you ZG,
    i was trying to avoid using the ramdisk and use a regular FS in CF in order to make the modification to the system permanent.
    I suceeded when i realized thet the u-boot wasn't correctly passing the kernel parameters... anyway the ext4 fs on cf doesn't seem to be very robust, during usage you get a lot of IO errors and the FS gets corrupted, so the ramdisk isn't a bad idea after all!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    I am getting tons of IO errors on my Zed SD card as well, but they appeared before and ext fs touched the card. 

    Is there some reason to expect that ext4 on SD is not robust or is the SD card just bad (both of ours??)?

    I'd also like to get away from the ramdisk scenario, but have run into this.  I am a bit of a linux noob, so it's not entirely clear how to get there from here, but these IO errors just seem wrong. :)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    In my opinion the IO errors are probably hw related, i've tried different brands of CF and there are differences in the quantity of errors you get. With the best one i managed to run a couple of hours without errors, but you have to wait long enough and there you are.
    Next thing i'd like to try is to mount the FS on a USB stick and see what happens... I'll let you know...
    C.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    Since I've been running a full desktop on the machine (see my separate post about Xillinux), with reads and writes on the SD card like crazy, I doubt the board is to blame. If anything, the SD interface has proven surprisingly reliable, with clean recoveries from dropping power with an ext4 partition mounted for RW.

    Maybe you have an unreliable flash device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    Since I've been running a full desktop on the machine (see my separate post about Xillinux), with reads and writes on the SD card like crazy, I doubt the board is to blame. If anything, the SD interface has proven surprisingly reliable, with clean recoveries from dropping power with an ext4 partition mounted for RW.

    Maybe you have an unreliable flash device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    and things seems fine for the moment.

    After some google searching I see that this issue with SD card IO errors is fairly common, so hopefully the problem is there and I have a good one!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 13 years ago in reply to e14 Contributor

    In  http://www.xilinx.com/support/answers/47916.htm shows a number of issues related to SDIO. Could be that some part of SD related code must be fixed? FOr example this issue "SD Capability Register Shows Wrong Max_Block_Length Value"?

    • 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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube