Add support for BSH smm s2 [pro] boards
v7 cover Add support for BSH smm s2 [pro] boards
The series adds support to BSH smm s2 [pro] boards.
Changes in v7:
- Add Giulio Benetti Reviewed-by tag.
- Add Heiko Thiery Reviewed-by tag.
Changes in v6:
- Change offset in imx-boot partition of genimage.cfg from 33k to 32k.
Changes in v5:
- Update the commit description.
- Bump the kernel version to 5.19.7.
- Remove the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch patch.
- Regenerate all added patches (Linux kernel and U-boot) so that they contain the [PATCH] header without numbering.
- Add patchwork link to U-boot patch.
Changes in v4:
- Update the commit description.
- Bump the kernel version to 5.18.19.
- Shrink the Linux configuration.
- Add 3 dashes to the kernel patches to avoid having the version history to fall into the final commit log.
- Add lore.kernel.org links to the submitted patches.
- Apply the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch to the kernel.
Changes in v3:
- Update the commit description.
- Bump U-Boot to version 2022-07.
- Remove U-Boot patches merged in version 2022-07.
- Update the Linux patches.
Changes in v2:
- Drop the patch that added the 'uuu' package. It has been merged.
- Patch 1/2: "configs/imx8mn_bsh_smm_s2_defconfig: new defconfig":
- Change commit subject and description.
- Update linux patch to version 4. It hasn't been merged yet but has been reviewed. This is the most up-to-date version.
- Replace Co-developed-by:' tag with Co-authored-by'.
- Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script.
- Replace the linux.config file with an architectural defconfig and a config fragment for the changes.
- Remove useless and deprecated statements in nand-full.lst.
- Remove the buildroot configurations for ext2/ext4 filesystem creation.
- Patch 2/2: "configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig":
- Change commit subject line.
- Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script.
- Replace the linux.config file with an architectural defconfig and a config fragment for the changes.
Dario Binacchi (1):
configs/imx8mn_bsh_smm_s2_defconfig: new defconfig
Michael Trimarchi (1):
configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig
DEVELOPERS | 8 + .../common/imx8mn-bsh-smm-s2/linux.fragment | 895 ++++++++++++++++++ board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf | 4 + board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh | 23 + 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 ++ board/bsh/imx8mn-bsh-smm-s2/flash.sh | 26 + board/bsh/imx8mn-bsh-smm-s2/nand-full.lst | 29 + ...ine-mxs-use-platform_driver_register.patch | 45 + ...2-dmaengine-mxs-fix-section-mismatch.patch | 39 + ...Remove-rootwait-1-to-all-the-affecte.patch | 160 ++++ board/bsh/imx8mn-bsh-smm-s2/post-build.sh | 4 + board/bsh/imx8mn-bsh-smm-s2/readme.txt | 75 ++ configs/imx8mn_bsh_smm_s2_defconfig | 40 + configs/imx8mn_bsh_smm_s2_pro_defconfig | 41 + 17 files changed, 1489 insertions(+) create mode 100644 board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment 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 100755 board/bsh/imx8mn-bsh-smm-s2/flash.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/nand-full.lst create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0001-dmaengine-mxs-use-platform_driver_register.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0002-dmaengine-mxs-fix-section-mismatch.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/uboot/0001-include-configs-Remove-rootwait-1-to-all-the-affecte.patch create mode 100755 board/bsh/imx8mn-bsh-smm-s2/post-build.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/readme.txt create mode 100644 configs/imx8mn_bsh_smm_s2_defconfig create mode 100644 configs/imx8mn_bsh_smm_s2_pro_defconfig
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v7 1/2 configs/imx8mn_bsh_smm_s2_defconfig: new defconfig
BSH SMM S2 (SystemMaster S2) 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.19.7
- mainline U-Boot 2022-07
- default packages from buildroot
Patches applied to the Linux kernel and U-Boot have been submitted but not merged yet.
https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup/
The smm s2 board is basically the same as the pro except it boots from NAND instead of eMMC.
---
Changes in v7:
- Add Giulio Benetti Reviewed-by tag.
(no changes since v5)
Changes in v5:
- Update the commit description.
- Bump the kernel version to 5.19.7.
- Remove the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch patch.
- Regenerate all added patches (Linux kernel and U-boot) so that they contain the [PATCH] header without numbering.
- Add patchwork link to U-boot patch.
Changes in v4:
- Update the commit description.
- Bump the kernel version to 5.18.19.
- Shrink the Linux configuration.
- Add 3 dashes to the kernel patches to avoid having the version history to fall into the final commit log.
- Add lore.kernel.org links to the submitted patches.
- Apply the 0003-Revert-Revert-mtd-rawnand-gpmi-Fix-setting-busy-time.patch to the kernel.
Changes in v3:
- Update the commit description.
- Bump U-Boot to version 2022-07.
- Remove U-Boot patches merged in version 2022-07.
- Update the Linux patches.
Changes in v2:
- Change commit subject and description.
- Update linux patch to version 4. It hasn't been merged yet but has been reviewed. This is the most up-to-date version.
- Replace Co-developed-by:' tag with Co-authored-by'.
- Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script.
- Replace the linux.config file with an architectural defconfig and a config fragment for the changes.
- Remove useless and deprecated statements in nand-full.lst.
- Remove the buildroot configurations for ext2/ext4 filesystem creation.
--- DEVELOPERS | 4 + board/bsh/imx8mn-bsh-smm-s2/flash.sh | 26 + board/bsh/imx8mn-bsh-smm-s2/linux.fragment | 895 ++++++++++++++++++ board/bsh/imx8mn-bsh-smm-s2/nand-full.lst | 29 + ...ine-mxs-use-platform_driver_register.patch | 45 + ...2-dmaengine-mxs-fix-section-mismatch.patch | 39 + ...Remove-rootwait-1-to-all-the-affecte.patch | 160 ++++ board/bsh/imx8mn-bsh-smm-s2/post-build.sh | 4 + board/bsh/imx8mn-bsh-smm-s2/readme.txt | 75 ++ configs/imx8mn_bsh_smm_s2_defconfig | 40 + 10 files changed, 1317 insertions(+) create mode 100755 board/bsh/imx8mn-bsh-smm-s2/flash.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/linux.fragment create mode 100644 board/bsh/imx8mn-bsh-smm-s2/nand-full.lst create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0001-dmaengine-mxs-use-platform_driver_register.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/linux/0002-dmaengine-mxs-fix-section-mismatch.patch create mode 100644 board/bsh/imx8mn-bsh-smm-s2/patches/uboot/0001-include-configs-Remove-rootwait-1-to-all-the-affecte.patch create mode 100755 board/bsh/imx8mn-bsh-smm-s2/post-build.sh create mode 100644 board/bsh/imx8mn-bsh-smm-s2/readme.txt create mode 100644 configs/imx8mn_bsh_smm_s2_defconfig
DEVELOPERS +4 -0
@@ -673,6 +673,8 @@ F: package/luaexpat/ F: package/xinetd/ N: Dario Binacchi <[email protected]> +F: board/bsh/ +F: configs/imx8mn_bsh_smm_s2_defconfig F: package/uuu/ N: Dario Binacchi <[email protected]>
@@ -2104,6 +2106,8 @@ F: package/python-crc16/ F: package/python-pyzmq/ N: Michael Trimarchi <[email protected]> +F: board/bsh/ +F: configs/imx8mn_bsh_smm_s2_defconfig F: package/python-spidev/ N: Michael Vetter <[email protected]>
board/bsh/imx8mn-bsh-smm-s2/flash.sh new file +26 -0
@@ -0,0 +1,26 @@ +#!/bin/bash + +if [ $# -eq 0 ]; then + OUTPUT_DIR=output +else + OUTPUT_DIR=$1 +fi + +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 ${IMAGES_DIR}/nand-full.lst \ + ${IMAGES_DIR}/flash.bin \ + ${IMAGES_DIR}/flash.bin \ + ${IMAGES_DIR}/rootfs.ubifs \ + ${IMAGES_DIR}/Image \ + ${IMAGES_DIR}/freescale/imx8mn-bsh-smm-s2.dtb +
board/bsh/imx8mn-bsh-smm-s2/linux.fragment new file +895 -0
895 lines not on this page · raw message
board/bsh/imx8mn-bsh-smm-s2/nand-full.lst new file +29 -0
@@ -0,0 +1,29 @@ +# @_flash.bin | bootloader +# @_image [_flash.bin] | image burn to nand, default is the same as bootloader +# @_filesystem | filesystem to burn +# @_kernel | kernel image +# @_dtb | dtb image + +# This command will be run when ROM support stream mode +# i.MX8QXP, i.MX8QM +SDPS: boot -f _flash.bin + +FB: ucmd setenv fastboot_buffer ${loadaddr} +FB: download -f _image +# Burn image to nandfit partition if needed +FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${filesize}; else true; fi; +FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${filesize} + +FB[-t 10000]: ucmd ubi part nandrootfs +FB[-t 10000]: ucmd ubi create root - +FB: download -f _filesystem +FB[-t 60000]: ucmd ubi write ${loadaddr} root ${filesize} + +FB: download -f _kernel +FB[-t 10000]: ucmd nand write ${loadaddr} nandkernel ${filesize} + +FB: download -f _dtb +FB[-t 8000]: ucmd nand write ${loadaddr} nanddtb ${filesize} + +FB: reboot +FB: done
board/bsh/imx8mn-bsh-smm-s2/patches/linux/0001-dmaengine-mxs-use-platform_driver_register.patch new file +45 -0
45 lines not on this page · raw message
board/bsh/imx8mn-bsh-smm-s2/patches/linux/0002-dmaengine-mxs-fix-section-mismatch.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 1322ec115e91419a8f7b7d6d5e36e68316908b5a Mon Sep 17 00:00:00 2001 +From: Dario Binacchi <[email protected]> +Date: Tue, 12 Jul 2022 15:15:19 +0200 +Subject: [PATCH] dmaengine: mxs: fix section mismatch + +The patch was suggested by the following modpost warning: + +WARNING: modpost: vmlinux.o(.data+0xa3900): Section mismatch in reference from the variable mxs_dma_driver to the function .init.text:mxs_dma_probe() +The variable mxs_dma_driver references +the function __init mxs_dma_probe() +If the reference is valid then annotate the +variable with __init* or __refdata (see linux/init.h) or name the variable: +*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console + +Co-developed-by: Michael Trimarchi <[email protected]> +Signed-off-by: Michael Trimarchi <[email protected]> +Signed-off-by: Dario Binacchi <[email protected]> +Cc: [email protected] +Link: https://lore.kernel.org/linux-arm-kernel/[email protected]/ +--- + drivers/dma/mxs-dma.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c +index 18f8154b859b..a01953e06048 100644 +--- a/drivers/dma/mxs-dma.c ++++ b/drivers/dma/mxs-dma.c +@@ -834,7 +834,7 @@ static int __init mxs_dma_probe(struct platform_device *pdev) + return 0; + } + +-static struct platform_driver mxs_dma_driver = { ++static struct platform_driver mxs_dma_driver __initdata = { + .driver = { + .name = "mxs-dma", + .of_match_table = mxs_dma_dt_ids, +-- +2.32.0 +
board/bsh/imx8mn-bsh-smm-s2/patches/uboot/0001-include-configs-Remove-rootwait-1-to-all-the-affecte.patch new file +160 -0
160 lines not on this page · raw message
board/bsh/imx8mn-bsh-smm-s2/post-build.sh new file +4 -0
@@ -0,0 +1,4 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" + +cp ${BOARD_DIR}/nand-full.lst ${BINARIES_DIR}
board/bsh/imx8mn-bsh-smm-s2/readme.txt new file +75 -0
75 lines not on this page · raw message
configs/imx8mn_bsh_smm_s2_defconfig new file +40 -0
@@ -0,0 +1,40 @@ +BR2_aarch64=y +BR2_GLOBAL_PATCH_DIR="board/bsh/imx8mn-bsh-smm-s2/patches" +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2/post-build.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19.7" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/bsh/imx8mn-bsh-smm-s2/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2" +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=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_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBIFS_RT_NONE=y +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_ARM_TRUSTED_FIRMWARE_DEBUG=y +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" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx8mn_bsh_smm_s2" +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_UUU=y
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH RESEND v7 2/2 configs/imx8mn_bsh_smm_s2_pro_defconfig: new defconfig
In reply to Dario BinacchiFrom: Michael Trimarchi <[email protected]>
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.19.7
- mainline U-Boot 2022-07
- 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
---
Changes in v7:
- Add Heiko Thiery Reviewed-by tag.
Changes in v6:
- Change offset in imx-boot partition of genimage.cfg from 33k to 32k.
Changes in v5:
- Update the commit description.
- Bump the kernel version to 5.19.7.
Changes in v4:
- Update the commit description.
- Bump the kernel version to 5.18.19.
Changes in v3:
- Update the commit description.
- Bump U-Boot to version 2022-07.
Changes in v2:
- Change commit subject line.
- Use the buildroot's output directory if the binaries directory is not passed as a parameter to the `flash.sh' script.
- Replace the linux.config file with an architectural defconfig and a config fragment for the changes.
---
DEVELOPERS | 4 +
.../imx8mn-bsh-smm-s2/linux.fragment | 0
board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf | 4 +
board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh | 23 ++++++
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, 173 insertions(+), 1 deletion(-)
rename board/bsh/{ => common}/imx8mn-bsh-smm-s2/linux.fragment (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_defconfigDEVELOPERS +4 -0
@@ -216,6 +216,8 @@ F: configs/snps_archs38_haps_defconfig F: configs/snps_archs38_hsdk_defconfig N: Ariel D'Alessandro <[email protected]> +F: board/bsh/ +F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: package/axfsutils/ F: package/mali-t76x/
@@ -675,6 +677,7 @@ F: package/xinetd/ N: Dario Binacchi <[email protected]> F: board/bsh/ F: configs/imx8mn_bsh_smm_s2_defconfig +F: configs/imx8mn_bsh_smm_s2_pro_defconfig F: package/uuu/ N: Dario Binacchi <[email protected]>
@@ -2108,6 +2111,7 @@ F: package/python-pyzmq/ N: Michael Trimarchi <[email protected]> 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 <[email protected]>
board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment renamed from board/bsh/imx8mn-bsh-smm-s2/linux.fragment +0 -0
board/bsh/imx8mn-bsh-smm-s2-pro/extlinux.conf new file +4 -0
@@ -0,0 +1,4 @@ +label buildroot + kernel /boot/Image + devicetree /boot/freescale/imx8mn-bsh-smm-s2pro.dtb + append root=PARTUUID=%PARTUUID% rootwait rw
board/bsh/imx8mn-bsh-smm-s2-pro/flash.sh new file +23 -0
@@ -0,0 +1,23 @@ +#!/bin/bash + +if [ $# -eq 0 ]; then + OUTPUT_DIR=output +else + OUTPUT_DIR=$1 +fi + +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 +
board/bsh/imx8mn-bsh-smm-s2-pro/genimage.cfg new file +17 -0
@@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition imx-boot { + in-partition-table = "no" + image = "flash.bin" + offset = 32K + } + + partition rootfs { + offset = 8M + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +}
board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh new file +7 -0
@@ -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"
board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +support/scripts/genimage.sh -c ${BINARIES_DIR}/genimage.cfg
board/bsh/imx8mn-bsh-smm-s2-pro/readme.txt new file +73 -0
73 lines not on this page · raw message
configs/imx8mn_bsh_smm_s2_defconfig +1 -1
@@ -6,7 +6,7 @@ BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.19.7" BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/bsh/imx8mn-bsh-smm-s2/linux.fragment" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/bsh/common/imx8mn-bsh-smm-s2/linux.fragment" BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-bsh-smm-s2" BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y
configs/imx8mn_bsh_smm_s2_pro_defconfig new file +41 -0
41 lines not on this page · raw message
Signature · 6 lines
2.32.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot