@ -12,12 +12,25 @@ console and use a real UART now. Like real though embedded people do!
- Introducing the `GPIO` driver, which pinmuxes the RPi's Mini UART.
- Most importantly, the `MiniUart` driver: It implements the `Console`
traits and is from now on used as the system console output.
- **Be sure to check it out by booting this kernel from the SD card and
watching the output!**
- `BSP`s now contain a`memory_map.rs`. In the specific case, they contain the
RPi's MMIO addresses which are used to instantiate compatible device drivers
from `bsp/driver`.
## Boot it from SD card
1. Make a single `FAT32` partition named `boot`.
2. Copy [bootcode.bin](https://github.com/raspberrypi/firmware/raw/master/boot/bootcode.bin), [fixup.dat](https://github.com/raspberrypi/firmware/raw/master/boot/fixup.dat) and [start.elf](https://github.com/raspberrypi/firmware/raw/master/boot/start.elf) from the [Raspberry Pi firmware repo](https://github.com/raspberrypi/firmware/tree/master/boot) onto the SD card.
3. Copy our [kernel8.img](kernel8.img) onto the SD card.
4. Insert the SD card into the RPi and connect the USB serial to your host PC.
- Wiring diagram at [top-level README](../README.md#usb-serial)
5. Run `screen` (might need to install it first):
```console
sudo screen /dev/ttyUSB0 115200
```
6. Exit screen again by pressing <kbd>ctrl-a</kbd><kbd>ctrl-d</kbd> or disconnecting the USB serial.