Skip to content

Lab 01

Compare
Choose a tag to compare
@JingWangTW JingWangTW released this 17 Apr 02:57
· 1 commit to master since this release

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.