* [Buildroot] configure buildroot to patch at91bootstrap
@ 2013-01-29 20:29 John Stile
2013-01-29 20:37 ` John Stile
2013-01-29 20:42 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: John Stile @ 2013-01-29 20:29 UTC (permalink / raw)
To: buildroot
I have modified output/build/at91bootstrap-1.16, and now I would like to
save the patch set and have it applied when I rebuild at91bootstrap-1.16
from scratch.
To my buildroot .conf file, I added:
BR2_TARGET_AT91BOOTSTRAP_PATCH="$(TOPDIR)/board/atmel/at91sam9g20ek/at91bootstrap-patch"
but it is erased from .config after running make.
My patch is named at91bootstrap-1.16-my_stuff.patch
The patch is not being applied.
Am I doing something wrong?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] configure buildroot to patch at91bootstrap
2013-01-29 20:29 [Buildroot] configure buildroot to patch at91bootstrap John Stile
@ 2013-01-29 20:37 ` John Stile
2013-01-29 20:42 ` Thomas Petazzoni
1 sibling, 0 replies; 5+ messages in thread
From: John Stile @ 2013-01-29 20:37 UTC (permalink / raw)
To: buildroot
On Tue, 2013-01-29 at 12:29 -0800, John Stile wrote:
> I have modified output/build/at91bootstrap-1.16, and now I would like to
> save the patch set and have it applied when I rebuild at91bootstrap-1.16
> from scratch.
>
> To my buildroot .conf file, I added:
> BR2_TARGET_AT91BOOTSTRAP_PATCH="$(TOPDIR)/board/atmel/at91sam9g20ek/at91bootstrap-patch"
> but it is erased from .config after running make.
>
> My patch is named at91bootstrap-1.16-my_stuff.patch
>
> The patch is not being applied.
>
> Am I doing something wrong?
>
I should have mentioned I am stuck on buildroot-2011.11.
If there is a fix, can I back port into this version?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] configure buildroot to patch at91bootstrap
2013-01-29 20:29 [Buildroot] configure buildroot to patch at91bootstrap John Stile
2013-01-29 20:37 ` John Stile
@ 2013-01-29 20:42 ` Thomas Petazzoni
2013-01-29 23:33 ` John Stile
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2013-01-29 20:42 UTC (permalink / raw)
To: buildroot
Dear John Stile,
On Tue, 29 Jan 2013 12:29:51 -0800, John Stile wrote:
> I have modified output/build/at91bootstrap-1.16, and now I would like
> to save the patch set and have it applied when I rebuild
> at91bootstrap-1.16 from scratch.
>
> To my buildroot .conf file, I added:
> BR2_TARGET_AT91BOOTSTRAP_PATCH="$(TOPDIR)/board/atmel/at91sam9g20ek/at91bootstrap-patch"
> but it is erased from .config after running make.
Never edit your .config file manually. There is no way it can work
properly, unless you know precisely what you're doing.
The reason why a BR2_TARGET_AT91BOOTSTRAP_PATCH line gets removed is
because this option simply doesn't exist.
Simply go in:
Bootloaders
-> at91bootstrap
-> custom patch dir
And set your patch directory here.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] configure buildroot to patch at91bootstrap
2013-01-29 20:42 ` Thomas Petazzoni
@ 2013-01-29 23:33 ` John Stile
2013-01-30 7:58 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: John Stile @ 2013-01-29 23:33 UTC (permalink / raw)
To: buildroot
On Tue, 2013-01-29 at 21:42 +0100, Thomas Petazzoni wrote:
> Dear John Stile,
>
> On Tue, 29 Jan 2013 12:29:51 -0800, John Stile wrote:
> > I have modified output/build/at91bootstrap-1.16, and now I would like
> > to save the patch set and have it applied when I rebuild
> > at91bootstrap-1.16 from scratch.
> >
> > To my buildroot .conf file, I added:
> > BR2_TARGET_AT91BOOTSTRAP_PATCH="$(TOPDIR)/board/atmel/at91sam9g20ek/at91bootstrap-patch"
> > but it is erased from .config after running make.
>
> Never edit your .config file manually. There is no way it can work
> properly, unless you know precisely what you're doing.
>
> The reason why a BR2_TARGET_AT91BOOTSTRAP_PATCH line gets removed is
> because this option simply doesn't exist.
>
> Simply go in:
>
> Bootloaders
> -> at91bootstrap
> -> custom patch dir
>
> And set your patch directory here.
There in lines the problem.
I do not have:
Bootloaders
-> at91bootstrap
-> custom patch dir
My buildroot 2011.11 has:
Bootloaders --->
[*] AT91 Bootstrap
(at91sam9g20ek) Bootstrap board
Boot Memory (NAND Flash) --->
[ ] AT91 DataFlashBoot
Is is possible to back-port the ability to patch at91bootstrap in
2011.11?
What release added it?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] configure buildroot to patch at91bootstrap
2013-01-29 23:33 ` John Stile
@ 2013-01-30 7:58 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2013-01-30 7:58 UTC (permalink / raw)
To: buildroot
Dear John Stile,
On Tue, 29 Jan 2013 15:33:05 -0800, John Stile wrote:
> > And set your patch directory here.
> There in lines the problem.
> I do not have:
> Bootloaders
> -> at91bootstrap
> -> custom patch dir
>
> My buildroot 2011.11 has:
> Bootloaders --->
> [*] AT91 Bootstrap
> (at91sam9g20ek) Bootstrap board
> Boot Memory (NAND Flash) --->
> [ ] AT91 DataFlashBoot
Aaah, ok, it has been added after the Buildroot version you're
currently using.
> Is is possible to back-port the ability to patch at91bootstrap in
> 2011.11?
Yes, it should not be very complicated. The commit is
502465e435610b54b247b44cf61e7f0ba3d05a22.
> What release added it?
The commit was made on February, 2nd this year, so I suspect it was
part of 2012.02.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-30 7:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29 20:29 [Buildroot] configure buildroot to patch at91bootstrap John Stile
2013-01-29 20:37 ` John Stile
2013-01-29 20:42 ` Thomas Petazzoni
2013-01-29 23:33 ` John Stile
2013-01-30 7:58 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox