From patchwork Thu Aug 22 18:37:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3331 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0FE5740F49 for ; Thu, 22 Aug 2024 20:37:51 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-371a2dcd8c2sf510466f8f.2 for ; Thu, 22 Aug 2024 11:37:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1724351870; cv=pass; d=google.com; s=arc-20160816; b=WGxLMv4oNyFLhEQuOi+9JpDsvEhqcOOEc298mM/VfL1nKm+djSp4BqOMrXKeKxNvLe u3/dLNLGsRa7RUVJQ7tRtijOSfWGO6aBYnQormWJx3yfwb+c+6E0nP+a/1De6gYHCS6I KTjpxPd9aQGVwJhO1V2wDTa9SiAhBYldhNoQ0j7VH+GFKlOo/ErZ4rKuTcXyHKCI8Wsk Gds/QjriswiitI/l2nR3CafpuqjHAtbWKLmBAC60dzHmrZhhNGKYEYKCYi6SV5pA+Bbj EXAQNdgee+7uty5i+JJSQwsLBN+s2zHeGHbTHTH21BNFNigcXII99yB5A8ggtnEvs4MU GH8Q== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=4ZDAfsLp0gBf9Oc/o37PCdFykLeBns6h9lTfvHYdMOk=; fh=B1hfMDhLMttxhM1OXYXhUGmqfk0NpRzyD/xuU0+obVs=; b=xtPs+vX8BzxP2mU4n0poV4Z+7ePV87ZVE/Ecl6DDpCv0YDFMOepuXire6c0ae9sZ3G een+KOY1SJMfe13FlvWl+FbXEETl9lZDBsnzdm7xoQJ0pkUO8K95FIQGZNZ9RKJWIiXX JxjQDMs1apDmijrBo8fZKVjd697D6/KPrA8apVdmVxRYjpmFy/U6M1xqTK4EvteW6l2N M6cmftjCV0WMdiFuBOxiI5cSwnii0E+q1+2DVDLk8bxi/Wk25te90JJr6BIp61k1l/GH 32H45bmYJPPYBvNCKPMUL3QTqogxVsmDauv4oFMhGxGRDvpXIb8L7r3OFyGPA4fi3w6b GqMw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XcCFZBQ6; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1724351870; x=1724956670; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4ZDAfsLp0gBf9Oc/o37PCdFykLeBns6h9lTfvHYdMOk=; b=HvEL93VPxtWKp3EjRwYE7Q0Ov2+455g1eXEGH5pgliqiQr8B9MTAwnss10HJRM+LBh d1uZW7A34degEptt04yY8Vvp4i5mOo/3E8Inja+sSxEIQ/Tia7og6JroAekFn7Ph2viJ O8/QM9mcO+ypMPY3KtbctaCAOo1DuaeX7pfv0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724351870; x=1724956670; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4ZDAfsLp0gBf9Oc/o37PCdFykLeBns6h9lTfvHYdMOk=; b=Yuv8sTFfKsFsev1HADLym6XqK+FZDdO0CsKytRlkZhv2+PoC7jYuzN26s+6IUsVrkC FSaMVuphG1RvZe83dHkOlcZ1tw0Rhe4rgbvsOV270nQaM4crZsmhwZcQVQu8iw9U/o/D Z5oaG5Fm8/hW++dxp4fFWG5xaB8sQyY2fhizTUn/FaG8gE5YaHWNQYj9bug7tqO6reQg AX8Gz8f7wZBv+vgV4CpHh1p7VMJPqChui0YFSwuUqR7PSTZzh+4zOXwOcFBsq7oLLJnd 6raB4n9ArMp1E01jhRCnnQRDxQgPVJG2aX07Fyszf2vHL/xZgh2+kshRNDIvXR4Qvp5I Zs8g== X-Forwarded-Encrypted: i=2; AJvYcCXh3wLJ6NmI1QVHFO4icIL6dv0DaSWh04APGnBGWhLvdsa8pDg3++DS9KPr5AAp0E1OxldLXPeEdPJmWuoa@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YybLQfdL9aJxWuevSnrNmVEaHabBbITDArgRagurpWjBkR3UpwU 01jt49KU+U7+JFmlUHfJPvWd6lSb0mDJqmKt33lk4LYHTvjVlHZGqocLDAGaNYDrFw== X-Google-Smtp-Source: AGHT+IEOy4qAslpcZI9RKTUK5okh59EdXdGwtH4ySC7Uz5WO9I1ke0A/Lrz5oOSevQKO0VxoVnnv7A== X-Received: by 2002:a05:6000:2a9:b0:36b:bb84:33e2 with SMTP id ffacd0b85a97d-37308c2f949mr2051414f8f.37.1724351870568; Thu, 22 Aug 2024 11:37:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:1548:b0:427:ad0:2dd8 with SMTP id 5b1f17b1804b1-42ac3c34468ls6277525e9.0.-pod-prod-04-eu; Thu, 22 Aug 2024 11:37:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWAWMnriQSW0S3OJa+hSl7DDRpa2UJQswIq+nOtcCrnFwAgRKVIZCFkDJk2kxF102KV6H3jg0yqNBWl7VpE@amarulasolutions.com X-Received: by 2002:a05:600c:4e41:b0:428:ea8e:b4a0 with SMTP id 5b1f17b1804b1-42ac55d9b1cmr19602165e9.14.1724351869102; Thu, 22 Aug 2024 11:37:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724351869; cv=none; d=google.com; s=arc-20160816; b=H6CeTwc4iG6q/SI5h6F7s3gHp7paZ+4KnAERHjmv6utKvWOW7BJR/tShAowTyiQvgR ntPFDKJUuszf099hmBL9uqY5+DwY12d1q6uBqW+ORI44T+HyvF0vRoiGairF4wONbS2f J5OA0mzzI1O7Or3Du9H1ylSjvmSVbY1HUcl4pXn5GJSDGImvYKdvflbkwOZ+0V0UvJfR Uaz1pgZgFikd88G+STYeZblvMTLzMJ/F6R1GFNQlE8zr/bQhfffMde1Z10ImIdqkBhsT bRrRugSmE1yIgVsIUat2bMdJ9mH65CeAsq0Yhhy2au/8ngWMu8tZEskDHRCuNMjRw9gu 16tg== 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=tJUf+8K8O1zRMG27X0FoRloRUfG4XE2Ky2O3u3qn/5M=; fh=U/K1Mb0C1OzoFWhPJulNk07T9GOpVUw3LZP6GYW09tc=; b=qU+FSXs+AJM/B8UAhcDaUbNNTe1q71nEkZNLp1Z3ipyrRCeSNXBKdajqEWsTNzg3c0 eIOP7dG1rM+jKlrSnyNPJXDNxYkyozeNlFp/Mb0TS4Pk1sa9TUOyZk2OpGyRLGEsNEKY DyITyIO8fMCctf1wu2wkTB52lhznYRKvH4OOIt7ussyCSAy4xtrt3SO5846Y41mYJea0 97MwC+T1ZeVZHT9wlZc9a37Spd6AEJhigjUcWyeAXfmABBOkpQSt69qiKlOYANuH5+ge 0fcrmCz9GWcfcqkrlQXBeAZJLKxgmrMFn8rk8/BEpipeELfNaefBvfiEkbq0ESTjlvt5 VQbA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XcCFZBQ6; 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; dara=pass header.i=@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 5b1f17b1804b1-42ac515cde1sor1765005e9.5.2024.08.22.11.37.49 for (Google Transport Security); Thu, 22 Aug 2024 11:37:49 -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-Forwarded-Encrypted: i=1; AJvYcCUArPu9hujyrPIJ497Kirf6d0NpCh0zge0GaOcHILGpwSR+eUzwIpu5bGPHtt9NChyfYKZthHBoqaH35SFb@amarulasolutions.com X-Received: by 2002:adf:fe4f:0:b0:36c:b5a1:f108 with SMTP id ffacd0b85a97d-37308d71e1fmr1669066f8f.39.1724351868559; Thu, 22 Aug 2024 11:37:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([2.196.40.166]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3730811001fsm2276397f8f.20.2024.08.22.11.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2024 11:37:48 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dario Binacchi , Damien Le Moal , Thomas Petazzoni , "Yann E . MORIN" , linux-amarula@amarulasolutions.com Subject: [PATCH v3 3/3] board/canaan/k210-soc: use tinyinit as Linux init process Date: Thu, 22 Aug 2024 20:37:42 +0200 Message-ID: <20240822183742.3550055-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240822183742.3550055-1-dario.binacchi@amarulasolutions.com> References: <20240822183742.3550055-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 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=XcCFZBQ6; 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; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" 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: , The initialization script provided by the tinyinit package is the same as the one contained in board/canaan/k210-soc/rootfs_overlay/sbin/init except for the Linux logo, which has been removed. The patch reworks the configurations that use this overlay directory by replacing the initialization process contained within it with the one provided by the tinyinit package. Signed-off-by: Dario Binacchi --- Changes v2 -> v3: - Replace BR2_INIT_TINYINIT=y with BR2_INIT_NONE=y and BR2_PACKAGE_TINYINIT=y in stm32f746_disco_sd_defconfig. Changes v1 -> v2: - Remove the logo management. - Update the commit message. .checkpackageignore | 1 - board/canaan/k210-soc/rootfs_overlay/init | 1 - .../canaan/k210-soc/rootfs_overlay/sbin/init | 41 ------------------- configs/canaan_kd233_defconfig | 2 +- configs/sipeed_maix_bit_defconfig | 2 +- configs/sipeed_maix_bit_sdcard_defconfig | 2 +- configs/sipeed_maix_dock_defconfig | 2 +- configs/sipeed_maix_dock_sdcard_defconfig | 2 +- configs/sipeed_maix_go_defconfig | 2 +- configs/sipeed_maix_go_sdcard_defconfig | 2 +- configs/sipeed_maixduino_defconfig | 2 +- configs/sipeed_maixduino_sdcard_defconfig | 2 +- 12 files changed, 9 insertions(+), 52 deletions(-) delete mode 120000 board/canaan/k210-soc/rootfs_overlay/init delete mode 100755 board/canaan/k210-soc/rootfs_overlay/sbin/init diff --git a/.checkpackageignore b/.checkpackageignore index 81e48bf85909..e1ba013fcbc5 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -22,7 +22,6 @@ board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh Shellcheck board/bsh/imx8mn-bsh-smm-s2/flash.sh Shellcheck lib_shellscript.EmptyLastLine board/bsh/imx8mn-bsh-smm-s2/post-build.sh Shellcheck board/canaan/k210-soc/post-build.sh Shellcheck -board/canaan/k210-soc/rootfs_overlay/sbin/init Shellcheck board/chromebook/elm/sign.sh Shellcheck board/chromebook/mksd.sh Shellcheck board/chromebook/snow/sign.sh Shellcheck diff --git a/board/canaan/k210-soc/rootfs_overlay/init b/board/canaan/k210-soc/rootfs_overlay/init deleted file mode 120000 index a0b71977c06f..000000000000 --- a/board/canaan/k210-soc/rootfs_overlay/init +++ /dev/null @@ -1 +0,0 @@ -/sbin/init \ No newline at end of file diff --git a/board/canaan/k210-soc/rootfs_overlay/sbin/init b/board/canaan/k210-soc/rootfs_overlay/sbin/init deleted file mode 100755 index d4bf53d45231..000000000000 --- a/board/canaan/k210-soc/rootfs_overlay/sbin/init +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -# This script replaces the default busybox init process to avoid having that -# process staying alive and sleeping in the background, (uselessly) consuming -# precious memory. - -# Mount procfs and sysfs -/bin/mount -t proc proc /proc -/bin/mount -t sysfs sysfs /sys - -# When the kernel is directly booted, devtmpfs is not automatically mounted. -# Manually mount it if needed. -devmnt=$(mount | grep -c devtmpfs) -if [ ${devmnt} -eq 0 ]; then - /bin/mount -t devtmpfs devtmpfs /dev -fi - -# Use the /dev/console device node from devtmpfs if possible to not -# confuse glibc's ttyname_r(). -# This may fail (E.G. booted with console=), and errors from exec will -# terminate the shell, so use a subshell for the test -if (exec 0/dev/null; then - exec 0/dev/console - exec 2>/dev/console -fi - -# Clear memory to reduce page fragmentation -echo 3 > /proc/sys/vm/drop_caches - -# Print a fun logo :) -echo " __ _" -echo " / / (_) ____ _ _ __ __" -echo " / / | || _ \\ | | | |\\ \\/ /" -echo " / /___| || | | || |_| | > < " -echo " /_____/|_||_| |_| \\____|/_/\\_\\" -echo " 64-bits RISC-V Kendryte K210 NOMMU" -echo "" - -# Finally, let's start an interactive shell -exec /bin/sh diff --git a/configs/canaan_kd233_defconfig b/configs/canaan_kd233_defconfig index 832f8363a75c..dda42836ae1d 100644 --- a/configs/canaan_kd233_defconfig +++ b/configs/canaan_kd233_defconfig @@ -33,5 +33,5 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.co # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_bit_defconfig b/configs/sipeed_maix_bit_defconfig index 238e082a3d40..2bd203c45681 100644 --- a/configs/sipeed_maix_bit_defconfig +++ b/configs/sipeed_maix_bit_defconfig @@ -33,5 +33,5 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.co # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_bit_sdcard_defconfig b/configs/sipeed_maix_bit_sdcard_defconfig index 28aa143583bd..fd5f19d5793a 100644 --- a/configs/sipeed_maix_bit_sdcard_defconfig +++ b/configs/sipeed_maix_bit_sdcard_defconfig @@ -34,9 +34,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_bit" # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" diff --git a/configs/sipeed_maix_dock_defconfig b/configs/sipeed_maix_dock_defconfig index ee1b0d837284..0faa06b7dcb2 100644 --- a/configs/sipeed_maix_dock_defconfig +++ b/configs/sipeed_maix_dock_defconfig @@ -33,5 +33,5 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.co # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_dock_sdcard_defconfig b/configs/sipeed_maix_dock_sdcard_defconfig index 41a062c7a179..379d228d4c7e 100644 --- a/configs/sipeed_maix_dock_sdcard_defconfig +++ b/configs/sipeed_maix_dock_sdcard_defconfig @@ -34,9 +34,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_dock" # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" diff --git a/configs/sipeed_maix_go_defconfig b/configs/sipeed_maix_go_defconfig index a5b09e17ac1c..33599c19f505 100644 --- a/configs/sipeed_maix_go_defconfig +++ b/configs/sipeed_maix_go_defconfig @@ -33,5 +33,5 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.co # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig index 0e80d9c83ad8..1b03cf6165ad 100644 --- a/configs/sipeed_maix_go_sdcard_defconfig +++ b/configs/sipeed_maix_go_sdcard_defconfig @@ -34,9 +34,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maix_go" # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg" diff --git a/configs/sipeed_maixduino_defconfig b/configs/sipeed_maixduino_defconfig index 7ba7653e8d5f..0cdd16df3f87 100644 --- a/configs/sipeed_maixduino_defconfig +++ b/configs/sipeed_maixduino_defconfig @@ -33,5 +33,5 @@ BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/canaan/k210-soc/busybox-tiny.co # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig index 7bdd36e1d09f..629205c5bc49 100644 --- a/configs/sipeed_maixduino_sdcard_defconfig +++ b/configs/sipeed_maixduino_sdcard_defconfig @@ -34,9 +34,9 @@ BR2_LINUX_KERNEL_INTREE_DTS_NAME="canaan/sipeed_maixduino" # Filesystem BR2_INIT_NONE=y +BR2_PACKAGE_TINYINIT=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_ROOTFS_OVERLAY="board/canaan/k210-soc/rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="board/canaan/k210-soc/post-build.sh" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/canaan/k210-soc/genimage.cfg"