From patchwork Tue Jun 7 07:28:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2012 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id EE1893F066 for ; Tue, 7 Jun 2022 09:29:52 +0200 (CEST) Received: by mail-il1-f198.google.com with SMTP id j5-20020a922005000000b002d1c2659644sf13280166ile.8 for ; Tue, 07 Jun 2022 00:29:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654586992; cv=pass; d=google.com; s=arc-20160816; b=HJWGg2tq1i8F86bWgLPfGLraFm1LpepW5CdKjfldX6JtSEHLhsrMPzSL/FvjbNXC7h S6kPArBH/rU4lO1MOugJyA1SKKNCEH4FU36t/kuu1B58Gu+/BElsp4ypYzG20IMrtsx2 14ohSXIAkk9CBkLQpIv3G1K3IXwNf9Nb8Pv13IcPYzffDTRMgp5aAZWsZmcDMVtq5hM7 TA7MFHDzNrcIKp2bvfw2cdjalqOC2NnUy6qQncbP0LNRFg5yYuaP563cEPIEUNbJef77 O4c98jpiAcsAdgg+kBnvGSrgsjm1WdrL1cm7+JJfVJWZ9n/r5iQbh8kwC29D2NqTIGwx XIIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wHAiN3cy9FkxFdW3m4cMKr04LiZANcT18KE47qdmO3A=; b=UHT+2AqU9ZBNCuiwU2CSu8xAEVSSKg4//nhgik2z5Q/qXNkz58hGCWJI5iUkGUEfaB mq8OreQqTWJS948sl/9bDoenQxefyhKZrOLGXTwLflflD5Kl/TiNqtxidVoiZUdAVoYs aj9lkQ6iL81tyIyvGhGJdTiqi4XI/+cHvtWyweIEwB3Kg5+GeqW/aE5tpfRYNrW+iKwG 7xX7RFMF3aiHuhT+2Ci7sTMKJ5+oPYcPzXpHQvLgTZQBIMG6f9aKU1kNyOOpzBDc7g1F hX2JHiNG0j0DbQMTwpSSw8Ti5uXT4xHUF67/pyilE/8ISl4acNkTiyVqGSZyLLw48kR2 Fo5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpZG7X/U"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=wHAiN3cy9FkxFdW3m4cMKr04LiZANcT18KE47qdmO3A=; b=cVfmMs1nuBNBynKNrW55V0U+JdJH4GDBOg/rQQERRtOoyUZFZvFenf/AmG0K0cfP5+ aEVto8Ju9BVsnS8ODtJ8ajcwaLMjgWDaXK0EardhfH2d5mr1UZSSHhguDRWJNUHqI6F7 Kz6M0NjE16T3dNBXWStIDblZ5wq5VLMz9gMNE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=wHAiN3cy9FkxFdW3m4cMKr04LiZANcT18KE47qdmO3A=; b=8LwydAe3WeQQ3yhtKKbVRF4cW455qhcIKHNvDc+GwMVSb8g1bKE2ZcYixGZC7U43t0 0JpVx76IfxjnMHCrOQVODt06E70kg092BNA1kWSCuF23i8Wf16CRCxrqMw1YayG3VGzM /sZCYcIpk4Zi7cF+ppu9UW3bEzTOB02PKL6ca4R4VEQw+5WbTO/96eV1Y+TPPH8ceKMl kLyKsqMN4tLTPSj7SKqOUZPwUdAiNsbO74FHMAq5mEEWtTknDJTNpG68/fS+6nx34WoF w01H4zW27phd087N9/YL31qSm2Of9fffFQwjOBiVnDvjA6u+1JIjoCzEDQbJWW77EwlV bznw== X-Gm-Message-State: AOAM532s0CGgAv1ZqMptRTldPhewxSp6SdCvYXDCVpfM429oNi17Wkdi eMRGRFToNTmpjykQfhWTOKdddbYf X-Google-Smtp-Source: ABdhPJyKqkGzAN5sAVE+n/+RX3cKyH61lU/oicfES8fqErOaPKJwZAJREWfXHl9Uuc3UUJ3hWys/Zw== X-Received: by 2002:a05:6e02:17c9:b0:2d1:a85f:7bd3 with SMTP id z9-20020a056e0217c900b002d1a85f7bd3mr16429784ilu.92.1654586991897; Tue, 07 Jun 2022 00:29:51 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6602:1355:b0:60a:9e26:930a with SMTP id i21-20020a056602135500b0060a9e26930als1057916iov.7.gmail; Tue, 07 Jun 2022 00:29:51 -0700 (PDT) X-Received: by 2002:a6b:7310:0:b0:669:5402:a345 with SMTP id e16-20020a6b7310000000b006695402a345mr4661437ioh.58.1654586991218; Tue, 07 Jun 2022 00:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654586991; cv=none; d=google.com; s=arc-20160816; b=rNWdQvZrdLKk874/iMxk+xtRIStfh4KpdYT29TXH46txlLVxoVa2mAaC3AJg+7AfVz +SMpNTAp+gcS9KJ0OoR/lnApg12TEqXIox+JOhhqGueJwEcJVwCJz5crnKCQgrx7itdN T4hOLB/3h3MtE0JFUPtN9vg1T6530KQnkgoUCGUPhUKl+/dXGIpBvnPC/r7vMpcJRS4l YxGuTRUVpg2weporx1Kcxs6P9K4xuHq7e3fcJ+/LQTEHYg4r1JVzGb9YJ3svwCba67/3 dAT+7aCPGTOwjGKuMdSyOPz+KPxFbnf/EFwY+H2GqsOdukyLqgUctu9n2lfIdYPFgyOe JYFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=RpfY4/ZzJxyHHKlYrOzA2v6TF/OQIw1GeugwCc/qdw4=; b=p3MtjrsWP1RLfSP0uaakRL9Q46RN6XMQwPyvqNwxtSIsfHduvX8/OG306AHtscr80w NkOoeXDyLb2QIoR8GsaZaMBRs6wNovS9rPO2UdEKm8HT4wFD94V8OQNmeBXoF09jMpah wBEWENwyvCd5UPx+6K0cls9a+fG92J0q2xOmq9v99n3OIakXCsOJPkUhTQ+lfZeASfWP KbwlqpfdEiXqdIXHiaeC4LIBz/Cd6kYh/KccdYq2fiI/+tc2cIBDcUXEVOfFQuc7LtKM +FRzB/9JhohTk9/uYExuJvWiahrmtfVbQw7/vdW/ZgxT7Y4FVQw4NV+7hYzNceXWH8i8 BGoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpZG7X/U"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id o44-20020a02742c000000b0032bb1799c11sor7205438jac.107.2022.06.07.00.29.51 for (Google Transport Security); Tue, 07 Jun 2022 00:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6638:1c07:b0:331:a800:1062 with SMTP id ca7-20020a0566381c0700b00331a8001062mr5379172jab.4.1654586990945; Tue, 07 Jun 2022 00:29:50 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (host-80-116-90-174.retail.telecomitalia.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id cx4-20020a056638490400b0033126faae3asm6406075jab.116.2022.06.07.00.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 00:29:50 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Arnout Vandecappelle , linux-amarula@amarulasolutions.com, dario.binacchi@amarulasolutions.com, michael@amarulasolutions.com, Samuel Martin , Ariel D'Alessandro , Giulio Benetti , Heiko Thiery , Jagan Teki Subject: [PATCH 3/3] board/bsh: add support for iMX8MN BSH SMM S2 PRO board Date: Tue, 7 Jun 2022 09:28:52 +0200 Message-Id: <20220607072852.1007185-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220607072852.1007185-1-dario.binacchi@amarulasolutions.com> References: <20220607072852.1007185-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpZG7X/U"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi BSH SMM S2 PRO (SystemMaster S2 Pro) Board is an add-on board which provide input and output interfaces to a dedicated carrier board. It is designed mainly to provide graphical/video and connectivity interfaces to the appliance. Board support package includes the following components: - mainline Linux kernel 5.18 - mainline U-Boot 2022-07-rc2 - Default packages from buildroot https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup/ Add Ariel D'Alessandro and Dario Binacchi as co-maintainer, we work together on platform mainline Build and tested using: docker pull registry.gitlab.com/buildroot.org/buildroot/base:20220105.2314 Cc: Ariel D'Alessandro Cc: Jagan Teki Cc: Heiko Thiery Cc: Giulio Benetti Reviewed-by: Giulio Benetti Signed-off-by: Michael Trimarchi Tested-by: Ariel D'Alessandro Signed-off-by: Dario Binacchi --- DEVELOPERS | 4 + .../imx8mn-bsh-smm-s2/linux.config | 0 board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf | 4 + board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh | 19 +++++ board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg | 17 +++++ board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 7 ++ board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh | 3 + board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt | 73 +++++++++++++++++++ configs/imx8mn_bsh_smm_s2_defconfig | 2 +- configs/imx8mn_bsh_smm_s2_pro_defconfig | 41 +++++++++++ 10 files changed, 169 insertions(+), 1 deletion(-) rename board/bsh/{ => common}/imx8mn-bsh-smm-s2/linux.config (100%) create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh create mode 100755 board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt create mode 100644 configs/imx8mn_bsh_smm_s2_pro_defconfig diff --git a/DEVELOPERS b/DEVELOPERS index 02fd23af8b82..7fa67389c9d7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -214,6 +214,8 @@ F: configs/snps_archs38_haps_defconfig F: configs/snps_archs38_hsdk_defconfig N: Ariel D'Alessandro +F: board/bsh/ +F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: package/axfsutils/ F: package/mali-t76x/ @@ -653,6 +655,7 @@ F: package/xinetd/ N: Dario Binacchi F: board/bsh/ F: configs/imx8mn_bsh_smm_s2_defconfig +F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: package/uuu/ N: Dario Binacchi @@ -2044,6 +2047,7 @@ F: package/python-pyzmq/ N: Michael Trimarchi F: board/bsh/ F: configs/imx8mn_bsh_smm_s2_defconfig +F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: package/python-spidev/ N: Michael Vetter diff --git a/board/bsh/imx8mn-bsh-smm-s2/linux.config b/board/bsh/common/imx8mn-bsh-smm-s2/linux.config similarity index 100% rename from board/bsh/imx8mn-bsh-smm-s2/linux.config rename to board/bsh/common/imx8mn-bsh-smm-s2/linux.config diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf b/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf new file mode 100644 index 000000000000..911135474253 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf @@ -0,0 +1,4 @@ +label buildroot + kernel /boot/Image + devicetree /boot/freescale/imx8mn-bsh-smm-s2pro.dtb + append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh new file mode 100755 index 000000000000..afce8ea41682 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +OUTPUT_DIR=$1 + +if ! test -d "${OUTPUT_DIR}" ; then + echo "ERROR: no output directory specified." + echo "Usage: $0 OUTPUT_DIR" + echo "" + echo "Arguments:" + echo " OUTPUT_DIR The Buildroot output directory." + exit 1 +fi + +IMAGES_DIR=${OUTPUT_DIR}/images + +${OUTPUT_DIR}/host/bin/uuu -v -b emmc_all \ + ${IMAGES_DIR}/flash.bin \ + ${IMAGES_DIR}/sdcard.img + diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg b/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg new file mode 100644 index 000000000000..bc100b171dd6 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg @@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition imx-boot { + in-partition-table = "no" + image = "flash.bin" + offset = 33K + } + + partition rootfs { + offset = 8M + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +} diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh new file mode 100755 index 000000000000..bf8861f6a914 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh @@ -0,0 +1,7 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" +PARTUUID="$($HOST_DIR/bin/uuidgen)" + +install -d "$TARGET_DIR/boot/extlinux/" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh new file mode 100755 index 000000000000..3452fd4501f8 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +support/scripts/genimage.sh -c ${BINARIES_DIR}/genimage.cfg diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt b/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt new file mode 100644 index 000000000000..5763f164fe13 --- /dev/null +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt @@ -0,0 +1,73 @@ +i.MX8MN BSH SMM S2 PRO +====================== + +How to build it +--------------- + +Configure buildroot: + + $ make imx8mn_bsh_smm_s2_pro_defconfig + +Change settings to fit your needs (optional): + + $ make menuconfig + +Compile everything and build the rootfs image: + + $ make + + +Result of the build +------------------- + +After building, the output/images directory contains: + + output/images/ + ├── bl31.bin + ├── Image + ├── flash.bin + ├── ddr3* + ├── rootfs.ext2 + ├── rootfs.ext4 -> rootfs.ext2 + ├── rootfs.tar + ├── sdcard.img + ├── u-boot.bin + ├── u-boot-nodtb.bin + └── u-boot-spl.bin + + +Preparing the board +------------------- + +Plug the USB type A to micro B cable into the USB Debug +Connector (DBG UART). Use serial port settings 115200 8N1 +to access the debug console. + +Plug another USB type A to micro B cable into the USB-OTG +Connector (USB1). This connection is used to flash the board +firmware using the Freescale/NXP UUU tool. + +Connect the power supply/adaptor to the DC Power Jack (labelled ++5V). + + +Flashing the emmc card image +---------------------------- + +Power up the board by switching on the Power ON Switch, which is +placed right next to the DC Jack. + +Enter the following U-Boot commands on the debug serial console: + + $ fastboot usb 0 + +Flash the images on eMMC. On your computer, run: + + $ board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh output/ + + +Booting the board +----------------- + +By default the bootloader will search for the first valid image, +starting with the internal eMMC. diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index d500f2fc7b99..2d8dbfe740ac 100644 --- a/configs/imx8mn_bsh_smm_s2_defconfig +++ b/configs/imx8mn_bsh_smm_s2_defconfig @@ -6,7 +6,7 @@ BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.18" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/bsh/imx8mn-bsh-smm-s2/linux.config" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/bsh/common/imx8mn-bsh-smm-s2/linux.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2" BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y diff --git a/configs/imx8mn_bsh_smm_s2_pro_defconfig b/configs/imx8mn_bsh_smm_s2_pro_defconfig new file mode 100644 index 000000000000..4128257c4599 --- /dev/null +++ b/configs/imx8mn_bsh_smm_s2_pro_defconfig @@ -0,0 +1,41 @@ +BR2_aarch64=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/bsh/common/imx8mn-bsh-smm-s2/linux.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2pro" +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y +BR2_PACKAGE_FIRMWARE_IMX=y +BR2_PACKAGE_FIRMWARE_IMX_DDR3=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30a60000" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.07-rc2" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_bsh_smm_s2pro" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" +BR2_TARGET_UBOOT_SPL=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UUU=y