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
  • 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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum Beaglebone Black (rev. C) booting from Ethernet (RJ45)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 105 subscribers
  • Views 3335 views
  • Users 0 members are here
Related

Beaglebone Black (rev. C) booting from Ethernet (RJ45)

elem2018
elem2018 over 6 years ago

Hello,

 

I have a BBB rev. C, trying to boot it from ethernet (RJ45) in the sequence of MLO ---> u-boot.img  ---> zImage.bin.  MLO, u-boot.img and zImage.bin are located in the same folder /tftpboot

Following configurations are done in /etc/dhcp/dhcpd.conf

------------------------------------------------------

subnet 192.168.0.0 netmask 255.255.255.0 {

  range 192.168.0.2 192.168.0.100;

  if substring (option vendor-class-identifier, 0, 10) = "AM335x ROM"

  {

    filename "MLO";

  }

  elsif substring (option vendor-class-identifier, 0, 10) = "DM814x ROM"

  {

    filename "MLO";

  }

  elsif substring (option vendor-class-identifier, 0, 17) = "AM335x U-Boot SPL"

  {

    filename "u-boot.img";

  }

  else

  {

    filename "zImage.bin";

  }

}

------------------------------------------------------

I confirm that either tftp and dhcp server works fine, because I tested them in u-boot from a bootable SD card.

Then I removed the SD card, cleaned emmc (writing zeros into emmc) and reset BBB.  I expected that the rom loader in BBB

will read the configration from the dhcpd.conf via ethernet and boot first MLO, then u-boot.img and finally the zImage.bin.

 

But what I see are only CCCCCCC...

Am I missing something in configuration? Would you please help me to make the BBB bootable (MLO, u-boot.img and zImag.bin) from Ethernet?

 

Thanks

Xi

  • Sign in to reply
  • Cancel

Top Replies

  • gdstew
    gdstew over 6 years ago +1
    According to TI documentation: General Boot Sequence (Linux system) Boot sequence (in order) Boot ROM X-loader U-boot Linux At power-up an OMAP3 device begins booting from internal Boot ROM. This code…
Parents
  • elem2018
    elem2018 over 6 years ago

    Thanks for your answer. After lots of google I believe you are right, on BBB direct ethernet boot from RJ45 is impossible. But could you please give me some hints how to write the SD card image (at least MLO and u-boot) into emmc? I unfrotunately wrote zeros into emmc. I tried to hold the S2 swtich during SD boot for 10 seconds, but no emmc flashing happened.  What is the right way to falsh the emmc?

    Regards

    Xi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • elem2018
    elem2018 over 6 years ago

    Thanks for your answer. After lots of google I believe you are right, on BBB direct ethernet boot from RJ45 is impossible. But could you please give me some hints how to write the SD card image (at least MLO and u-boot) into emmc? I unfrotunately wrote zeros into emmc. I tried to hold the S2 swtich during SD boot for 10 seconds, but no emmc flashing happened.  What is the right way to falsh the emmc?

    Regards

    Xi

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • jomoenginer
    jomoenginer over 6 years ago in reply to elem2018

    If you have already downloaded and burnt the last BB image to an SD card,

     

    1. Take the SD card and place it back into the system used to burn the image

     

    2. Navigate to '/boot' the  folder and edit the uEnv.txt file and uncomment (remove the '#' symbol) for the following line:

     

    #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v2.sh

     

    3. Place the SD card back into the BBB and power it on.  The emmc should start flashing at this point; no need to push the boot button.

     

    4. Once the flash is complete, power off the BBB again, remove the SD card.

     

    5. Place it back into another system and comment out the line mentioned previously again.

     

    6. Place the card back into the BBB, and power it on.  

     

    If all went well, the board should boot normally  and emmc should be updated.

     

    Hopefully I did not miss anything

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