YAMON
Having ported YAMON to scapa a while back, I’ve been adding tests into it to make it a useful bootstrapper for our purposes. At present it performs a Power-On Self Test or POST specific to scapa, and will retrieve a new kernel image if
it’s own own is missing or corrupt. It also configures it’s network params using dhcp, something YAMON did not do, I ported this from u-boot.
POST consists of
- Turn off LED
- Start Yamon from flash
- Perform RAM data bus and address bus tests.
- Perform a checksum on the YAMON code to test the flash bus.
- Check the RTC
- Set up MAC/PHY and wait for link
- Perform stress test on RAM (caches enabled)
- Probe PCI bus for emma and setup emma RAM, also bring tuners out of reset
- Perform EMMA RAM data bus and address bus tests.
- Probe i2c buses.
- Get Mac Addr from the iButton
- Get network params from flash
- Check the kernel image.
- If required do DHCP
- If required tftp the kernel image to flash (see note below)
- Copy kernel to RAM.
- Jump to kernel
If at any time the user types ‘exit’ over the serial line, test code will exit and present a YAMON prompt.

Leave a Reply