Skip to content
Brad Campbell edited this page Mar 9, 2017 · 5 revisions

Path to the One True Tockloader

Goals:

  1. Use tockloader to program all boards.
  2. Before programming the kernel, check that it is going on a supported board.
  3. Apps are completely board agnostic.
  4. Apps are compiled once and can be programmed onto any board.
  5. Apps are also check to make sure they are being flashed on to a reasonable board.

Steps:

  1. Get attributes working in JTAG.
  2. Get JTAG to discover the board it is on by using a generic "cortex-m0" target to read attributes.
  3. Write base bootloader that just jumps to 0x10000 if no bootloader functions are wanted.
  4. Define a way for kernels and apps to specify which boards they support.
  5. Get Tockloader to check that the app/kernel supports the target board.
  6. Package all versions of apps into a TAB (Tock Application Bundle).
Clone this wiki locally