Linux-2.6.18在移植在JX2410上运行出现问题 求解决

linlixinjie 2013-03-28 09:40:45
## Starting application at 0x30008000 ...
Uncompressing Linux.............................................................Linux version 2.6.14 (root@localhost.localdomain) (gcc version 3.4.1) #1 Thu Ma3CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 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
Kernel command line: initrd=0x30800000,0x440000 mem=64M root=/dev/ram init=/lin0irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 58240KB available (1716K code, 378K data, 104K 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
softlockup thread 0 started up.
Freeing initrd memory: 4352K
NET: Registered protocol family 16
S3C2410: Initialising architecture
S3C2410 DMA Driver, (c) 2003-2004 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
NetWinder Floating Point Emulator V0.97 (extended precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Console: switching to colour frame buffer device 80x30
fb0: s3c2410fb frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 4 RAM disks of 16384K size 1024 blocksize
s3c2410-gggggg flash device: 2000000 at 0
gggggg flash device: Found 2 x16 devices at 0x0 in 32-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Creating 4 MTD partitions on "gggggg flash device":
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00800000 : "jffs2(8m)"
0x00800000-0x02000000 : "reserved"
0x02000000-0x02000000 : "nothing"
mtd: partition "nothing" is out of reach -- disabled
s3c2410-gggggg flash device initialized
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c6a00000
s3c2410-nand: timing: Tacls 40ns, Twrph0 81ns, Twrph1 81ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x73 (Samsung NAND 16MiB 3,3V 8-bi)Scanning device for bad blocks
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
RAMDISK: Compressed image found at block 0
RAMDISK: ran out of compressed data
invalid compressed format (err=1)
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 104K
Failed to execute /linuxrc. Attempting defaults...
attempt to access beyond end of device
ram0: rw=0, want=32784, limit=32768
EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode1/bin/sh: Kernel panic - not syncing: Attempted to kill init!
...全文
177 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Nuttx_Fan_now 2013-05-07
  • 打赏
  • 举报
回复
使用的是NorFlash作为程序存储?? 如果是确定是否采用的是JFFS2文件系统?? 再确认是否在linux内核driver/mtd/jffs2配置已经勾选上 看打印信息cfi_cmdset_0001: Erase suspend on write enabled看楼主用的是NorFlash 而实际读取用户文件系统所调用的Ext2文件系统接口
pro_or_gram 2013-04-20
  • 打赏
  • 举报
回复
从 “Failed to execute /linuxrc. Attempting defaults... attempt to access beyond end of device ram0: rw=0, want=32784, limit=32768 EXT2-fs error (device ram0): ext2_get_inode: unable to read inode block - inode1/bin/sh: Kernel panic - not syncing: Attempted to kill init! ” 推测, 你的root fs的构造可能存在问题。 一般来讲, 在kernel起来之后,会创建init进程,也就是在root fs中找那些典型路径下的可执行文件。 你的根文件系统是 initrd? 重新构建一下你的root fs吧, 如果是自己手动构建的话,可以使用 buildroot 或者 其他的third party来辅助你构建root fs image 你的root fs的根目录下没有/linuxrc 这个init程序, kernel试图去找默认的可执行程序以作为init程序运行。

4,438

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