README.dk1s10 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Nios Development Kit
  2. Startix Editions
  3. Last Update: January 28, 2004
  4. ====================================================================
  5. This file contains information regarding U-Boot and the Altera
  6. Nios Development Kit, Startix Edition (DK-1S10). For general Nios
  7. information see doc/README.nios.
  8. Most stuff of this file was borrowed and based on README.dk1c20,
  9. the DK-1C20 related information file.
  10. For those interested in contributing ... see HELP WANTED section
  11. in doc/README.nios.
  12. Contents:
  13. 1. Files
  14. 2. Memory Organization
  15. 3. CPU Variations
  16. 4. Examples
  17. 5. Programming U-Boot into FLASH with GERMS
  18. ====================================================================
  19. 1. Files
  20. =========
  21. board/altera/dk1s10/*
  22. include/configs/DK1S10.h
  23. 2. Memory Organization
  24. =======================
  25. -The heap is placed below the monitor (U-Boot code).
  26. -Global data is placed below the heap.
  27. -The stack is placed below global data (&grows down).
  28. 3. CPU Variations
  29. =================
  30. There are more than one NIOS CPU variation for the DK-1S10. U-Boot
  31. supports the following CPU configurations:
  32. - Altera Standard 32 (make DK1S10_standard_32_config)
  33. - Microtronix LDK 2.0 (make DK1S10_mtx_ldk_20_config)
  34. 4. Examples
  35. ============
  36. The hello_world example was never tested on DK-1S10. Neverthelse
  37. it should work as far as possible, because the DK-1S10 port is
  38. more than ninetieth percents equal to the DK-1C20 port and at
  39. this platform the hello_world example was already tested
  40. successfully (see README.dk1c20).
  41. 5. Programming U-Boot into FLASH with GERMS
  42. ============================================
  43. The current version of the DK-1S10 port with the default
  44. configuration settings occupies about 78 KBytes of flash.
  45. A minimal configuration occupies less than 60 KByte
  46. (network support disabled).
  47. To program U-Boot into the DK-1S10 flash using GERMS do the
  48. following:
  49. 1. From the command line, download U-Boot using the nios-run:
  50. $ nios-run -r u-boot.srec
  51. This takes about 45 seconds (GERMS is not very speedy here).
  52. After u-boot is downloaded it will be executed. You should
  53. see the following:
  54. U-Boot 1.0.2 (Jan 28 2004 - 19:02:30)
  55. CPU: Nios-32 Rev. 3.3 (0x3038)
  56. Reg file size: 256 LO_LIMIT/HI_LIMIT: 2/14
  57. Board: Altera Nios 1S10 Development Kit
  58. In: serial
  59. Out: serial
  60. Err: serial
  61. DK1S10 >
  62. 2. Quit nios-run and start your terminal application (e.g. start
  63. Hyperterminal or minicom).
  64. 3. Download the u-boot code to RAM. When using Hyperterminal, do the
  65. following:
  66. a. From the u-boot command prompt start a binary download to
  67. SRAM / SDRAM:
  68. at the Altera Standard 32 to SRAM:
  69. ==> loadb 800000
  70. at the Microtronix LDK 2.0 to SDRAM:
  71. ==> loadb 1010000
  72. b. Download u-boot.bin using kermit.
  73. 4. From the U-Boot command prompt, erase flash:
  74. at the Altera Standard 32 from 0x40000 to 0x5ffff:
  75. ==> erase 1:4-5
  76. at the Microtronix LDK 2.0 from 0x8000000 to 0x81ffff:
  77. ==> erase 1:0-1
  78. 5. Copy the binary image from SRAM / SDRAM to flash:
  79. at the Altera Standard 32 to SRAM:
  80. ==> cp.b 800000 40000 ${filesize}
  81. at the Microtronix LDK 2.0 to SDRAM:
  82. ==> cp.b 1010000 8000000 ${filesize}
  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:
  86. + g 40000