OG1906
Posts: 1
Joined: Thu May 21, 2020 4:56 pm

does the raspberry pi bootloader setup the atags for you ?

Thu May 21, 2020 5:00 pm

i am creating my own OS for the raspberry pi , i have done some research on the arm booting process and read that you need to setup the atags your own , like write functions and assign values etc , i have also read that the raspberry pi bootloader does that for you and passes the atags core address as a parameter to the kernel main function . is this true?

LdB
Posts: 1532
Joined: Wed Dec 07, 2016 2:29 pm

Re: does the raspberry pi bootloader setup the atags for you ?

Sun May 24, 2020 3:39 am

They are wherever R2 points or if R2 is zero at 0x100 assuming normal setup in config.txt
https://www.raspberrypi.org/documentati ... xt/boot.md

Return to “Bare metal, Assembly language”