* [Buildroot] Adding svn repo option to uboot
@ 2013-09-10 10:59 john
2013-09-11 9:13 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: john @ 2013-09-10 10:59 UTC (permalink / raw)
To: buildroot
Hi,
I am trying to add an option to build uboot code from an svn repository
in buildroot-2013.05.
This is what I have done so far in
boot/uboot I modified Config.In as follows:
===================================================================
--- Config.in (revision 22)
+++ Config.in (working copy)
@@ -31,6 +31,12 @@
config BR2_TARGET_UBOOT_CUSTOM_GIT
bool "Custom Git repository"
+config BR2_TARGET_UBOOT_CUSTOM_SVN
+ bool "Custom SVN tree"
+ help
+ This option allows Buildroot to get the UBoot source
+ code from a SVN repository.
+
endchoice
config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
@@ -50,6 +56,7 @@
default $BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE if
BR2_TARGET_UBOOT_CUSTOM_VERSION
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if
BR2_TARGET_UBOOT_CUSTOM_GIT
+ default $BR2_TARGET_UBOOT_CUSTOM_SVN_VERSION if
BR2_TARGET_UBOOT_CUSTOM_SVN
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
string "custom patch dir"
@@ -70,6 +77,22 @@
endif
+
+if BR2_TARGET_UBOOT_CUSTOM_SVN
+
+config BR2_TARGET_UBOOT_CUSTOM_SVN_REPO_URL
+ string "URL of custom SVN repository"
+
+
+config BR2_TARGET_UBOOT_CUSTOM_SVN_VERSION
+ string "Custom SVN version"
+ default "HEAD"
+ help
+ SVN revision to use in the format used by SVN rev-parse,
+ E.G. a sha id, a tag, branch, ..
+
+endif
+
choice
prompt "U-Boot binary format"
default BR2_TARGET_UBOOT_FORMAT_BIN
And the uboot.mk file as follows
===================================================================
--- uboot.mk (revision 22)
+++ uboot.mk (working copy)
@@ -19,6 +19,9 @@
else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y)
UBOOT_SITE = $(call qstrip,
$(BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL))
UBOOT_SITE_METHOD = git
+else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y)
+LINUX_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_SVN_REPO_URL))
+LINUX_SITE_METHOD = svn
else
# Handle stable official U-Boot versions
UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
When I try this I get:
>>> uboot HEAD Downloading
/uboot-HEAD.tar.gz: Scheme missing.
--2013-09-10 11:52:31-- http://sources.buildroot.net//uboot-HEAD.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|
176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-09-10 11:52:31 ERROR 404: Not Found.
Any suggestions on what else i may need to do or how I could get more
visibility on why this is not working. I was able to do this
successfully for the linux kernel by adding similar rules.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Adding svn repo option to uboot
2013-09-10 10:59 [Buildroot] Adding svn repo option to uboot john
@ 2013-09-11 9:13 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-09-11 9:13 UTC (permalink / raw)
To: buildroot
Dear john,
On Tue, 10 Sep 2013 11:59:03 +0100, john wrote:
> I am trying to add an option to build uboot code from an svn repository
> in buildroot-2013.05.
> This is what I have done so far in
> boot/uboot I modified Config.In as follows:
This topic is already covered and being discussed as part of the patch
series written by Thomas De Schampheleire. See
http://lists.busybox.net/pipermail/buildroot/2013-September/077362.html.
Best regards,
Thomas Petazzoni
--
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] 2+ messages in thread
end of thread, other threads:[~2013-09-11 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 10:59 [Buildroot] Adding svn repo option to uboot john
2013-09-11 9:13 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox