OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [sdboot/] [readme.txt] - Blame information for rev 247

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 246 ja_rd
This is a minimalistic bootloader meant to run from BRAM.
2
 
3
Upon reset, it will read file '/code.bin' from the DE-1 board SD card, load it
4
at address 0x00000000 and then jump to that address.
5
 
6
Any program meant to be bootloaded in this way has to be compiled with link
7
script 'xram.lds', and the binary renamed 'code.bin'. See the 'Adventure' demo
8
(makefile target 'sd') for an example.
9
 
10 247 ja_rd
In this directory you'll find a copy of the Adventure binary called 'code.bin'
11
that you can use to try the bootloader. Just put it in the root directory of
12
a FAT32 SD card and load this demo (and hope the card format is understood by
13
the FAT library...).
14
 
15 246 ja_rd
This program is built around elm-chan's FAT32 library, which has been ported
16
to the ION SoC using a bitbanged interface. This should be easy to port to other
17
boards.
18
 
19
The binary will be truncated to 256KB.
20
 
21
Uses serial port console at 19200/8/N/1.
22
 
23
 
24
Run 'make demo' and synthesize as instructed for the 'Hello World' demo.
25
 
26
 
27
This program is meant to be synthesized and used as a bootloader for
28
demonstration or development, running from BRAM. It is too large to be run from
29
BRAM in a real application; it should be modified to run from flash instead --
30
or you might use another bootloader, assuming you get it to compile and run
31
on the MIPS-I core...
32
 
33
This demo is not meant to be simulated in Modelsim or in software, no support
34
is provided for that.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.