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 which embedded linux development environment
  • 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 1 reply
  • Subscribers 175 subscribers
  • Views 100 views
  • Users 0 members are here
Related

which embedded linux development environment

100padudle
100padudle over 9 years ago

Hello,

I am writing some application software for a MicroZed SOM module.  I need to provide a command line and web interface for controlling some hardware so I am planning to use some flavor of linux on the Arm processors of the Zynq.

There are quite a few ways to boot and run linux on the Zynq. I am looking for the approach that is most convenient with respect to development and deployment.

At this point I have read every website I can find on the subject. These howto's and tutorials generally take three different approaches.

1. u-boot -> linux kernel + ramdisk root filesystem
2. u-boot -> linux kernel + sd card Ubuntu root filesystem
3. Petalinux semi-proprietary flow.

Approach 1 boots fast and is very stable but is not convenient for development.  It looks like every development cycle requires you to cross-compile, compress the ramdisk image, write the ramdisk image to the sd card and reboot the MicroZed.

Approach 2 seems like a lot of overhead to carry forward to deployment. On the other hand it should be possible to ssh into the MicroZed and edit-compile-run very quickly. Code changes would be persistent due to the SD card filesystem.

Approach 3 I have not tried.

What do people here use for linux application development on Zed?  Is there an intermediate way to run linux that provides ssh, vim, gcc but mounts an sd card or NFS persistent filesystem?

What do people here prefer as a development environment for relatively simple applications?

  Pete

  • Sign in to reply
  • Cancel
  • 100padudle
    0 100padudle over 9 years ago

    I have made a little progress booting ubuntu on the microzed.

    I am using this root filesystem.
    http://releases.linaro.org/12.09/ubuntu/precise-images/ubuntu-desktop/linaro-precise-ubuntu-desktop-20120923-436.tar.gz

    I had to change the configuration settings on the linux kernel to turn off CPU_FREQ. That fork can be found here.
    https://github.com/hdlguy/linux-xlnx.git

    Since several of us will be developing on the same network we had to change the hostname on our individual microzeds and then modify the MAC address in the u-boot parameter space.

    Now all is good. We can run apt-get to get applications. We can collaborate accross the network using git and svn.

    The only negative of this approach is the size of the filesystem. Copying that filesystem to a slow SD card is tedious.  Also, differences in the file system will occur between development boards.

      Pete

    • 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