aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-18 18:02:36 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2020-01-18 18:02:36 +0100
commit9cab64439edfc86417377ad13a2ef71468d9b92f (patch)
tree340791cd2aeae0b4fe4fedd12fe809a7bce469da
parent4469be12b1d574fa73f279294eade453b4d87ac6 (diff)
downloadrpi-MMU-example-9cab64439edfc86417377ad13a2ef71468d9b92f.tar.gz
rpi-MMU-example-9cab64439edfc86417377ad13a2ef71468d9b92f.zip
mention that timer doesn't work in qemu
-rw-r--r--Building-and-running-explained.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Building-and-running-explained.txt b/Building-and-running-explained.txt
index 3493d2d..b405d1c 100644
--- a/Building-and-running-explained.txt
+++ b/Building-and-running-explained.txt
@@ -30,6 +30,8 @@ If you want to pass loader image to qemu and pipe kernel to it through emulated
$ make qemu-loader
Note, that with qemu-loader the kernel will run, but will be unable to receive any keyboard input.
+The timer used by this project is the ARM timer ("based on an ARM AP804", with registers mapped at 0x7E00B000 in the GPU address space). It's absent in emulated environment, so no timer interrupts can we witnessed in qemu.
+
Running on real hardware.
First, build and test rpi-open-firmware. Now, copy either kernel.img or loader.img to the SD card (next to bootcode.bin) and rename it to zImage. Also copy .dtb file corresponding to your Pi (actually, any .dtb will do, because it is not used right now) from stock firmware files to the SD card and name it rpi.dtb. Finally, create a cmdline.txt on the SD card (content doesn't matter).
Now, connect RaspberryPi via UART to Your machine. GPIO on the Pi works with 3.3V, so You should make sure, that UART device on the other end is also working wih 3.3V. This is the pinout of the RaspberyPi 3 model B that has been used for testing so far: