QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2149|回复: 2

求达人帮我看下这是什么问题!!谢谢了!!

[复制链接]
发表于 2008-2-14 18:22:18 | 显示全部楼层 |阅读模式
内核版本:2.6.20

根据http://skyeye.wiki.sourceforge.net/Linux所写的修改了内核以下内容:
modify [include/asm-arm/arch-s3c2410/map.h:171]
> #define S3C2410_CS6 (0x30000000)
> to
> #define S3C2410_CS6 (0xC0000000)
modify [include/asm-arm/arch-s3c2410/memory.h:21]
> #define PHYS_OFFSET UL(0x30000000)
> to
> #define PHYS_OFFSET UL(0xC0000000)

skyeye.conf如下:
cpu:arm920t
mach:s3c2410x
                                                                                
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xc0800000, size=0x00800000, file=./vmlinux
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
#net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#lcd:type=s3c2410x,mod=gtk
dbct:state=on



[root@localhost s3c2410]# skyeye -e vmlinux
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x8080354
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM   ./vmlinux
dbct translate block use memory 0x03ff871a bytes.
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000  size = 0x0001e000.
load section .text: addr = 0xc0026000  size = 0x0028dfe8.
not load section .rodata: addr = 0xc02b4000  size = 0x00000000 .
not load section .pci_fixup: addr = 0xc02b4000  size = 0x00000000 .
not load section .rio_route: addr = 0xc02b4000  size = 0x00000000 .
load section __ksymtab: addr = 0xc02b4000  size = 0x00004438.
load section __ksymtab_gpl: addr = 0xc02b8438  size = 0x00001018.
not load section __ksymtab_unused: addr = 0xc02b9450  size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0xc02b9450  size = 0x00000000 .
load section __ksymtab_gpl_future: addr = 0xc02b9450  size = 0x00000018.
not load section __kcrctab: addr = 0xc02b9468  size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc02b9468  size = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc02b9468  size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0xc02b9468  size = 0x00000000 .
not load section __kcrctab_gpl_future: addr = 0xc02b9468  size = 0x00000000 .
load section __ksymtab_strings: addr = 0xc02b9468  size = 0x0000c080.
load section __param: addr = 0xc02c54e8  size = 0x000004c4.
load section .data: addr = 0xc02c6000  size = 0x00020da0.
not load section .bss: addr = 0xc02e6da0  size = 0x00025f0c .
not load section .comment: addr = 0x00000000  size = 0x00002e44 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x000a35c7 .
not load section .debug_info: addr = 0x00000000  size = 0x013518c0 .
not load section .debug_line: addr = 0x00000000  size = 0x0014c5ca .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0001db04 .
not load section .debug_str: addr = 0x00000000  size = 0x0007df0b .
not load section .debug_aranges: addr = 0x00000000  size = 0x000063a8 .
not load section .debug_frame: addr = 0x00000000  size = 0x00057144 .
not load section .debug_ranges: addr = 0x00000000  size = 0x00023440 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.20 ([email protected]) (gcc version 3.4.1) #1 Thu Feb 14 17:56:47 CST 2008
CPU: ARM920T [41009200] revision 0 (ARMvundefined/unknown), cr=00003177
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 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: 4064
Kernel command line: root=/dev/hda1 ro init=/bin/bash console=ttySAC0
PID hash table entries: 64 (order: 6, 256 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 13112KB available (2688K code, 283K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
Registering sysclass
DMA channel 0 at c1800000, irq 33
DMA channel 1 at c1800040, irq 34
DMA channel 2 at c1800080, irq 35
DMA channel 3 at c18000c0, irq 36
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2410: Initialising architecture
0:               xdreq0, channels 0---
1:               xdreq1, channels -1--
2:                  sdi, channels 0-23
3:                 spi0, channels -1--
4:                 spi1, channels ---3
5:                uart0, channels 0---
6:                uart1, channels -1--
7:                uart2, channels ---3
8:                timer, channels 0-23
9:              i2s-sdi, channels -12-
10:              i2s-sdo, channels --2-
11:               <NULL>, channels ----
12:               <NULL>, channels ----
13:               <NULL>, channels ----
14:              usb-ep1, channels 0---
15:              usb-ep2, channels -1--
16:              usb-ep3, channels --2-
17:              usb-ep4, channels ---3
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: 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)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
dm9000 Ethernet Driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand s3c2410-nand: Tacls=2, 32ns Twrph0=4 64ns, Twrph1=2 32ns
ERROR: s3c2410x_io_write_word(0x4e000000) = 0x00008131
ERROR: s3c2410x_io_write_word(0x4e000000) = 0xfffff7ff
ERROR: s3c2410x_io_write_word(0x4e000004) = 0x00000090
ERROR: s3c2410x_io_write_word(0x4e00000 = 0x00000000
No NAND device found!!!
ERROR: s3c2410x_io_write_word(0x4e000000) = 0xffffffff
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
ERROR: s3c2410x_io_write_word(0x49000010) = 0x40000000
ERROR: s3c2410x_io_write_word(0x4900000 = 0x00000008
s3c2410-ohci s3c2410-ohci: USB HC takeover failed!  (BIOS/SMM bug)
s3c2410-ohci s3c2410-ohci: startup error -16
s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered
s3c2410-ohci: probe of s3c2410-ohci failed with error -16
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
ERROR: s3c2410x_io_write_word(0x5400000 = 0x00000010
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz
ERROR: s3c2410x_io_write_word(0x54000000) = 0x000000a9
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)


望达人帮忙回答,谢谢!
发表于 2008-2-19 17:49:10 | 显示全部楼层
You need to re-config linux kenrel to support ramdisk and initrd by "make menuconfig".
回复

使用道具 举报

发表于 2008-2-19 23:32:48 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-23 01:27 , Processed in 0.097345 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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