From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Wjp5V-0000BM-7v for ptxdist@pengutronix.de; Mon, 12 May 2014 14:12:28 +0200 Received: by mail-la0-f47.google.com with SMTP id pn19so1800547lab.6 for ; Mon, 12 May 2014 05:12:08 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 12 May 2014 14:12:08 +0200 Message-ID: From: Stella GZ Subject: [ptxdist] ptxdist on a x86 target, grub problem ? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1628612727==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1628612727== Content-Type: multipart/alternative; boundary=001a11c2623032e8fe04f932db01 --001a11c2623032e8fe04f932db01 Content-Type: text/plain; charset=UTF-8 Hello, I'm trying to use ptxdist for a x86 target, using these versions of software for ptxdist, Toolchain and BSP: ptxdist-2012.12.0 OSELAS.Toolchain-2012.12.0/ OSELAS.BSP-Pengutronix-Generic-2012.12 I've selected this configuration: configs/i586-qemu/platformconfig After building the image I can check that all works as expected using Qemu. Now I would like to use this image to boot on the target device. The target boots from a CF card. I select Grub as the bootloader, and also make sure to enable the following: Enable decompression in stage 2 Serial terminal support File System support -> ext2 Device of root fs -> /dev/hda1 I copy the resulting hd.img image to a CF (using dd) and try to boot on the target: GRUB seems to start ok I get the GRUB menu with standalone boot / network boot options. I guess this means that GRUB can find the stage2 files In fact from the GRUB shell I can inspect the contents of (hd0,0) and all the files are there However when I try to boot (standalone option) I get this: root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /boot/bzImage root=/dev/hda1 console=ttyS0,115200 [Linux-bzImage, setup=0x3800, size=0xe9db0] Ant then nothing more. Can someone help? Any hints of what may be wrong? Any pointers are welcome. Regards, Stella --001a11c2623032e8fe04f932db01 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,<= div>
I'm trying to use ptxdist for a = x86 target, using these versions of software for ptxdist, Toolchain and BSP= :
ptxdist-2012.12.0

OSELAS.Toolchai= n-2012.12.0/

OSELAS.BSP-Pengutronix-Generic-2012.12


I've selected this configuration:

=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0configs/i586-qemu/platformconfig


After bui= lding the image I can check that all works as expected using Qemu.


Now I wou= ld like to use this image to boot on the target device. The target boots fr= om a CF card.


I select = Grub as the bootloader, and also make sure to enable the following:<= /font>


Enable de= compression in stage 2

Serial te= rminal support

File Syst= em support -> ext2

Device of= root fs -> /dev/hda1


I copy the resulting hd.img image to a CF (using dd) and try t= o boot on the target:


GRUB seems to start ok

I get the GRUB menu with standalone boot / network boot options. I gues= s this means that GRUB can

find the stage2 files

In fact from the GRUB shell I can inspect the con= tents of (hd0,0) and all the files are there

However when I try to boot (standalone option) I = get this:


root (hd0,0)

Filesystem type is ext2fs, partition type 0x83<= /p>

kernel /boot/bzImage root=3D/dev/hda1 console=3D= ttyS0,115200

[Linux-bzImage, setup=3D0x3800, size=3D0xe9db= 0]


Ant then nothing more.


Can someone help? Any hints of what may be wrong? Any pointers are welcome.=


=

Regards,

Stella




--001a11c2623032e8fe04f932db01-- --===============1628612727== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1628612727==--