Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I forgot the RPi didn't use u-boot, but they use an equivalent.
https://github.com/isometimes/rpi4-osdev/tree/master/part2-b...
https://raspberrypi.stackexchange.com/questions/10489/how-do...
You don't handle the CPU from the reset vector like you would in a microcontroller or system firmware environment. There is an entire loader stack that finds a boot device to read a kernel image from that exists under you.
That's not to take away from this series at all, it's just the parent comment was asking about how it was so easy to get into a kernel image written in C on an SD card without any apparent SD card or FS logic.
Is this just an alternative UI for GitHub but without the files? Am I missing something obvious? I'm confused.
Actual github repo for anyone looking for the files: https://github.com/rust-embedded/rust-raspberrypi-OS-tutoria...
Is this just an alternative UI for GitHub but without the files? Am I missing something obvious? I'm confused.
Actual github repo for anyone looking for the files: https://github.com/rust-embedded/rust-raspberrypi-OS-tutoria...
On the Pi Zero and Pi CM (maybe also others) you don't even need an SD card to boot it. You can boot it via rpi-boot https://github.com/raspberrypi/usbboot
Yeah, the bootloader is responsible for the hardware stuff up to this point. It doesn't take that much more assembly code to bootstrap C in the Linux kernel on x86: https://github.com/torvalds/linux/blob/master/arch/x86/boot/...
There are a bunch of other headers in that file, but the "start_of_setup:" label is what's invoked by the bootloader, and "calll main" transitions to C. So 32 lines of code, by my count.
Yeah, C is really easy to interface with assembly language.
Doesn't necessarily have to involve assembly!
https://duckduckgo.com/?q=c+interpreter