Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6834CAC5B5 for ; Mon, 29 Sep 2025 05:47:02 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web11.47140.1759124813418996210 for ; Sun, 28 Sep 2025 22:46:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@ti.com header.s=ti-com-17Q1 header.b=lGpBg3iU; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: m-shah@ti.com) Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 58T5kqoJ2570822; Mon, 29 Sep 2025 00:46:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1759124812; bh=kXbiqFoQNB9B+y9Q5A0AhLKQIWwmeU7qUmwhprc21OI=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=lGpBg3iUTJxLGEGcHgeZsrcTnf8sjgB8yHV37M+hL1tPo+ZHG87PsVIzmiKod/AIG I+ngPoUoTPXoFv5C/Zd5D+1IIEV0oPAZPDu+7Bu2LI6PfRWQeF20V5LLX2ufejeatq Tou+FtlYZVC9zyk56tbGbfRmTs3MnJiqeVl69Ni4= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 58T5kqv91689084 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Mon, 29 Sep 2025 00:46:52 -0500 Received: from DLEE211.ent.ti.com (157.170.170.113) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Mon, 29 Sep 2025 00:46:51 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE211.ent.ti.com (157.170.170.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Mon, 29 Sep 2025 00:46:51 -0500 Received: from [10.24.72.162] (moteen-ubuntu-desk.dhcp.ti.com [10.24.72.162]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 58T5klKq962918; Mon, 29 Sep 2025 00:46:48 -0500 Message-ID: <382669c5-7104-4205-b8f2-79dc0bac01e1@ti.com> Date: Mon, 29 Sep 2025 11:16:47 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [meta-ti] [master][PATCH 3/4 v2] meta-ti-bsp: wic: Add a new GRUB config for TI platforms To: Vignesh Raghavendra , Andrew Davis , , CC: , , , , , , , , References: <20250919093831.20609-1-m-shah@ti.com> <20250919093831.20609-4-m-shah@ti.com> <6e5d6135-9571-419d-8879-1626155c2a82@ti.com> <88e41345-a0a5-4897-afaf-ba1435be5758@ti.com> Content-Language: en-US From: Moteen Shah In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by fllvem-ot04.ext.ti.com id 58T5kqoJ2570822 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 29 Sep 2025 05:47:02 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/19072 Hey Vignesh and Andrew, On 29/09/25 09:36, Vignesh Raghavendra wrote: > > On 25/09/25 22:53, Andrew Davis wrote: >> On 9/23/25 4:15 PM, Ryan Eatmon via lists.yoctoproject.org wrote: >>> >>> On 9/19/2025 4:38 AM, Moteen Shah wrote: >>>> Add a new grub config for TI specific platforms. While, >>>> only supporting to boot linux from filesystem on MMCSD, it >>>> will support booting linux and initrd image from eMMC, OSPI, >>>> UFS later down the line. Hence, make a new config altogether >>>> for easier development. >>>> >>>> Signed-off-by: Moteen Shah >>>> --- >>>> =C2=A0 meta-ti-bsp/wic/sdimage-2part-efi.wks.in | 2 +- >>>> =C2=A0 meta-ti-bsp/wic/ti-grub.cfg=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 9 +++++++++ >>>> =C2=A0 2 files changed, 10 insertions(+), 1 deletion(-) >>>> =C2=A0 create mode 100644 meta-ti-bsp/wic/ti-grub.cfg >>>> >>>> diff --git a/meta-ti-bsp/wic/sdimage-2part-efi.wks.in b/meta-ti-bsp/ >>>> wic/sdimage-2part-efi.wks.in >>>> index ae38daa7..11912606 100644 >>>> --- a/meta-ti-bsp/wic/sdimage-2part-efi.wks.in >>>> +++ b/meta-ti-bsp/wic/sdimage-2part-efi.wks.in >>>> @@ -3,6 +3,6 @@ >>>> =C2=A0 # supports EFI.=C2=A0 Boot files are located in the first vf= at partition >>>> with extra >>>> =C2=A0 # reserved space.=C2=A0 We cannot use a GPT here. >>>> -bootloader --timeout=3D3 --append=3D"rootfstype=3Dext4 >>>> ${TI_WKS_BOOTLOADER_APPEND}" >>>> +bootloader --configfile=3D"ti-grub.cfg" >>> Your change dropped the ${TI_WKS_BOOTLOADER_APPEND} which is used for >>> am64 to specify the serial console.=C2=A0 This likely needs to be bet= ter >>> tested before we just make blanket changes like that. >>> >> Just a side note on this, AM64 needs "console=3DttyS2,115200n8" passed= in >> on the kernel >> command line or you will not get kernel output. This is something we c= an >> pass to all >> K3 boards (although not strictly needed for other boards, it is safe/ >> correct to do >> for them all). >> Non-K3 boards will want "console=3DttyS0,115200n8" (note >> theS0). So >> having this selectable per-SoC/family is still useful. > AM62L would use "console=3DttyS0,115200n8" as well. Don't we set console=3D property from the platform.env files in uboot? Regards, Moteen > > >> Andrew > [...] >