* [Buildroot] [PATCH 1/9] support/scripts/genimage.sh: show usage when invoked incorrectly
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
@ 2017-12-09 21:29 ` Luca Ceresoli
2017-12-11 19:14 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
` (7 subsequent siblings)
8 siblings, 1 reply; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:29 UTC (permalink / raw)
To: buildroot
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
support/scripts/genimage.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/support/scripts/genimage.sh b/support/scripts/genimage.sh
index 625afc108c82..5ed9f9c1ae1e 100755
--- a/support/scripts/genimage.sh
+++ b/support/scripts/genimage.sh
@@ -1,7 +1,11 @@
#!/usr/bin/env bash
die() {
- echo "Error: $@" >&2
+ cat <<EOF >&2
+Error: $@
+
+Usage: S{0} -c GENIMAGE_CONFIG_FILE
+EOF
exit 1
}
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 1/9] support/scripts/genimage.sh: show usage when invoked incorrectly
2017-12-09 21:29 ` [Buildroot] [PATCH 1/9] support/scripts/genimage.sh: show usage when invoked incorrectly Luca Ceresoli
@ 2017-12-11 19:14 ` Peter Korsgaard
0 siblings, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:14 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
> support/scripts/genimage.sh | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> diff --git a/support/scripts/genimage.sh b/support/scripts/genimage.sh
> index 625afc108c82..5ed9f9c1ae1e 100755
> --- a/support/scripts/genimage.sh
> +++ b/support/scripts/genimage.sh
> @@ -1,7 +1,11 @@
> #!/usr/bin/env bash
> die() {
> - echo "Error: $@" >&2
> + cat <<EOF >&2
> +Error: $@
> +
> +Usage: S{0} -c GENIMAGE_CONFIG_FILE
This should presumably have been ${0}?
Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
2017-12-09 21:29 ` [Buildroot] [PATCH 1/9] support/scripts/genimage.sh: show usage when invoked incorrectly Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:16 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
` (6 subsequent siblings)
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Run-time tested]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_zed_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index 5be8ecf534a2..1b03ad95a839 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -2,12 +2,12 @@ BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:16 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:19 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Run-time tested]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_zed_defconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
> index 5be8ecf534a2..1b03ad95a839 100644
> --- a/configs/zynq_zed_defconfig
> +++ b/configs/zynq_zed_defconfig
> @@ -2,12 +2,12 @@ BR2_arm=y
> BR2_cortex_a9=y
> BR2_ARM_ENABLE_NEON=y
> BR2_ARM_ENABLE_VFP=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
> BR2_LINUX_KERNEL_UIMAGE=y
> BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
@ 2017-12-11 19:16 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:16 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Run-time tested]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
2017-12-09 21:29 ` [Buildroot] [PATCH 1/9] support/scripts/genimage.sh: show usage when invoked incorrectly Luca Ceresoli
2017-12-09 21:30 ` [Buildroot] [PATCH 2/9] zynq_zed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
` (5 subsequent siblings)
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Run-time tested]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_zed_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index 1b03ad95a839..cd815982f806 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zed"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:19 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Run-time tested]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_zed_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
> index 1b03ad95a839..cd815982f806 100644
> --- a/configs/zynq_zed_defconfig
> +++ b/configs/zynq_zed_defconfig
> @@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_CUSTOM_GIT=y
> BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zed"
> BR2_TARGET_UBOOT_NEEDS_DTC=y
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
@ 2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:17 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Run-time tested]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (2 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 3/9] zynq_zed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
` (4 subsequent siblings)
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_microzed_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index f6e1599930f1..a3c25f9a0e7c 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -2,12 +2,12 @@ BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-11 17:19 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:19 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_microzed_defconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> index f6e1599930f1..a3c25f9a0e7c 100644
> --- a/configs/zynq_microzed_defconfig
> +++ b/configs/zynq_microzed_defconfig
> @@ -2,12 +2,12 @@ BR2_arm=y
> BR2_cortex_a9=y
> BR2_ARM_ENABLE_NEON=y
> BR2_ARM_ENABLE_VFP=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
> BR2_LINUX_KERNEL_UIMAGE=y
> BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
2017-12-11 17:19 ` Alistair Francis
@ 2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:17 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (3 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 4/9] zynq_microzed: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
` (3 subsequent siblings)
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_microzed_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index a3c25f9a0e7c..acd2da584f32 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_microzed"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:20 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_microzed_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> index a3c25f9a0e7c..acd2da584f32 100644
> --- a/configs/zynq_microzed_defconfig
> +++ b/configs/zynq_microzed_defconfig
> @@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_CUSTOM_GIT=y
> BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_microzed"
> BR2_TARGET_UBOOT_NEEDS_DTC=y
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
@ 2017-12-11 19:17 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:17 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (4 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 5/9] zynq_microzed: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:20 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
` (2 subsequent siblings)
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_zc706_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 86dea63e8356..378d19b2ac5f 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -2,12 +2,12 @@ BR2_arm=y
BR2_cortex_a9=y
BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
BR2_LINUX_KERNEL_UIMAGE=y
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:20 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:20 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_zc706_defconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
> index 86dea63e8356..378d19b2ac5f 100644
> --- a/configs/zynq_zc706_defconfig
> +++ b/configs/zynq_zc706_defconfig
> @@ -2,12 +2,12 @@ BR2_arm=y
> BR2_cortex_a9=y
> BR2_ARM_ENABLE_NEON=y
> BR2_ARM_ENABLE_VFP=y
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2016.2"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
> BR2_LINUX_KERNEL_UIMAGE=y
> BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9)
2017-12-09 21:30 ` [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
@ 2017-12-11 19:20 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:20 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (5 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 6/9] zynq_zc706: linux: bump to xilinx-v2017.3 (based on 4.9) Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:20 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 8/9] boards/zynq: rename the DTB to be loaded by U-Boot Luca Ceresoli
2017-12-09 21:30 ` [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image Luca Ceresoli
8 siblings, 2 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
configs/zynq_zc706_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 378d19b2ac5f..1dcccd5635ac 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zc706"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-11 17:20 ` Alistair Francis
2017-12-11 19:20 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Alistair Francis @ 2017-12-11 17:20 UTC (permalink / raw)
To: buildroot
On Sat, Dec 9, 2017 at 1:30 PM, Luca Ceresoli <luca@lucaceresoli.net> wrote:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Alistair
> ---
> configs/zynq_zc706_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
> index 378d19b2ac5f..1dcccd5635ac 100644
> --- a/configs/zynq_zc706_defconfig
> +++ b/configs/zynq_zc706_defconfig
> @@ -20,7 +20,7 @@ BR2_TARGET_UBOOT=y
> BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> BR2_TARGET_UBOOT_CUSTOM_GIT=y
> BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.1"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2017.3"
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="zynq_zc706"
> BR2_TARGET_UBOOT_NEEDS_DTC=y
> BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> --
> 2.7.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3
2017-12-09 21:30 ` [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
2017-12-11 17:20 ` Alistair Francis
@ 2017-12-11 19:20 ` Peter Korsgaard
1 sibling, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 19:20 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Build-tested only]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 8/9] boards/zynq: rename the DTB to be loaded by U-Boot
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (6 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 7/9] zynq_zc706: u-boot: bump to xilinx-v2017.3 Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 21:37 ` Peter Korsgaard
2017-12-09 21:30 ` [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image Luca Ceresoli
8 siblings, 1 reply; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
We are about to introduce genimage support for the Zynq boards. For
all of them U-Boot loads the DTB from a file named "devicetree.dtb" so
we need to rename it on the SD card image.
We could use genimage itself to rename files while creating the
image. But this would require a different genimage.cfg for each board,
leading to duplicate code.
Instead let's create a "devicetree.dtb" symlink pointing to the dtb
listed in the configuration. Currently all the Zynq-based boards have
only one DTS configured, but if one had two or more of them, the
symlink would point to the first one.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
board/zynq/post-image.sh | 11 +++++++++++
configs/zynq_microzed_defconfig | 1 +
configs/zynq_zc706_defconfig | 1 +
configs/zynq_zed_defconfig | 1 +
4 files changed, 14 insertions(+)
create mode 100755 board/zynq/post-image.sh
diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh
new file mode 100755
index 000000000000..449f4a23725a
--- /dev/null
+++ b/board/zynq/post-image.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# By default U-Boot loads DTB from a file named "devicetree.dtb", so
+# let's use a symlink with that name that points to the *first*
+# devicetree listed in the config.
+
+FIRST_DT=$(sed -n \
+ 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \
+ ${BR2_CONFIG})
+
+ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index acd2da584f32..c6685a4bc189 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 1dcccd5635ac..0bb8e3ba3d89 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index cd815982f806..cfcfdff11c90 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -4,6 +4,7 @@ BR2_ARM_ENABLE_NEON=y
BR2_ARM_ENABLE_VFP=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynq/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git"
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 8/9] boards/zynq: rename the DTB to be loaded by U-Boot
2017-12-09 21:30 ` [Buildroot] [PATCH 8/9] boards/zynq: rename the DTB to be loaded by U-Boot Luca Ceresoli
@ 2017-12-11 21:37 ` Peter Korsgaard
0 siblings, 0 replies; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 21:37 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> We are about to introduce genimage support for the Zynq boards. For
> all of them U-Boot loads the DTB from a file named "devicetree.dtb" so
> we need to rename it on the SD card image.
> We could use genimage itself to rename files while creating the
> image. But this would require a different genimage.cfg for each board,
> leading to duplicate code.
> Instead let's create a "devicetree.dtb" symlink pointing to the dtb
> listed in the configuration. Currently all the Zynq-based boards have
> only one DTS configured, but if one had two or more of them, the
> symlink would point to the first one.
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
> board/zynq/post-image.sh | 11 +++++++++++
> configs/zynq_microzed_defconfig | 1 +
> configs/zynq_zc706_defconfig | 1 +
> configs/zynq_zed_defconfig | 1 +
> 4 files changed, 14 insertions(+)
> create mode 100755 board/zynq/post-image.sh
> diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh
> new file mode 100755
> index 000000000000..449f4a23725a
> --- /dev/null
> +++ b/board/zynq/post-image.sh
> @@ -0,0 +1,11 @@
> +#!/bin/sh
> +
> +# By default U-Boot loads DTB from a file named "devicetree.dtb", so
> +# let's use a symlink with that name that points to the *first*
> +# devicetree listed in the config.
> +
> +FIRST_DT=$(sed -n \
> + 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9\-]*\).*"$/\1/p' \
> + ${BR2_CONFIG})
> +
> +ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb
I've added a check for the empty string (E.G. in case you are not
building a kernel / using this option) and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image
2017-12-09 21:29 [Buildroot] [PATCH 0/9] zynq boards: use genimage and update kernel + u-boot Luca Ceresoli
` (7 preceding siblings ...)
2017-12-09 21:30 ` [Buildroot] [PATCH 8/9] boards/zynq: rename the DTB to be loaded by U-Boot Luca Ceresoli
@ 2017-12-09 21:30 ` Luca Ceresoli
2017-12-11 21:40 ` Peter Korsgaard
8 siblings, 1 reply; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-09 21:30 UTC (permalink / raw)
To: buildroot
[Run-time tested on ZedBoard, build-tested on the other boards]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
board/zynq/genimage.cfg | 25 +++++++++++++++++++++++++
board/zynq/post-image.sh | 2 ++
board/zynq/readme.txt | 14 +++++++-------
configs/zynq_microzed_defconfig | 1 +
configs/zynq_zc706_defconfig | 1 +
configs/zynq_zed_defconfig | 1 +
6 files changed, 37 insertions(+), 7 deletions(-)
create mode 100644 board/zynq/genimage.cfg
diff --git a/board/zynq/genimage.cfg b/board/zynq/genimage.cfg
new file mode 100644
index 000000000000..76e61c3a0987
--- /dev/null
+++ b/board/zynq/genimage.cfg
@@ -0,0 +1,25 @@
+image boot.vfat {
+ vfat {
+ files = {
+ "boot.bin",
+ "u-boot.img",
+ "devicetree.dtb",
+ "uImage"
+ }
+ file uramdisk.image.gz {
+ image = "rootfs.cpio.uboot"
+ }
+ }
+ size = 32M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ }
+}
diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh
index 449f4a23725a..d7dde97b72ce 100755
--- a/board/zynq/post-image.sh
+++ b/board/zynq/post-image.sh
@@ -9,3 +9,5 @@ FIRST_DT=$(sed -n \
${BR2_CONFIG})
ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb
+
+support/scripts/genimage.sh -c board/zynq/genimage.cfg
diff --git a/board/zynq/readme.txt b/board/zynq/readme.txt
index c5506fe9668c..162734963a27 100644
--- a/board/zynq/readme.txt
+++ b/board/zynq/readme.txt
@@ -14,13 +14,13 @@ Steps to create a working system for a Zynq board:
make zynq_microzed_defconfig (MicroZed)
2) make
3) All needed files will be available in the output/images directory.
- Create a FAT32 partition at the beginning of your SD Card and copy files:
- - boot.bin
- - u-boot.img
- - uImage
- - uramdisk.image.gz (should be renamed from rootfs.cpio.uboot)
- - devicetree.dtb (should be renamed from zynq-***.dtb)
- into your SD card
+ The sdcard.img file is a complete bootable image ready to be written
+ on the boot medium. To install it, simply copy the image to an SD
+ card:
+
+ # dd if=output/images/sdcard.img of=/dev/sdX
+
+ Where 'sdX' is the device node of the uSD.
4) boot your board
You can alter the booting procedure by creating a file uEnv.txt
diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
index c6685a4bc189..98879cada04d 100644
--- a/configs/zynq_microzed_defconfig
+++ b/configs/zynq_microzed_defconfig
@@ -28,3 +28,4 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
+BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig
index 0bb8e3ba3d89..ffd5bce748d5 100644
--- a/configs/zynq_zc706_defconfig
+++ b/configs/zynq_zc706_defconfig
@@ -28,3 +28,4 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
+BR2_PACKAGE_HOST_GENIMAGE=y
diff --git a/configs/zynq_zed_defconfig b/configs/zynq_zed_defconfig
index cfcfdff11c90..62525f7db8b1 100644
--- a/configs/zynq_zed_defconfig
+++ b/configs/zynq_zed_defconfig
@@ -28,3 +28,4 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_FORMAT_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
+BR2_PACKAGE_HOST_GENIMAGE=y
--
2.7.4
^ permalink raw reply related [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image
2017-12-09 21:30 ` [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image Luca Ceresoli
@ 2017-12-11 21:40 ` Peter Korsgaard
2017-12-12 8:24 ` Luca Ceresoli
0 siblings, 1 reply; 26+ messages in thread
From: Peter Korsgaard @ 2017-12-11 21:40 UTC (permalink / raw)
To: buildroot
>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
> [Run-time tested on ZedBoard, build-tested on the other boards]
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> ---
> board/zynq/genimage.cfg | 25 +++++++++++++++++++++++++
> board/zynq/post-image.sh | 2 ++
> board/zynq/readme.txt | 14 +++++++-------
> configs/zynq_microzed_defconfig | 1 +
> configs/zynq_zc706_defconfig | 1 +
> configs/zynq_zed_defconfig | 1 +
> 6 files changed, 37 insertions(+), 7 deletions(-)
> create mode 100644 board/zynq/genimage.cfg
> diff --git a/board/zynq/genimage.cfg b/board/zynq/genimage.cfg
> new file mode 100644
> index 000000000000..76e61c3a0987
> --- /dev/null
> +++ b/board/zynq/genimage.cfg
> @@ -0,0 +1,25 @@
> +image boot.vfat {
> + vfat {
> + files = {
> + "boot.bin",
> + "u-boot.img",
> + "devicetree.dtb",
> + "uImage"
> + }
> + file uramdisk.image.gz {
> + image = "rootfs.cpio.uboot"
> + }
> + }
> + size = 32M
> +}
> +
> +image sdcard.img {
> + hdimage {
> + }
> +
> + partition boot {
> + partition-type = 0xC
> + bootable = "true"
> + image = "boot.vfat"
> + }
> +}
> diff --git a/board/zynq/post-image.sh b/board/zynq/post-image.sh
> index 449f4a23725a..d7dde97b72ce 100755
> --- a/board/zynq/post-image.sh
> +++ b/board/zynq/post-image.sh
> @@ -9,3 +9,5 @@ FIRST_DT=$(sed -n \
> ${BR2_CONFIG})
> ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/devicetree.dtb
> +
> +support/scripts/genimage.sh -c board/zynq/genimage.cfg
> diff --git a/board/zynq/readme.txt b/board/zynq/readme.txt
> index c5506fe9668c..162734963a27 100644
> --- a/board/zynq/readme.txt
> +++ b/board/zynq/readme.txt
> @@ -14,13 +14,13 @@ Steps to create a working system for a Zynq board:
> make zynq_microzed_defconfig (MicroZed)
> 2) make
> 3) All needed files will be available in the output/images directory.
> - Create a FAT32 partition at the beginning of your SD Card and copy files:
> - - boot.bin
> - - u-boot.img
> - - uImage
> - - uramdisk.image.gz (should be renamed from rootfs.cpio.uboot)
> - - devicetree.dtb (should be renamed from zynq-***.dtb)
> - into your SD card
> + The sdcard.img file is a complete bootable image ready to be written
> + on the boot medium. To install it, simply copy the image to an SD
> + card:
> +
> + # dd if=output/images/sdcard.img of=/dev/sdX
> +
> + Where 'sdX' is the device node of the uSD.
> 4) boot your board
> You can alter the booting procedure by creating a file uEnv.txt
> diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> index c6685a4bc189..98879cada04d 100644
> --- a/configs/zynq_microzed_defconfig
> +++ b/configs/zynq_microzed_defconfig
> @@ -28,3 +28,4 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> BR2_TARGET_UBOOT_FORMAT_IMG=y
> BR2_TARGET_UBOOT_SPL=y
> BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
> +BR2_PACKAGE_HOST_GENIMAGE=y
We also need
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_MTOOLS=y
For creating / populating the vfat image. Committed with that fixed,
thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Buildroot] [PATCH 9/9] boards/zynq: use genimage to generate a bootable SD card image
2017-12-11 21:40 ` Peter Korsgaard
@ 2017-12-12 8:24 ` Luca Ceresoli
0 siblings, 0 replies; 26+ messages in thread
From: Luca Ceresoli @ 2017-12-12 8:24 UTC (permalink / raw)
To: buildroot
Hi Peter,
On 11/12/2017 22:40, Peter Korsgaard wrote:
>>>>>> "Luca" == Luca Ceresoli <luca@lucaceresoli.net> writes:
[...]
> > diff --git a/configs/zynq_microzed_defconfig b/configs/zynq_microzed_defconfig
> > index c6685a4bc189..98879cada04d 100644
> > --- a/configs/zynq_microzed_defconfig
> > +++ b/configs/zynq_microzed_defconfig
> > @@ -28,3 +28,4 @@ BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> > BR2_TARGET_UBOOT_FORMAT_IMG=y
> > BR2_TARGET_UBOOT_SPL=y
> > BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin"
> > +BR2_PACKAGE_HOST_GENIMAGE=y
>
> We also need
>
> BR2_PACKAGE_HOST_DOSFSTOOLS=y
> BR2_PACKAGE_HOST_MTOOLS=y
>
> For creating / populating the vfat image. Committed with that fixed,
> thanks.
You're obviously right, sorry.
BTW, genimage is becoming quite an official tool in Buildroot. Shouldn't
it be mentioned in the manual, along with the dosfstools and mtools
dependencies?
Thanks,
--
Luca
^ permalink raw reply [flat|nested] 26+ messages in thread