Giter VIP home page Giter VIP logo

jh7110_uboot_spl's Introduction

*** DEPRECATED ***

This code was upstreamed into https://github.com/starfive-tech/Tools/, replacing proprietary one,
with more features added by StarFive developers, and now maintained there. This version will be archived.

DESCRIPTION

A replacement for VisionFive2 SDK spl_tool which happened to be proprietary.
Use only with VisionFive2 boards to make u-boot-spl.bin.normal.out image!

DISCLAIMER

Use at your own risk! I, Rys Andrey, don't bear any responsibility for
your broken hardware. Check the image carefully with your eyes before
flashing it to real device!

WHY

Cause I want it to run on RISC-V when building U-Boot there. I don't want
to resort to qemu-x86_64 to run a tool which does something very simple.

OFFICIAL DOCUMENTATION

UPD: Please see https://doc-en.rvspace.org/VisionFive2/Developer_Guide/JH7110_Boot_UG.pdf for complete guide on
how to make bootable images for various boot sources (QSPI, eMMC, SD). It also covers this source aswell now.

LICENSE

Public domain.

jh7110_uboot_spl's People

Contributors

strlcat avatar

Stargazers

 avatar Jonir Rings avatar Sunil Janki avatar

Watchers

 avatar

jh7110_uboot_spl's Issues

u-boot-spl.bin too big on GCC12

Hi, thanks for creating this tool.

When running it on a u-boot-spl.bin that was generated using default configuration (from the SDK) but on GCC12, the created file is slightly too big (no matter if -Os is added).

The proprietary tool also accepts the generated blob, but this tool bails out with the size limit warning. Also the size limit is somehow misleading, as at least the input file is smaller.

# added this debug output
size: 129760, max 129024
File too large! Please rebuild your SPL with -Os. Maximum allowed size is 130048 bytes.

I did not yet check the details - maybe it is due to a different aligning or a different linker script. Anyways, I'm wondering if the created artifact of the proprietary tool is actually valid. And if so, where this limit comes from.

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.