From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <8sm023$gq1qra@domain.hid> From: "Gao" Date: Wed, 1 Sep 2010 15:47:13 +0800 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0008_01CB49EC.F35C19C0" In-Reply-To: Subject: Re: [Xenomai-help] Powerpc kernel cannot boot with xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------=_NextPart_000_0008_01CB49EC.F35C19C0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0009_01CB49EC.F35E63B0" ------=_NextPart_001_0009_01CB49EC.F35E63B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_001_0009_01CB49EC.F35E63B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Blank
Hi All,
 
I patched the kernel with xenomai, = but the=20 kernel "cuImage" cannot boot up, below is the console=20 output:
     =
U-Boot = 2009.06.00-svn21572 (Aug=20 24 2010 - 11:20:12)
 
CPU:   = MPC885ZPnn at=20 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board:=20 RXT-2000
I2C:   ready
DRAM:  32 MB
1 = gd->ram_size =3D=20 (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
2 gd->ram_size =3D (2000000) = CONFIG_SYS_MEM_TOP_HIDE (0)
IRIS: bd->bi_memsize (2000000)=20 gd(ff002ec0)->gd->ram_size(2000000)
IRIS: bd->bi_memsize=20 (2000000)
Now running in RAM - U-Boot at: 01f89000
FLASH: 16=20 MB
In:    serial
Out:  =20 serial
Err:   serial
Net:   FEC = ETHERNET
IRIS: IDE=20 testing
IRIS: CONFIG_CMD_IDE
PCMCIA:IRIS: NO = CONFIG_START_IDE
SanDisk=20 SDP 5/3=20 0.6
           = Fixed=20 Disk = Card
           = ;=20 IDE=20 interface
          =  =20 [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
Bus = 0:=20 OK
  Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:=20 AOZ043010001455
         =   =20 Type: Removable Hard=20 Disk
           = ;=20 Capacity: 1918.0 MB =3D 1.8 GB (3928176 x 512)
Hit any key to stop=20 autoboot:  0
## Booting kernel from Legacy Image at 00100000=20 ...
   Image Name:   = Linux-2.6.33.4
   Image=20 Type:   PowerPC Linux Kernel Image (gzip = compressed)
  =20 Data Size:    1873951 Bytes =3D  1.8 = MB
   Load=20 Address: 00400000
   Entry Point:  = 00400558
  =20 Verifying Checksum ... OK
   Uncompressing Kernel Image ... = OK
Memory <- <0x0 0x0> (0MB)
ENET0: local-mac-address = <-=20 00:00:00:00:00:00
CPU clock-frequency <- 0x0 (0MHz)
CPU=20 timebase-frequency <- 0x0 (0MHz)
 
zImage starting: = loaded at=20 0x00400000 (sp: 0x01b88990)
Allocating 0x3d6de0 bytes for kernel=20 ...
gunzipping (0x00000000 <- 0x0040c000:0x007fd97c)...done = 0x3adf34=20 bytes
 
Linux/PowerPC=20 load:
Finalizing device tree... flat tree at = 0x80a300
 
 
Before I patched xenomai, the kernel can boot up with below = console=20 output:
 
 
CPU:   = MPC885ZPnn at=20 100 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board:=20 RXT-2000
I2C:   ready
DRAM:  32 MB
1 = gd->ram_size =3D=20 (2000000) CONFIG_SYS_MEM_TOP_HIDE (0)
2 gd->ram_size =3D (2000000) = CONFIG_SYS_MEM_TOP_HIDE (0)
IRIS: bd->bi_memsize (2000000)=20 gd(ff002ec0)->gd->ram_size(2000000)
IRIS: bd->bi_memsize=20 (2000000)
Now running in RAM - U-Boot at: 01f89000
FLASH: 16=20 MB
In:    serial
Out:  =20 serial
Err:   serial
Net:   FEC = ETHERNET
IRIS: IDE=20 testing
IRIS: CONFIG_CMD_IDE
PCMCIA:IRIS: NO = CONFIG_START_IDE
SanDisk=20 SDP 5/3=20 0.6
           = Fixed=20 Disk = Card
           = ;=20 IDE=20 interface
          =  =20 [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
Bus = 0:=20 OK
  Device 0: Model: SanDisk SDCFH-002G Firm: HDX 5.04 Ser#:=20 AOZ043010001455
         =   =20 Type: Removable Hard=20 Disk
           = ;=20 Capacity: 1918.0 MB =3D 1.8 GB (3928176 x 512)
Hit any key to stop=20 autoboot:  0
## Booting kernel from Legacy Image at 00100000=20 ...
   Image Name:   = Linux-2.6.33.4
   Image=20 Type:   PowerPC Linux Kernel Image (gzip = compressed)
  =20 Data Size:    1697346 Bytes =3D  1.6 = MB
   Load=20 Address: 00400000
   Entry Point:  = 00400558
  =20 Verifying Checksum ... OK
   Uncompressing Kernel Image ... = OK
Memory <- <0x0 0x2000000> (32MB)
ENET0: = local-mac-address=20 <- 00:d0:dd:ff:20:00
CPU clock-frequency <- 0x5f5e100 = (100MHz)
CPU=20 timebase-frequency <- 0x2faf08 (3MHz)
CPU bus-frequency <- = 0x2faf080=20 (50MHz)
 
zImage starting: = loaded at=20 0x00400000 (sp: 0x01b88990)
Allocating 0x35e3f0 bytes for kernel=20 ...
gunzipping (0x00000000 <- 0x0040c000:0x00799450)...done = 0x349f2c=20 bytes
 
Linux/PowerPC load: = root=3D/dev/sda1 rw rootfstype=3Dext3 = ip=3D169.254.0.2::169.254.0.1:255.255.0.0=20 console=3DttyCPM0,38400
Finalizing device tree... flat tree at=20 0x7a6300
Using RxT-Carrier machine=20 description
...................
 
It seems the boot loader = doesn't pass the=20 boot parameters to the kernel that cannot boot up. Any one can help = me? Thanks in advance.
 
 
 
 
Best=20 regards,
Wenyi=20 Gao

 

------=_NextPart_001_0009_01CB49EC.F35E63B0-- ------=_NextPart_000_0008_01CB49EC.F35C19C0 Content-Type: image/gif; name="Blank Bkgrd.gif" Content-Transfer-Encoding: base64 Content-ID: <372474607@domain.hid> R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm6sq2 7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/VW45e7amp2tou/lW xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw== ------=_NextPart_000_0008_01CB49EC.F35C19C0--