]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - doc/README.dk1c20
* Patch by Scott McNutt, 04 Oct 2003:
[karo-tx-uboot.git] / doc / README.dk1c20
1
2                          Nios Development Kit
3                            Cyclone Editions
4
5                     Last Update: October 4, 2003
6 ====================================================================
7
8 This file contains information regarding U-Boot and the Altera
9 Nios Development Kit, Cyclone Edition (DK-1C20). For general Nios
10 information see doc/README.nios.
11
12 For those interested in contributing ... see HELP WANTED section
13 in doc/README.nios.
14
15
16 Files
17 ------
18         board/dk1c20/*
19         include/configs/DK1C20.h
20
21 Memory Organization
22 --------------------
23
24         -The heap is placed below the monitor (U-Boot code).
25         -Global data is placed below the heap.
26         -The stack is placed below global data (&grows down).
27
28 Misc
29 -----
30
31 The hello_world example works fine.
32
33
34 Programming U-Boot into FLASH with GERMS
35 -----------------------------------------
36 The current version of the DK-1C20 port occupies less than
37 60 KByte. So everything will fit into a single Flash sector.
38 To program U-Boot into the DK-1C20 flash using GERMS do the
39 following:
40
41 1. From the command line, download U-Boot using the nios-run:
42
43         $ nios-run -r u-boot.srec
44
45 This takes about 45 seconds (GERMS is not very speedy here).
46 After u-boot is downloaded it will be executed. You should
47 see the following:
48
49     U-Boot 1.0.0-pre (Oct  4 2003 - 07:39:24)
50
51     CPU: Nios-32 Rev. 3.08 (0x3018)
52     Reg file size: 256 LO_LIMIT/HI_LIMIT: 2/14
53     Board: Altera Nios 1C20 Development Kit
54     In:    serial
55     Out:   serial
56     Err:   serial
57     ==>
58
59
60 2. Quit nios-run and start your terminal application (e.g. start
61 Hyperterminal or minicom).
62
63 3. From the U-Boot command prompt, erase a sector of flash at 0x40000:
64
65     ==> erase 40000 4ffff
66
67 4. Download the u-boot code to RAM. When using Hyperterminal, do the
68 following:
69
70  --From the u-boot command prompt start a binary download to SRAM:
71
72     ==> loadb 800000
73
74  --Download u-boot.bin using kermit.
75
76 5. Copy the binary image from SRAM to flash:
77
78     ==> cp.b 800000 40000 10000
79
80 U-Boot will now automatically start when the board is powered on or
81 reset using the Standard-32 configuration. To start U-Boot with the
82 Safe-32 configuration, enter the following GERMS command:
83
84     + g 40000