QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4142|回复: 10

我的SkyEye -V1.0不能模拟xscale的原因?!

[复制链接]
发表于 2005-9-18 17:14:25 | 显示全部楼层 |阅读模式
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = (null), server TCP port is 12345
Error: Unkonw cpu name "xscale"
"cpu" option parameter error!
mach info: name pxa_lubbock, mach_init addr 0x808d470
can't find device module: (null)
段错误
root@ubuntu:~/rootfs #
按照
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=85893
在SkyEye上模拟Lubbock
在SkyEye -V1.0中出现上面问题Unkonw cpu name "xscale"
测试包中的PXA程序也不能运行
问题差不多
root@ubuntu:~/rootfs # cd ..
root@ubuntu:~ # cd skyeye-testsuit-V2.0
root@ubuntu:~/skyeye-testsuit-V2.0 # cd pxa
root@ubuntu:~/skyeye-testsuit-V2.0/pxa # ls
2.6.x
root@ubuntu:~/skyeye-testsuit-V2.0/pxa # cd 2.6.x
root@ubuntu:~/skyeye-testsuit-V2.0/pxa/2.6.x # ls
initrd_minigui.img  skyeye.conf  skyeye.conf~  vmlinux
root@ubuntu:~/skyeye-testsuit-V2.0/pxa/2.6.x # skyeye
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = (null), server TCP port is 12345
Error: Unkonw cpu name "xscale"
"cpu" option parameter error!
mach info: name pxa_lubbock, mach_init addr 0x808d470
lcd_mod:0
段错误
root@ubuntu:~/skyeye-testsuit-V2.0/pxa/2.6.x # skyeye -e vmlinux -c skyeye.conf
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = skyeye.conf, server TCP port is 12345
Error: Unkonw cpu name "xscale"
"cpu" option parameter error!
mach info: name pxa_lubbock, mach_init addr 0x808d470
lcd_mod:0
段错误
root@ubuntu:~/skyeye-testsuit-V2.0/pxa/2.6.x #
发表于 2005-9-19 13:46:58 | 显示全部楼层
贴一下你的skyeye.conf,错误提示:"cpu" option parameter error!
回复

使用道具 举报

发表于 2005-9-19 14:01:00 | 显示全部楼层
老的skyeye.conf 还没来得及改。
我已经更新了skyeye-testsuit-2.0.tar.bz2 你可以下载新的。

或者用如下方法:
把老的skyeye.conf中的如下行进行改变:
cpu: xscale
改为
cpu: pxa25x

既可
回复

使用道具 举报

 楼主| 发表于 2005-9-19 21:58:22 | 显示全部楼层
我编译的linux2.6.10内核不能运行,总是解压内核之后就没有反应了,而这是CPU的使用率是100%,skyeye好像还在运行。后来我怀疑是串口驱动没有加入,但是我检查了一下编译了串口驱动,现面是运行时的状况:
root@ubuntu:~/rootfs # skyeye
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = (null), server TCP port is 12345
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808b7e0
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
lcd_mod:0
SKYEYE: use arm920t mmu ops
Loaded RAM   ./zImage
Loaded RAM   ./initrd.img
Uncompressing Linux........................................................... done, booting the kernel.
到了这里就没有 显示了
我的skyeye.conf文件如下
cpu:  arm920t
mach: s3c2410x

#physical memory  

mem_bank: map=M, type=RW, addr=0xc0000000, size=0x01000000, file=./zImage,boot=yes
mem_bank: map=M, type=RW, addr=0xc1000000, size=0x01000000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0xc2000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0xc3000000, size=0x01000000
#all peripherals I/O mapping area

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:state=on,type=s3c2410x,mod=gtk
#dbct:state=on
还有dbct选项好像有点问题不能用,提示
dbct info: turn on dbct!
"dbct" option parameter error!
lcd状态是0,打不开
lcd_mod:0

