-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
83 lines (68 loc) · 3.43 KB
/
README
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Linux/5120 system boot loader (v0.03 20030815)
================================================
This release supports ADM5120 TestBoard fetures.
1) Check the makefile and select the byte order, flash type and flash size
that you wish to compile.
a) BYTE_ORDER = BIG_ENDIAN or LITTLE_ENDIAN
b) FLASH_TYPE = NOR_FLASH or NAND_FLASH
c) BOARD_NOR_FLASH_SIZE = 0x200000 or 0x400000
Note: Nand flash default 32MB and Don't care the "BOARD_NOR_FLASH_SIZE".
2) Fix the include file "./include/memdev.h" to fit your system SDRAM size.
3) Check the file of linuxld.c if the testboard is for VINETIC or not
(Mark #define AM5120_VINETIC 1).
3) Run 'make', please use cygwin and mips cross compiler.
4) You can find the boot loader image in the
"./bin/el/$(FLASH_TYPE)/", "./bin/eb/$(FLASH_TYPE)/",
(Depend on FLASH_TYPE and BYTE_ORDER)
5) You can use any method to burn the image to your flash memory.
(The .cmm file for ICE is under ./bin/el/$(FLASH_TYPE) or
./bin/eb/$(FLASH_TYPE) respectively.)
6) Loader function:
[1] Xmodem Download
[2] TFTP Client Download
[3] Print Boot Params
[4] Set Boot Params
[5] Update bootloader
[6] Exit
#### System Map ####
+------------------------------------+
| Boot loader (64k) |
+------------------------------------+
| System Parameter (64k) |
+------------------------------------+
| |
| vmlinuz (Remaining) |
~ ~
~ ~
| |
| |
+------------------------------------+
#### System Map (SDRAM 16 Mbyte at least) ####
0x0 +------------------------------------+ LINUXLD_SDRAM_START
| Exception (8 KB) |
0x00002000 +------------------------------------+ LINUXLD_KERNEL_START
| Linux Kernel |
| Code & Data Segment |
| (6 MB) |
| |
| |
0x00600000 +------------------------------------+ LINUXLD_MEMPOOL_STATR
| Bootloader memory pool |
| (2 MB) |
| |
0x00800000 +------------------------------------+ LINUXLD_LOADER_START
| Boot loader |
| Code & Data Segement |
| (64 KB) |
0x00810000 +------------------------------------+
| Reserve Area (64KB) |
| |
0x00820000 +------------------------------------+ LINUXLD_DOWNLOAD_START
| Download Buffer |
| (4 MB) |
| |
0x00c00000 +------------------------------------+ LINUXLD_GZIP_HEAP
| gzip heap |
| (3 MB) |
| |
0x01000000 +------------------------------------+