Skip to contentSkip to conversation

configs/microchip: addition of the sama5d27 wlsom1 ek board

PATCH Superseded Eugen.Hristev at microchip.com 2 participants 2 messages Nov 11, 2019 Arm/Microchip (AT91) SoC support

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/microchip: addition of the sama5d27 wlsom1 ek board

From: Eugen Hristev <[email protected]>

Add the new SAMA5D27 WLSOM1 Evaluation Kit with linux4sam_6.2 components.

---
 .../atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg | 31 +++++++
 ...ochip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 87 +++++++++++++++++++
 2 files changed, 118 insertions(+)
 create mode 100644 board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg
 create mode 100644 configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig
board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg new file +31 -0
new file mode 100644
index 0000000000..dce32524e9
@@ -0,0 +1,31 @@
+# Image for SD card boot on Microchip SAMA5D27 WLSOM1 EK
+#
+image boot.vfat {
+	vfat {
+		files = {
+			"zImage",
+			"at91-sama5d27_wlsom1_ek.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_sama5d27_wlsom1_ek_mmc_dev_defconfig new file +87 -0

87 lines not on this page · raw message

Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs/microchip: addition of the sama5d27 wlsom1 ek board

Hello Eugen,

Quoted 8 lines · On Mon, 11 Nov 2019 09:17:14 +0000 <[email protected]> wrote:

From: Eugen Hristev <[email protected]>

Add the new SAMA5D27 WLSOM1 Evaluation Kit with linux4sam_6.2 components.

---
 .../atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg | 31 +++++++
 ...ochip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 87 +++++++++++++++++++

Thanks for your contribution. However, we really want a minimal defconfig next to the "dev" defconfig that you are contributing.

In addition, a new defconfig needs:

- A readme.txt file in board/atmel/ that explains how to use the defconfig on the actual HW.

- An update to the DEVELOPERS file to reference the newly added defconfig and board files.

Quoted 4 lines
configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig new file +4 -0
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="sama5"

[...]

configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig line 75

Quoted 2 lines
configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig new file +2 -0
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git"

You can use a custom tarball like for the kernel above.

configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig line 81

Quoted 6 lines
configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig new file +6 -0
+BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.9.0"
+BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_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"

Same here.

Thanks!

Thomas

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