LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1668|回复: 1

at91rm9200 移植linux2.6.17

[复制链接]
发表于 2006-11-2 15:05:30 | 显示全部楼层 |阅读模式
Uboot> setenv serverip 10.3.4.39
Uboot> setenv ipaddr 10.3.4.89
Uboot> setenv ethaddr 12:34:56:78:9a:bc
Uboot> tftp 21000000 zImage10
Eth_Init
TFTP from server 10.3.4.39; our IP address is 10.3.4.89
Filename 'zImage10'.
Load address: 0x21000000
Loading: #################################################################
         #################################################################
         #################################################################
         ########
done
Bytes transferred = 1034584 (fc958 hex)
Uboot> tftp 20410000 initrd.gz
Eth_Init
TFTP from server 10.3.4.39; our IP address is 10.3.4.89
Filename 'initrd.gz'.
Load address: 0x20410000
Loading: #################################################################
         ########################
done
Bytes transferred = 450719 (6e09f hex)
Uboot> go 21000000
## Starting application at 0x21000000 ...
Uncompressing Linux.............................................................Linux version 2.6.17.1 (root@localhost.localdomain) (gcc version 3.4.6) #2 Fri 6CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: mem=32M console=ttyS0,115200 initrd=0x20410000,3145728 roowAT91: 128 gpio irqs in 4 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 27192KB available (1688K code, 374K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 3072K
NET: Registered protocol family 16
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
io scheduler noop registered
io scheduler anticipatory registered (default)
AT91 Watchdog Timer enabled (5 seconds, nowayout=1)
ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (12:34:56:78:9a:bc)
eth0: Davicom 9196 PHY (Copper)
physmap flash device: 200000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Support for command set 0001 not present
gen_probe: No supported Vendor Command Set found
at91_cf: irqs det #64, io #0
usbmon: debugfs is not available
at91rm9200-ohci at91rm9200-ohci: AT91RM9200 OHCI
at91rm9200-ohci at91rm9200-ohci: new USB bus registered, assigned bus number 1
at91rm9200-ohci at91rm9200-ohci: irq 23, io mem 0x00300000
usb usb1: Product: AT91RM9200 OHCI
usb usb1: Manufacturer: Linux 2.6.17.1 ohci_hcd
usb usb1: SerialNumber: at91rm9200
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 8 March 2005
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
MMC: 4 wire bus mode not supported by this driver - using 1 wire
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 88K


BusyBox v1.2.2 (2006.10.27-07:43+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
# pccard: PCMCIA card inserted into slot 0



到这以后可以进入bash了
可是ifconfig ,route ,ping 命令都不支持
我该怎么办?
需要修改内核的什么地方?
望指教
 楼主| 发表于 2006-11-2 15:07:31 | 显示全部楼层
还有nfs也不支持
这些都怎么往新的文件系统加呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表