RPi bare bones: What's RPi-specific and what's not?
Posted: Sat Mar 12, 2016 9:08 am
Greetings, everyone.
I'm tinkering with Rust as a kernel development language for Raspberry Pi. I want my project to be organized in a way where target-specific components all live in their specific directories (just like in, for example, Linux). Concretely, architecture-dependent code is in src/arches/$(ARCH) and board-specific is in src/arches/$(ARCH)/plat/$(PLAT) (e.g. src/arches/arm/plat/bcm283x is for Raspberry Pi).
Currently I'm porting the bare bones tutorial, but I'm not sure what is specific to Raspberry Pi and what's not. As I understand, the peripherals offset (0x20200000) is specific to the SoC. But is the GPIO offset (peripherals + 0x200000) specific to the SoC? What about other offsets and the uart_* functions?
I'm tinkering with Rust as a kernel development language for Raspberry Pi. I want my project to be organized in a way where target-specific components all live in their specific directories (just like in, for example, Linux). Concretely, architecture-dependent code is in src/arches/$(ARCH) and board-specific is in src/arches/$(ARCH)/plat/$(PLAT) (e.g. src/arches/arm/plat/bcm283x is for Raspberry Pi).
Currently I'm porting the bare bones tutorial, but I'm not sure what is specific to Raspberry Pi and what's not. As I understand, the peripherals offset (0x20200000) is specific to the SoC. But is the GPIO offset (peripherals + 0x200000) specific to the SoC? What about other offsets and the uart_* functions?