From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: References: <201405121420.39530.jbe@pengutronix.de> <201405121434.05004.jbe@pengutronix.de> Date: Mon, 12 May 2014 17:57:55 +0200 Message-ID: From: Stella GZ Subject: Re: [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="===============0782695565==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Borleis Cc: oselas@community.pengutronix.de, ptxdist@pengutronix.de --===============0782695565== Content-Type: multipart/alternative; boundary=001a1134c1f8b12c0d04f93602f0 --001a1134c1f8b12c0d04f93602f0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I have tried to specify root=3DUUID=3D but that didn't work eit= her. VGA support -- I think it is enabled but not 100% sure. Which settings should I check? Can I find a step-by-step guide somewhere? As I said I am starting from the default ptxdist configuration for the "Generic" BSP (got it working in QEmu), then enabled grub and the grub options I stated in my mail, but I cannot get the target to boot. I may be missing something obvious but don't know where to look next. Regards, Stella On 12 May 2014 16:55, Stella GZ wrote: > Hello J=C3=BCergen, > > > > On 12 May 2014 14:34, Juergen Borleis wrote: > >> Hi Stella, >> >> please keep the mailing list on CC. >> >> On Monday 12 May 2014 14:26:50 Stella GZ wrote: >> > On 12 May 2014 14:20, Juergen Borleis wrote: >> > > On Monday 12 May 2014 14:12:08 Stella GZ wrote: >> > > > [...] >> > > > 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=3D/dev/hda1 console=3DttyS0,115200 >> > > > [Linux-bzImage, setup=3D0x3800, size=3D0xe9db0] >> > > >> > > Does GRUB also use the serial console for its output? >> > >> > GRUB output is going to VGA >> > >> > I also tried booting the kernel without the console=3D parameter but g= ot >> the >> > same results.. >> >> If you use the "console=3DttyS0,115200" do you see some output on your >> target's >> serial interface? >> Is VGA support enabled in your kernel config? >> >> We should continue on the oselas.community mailing list instead, because >> your >> issue is not PTXdist related (or at least it seems so). >> >> Regards, >> Juergen >> >> -- >> Pengutronix e.K. | Juergen Borleis >> | >> Linux Solutions for Science and Industry | >> http://www.pengutronix.de/ | >> > > If I use "console =3D ttyS0,115200" I don't see any output on my target's > serial interface (I've used minicom to check) > > VGA support is enabled in my kernel config. > > What do you suggest to do? > > Thank you. > > Regards, > > Stella > --001a1134c1f8b12c0d04f93602f0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I have tried to specify root=3DU= UID=3D<uuid_value> but that didn't work either.

VGA support -- I think it is enabled but not 100% sure. Which setti= ngs should I check?

Can I find a step-by-step guide somewhere? As I said I = am starting from the default
ptxdist configuration for the "= Generic" BSP (got it working in QEmu), then enabled grub
and the grub options I stated in my mail, but I cannot get the target to bo= ot.

I may be missing something obvious but don'= ;t know where to look next.

Regards,
Stella


On 12 May 2014 16:55, Stella GZ <gzestela@gmail.com> w= rote:
Hello J=C3=BCergen,


On 12 = May 2014 14:34, Juergen Borleis <jbe@pengutronix.de> wrote:=
Hi Stella,

please keep the mailing list on CC.

On Monday 12 May 2014 14:26:50 Stella GZ wrote:
> On 12 May 2014 14:20, Juergen Borleis <jbe@pengutronix.de> wrote:
> > On Monday 12 May 2014 14:12:08 Stella GZ wrote:
> > > [...]
> > > GRUB seems to start ok
> > >
> > > I get the GRUB menu with standalone boot / network boot opti= ons. I
> > > guess this means that GRUB can
> > >
> > > find the stage2 files
> > >
> > > In fact from the GRUB shell I can inspect the contents of (h= d0,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=3D/dev/hda1 console=3DttyS0,115200=
> > > [Linux-bzImage, setup=3D0x3800, size=3D0xe9db0]
> >
> > Does GRUB also use the serial console for its output?
>
> GRUB output is going to VGA
>
> I also tried booting the kernel without the console=3D parameter but g= ot the
> same results..

If you use the "console=3DttyS0,115200" do you see some output on= your target's
serial interface?
Is VGA support enabled in your kernel config?

We should continue on the oselas.community mailing list instead, because yo= ur
issue is not PTXdist related (or at least it seems so).

Regards,
Juergen

--
Pengutronix e.K. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| Juergen Borleis =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |
Linux Solutions for Science and Industry =C2=A0 =C2=A0 =C2=A0| http://www.pengutronix.de/= =C2=A0|

If I = use "console =3D ttyS0,115200" I don't see any output on my t= arget's serial interface (I've used minicom to check)

VGA support is enabled in my kernel co= nfig.

= What do you suggest to do?

Thank you.

Regards,

Stella

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