From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ew0-f227.google.com (mail-ew0-f227.google.com [209.85.219.227]) by ozlabs.org (Postfix) with ESMTP id BEC8CB7B74 for ; Thu, 17 Sep 2009 20:04:38 +1000 (EST) Received: by ewy27 with SMTP id 27so304584ewy.40 for ; Thu, 17 Sep 2009 03:04:36 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 17 Sep 2009 12:04:36 +0200 Message-ID: <38a5a2d10909170304s40b4cd57nd943ef073f535650@mail.gmail.com> Subject: mpc8572ds & uImage: Stuck startup From: Isaac Gomez Morales To: linuxppc-dev@ozlabs.org Content-Type: multipart/alternative; boundary=001636c5bfbd91bd970473c3241c List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --001636c5bfbd91bd970473c3241c Content-Type: text/plain; charset=ISO-8859-1 Hello, I'm trying to startup the latest kernel image (2.6.31) for my mpc8572ds machine. I have downloaded the kernel's source code at kernel.org and i have compiled it with a native ppc compiler using make uImage. At this moment I have in my system my uImage and u-boot-2009-08 programmed in the flash memory. The bootargs are "root=/dev/sda6 rw console=ttyS0,115200" and the dtb file was generated by the script dtc included in the same kernel source code. I have done: ../path_to_script/dtc -I dts -O dtb -o mpc8572ds.dtb path_to_dts/mpc8572ds.dts An finally I have executed the following instruction with the following result: => ext2load scsi 0:6 0x01000000 /boot/uImage Loading file "/boot/uImage" from scsi device 0:6 (sda6) 1582778 bytes read => ext2load scsi 0:6 0x00c00000 /boot/mpc8572ds.dtb Loading file "/boot/mpc8572ds.dtb" from scsi device 0:6 (sda6) 13748 bytes read => bootm 1000000 - c00000 WARNING: adjusting available memory to 30000000 ## Booting kernel from Legacy Image at 01000000 ... Image Name: Linux-2.6.31 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1582714 Bytes = 1.5 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 00c00000 Booting using the fdt blob at 0xc00000 Uncompressing Kernel Image ... OK The startup stuck here and I don't know why, I have tried to startup my kernel with old dtb's files but i have get some "kernel panic" errors and some "bad structure of the file (/choosen)". Note: I can start an older kernel with its dtb file. Thanks. --001636c5bfbd91bd970473c3241c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

I'm trying to startup the late= st kernel image (2.6.31) for my mpc8572ds machine.=A0 I have downloaded the= kernel's source code at kernel.org and i have compiled it with a native ppc compiler using ma= ke uImage.

At this moment I have in my system my uImage and u-boot-2009-08 program= med in the flash memory. The bootargs are "root=3D/dev/sda6 rw console= =3DttyS0,115200" and the dtb file was generated by the script dtc incl= uded in the same kernel source code.

I have done:

../path_to_script/dtc -I dts -O dtb -o mpc8572ds.dt= b path_to_dts/mpc8572ds.dts

An finally I have executed the following= instruction with the following result:

=3D> ext2load scsi 0:6 0x= 01000000 /boot/uImage
Loading file "/boot/uImage" from scsi device 0:6 (sda6)
158277= 8 bytes read
=3D> ext2load scsi 0:6 0x00c00000 /boot/mpc8572ds.dtbLoading file "/boot/mpc8572ds.dtb" from scsi device 0:6 (sda6) 13748 bytes read
=3D> bootm 1000000 - c00000
WARNING: adjusting av= ailable memory to 30000000
## Booting kernel from Legacy Image at 010000= 00 ...
=A0=A0 Image Name:=A0=A0 Linux-2.6.31
=A0=A0 Image Type:=A0=A0= PowerPC Linux Kernel Image (gzip compressed)
=A0=A0 Data Size:=A0=A0=A0 1582714 Bytes =3D=A0 1.5 MB
=A0=A0 Load Addre= ss: 00000000
=A0=A0 Entry Point:=A0 00000000
=A0=A0 Verifying Checksu= m ... OK
## Flattened Device Tree blob at 00c00000
=A0=A0 Booting usi= ng the fdt blob at 0xc00000
=A0=A0 Uncompressing Kernel Image ... OK


The startup stuck here = and I don't know why, I have tried to startup my kernel with old dtb= 9;s files but i have get some "kernel panic" errors and some &quo= t;bad structure of the file (/choosen)".

Note: I can start an older kernel with its dtb file.

Thanks.

--001636c5bfbd91bd970473c3241c--