5 Last Update: October 15, 2003
6 ====================================================================
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.
12 For those interested in contributing ... see HELP WANTED section
19 include/configs/DK1C20.h
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).
31 The hello_world example works fine.
34 Programming U-Boot into FLASH with GERMS
35 -----------------------------------------
36 The current version of the DK-1C20 port occupies less than
37 60 KByte with network support disabled. So everything will fit
38 into a single flash sector. With network support (e.g. bootp,
39 tftpboot, ping, etc) the flash footprint is about 77K.
41 To program U-Boot into the DK-1C20 flash using GERMS do the
44 1. From the command line, download U-Boot using the nios-run:
46 $ nios-run -r u-boot.srec
48 This takes about 45 seconds (GERMS is not very speedy here).
49 After u-boot is downloaded it will be executed. You should
52 U-Boot 1.0.0-pre (Oct 4 2003 - 07:39:24)
54 CPU: Nios-32 Rev. 3.08 (0x3018)
55 Reg file size: 256 LO_LIMIT/HI_LIMIT: 2/14
56 Board: Altera Nios 1C20 Development Kit
63 2. Quit nios-run and start your terminal application (e.g. start
64 Hyperterminal or minicom).
66 3. From the U-Boot command prompt, erase a sector of flash at 0x40000:
70 4. Download the u-boot code to RAM. When using Hyperterminal, do the
73 --From the u-boot command prompt start a binary download to SRAM:
77 --Download u-boot.bin using kermit.
79 5. Copy the binary image from SRAM to flash:
81 ==> cp.b 800000 40000 10000
83 U-Boot will now automatically start when the board is powered on or
84 reset using the Standard-32 configuration. To start U-Boot with the
85 Safe-32 configuration, enter the following GERMS command: