forked from tanzilli/AcmeBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
57 lines (41 loc) · 1.74 KB
/
Copy pathREADME
File metadata and controls
57 lines (41 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
AcmeBoot is a tiny boot loader for the Acme Systems Linux SBC
FOX Board G20 (http://www.acmesystems.it/FOXG20) made by
Acme Systems srl (http://www.acmesystems.it)
The AcmeBoot web page is available here:
http://www.acmesystems.it/acmeboot
HOW TO COMPILE ACMEBOOT
-----------------------
Download the CodeSourcery toolchain from:
http://www.codesourcery.com/sgpp/lite/arm/portal/release642
in detail download arm-2008q3-66-arm-none-eabi.bin file on your home directory
and install it typing:
$ chmod +x arm-2008q3-66-arm-none-eabi.bin
$ ./arm-2008q3-66-arm-none-eabi.bin
Follow the installation messages using the default values.
If you prefer to recompile your own bare-metal toolchain, or you need a 64bit version,
I can suggest the use of summon-arm-toolchain script available here:
* https://github.com/esden/summon-arm-toolchain
Move to AcmeBoot/AcmeBootProject
Type:
make dataflash
to compile AcmeBoot for NetusG20 with dataflash
make serialflash
to compile AcmeBoot for NetusG20 with serialflash
make sdcard
to compile AcmeBoot suitable to boot from sdcard
(experimental)
If you want to specify a different compiler path simple append the string
CROSS_COMPILE=/path/to/arm-none-eabi-
to the above make commands.
The file bin/boot-NetusG20-sdcard2sdram_for_XXX.bin will be created.
HOW TO USE ACMEBOOT
-------------------
If you are using a NetusG20 with serialflash or dataflash onboard you can use the
Pizzica In-System programming utility to flash the appropriate file as illustrate on:
http://www.acmesystems.it/pizzica
For example for a dataflash board:
$ python pizzica.py -f bin/boot-NetusG20-sdcard2sdram_for_dataflash.bin -d /dev/ttyUSB0
CREDITS
-------
AcmeBoot is based on Atmel AT91Bootstrap v.3.0
See README.atmel for more info.