* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
@ 2010-09-01 7:47 Gao
2010-09-01 7:52 ` Philippe Gerum
0 siblings, 1 reply; 8+ messages in thread
From: Gao @ 2010-09-01 7:47 UTC (permalink / raw)
To: xenomai
[-- Attachment #1.1: Type: text/plain, Size: 3759 bytes --]
Hi All,
I patched the kernel with xenomai, but the kernel "cuImage" cannot boot up,
below is the console output:
U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: RXT-2000
I2C: ready
DRAM: 32 MB
1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
IRIS: bd->bi_memsize (2000000)
Now running in RAM - U-Boot at: 01f89000
FLASH: 16 MB
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET
IRIS: IDE testing
IRIS: CONFIG_CMD_IDE
PCMCIA:IRIS: NO CONFIG_START_IDE
SanDisk SDP 5/3 0.6
Fixed Disk Card
IDE interface
[silicon] [unique] [single] [sleep] [standby] [idle] [low power]
Bus 0: OK
Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#: AOZ043010001455
Type: Removable Hard Disk
Capacity: 1918.0 MB = 1.8 GB (3928176 x 512)
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at 00100000 ...
Image Name: Linux-2.6.33.4
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1873951 Bytes = 1.8 MB
Load Address: 00400000
Entry Point: 00400558
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Memory <- <0x0 0x0> (0MB)
ENET0: local-mac-address <- 00:00:00:00:00:00
CPU clock-frequency <- 0x0 (0MHz)
CPU timebase-frequency <- 0x0 (0MHz)
zImage starting: loaded at 0x00400000 (sp: 0x01b88990)
Allocating 0x3d6de0 bytes for kernel ...
gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34 bytes
Linux/PowerPC load:
Finalizing device tree... flat tree at 0x80a300
Before I patched xenomai, the kernel can boot up with below console output:
CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: RXT-2000
I2C: ready
DRAM: 32 MB
1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
IRIS: bd->bi_memsize (2000000)
Now running in RAM - U-Boot at: 01f89000
FLASH: 16 MB
In: serial
Out: serial
Err: serial
Net: FEC ETHERNET
IRIS: IDE testing
IRIS: CONFIG_CMD_IDE
PCMCIA:IRIS: NO CONFIG_START_IDE
SanDisk SDP 5/3 0.6
Fixed Disk Card
IDE interface
[silicon] [unique] [single] [sleep] [standby] [idle] [low power]
Bus 0: OK
Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#: AOZ043010001455
Type: Removable Hard Disk
Capacity: 1918.0 MB = 1.8 GB (3928176 x 512)
Hit any key to stop autoboot: 0
## Booting kernel from Legacy Image at 00100000 ...
Image Name: Linux-2.6.33.4
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1697346 Bytes = 1.6 MB
Load Address: 00400000
Entry Point: 00400558
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Memory <- <0x0 0x2000000> (32MB)
ENET0: local-mac-address <- 00:d0:dd:ff:20:00
CPU clock-frequency <- 0x5f5e100 (100MHz)
CPU timebase-frequency <- 0x2faf08 (3MHz)
CPU bus-frequency <- 0x2faf080 (50MHz)
zImage starting: loaded at 0x00400000 (sp: 0x01b88990)
Allocating 0x35e3f0 bytes for kernel ...
gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c bytes
Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
Finalizing device tree... flat tree at 0x7a6300
Using RxT-Carrier machine description
...................
It seems the boot loader doesn't pass the boot parameters to the kernel that
cannot boot up. Any one can help me? Thanks in advance.
Best regards,
Wenyi Gao
[-- Attachment #1.2: Type: text/html, Size: 8308 bytes --]
[-- Attachment #2: Blank Bkgrd.gif --]
[-- Type: image/gif, Size: 145 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-01 7:47 [Xenomai-help] Powerpc kernel cannot boot with xenomai Gao
@ 2010-09-01 7:52 ` Philippe Gerum
2010-09-01 8:11 ` Gao
0 siblings, 1 reply; 8+ messages in thread
From: Philippe Gerum @ 2010-09-01 7:52 UTC (permalink / raw)
To: Gao; +Cc: xenomai
On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> Hi All,
>
> I patched the kernel with xenomai, but the kernel "cuImage" cannot
> boot up, below is the console output:
>
> U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
>
> CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
This board is not supported. What goes wrong is likely the I-pipe patch
for this particular hardware.
> Board: RXT-2000
> I2C: ready
> DRAM: 32 MB
> 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> IRIS: bd->bi_memsize (2000000)
> Now running in RAM - U-Boot at: 01f89000
> FLASH: 16 MB
> In: serial
> Out: serial
> Err: serial
> Net: FEC ETHERNET
> IRIS: IDE testing
> IRIS: CONFIG_CMD_IDE
> PCMCIA:IRIS: NO CONFIG_START_IDE
> SanDisk SDP 5/3 0.6
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle] [low
> power]
> Bus 0: OK
> Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> AOZ043010001455
> Type: Removable Hard Disk
> Capacity: 1918.0 MB = 1.8 GB (3928176 x 512)
> Hit any key to stop autoboot: 0
> ## Booting kernel from Legacy Image at 00100000 ...
> Image Name: Linux-2.6.33.4
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1873951 Bytes = 1.8 MB
> Load Address: 00400000
> Entry Point: 00400558
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Memory <- <0x0 0x0> (0MB)
> ENET0: local-mac-address <- 00:00:00:00:00:00
> CPU clock-frequency <- 0x0 (0MHz)
> CPU timebase-frequency <- 0x0 (0MHz)
>
> zImage starting: loaded at 0x00400000 (sp: 0x01b88990)
> Allocating 0x3d6de0 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34 bytes
>
> Linux/PowerPC load:
> Finalizing device tree... flat tree at 0x80a300
>
>
>
> Before I patched xenomai, the kernel can boot up with below console
> output:
>
>
> CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> Board: RXT-2000
> I2C: ready
> DRAM: 32 MB
> 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> IRIS: bd->bi_memsize (2000000)
> Now running in RAM - U-Boot at: 01f89000
> FLASH: 16 MB
> In: serial
> Out: serial
> Err: serial
> Net: FEC ETHERNET
> IRIS: IDE testing
> IRIS: CONFIG_CMD_IDE
> PCMCIA:IRIS: NO CONFIG_START_IDE
> SanDisk SDP 5/3 0.6
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle] [low
> power]
> Bus 0: OK
> Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> AOZ043010001455
> Type: Removable Hard Disk
> Capacity: 1918.0 MB = 1.8 GB (3928176 x 512)
> Hit any key to stop autoboot: 0
> ## Booting kernel from Legacy Image at 00100000 ...
> Image Name: Linux-2.6.33.4
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1697346 Bytes = 1.6 MB
> Load Address: 00400000
> Entry Point: 00400558
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Memory <- <0x0 0x2000000> (32MB)
> ENET0: local-mac-address <- 00:d0:dd:ff:20:00
> CPU clock-frequency <- 0x5f5e100 (100MHz)
> CPU timebase-frequency <- 0x2faf08 (3MHz)
> CPU bus-frequency <- 0x2faf080 (50MHz)
>
> zImage starting: loaded at 0x00400000 (sp: 0x01b88990)
> Allocating 0x35e3f0 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c bytes
>
> Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> Finalizing device tree... flat tree at 0x7a6300
> Using RxT-Carrier machine description
> ...................
>
>
> It seems the boot loader doesn't pass the boot parameters to the
> kernel that cannot boot up. Any one can help me? Thanks in advance.
>
>
>
>
> Best regards,
> Wenyi Gao
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-01 7:52 ` Philippe Gerum
@ 2010-09-01 8:11 ` Gao
2010-09-01 8:38 ` Philippe Gerum
0 siblings, 1 reply; 8+ messages in thread
From: Gao @ 2010-09-01 8:11 UTC (permalink / raw)
To: 'Philippe Gerum'; +Cc: xenomai
Hi Philippe,
Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
Wenyi Gao
-----Original Message-----
From: Philippe Gerum [mailto:rpm@xenomai.org
Sent: 2010年9月1日 15:53
To: Gao
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> Hi All,
>
> I patched the kernel with xenomai, but the kernel "cuImage" cannot
> boot up, below is the console output:
>
> U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
>
> CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
This board is not supported. What goes wrong is likely the I-pipe patch for
this particular hardware.
> Board: RXT-2000
> I2C: ready
> DRAM: 32 MB
> 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> IRIS: bd->bi_memsize (2000000)
> Now running in RAM - U-Boot at: 01f89000
> FLASH: 16 MB
> In: serial
> Out: serial
> Err: serial
> Net: FEC ETHERNET
> IRIS: IDE testing
> IRIS: CONFIG_CMD_IDE
> PCMCIA:IRIS: NO CONFIG_START_IDE
> SanDisk SDP 5/3 0.6
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle] [low
> power] Bus 0: OK
> Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> AOZ043010001455
> Type: Removable Hard Disk
> Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> ...
> Image Name: Linux-2.6.33.4
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1873951 Bytes = 1.8 MB
> Load Address: 00400000
> Entry Point: 00400558
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Memory <- <0x0 0x0> (0MB)
> ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency <-
> 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
>
> zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> 0x3d6de0 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34 bytes
>
> Linux/PowerPC load:
> Finalizing device tree... flat tree at 0x80a300
>
>
>
> Before I patched xenomai, the kernel can boot up with below console
> output:
>
>
> CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> Board: RXT-2000
> I2C: ready
> DRAM: 32 MB
> 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> IRIS: bd->bi_memsize (2000000)
> Now running in RAM - U-Boot at: 01f89000
> FLASH: 16 MB
> In: serial
> Out: serial
> Err: serial
> Net: FEC ETHERNET
> IRIS: IDE testing
> IRIS: CONFIG_CMD_IDE
> PCMCIA:IRIS: NO CONFIG_START_IDE
> SanDisk SDP 5/3 0.6
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle] [low
> power] Bus 0: OK
> Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> AOZ043010001455
> Type: Removable Hard Disk
> Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> ...
> Image Name: Linux-2.6.33.4
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 1697346 Bytes = 1.6 MB
> Load Address: 00400000
> Entry Point: 00400558
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Memory <- <0x0 0x2000000> (32MB)
> ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency <-
> 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz) CPU
> bus-frequency <- 0x2faf080 (50MHz)
>
> zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> 0x35e3f0 bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c bytes
>
> Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> machine description ...................
>
>
> It seems the boot loader doesn't pass the boot parameters to the
> kernel that cannot boot up. Any one can help me? Thanks in advance.
>
>
>
>
> Best regards,
> Wenyi Gao
>
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-01 8:11 ` Gao
@ 2010-09-01 8:38 ` Philippe Gerum
2010-09-01 9:02 ` Gao
0 siblings, 1 reply; 8+ messages in thread
From: Philippe Gerum @ 2010-09-01 8:38 UTC (permalink / raw)
To: Gao; +Cc: xenomai
On Wed, 2010-09-01 at 16:11 +0800, Gao wrote:
> Hi Philippe,
>
> Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
>
I'm saying that your particular board is not known to run Xenomai,
nothing else. Those which officially do are listed here:
http://www.xenomai.org/index.php/Embedded_Device_Support#Supported_Architectures
In any case, if you want to run Xenomai on a processor from the mpc855
family, 2.6.34 is a requirement.
>
> Wenyi Gao
>
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org
> Sent: 2010年9月1日 15:53
> To: Gao
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
>
> On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> > Hi All,
> >
> > I patched the kernel with xenomai, but the kernel "cuImage" cannot
> > boot up, below is the console output:
> >
> > U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
> >
> > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
>
> This board is not supported. What goes wrong is likely the I-pipe patch for
> this particular hardware.
>
> > Board: RXT-2000
> > I2C: ready
> > DRAM: 32 MB
> > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > IRIS: bd->bi_memsize (2000000)
> > Now running in RAM - U-Boot at: 01f89000
> > FLASH: 16 MB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: FEC ETHERNET
> > IRIS: IDE testing
> > IRIS: CONFIG_CMD_IDE
> > PCMCIA:IRIS: NO CONFIG_START_IDE
> > SanDisk SDP 5/3 0.6
> > Fixed Disk Card
> > IDE interface
> > [silicon] [unique] [single] [sleep] [standby] [idle] [low
> > power] Bus 0: OK
> > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > AOZ043010001455
> > Type: Removable Hard Disk
> > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > ...
> > Image Name: Linux-2.6.33.4
> > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > Data Size: 1873951 Bytes = 1.8 MB
> > Load Address: 00400000
> > Entry Point: 00400558
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK
> > Memory <- <0x0 0x0> (0MB)
> > ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency <-
> > 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
> >
> > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > 0x3d6de0 bytes for kernel ...
> > gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34 bytes
> >
> > Linux/PowerPC load:
> > Finalizing device tree... flat tree at 0x80a300
> >
> >
> >
> > Before I patched xenomai, the kernel can boot up with below console
> > output:
> >
> >
> > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > Board: RXT-2000
> > I2C: ready
> > DRAM: 32 MB
> > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > IRIS: bd->bi_memsize (2000000)
> > Now running in RAM - U-Boot at: 01f89000
> > FLASH: 16 MB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: FEC ETHERNET
> > IRIS: IDE testing
> > IRIS: CONFIG_CMD_IDE
> > PCMCIA:IRIS: NO CONFIG_START_IDE
> > SanDisk SDP 5/3 0.6
> > Fixed Disk Card
> > IDE interface
> > [silicon] [unique] [single] [sleep] [standby] [idle] [low
> > power] Bus 0: OK
> > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > AOZ043010001455
> > Type: Removable Hard Disk
> > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > ...
> > Image Name: Linux-2.6.33.4
> > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > Data Size: 1697346 Bytes = 1.6 MB
> > Load Address: 00400000
> > Entry Point: 00400558
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK
> > Memory <- <0x0 0x2000000> (32MB)
> > ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency <-
> > 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz) CPU
> > bus-frequency <- 0x2faf080 (50MHz)
> >
> > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > 0x35e3f0 bytes for kernel ...
> > gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c bytes
> >
> > Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> > ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> > Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> > machine description ...................
> >
> >
> > It seems the boot loader doesn't pass the boot parameters to the
> > kernel that cannot boot up. Any one can help me? Thanks in advance.
> >
> >
> >
> >
> > Best regards,
> > Wenyi Gao
> >
> >
> > _______________________________________________
> > Xenomai-help mailing list
> > Xenomai-help@domain.hid
> > https://mail.gna.org/listinfo/xenomai-help
>
> --
> Philippe.
>
>
>
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-01 8:38 ` Philippe Gerum
@ 2010-09-01 9:02 ` Gao
2010-09-03 5:27 ` Philippe Gerum
0 siblings, 1 reply; 8+ messages in thread
From: Gao @ 2010-09-01 9:02 UTC (permalink / raw)
To: 'Philippe Gerum'; +Cc: xenomai
Thank you Philippe very much. Yes, it seems that Xenomail may not support
the MPC870 cpu. But you mean the Xenomai with linux 2.6.34 kernel can
support it, right? Another question, is there a officail document that say
runing Xenomai on the mpc855 family processors needs 2.6.34 kernel?
-----Original Message-----
From: Philippe Gerum [mailto:rpm@xenomai.org
Sent: 2010年9月1日 16:39
To: Gao
Cc: xenomai@xenomai.org
Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
On Wed, 2010-09-01 at 16:11 +0800, Gao wrote:
> Hi Philippe,
>
> Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
>
I'm saying that your particular board is not known to run Xenomai, nothing
else. Those which officially do are listed here:
http://www.xenomai.org/index.php/Embedded_Device_Support#Supported_Architect
ures
In any case, if you want to run Xenomai on a processor from the mpc855
family, 2.6.34 is a requirement.
>
> Wenyi Gao
>
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org]
> Sent: 2010年9月1日 15:53
> To: Gao
> Cc: xenomai@xenomai.org
> Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
>
> On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> > Hi All,
> >
> > I patched the kernel with xenomai, but the kernel "cuImage" cannot
> > boot up, below is the console output:
> >
> > U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
> >
> > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
>
> This board is not supported. What goes wrong is likely the I-pipe
> patch for this particular hardware.
>
> > Board: RXT-2000
> > I2C: ready
> > DRAM: 32 MB
> > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > IRIS: bd->bi_memsize (2000000)
> > Now running in RAM - U-Boot at: 01f89000
> > FLASH: 16 MB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: FEC ETHERNET
> > IRIS: IDE testing
> > IRIS: CONFIG_CMD_IDE
> > PCMCIA:IRIS: NO CONFIG_START_IDE
> > SanDisk SDP 5/3 0.6
> > Fixed Disk Card
> > IDE interface
> > [silicon] [unique] [single] [sleep] [standby] [idle]
> > [low power] Bus 0: OK
> > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > AOZ043010001455
> > Type: Removable Hard Disk
> > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > ...
> > Image Name: Linux-2.6.33.4
> > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > Data Size: 1873951 Bytes = 1.8 MB
> > Load Address: 00400000
> > Entry Point: 00400558
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK Memory <- <0x0 0x0> (0MB)
> > ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency <-
> > 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
> >
> > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > 0x3d6de0 bytes for kernel ...
> > gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34
> > bytes
> >
> > Linux/PowerPC load:
> > Finalizing device tree... flat tree at 0x80a300
> >
> >
> >
> > Before I patched xenomai, the kernel can boot up with below console
> > output:
> >
> >
> > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > Board: RXT-2000
> > I2C: ready
> > DRAM: 32 MB
> > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > IRIS: bd->bi_memsize (2000000)
> > Now running in RAM - U-Boot at: 01f89000
> > FLASH: 16 MB
> > In: serial
> > Out: serial
> > Err: serial
> > Net: FEC ETHERNET
> > IRIS: IDE testing
> > IRIS: CONFIG_CMD_IDE
> > PCMCIA:IRIS: NO CONFIG_START_IDE
> > SanDisk SDP 5/3 0.6
> > Fixed Disk Card
> > IDE interface
> > [silicon] [unique] [single] [sleep] [standby] [idle]
> > [low power] Bus 0: OK
> > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > AOZ043010001455
> > Type: Removable Hard Disk
> > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > ...
> > Image Name: Linux-2.6.33.4
> > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > Data Size: 1697346 Bytes = 1.6 MB
> > Load Address: 00400000
> > Entry Point: 00400558
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK Memory <- <0x0 0x2000000>
> > (32MB)
> > ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency <-
> > 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz) CPU
> > bus-frequency <- 0x2faf080 (50MHz)
> >
> > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > 0x35e3f0 bytes for kernel ...
> > gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c
> > bytes
> >
> > Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> > ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> > Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> > machine description ...................
> >
> >
> > It seems the boot loader doesn't pass the boot parameters to the
> > kernel that cannot boot up. Any one can help me? Thanks in advance.
> >
> >
> >
> >
> > Best regards,
> > Wenyi Gao
> >
> >
> > _______________________________________________
> > Xenomai-help mailing list
> > Xenomai-help@domain.hid
> > https://mail.gna.org/listinfo/xenomai-help
>
> --
> Philippe.
>
>
>
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-01 9:02 ` Gao
@ 2010-09-03 5:27 ` Philippe Gerum
2010-09-03 5:44 ` Gao
0 siblings, 1 reply; 8+ messages in thread
From: Philippe Gerum @ 2010-09-03 5:27 UTC (permalink / raw)
To: Gao; +Cc: xenomai
On Wed, 2010-09-01 at 17:02 +0800, Gao wrote:
> Thank you Philippe very much. Yes, it seems that Xenomail may not support
> the MPC870 cpu. But you mean the Xenomai with linux 2.6.34 kernel can
> support it, right?
I mean that a port of Xenomai to a custom board based on a CPU from the
mpc855 family is known to work, based on a 2.6.34 kernel, and that is
the only port of Xenomai to this architecture I'm aware of. The latest
I-pipe/powerpc patch for 2.6.34 does include that support for 8xx.
Now, it should be possible for you to backport the I-pipe bits from the
2.6.34 patch required to run 8xx to 2.6.33, if your bsp is based on that
release.
> Another question, is there a officail document that say
> runing Xenomai on the mpc855 family processors needs 2.6.34 kernel?
>
You are currently reading it.
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org
> Sent: 2010年9月1日 16:39
> To: Gao
> Cc: xenomai@xenomai.org
> Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
>
> On Wed, 2010-09-01 at 16:11 +0800, Gao wrote:
> > Hi Philippe,
> >
> > Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
> >
>
> I'm saying that your particular board is not known to run Xenomai, nothing
> else. Those which officially do are listed here:
> http://www.xenomai.org/index.php/Embedded_Device_Support#Supported_Architect
> ures
>
> In any case, if you want to run Xenomai on a processor from the mpc855
> family, 2.6.34 is a requirement.
>
> >
> > Wenyi Gao
> >
> > -----Original Message-----
> > From: Philippe Gerum [mailto:rpm@xenomai.org]
> > Sent: 2010年9月1日 15:53
> > To: Gao
> > Cc: xenomai@xenomai.org
> > Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
> >
> > On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> > > Hi All,
> > >
> > > I patched the kernel with xenomai, but the kernel "cuImage" cannot
> > > boot up, below is the console output:
> > >
> > > U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
> > >
> > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> >
> > This board is not supported. What goes wrong is likely the I-pipe
> > patch for this particular hardware.
> >
> > > Board: RXT-2000
> > > I2C: ready
> > > DRAM: 32 MB
> > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > IRIS: bd->bi_memsize (2000000)
> > > Now running in RAM - U-Boot at: 01f89000
> > > FLASH: 16 MB
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > Net: FEC ETHERNET
> > > IRIS: IDE testing
> > > IRIS: CONFIG_CMD_IDE
> > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > SanDisk SDP 5/3 0.6
> > > Fixed Disk Card
> > > IDE interface
> > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > [low power] Bus 0: OK
> > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > AOZ043010001455
> > > Type: Removable Hard Disk
> > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > > ...
> > > Image Name: Linux-2.6.33.4
> > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > Data Size: 1873951 Bytes = 1.8 MB
> > > Load Address: 00400000
> > > Entry Point: 00400558
> > > Verifying Checksum ... OK
> > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x0> (0MB)
> > > ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency <-
> > > 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
> > >
> > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > 0x3d6de0 bytes for kernel ...
> > > gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34
> > > bytes
> > >
> > > Linux/PowerPC load:
> > > Finalizing device tree... flat tree at 0x80a300
> > >
> > >
> > >
> > > Before I patched xenomai, the kernel can boot up with below console
> > > output:
> > >
> > >
> > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > > Board: RXT-2000
> > > I2C: ready
> > > DRAM: 32 MB
> > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > IRIS: bd->bi_memsize (2000000)
> > > Now running in RAM - U-Boot at: 01f89000
> > > FLASH: 16 MB
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > Net: FEC ETHERNET
> > > IRIS: IDE testing
> > > IRIS: CONFIG_CMD_IDE
> > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > SanDisk SDP 5/3 0.6
> > > Fixed Disk Card
> > > IDE interface
> > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > [low power] Bus 0: OK
> > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > AOZ043010001455
> > > Type: Removable Hard Disk
> > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any key
> > > to stop autoboot: 0 ## Booting kernel from Legacy Image at 00100000
> > > ...
> > > Image Name: Linux-2.6.33.4
> > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > Data Size: 1697346 Bytes = 1.6 MB
> > > Load Address: 00400000
> > > Entry Point: 00400558
> > > Verifying Checksum ... OK
> > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x2000000>
> > > (32MB)
> > > ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency <-
> > > 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz) CPU
> > > bus-frequency <- 0x2faf080 (50MHz)
> > >
> > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > 0x35e3f0 bytes for kernel ...
> > > gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c
> > > bytes
> > >
> > > Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> > > ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> > > Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> > > machine description ...................
> > >
> > >
> > > It seems the boot loader doesn't pass the boot parameters to the
> > > kernel that cannot boot up. Any one can help me? Thanks in advance.
> > >
> > >
> > >
> > >
> > > Best regards,
> > > Wenyi Gao
> > >
> > >
> > > _______________________________________________
> > > Xenomai-help mailing list
> > > Xenomai-help@domain.hid
> > > https://mail.gna.org/listinfo/xenomai-help
> >
> > --
> > Philippe.
> >
> >
> >
>
> --
> Philippe.
>
>
>
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-03 5:27 ` Philippe Gerum
@ 2010-09-03 5:44 ` Gao
2010-09-03 7:11 ` Philippe Gerum
0 siblings, 1 reply; 8+ messages in thread
From: Gao @ 2010-09-03 5:44 UTC (permalink / raw)
To: 'Philippe Gerum'; +Cc: xenomai
Thank you Philippe, my board can boot up when the pSos emulator is not built
into the kernel. But once it is built into the kernel, the kernel cannot
boot up.
-----Original Message-----
From: Philippe Gerum [mailto:rpm@xenomai.org
Sent: 2010年9月3日 13:27
To: Gao
Cc: xenomai@xenomai.org
Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
On Wed, 2010-09-01 at 17:02 +0800, Gao wrote:
> Thank you Philippe very much. Yes, it seems that Xenomail may not
> support the MPC870 cpu. But you mean the Xenomai with linux 2.6.34
> kernel can support it, right?
I mean that a port of Xenomai to a custom board based on a CPU from the
mpc855 family is known to work, based on a 2.6.34 kernel, and that is the
only port of Xenomai to this architecture I'm aware of. The latest
I-pipe/powerpc patch for 2.6.34 does include that support for 8xx.
Now, it should be possible for you to backport the I-pipe bits from the
2.6.34 patch required to run 8xx to 2.6.33, if your bsp is based on that
release.
> Another question, is there a officail document that say runing
> Xenomai on the mpc855 family processors needs 2.6.34 kernel?
>
You are currently reading it.
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org]
> Sent: 2010年9月1日 16:39
> To: Gao
> Cc: xenomai@xenomai.org
> Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
>
> On Wed, 2010-09-01 at 16:11 +0800, Gao wrote:
> > Hi Philippe,
> >
> > Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
> >
>
> I'm saying that your particular board is not known to run Xenomai,
> nothing else. Those which officially do are listed here:
> http://www.xenomai.org/index.php/Embedded_Device_Support#Supported_Arc
> hitect
> ures
>
> In any case, if you want to run Xenomai on a processor from the mpc855
> family, 2.6.34 is a requirement.
>
> >
> > Wenyi Gao
> >
> > -----Original Message-----
> > From: Philippe Gerum [mailto:rpm@xenomai.org]
> > Sent: 2010年9月1日 15:53
> > To: Gao
> > Cc: xenomai@xenomai.org
> > Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
> >
> > On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> > > Hi All,
> > >
> > > I patched the kernel with xenomai, but the kernel "cuImage" cannot
> > > boot up, below is the console output:
> > >
> > > U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
> > >
> > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> >
> > This board is not supported. What goes wrong is likely the I-pipe
> > patch for this particular hardware.
> >
> > > Board: RXT-2000
> > > I2C: ready
> > > DRAM: 32 MB
> > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > IRIS: bd->bi_memsize (2000000)
> > > Now running in RAM - U-Boot at: 01f89000
> > > FLASH: 16 MB
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > Net: FEC ETHERNET
> > > IRIS: IDE testing
> > > IRIS: CONFIG_CMD_IDE
> > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > SanDisk SDP 5/3 0.6
> > > Fixed Disk Card
> > > IDE interface
> > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > [low power] Bus 0: OK
> > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > AOZ043010001455
> > > Type: Removable Hard Disk
> > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any
> > > key to stop autoboot: 0 ## Booting kernel from Legacy Image at
> > > 00100000 ...
> > > Image Name: Linux-2.6.33.4
> > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > Data Size: 1873951 Bytes = 1.8 MB
> > > Load Address: 00400000
> > > Entry Point: 00400558
> > > Verifying Checksum ... OK
> > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x0> (0MB)
> > > ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency
> > > <- 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
> > >
> > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > 0x3d6de0 bytes for kernel ...
> > > gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34
> > > bytes
> > >
> > > Linux/PowerPC load:
> > > Finalizing device tree... flat tree at 0x80a300
> > >
> > >
> > >
> > > Before I patched xenomai, the kernel can boot up with below
> > > console
> > > output:
> > >
> > >
> > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > > Board: RXT-2000
> > > I2C: ready
> > > DRAM: 32 MB
> > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > IRIS: bd->bi_memsize (2000000)
> > > Now running in RAM - U-Boot at: 01f89000
> > > FLASH: 16 MB
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > Net: FEC ETHERNET
> > > IRIS: IDE testing
> > > IRIS: CONFIG_CMD_IDE
> > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > SanDisk SDP 5/3 0.6
> > > Fixed Disk Card
> > > IDE interface
> > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > [low power] Bus 0: OK
> > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > AOZ043010001455
> > > Type: Removable Hard Disk
> > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any
> > > key to stop autoboot: 0 ## Booting kernel from Legacy Image at
> > > 00100000 ...
> > > Image Name: Linux-2.6.33.4
> > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > Data Size: 1697346 Bytes = 1.6 MB
> > > Load Address: 00400000
> > > Entry Point: 00400558
> > > Verifying Checksum ... OK
> > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x2000000>
> > > (32MB)
> > > ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency
> > > <- 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz)
> > > CPU bus-frequency <- 0x2faf080 (50MHz)
> > >
> > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > 0x35e3f0 bytes for kernel ...
> > > gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c
> > > bytes
> > >
> > > Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> > > ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> > > Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> > > machine description ...................
> > >
> > >
> > > It seems the boot loader doesn't pass the boot parameters to the
> > > kernel that cannot boot up. Any one can help me? Thanks in advance.
> > >
> > >
> > >
> > >
> > > Best regards,
> > > Wenyi Gao
> > >
> > >
> > > _______________________________________________
> > > Xenomai-help mailing list
> > > Xenomai-help@domain.hid
> > > https://mail.gna.org/listinfo/xenomai-help
> >
> > --
> > Philippe.
> >
> >
> >
>
> --
> Philippe.
>
>
>
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
2010-09-03 5:44 ` Gao
@ 2010-09-03 7:11 ` Philippe Gerum
0 siblings, 0 replies; 8+ messages in thread
From: Philippe Gerum @ 2010-09-03 7:11 UTC (permalink / raw)
To: Gao; +Cc: xenomai
On Fri, 2010-09-03 at 13:44 +0800, Gao wrote:
> Thank you Philippe, my board can boot up when the pSos emulator is not built
> into the kernel. But once it is built into the kernel, the kernel cannot
> boot up.
This likely happens when the real-time core enables its internal timer
when the kernel enables the first skin, in your case the pSOS one. This
is usually due to an issue in the I-pipe patch.
>
>
> -----Original Message-----
> From: Philippe Gerum [mailto:rpm@xenomai.org
> Sent: 2010年9月3日 13:27
> To: Gao
> Cc: xenomai@xenomai.org
> Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
>
> On Wed, 2010-09-01 at 17:02 +0800, Gao wrote:
> > Thank you Philippe very much. Yes, it seems that Xenomail may not
> > support the MPC870 cpu. But you mean the Xenomai with linux 2.6.34
> > kernel can support it, right?
>
> I mean that a port of Xenomai to a custom board based on a CPU from the
> mpc855 family is known to work, based on a 2.6.34 kernel, and that is the
> only port of Xenomai to this architecture I'm aware of. The latest
> I-pipe/powerpc patch for 2.6.34 does include that support for 8xx.
>
> Now, it should be possible for you to backport the I-pipe bits from the
> 2.6.34 patch required to run 8xx to 2.6.33, if your bsp is based on that
> release.
>
> > Another question, is there a officail document that say runing
> > Xenomai on the mpc855 family processors needs 2.6.34 kernel?
> >
>
> You are currently reading it.
>
> > -----Original Message-----
> > From: Philippe Gerum [mailto:rpm@xenomai.org]
> > Sent: 2010年9月1日 16:39
> > To: Gao
> > Cc: xenomai@xenomai.org
> > Subject: RE: [Xenomai-help] Powerpc kernel cannot boot with xenomai
> >
> > On Wed, 2010-09-01 at 16:11 +0800, Gao wrote:
> > > Hi Philippe,
> > >
> > > Are you sure xenomai(2.5.4) doesn't support the cpu MPC870? Thank you.
> > >
> >
> > I'm saying that your particular board is not known to run Xenomai,
> > nothing else. Those which officially do are listed here:
> > http://www.xenomai.org/index.php/Embedded_Device_Support#Supported_Arc
> > hitect
> > ures
> >
> > In any case, if you want to run Xenomai on a processor from the mpc855
> > family, 2.6.34 is a requirement.
> >
> > >
> > > Wenyi Gao
> > >
> > > -----Original Message-----
> > > From: Philippe Gerum [mailto:rpm@xenomai.org]
> > > Sent: 2010年9月1日 15:53
> > > To: Gao
> > > Cc: xenomai@xenomai.org
> > > Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai
> > >
> > > On Wed, 2010-09-01 at 15:47 +0800, Gao wrote:
> > > > Hi All,
> > > >
> > > > I patched the kernel with xenomai, but the kernel "cuImage" cannot
> > > > boot up, below is the console output:
> > > >
> > > > U-Boot 2009.06.00-svn21572 (Aug 24 2010 - 11:20:12)
> > > >
> > > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > >
> > > This board is not supported. What goes wrong is likely the I-pipe
> > > patch for this particular hardware.
> > >
> > > > Board: RXT-2000
> > > > I2C: ready
> > > > DRAM: 32 MB
> > > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > > IRIS: bd->bi_memsize (2000000)
> > > > Now running in RAM - U-Boot at: 01f89000
> > > > FLASH: 16 MB
> > > > In: serial
> > > > Out: serial
> > > > Err: serial
> > > > Net: FEC ETHERNET
> > > > IRIS: IDE testing
> > > > IRIS: CONFIG_CMD_IDE
> > > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > > SanDisk SDP 5/3 0.6
> > > > Fixed Disk Card
> > > > IDE interface
> > > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > > [low power] Bus 0: OK
> > > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > > AOZ043010001455
> > > > Type: Removable Hard Disk
> > > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any
> > > > key to stop autoboot: 0 ## Booting kernel from Legacy Image at
> > > > 00100000 ...
> > > > Image Name: Linux-2.6.33.4
> > > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > > Data Size: 1873951 Bytes = 1.8 MB
> > > > Load Address: 00400000
> > > > Entry Point: 00400558
> > > > Verifying Checksum ... OK
> > > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x0> (0MB)
> > > > ENET0: local-mac-address <- 00:00:00:00:00:00 CPU clock-frequency
> > > > <- 0x0 (0MHz) CPU timebase-frequency <- 0x0 (0MHz)
> > > >
> > > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > > 0x3d6de0 bytes for kernel ...
> > > > gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done 0x3adf34
> > > > bytes
> > > >
> > > > Linux/PowerPC load:
> > > > Finalizing device tree... flat tree at 0x80a300
> > > >
> > > >
> > > >
> > > > Before I patched xenomai, the kernel can boot up with below
> > > > console
> > > > output:
> > > >
> > > >
> > > > CPU: MPC885ZPnn at 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
> > > > Board: RXT-2000
> > > > I2C: ready
> > > > DRAM: 32 MB
> > > > 1 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > > 2 gd->ram_size = (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
> > > > IRIS: bd->bi_memsize (2000000) gd(ff002ec0)->gd->ram_size(2000000)
> > > > IRIS: bd->bi_memsize (2000000)
> > > > Now running in RAM - U-Boot at: 01f89000
> > > > FLASH: 16 MB
> > > > In: serial
> > > > Out: serial
> > > > Err: serial
> > > > Net: FEC ETHERNET
> > > > IRIS: IDE testing
> > > > IRIS: CONFIG_CMD_IDE
> > > > PCMCIA:IRIS: NO CONFIG_START_IDE
> > > > SanDisk SDP 5/3 0.6
> > > > Fixed Disk Card
> > > > IDE interface
> > > > [silicon] [unique] [single] [sleep] [standby] [idle]
> > > > [low power] Bus 0: OK
> > > > Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:
> > > > AOZ043010001455
> > > > Type: Removable Hard Disk
> > > > Capacity: 1918.0 MB = 1.8 GB (3928176 x 512) Hit any
> > > > key to stop autoboot: 0 ## Booting kernel from Legacy Image at
> > > > 00100000 ...
> > > > Image Name: Linux-2.6.33.4
> > > > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > > > Data Size: 1697346 Bytes = 1.6 MB
> > > > Load Address: 00400000
> > > > Entry Point: 00400558
> > > > Verifying Checksum ... OK
> > > > Uncompressing Kernel Image ... OK Memory <- <0x0 0x2000000>
> > > > (32MB)
> > > > ENET0: local-mac-address <- 00:d0:dd:ff:20:00 CPU clock-frequency
> > > > <- 0x5f5e100 (100MHz) CPU timebase-frequency <- 0x2faf08 (3MHz)
> > > > CPU bus-frequency <- 0x2faf080 (50MHz)
> > > >
> > > > zImage starting: loaded at 0x00400000 (sp: 0x01b88990) Allocating
> > > > 0x35e3f0 bytes for kernel ...
> > > > gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done 0x349f2c
> > > > bytes
> > > >
> > > > Linux/PowerPC load: root=/dev/sda1 rw rootfstype=ext3
> > > > ip=169.254.0.2::169.254.0.1:255.255.0.0 console=ttyCPM0,38400
> > > > Finalizing device tree... flat tree at 0x7a6300 Using RxT-Carrier
> > > > machine description ...................
> > > >
> > > >
> > > > It seems the boot loader doesn't pass the boot parameters to the
> > > > kernel that cannot boot up. Any one can help me? Thanks in advance.
> > > >
> > > >
> > > >
> > > >
> > > > Best regards,
> > > > Wenyi Gao
> > > >
> > > >
> > > > _______________________________________________
> > > > Xenomai-help mailing list
> > > > Xenomai-help@domain.hid
> > > > https://mail.gna.org/listinfo/xenomai-help
> > >
> > > --
> > > Philippe.
> > >
> > >
> > >
> >
> > --
> > Philippe.
> >
> >
> >
>
> --
> Philippe.
>
>
>
--
Philippe.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-09-03 7:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01 7:47 [Xenomai-help] Powerpc kernel cannot boot with xenomai Gao
2010-09-01 7:52 ` Philippe Gerum
2010-09-01 8:11 ` Gao
2010-09-01 8:38 ` Philippe Gerum
2010-09-01 9:02 ` Gao
2010-09-03 5:27 ` Philippe Gerum
2010-09-03 5:44 ` Gao
2010-09-03 7:11 ` Philippe Gerum
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.