develop using 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
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
Quoted 23 lines · Marcel
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
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
Quoted 36 lines
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
Quoted 23 lines · Marcel
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcel" == Marcel <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcel" == Marcel <[email protected]> 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.
Signature · 1 line
Bye, Peter Korsgaard
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.
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcel" == Marcel <[email protected]> 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.
Quoted 2 lines · 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