⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.leox

📁 gumstiz u-boot loader in linux
💻 LEOX
字号:
=============================================================================	     U-Boot port on the LEOX's ELPT860 CPU board	     -------------------------------------------LEOX.org is about the development of free hardware and software resources	 for system on chip.For more information, contact The LEOX team <team@leox.org>References:~~~~~~~~~~    1) Get the last stable release from denx.de:	   o ftp://ftp.denx.de/pub/u-boot/u-boot-0.2.0.tar.bz2    2) Get the current CVS snapshot:	   o cvs -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot login	   o cvs -z6 -d:pserver:anonymous@cvs.u-boot.sourceforge.net:/cvsroot/u-boot co -P u-boot=============================================================================The ELPT860 CPU board has the following features:Processor:	- MPC860T @ 50MHz		- PowerPC Core		- 65 MIPS		- Caches: D->4KB, I->4KB		- CPM: 4 SCCs, 2 SMCs		- Ethernet 10/100		- SPI, I2C, PCMCIA, ParallelCPU board:	- DRAM:   16 MB		- FLASH: 512 KB + (2 * 4 MB)		- NVRAM: 128 KB		- 1 Serial link		- 2 Ethernet 10 BaseT ChannelsOn power-up the processor jumps to the address of 0x02000100Thus, U-Boot is configured to reside in flash starting at the address of0x02001000.  The environment space is located in NVRAM separately fromU-Boot, at the address of 0x03000000.=============================================================================			U-Boot test results=============================================================================################################################### Operation on the serial console (SMC1)##############################U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present	 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***Board: ### No HW ID - assuming ELPT860DRAM:  16 MBFLASH: 512 kBIn:    serialOut:   serialErr:   serialNet:   SCC ETHERNETType "run nfsboot" to mount root filesystem over NFSHit any key to stop autoboot:  0LEOX_elpt860: helpaskenv  - get environment variables from stdinautoscr - run script from memorybase    - print or set address offsetbdinfo  - print Board Info structurebootm   - boot application image from memorybootp   - boot image via network using BootP/TFTP protocolbootd   - boot default, i.e., run 'bootcmd'cmp     - memory compareconinfo - print console devices and informationscp      - memory copycrc32   - checksum calculationecho    - echo args to consoleerase   - erase FLASH memoryflinfo  - print FLASH memory informationgo      - start application at address 'addr'help    - print online helpiminfo  - print header information for application imageloadb   - load binary file over serial line (kermit mode)loads   - load S-Record file over serial lineloop    - infinite loop on address rangemd      - memory displaymm      - memory modify (auto-incrementing)mtest   - simple RAM testmw      - memory write (fill)nm      - memory modify (constant address)printenv- print environment variablesprotect - enable or disable FLASH write protectionrarpboot- boot image via network using RARP/TFTP protocolreset   - Perform RESET of the CPUrun     - run commands in an environment variablesaveenv - save environment variables to persistent storagesetenv  - set environment variablessleep   - delay execution for some timetftpboot- boot image via network using TFTP protocol	       and env variables ipaddr and serveripversion - print monitor version?       - alias for 'help'################################################### Environment Variables (CFG_ENV_IS_IN_NVRAM)##############################LEOX_elpt860: printenvbootdelay=5loads_echo=1baudrate=9600stdin=serialstdout=serialstderr=serialethaddr=00:03:ca:00:64:dfipaddr=192.168.0.30netmask=255.255.255.0serverip=192.168.0.1nfsserverip=192.168.0.1preboot=echo;echo Type "run nfsboot" to mount root filesystem over NFS;echogatewayip=192.168.0.1ramargs=setenv bootargs root=/dev/ram rwrootargs=setenv rootpath /tftp/${ipaddr}nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${nfsserverip}:${rootpath}addip=setenv bootargs ${bootargs} ip=${ipaddr}:${nfsserverip}:${gatewayip}:${netmask}:${hostname}:eth0:ramboot=tftp 400000 /home/leox/pMulti;run ramargs;bootmnfsboot=tftp 400000 /home/leox/uImage;run rootargs;run nfsargs;run addip;bootmbootcmd=run rambootclocks_in_mhz=1Environment size: 730/16380 bytes################################################### Flash Memory Information##############################LEOX_elpt860: flinfoBank # 1: AMD AM29F040   (4 Mbits)  Size: 512 KB in 8 Sectors  Sector Start Addresses:    02000000 (RO) 02010000 (RO) 02020000 (RO) 02030000 (RO) 02040000    02050000      02060000      02070000################################################### Board Information Structure##############################LEOX_elpt860: bdinfomemstart    = 0x00000000memsize     = 0x01000000flashstart  = 0x02000000flashsize   = 0x00080000flashoffset = 0x00030000sramstart   = 0x00000000sramsize    = 0x00000000immr_base   = 0xFF000000bootflags   = 0x00000001intfreq     =     50 MHzbusfreq     =     50 MHzethaddr     = 00:03:ca:00:64:dfIP addr     = 192.168.0.30baudrate    =   9600 bps################################################### Image Download and run over serial port#    hello_world (S-Record image)#    ===> 1) Enter "loads" command into U-Boot monitor#    ===> 2) From TeraTerm's bar menu, Select 'File/Send file...'#            Then select 'hello_world.srec' with the file browser##############################U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present	 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***Board: ### No HW ID - assuming ELPT860DRAM:  16 MBFLASH: 512 kBIn:    serialOut:   serialErr:   serialNet:   SCC ETHERNETType "run nfsboot" to mount root filesystem over NFSHit any key to stop autoboot:  0LEOX_elpt860: loads## Ready for S-Record download ...S804040004F3050154000501709905014C000501388D## First Load Addr = 0x00040000## Last  Load Addr = 0x0005018B## Total Size      = 0x0001018C = 65932 Bytes## Start Addr      = 0x00040004LEOX_elpt860: go 40004 This is a test !!!## Starting application at 0x00040004 ...Hello Worldargc = 6argv[0] = "40004"argv[1] = "This"argv[2] = "is"argv[3] = "a"argv[4] = "test"argv[5] = "!!!"argv[6] = "<NULL>"Hit any key to exit ...## Application terminated, rc = 0x0################################################### Image download and run over ethernet interface#    Linux-2.4.4 (uImage) + Root filesystem mounted over NFS##############################U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present	 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***Board: ### No HW ID - assuming ELPT860DRAM:  16 MBFLASH: 512 kBIn:    serialOut:   serialErr:   serialNet:   SCC ETHERNETType "run nfsboot" to mount root filesystem over NFSHit any key to stop autoboot:  0LEOX_elpt860: run nfsbootARP broadcast 1TFTP from server 192.168.0.1; our IP address is 192.168.0.30Filename '/home/leox/uImage'.Load address: 0x400000Loading: #################################################################	 #############################doneBytes transferred = 477294 (7486e hex)## Booting image at 00400000 ...   Image Name:   Linux-2.4.4   Image Type:   PowerPC Linux Kernel Image (gzip compressed)   Data Size:    477230 Bytes = 466 kB = 0 MB   Load Address: 00000000   Entry Point:  00000000   Verifying Checksum ... OK   Uncompressing Kernel Image ... OKLinux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002On node 0 totalpages: 4096zone(0): 4096 pages.zone(1): 0 pages.zone(2): 0 pages.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:rtsched version <20010618.1050.24>Decrementer Frequency: 3125000Warning: real time clock seems stuck!Calibrating delay loop... 49.76 BogoMIPSMemory: 14720k available (928k kernel code, 384k data, 44k init, 0k highmem)Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)Page-cache hash table entries: 4096 (order: 2, 16384 bytes)Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)POSIX conformance testing by UNIFIXLinux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Starting kswapd v1.8CPM UART driver version 0.03ttyS0 on SMC1 at 0x0280, BRG1block: queued sectors max/low 9701kB/3233kB, 64 slots per queueRAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksizeeth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:dfNET4: Linux TCP/IP 1.0 for NET4.0IP Protocols: ICMP, UDP, TCPIP: routing cache hash table of 512 buckets, 4KbytesTCP: Hash tables configured (established 1024 bind 1024)NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.Looking up port of RPC 100003/2 on 192.168.0.1Looking up port of RPC 100005/2 on 192.168.0.1VFS: Mounted root (nfs filesystem).Freeing unused kernel memory: 44k initINIT: version 2.78 booting		Welcome to DENX Embedded Linux Environment		Press 'I' to enter interactive startup.Mounting proc filesystem:  [  OK  ]Configuring kernel parameters:  [  OK  ]Cannot access the Hardware Clock via any known method.Use the --debug option to see the details of our search for an access method.Setting clock : Wed Dec 31 19:00:11 EST 1969 [  OK  ]Activating swap partitions:  [  OK  ]Setting hostname 192.168.0.30:  [  OK  ]Finding module dependencies:[  OK  ]Checking filesystemsChecking all file systems.[  OK  ]Mounting local filesystems:  [  OK  ]Enabling swap space:  [  OK  ]INIT: Entering runlevel: 3Entering non-interactive startupStarting system logger: [  OK  ]Starting kernel logger: [  OK  ]Starting xinetd: [  OK  ]192 login: rootLast login: Wed Dec 31 19:00:41 on ttyS0bash-2.04#################################################### Image download and run over ethernet interface#    Linux-2.4.4 + Root filesystem mounted from RAM (pMulti)##############################U-Boot 0.2.2 (Jan 19 2003 - 11:08:39)CPU:   XPC860xxZPnnB at 50 MHz: 4 kB I-Cache 4 kB D-Cache FEC present	 *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***Board: ### No HW ID - assuming ELPT860DRAM:  16 MBFLASH: 512 kBIn:    serialOut:   serialErr:   serialNet:   SCC ETHERNETType "run nfsboot" to mount root filesystem over NFSHit any key to stop autoboot:  0LEOX_elpt860: run rambootARP broadcast 1TFTP from server 192.168.0.1; our IP address is 192.168.0.30Filename '/home/leox/pMulti'.Load address: 0x400000Loading: #################################################################	 #################################################################	 #################################################################	 #################################################################	 #################################################################	 ########################################################doneBytes transferred = 1947816 (1db8a8 hex)## Booting image at 00400000 ...   Image Name:   linux-2.4.4-2002-03-21 Multiboot   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)   Data Size:    1947752 Bytes = 1902 kB = 1 MB   Load Address: 00000000   Entry Point:  00000000   Contents:   Image 0:   477230 Bytes = 466 kB = 0 MB   Image 1:  1470508 Bytes = 1436 kB = 1 MB   Verifying Checksum ... OK   Uncompressing Multi-File Image ... OK   Loading Ramdisk to 00e44000, end 00fab02c ... OKLinux version 2.4.4-rthal5 (leox@p5ak6650) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Wed Jul 3 10:23:53 CEST 2002On node 0 totalpages: 4096zone(0): 4096 pages.zone(1): 0 pages.zone(2): 0 pages.Kernel command line: root=/dev/ram rwrtsched version <20010618.1050.24>Decrementer Frequency: 3125000Warning: real time clock seems stuck!Calibrating delay loop... 49.76 BogoMIPSMemory: 13280k available (928k kernel code, 384k data, 44k init, 0k highmem)Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)Page-cache hash table entries: 4096 (order: 2, 16384 bytes)Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)POSIX conformance testing by UNIFIXLinux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Starting kswapd v1.8CPM UART driver version 0.03ttyS0 on SMC1 at 0x0280, BRG1block: queued sectors max/low 8741kB/2913kB, 64 slots per queueRAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksizeeth0: CPM ENET Version 0.2 on SCC1, 00:03:ca:00:64:dfRAMDISK: Compressed image found at block 0Freeing initrd memory: 1436k freedNET4: Linux TCP/IP 1.0 for NET4.0IP Protocols: ICMP, UDP, TCPIP: routing cache hash table of 512 buckets, 4KbytesTCP: Hash tables configured (established 1024 bind 1024)IP-Config: Incomplete network configuration information.NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.VFS: Mounted root (ext2 filesystem).Freeing unused kernel memory: 44k in

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -