wiki:TBR/BSP/Milkymist

Milkymist

BSP_namemilkymist
ManufacturerSharism at Work Ltd.
Board_URLhttp://www.milkymist.org/mmone.html
Imagemmone.jpg
ArchitectureLM32
CPU_modelMilkymist SoC
RAM128MB DDR SDRAM
SimulatorYes. QEMU?
SerialOne 3.3V RS232
VideoVGA up to 140MHz pixel clock
NVMEM32MB NOR flash, memory card
NICs10/100 Ethernet
OtherVideo input, DMX512, MIDI, infrared, USB, audio

Overview

Features:

  • Multi-standard video input (PAL/SECAM/NTSC)
  • Two DMX512 (RS485) ports
  • MIDI IN and MIDI OUT ports
  • VGA output, 24bpp, up to 140MHz pixel clock (> 1024x768)
  • AC'97 audio
  • XC6SLX45 Spartan-6 FPGA supporting the open source Milkymist SoC
  • 128MB 32-bit DDR400 SDRAM
  • 32MB parallel flash
  • 10/100 Ethernet
  • Memory card
  • Two USB host connectors
  • RC5-compatible infrared receiver
  • RS232 debug port

Board Setup

Connect the device to your local network for download of the binaries over Ethernet. You may also want to open the case and connect a 3.3V serial cable (such as the JTAG/Serial adapter from the manufacturer) to use the console. Press the middle pushbutton to start.

Downloading and Executing

On the board

  • Convert the ELF executable to raw binary with rtems*-lm32-objcopy -Obinary file.elf file.bin
  • Boot it from the Milkymist BIOS, for example using TFTP netboot by pressing F8 during the Milkymist One startup. It will attempt to download "boot.bin" from the host 192.168.0.14 using IP address 192.168.0.42.

See also the BIOS reference at the project's wiki.

In QEMU

Support is upstream QEMU 0.15+.

Typical command line:

qemu-system-lm32 -M milkymist -serial stdio -kernel file.elf

See also the page at the project's wiki.

Debugging

In-system debugging with GDB is supported over the serial port.

flterm --port /dev/ttyUSB0 --gdb-passthrough set remote interrupt-on-connect on target remote <pseudo terminal printed by flterm> lm32-rtems*-gdb file.elf

See also the page at the project's wiki.

Test Reports

=References=

Last modified on Nov 8, 2018 at 9:08:01 PM Last modified on Nov 8, 2018, 9:08:01 PM