Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works on real hardware again! #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 16, 2019

  1. Works on real hardware again!

    This commit adds various changes to ClashOS to get the stack traces
    and bootloader to work again in qemu and on real hardware.
    
    The linker scripts are changed to allow the binary to be linked at the
    address 0x80000. This is the default address at which the raspberry pi
    will load kernel8.img when no 'config.txt' file is present on the sd card.
    
    To allow stack traces to work, the link register had to be zero'ed, because
    it contains random stuff on start up on real hardware. It work on qemu,
    because it sets the link register to zero.
    
    The code for the framebuffer is currently comment out, because for some reason
    the loading over serial fails to work when that code is compiled. But
    loading over serial now works!
    FireFox317 committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    31b15c6 View commit details
    Browse the repository at this point in the history