我内核的COMMAND_LINE如下,串口的设置好像也没有问题
root=/dev/ram rw initrd=0xc1000000,0x01000000
console=ttyS0,115200 mem=64M

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.10
# Mon Sep 19 21:19:28 2005
#
CONFIG_ARM=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_IOMAP=y

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_HOTPLUG is not set
# CONFIG_KOBJECT_UEVENT is not set
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_EXTRA_PASS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# System Type
#
# CONFIG_ARCH_CLPS7500 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_CAMELOT is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_IOP3XX is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
CONFIG_ARCH_S3C2410=y
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_LH7A40X is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_H720X is not set

#
# S3C24XX Implementations
#
# CONFIG_ARCH_BAST is not set
# CONFIG_ARCH_H1940 is not set
CONFIG_ARCH_SMDK2410=y
# CONFIG_MACH_VR1000 is not set
# CONFIG_MACH_RX3715 is not set
CONFIG_CPU_S3C2410=y

#
# S3C2410 Setup
#
# CONFIG_S3C2410_DMA is not set
CONFIG_S3C2410_LOWLEVEL_UART_PORT=0

#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_ARM920T=y
CONFIG_CPU_32v4=y
CONFIG_CPU_ABRT_EV4T=y
CONFIG_CPU_CACHE_V4WT=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y

#
# Processor Features
#
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_WRITETHROUGH is not set

#
# General setup
#
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
# CONFIG_XIP_KERNEL is not set

#
# At least one math emulation must be selected
#
# CONFIG_FPE_NWFPE is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
# CONFIG_PM is not set
# CONFIG_ARTHUR is not set
CONFIG_CMDLINE="root=/dev/ram rw initrd=0xc1000000,0x01000000 console=tty0 console=ttyS0 mem=64M"
CONFIG_ALIGNMENT_TRAP=y

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Plug and Play support
#

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CDROM_PKTCDVD is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_PACKET is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
CONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_IP_TCPDIAG is not set
# CONFIG_IP_TCPDIAG_IPV6 is not set
# CONFIG_NETFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
# CONFIG_NET_CLS_ROUTE is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_SMC91X is not set

#
# Ethernet (1000 Mbit)
#

#
# Ethernet (10000 Mbit)
#

#
# Token Ring devices
#

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_SCSI is not set

#
# Fusion MPT device support
#

#
# IEEE 1394 (FireWire) support
#

#
# I2O device support
#

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_RAW is not set

#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_S3C2410=y
CONFIG_SERIAL_S3C2410_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_S3C2410_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
CONFIG_ROMFS_FS=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
CONFIG_AUTOFS_FS=y
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_SYSFS=y
# CONFIG_DEVPTS_FS_XATTR is not set
# CONFIG_TMPFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_HFSPLUS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFSD is not set
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_EXPORTFS is not set
CONFIG_SUNRPC=y
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
# CONFIG_NLS is not set

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
CONFIG_FB_VIRTUAL=y

#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Logo configuration
#
# CONFIG_LOGO is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# Misc devices
#

#
# USB support
#
# CONFIG_USB is not set
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# MMC/SD Card support
#
# CONFIG_MMC is not set

#
# Kernel hacking
#
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_INFO is not set
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_USER is not set
CONFIG_DEBUG_S3C2410_UART=0

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
# CONFIG_CRYPTO is not set

#
# Library routines
#
# CONFIG_CRC_CCITT is not set
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
回复

使用道具 举报

 楼主| 发表于 2005-9-19 22:02:04 | 显示全部楼层
上面的配置文件中的CONFIG_CMDLINE="root=/dev/ram rw initrd=0xc1000000,0x01000000 console=tty0 console=ttyS0 mem=64M"是没有显示后我改成这样
回复

使用道具 举报

发表于 2005-9-19 23:24:58 | 显示全部楼层
首先假定你用最新的(今天上载)skyeye-testsuit-2.0 上的pxa linux和image是可以运行的。
为了更好地调试linux,我们修改了linux的源码,把物理地址从a0000000 改为c0000000

如果你用的是最新的skyeye-testsuit-2.0 上的pxa的skyeye.conf,
那么就需要修改两个文件
arch/arm/mach-pxa/lubbock.c  
include/asm-arm/arch-pxa/memory.h
每个文件中有一行包含了 a0000000
改为  c0000000

