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

Newer Pi Linux doesn't do ATAGS by default (cmdline example) #27

Open
relistan opened this issue Feb 4, 2018 · 0 comments
Open

Newer Pi Linux doesn't do ATAGS by default (cmdline example) #27

relistan opened this issue Feb 4, 2018 · 0 comments

Comments

@relistan
Copy link

relistan commented Feb 4, 2018

Loving this tutorial! Thanks so much.

If you try to run http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/screen03.html on newer Pi linux builds (replacing kernel.img obviously), it doesn't work. This is not because the code is wrong, it's because newer Linux distributions now use device_tree for kernel configuration which means the bootstrap code doesn't put the configuration at 0x100 formatted as ATAGS. You can fix this by writing this to the end of your config.txt:

# Disable device_tree so we can see the ATAGS
device_tree=

With that setting in place, this code happily runs on my Raspberry Pi Zero W with a Rasbian flash install from a couple of weeks ago, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant