configure buildroot to patch at91bootstrap
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?
Quoted 8 lines · John Stile
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.
Quoted 6 lines
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?
Dear John Stile,
Quoted 7 lines · John Stile
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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Quoted 17 lines · Thomas Petazzoni
Dear John Stile,
Quoted 7 lines · John Stile
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_PATCHline gets removed is because this option simply doesn't exist.
Quoted 7 lines
Simply go in:
Bootloaders
-> at91bootstrap-> custom patch dirAnd 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?
Dear John Stile,
Quoted 7 lines · John Stile
Quoted 1 line
And set your patch directory here.
There in lines the problem.
I do not have:
Bootloaders
-> at91bootstrap
-> custom patch dir
Quoted 6 lines
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.
Quoted 2 lines
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.
Quoted 1 line
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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com