rust-raspberrypi-OS-tutorials icon indicating copy to clipboard operation
rust-raspberrypi-OS-tutorials copied to clipboard

:books: Learn to write an embedded OS in Rust :crab:

Results 23 rust-raspberrypi-OS-tutorials issues
Sort by recently updated
recently updated
newest added

PL011 documentation on ICR states: > On a write of 1, the corresponding interrupt is cleared. A write of 0 has no effect. The code in [pl011 uart](https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/blob/49a25275e66ab0dcacfcbbbb666311df7a9650c9/13_exceptions_part2_peripheral_IRQs/kernel/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs#L287) states: ```...

``` Compiling kernel ELF - rpi3 Compiling atmos v0.2.0 (/mnt/c/Users/noahp/OneDrive/Desktop/osdev/rust-raspberrypi-OS-tutorials/atmos) error: linking with `rust-lld` failed: exit status: 1 | = note: "rust-lld" "-flavor" "gnu" "/tmp/rustcqhmSRS/symbols.o" "/mnt/c/Users/noahp/OneDrive/Desktop/osdev/rust-raspberrypi-OS-tutorials/atmos/target/aarch64-unknown-none-softfloat/release/deps/kernel-2087bfae60d86e28.kernel.660737e9-cgu.1.rcgu.o" "--as-needed" "-L" "/mnt/c/Users/noahp/OneDrive/Desktop/osdev/rust-raspberrypi-OS-tutorials/atmos/target/aarch64-unknown-none-softfloat/release/deps" "-L"...

Problem: Unable to use bundle to install Ruby gem [ruby-serialport](https://github.com/hparra/ruby-serialport) System info: Apple M1 with macOS Sonoma ruby-serialport issue: [posix_serialport_impl.c: error: incompatible pointer to integer](posix_serialport_impl.c: error: incompatible pointer to integer)...

in `Makefile` change `QEMU_MACHINE_TYPE = raspi4b` then ```bash make test BSP=rpi4 ``` error: ```text Boot test - rpi4 docker run -t --rm -v /Users/admin/Workspace/rust/github.com/rust-raspberrypi-OS-tutorials/04_safe_globals:/work/tutorial -w /work/tutorial -v /Users/admin/Workspace/rust/github.com/rust-raspberrypi-OS-tutorials/04_safe_globals/../common:/work/common rustembedded/osdev-utils:2021.12 ruby...

I'm motivated to post this to help with the "on-boarding". Instructions say to run: ``` $ cargo install cargo-binutils rustfilt ``` Not sure exactly why, but this failed for me...

I followed the 05 steps: https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/blame/644474cc09f755249f9c55d99a5d1e07a2562fc7/05_drivers_gpio_uart/README.md#L83 But I formatted it as GPT. It did not work (Rpi 3b). After repeating the steps but formatted as MBR, it worked.

I can access `/dev/ttyACM0` without `sudo` because I am in the `dialout` group. I can run `make qemu` and it runs Docker rootless. However, if I do `make qemu`, the...

### Description I got this error: ``` error: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable --> src/main.rs:109:12 | 109 | #![feature(asm_const)]...

Rust versions tested: ``` cargo 1.84.0-nightly (8c30ce536 2024-10-15) cargo 1.82.0 (8f40fc59f 2024-08-21) ``` I get the error with both of the versions. Output: ``` make qemu Compiling kernel ELF -...

I have tried `make miniterm` in 05 and `make chainboot` in 06 and neither detects the USB serial device. I have two different USB serial devices and an RPi3 and...