* [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs
@ 2021-11-04 15:23 Eugen Hristev via buildroot
2021-11-04 15:23 ` [Buildroot] [PATCH 2/2] configs/microchip_sama5d2_icp: update at91bootstrap version Eugen Hristev via buildroot
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Eugen Hristev via buildroot @ 2021-11-04 15:23 UTC (permalink / raw)
To: buildroot; +Cc: Eugen Hristev
Add new defconfigs for sama7g5 evaluation kit.
Update README with new defconfigs.
Board uses linux 5.15 mainline.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
board/atmel/readme.txt | 2 +
board/microchip/sama7g5ek/genimage.cfg | 31 +++++++++
configs/microchip_sama7g5ek_mmc_defconfig | 26 +++++++
configs/microchip_sama7g5ek_mmc_dev_defconfig | 69 +++++++++++++++++++
4 files changed, 128 insertions(+)
create mode 100644 board/microchip/sama7g5ek/genimage.cfg
create mode 100644 configs/microchip_sama7g5ek_mmc_defconfig
create mode 100644 configs/microchip_sama7g5ek_mmc_dev_defconfig
diff --git a/board/atmel/readme.txt b/board/atmel/readme.txt
index a29d027214..a9c427e90b 100644
--- a/board/atmel/readme.txt
+++ b/board/atmel/readme.txt
@@ -25,6 +25,8 @@ This guide covers the following configurations:
- microchip_sam9x60ek_mmc_dev_defconfig
- microchip_sama5d2_icp_mmc_defconfig
- microchip_sama5d2_icp_mmc_dev_defconfig
+ - microchip_sama7g5ek_mmc_defconfig
+ - microchip_sama7g5ek_mmc_dev_defconfig
These configurations will use AT91Bootstrap, u-boot and a linux kernel from
the git trees maintained by Atmel.
diff --git a/board/microchip/sama7g5ek/genimage.cfg b/board/microchip/sama7g5ek/genimage.cfg
new file mode 100644
index 0000000000..ade29e4b5d
--- /dev/null
+++ b/board/microchip/sama7g5ek/genimage.cfg
@@ -0,0 +1,31 @@
+# Image for SD card boot on Microchip SAMA7G5EK (sama7g5 evaluation kit)
+#
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "at91-sama7g5ek.dtb",
+ "boot.bin",
+ "u-boot.bin"
+ }
+ }
+ size = 16M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 1M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 512M
+ }
+}
diff --git a/configs/microchip_sama7g5ek_mmc_defconfig b/configs/microchip_sama7g5ek_mmc_defconfig
new file mode 100644
index 0000000000..406a49dd94
--- /dev/null
+++ b/configs/microchip_sama7g5ek_mmc_defconfig
@@ -0,0 +1,26 @@
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
+BR2_OPTIMIZE_FAST=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_DEFCONFIG="sama7"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0)/at91bootstrap-v4.0.0.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
diff --git a/configs/microchip_sama7g5ek_mmc_dev_defconfig b/configs/microchip_sama7g5ek_mmc_dev_defconfig
new file mode 100644
index 0000000000..df72722221
--- /dev/null
+++ b/configs/microchip_sama7g5ek_mmc_dev_defconfig
@@ -0,0 +1,69 @@
+BR2_arm=y
+BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
+BR2_OPTIMIZE_FAST=y
+BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
+BR2_PTHREAD_DEBUG=y
+BR2_TOOLCHAIN_BUILDROOT_CXX=y
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_DEFCONFIG="sama7"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek"
+BR2_PACKAGE_LINUX_TOOLS_IIO=y
+BR2_PACKAGE_BZIP2=y
+BR2_PACKAGE_XZ=y
+BR2_PACKAGE_ZIP=y
+BR2_PACKAGE_GDB=y
+BR2_PACKAGE_LMBENCH=y
+BR2_PACKAGE_STRACE=y
+BR2_PACKAGE_TREE=y
+BR2_PACKAGE_DOSFSTOOLS=y
+BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y
+BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y
+BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
+BR2_PACKAGE_MMC_UTILS=y
+BR2_PACKAGE_MTD=y
+BR2_PACKAGE_WILC1000_FIRMWARE=y
+BR2_PACKAGE_EVTEST=y
+BR2_PACKAGE_SETSERIAL=y
+BR2_PACKAGE_SPI_TOOLS=y
+BR2_PACKAGE_USBUTILS=y
+BR2_PACKAGE_LIBSYSFS=y
+BR2_PACKAGE_LIBDRM=y
+BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y
+BR2_PACKAGE_DTC=y
+BR2_PACKAGE_DTC_PROGRAMS=y
+BR2_PACKAGE_ARGP_STANDALONE=y
+BR2_PACKAGE_BLUEZ5_UTILS=y
+BR2_PACKAGE_BRIDGE_UTILS=y
+BR2_PACKAGE_CAN_UTILS=y
+BR2_PACKAGE_ETHTOOL=y
+BR2_PACKAGE_IPERF=y
+BR2_PACKAGE_IPROUTE2=y
+BR2_PACKAGE_IPTABLES=y
+BR2_PACKAGE_IW=y
+BR2_PACKAGE_LRZSZ=y
+BR2_PACKAGE_MII_DIAG=y
+BR2_PACKAGE_OPENSSH=y
+BR2_PACKAGE_WIRELESS_TOOLS=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_HTOP=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
+BR2_TARGET_AT91BOOTSTRAP3=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0)/at91bootstrap-v4.0.0.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot"
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_PACKAGE_HOST_DOSFSTOOLS=y
+BR2_PACKAGE_HOST_GENIMAGE=y
+BR2_PACKAGE_HOST_MTOOLS=y
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread* [Buildroot] [PATCH 2/2] configs/microchip_sama5d2_icp: update at91bootstrap version
2021-11-04 15:23 [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen Hristev via buildroot
@ 2021-11-04 15:23 ` Eugen Hristev via buildroot
2021-12-06 7:45 ` [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen.Hristev--- via buildroot
2021-12-28 21:03 ` Thomas Petazzoni
2 siblings, 0 replies; 5+ messages in thread
From: Eugen Hristev via buildroot @ 2021-11-04 15:23 UTC (permalink / raw)
To: buildroot; +Cc: Eugen Hristev
Update AT91bootstrap version to released 4.0.0 instead of using a release
candidate.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
configs/microchip_sama5d2_icp_mmc_defconfig | 2 +-
configs/microchip_sama5d2_icp_mmc_dev_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/microchip_sama5d2_icp_mmc_defconfig b/configs/microchip_sama5d2_icp_mmc_defconfig
index e41fdf2d31..5d0eac3250 100644
--- a/configs/microchip_sama5d2_icp_mmc_defconfig
+++ b/configs/microchip_sama5d2_icp_mmc_defconfig
@@ -17,7 +17,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
BR2_TARGET_AT91BOOTSTRAP3=y
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
-BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0-rc2)/at91bootstrap-v4.0.0-rc2.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0)/at91bootstrap-v4.0.0.tar.gz"
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot"
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
diff --git a/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
index 50ae0a9ce7..46e802f67b 100644
--- a/configs/microchip_sama5d2_icp_mmc_dev_defconfig
+++ b/configs/microchip_sama5d2_icp_mmc_dev_defconfig
@@ -60,7 +60,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
BR2_TARGET_AT91BOOTSTRAP3=y
BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y
-BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0-rc2)/at91bootstrap-v4.0.0-rc2.tar.gz"
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.0)/at91bootstrap-v4.0.0.tar.gz"
BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot"
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs
2021-11-04 15:23 [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen Hristev via buildroot
2021-11-04 15:23 ` [Buildroot] [PATCH 2/2] configs/microchip_sama5d2_icp: update at91bootstrap version Eugen Hristev via buildroot
@ 2021-12-06 7:45 ` Eugen.Hristev--- via buildroot
2021-12-11 14:57 ` Thomas Petazzoni
2021-12-28 21:03 ` Thomas Petazzoni
2 siblings, 1 reply; 5+ messages in thread
From: Eugen.Hristev--- via buildroot @ 2021-12-06 7:45 UTC (permalink / raw)
To: thomas.petazzoni; +Cc: buildroot
On 11/4/21 5:23 PM, Eugen Hristev wrote:
> Add new defconfigs for sama7g5 evaluation kit.
> Update README with new defconfigs.
> Board uses linux 5.15 mainline.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
Hi Thomas,
Will this go into -next as well?
We plan to move to the 2022.02 LTS next year and it would be a big
milestone for us to have this board for the next buildroot major LTS.
Thanks,
Eugen
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs
2021-11-04 15:23 [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen Hristev via buildroot
2021-11-04 15:23 ` [Buildroot] [PATCH 2/2] configs/microchip_sama5d2_icp: update at91bootstrap version Eugen Hristev via buildroot
2021-12-06 7:45 ` [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen.Hristev--- via buildroot
@ 2021-12-28 21:03 ` Thomas Petazzoni
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2021-12-28 21:03 UTC (permalink / raw)
To: Eugen Hristev; +Cc: Eugen Hristev via buildroot
Hello Eugen,
On Thu, 4 Nov 2021 17:23:28 +0200
Eugen Hristev via buildroot <buildroot@buildroot.org> wrote:
> Add new defconfigs for sama7g5 evaluation kit.
> Update README with new defconfigs.
> Board uses linux 5.15 mainline.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
> board/atmel/readme.txt | 2 +
> board/microchip/sama7g5ek/genimage.cfg | 31 +++++++++
> configs/microchip_sama7g5ek_mmc_defconfig | 26 +++++++
> configs/microchip_sama7g5ek_mmc_dev_defconfig | 69 +++++++++++++++++++
> 4 files changed, 128 insertions(+)
> create mode 100644 board/microchip/sama7g5ek/genimage.cfg
> create mode 100644 configs/microchip_sama7g5ek_mmc_defconfig
> create mode 100644 configs/microchip_sama7g5ek_mmc_dev_defconfig
I have applied both patches. On the first patch, I dropped
BR2_OPTIMIZE_FAST=y from the defconfigs, as we normally don't override
the default optimize level in our defconfigs, and I also added you in
the DEVELOPERS file for the files added for these defconfigs.
Thanks a lot!
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] 5+ messages in thread
end of thread, other threads:[~2021-12-28 21:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-04 15:23 [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen Hristev via buildroot
2021-11-04 15:23 ` [Buildroot] [PATCH 2/2] configs/microchip_sama5d2_icp: update at91bootstrap version Eugen Hristev via buildroot
2021-12-06 7:45 ` [Buildroot] [PATCH 1/2] configs/microchip_sama7g5ek: add new defconfigs Eugen.Hristev--- via buildroot
2021-12-11 14:57 ` Thomas Petazzoni
2021-12-28 21:03 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox