发新话题
打印

uboot114 for armsys2410b

uboot114 for armsys2410b

[hide][/hide]
change filename u-boot-1.1.4_for_armsys2410b.tar.gz.rar to u-boot-1.1.4_for_armsys2410b.tar.gz after download.

不是说提供uboot的移植代码么?本来想学习一下,怎么找了半天没有看到,听说还只有个bin,搞什么啊,u-boot可是sourceforge的开源工程啊!!?那我把以前移植的发出来献丑了,有个问题linux跑起来BogoMIPS只有49.86,是代码有问题,还是本来就跑这么快?高人指点一下。


U-Boot 1.1.4 (Jan 14 2006 - 02:09:02)

U-Boot code: 33F80000 -> 33F9985C  BSS: -> 33F9D970
RAM Configuration:
Bank #0: 30000000 64 MB
Flash:  1 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

ARMSYS2410-B # help
?       - alias for 'help'
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
bootvx  - Boot vxWorks from an ELF image
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
date    - get/set/reset date & time
dcache  - enable or disable data cache
echo    - echo args to console
erase   - erase FLASH memory
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
icache  - enable or disable instruction cache
iminfo  - print header information for application image
imls    - list all images found in flash
itest   - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nfs     - boot image via network using NFS protocol
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
regd    - Show Regs of S3C2410
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ARMSYS2410-B #

ARMSYS2410-B # printenv
bootcmd=tftp 30007fc0 z; bootm 30007fc0
bootdelay=5
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
netmask=255.255.255.0
bootargs=console=ttyS0 root=/dev/nfs nfsroot=192.168.0.101:/armsys2410/root ip=192.168.0.111:192.168.0.1:192.168.0.1:255.255.255.0:a
rmsys.hzlitai.com:eth0ff
ipaddr=192.168.0.222
gatewayip=192.168.0.1
serverip=192.168.0.111
stdin=serial
stdout=serial
stderr=serial

Environment size: 382/65532 bytes

ARMSYS2410-B # setenv serverip 192.168.0.101
ARMSYS2410-B # boot
TFTP from server 192.168.0.101; our IP address is 192.168.0.222
Filename 'z'.
Load address: 0x30007fc0
Loading: #################################################################
         #################################################################
         ##############################################
done
Bytes transferred = 900652 (dbe2c hex)
## Booting image at 30007fc0 ...
   Image Name:    linux-2.6.10
   Created:      2006-01-12  20:31:21 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    900588 Bytes = 879.5 kB
   Load Address: 30007fc0
   Entry Point:  30008000
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
## Transferring control to Linux (at address 30008000) ...
Kernel command line is console=ttyS0 root=/dev/nfs nfsroot=192.168.0.101:/armsys2410/root ip=192.168.0.111:192.168.0.1:192.168.0.1:2
55.255.255.0:armsys.hzlitai.com:eth0ff

Starting kernel ...

Uncompressing Linux........................................................... done, booting the kernel.
Linux version 2.4.18-rmk7-pxa1 (root@localhost) (gcc version 2.95.3 20010315 (release)) #113 三 10月 5 14:12:53 CST 2005
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 root=/dev/nfs nfsroot=192.168.0.101:/armsys2410/root ip=192.168.0.111:192.168.0.1:192.168.0.1:255
.255.255.0:armsys.hzlitai.com:eth0ff
DEBUG: timer count 15626
Console: colour dummy device 80x30
Calibrating delay loop... 49.86 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62476KB available (1473K code, 440K data, 76K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
check your kernel config.
USB Function Character Driver Interface - 0.5, (C) 2001, Extenex Corp.
usbctl: Opened for usb-char
usbctl: Started for usb-char
Starting kswapd
devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2410
Console: switching to colour frame buffer device 80x30
Installed S3C2410 frame buffer for TFT 640x480 LCD.
pty: 256 Unix98 ptys configured
leds initialized
s3c2410-ts initialized
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
eth0: cs8900 rev K(3.3 Volts) found at 0xd0000300
cs89x0 media RJ-45, IRQ 37
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
UDA1341 audio driver initialized
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Creating 3 MTD partitions on "NAND 64MiB 3,3V":
0x00000000-0x00030000 : "boot"
0x00030000-0x00200000 : "kernel"
0x00200000-0x04000000 : "rootfs"
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
usb.c: registered new driver usblp
printer.c: v0.8:USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
IP-Config: Complete:
      device=eth0, addr=192.168.0.111, mask=255.255.255.0, gw=192.168.0.1,
     host=armsys, domain=, nis-domain=hzlitai.com,
     bootserver=192.168.0.1, rootserver=192.168.0.101, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Looking up port of RPC 100003/2 on 192.168.0.101
Looking up port of RPC 100005/1 on 192.168.0.101
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
init started:  BusyBox v0.60.5 (2003.09.05-09:25+0000) multi-ca? binary
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^     Welcome to NFS root filesystem!     ^
^          www.hzlitai.com.cn             ^
^                                         ^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[30/Apr/2004:08:35:23 +0000] boa: server version Boa/0.94.13
[30/Apr/2004:08:35:23 +0000] boa: server built Feb 28 2004 at 21:47:23.
[30/Apr/2004:08:35:23 +0000] boa: starting server pid=29, port 80

Please press Enter to activate this console. boot


BusyBox v0.60.5 (2003.09.05-09:25+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

[root@lyt /]# cat /proc/cpu
/proc/cpu/      /proc/cpuinfo
[root@lyt /]# cat /proc/cpuinfo
Processor       : ARM/CIRRUS Arm920Tsid(wb) rev 0 (v4l)
BogoMIPS        : 49.86
Features        : swp half thumb
CPU implementor : 0x41
CPU architecture: 4T
CPU variant     : 0x1
CPU part        : 0x920
CPU revision    : 0
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format A
Cache unified   : harvard
I size          : 8192
I assoc         : 32
I line length   : 32
I sets          : 8
D size          : 8192
D assoc         : 32
D line length   : 32
D sets          : 8

Hardware        : Samsung-SMDK2410
Revision        : 0000
Serial          : 0000000000000000
[root@lyt /]#


[此贴子已经被admin于2006-9-13 10:36:51编辑过]

附件: 您所在的用户组无法下载或查看附件

TOP

Calibrating delay loop... 99.94 BogoMIPS 

TOP

nvbnvb

TOP

看看

TOP

正需要,

TOP

需要啊,好人

TOP

看看,参考一下,最近在搞这个,谢过了。

TOP

GOOD

TOP

请问:根文件系统的启动参数除了在kernel里配置,还有别的地方需要改么

TOP

TOP

发新话题