Documentation: Add note about testing UART on the Raspberry Pi 4B

This commit is contained in:
Caoimhe 2023-05-26 13:55:24 +01:00 committed by Andrew Kaster
parent 0afdde0eef
commit b0eff23a46
Notes: sideshowbarker 2024-07-17 06:45:52 +09:00

View file

@ -48,6 +48,13 @@ This step is needed because the original firmware files need to be present on th
Please follow one of the existing guides (for example [here](https://scribles.net/setting-up-serial-communication-between-raspberry-pi-and-pc)) and make sure UART is working on Raspberry Pi OS before proceeding.
If you're using a Raspberry Pi 4B and want to test if the UART is working correctly, you need to do a few extra steps.
UART0 (the one that SerenityOS uses) is used for bluetooth on these models, so for the OS to use it instead, ensure that you disable Bluetooth inside the `config.txt`:
```
dtoverlay=disable-bt
```
### Step 2: Mount SD Card
If you use a Raspberry Pi 4, and your serenity kernel is called `kernel8.img`
@ -70,7 +77,7 @@ enable_uart=1
### Step 3: Copy Serenity kernel to SD Card
`kernel8.img` can be found in `Build/aarch64/Kernel/Prekernel/`. Copy it to the main directory on the `Boot/` partition, next to `config.txt`. You can either replace the original file or use another name (see above).
`kernel8.img` can be found in `Build/aarch64/Kernel/`. Copy it to the main directory on the `Boot/` partition, next to `config.txt`. You can either replace the original file or use another name (see above).
### Step 4: Put the SD Card in the Raspberry Pi and power on