* [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository
[not found] <[Buildroot] [PATCH] boot/at91bootstrap3: add svn repository method>
@ 2021-10-25 2:21 ` CHEN Xiangyu via buildroot
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method CHEN Xiangyu via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: CHEN Xiangyu via buildroot @ 2021-10-25 2:21 UTC (permalink / raw)
To: buildroot, thomas.petazzoni; +Cc: spdawson
Hi Thomas and all,
Sorry for the stupid mistake in before thread's patch, I copied the changes from a svn branch to git branch and missing the "AT91BOOTSTRAP3_SITE" config.
Now I re-submitted a v2 patch, the changes as below:
v0 --> v1 : applied Thomas's comment, fix the AT91BOOTSTRAM3_SITE missing.
Testing done in my local setup with private SVN server, log as below:
chenxy@linux-0qql:/raw/swap/buildroot-master> make at91bootstrap3-rebuild
rm -f /raw/swap/buildroot-master/output/build/at91bootstrap3-r1193/.stamp_installed
....
rm -f /raw/swap/buildroot-master/output/build/at91bootstrap3-r1193/.stamp_built
>>> at91bootstrap3 r1193 Downloading
svn --non-interactive export --ignore-keywords 'https://myprivate.svn.com/at91bootstrap-3.10.0@r1193' 'at91bootstrap3-r1193'
A at91bootstrap3-r1193
A at91bootstrap3-r1193/.dir-locals.el
.....
A at91bootstrap3-r1193/toplevel_cpp.mk
r1193 done.
>>> at91bootstrap3 r1193 Extracting
gzip -d -c /raw/buildroot-at91/dl/at91bootstrap3/at91bootstrap3-r1193-br2.tar.gz | tar --strip-components=1 -C /raw/swap/buildroot-master/output/build/at91bootstrap3-r1193 -xf -
>>> at91bootstrap3 r1193 Patching
make[1]: Entering directory '/raw/swap/buildroot-master/output/build/at91bootstrap3-r1193'
......
Size of sam9x60ek-nandflashboot-uboot-3.10.0.bin is 17316 bytes
[Succeeded] It's OK to fit into SRAM area
[Attention] The space left for stack is 48220 bytes
make[1]: Leaving directory '/raw/swap/buildroot-master/output/build/at91bootstrap3-r1193'
>>> at91bootstrap3 r1193 Installing to images directory
The final could be found under ouput/images directory, everything looks ok
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository CHEN Xiangyu via buildroot
@ 2021-10-25 2:21 ` CHEN Xiangyu via buildroot
2021-10-25 2:38 ` [Buildroot] RE: " Xiangyu Chen via buildroot
2021-12-30 16:37 ` [Buildroot] " Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: CHEN Xiangyu via buildroot @ 2021-10-25 2:21 UTC (permalink / raw)
To: buildroot, thomas.petazzoni; +Cc: CHEN Xiangyu, spdawson
Since more and more traditional companies are starting using buildroot
with AT91SAM9x chipset as their product firmware, much of them are still
using SVN as their version control system. So add svn repository method
to AT91bootstrap3 package.
Signed-off-by: CHEN Xiangyu <xiangyu.chen@aol.com>
---
boot/at91bootstrap3/Config.in | 12 +++++++++---
boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 650d3a23c8..b3e18fce7c 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -30,6 +30,12 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
This option allows Buildroot to get the AT91 Bootstrap 3
source code from a Git repository.
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
+ bool "Custom SVN repository"
+ help
+ This option allows Buildroot to get the AT91 Bootstrap 3
+ source code from a Subversion repository
+
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
bool "Custom tarball"
@@ -39,7 +45,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
string "URL of custom AT91Bootstrap tarball"
depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
-if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
string "URL of custom repository"
@@ -47,7 +53,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
string "Custom repository version"
help
- Revision to use in the typical format used by Git
+ Revision to use in the typical format used by Git or SVN
E.G. a sha id, a tag, branch, ..
endif
@@ -57,7 +63,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_VERSION
default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
- if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+ if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 1e2a3a44b0..4bbe7cc718 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -15,6 +15,10 @@ else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y)
AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
AT91BOOTSTRAP3_SITE_METHOD = git
BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE)
+else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN),y)
+AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
+AT91BOOTSTRAP3_SITE_METHOD = svn
+BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE)
else
AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
endif
--
2.13.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] RE: [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method CHEN Xiangyu via buildroot
@ 2021-10-25 2:38 ` Xiangyu Chen via buildroot
2021-12-30 16:37 ` [Buildroot] " Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Xiangyu Chen via buildroot @ 2021-10-25 2:38 UTC (permalink / raw)
To: buildroot, thomas.petazzoni; +Cc: spdawson
[-- Attachment #1.1: Type: text/plain, Size: 3833 bytes --]
Hi Thomas and all,
Sorry for that stupid mistake in patch v1,I copied a svn workspace code to git and missing AT91BOOTSTRAP3_SITE string.
Now I re-submitted a v2 patch, has been done in my git workspace, the changes as below:
V1->V2 add Thomas’s comment, fix mistake
Testing done in my local setup
The at91bootstrap can be downloaded and compiled successfully in a private SVN server.
Thanks and Best regards,Xiangyu
星期一, 十月 25, 2021, 10:22 上午 于 CHEN Xiangyu <xiangyu.chen@aol.com>写道:
Since more and more traditional companies are starting using buildroot
with AT91SAM9x chipset as their product firmware, much of them are still
using SVN as their version control system. So add svn repository method
to AT91bootstrap3 package.
Signed-off-by: CHEN Xiangyu <xiangyu.chen@aol.com>
---
boot/at91bootstrap3/Config.in | 12 +++++++++---
boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/boot/at91bootstrap3/Config.in b/boot/at91bootstrap3/Config.in
index 650d3a23c8..b3e18fce7c 100644
--- a/boot/at91bootstrap3/Config.in
+++ b/boot/at91bootstrap3/Config.in
@@ -30,6 +30,12 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
This option allows Buildroot to get the AT91 Bootstrap 3
source code from a Git repository.
+config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
+ bool "Custom SVN repository"
+ help
+ This option allows Buildroot to get the AT91 Bootstrap 3
+ source code from a Subversion repository
+
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
bool "Custom tarball"
@@ -39,7 +45,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
string "URL of custom AT91Bootstrap tarball"
depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
-if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
string "URL of custom repository"
@@ -47,7 +53,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
string "Custom repository version"
help
- Revision to use in the typical format used by Git
+ Revision to use in the typical format used by Git or SVN
E.G. a sha id, a tag, branch, ..
endif
@@ -57,7 +63,7 @@ config BR2_TARGET_AT91BOOTSTRAP3_VERSION
default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
- if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
+ if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN
default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
diff --git a/boot/at91bootstrap3/at91bootstrap3.mk b/boot/at91bootstrap3/at91bootstrap3.mk
index 1e2a3a44b0..4bbe7cc718 100644
--- a/boot/at91bootstrap3/at91bootstrap3.mk
+++ b/boot/at91bootstrap3/at91bootstrap3.mk
@@ -15,6 +15,10 @@ else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y)
AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
AT91BOOTSTRAP3_SITE_METHOD = git
BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE)
+else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN),y)
+AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL))
+AT91BOOTSTRAP3_SITE_METHOD = svn
+BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE)
else
AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION))
endif
--
2.13.1
[-- Attachment #1.2: Type: text/html, Size: 6111 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method CHEN Xiangyu via buildroot
2021-10-25 2:38 ` [Buildroot] RE: " Xiangyu Chen via buildroot
@ 2021-12-30 16:37 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-12-30 16:37 UTC (permalink / raw)
To: CHEN Xiangyu via buildroot; +Cc: spdawson, CHEN Xiangyu
On Mon, 25 Oct 2021 10:21:46 +0800
CHEN Xiangyu via buildroot <buildroot@buildroot.org> wrote:
> Since more and more traditional companies are starting using buildroot
> with AT91SAM9x chipset as their product firmware, much of them are still
> using SVN as their version control system. So add svn repository method
> to AT91bootstrap3 package.
>
> Signed-off-by: CHEN Xiangyu <xiangyu.chen@aol.com>
> ---
> boot/at91bootstrap3/Config.in | 12 +++++++++---
> boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++
> 2 files changed, 13 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-12-30 16:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <[Buildroot] [PATCH] boot/at91bootstrap3: add svn repository method>
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository CHEN Xiangyu via buildroot
2021-10-25 2:21 ` [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method CHEN Xiangyu via buildroot
2021-10-25 2:38 ` [Buildroot] RE: " Xiangyu Chen via buildroot
2021-12-30 16:37 ` [Buildroot] " Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.