boot/at91bootstrap3: add svn repository
A message that is not in the archive (sent off-list or not yet received): [Buildroot] [PATCH] boot/at91bootstrap3: add svn repository
method
PATCH v2 1/1 boot/at91bootstrap3: add svn repository
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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v2 1/1 boot/at91bootstrap3: add svn repository method
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.
--- boot/at91bootstrap3/Config.in | 12 +++++++++--- boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-)
boot/at91bootstrap3/Config.in +9 -3
@@ -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
boot/at91bootstrap3/at91bootstrap3.mk +4 -0
@@ -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
Signature · 6 lines
2.13.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] RE: [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method
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 <[email protected]>写道:
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.
--- boot/at91bootstrap3/Config.in | 12 +++++++++--- boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-)
boot/at91bootstrap3/Config.in +9 -3
@@ -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
boot/at91bootstrap3/at91bootstrap3.mk +4 -0
@@ -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
Signature · 1 line
2.13.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni
AppliedRe: [Buildroot] [PATCH 1/1] [PATCH v2 1/1] boot/at91bootstrap3: add svn repository method
In reply to CHEN Xiangyu via buildrootQuoted 10 lines · On Mon, 25 Oct 2021 10:21:46 +0800 CHEN Xiangyu via buildroot…
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 <[email protected]>--- boot/at91bootstrap3/Config.in | 12 +++++++++--- boot/at91bootstrap3/at91bootstrap3.mk | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot