Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Shell-Weirdness
@ 2008-03-20 13:06 Christof Klaiber
  2008-03-20 17:05 ` John Voltz
  0 siblings, 1 reply; 6+ messages in thread
From: Christof Klaiber @ 2008-03-20 13:06 UTC (permalink / raw)
  To: buildroot

I built buildroot from svn for i486 and try to run it in qemu.

~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel
project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append
root=/dev/hda

After booting the kernel, it complains about not finding /etc/init.d/rcS
- where did it go? It used to be there in earlier times.

Then I can activate a shell by hitting Enter.

The shell works fine, but whenever I try to enter a command which
contains a "-", I get an error message or the shell blocks.

e.g. 

/ # ls -l
-> terminal blocks

somtimes I can use <ctrl>-c to escape, sometimes I have to quit qemu.

Any suggestions, why this can happen?

Regards,
  Christof

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Shell-Weirdness
  2008-03-20 13:06 [Buildroot] Shell-Weirdness Christof Klaiber
@ 2008-03-20 17:05 ` John Voltz
  2008-03-20 17:10   ` Nigel Kukard
  0 siblings, 1 reply; 6+ messages in thread
From: John Voltz @ 2008-03-20 17:05 UTC (permalink / raw)
  To: buildroot

Hi Christof,

I have also seen some very weird stuff happen with the latest buildroot
running in a qemu virtual machine. Things like mount requiring -v to work
properly and command line parameters not being passed and other really
strange stuff. I wish someone with a little more experience would try
building for x86 and see how it goes. I had nothing but trouble and finally
gave up. Everything works pretty well on my AVR32 target, so it imust be
something specific to x86 or maybe qemu causing the problems.

John

On Thu, Mar 20, 2008 at 9:06 AM, Christof Klaiber <
christof.klaiber@merath-maschinen.de> wrote:

> I built buildroot from svn for i486 and try to run it in qemu.
>
> ~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel
> project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append
> root=/dev/hda
>
> After booting the kernel, it complains about not finding /etc/init.d/rcS
> - where did it go? It used to be there in earlier times.
>
> Then I can activate a shell by hitting Enter.
>
> The shell works fine, but whenever I try to enter a command which
> contains a "-", I get an error message or the shell blocks.
>
> e.g.
>
> / # ls -l
> -> terminal blocks
>
> somtimes I can use <ctrl>-c to escape, sometimes I have to quit qemu.
>
> Any suggestions, why this can happen?
>
> Regards,
>  Christof
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080320/ebd1a916/attachment-0001.htm 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Shell-Weirdness
  2008-03-20 17:05 ` John Voltz
@ 2008-03-20 17:10   ` Nigel Kukard
  2008-03-20 17:12     ` Nigel Kukard
  0 siblings, 1 reply; 6+ messages in thread
From: Nigel Kukard @ 2008-03-20 17:10 UTC (permalink / raw)
  To: buildroot

The problem is the avr32 patch against GCC.

It took me the past 3 days with Jacmet to track it down.

900-avr32-atmel.1.3.2.patch   <= THAT patch.

I'm still investigating how to fix it.

-N

On Thu, 2008-03-20@13:05 -0400, John Voltz wrote:
> Hi Christof,
> 
> I have also seen some very weird stuff happen with the latest
> buildroot running in a qemu virtual machine. Things like mount
> requiring -v to work properly and command line parameters not being
> passed and other really strange stuff. I wish someone with a little
> more experience would try building for x86 and see how it goes. I had
> nothing but trouble and finally gave up. Everything works pretty well
> on my AVR32 target, so it imust be something specific to x86 or maybe
> qemu causing the problems.
> 
> John
> 
> On Thu, Mar 20, 2008 at 9:06 AM, Christof Klaiber
> <christof.klaiber@merath-maschinen.de> wrote:
>         I built buildroot from svn for i486 and try to run it in qemu.
>         
>         ~/qemu/bin/qemu -hda binaries/uclibc/rootfs.i686.ext2 -kernel
>         project_build_i686/uclibc/linux-2.6.24.3/arch/i386/boot/bzImage -append
>         root=/dev/hda
>         
>         After booting the kernel, it complains about not
>         finding /etc/init.d/rcS
>         - where did it go? It used to be there in earlier times.
>         
>         Then I can activate a shell by hitting Enter.
>         
>         The shell works fine, but whenever I try to enter a command
>         which
>         contains a "-", I get an error message or the shell blocks.
>         
>         e.g.
>         
>         / # ls -l
>         -> terminal blocks
>         
>         somtimes I can use <ctrl>-c to escape, sometimes I have to
>         quit qemu.
>         
>         Any suggestions, why this can happen?
>         
>         Regards,
>          Christof
>         
>         
>         _______________________________________________
>         buildroot mailing list
>         buildroot at uclibc.org
>         http://busybox.net/mailman/listinfo/buildroot
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
-- 
Regards
Nigel Kukard, PhD CompSc
Linux Based Systems Design

