Code Monkey home page Code Monkey logo

piloader's People

Contributors

velko avatar

Stargazers

 avatar

Watchers

 avatar  avatar

piloader's Issues

UART data out of sync

Sometimes data sent via UART goes out of sync with what protocol expects.

If for some reason a single byte is not sent, bootloader will wait for one more, to complete command. It will take the byte from next packet. As a result, every subsequent command will not be recognized and bootloader will become useless. And, since it thinks it is in good state, the Watchdog is disabled as well. Then RasPi will not restart either.

Some method is needed to resynchronize the FIFO and software.

Refuse to overwriting itself

Currently there are no any checks if bootloader is not writing over itself.

To provide more stability, it could check target addresses before writing to them. And refuse if it overlaps with addresses containing bootloader itself.

Client too verbose

Client is "too chatty" while loading kernel. This should be enabled using command-line switch.

Option to disable watchdog

While watchdog is very useful for untested code, there may be need to load some "tested" code which has to run longer than few seconds.

VMA and LMA addresses

Kernel is loaded using VMA addresses from ELF file. Should use LMA instead.

These are equal most of the time, but might be not if starting to play with paging or something.

Currently there are ugly workaround masking out part of VMA address.

Wrong startup address

EXEC command always start executing at address 0x00000000 instead of one specified in command packet's address field.

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.