3 ms·
Very nice! I've been considering attempting to port an OS that I've been writing to an ARM device like the Pi, but I've never really looked into it much. With t
by DSMan195276 9y ago
Very nice! I've been considering attempting to port an OS that I've been writing to an ARM device like the Pi, but I've never really looked into it much. With that said, I'm surprised the booting portion is so easy, I was under the impression that for the Raspberry Pi (And ARM devices in general) it was more complex. I suppose though, this is started after the bootloader that's normally on the SD card correct? I would imagine that makes things a fair bit simpler if that's the case, since the bootloader would take care of all the secret sauce.
Do you have plans to implement paging eventually?
- bpye 9y agoYep the proprietary bootloader on the Raspberry Pi handles most initialisation leaving the SoC in a usable state. If you want to see how things like DRAM init work you can take a look at the open source reverse engineered firmware at https://github.com/christinaa/rpi-open-firmware https://github.com/christinaa/rpi-open-firmware . It isn't complete but it is just about enough to also boot the Linux kernel.
- DSMan195276 9y agoThanks for linking that, that is one impressive piece of work!
- jsandler18 9y agoI do plan to implement paging. I already manage all of the physical pages, I just haven't enabled the mmu yet as I wanted to get more fun features in first