然后修改 .config中的
CONFIG_CMDLINE="root=/dev/ram rw initrd=0xc1000000,0x01000000 console=tty0 console=ttyS0 mem=64M
保证与 你用tessuit for pxa 的内核显示一样既可。

然后编译内核,就可以了。
回复

使用道具 举报

 楼主| 发表于 2005-9-20 22:57:10 | 显示全部楼层
编译内核运行后出现下面现象
root@ubuntu:~/rootfs # skyeye -c skyeye.conf
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = skyeye.conf, server TCP port is 12345
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x808d470
lcd_mod:0
dbct info: turn off dbct!
"dbct" option parameter error!
SKYEYE: use xscale mmu ops
Loaded RAM   zImage
Loaded RAM   ./initrd_minigui.img
Uncompressing Linux.............................................................. done, booting the kernel.
`Linux version 2.6.10 (root@ubuntu) (gcc version 3.4.1) #1 Tue Sep 20 22:47:03 CST 2005
CPU: XScale-PXA250 [69052100] revision 0 (ARMv5TE)
CPU: D VIVT undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: Intel DBPXA250 Development Platform (aka Lubbock)
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 99.53MHz (*1)
Turbo Mode clock: 99.53MHz (*1.0, inactive)
Built 1 zonelists
Kernel command line: root=/dev/ram0 console=ttyS0 initrd=0xa0800000,0x00800000 rw mem=64M options=mode:640x480-8
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 62848KB available (1550K code, 310K data, 80K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0
PC is at strlen+0xc/0x28
LR is at strlcpy+0x20/0x58
pc : [<c00da2cc>]    lr : [<c00da308>]    Not tainted
sp : c02a9f84  ip : c02a9f94  fp : c02a9f90
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : c001b090  r6 : 00000000  r5 : c02a8000  r4 : 00000100
r3 : c01e540c  r2 : 00000100  r1 : 00000000  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 3937  Table: A0004000  DAC: 0000001D
Process swapper (pid: 1, stack limit = 0xc02a8190)
Stack: (0xc02a9f84 to 0xc02aa000)
9f80:          c02a9fb0 c02a9f94 c00da308 c00da2cc c00194ac c02a8000 00000000
9fa0: c0019504 c02a9fc0 c02a9fb4 c00e271c c00da2f4 c02a9fd4 c02a9fc4 c00e2760
9fc0: c00e270c 00000000 c02a9ff4 c02a9fd8 c001c260 c00e2734 00000000 00000000
9fe0: 00000000 00000000 00000000 c02a9ff8 c002e164 c001c1e0 00000000 00000000
Backtrace:
[<c00da2c0>] (strlen+0x0/0x2 from [<c00da308>] (strlcpy+0x20/0x5
[<c00da2e8>] (strlcpy+0x0/0x5 from [<c00e271c>] (pxafb_setup+0x1c/0x2
r7 = C0019504  r6 = 00000000  r5 = C02A8000  r4 = C00194AC
[<c00e2700>] (pxafb_setup+0x0/0x2 from [<c00e2760>] (pxafb_init+0x38/0x4c)
[<c00e2728>] (pxafb_init+0x0/0x4c) from [<c001c260>] (init+0x8c/0x1c
[<c001c1d4>] (init+0x0/0x1c from [<c002e164>] (do_exit+0x0/0xb54)
r7 = 00000000  r6 = 00000000  r5 = 00000000  r4 = 00000000
Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5d03000)
<0>Kernel panic - not syncing: Attempted to kill init!
回复

使用道具 举报

发表于 2005-9-20 23:03:08 | 显示全部楼层
很快就会成功了!

可能是pxafb的一个bug。
把pxafb.c的一行(在pxafb_setup中)注释掉就可以了。具体哪行你自己找找看?

或者不要内核编译fb支持。

成功后,记得把信息输出出来。
回复

使用道具 举报

 楼主| 发表于 2005-9-22 21:37:30 | 显示全部楼层
按照上面的提示问题解决了
[quote:c947e9eae0="gaiwang0142"][quote:c947e9eae0="chyyuu"]很快就会成功了!

可能是pxafb的一个bug。
把pxafb.c的一行(在pxafb_setup中)注释掉就可以了。具体哪行你自己找找看?

或者不要内核编译fb支持。

成功后,记得把信息输出出来。[/quote]
根据陈大侠提示,是由于pxafb的一个bug造成
解决办法是注释掉linux内核drivers/video目录下pxafb.c中pxafb_setup函数的内容或者编译内核去掉Frame Buffer支持
我是这样做的
int __devinit pxafb_setup(char *options)
{
# ifdef CONFIG_FB_PXA_PARAMETERS
//        strlcpy(g_options, options, sizeof(g_options));
# endif
        return 0;
}[/quote]
但是到了下面就停止了
不能执行BUSYBOX
root@ubuntu:~/rootfs # skyeye
------------------------- SkyEye -V1.0 ---------------------------
Usage: SkyEye [options] program [program args]
Default mode is STANDALONE mode
------------------------------------------------------------------
Options:
-e exec-file        the (ELF executable format)kernel file name.
-d                  in GDB Server mode (can be connected by GDB).
-c config-file      the skyeye configure file name.
-h                  This Help Display
------------------------------------------------------------------
debugmode= 0, filename = (null), server TCP port is 12345
cpu info: xscale, pxa25x, 69052100, fffffff0, 2
mach info: name pxa_lubbock, mach_init addr 0x808d470
lcd_mod:0
SKYEYE: use xscale mmu ops
Loaded RAM   zImage
Loaded RAM   ./initrd.img
Uncompressing Linux.............................................................. done, booting the kernel.
`Linux version 2.6.10 (root@ubuntu) (gcc version 3.4.1) #8 Wed Sep 21 23:28:46 CST 2005
CPU: XScale-PXA250 [69052100] revision 0 (ARMv5TE)
CPU: D VIVT undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: Intel DBPXA250 Development Platform (aka Lubbock)
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 99.53MHz (*1)
Turbo Mode clock: 99.53MHz (*1.0, inactive)
Built 1 zonelists
Kernel command line: root=/dev/ram0 console=ttyS0 initrd=0xa1000000,0x01000000 rw mem=64M
PID hash table entries: 512 (order: 9, 8192 bytes)
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: 46464KB available (1554K code, 313K data, 92K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 16384K
NET: Registered protocol family 16

SKYEYE:  lcd_addr_begin 0xa1e01000,lcd_addr_end 0xa1e96fff, width 640, height 480, depth 16
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
smc91x: not found (-19).
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 92K
`
root@ubuntu:~/rootfs #
到了Freeing init memory: 92K就停止不动了
不能够执行下面/sbin/init也就是busybox了
`Shell invoked to run file:
Command: #!/bin/sh
回复

使用道具 举报

发表于 2005-9-23 21:59:03 | 显示全部楼层
我用skyeye0.8.0可以跑,用1。0好像跑不了了。??
回复

使用道具 举报

 楼主| 发表于 2005-9-24 18:33:50 | 显示全部楼层
谢谢上面的兄弟回复
原因找到了
在内核里加入一个叫什么运算仿真器的支持就可以了
General setup-->NWFPE math emulation
Linux Kernel v2.6.10 Configuration

  ┌─────────────────────────────────────────────────────────────────────┐ │
  │ │(0x0) Compressed ROM boot loader base address                        │ │
  │ │(0x0) Compressed ROM boot loader BSS address                         │ │
  │ │[ ] Kernel Execute-In-Place from ROM                                 │ │
  │ │--- At least one math emulation must be selected                     │ │
  │ │
  • NWFPE math emulation<---就是这个了
      │ │[ ]   Support extended precision                                     │ │
      │ │
  • Kernel support for ELF binaries                                  │ │
      │ │< > Kernel support for a.out and ECOFF binaries                      │ │
      │ │< > Kernel support for MISC binaries                                 │ │
      │ │    Generic Driver Options  --->                                     │ │
      │
  • 回复

    使用道具 举报

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

    本版积分规则

    GMT+8, 2024-6-5 01:18 , Processed in 0.126653 second(s), 16 queries .

    © 2021 Powered by Discuz! X3.5.

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