Lab 01
NCTU OSDI Lab 1: Hello World
Documentation: Lab 1
Lab 1 Demo Release
Required
- Implement the 3 basic steps.
- Let only one core proceed, and let others enter a busy loop.
- Initialize the BSS segment.
- Set the stack pointer to an appropriate position.
- Following UART to set up mini UART.
- Implement a simple shell, it should support the following commands.
command Description help print all available commands hello print Hello World!
Elective
- Write a program or script on your host computer which can read a text file and write the content to rpi3.
- Add <timestamp> command, it print current timestamp.
- Add <reboot> command.
Questions
- Is it reasonable to accelerate booting speed by parallel programming during the initialization stage?
- Point out the difference between bare-metal programming and programming on top of operating system.