主题 : 求助  把Xenomai实时补丁一直到mini2440板子上时系统不能启动 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 53179
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2011-08-02
最后登录: 2011-08-11
楼主  发表于: 2011-08-02 16:10

 求助  把Xenomai实时补丁一直到mini2440板子上时系统不能启动

各位大虾们:
  最近想把xenomai实时补丁打到linux2.6.33上,然后移植到mini2440的板子上,为了保险起见,我先移植了没打补丁的linux2.6.33,移植是成功的,系统能顺利地挂载NFS根文件。可是当我打上补丁重新烧写的时候系统启动信息一直停在io scheduler cfq registered (default)这一句之后……然后就停止不动了……正常情况下(没打补丁的)之后会输出“Console: switching to colour frame buffer device 30x40”之类的信息。我不知道是不是补丁打错了,还是make menuconfig 之中的配置有问题……求教……


下面是我打上补丁的启动信息
## Booting kernel from Legacy Image at 31000000 ...
   Image Name:   Linux-2.6.33HDU_MINI2440
   Created:      2011-08-02   7:49:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2452620 Bytes =  2.3 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33HDU_MINI2440 (root@localhost.localdomain) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 Tue Aug 2 14:54:31 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: HDU-mini2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/nfs rw nfsroot=10.21.15.122:/work/myrootfs ip=10.21.15.144:10.21.15.122::255.255.255.0 console=ttySAC0,115200 init=/linuxrc mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
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: 59664KB available (4392K code, 541K data, 132K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
I-pipe, 8.437 MHz clocksource
I-pipe 1.18-02: pipeline enabled.
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.21.
Switching to clocksource ipipe_tsc
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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
I-pipe: Domain Xenomai registered.
Xenomai: hal/arm started.-----------------------------------------------------------------------------------------------------
Xenomai: scheduling class idle registered.                                                                                                    xenomai貌似成功启动了
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.5.6 (Wormhole Wizards) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
Xenomai: starting uITRON services.-----------------------------------------------------------------------------------------
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (SUMMARY)  Â© 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Aug  2 2011 14:49:45 Installing.
msgmni has been set to 116
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)------------------------------------------------------------------------------------->系统就停在这里进行不下去了
级别: 新手上路
UID: 53179
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2011-08-02
最后登录: 2011-08-11
1楼  发表于: 2011-08-03 19:26

 Re:求助 把Xenomai实时补丁一直到mini2440板子上时系统不能启动

求教啊
级别: 新手上路
UID: 55605
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2011-09-20
最后登录: 2011-12-30
2楼  发表于: 2011-09-20 19:28

 Re:求助 把Xenomai实时补丁一直到mini2440板子上时系统不能启动

我也是,系统没反应了,不知道怎么回事?
级别: 新手上路
UID: 55605
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2011-09-20
最后登录: 2011-12-30
3楼  发表于: 2011-09-22 11:22

 Re:求助  把Xenomai实时补丁一直到mini2440板子上时系统不能启动

请问楼主的问题怎么解决的?
级别: 新手上路
UID: 89047
精华: 0
发帖: 19
金钱: 95 两
威望: 19 点
综合积分: 38 分
注册时间: 2013-03-20
最后登录: 2017-09-13
4楼  发表于: 2016-04-18 20:43

 Re:求助 把Xenomai实时补丁一直到mini2440板子上时系统不能启动

linux内核和补丁版本不同