rust-raspberrypi-OS-tutorials
rust-raspberrypi-OS-tutorials copied to clipboard
Add initial Rpi4 support
Description
- I built a patched version of QEMU with RPi4 support (see https://github.com/U007D/qemu-raspi4)
- Updated the Docker image to use this build (see https://hub.docker.com/repository/docker/u007d/osdev-utils-rpi4/general)
- Updated references in this repo to use updated Docker image (feel free to clone/update your Docker image and switch the references back to your image).
Pre-commit steps
- [x] Tested on QEMU and real HW Rasperry Pi.
- rpi4 did not pass
03_hacky_hello_worldon QEMU. This may or may not be expected given the state of the QEMU patch, or given the differences inrpi3andrpi4, but I thought I would share the work in case this was an issue you were familiar with.
- rpi4 did not pass
- [ ] Ran
./contributor_setup.shfollowed by./devtool ready_for_publish- You'll need
RubywithBundlerandNPMinstalled locally. - If no Rust-related files were changed,
./devtool ready_for_publish_no_rustcan be used instead (faster). - This step is optional, but much appreciated if done.
- You'll need
@U007D you need to change address 0x3F20_1000 to 0xFE20_1000 for 03_hacky_hello_world example