README.LEOX 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. =============================================================================
  2. U-Boot port on the LEOX's ELPT860 CPU board
  3. -------------------------------------------
  4. LEOX.org is about the development of free hardware and software resources
  5. for system on chip.
  6. For more information, contact The LEOX team <team@leox.org>
  7. References:
  8. ~~~~~~~~~~
  9. 1) Get the last stable release from denx.de:
  10. o ftp://ftp.denx.de/pub/u-boot/u-boot-0.2.0.tar.bz2
  11. 2) Get the current CVS snapshot:
  12. o cvs -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot login
  13. o cvs -z6 -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot co -P u-boot
  14. =============================================================================
  15. The ELPT860 CPU board has the following features:
  16. Processor: - MPC860T @ 50MHz
  17. - PowerPC Core
  18. - 65 MIPS
  19. - Caches: D->4KB, I->4KB
  20. - CPM: 4 SCCs, 2 SMCs
  21. - Ethernet 10/100
  22. - SPI, I2C, PCMCIA, Parallel
  23. CPU board: - DRAM: 16 MB
  24. - FLASH: 512 KB + (2 * 4 MB)
  25. - NVRAM: 128 KB
  26. - 1 Serial link
  27. - 2 Ethernet 10 BaseT Channels
  28. On power-up the processor jumps to the address of 0x02000100
  29. Thus, U-Boot is configured to reside in flash starting at the address of
  30. 0x02001000. The environment space is located in NVRAM separately from
  31. U-Boot, at the address of 0x03000000.
  32. =============================================================================
  33. U-Boot test results
  34. =============================================================================
  35. ##################################################
  36. # Operation on the serial console (SMC1)
  37. ##############################
  38. U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
  39. CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
  40. *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
  41. Board: ### No HW ID - assuming ELPT860
  42. DRAM: 16 MB
  43. FLASH: 512 kB
  44. In: serial
  45. Out: serial
  46. Err: serial
  47. Net: SCC ETHERNET
  48. Type "run nfsboot" to mount root filesystem over NFS
  49. Hit any key to stop autoboot: 0
  50. LEOX_elpt860: help
  51. askenv - get environment variables from stdin
  52. autoscr - run script from memory
  53. base - print or set address offset
  54. bdinfo - print Board Info structure
  55. bootm - boot application image from memory
  56. bootp - boot image via network using BootP/TFTP protocol
  57. bootd - boot default, i.e., run 'bootcmd'
  58. cmp - memory compare
  59. coninfo - print console devices and informations
  60. cp - memory copy
  61. crc32 - checksum calculation
  62. echo - echo args to console
  63. erase - erase FLASH memory
  64. flinfo - print FLASH memory information
  65. go - start application at address 'addr'
  66. help - print online help
  67. iminfo - print header information for application image
  68. loadb - load binary file over serial line (kermit mode)
  69. loads - load S-Record file over serial line
  70. loop - infinite loop on address range
  71. md - memory display
  72. mm - memory modify (auto-incrementing)
  73. mtest - simple RAM test
  74. mw - memory write (fill)
  75. nm - memory modify (constant address)
  76. printenv- print environment variables
  77. protect - enable or disable FLASH write protection
  78. rarpboot- boot image via network using RARP/TFTP protocol
  79. reset - Perform RESET of the CPU
  80. run - run commands in an environment variable
  81. saveenv - save environment variables to persistent storage
  82. setenv - set environment variables
  83. sleep - delay execution for some time
  84. tftpboot- boot image via network using TFTP protocol
  85. and env variables ipaddr and serverip
  86. version - print monitor version
  87. ? - alias for 'help'
  88. ##################################################
  89. # Environment Variables (CFG_ENV_IS_IN_NVRAM)
  90. ##############################
  91. LEOX_elpt860: printenv
  92. bootdelay=5
  93. loads_echo=1
  94. baudrate=9600
  95. stdin=serial
  96. stdout=serial
  97. stderr=serial
  98. ethaddr=00:03:ca:00:64:df
  99. ipaddr=192.168.0.30
  100. netmask=255.255.255.0
  101. serverip=192.168.0.1
  102. nfsserverip=192.168.0.1
  103. preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echo
  104. gatewayip=192.168.0.1
  105. ramargs=setenv bootargs root=/dev/ram rw
  106. rootargs=setenv rootpath /tftp/$(ipaddr)
  107. nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(nfsserverip):$(rootpath)
  108. addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(nfsserverip):$(gatewayip):$(netmask):$(hostname):eth0:
  109. ramboot=tftp 400000 /home/leox/pMulti;run ramargs;bootm
  110. nfsboot=tftp 400000 /home/leox/uImage;run rootargs;run nfsargs;run addip;bootm
  111. bootcmd=run ramboot
  112. clocks_in_mhz=1
  113. Environment size: 730/16380 bytes
  114. ##################################################
  115. # Flash Memory Information
  116. ##############################
  117. LEOX_elpt860: flinfo
  118. Bank # 1: AMD AM29F040 (4 Mbits)
  119. Size: 512 KB in 8 Sectors
  120. Sector Start Addresses:
  121. 02000000 (RO) 02010000 (RO) 02020000 (RO) 02030000 (RO) 02040000
  122. 02050000 02060000 02070000
  123. ##################################################
  124. # Board Information Structure
  125. ##############################
  126. LEOX_elpt860: bdinfo
  127. memstart = 0x00000000
  128. memsize = 0x01000000
  129. flashstart = 0x02000000
  130. flashsize = 0x00080000
  131. flashoffset = 0x00030000
  132. sramstart = 0x00000000
  133. sramsize = 0x00000000
  134. immr_base = 0xFF000000
  135. bootflags = 0x00000001
  136. intfreq = 50 MHz
  137. busfreq = 50 MHz
  138. ethaddr = 00:03:ca:00:64:df
  139. IP addr = 192.168.0.30
  140. baudrate = 9600 bps
  141. ##################################################
  142. # Image Download and run over serial port
  143. # hello_world (S-Record image)
  144. # ===> 1) Enter "loads" command into U-Boot monitor
  145. # ===> 2) From TeraTerm's bar menu, Select 'File/Send file...'
  146. # Then select 'hello_world.srec' with the file browser
  147. ##############################
  148. U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
  149. CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
  150. *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
  151. Board: ### No HW ID - assuming ELPT860
  152. DRAM: 16 MB
  153. FLASH: 512 kB
  154. In: serial
  155. Out: serial
  156. Err: serial
  157. Net: SCC ETHERNET
  158. Type "run nfsboot" to mount root filesystem over NFS
  159. Hit any key to stop autoboot: 0
  160. LEOX_elpt860: loads
  161. ## Ready for S-Record download ...
  162. S804040004F3050154000501709905014C000501388D
  163. ## First Load Addr = 0x00040000
  164. ## Last Load Addr = 0x0005018B
  165. ## Total Size = 0x0001018C = 65932 Bytes
  166. ## Start Addr = 0x00040004
  167. LEOX_elpt860: go 40004 This is a test !!!
  168. ## Starting application at 0x00040004 ...
  169. Hello World
  170. argc = 6
  171. argv[0] = "40004"
  172. argv[1] = "This"
  173. argv[2] = "is"
  174. argv[3] = "a"
  175. argv[4] = "test"
  176. argv[5] = "!!!"
  177. argv[6] = "<NULL>"
  178. Hit any key to exit ...
  179. ## Application terminated, rc = 0x0
  180. ##################################################
  181. # Image download and run over ethernet interface
  182. # Linux-2.4.4 (uImage) + Root filesystem mounted over NFS
  183. ##############################
  184. U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
  185. CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
  186. *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
  187. Board: ### No HW ID - assuming ELPT860
  188. DRAM: 16 MB
  189. FLASH: 512 kB
  190. In: serial
  191. Out: serial
  192. Err: serial
  193. Net: SCC ETHERNET
  194. Type "run nfsboot" to mount root filesystem over NFS
  195. Hit any key to stop autoboot: 0
  196. LEOX_elpt860: run nfsboot
  197. ARP broadcast 1
  198. TFTP from server 192.168.0.1; our IP address is 192.168.0.30
  199. Filename '/home/leox/uImage'.
  200. Load address: 0x400000
  201. Loading: #################################################################
  202. #############################
  203. done
  204. Bytes transferred = 477294 (7486e hex)
  205. ## Booting image at 00400000 ...
  206. Image Name: Linux-2.4.4
  207. Image Type: PowerPC Linux Kernel Image (gzip compressed)
  208. Data Size: 477230 Bytes = 466 kB = 0 MB
  209. Load Address: 00000000
  210. Entry Point: 00000000
  211. Verifying Checksum ... OK
  212. Uncompressing Kernel Image ... OK
  213. Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
  214. On node 0 totalpages: 4096
  215. zone(0): 4096 pages.
  216. zone(1): 0 pages.
  217. zone(2): 0 pages.
  218. Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.1:/tftp/192.168.0.30 ip=192.168.0.30:192.168.0.1:192.168.0.1:255.255.255.0::eth0:
  219. rtsched version <20010618.1050.24>
  220. Decrementer Frequency: 3125000
  221. Warning: real time clock seems stuck!
  222. Calibrating delay loop... 49.76 BogoMIPS
  223. Memory: 14720k available (928k kernel code, 384k data, 44k init, 0k highmem)
  224. Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
  225. Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
  226. Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
  227. Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
  228. POSIX conformance testing by UNIFIX
  229. Linux NET4.0 for Linux 2.4
  230. Based upon Swansea University Computer Society NET3.039
  231. Starting kswapd v1.8
  232. CPM UART driver version 0.03
  233. ttyS0 on SMC1 at 0x0280, BRG1
  234. block: queued sectors max/low 9701kB/3233kB, 64 slots per queue
  235. RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
  236. eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
  237. NET4: Linux TCP/IP 1.0 for NET4.0
  238. IP Protocols: ICMP, UDP, TCP
  239. IP: routing cache hash table of 512 buckets, 4Kbytes
  240. TCP: Hash tables configured (established 1024 bind 1024)
  241. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
  242. Looking up port of RPC 100003/2 on 192.168.0.1
  243. Looking up port of RPC 100005/2 on 192.168.0.1
  244. VFS: Mounted root (nfs filesystem).
  245. Freeing unused kernel memory: 44k init
  246. INIT: version 2.78 booting
  247. Welcome to DENX Embedded Linux Environment
  248. Press 'I' to enter interactive startup.
  249. Mounting proc filesystem: [ OK ]
  250. Configuring kernel parameters: [ OK ]
  251. Cannot access the Hardware Clock via any known method.
  252. Use the --debug option to see the details of our search for an access method.
  253. Setting clock : Wed Dec 31 19:00:11 EST 1969 [ OK ]
  254. Activating swap partitions: [ OK ]
  255. Setting hostname 192.168.0.30: [ OK ]
  256. Finding module dependencies:
  257. [ OK ]
  258. Checking filesystems
  259. Checking all file systems.
  260. [ OK ]
  261. Mounting local filesystems: [ OK ]
  262. Enabling swap space: [ OK ]
  263. INIT: Entering runlevel: 3
  264. Entering non-interactive startup
  265. Starting system logger: [ OK ]
  266. Starting kernel logger: [ OK ]
  267. Starting xinetd: [ OK ]
  268. 192 login: root
  269. Last login: Wed Dec 31 19:00:41 on ttyS0
  270. bash-2.04#
  271. ##################################################
  272. # Image download and run over ethernet interface
  273. # Linux-2.4.4 + Root filesystem mounted from RAM (pMulti)
  274. ##############################
  275. U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)
  276. CPU: XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present
  277. *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
  278. Board: ### No HW ID - assuming ELPT860
  279. DRAM: 16 MB
  280. FLASH: 512 kB
  281. In: serial
  282. Out: serial
  283. Err: serial
  284. Net: SCC ETHERNET
  285. Type "run nfsboot" to mount root filesystem over NFS
  286. Hit any key to stop autoboot: 0
  287. LEOX_elpt860: run ramboot
  288. ARP broadcast 1
  289. TFTP from server 192.168.0.1; our IP address is 192.168.0.30
  290. Filename '/home/leox/pMulti'.
  291. Load address: 0x400000
  292. Loading: #################################################################
  293. #################################################################
  294. #################################################################
  295. #################################################################
  296. #################################################################
  297. ########################################################
  298. done
  299. Bytes transferred = 1947816 (1db8a8 hex)
  300. ## Booting image at 00400000 ...
  301. Image Name: linux-2.4.4-2002-03-21 Multiboot
  302. Image Type: PowerPC Linux Multi-File Image (gzip compressed)
  303. Data Size: 1947752 Bytes = 1902 kB = 1 MB
  304. Load Address: 00000000
  305. Entry Point: 00000000
  306. Contents:
  307. Image 0: 477230 Bytes = 466 kB = 0 MB
  308. Image 1: 1470508 Bytes = 1436 kB = 1 MB
  309. Verifying Checksum ... OK
  310. Uncompressing Multi-File Image ... OK
  311. Loading Ramdisk to 00e44000, end 00fab02c ... OK
  312. Linux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002
  313. On node 0 totalpages: 4096
  314. zone(0): 4096 pages.
  315. zone(1): 0 pages.
  316. zone(2): 0 pages.
  317. Kernel command line: root=/dev/ram rw
  318. rtsched version <20010618.1050.24>
  319. Decrementer Frequency: 3125000
  320. Warning: real time clock seems stuck!
  321. Calibrating delay loop... 49.76 BogoMIPS
  322. Memory: 13280k available (928k kernel code, 384k data, 44k init, 0k highmem)
  323. Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
  324. Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
  325. Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
  326. Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
  327. POSIX conformance testing by UNIFIX
  328. Linux NET4.0 for Linux 2.4
  329. Based upon Swansea University Computer Society NET3.039
  330. Starting kswapd v1.8
  331. CPM UART driver version 0.03
  332. ttyS0 on SMC1 at 0x0280, BRG1
  333. block: queued sectors max/low 8741kB/2913kB, 64 slots per queue
  334. RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
  335. eth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:df
  336. RAMDISK: Compressed image found at block 0
  337. Freeing initrd memory: 1436k freed
  338. NET4: Linux TCP/IP 1.0 for NET4.0
  339. IP Protocols: ICMP, UDP, TCP
  340. IP: routing cache hash table of 512 buckets, 4Kbytes
  341. TCP: Hash tables configured (established 1024 bind 1024)
  342. IP-Config: Incomplete network configuration information.
  343. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
  344. VFS: Mounted root (ext2 filesystem).
  345. Freeing unused kernel memory: 44k iné
  346. init started: BusyBox v0.60.2 (2002.07.01-12:06+0000) multi-call Configuring hostname
  347. Configuring lo...
  348. Configuring eth0...
  349. Configuring Gateway...
  350. Please press Enter to activate this console.
  351. ELPT860 login: root
  352. Password:
  353. Welcome to Linux-2.4.4 for ELPT CPU board (MPC860T @ 50MHz)
  354. a8888b.
  355. d888888b.
  356. 8P"YP"Y88
  357. _ _ 8|o||o|88
  358. | | |_| 8' .88
  359. | | _ ____ _ _ _ _ 8`._.' Y8.
  360. | | | | _ \| | | |\ \/ / d/ `8b.
  361. | |___ | | | | | |_| |/ \ .dP . Y8b.
  362. |_____||_|_| |_|\____|\_/\_/ d8:' " `::88b.
  363. d8" `Y88b
  364. :8P ' :888
  365. 8a. : _a88P
  366. ._/"Yaa_ : .| 88P|
  367. \ YP" `| 8P `.
  368. / \._____.d| .'
  369. `--..__)888888P`._.'
  370. login[21]: root login on `ttyS0'
  371. BusyBox v0.60.3 (2002.07.20-10:39+0000) Built-in shell (ash)
  372. Enter 'help' for a list of built-in commands.
  373. root@ELPT860:~ #