From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 07 Jul 2023 15:25:09 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qHlSQ-001dl0-HS for lore@lore.pengutronix.de; Fri, 07 Jul 2023 15:25:09 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qHlSO-0004Ms-3r; Fri, 07 Jul 2023 15:25:08 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qHlSM-0004MZ-II; Fri, 07 Jul 2023 15:25:06 +0200 Message-ID: Date: Fri, 7 Jul 2023 15:25:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Content-Language: en-US To: Oleksij Rempel , distrokit@pengutronix.de References: <20230707110818.3510860-1-o.rempel@pengutronix.de> <20230707110818.3510860-5-o.rempel@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230707110818.3510860-5-o.rempel@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [DistroKit] [PATCH v2 4/7] v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board support X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello Oleksij, On 07.07.23 13:08, Oleksij Rempel wrote: > Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board > (DM320114) is an MPU-based platform for evaluating Ethernet Switch and > PHY products. Compatible Ethernet Switch and PHY Evaluation Boards > connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector. > The Microchip Technology SAMA5D3 EDS Board is not intended for > stand-alone use and has no Ethernet capabilities when no daughter board > or an USB Ethernet adapter is connected. > > For more information see: > https://www.microchip.com/en-us/development-tool/DM320114 > > Signed-off-by: Oleksij Rempel > --- > .../platform-v7a_noneon/barebox-at91.config | 61 +++++++++++++++++-- > .../barebox-at91.config.diff | 52 ++++++++++------ > configs/platform-v7a_noneon/platformconfig | 3 +- > .../platforms/image-sama5d3-eds.in | 13 ++++ > .../rules/barebox-at91.make | 4 +- > .../rules/blspec-sama5d3-eds.make | 36 +++++++++++ You shouldn't need this file any longer. Rest looks fine, so with file deleted: Reviewed-by: Ahmad Fatoum > .../rules/image-sama5d3-eds.make | 36 +++++++++++ > 7 files changed, 181 insertions(+), 24 deletions(-) > create mode 100644 configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in > create mode 100644 configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make > create mode 100644 configs/platform-v7a_noneon/rules/image-sama5d3-eds.make > > diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config > index 584bfae..8736816 100644 > --- a/configs/platform-v7a_noneon/barebox-at91.config > +++ b/configs/platform-v7a_noneon/barebox-at91.config > @@ -63,7 +63,7 @@ CONFIG_AT91_MULTI_BOARDS=y > # CONFIG_MACH_AT91SAM9263EK is not set > # CONFIG_MACH_AT91SAM9X5EK is not set > CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y > -# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set > +CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y > # CONFIG_MACH_SAMA5D3_XPLAINED is not set > # CONFIG_MACH_SAMA5D27_SOM1 is not set > # CONFIG_MACH_SAMA5D27_GIANTBOARD is not set > @@ -105,6 +105,7 @@ CONFIG_BINFMT=y > CONFIG_UIMAGE=y > CONFIG_LOGBUF=y > CONFIG_STDDEV=y > +CONFIG_UBIFORMAT=y > CONFIG_USBGADGET_START=y > CONFIG_BOOT=y > CONFIG_FASTBOOT_BASE=y > @@ -307,6 +308,8 @@ CONFIG_CMD_UIMAGE=y > # CONFIG_CMD_PARTITION is not set > CONFIG_CMD_AUTOMOUNT=y > CONFIG_CMD_MOUNT=y > +CONFIG_CMD_UBI=y > +CONFIG_CMD_UBIFORMAT=y > CONFIG_CMD_UMOUNT=y > # end of Partition > > @@ -416,9 +419,13 @@ CONFIG_CMD_DETECT=y > CONFIG_CMD_FLASH=y > CONFIG_CMD_GPIO=y > CONFIG_CMD_LED=y > +CONFIG_CMD_NAND=y > +# CONFIG_CMD_NANDTEST is not set > +# CONFIG_CMD_NAND_BITFLIP is not set > # CONFIG_CMD_POWEROFF is not set > CONFIG_CMD_SPI=y > CONFIG_CMD_LED_TRIGGER=y > +CONFIG_CMD_USB=y > CONFIG_CMD_USBGADGET=y > # end of Hardware manipulation > > @@ -526,6 +533,11 @@ CONFIG_MICREL_PHY=y > # CONFIG_MDIO_BUS_MUX_GPIO is not set > # end of phylib > > +CONFIG_NET_USB=y > +CONFIG_NET_USB_ASIX=y > +CONFIG_USB_NET_AX88179_178A=y > +CONFIG_NET_USB_SMSC95XX=y > +CONFIG_NET_USB_RTL8152=y > # CONFIG_DSA is not set > # end of Network drivers > > @@ -564,11 +576,26 @@ CONFIG_MTD_M25P80=y > # end of Self contained MTD devices > > # CONFIG_DRIVER_CFI is not set > -# CONFIG_NAND is not set > +CONFIG_NAND=y > +CONFIG_MTD_NAND_ECC_SOFT=y > +CONFIG_MTD_NAND_ECC_SW_BCH=y > +# CONFIG_NAND_ECC_HW_SYNDROME is not set > +# CONFIG_NAND_ALLOW_ERASE_BAD is not set > +CONFIG_NAND_ATMEL=y > +# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set > +# CONFIG_MTD_NAND_DENALI is not set > CONFIG_MTD_SPI_NOR=y > # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set > # CONFIG_SPI_CADENCE_QUADSPI is not set > -# CONFIG_MTD_UBI is not set > +CONFIG_MTD_UBI=y > +CONFIG_MTD_UBI_BEB_LIMIT=20 > +# CONFIG_MTD_UBI_FASTMAP is not set > + > +# > +# UBI debugging options > +# > +# CONFIG_MTD_UBI_CHECK_IO is not set > +# CONFIG_MTD_UBI_GENERAL_EXTRA_CHECKS is not set > CONFIG_DISK=y > CONFIG_DISK_WRITE=y > > @@ -583,7 +610,21 @@ CONFIG_DISK_WRITE=y > # > # CONFIG_DISK_INTF_PLATFORM_IDE is not set > CONFIG_USB=y > -# CONFIG_USB_HOST is not set > +CONFIG_USB_HOST=y > +# CONFIG_USB_DWC2_HOST is not set > +# CONFIG_USB_DWC2_GADGET is not set > +# CONFIG_USB_DWC3 is not set > +CONFIG_USB_EHCI=y > +CONFIG_USB_EHCI_ATMEL=y > +CONFIG_USB_OHCI_AT91=y > +# CONFIG_USB_XHCI is not set > +# CONFIG_USB_ULPI is not set > +# CONFIG_USB_STORAGE is not set > + > +# > +# USB Miscellaneous drivers > +# > +# CONFIG_USB_ONBOARD_HUB is not set > CONFIG_USB_GADGET=y > CONFIG_USB_GADGET_DUALSPEED=y > CONFIG_USB_GADGET_DRIVER_AT91=y > @@ -672,6 +713,7 @@ CONFIG_LED_TRIGGERS=y > # Input device support > # > # CONFIG_KEYBOARD_GPIO is not set > +# CONFIG_KEYBOARD_USB is not set > # CONFIG_INPUT_SPECIALKEYS is not set > # end of Input device support > > @@ -823,6 +865,10 @@ CONFIG_FS_FAT=y > CONFIG_FS_FAT_WRITE=y > CONFIG_FS_FAT_LFN=y > # CONFIG_FS_JFFS2 is not set > +CONFIG_FS_UBIFS=y > +CONFIG_FS_UBIFS_COMPRESSION_LZO=y > +# CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set > +CONFIG_FS_UBIFS_COMPRESSION_ZSTD=y > # CONFIG_FS_BPKFS is not set > # CONFIG_FS_UIMAGEFS is not set > # CONFIG_FS_PSTORE is not set > @@ -854,16 +900,20 @@ CONFIG_FS_FAT_LFN=y > # > CONFIG_PARAMETER=y > CONFIG_UNCOMPRESS=y > +CONFIG_XXHASH=y > # CONFIG_ZLIB is not set > # CONFIG_BZLIB is not set > # CONFIG_LZ4_DECOMPRESS is not set > -# CONFIG_ZSTD_DECOMPRESS is not set > +CONFIG_ZSTD_DECOMPRESS=y > # CONFIG_XZ_DECOMPRESS is not set > # CONFIG_BASE64 is not set > CONFIG_PROCESS_ESCAPE_SEQUENCE=y > CONFIG_LZO_DECOMPRESS=y > +CONFIG_BCH=y > CONFIG_FNMATCH=y > CONFIG_QSORT=y > +CONFIG_LIBSCAN=y > +CONFIG_LIBUBIGEN=y > CONFIG_IMAGE_SPARSE=y > # CONFIG_RATP is not set > # CONFIG_ALLOW_PRNG_FALLBACK is not set > @@ -880,6 +930,7 @@ CONFIG_NLS=y > CONFIG_ARCH_HAS_STACK_DUMP=y > CONFIG_ARCH_HAS_DATA_ABORT_MASK=y > CONFIG_ARCH_HAS_ZERO_PAGE=y > +CONFIG_GENERIC_ALLOCATOR=y > # end of Library routines > > # > diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff > index a183a3d..635e39d 100644 > --- a/configs/platform-v7a_noneon/barebox-at91.config.diff > +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff > @@ -15,6 +15,7 @@ CONFIG_AT91SAM9_SMC=y > CONFIG_AT91_MCI_PBL=y > CONFIG_AT91_MULTI_BOARDS=y > CONFIG_ATMEL_EBI=y > +CONFIG_BCH=y > # CONFIG_BOARD_ARM_GENERIC_DT is not set > # CONFIG_BOARD_GENERIC_DT is undefined > CONFIG_BOOTM_OFTREE_UIMAGE=y > @@ -35,6 +36,9 @@ CONFIG_CMD_AT91_BOOT_TEST=y > # CONFIG_CMD_MENUTREE is not set > # CONFIG_CMD_MENU_MANAGEMENT is undefined > # CONFIG_CMD_MMC is not set > +CONFIG_CMD_NAND=y > +# CONFIG_CMD_NANDTEST is not set > +# CONFIG_CMD_NAND_BITFLIP is not set > # CONFIG_CMD_OF_FIXUP_STATUS is not set > # CONFIG_CMD_OF_OVERLAY is not set > # CONFIG_CMD_PARTITION is not set > @@ -44,8 +48,9 @@ CONFIG_CMD_AT91_BOOT_TEST=y > # CONFIG_CMD_SMC is undefined > # CONFIG_CMD_STATE is undefined > # CONFIG_CMD_TFTP is not set > +CONFIG_CMD_UBI=y > +CONFIG_CMD_UBIFORMAT=y > # CONFIG_CMD_UNCOMPRESS is not set > -# CONFIG_CMD_USB is undefined > # CONFIG_CMD_WD is undefined > # CONFIG_CMD_WD_DEFAULT_TIMOUT is undefined > CONFIG_COMMON_CLK_AT91=y > @@ -64,6 +69,11 @@ CONFIG_DRIVER_SPI_ATMEL=y > # CONFIG_DRIVER_SPI_GPIO is not set > # CONFIG_EEPROM_AT24 is undefined > # CONFIG_FIRMWARE is undefined > +CONFIG_FS_UBIFS=y > +CONFIG_FS_UBIFS_COMPRESSION_LZO=y > +# CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set > +CONFIG_FS_UBIFS_COMPRESSION_ZSTD=y > +CONFIG_GENERIC_ALLOCATOR=y > # CONFIG_GPIO_PCA953X is undefined > # CONFIG_GPIO_PCF857X is undefined > # CONFIG_GPIO_PL061 is undefined > @@ -89,14 +99,15 @@ CONFIG_HAVE_AT91_UTMI=y > CONFIG_IMAGE_COMPRESSION_NONE=y > CONFIG_IMD_TARGET=y > # CONFIG_KEYBOARD_QT1070 is undefined > -# CONFIG_KEYBOARD_USB is undefined > # CONFIG_LED_PCA955X is undefined > # CONFIG_LIBFDT is undefined > +CONFIG_LIBSCAN=y > +CONFIG_LIBUBIGEN=y > # CONFIG_MACHINE_ID is undefined > # CONFIG_MACH_AT91SAM9263EK is not set > # CONFIG_MACH_AT91SAM9X5EK is not set > CONFIG_MACH_MICROCHIP_KSZ9477_EVB=y > -# CONFIG_MACH_MICROCHIP_SAMA5D3_EDS is not set > +CONFIG_MACH_MICROCHIP_SAMA5D3_EDS=y > # CONFIG_MACH_RPI2 is undefined > # CONFIG_MACH_RPI3 is undefined > # CONFIG_MACH_RPI4 is undefined > @@ -139,13 +150,23 @@ CONFIG_MFD_SYSCON=y > CONFIG_MICREL_PHY=y > # CONFIG_MMUINFO is undefined > CONFIG_MTD_M25P80=y > +# CONFIG_MTD_NAND_DENALI is not set > +CONFIG_MTD_NAND_ECC_SOFT=y > +CONFIG_MTD_NAND_ECC_SW_BCH=y > +# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set > CONFIG_MTD_SPI_NOR=y > # CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set > # CONFIG_MTD_SST25L is not set > -# CONFIG_NET_USB is undefined > -# CONFIG_NET_USB_ASIX is undefined > -# CONFIG_NET_USB_RTL8152 is undefined > -# CONFIG_NET_USB_SMSC95XX is undefined > +CONFIG_MTD_UBI=y > +CONFIG_MTD_UBI_BEB_LIMIT=20 > +# CONFIG_MTD_UBI_CHECK_IO is not set > +# CONFIG_MTD_UBI_FASTMAP is not set > +# CONFIG_MTD_UBI_GENERAL_EXTRA_CHECKS is not set > +CONFIG_NAND=y > +# CONFIG_NAND_ALLOW_ERASE_BAD is not set > +CONFIG_NAND_ATMEL=y > +# CONFIG_NAND_ECC_HW_SYNDROME is not set > +CONFIG_NET_USB_RTL8152=y > CONFIG_OF_BAREBOX_ENV_IN_FS=y > # CONFIG_OF_OVERLAY is not set > # CONFIG_OF_OVERLAY_LIVE is undefined > @@ -173,19 +194,14 @@ CONFIG_SPI_MEM=y > CONFIG_SYSTEM_PARTITIONS=y > # CONFIG_THUMB2_BAREBOX is undefined > # CONFIG_TYPEC_TUSB320 is undefined > -# CONFIG_USB_DWC2_GADGET is undefined > -# CONFIG_USB_DWC2_HOST is undefined > -# CONFIG_USB_DWC3 is undefined > -# CONFIG_USB_EHCI is undefined > +CONFIG_UBIFORMAT=y > +CONFIG_USB_EHCI_ATMEL=y > CONFIG_USB_GADGET_DRIVER_AT91=y > CONFIG_USB_GADGET_DUALSPEED=y > -# CONFIG_USB_HOST is not set > # CONFIG_USB_HUB_USB251XB is undefined > -# CONFIG_USB_NET_AX88179_178A is undefined > -# CONFIG_USB_ONBOARD_HUB is undefined > -# CONFIG_USB_STORAGE is undefined > -# CONFIG_USB_ULPI is undefined > -# CONFIG_USB_XHCI is undefined > +CONFIG_USB_NET_AX88179_178A=y > +CONFIG_USB_OHCI_AT91=y > +# CONFIG_USB_STORAGE is not set > CONFIG_VIRTIO_MENU=y > # CONFIG_VIRTIO_MMIO is not set > CONFIG_W1=y > @@ -197,6 +213,7 @@ CONFIG_W1=y > # CONFIG_WATCHDOG_BCM2835 is undefined > # CONFIG_WATCHDOG_DW is undefined > # CONFIG_WATCHDOG_POLLER is undefined > +CONFIG_XXHASH=y > # CONFIG_XZ_DECOMPRESS is not set > # CONFIG_XZ_DEC_ARM is undefined > # CONFIG_XZ_DEC_ARMTHUMB is undefined > @@ -205,3 +222,4 @@ CONFIG_W1=y > # CONFIG_XZ_DEC_SPARC is undefined > # CONFIG_XZ_DEC_X86 is undefined > # CONFIG_ZLIB is not set > +CONFIG_ZSTD_DECOMPRESS=y > diff --git a/configs/platform-v7a_noneon/platformconfig b/configs/platform-v7a_noneon/platformconfig > index 1bedb23..1ae6a9d 100644 > --- a/configs/platform-v7a_noneon/platformconfig > +++ b/configs/platform-v7a_noneon/platformconfig > @@ -135,7 +135,7 @@ PTXCONF_KERNEL_IMAGE_Z=y > PTXCONF_KERNEL_IMAGE="zImage" > PTXCONF_KERNEL_DTB=y > PTXCONF_KERNEL_DTS_PATH="${PTXDIST_PLATFORMCONFIGDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts" > -PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts" > +PTXCONF_KERNEL_DTS="at91-sama5d3_ksz9477_evb.dts vexpress-v2p-ca9.dts at91-sama5d3_eds.dts" > # PTXCONF_KERNEL_DTBO is not set > # PTXCONF_KERNEL_CODE_SIGNING is not set > # PTXCONF_KERNEL_ZSTD is not set > @@ -239,6 +239,7 @@ PTXCONF_IMAGE_ROOT_TGZ=y > PTXCONF_IMAGE_ROOT_TGZ_LABEL="" > # PTXCONF_IMAGE_ROOT_UBI is not set > # PTXCONF_IMAGE_ROOT_UBIFS is not set > +PTXCONF_IMAGE_SAMA5D3_EDS=y > # PTXCONF_IMAGE_VEXPRESS_NOR is not set > PTXCONF_IMAGE_VEXPRESS=y > > diff --git a/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in > new file mode 100644 > index 0000000..3d3d899 > --- /dev/null > +++ b/configs/platform-v7a_noneon/platforms/image-sama5d3-eds.in > @@ -0,0 +1,13 @@ > +## SECTION=image > + > +config IMAGE_SAMA5D3_EDS > + tristate > + select HOST_GENIMAGE > + select IMAGE_ROOT_EXT > + select HOST_DOSFSTOOLS > + select BAREBOX_AT91 > + select HOST_MTOOLS > + prompt "Generate images/image-sama5d3-eds.hdimg" > + help > + Includes DistroKit support for the Microchip SAMA5D3 Ethernet > + Development System (EDS). > diff --git a/configs/platform-v7a_noneon/rules/barebox-at91.make b/configs/platform-v7a_noneon/rules/barebox-at91.make > index a479f1e..d9576aa 100644 > --- a/configs/platform-v7a_noneon/rules/barebox-at91.make > +++ b/configs/platform-v7a_noneon/rules/barebox-at91.make > @@ -48,7 +48,9 @@ BAREBOX_AT91_MAKE_OPT := $(BAREBOX_AT91_CONF_OPT) > > BAREBOX_AT91_IMAGES := \ > images/barebox-microchip-ksz9477-evb.img \ > - images/barebox-microchip-ksz9477-evb-xload-mmc.img > + images/barebox-microchip-ksz9477-evb-xload-mmc.img \ > + images/barebox-microchip-sama5d3-eds.img \ > + images/barebox-microchip-sama5d3-eds-xload-mmc.img > > BAREBOX_AT91_IMAGES := $(addprefix $(BAREBOX_AT91_BUILD_DIR)/,$(BAREBOX_AT91_IMAGES)) > > diff --git a/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make b/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make > new file mode 100644 > index 0000000..a4a02f0 > --- /dev/null > +++ b/configs/platform-v7a_noneon/rules/blspec-sama5d3-eds.make > @@ -0,0 +1,36 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Holger Assmann > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_BLSPEC_SAMA5D3_EDS) += blspec-sama5d3-eds > + > +BLSPEC_SAMA5D3_EDS_VERSION := 5.8 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/blspec-sama5d3-eds.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, blspec-sama5d3-eds) > + @$(call install_fixup,blspec-sama5d3-eds,PRIORITY,optional) > + @$(call install_fixup,blspec-sama5d3-eds,SECTION,base) > + @$(call install_fixup,blspec-sama5d3-eds,AUTHOR,"Holger Assmann ") > + @$(call install_fixup,blspec-sama5d3-eds,DESCRIPTION,missing) > + > + @$(call install_alternative, blspec-sama5d3-eds, 0, 0, 0644, \ > + /loader/entries/sama5d3-eds.conf) > + > + @$(call install_finish,blspec-sama5d3-eds) > + > + @$(call touch) > + > +# vim: syntax=make > diff --git a/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make b/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make > new file mode 100644 > index 0000000..9879bf1 > --- /dev/null > +++ b/configs/platform-v7a_noneon/rules/image-sama5d3-eds.make > @@ -0,0 +1,36 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Holger Assmann > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +IMAGE_PACKAGES-$(PTXCONF_IMAGE_SAMA5D3_EDS) += image-sama5d3-eds > + > +# > +# Paths and names > +# > +IMAGE_SAMA5D3_EDS := image-sama5d3-eds > +IMAGE_SAMA5D3_EDS_DIR := $(BUILDDIR)/$(IMAGE_SAMA5D3_EDS) > +IMAGE_SAMA5D3_EDS_IMAGE := $(IMAGEDIR)/image-sama5d3-eds.hdimg > +IMAGE_SAMA5D3_EDS_FILES := $(IMAGEDIR)/root.tgz > +IMAGE_SAMA5D3_EDS_CONFIG := at91-sd.config > + > +# ---------------------------------------------------------------------------- > +# Image > +# ---------------------------------------------------------------------------- > + > +IMAGE_SAMA5D3_EDS_ENV := \ > + FSBL=barebox-microchip-sama5d3-eds-xload-mmc.img \ > + SSBL=barebox-microchip-sama5d3-eds.img > + > +$(IMAGE_SAMA5D3_EDS_IMAGE): > + @$(call targetinfo) > + @$(call image/genimage, IMAGE_SAMA5D3_EDS) > + @$(call finish) > + > +# vim: syntax=make -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |