UBOOT: Provide Version selection option to user
PATCH 1/1 UBOOT: Provide Version selection option to user
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
Config.in +23 -0
@@ -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
Makefile.in +1 -1
@@ -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)
Signature · 2 lines
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.
PATCH 1/1 UBOOT: Provide Version selection option to user
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hebbar" == Hebbar <[email protected]> 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?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 UBOOT: Provide Version selection option touser
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hebbar" == Hebbar <[email protected]> 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
PATCH 1/1 UBOOT: Provide Version selection option to user
In reply to Peter Korsgaard-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter Korsgaard
Quoted 4 lines
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
PATCH 1/1 UBOOT: Provide Version selection option to user
In reply to Peter KorsgaardHi,
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
Quoted 5 lines
Quoted 5 lines
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?
Signature · 2 lines
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.