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 Starting a application with u-boot on Microzed
  • 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 Verified Answer
  • Replies 8 replies
  • Subscribers 330 subscribers
  • Views 1141 views
  • Users 0 members are here
Related

Starting a application with u-boot on Microzed

Former Member
Former Member over 9 years ago

Hi,
I'm trying to start a RTEMS application on the Microzed Board with u-boot. The .bin file is located on the SD card. I try it the following way:
  1. fatload mmc 0 0x100000 ticker.bin
  2. go 100000
Than it freezes with:
## Starting application at 0x00100000 ...

When I try to bootm the image of ticker.bin with:
  1. fatload mmc 0 100000 ticker.img
  2. bootm 100000
it freezes with:
## Booting kernel from Legacy Image at 00100000 ...                                          
   Image Name:   RTEMS Application                                                           
   Image Type:   ARM RTEMS Kernel Image (uncompressed)                                       
   Data Size:    1039080 Bytes = 1014.7 KiB                                                  
   Load Address: 30000100                                                                    
   Entry Point:  30000100                                                                    
   Verifying Checksum ... OK                                                                 
   Loading Kernel Image ... OK                                                               
OK                                                                                           
## Transferring control to RTEMS (at address 30000100) ...

I use the U-Boot 2013.01-dirty version of u-boot. RTEMS is a bare metal application

Regards

  • Sign in to reply
  • Cancel
Parents
  • arturete
    0 arturete over 8 years ago

    Hi, I'm trying to launch the hello RTEMS sample application in a Zedboard but I achieved nothing. I will thank you so much if you can give me some advices or recomendations or whatever you can/know.
     

    The steps that I followed  are these:

    1.-First I compiled the RTEMS Souurce Builder for arm and I exported the path with the executables

    2.-I compiled the RTEMS sources for the zedboard with these commands:

        2.1.- ../rtems/configure --target=arm-rtems4.12  --enable-tests=samples --enable-rtemsbsp=xilinx_zynq_zedboard --enable-networking --enable-posix --prefix=${HOME}/rtems-4.12-zed_net_posix

       2.2 make and make install

    3.- I created a vivado project with the PS to generate the FSBL throug the hsi

    4.-I copied the hello.exe and rename it to kernel.img with the
    arm-rtems4.12-objcopy -Obinary hello.exe kernel.img

    5.- I created the boot.bin with bootgen from a .bif with this content:

    image : {
            [bootloader]fsbl.elf
            bitstream.bit
            kernel.img        
    }

    6.- I put the boot.bin, bitstream.bit and kernel.img files in the SD

    7.- I started the Zedboard and the only thing in does is to turn on the DONE led indicating the FPGA has been configured, but it doesn't appear any message in the terminal I am using.

    I don't know which format I have to give to the SD and I don't know what I am doing wrong

    Thanks in advance

    P.D.: sorry for my basic/bad english

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

    Hi, I'm trying to launch the hello RTEMS sample application in a Zedboard but I achieved nothing. I will thank you so much if you can give me some advices or recomendations or whatever you can/know.
     

    The steps that I followed  are these:

    1.-First I compiled the RTEMS Souurce Builder for arm and I exported the path with the executables

    2.-I compiled the RTEMS sources for the zedboard with these commands:

        2.1.- ../rtems/configure --target=arm-rtems4.12  --enable-tests=samples --enable-rtemsbsp=xilinx_zynq_zedboard --enable-networking --enable-posix --prefix=${HOME}/rtems-4.12-zed_net_posix

       2.2 make and make install

    3.- I created a vivado project with the PS to generate the FSBL throug the hsi

    4.-I copied the hello.exe and rename it to kernel.img with the
    arm-rtems4.12-objcopy -Obinary hello.exe kernel.img

    5.- I created the boot.bin with bootgen from a .bif with this content:

    image : {
            [bootloader]fsbl.elf
            bitstream.bit
            kernel.img        
    }

    6.- I put the boot.bin, bitstream.bit and kernel.img files in the SD

    7.- I started the Zedboard and the only thing in does is to turn on the DONE led indicating the FPGA has been configured, but it doesn't appear any message in the terminal I am using.

    I don't know which format I have to give to the SD and I don't know what I am doing wrong

    Thanks in advance

    P.D.: sorry for my basic/bad english

    • 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