BIOS reference

From Milkymist Wiki

Jump to: navigation, search

[edit] History

The Milkymist BIOS is based on FreeMAC, originally written for running on the ARM embedded processors of Prism54 Wi-Fi cards. It has undergone major modifications since then.

[edit] Boot process

The BIOS is the first program to be executed by the Milkymist SoC once the FPGA is configured. It is stored into off-chip flash and executed in place. Details of the boot process can be found in http://www.milkymist.org/doc/system.pdf.

[edit] Commands

Output of the "help" command
Output of the "mw & rd" commands


Bios allow you runs some few command but very usefull if you know how use it:

 mr  :  read address space
 
 mw <address> length
 mw  :  write addres space
 mr <address> <lenght> <count>

GPIO Examples for the avnet board port.

mr 0x80001000 8

Read the status of push buttons (try touching some and read at the same time)

mw 0x80001004 1

Put LED 2 on

mw 0x80001004 2

Put LED 3 on

mw 0x80001004 2

Put LEDs off

mw 0x80001004 0
Personal tools