blob: b052433b67b1c3cad03887f3d10fbc4e00859803 [file] [log] [blame]
wdenk4a551702003-10-08 23:26:14 +00001
2 Nios Development Kit
3 Cyclone Editions
4
5 Last Update: October 4, 2003
6====================================================================
7
8This file contains information regarding U-Boot and the Altera
9Nios Development Kit, Cyclone Edition (DK-1C20). For general Nios
10information see doc/README.nios.
11
12For those interested in contributing ... see HELP WANTED section
13in doc/README.nios.
14
15
16Files
17------
18 board/dk1c20/*
19 include/configs/DK1C20.h
20
21Memory 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
28Misc
29-----
30
31The hello_world example works fine.
32
33
34Programming U-Boot into FLASH with GERMS
35-----------------------------------------
36The current version of the DK-1C20 port occupies less than
3760 KByte. So everything will fit into a single Flash sector.
38To program U-Boot into the DK-1C20 flash using GERMS do the
39following:
40
411. From the command line, download U-Boot using the nios-run:
42
43 $ nios-run -r u-boot.srec
44
45This takes about 45 seconds (GERMS is not very speedy here).
46After u-boot is downloaded it will be executed. You should
47see 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
602. Quit nios-run and start your terminal application (e.g. start
61Hyperterminal or minicom).
62
633. From the U-Boot command prompt, erase a sector of flash at 0x40000:
64
65 ==> erase 40000 4ffff
66
674. Download the u-boot code to RAM. When using Hyperterminal, do the
68following:
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
765. Copy the binary image from SRAM to flash:
77
78 ==> cp.b 800000 40000 10000
79
80U-Boot will now automatically start when the board is powered on or
81reset using the Standard-32 configuration. To start U-Boot with the
82Safe-32 configuration, enter the following GERMS command:
83
84 + g 40000