Message ID | 20240903152925.917831-7-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBXWW3S3AMGQEFN43BIA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 076833F228 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 3 Sep 2024 17:29:35 +0200 (CEST) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-42bbe9083d1sf37679635e9.3 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 03 Sep 2024 08:29:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725377374; cv=pass; d=google.com; s=arc-20240605; b=YCreD/lIj8WbAF/fv2XcrV5Fyme5Z8S5tvFWFANMiIVv1JCF6SNHC/QKziwcPOLXyZ rWPe5bP8A0W4azrybuetYNwIfM1wE9xDe9rYNjEOXgbSkE1qkPGunmj9bexSIQBt2NR9 6K/lTr00i1xGRKf9EfmZZvTPEqU6OTrK9ACtU+lZbtiakuMwtbxIZm+KWN4hXTMaAVX0 meS4hw8wHRNAVhmxww4O1j0wFBg+g6Q5xVHWoxeGHZfX9LSbmj1bF1/7qWreeTrFtNz3 lz8K3S4Yt+3MtsOiQ8o23ap3b0M9zvoMqVP+UKEjLr94aOst6ySji5uFazLeW+Rwd1CU djOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=Fscn8VUUTRECTUpsJKHstwxqN43w8fZFsb7ya3PIz60=; fh=S9jtyuO5wonp7u9plSiSoeqo5oRYoYZohKuMNBa5LCU=; b=XtY2r5UvE7VDMQA98iiUS+CwNIyO5pMx42Ym1bYvQjv2bgkfkJTp3rdRJbZ0cMg9xt tHIp3rXDvjYvedsOwQ3YwgOXyQXqk5i4bmJ57VROGjfcKEhAlGZEzwi2OlXDiHXcPSmr Z3QGVkUASUUb5Htz4z837sDZlbm/icGMVOJDv0nH4TvkoDSi/2OjFiM6VNUOYK29s410 RAfHBmI6Idza3CjQ3JEjGP9A+oeEnFUhA3Ig21n/4CBxwqXoWwCLenlu3krk1xFxrfGP JuvKWHh4tTZCXZswnI7yF/wDYweQ21TcCbgCE960MNDox7DxBXcYKBVddRGW7lVfVMv2 O7Tg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PRIZNeVT; 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=1725377374; x=1725982174; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Fscn8VUUTRECTUpsJKHstwxqN43w8fZFsb7ya3PIz60=; b=htkXHXGaJL2LdT69B8F9jyqDJ5rW5R7r4zSM4LBT6skNXBzeg7xFxBLEVDZYQHnaU7 e/I2VcR/g3nfu1y4UjYpICv0wZCK0aHyCFk0K1AxdN2S+SqMxM/WHTyewYf271FV1yoJ xWEOUzHYJ9gMP9AtOC9NwDlWUOf7FpnzvHRP8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725377374; x=1725982174; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fscn8VUUTRECTUpsJKHstwxqN43w8fZFsb7ya3PIz60=; b=AZX1oWc+i+t8RpvxkK7DJ5oM/po5a9dHH8G2QamKyRjf+gC4g7eNmdK08aHCELntjs ktjrWFZMEoPNxBmjLN/QfvYlwQ/BPo5OeOwKJJ2R0kKCBIwxPM/RkQNEoGJKKt3lpGgf I04+zUOXwx02c8SiN9ES4fhjczQWgNyt1LDaZJ+j5TUdOukkuX97MoKQopAg7YfsCaRO +E66l78SbEaWbHfgzaW0J46UPqEPJ4XtvqDkud4r5Ak/obF+wG1cmPLBIErDQmVwR1/z S+ksJGS0ke2yhxq+9/MHpYhfrUe6kVMpdOA1DT4XAocNcXftHyhCEsiLF7D5UJqv9Ddw vSmA== X-Forwarded-Encrypted: i=2; AJvYcCWkbLjMwsZg81hYvL6TdH185dqlWu7p14fsnVDoiCz3cyANQ59iRxRxCl8MSWHe3WJ91KJJN4Rk1Q9Vzo66@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Ywdaj3XUO1Kj2jF9vlYHNHnVcdMLMISVfWeR21E6Ygnz9vBFoDA JdA7AoTwMVkjf2FxR7w8TKNTApouuHw+C1+D0QaMH4dci/4VmrEs84TB0qBj5/gL+w== X-Google-Smtp-Source: AGHT+IFDtWsCGHDJ2GrtQGSBXYBCMCSqMmrsx1aErmCgfFz/wF94zHp1bkn5htHpmO2ibGPjxhhuEA== X-Received: by 2002:a05:600c:1d16:b0:42b:892d:54c0 with SMTP id 5b1f17b1804b1-42c7b5a8db6mr71527255e9.12.1725377374580; Tue, 03 Sep 2024 08:29:34 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:4ec6:b0:426:6c3e:18fc with SMTP id 5b1f17b1804b1-42bb2a15479ls3371925e9.2.-pod-prod-04-eu; Tue, 03 Sep 2024 08:29:33 -0700 (PDT) X-Received: by 2002:a05:600c:1ca1:b0:426:5cdf:2674 with SMTP id 5b1f17b1804b1-42c7b59e433mr82042735e9.4.1725377373016; Tue, 03 Sep 2024 08:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725377372; cv=none; d=google.com; s=arc-20160816; b=E/WWmbTrtdblEfovG0pgx1fOmRsi72wrdXyy2lwAa4cc3I9ojWebaYPyYdWyDRxWjP C4TzR3LCMyIiGQ6IwqmOdIM/CL9I+chgoIoTUteZkkipxqOoEKYXmqm3qEW9vovGC3Wh bSI15Nv9HoRT4PtxsSwzyDukmzOX+cTtGEGrhA5zoqb2tOHfCeTJgZDvJJgELjZFLqX8 AjZpgOfoRtva1IRjboZBlaK982RQng0ydizVkk23mDbeMI2zSYYi8nKBxu7E3pCjWmJr nHMxKJ40Co9KZE3twfv3CPtCz4us66DEhkWjCUjVkWxzVYq/V+bg3tcO5ySDy9ioNKdO xjxg== 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:to:from:dkim-signature; bh=/KJYXjRIE7VPiwSo6JzOW6Mav2fYbyf2xklAhN7WMPA=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=iM/8pvU2KXWjaLqJrrf2Rn+nOaUGeyxFp7cVLZajOGLAJ13p/QbzBmamhIMOanQKu0 I8uWHSjLZqL5ZzJ7j5OkTm9mv+Pb8iWE8xU0Zim91h8qSkoGrnaL7N1uiDAU4DzxhGnB /++yOg/QnP75m4vRTjICgbih8eFTPdl0bUufArJ5n5plPKf7sL6nFv8aBP1u8TlPqDNg CoXYziNBfEbSj4e9OdYtfeOiMBfdVZIlPrqQ/lAMTDqgRfY+R1WROC90sVaJ0OJXEIM+ Y+WakOHfiD52qU41BdGThGkqpxh1/STQ8Mh7tzQdpNNgc+xf0tJH1nYRfGlrSN+HlaZz 1fuQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PRIZNeVT; 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-42bb707f7c0sor26153765e9.3.2024.09.03.08.29.32 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 03 Sep 2024 08:29:32 -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:600c:5493:b0:428:52a:3580 with SMTP id 5b1f17b1804b1-42c7b59e329mr68457785e9.3.1725377372383; Tue, 03 Sep 2024 08:29:32 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.42.65]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42ba641dad0sm210568905e9.30.2024.09.03.08.29.31 for <linux-amarula@amarulasolutions.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 08:29:31 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-amarula@amarulasolutions.com Subject: [PATCH 07/11] board/bsh/imx8mn-bsh-smm-s2-pro: mount Linux debugfs at bootup Date: Tue, 3 Sep 2024 17:29:21 +0200 Message-ID: <20240903152925.917831-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240903152925.917831-1-dario.binacchi@amarulasolutions.com> References: <20240903152925.917831-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=PRIZNeVT; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh index 08eb3abc5b8f..47f6d9ae8a10 100755 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh @@ -6,3 +6,8 @@ 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" install ${BOARD_DIR}/emmc_boot.lst ${BINARIES_DIR} + +# mount debugfs +grep -q "/sys/kernel/debug" ${TARGET_DIR}/etc/fstab || \ +echo "nodev\t\t/sys/kernel/debug\tdebugfs\tdefaults\t\t0\t0" \ + >> ${TARGET_DIR}/etc/fstab
Really useful during development. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 5 +++++ 1 file changed, 5 insertions(+)