Hello Stella,

Don't know if this is related to your case, however:

There seems to be a problem when building images for an i586 target using the
"Generic x86/ARM BSP" for ptxdist. The generated menu.lst file will always pass
root=/dev/sda1 to the kernel, regardless of your ROOTFS_DEVICE configuration.

I had a quick look to try to find why this happens. Seems that there
is a default
menu.lst template in ${PTXDIST}/generic/boot/grub/menu.lst which is OK (root
device gets replaced dynamically according to your configuration),
however if you
use the "Generic x86/ARM BSP", the following file will take precedence over the
generic one:

${GENERIC_BSP_DIR}/projectroot/boot/grub/menu.lst.i586

In this file, the root parameter is hardcoded to /dev/sda1. So if your
root device
is not /dev/sda1, you will need to edit this manually.

Ptxdist maintainers: Is there a reason for the separate menu.lst.i586
file? Except
for the issue described above it seems to be almost identical to the
generic menu.lst
file in ptxdist.

Best regards,

Guillermo Rodriguez


2014-05-12 17:57 GMT+02:00 Stella GZ <[email protected]>:
> Hello,
>
> I have tried to specify root=UUID=<uuid_value> but that didn't work either.
>
> 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 <[email protected]> wrote:
>>
>> Hello Jüergen,
>>
>>
>>
>> On 12 May 2014 14:34, Juergen Borleis <[email protected]> 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 <[email protected]> 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=/dev/hda1 console=ttyS0,115200
>>> > > > [Linux-bzImage, setup=0x3800, size=0xe9db0]
>>> > >
>>> > > 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= parameter but got
>>> > the
>>> > same results..
>>>
>>> If you use the "console=ttyS0,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 = 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
>
>



-- 
Guillermo Rodriguez Garcia
[email protected]

Reply via email to