Skip to contentSkip to conversation

configs/atmel_sama5d27_som1: bump to linux4sam_6.1

PATCH New Pierre-Jean Texier 3 participants 10 messages Jul 10, 2019 – Jul 30, 2019 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

This commit :
- bumps Linux & U-Boot to linux4sam_6.1.
- bumps at91bootstrap to v3.8.13

---
Logs:

AT91Bootstrap 3.8.13 (mercredi 10 juillet 2019, 17:56:19 (UTC+0200))

SDHC: fix in place for SAMA5D2 SoM VDDSDMMC over-consumption errata SD/MMC: Image: Read file u-boot.bin to 0x23f00000
...

U-Boot 2019.04-linux4sam_6.1 (Jul 10 2019 - 17:47:29 +0200)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency:       24 MHz
CPU clock        :      492 MHz
Master clock     :      164 MHz
DRAM:  128 MiB
MMC:   sdio-host at a0000000: 0, sdio-host at b0000000: 1

...

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.19.56-linux4sam-6.1

...
Welcome to Buildroot
buildroot login: root

 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +4 -4
index fc9ce8c..ed25f04 100644
@@ -3,7 +3,7 @@ BR2_cortex_a5=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_INSTRUCTIONS_THUMB2=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_PTHREAD_DEBUG=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_som1_ek_mmc/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.0)/linux-linux4sam_6.0.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="sama5"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_som1_ek"
@@ -71,13 +71,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 BR2_TARGET_AT91BOOTSTRAP3=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git"
-BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.12"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13"
 BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_som1_eksd_uboot"
 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/linux4sam/u-boot-at91.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.0"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_som1_ek_mmc"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: add rng-tools package

More entropy is required at boot time for the ssh
daemon to start.

So, enable rngd which feeds the entropy to the kernel entropy tool.

---
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +1 -0
index ed25f04..f1abf83 100644
@@ -41,6 +41,7 @@ BR2_PACKAGE_WILC1000_FIRMWARE=y
 BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_RNG_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
 BR2_PACKAGE_SPI_TOOLS=y
 BR2_PACKAGE_USBUTILS=y
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: add rng-tools package

Quoted 10 lines · Pierre-Jean Texier

External E-Mail

More entropy is required at boot time for the ssh
daemon to start.

So, enable rngd which feeds the entropy to the kernel entropy tool.

Nice!

Ludovic

Quoted 24 lines
---
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +1 -0
index ed25f04..f1abf83 100644
@@ -41,6 +41,7 @@ BR2_PACKAGE_WILC1000_FIRMWARE=y
 BR2_PACKAGE_DEVMEM2=y
 BR2_PACKAGE_EVTEST=y
 BR2_PACKAGE_I2C_TOOLS=y
+BR2_PACKAGE_RNG_TOOLS=y
 BR2_PACKAGE_SETSERIAL=y
 BR2_PACKAGE_SPI_TOOLS=y
 BR2_PACKAGE_USBUTILS=y
Signature · 6 lines
2.7.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
#3 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: add rng-tools package

In reply to Pierre-Jean Texier
Quoted 10 lines · On Wed, 10 Jul 2019 18:21:13 +0200 Pierre-Jean Texier <[email protected]>…

More entropy is required at boot time for the ssh
daemon to start.

So, enable rngd which feeds the entropy to the kernel entropy tool.

---
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

In reply to Pierre-Jean Texier
Quoted 6 lines · Pierre-Jean Texier

This commit :
- bumps Linux & U-Boot to linux4sam_6.1.
- bumps at91bootstrap to v3.8.13

Thanks

Quoted 73 lines

---
Logs:

AT91Bootstrap 3.8.13 (mercredi 10 juillet 2019, 17:56:19 (UTC+0200))

SDHC: fix in place for SAMA5D2 SoM VDDSDMMC over-consumption errata SD/MMC: Image: Read file u-boot.bin to 0x23f00000
...

U-Boot 2019.04-linux4sam_6.1 (Jul 10 2019 - 17:47:29 +0200)

