Giter Club home page Giter Club logo

Comments (8)

tmagik avatar tmagik commented on August 24, 2024 2

https://github.com/sifive/freedom-u540-c000-bootloader/tree/challenge/u540-c000-release

from freedom-u540-c000-bootloader.

tmagik avatar tmagik commented on August 24, 2024 1

from freedom-u540-c000-bootloader.

tmagik avatar tmagik commented on August 24, 2024

The binary slipped through the cracks (or maybe my .gitignore) on that one.

The file to be posted is:

shasum -a 256 bootrom.bin 
f9353bab5e826e937783c9ace7411375af9733c454d3d5f9f365509f2f7a4cdb  bootrom.bin

from freedom-u540-c000-bootloader.

zhuowei avatar zhuowei commented on August 24, 2024

@tmagik Would it be possible to post the original file in addition to the hash?

from freedom-u540-c000-bootloader.

tmagik avatar tmagik commented on August 24, 2024

So one conjecture I have heard floating around is that on the HiFive1, you cannot reliably read the MASK rom if you turn up the clock speed, and if this is the case on the HiFiveU as well, this would explain why I spent half a day trying to confirm (with no success) that what I'm posting is a byte-for-byte copy of what is in the ROM.

Extra bonus points (in my opinion, anyway), if you can propose, or better yet, show some code, for some reasonable method for the bootloader to attest to the code it actually ran such that we could verify it in Linux or the device tree.

from freedom-u540-c000-bootloader.

zhuowei avatar zhuowei commented on August 24, 2024

@tmagik

you cannot reliably read the MASK rom if you turn up the clock speed ... I spent half a day trying to confirm ... that what I'm posting is a byte-for-byte copy of what is in the ROM.

I noticed that the fsbl code is responsible for increasing the clock speed of the main CPU; can one dump the bootrom from the fsbl before the clocks are increased?

from freedom-u540-c000-bootloader.

tmagik avatar tmagik commented on August 24, 2024

from freedom-u540-c000-bootloader.

zhuowei avatar zhuowei commented on August 24, 2024

@tmagik Something like https://github.com/zhuowei/freedom-u540-c000-bootloader/tree/dumprom ? I don't have a u540, so I'm not sure if I'm doing this right.

from freedom-u540-c000-bootloader.

Related Issues (13)

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.