All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] develop using buildroot
@ 2009-12-20 14:06 Marcel
  2009-12-20 15:46 ` hedwin
  2009-12-20 17:53 ` Peter Korsgaard
  0 siblings, 2 replies; 7+ messages in thread
From: Marcel @ 2009-12-20 14:06 UTC (permalink / raw)
  To: buildroot

Hi,

I'm having some issues setting up a workable environment.
I need to write my own kernel drivers, add some packages and change u-boot.

buildroot requires patches, so that's clear but I wonder how to efficiently 
develop those patches.

Do I set up the kernel and u-boot outside buildroot, than create patches form 
there and than include those in buildroot ?

Or, do I compile buildroot, than develop my code from there and generate 
patches ?

Or.....is there a better way ?

regards,
Marcel

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

* [Buildroot] develop using buildroot
  2009-12-20 14:06 [Buildroot] develop using buildroot Marcel
@ 2009-12-20 15:46 ` hedwin
  2009-12-20 16:05   ` Marcel
  2009-12-20 17:53 ` Peter Korsgaard
  1 sibling, 1 reply; 7+ messages in thread
From: hedwin @ 2009-12-20 15:46 UTC (permalink / raw)
  To: buildroot

Hallo Marcel,

Not sure there is a better way, what you need to look at is what makes
it work for you.

In my case for example I use buildroot to create a root filesystem
while I maintain the kernel and u-boot outside buildroot using git.
That works for me.

Hedwin

On Sun, Dec 20, 2009 at 3:06 PM, Marcel <korgull@home.nl> wrote:
> Hi,
>
> I'm having some issues setting up a workable environment.
> I need to write my own kernel drivers, add some packages and change u-boot.
>
> buildroot requires patches, so that's clear but I wonder how to efficiently
> develop those patches.
>
> Do I set up the kernel and u-boot outside buildroot, than create patches form
> there and than include those in buildroot ?
>
> Or, do I compile buildroot, than develop my code from there and generate
> patches ?
>
> Or.....is there a better way ?
>
> regards,
> Marcel
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>

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

* [Buildroot] develop using buildroot
  2009-12-20 15:46 ` hedwin
@ 2009-12-20 16:05   ` Marcel
  2009-12-20 17:52     ` Peter Korsgaard
  0 siblings, 1 reply; 7+ messages in thread
From: Marcel @ 2009-12-20 16:05 UTC (permalink / raw)
  To: buildroot

Hi Hedwin,

That's exactly how I work now. 

I am just going through the pains of getting my initial environment to work 
but I'm almost there I think.
u-boot, kernel and most packages build fine, just the rootfs misses some items 
like /root/etc/passwd. I guess I forgot something along the way.

Regards,
Marcel

> Hallo Marcel,
> 
> Not sure there is a better way, what you need to look at is what makes
> it work for you.
> 
> In my case for example I use buildroot to create a root filesystem
> while I maintain the kernel and u-boot outside buildroot using git.
> That works for me.
> 
> Hedwin
> 
> On Sun, Dec 20, 2009 at 3:06 PM, Marcel <korgull@home.nl> wrote:
> > Hi,
> >
> > I'm having some issues setting up a workable environment.
> > I need to write my own kernel drivers, add some packages and change
> > u-boot.
> >
> > buildroot requires patches, so that's clear but I wonder how to
> > efficiently develop those patches.
> >
> > Do I set up the kernel and u-boot outside buildroot, than create patches
> > form there and than include those in buildroot ?
> >
> > Or, do I compile buildroot, than develop my code from there and generate
> > patches ?
> >
> > Or.....is there a better way ?
> >
> > regards,
> > Marcel
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> 

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

* [Buildroot] develop using buildroot
  2009-12-20 16:05   ` Marcel
@ 2009-12-20 17:52     ` Peter Korsgaard
  2009-12-20 19:09       ` Marcel
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2009-12-20 17:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Marcel" == Marcel  <korgull@home.nl> writes:

 Marcel> Hi Hedwin,
 Marcel> That's exactly how I work now. 

 Marcel> I am just going through the pains of getting my initial environment to work 
 Marcel> but I'm almost there I think.
 Marcel> u-boot, kernel and most packages build fine, just the rootfs misses some items 
 Marcel> like /root/etc/passwd. I guess I forgot something along the way.

That one comes from your target skeleton, see
target/generic/target_skeleton for an example.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] develop using buildroot
  2009-12-20 14:06 [Buildroot] develop using buildroot Marcel
  2009-12-20 15:46 ` hedwin
@ 2009-12-20 17:53 ` Peter Korsgaard
  2009-12-20 18:12   ` Marcel
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2009-12-20 17:53 UTC (permalink / raw)
  To: buildroot

>>>>> "Marcel" == Marcel  <korgull@home.nl> writes:

 Marcel> Hi,
 Marcel> I'm having some issues setting up a workable environment.
 Marcel> I need to write my own kernel drivers, add some packages and change u-boot.

 Marcel> buildroot requires patches, so that's clear but I wonder how to
 Marcel> efficiently develop those patches.

 Marcel> Do I set up the kernel and u-boot outside buildroot, than
 Marcel> create patches form there and than include those in buildroot ?

Didn't you ask the same question just a few days ago? You can work in
whatever way suits you best, but personally I prefer to get kernel+uboot
up and running outside buildroot, and then just add the patches to BR
once everything is working.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] develop using buildroot
  2009-12-20 17:53 ` Peter Korsgaard
@ 2009-12-20 18:12   ` Marcel
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel @ 2009-12-20 18:12 UTC (permalink / raw)
  To: buildroot

Well, I asked about the development environment and found to use git.
From there I figured it was difficult to use inside buildroot and started to find 
a way to do it.
I ended up compiling things outside buildroot but was just wondering if that's 
a good way to do things or if there's any preferred way to do it.

> >>>>> "Marcel" == Marcel  <korgull@home.nl> writes:
> 
>  Marcel> Hi,
>  Marcel> I'm having some issues setting up a workable environment.
>  Marcel> I need to write my own kernel drivers, add some packages and
>  change u-boot.
> 
>  Marcel> buildroot requires patches, so that's clear but I wonder how to
>  Marcel> efficiently develop those patches.
> 
>  Marcel> Do I set up the kernel and u-boot outside buildroot, than
>  Marcel> create patches form there and than include those in buildroot ?
> 
> Didn't you ask the same question just a few days ago? You can work in
> whatever way suits you best, but personally I prefer to get kernel+uboot
> up and running outside buildroot, and then just add the patches to BR
> once everything is working.
> 

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

* [Buildroot] develop using buildroot
  2009-12-20 17:52     ` Peter Korsgaard
@ 2009-12-20 19:09       ` Marcel
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel @ 2009-12-20 19:09 UTC (permalink / raw)
  To: buildroot

On Sunday 20 December 2009 18:52:26 Peter Korsgaard wrote:
> That one comes from your target skeleton, see
> target/generic/target_skeleton for an example.

Thanks for pointing that out. I finally managed to get everything compiled with 
my own board support.

best regards,
Marcel 

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

end of thread, other threads:[~2009-12-20 19:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-20 14:06 [Buildroot] develop using buildroot Marcel
2009-12-20 15:46 ` hedwin
2009-12-20 16:05   ` Marcel
2009-12-20 17:52     ` Peter Korsgaard
2009-12-20 19:09       ` Marcel
2009-12-20 17:53 ` Peter Korsgaard
2009-12-20 18:12   ` Marcel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.