All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch
@ 2009-08-24 10:38 wangxiyu8237
  2009-08-24 10:51 ` Sebastian Smolorz
  2009-08-24 15:34 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: wangxiyu8237 @ 2009-08-24 10:38 UTC (permalink / raw)
  To: xenomai-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 5031 bytes --]

hello  :
    
I'm porting xenomai to SAMSUMG s3c2410 processor (on SMDK2410) as per
porting guidelines. In the first phase, applied
adeos-ipipe-2.6.26-arm-1.12-00 patch found in xenomai-2.4.8 to kernel
2.6.26.8 and have implemented required machine specific code.  add a driver of CS8900, 
kernel booted but with a problem , kernel doesn't boot VFS and ipconfig. 

what hanpen that  I  doesn't  konwn ;

Following are last few kernel boot log messages:


Linux................................................................................................................. done, booting the kernel.
Linux version 2.6.26.8 (root@xudz-linux) (gcc version 4.1.0) #4 Sun Aug 23 10:45:35 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2410
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 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 in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.33:/arm/root ip=192.168.1.44:192.168.1.33:192.168.1.33:255.255.255.0:debian:eth0:off
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
I-pipe 1.12-00: pipeline enabled.
Console: colour dummy device 80x30
console [ttySAC0] enabled
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: 61056KB available (3280K code, 417K data, 120K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 192 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2410: Initialising architecture
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
I-pipe: Domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: real-time nucleus v2.4.8 (Lords Of Karma) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs Aug 23 2009 10:04:44 Installing. 
msgmni has been set to 119
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
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
brd: module loaded
loop: module loaded
nbd: registered device at major 43
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq=53, addr: 08: 0:3E:26:0A:5B
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand s3c2410-nand: Tacls=3, 30ns Twrph0=7 70ns, Twrph1=3 30ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
s3c2410_nand_update_chip: chip c3e0a8bc: 9
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "u-boot"
0x00100000-0x00400000 : "kernel"
0x00400000-0x02c00000 : "rootfs"
0x02c00000-0x04000000 : "usr"
aoe: AoE v47 initialised.
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
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.

-- kernel boot log messages end --

2009-08-24 



wangxiyu8237 

[-- Attachment #2: Type: text/html, Size: 9722 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch
  2009-08-24 10:38 [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch wangxiyu8237
@ 2009-08-24 10:51 ` Sebastian Smolorz
  2009-08-24 15:34 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Smolorz @ 2009-08-24 10:51 UTC (permalink / raw)
  To: wangxiyu8237; +Cc: xenomai

wangxiyu8237 wrote:
> I'm porting xenomai to SAMSUMG s3c2410 processor (on SMDK2410) as per
> porting guidelines.

That was unneccessary. This ARM processor is supported for more than 2 
years.

-- 
Sebastian



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch
  2009-08-24 10:38 [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch wangxiyu8237
  2009-08-24 10:51 ` Sebastian Smolorz
@ 2009-08-24 15:34 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2009-08-24 15:34 UTC (permalink / raw)
  To: wangxiyu8237; +Cc: xenomai-help

wangxiyu8237 wrote:
> hello  :
>    
> I'm porting xenomai to SAMSUMG s3c2410 processor (on SMDK2410) as per
> porting guidelines. In the first phase, applied
> adeos-ipipe-2.6.26-arm-1.12-00 patch found in xenomai-2.4.8 to kernel
> 2.6.26.8 and have implemented required machine specific code.  add a
> driver of CS8900, 

It looks like you have reinvented the wheel:
- the linux kernel already has a driver for the cs89x0 ethernet interface;
- Xenomai already has support for the s3c chips.

> kernel booted but with a problem , kernel doesn't boot VFS and ipconfig. 

Well, your I-pipe support is probably buggy. Did you check whether the
hardware timer is still ticking when the kernel stops? I am afraid if
you want to write your own I-pipe support you will have to debug it...

-- 
                                          Gilles



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-24 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-24 10:38 [Xenomai-help] kernel doesn't boot , after add the xenomai-2.4.8 patch wangxiyu8237
2009-08-24 10:51 ` Sebastian Smolorz
2009-08-24 15:34 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.