之前完成了U-BOOT linux基础内核的移植,现在想用busybox作jffs2根文件系统,但出现了问题,两天了,还没有什么进展,还请老大们帮忙分析,指点指点,先谢过了。
采用busyBox V1。70 版本,host机采用ubuntu开发环境,内核版本:2.6.22,现在内核启动并挂载jffs2后,无法运行/linuxrc,并停止了。
过程:
[code]U-Boot 1.1.6 (May 3 2009 - 14:04:48)
DRAM: 64 MB
Flash: 1 MB
NAND: 64 MB
In: serial
Out: serial
Err: serial
set GPBCON : 55555
Hit any key to stop autoboot: 0
MY2440# tftp 0x33000000 uImage
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 08:00:3e:06:0a:8b
TFTP from server 192.168.1.102; our IP address is 192.168.1.110
Filename 'uImage'.
Load address: 0x33000000
Loading: checksum bad
T #################################################################
#################################################################
#################################################################
#################################################################
###################
done
Bytes transferred = 1425396 (15bff4 hex)
MY2440# bootm
## Booting image at 33000000 ...
Image Name: Linux-2.6.22.6
Created: 2009-05-15 13:46:02 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1425332 Bytes = 1.4 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux...................................................................................
.......... done, booting the kernel.
Linux version 2.6.22.6 (renyucjs@renyucjs-laptop) (gcc version 3.4.1) #9 Fri May 15 21:45:47 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
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. Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200 rootfstype=jffs
2
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61824KB available (2632K code, 293K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)