Support: 086 747 7600 (premium 24/7/365)
Fax: 086 601 7884

Quote: The best language to use is the language that was designed for
what you want to use it for.

*** The attachment to my email signature.asc is a digital PGP
signature, if your mail client supports digital signatures it will
allow you to verify I am the sender of this email and that it has not
been tampered with along the way ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://busybox.net/lists/buildroot/attachments/20080320/092b9fbb/attachment.pgp 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Shell-Weirdness
  2008-03-20 17:10   ` Nigel Kukard
@ 2008-03-20 17:12     ` Nigel Kukard
  2008-03-20 17:32       ` John Voltz
  0 siblings, 1 reply; 6+ messages in thread
From: Nigel Kukard @ 2008-03-20 17:12 UTC (permalink / raw)
  To: buildroot


> The problem is the avr32 patch against GCC.
> 
> It took me the past 3 days with Jacmet to track it down.
> 
> 900-avr32-atmel.1.3.2.patch   <= THAT patch.
> 
> I'm still investigating how to fix it.

As the patches after it will more than likely fail ... remove every
patch 900 and above and it works perfectly no problem.

-N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://busybox.net/lists/buildroot/attachments/20080320/770ebf23/attachment.pgp 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Shell-Weirdness
  2008-03-20 17:12     ` Nigel Kukard
@ 2008-03-20 17:32       ` John Voltz
  2008-03-25  7:12         ` [Buildroot] [BR-AVR32] Shell-Weirdness Hans-Christian Egtvedt
  0 siblings, 1 reply; 6+ messages in thread
From: John Voltz @ 2008-03-20 17:32 UTC (permalink / raw)
  To: buildroot

Wow. That stinks. I'll forward this message to the Atmel guys and see if
they have any idea what to do to maybe fix this.

John Voltz

On Thu, Mar 20, 2008 at 1:12 PM, Nigel Kukard <nkukard@lbsd.net> wrote:

>
> > The problem is the avr32 patch against GCC.
> >
> > It took me the past 3 days with Jacmet to track it down.
> >
> > 900-avr32-atmel.1.3.2.patch   <= THAT patch.
> >
> > I'm still investigating how to fix it.
>
> As the patches after it will more than likely fail ... remove every
> patch 900 and above and it works perfectly no problem.
>
> -N
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080320/dc2e88e8/attachment.htm 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [BR-AVR32] Re:  Shell-Weirdness
  2008-03-20 17:32       ` John Voltz
@ 2008-03-25  7:12         ` Hans-Christian Egtvedt
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Christian Egtvedt @ 2008-03-25  7:12 UTC (permalink / raw)
  To: buildroot

On Thu, 2008-03-20 at 13:32 -0400, John Voltz wrote:
> Wow. That stinks. I'll forward this message to the Atmel guys and see
> if they have any idea what to do to maybe fix this.
> 

The AVR32 patches for GCC (and Binutils) are vendor specific so I would
not recommend applying them to other architectures.

That is also one of the reasons it is better for the time being to
separate out the AVR32 specific stuff from Buildroot in a separate
branch.

When time comes, and stuff is properly merged, there should be very
little difference between upstream and the AVR32 branch.

-- 
With kind regards,
Hans-Christian Egtvedt, Applications Engineer

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-03-25  7:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20 13:06 [Buildroot] Shell-Weirdness Christof Klaiber
2008-03-20 17:05 ` John Voltz
2008-03-20 17:10   ` Nigel Kukard
2008-03-20 17:12     ` Nigel Kukard
2008-03-20 17:32       ` John Voltz
2008-03-25  7:12         ` [Buildroot] [BR-AVR32] Shell-Weirdness Hans-Christian Egtvedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox