Anonymous user
Booting Raspberry Pi 3: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
Line 26:
https://github.com/raspberrypi/firmware/blob/master/boot/bootcode.bin
There is also another file required to boot properly. A config.txt file must be supplied to provide configuration details for the device and the OS. Here are the only
<pre>
arm_64=1
enable_uart=1
</pre>
Line 35 ⟶ 36:
https://raspberrypi.stackexchange.com/a/10595
https://www.raspberrypi.org/documentation/configuration/config-txt/
Line 43 ⟶ 45:
By now you should have your cross compiler set up. The compiler binaries have the same name as they usually would with "aarch64-elf-" prefixing them (e.x. aarch64-elf-gcc). For this example, three files are used:
*linker.ld - Linker script▼
*start.S - Setup the environment and call the kernel
*kernel.c - Kernel entry and use
*uart.c - UART driver
▲*linker.ld - Linker script
|