[Перевод] Операционная система в 1 000 строках кода (часть 2)

Продолжаем серию статей, посвящённую написанию собственной минималистичной ОС. В прошлой части мы познакомились со всеми вводными компонентами проекта и поставили общие цели. В этой же мы реализуем загрузку ядра, вывод строки Hello World!, механизм паники ядра, а также некоторые функции управления памятью и работы со строками. ▍ Навигация по вышедшим частям Часть 1 Часть 2 < — вы здесь.

https://habr.com/ru/companies/ruvds/articles/875776/

#ruvds_перевод #операционные_системы #разработка_ядра #linux #паника_ядра #работа_с_памятью #opensbi

Операционная система в 1 000 строках кода (часть 2)

Продолжаем серию статей, посвящённую написанию собственной минималистичной ОС. В прошлой части мы познакомились со всеми вводными компонентами проекта и поставили общие цели. В этой же мы реализуем...

Хабр

Inside TinyEMU #RISCV Emulator: This is how we emulate the #OpenSBI System Timer with the Machine-Mode System Timer

Article: https://lupyuen.codeberg.page/articles/tinyemu3.html#appendix-start-the-system-timer

Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS)

Every day we're auto-building Apache NuttX RTOS for Ox64 BL808 SBC... Can we test NuttX on Ox64 Emulator automatically after building? Let's find out!

Emulating the #OpenSBI System Timer ... For Apache #NuttX RTOS on #Ox64 BL808 Emulator

Article: https://lupyuen.codeberg.page/articles/tinyemu3.html#emulate-the-system-timer

Automated Testing with Ox64 BL808 Emulator (Apache NuttX RTOS)

Every day we're auto-building Apache NuttX RTOS for Ox64 BL808 SBC... Can we test NuttX on Ox64 Emulator automatically after building? Let's find out!

cool my #riscv #keystone page table bootstrapping fixes for #cva6 are all merged to upstream. i debugged the issues over a month so nice to see that it was worth it. actually learning how #opensbi is implemented was in all cases definitely a good lesson to learn.
Akkoma

Ox64 BL808 RISC-V SBC: Booting Linux and (maybe) Apache NuttX RTOS

Let's boot Linux on Pine64 Ox64 BL808 RISC-V SBC... As we figure out how Apache NuttX RTOS might run on Ox64

I wonder if #BeagleV has similar #DIP switch as #VisionFive2, which works as a selector for different boot modes?

In VisionFive2 you can choose to:

  • Boot from SPI flash.
  • Boot from SD (including U-boot and OpenSBI, assumes a particular partition layout).
  • Rescue UART boot mode.
  • These VisionFive2 e.g. pretty capable board for prototyping CPU extensions.

    #riscv #sbc #uboot #opensbi

    Akkoma

    I like how easy it is with RISC-V to emulation ISA extensions by emulating privileged instructions in M-mode. that makes it pretty good production creation platform when you have something in-between FPGA and QEMU. I.e. you can take ASIC board and build a PoC with customized OpenSBI. #riscv #opensbi #fpga #qemu
    Akkoma

    Nice, with the DIP switches Starfive VisionFive 2 SBC can be made to boot the full chain from SD card. Initially booting from SPI flash for any possible use for this never really makes sense. It is a badly chosen default for this sort of maker and/or developer product :-) #riscv #opensbi #uboot #starfive #visionfive2 #keystone
    Akkoma

    Let's boot Apache #NuttX RTOS on the #RISCV Star64 #JH7110 SBC (and VisionFive 2) ... And experiment with the #OpenSBI Supervisor Binary Interface

    https://lupyuen.codeberg.page/articles/sbi

    Star64 JH7110 RISC-V SBC: Experiments with OpenSBI (Supervisor Binary Interface)

    Let's boot Apache NuttX RTOS on the Star64 JH7110 RISC-V SBC (VisionFive5 too)... And experiment with the OpenSBI Supervisor Binary Interface

    Star64 JH7110 RISC-V SBC: Experiments with OpenSBI (Supervisor Binary Interface)

    Let's boot Apache NuttX RTOS on the Star64 JH7110 RISC-V SBC (VisionFive5 too)... And experiment with the OpenSBI Supervisor Binary Interface