CPU: SAMA5D27 1G bits DDR2 SDRAM
Crystal frequency:       24 MHz
CPU clock        :      492 MHz
Master clock     :      164 MHz
DRAM:  128 MiB
MMC:   sdio-host at a0000000: 0, sdio-host at b0000000: 1

...

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.19.56-linux4sam-6.1

...
Welcome to Buildroot
buildroot login: root

 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +4 -4
index fc9ce8c..ed25f04 100644
@@ -3,7 +3,7 @@ BR2_cortex_a5=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_INSTRUCTIONS_THUMB2=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
 BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
 BR2_PTHREAD_DEBUG=y
 BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_som1_ek_mmc/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.0)/linux-linux4sam_6.0.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="sama5"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_som1_ek"
@@ -71,13 +71,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
 BR2_TARGET_AT91BOOTSTRAP3=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
 BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git"
-BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.12"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13"
 BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_som1_eksd_uboot"
 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/linux4sam/u-boot-at91.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.0"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_som1_ek_mmc"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
Signature · 1 line
2.7.4
#5 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

In reply to Pierre-Jean Texier
Quoted 7 lines · On Wed, 10 Jul 2019 18:21:12 +0200 Pierre-Jean Texier <[email protected]>…

This commit :
- bumps Linux & U-Boot to linux4sam_6.1.
- bumps at91bootstrap to v3.8.13

---
Logs:

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#6 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

In reply to Pierre-Jean Texier

Hello,

Quoted 5 lines · On Wed, 10 Jul 2019 18:21:12 +0200 Pierre-Jean Texier <[email protected]>…

This commit :
- bumps Linux & U-Boot to linux4sam_6.1.
- bumps at91bootstrap to v3.8.13

Following this bump, the atmel_sama5d27_som1_ek_mmc_dev_defconfig no longer builds:

https://gitlab.com/buildroot.org/buildroot/-/jobs/259847527

You need to add:

BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

Could you test this and send a patch ?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#7 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

Hello Thomas,

Le 26/07/2019 ? 16:27, Thomas Petazzoni a ?crit?:

Quoted 10 lines

Following this bump, the atmel_sama5d27_som1_ek_mmc_dev_defconfig no longer builds:

   https://gitlab.com/buildroot.org/buildroot/-/jobs/259847527

You need to add:

BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

Could you test this and send a patch ?

Interesting, I hadn't encountered this problem.
I'll send a patch to fix this issue.

Thanks !

Pierre-Jean

Quoted 4 lines

Thanks!

Thomas

Signature · 3 lines
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io
#8 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

Hello Pierre-Jean,

Quoted 6 lines · On Sun, 28 Jul 2019 14:33:27 +0200 Pierre-Jean Texier <[email protected]>…

Le 26/07/2019 ? 16:27, Thomas Petazzoni a ?crit?:

Quoted 5 lines

Following this bump, the atmel_sama5d27_som1_ek_mmc_dev_defconfig no longer builds:

   https://gitlab.com/buildroot.org/buildroot/-/jobs/259847527
Quoted 8 lines
Quoted 5 lines

You need to add:

BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

Could you test this and send a patch ?

Interesting, I hadn't encountered this problem.
I'll send a patch to fix this issue.

If you have the OpenSSL development package installed on your system, then indeed you don't see the problem. However, the defconfigs are tested in a Docker container, with just the minimal dependencies needed by Buildroot to run, and these dependencies do not include OpenSSL development files. This explains why you have not seen the issue.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#9 lore raw

PATCH 1/1 configs/atmel_sama5d27_som1: bump to linux4sam_6.1

Hello Thomas,

Le 30/07/2019 ? 14:21, Thomas Petazzoni a ?crit?:

Quoted 5 lines

If you have the OpenSSL development package installed on your system, then indeed you don't see the problem. However, the defconfigs are tested in a Docker container, with just the minimal dependencies needed by Buildroot to run, and these dependencies do not include OpenSSL development files. This explains why you have not seen the issue.

Indeed, thanks for the clarifications.

Regards,

Pierre-Jean

Quoted 4 lines

Best regards,

Thomas

Signature · 3 lines
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io