configs/microchip_sama7g5ek: add new defconfigs
PATCH 1/2 configs/microchip_sama7g5ek: add new defconfigs
Add new defconfigs for sama7g5 evaluation kit.
Update README with new defconfigs.
Board uses linux 5.15 mainline.
--- 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
board/atmel/readme.txt +2 -0
@@ -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.
board/microchip/sama7g5ek/genimage.cfg new file +31 -0
@@ -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 + } +}
configs/microchip_sama7g5ek_mmc_defconfig new file +26 -0
@@ -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
configs/microchip_sama7g5ek_mmc_dev_defconfig new file +69 -0
69 lines not on this page · raw message
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 configs/microchip_sama5d2_icp: update at91bootstrap version
Update AT91bootstrap version to released 4.0.0 instead of using a release candidate.
--- configs/microchip_sama5d2_icp_mmc_defconfig | 2 +- configs/microchip_sama5d2_icp_mmc_dev_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
configs/microchip_sama5d2_icp_mmc_defconfig +1 -1
@@ -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
configs/microchip_sama5d2_icp_mmc_dev_defconfig +1 -1
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · 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 <[email protected]>---
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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Eugen,
Quoted 3 lines · On Mon, 6 Dec 2021 07:45:33 +0000 <[email protected]> wrote:
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.
We can make sure to merge these defconfigs for 2022.02 LTS indeed, there's still enough time for that.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Eugen,
Quoted 5 lines · On Thu, 4 Nov 2021 17:23:28 +0200 Eugen Hristev via buildroot…
Add new defconfigs for sama7g5 evaluation kit.
Update README with new defconfigs.
Board uses linux 5.15 mainline.Signed-off-by Eugen Hristev <[email protected]>
Quoted 9 lines
--- 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
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