* [Buildroot] [PATCH] UBOOT: Provide Version selection option to user
@ 2008-04-15 4:53 Hebbar
2008-04-15 7:10 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Hebbar @ 2008-04-15 4:53 UTC (permalink / raw)
To: buildroot
Hi,
Below patch provides Uboot version selection option to user.
Comments welcome.
Regards
Gururaja
Modified Files:
target/u-boot/Config.in
target/u-boot/Makefile.in
diff -purN u-boot_orig/Config.in u-boot/Config.in
--- u-boot_orig/Config.in 2008-04-03 03:15:11.000000000 -0400
+++ u-boot/Config.in 2008-04-15 16:24:47.000000000 -0400
@@ -5,6 +5,29 @@ config BR2_TARGET_UBOOT
help
Build "Das U-Boot" Boot Monitor
+choice
+ prompt "Uboot Version"
+ default BR2_UBOOT_VERSION_1_3_0
+ depends on BR2_TARGET_UBOOT
+ help
+ Select the version of Uboot you wish to use.
+
+ config BR2_UBOOT_VERSION_1_3_0
+ bool "uboot 1.3.0"
+
+ config BR2_UBOOT_VERSION_1_3_1
+ bool "uboot 1.3.1"
+
+ config BR2_UBOOT_VERSION_1_3_2
+ bool "uboot 1.3.2"
+endchoice
+
+config BR2_UBOOT_VERSION
+ string
+ default "1.3.0" if BR2_UBOOT_VERSION_1_3_0
+ default "1.3.1" if BR2_UBOOT_VERSION_1_3_1
+ default "1.3.2" if BR2_UBOOT_VERSION_1_3_2
+
config BR2_TARGET_UBOOT_BOARDNAME
string "board name"
depends on BR2_TARGET_UBOOT
diff -purN u-boot_orig/Makefile.in u-boot/Makefile.in
--- u-boot_orig/Makefile.in 2008-04-15 16:21:56.000000000 -0400
+++ u-boot/Makefile.in 2008-04-15 16:18:32.000000000 -0400
@@ -3,7 +3,7 @@
# U-Boot
#
#############################################################
-U_BOOT_VERSION:=1.3.0
+U_BOOT_VERSION:=$(strip $(subst ",, $(BR2_UBOOT_VERSION)))
U_BOOT_SOURCE:=u-boot-$(U_BOOT_VERSION).tar.bz2
U_BOOT_SITE:=ftp://ftp.denx.de/pub/u-boot
U_BOOT_DIR:=$(PROJECT_BUILD_DIR)/u-boot-$(U_BOOT_VERSION)
--
View this message in context: http://www.nabble.com/-PATCH--UBOOT%3A-Provide-Version-selection-option-to-user-tp16695022p16695022.html
Sent from the BuildRoot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] UBOOT: Provide Version selection option to user
2008-04-15 4:53 [Buildroot] [PATCH] UBOOT: Provide Version selection option to user Hebbar
@ 2008-04-15 7:10 ` Peter Korsgaard
2008-04-15 7:20 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option touser Ulf Samuelsson
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Peter Korsgaard @ 2008-04-15 7:10 UTC (permalink / raw)
To: buildroot
>>>>> "Hebbar" == Hebbar <gururajakr@sanyo.co.in> writes:
Hebbar> Hi,
Hebbar> Below patch provides Uboot version selection option to user.
Hebbar> Comments welcome.
This doesn't apply to trunk - Uboot is now at v1.3.2.
Why would you want a version selector here? Is something not working
in 1.3.2?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] UBOOT: Provide Version selection option touser
2008-04-15 7:10 ` Peter Korsgaard
@ 2008-04-15 7:20 ` Ulf Samuelsson
2008-04-15 7:30 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option to user Gururaja Hebbar K R
2008-04-16 0:02 ` Hebbar
2 siblings, 0 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2008-04-15 7:20 UTC (permalink / raw)
To: buildroot
>>>>>> "Hebbar" == Hebbar <gururajakr@sanyo.co.in> writes:
>
> Hebbar> Hi,
>
> Hebbar> Below patch provides Uboot version selection option to user.
>
> Hebbar> Comments welcome.
>
> This doesn't apply to trunk - Uboot is now at v1.3.2.
>
> Why would you want a version selector here? Is something not working in 1.3.2?
There are probably a lot of U-boot versions out there which never
made it to the main trunk, so people maintain their own patches.
These might or might not apply to the latest trunc.
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] UBOOT: Provide Version selection option to user
2008-04-15 7:10 ` Peter Korsgaard
2008-04-15 7:20 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option touser Ulf Samuelsson
@ 2008-04-15 7:30 ` Gururaja Hebbar K R
2008-04-16 0:02 ` Hebbar
2 siblings, 0 replies; 5+ messages in thread
From: Gururaja Hebbar K R @ 2008-04-15 7:30 UTC (permalink / raw)
To: buildroot
-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter
Korsgaard
>
>This doesn't apply to trunk - Uboot is now at v1.3.2.
>
>Why would you want a version selector here? Is something not working in
1.3.2?
Hi,
my custom board or in general if anyone's board uboot is not yet ported
to latest version then they can select a previous most recent version.
Same like gdb version. even latest is gdb 6.8 we have options starting
at 6.4 in buildroot.
Hence i added this. Default is pointing to 1.3.1 just to make sure its
works for all boards. This can be changed while committing
Regards
Gururaja
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] UBOOT: Provide Version selection option to user
2008-04-15 7:10 ` Peter Korsgaard
2008-04-15 7:20 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option touser Ulf Samuelsson
2008-04-15 7:30 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option to user Gururaja Hebbar K R
@ 2008-04-16 0:02 ` Hebbar
2 siblings, 0 replies; 5+ messages in thread
From: Hebbar @ 2008-04-16 0:02 UTC (permalink / raw)
To: buildroot
Hi,
Latest Gdb Version is Gdb 6.8 But we still have options starting at 6.4 in
buildroot.
option provided to build GDB 6.4 only to support AVR32
option provided for versions that support nios2.
when bloats for atxx and avr32 can pushed all over buildroot, why cant a
general version support be provided which supports many others customized
boards..
I think this is what is done for Busybox also. Even though Latest Busybox
version is 1.10.0 we still have few version options given going back to
1.7.x.
Regards
Gururaja
>>
>>This doesn't apply to trunk - Uboot is now at v1.3.2.
>>
>>Why would you want a version selector here? Is something not working
>>in 1.3.2?
--
View this message in context: http://www.nabble.com/-PATCH--UBOOT%3A-Provide-Version-selection-option-to-user-tp16695022p16713915.html
Sent from the BuildRoot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-16 0:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15 4:53 [Buildroot] [PATCH] UBOOT: Provide Version selection option to user Hebbar
2008-04-15 7:10 ` Peter Korsgaard
2008-04-15 7:20 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option touser Ulf Samuelsson
2008-04-15 7:30 ` [Buildroot] [PATCH] UBOOT: Provide Version selection option to user Gururaja Hebbar K R
2008-04-16 0:02 ` Hebbar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox