Giter Club home page Giter Club logo

Comments (5)

jeanparpaillon avatar jeanparpaillon commented on August 24, 2024 1

@fhunleth that sounds perfect. I will try not to upgrade uBoot in my BSP and will close this accordingly

from nerves_system_bbb.

fhunleth avatar fhunleth commented on August 24, 2024

Here's what I know about the combo eMMC/MicroSD boot issue:

  1. There wasn't a way to tell which device U-Boot was loaded off of. The choice was to hardcode the MMC number in the U-Boot boot script.
  2. U-Boot is really hard to change when you have devices in the field, so I've avoided changing it.

All of my custom BBB-clone hardware has the eMMC connected to the same MMC interface as the BBB's MicroSD card. This made it super easy for me to switch back and forth. This is not a viable long term solution any more since there's an issue with that particular MMC interface that restricts it to < 4GB eMMC parts (the normal eMMC MMC interface doesn't have this problem). I exclusively use 2 GB eMMC parts so this isn't an issue for me right now, but it may be in the future as the parts are getting harder to buy. Here's an example project.

I do not know whether the latest version of U-Boot has the ability to detect where it came from. If it does, then that would be interesting. One alternative would be change the boot script to check both MMC interfaces and boot off whichever one shows up.

I have been thinking about making backwards incompatible updates to the Nerves BBB and Raspberry Pi systems. It's a thankless task so I've been putting it off. If I were to update, I'd definitely update U-Boot to the latest. There are other changes that I'd want to make as well, though.

Before I start down any path, could I ask why you're interested in updating U-Boot? Is there a particular feature that you need?

from nerves_system_bbb.

jeanparpaillon avatar jeanparpaillon commented on August 24, 2024

Thanks for those infos.
Yep, first, I have rebased my whole BSP onto nerves_system_bbb 2.15.1 and wanted to limit divergence between 'upstream' and our custom BSP. Hence using u-boot 2021.10.
I think I may try to backport u-boot 2018.x as I had working set of patches for it.

I suppose some adaptation on fwup.conf may be required too. I will also try to get more informations from Beaglebone's project people. (https://github.com/RobertCNelson ?)

from nerves_system_bbb.

fhunleth avatar fhunleth commented on August 24, 2024

fwup.conf won't need to be changed for a U-Boot version update. U-Boot supports multiple disk layouts for booting AM335x. To my knowledge, they didn't remove any in the latest versions.

Fwiw, the AM3358 is super old and Nerves hardly uses U-Boot. I'm not sure upgrading for the sake of upgrading is worth it unless there's a feature you want.

from nerves_system_bbb.

CaptChrisD avatar CaptChrisD commented on August 24, 2024

Reviving this issue. Where does this stand? I am actively trying to get my BBB to boot from eMMC and not making any progress. Then found this issue and wanted to know if this is still a blocker. If so what do we see as a path forward?

Thanks in advance for any insights!

from nerves_system_bbb.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.