課程名稱: 2024 交大資工所 葉宗泰 作業系統總整與實作
https://cs140e.sergio.bz/docs/BCM2837-ARM-Peripherals.pdf https://developer.arm.com/documentation/ddi0487/aa/?lang=en https://github.com/Tekki/raspberrypi-documentation/blob/master/hardware/raspberrypi/bcm2836/QA7_rev3.4.pdf
64-bit ARM machine code install cross compiler
In cross-platform development, it’s easier to validate your code on an emulator first. You can use QEMU to test your code first before validating them on a real rpi3.
To prepare a bootable image for rpi3, you have to prepare at least the following stuff.
-
Firmware for GPU.
-
Kernel image.(kernel8.img)
-
kernel8.img , and put it into your boot partition. It’s identical to the one in the provided bootable image.
-
Plug in the UART to USB converter to your host machine, and open it through a serial console such as screen or putty with the correct baud rate.
-
Connect TX, RX, GND to the corresponding pins on rpi3, and turn on your rpi3.