Skip to content

Commit 7bb5776

Browse files
committed
README: Whence cometh DTBs
1 parent 2557208 commit 7bb5776

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ To build (tested with Zig 0.9.0):
99
$ zig build
1010

1111
To run it in QEMU, you will need a compiled device tree (dtb) for the Raspberry
12-
Pi 3B+. Then, run it, supplying the device tree:
12+
Pi 3B+. One can be obtained from the Linux kernel source by running `make
13+
ARCH=arm dtbs` and having a look in `arch/arm/boot/dts`.
1314

14-
$ qemu-system-aarch64 -M raspi3b -kernel zig-out/bin/kernel8.img -dtb bcm2710-rpi-3-b.dtb
15+
Then, run it, supplying the device tree:
16+
17+
$ qemu-system-aarch64 -M raspi3b -kernel zig-out/bin/kernel8.img -dtb bcm2837-rpi-3-b-plus.dtb

0 commit comments

Comments
 (0)