Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web12.7572.1578413439782531051 for ; Tue, 07 Jan 2020 08:10:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=P6sVywZ3; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: afd@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 007GAdpH046687; Tue, 7 Jan 2020 10:10:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1578413439; bh=ccIW/OrcB6Dgyq2RvR4Uc1he1D4FhUPEmwzXT01LsZA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=P6sVywZ39ZxBOkFsgvJWmdGAk9kdRGrnP+Ty/4WnAUiqReHWZeOP1itvvIey+uNg0 T2UIhQ9EvBfF9WB8CK7I15QZ5FvQ9ZX+LIFg4uHiA02i4aAAl/WGUIihWssEArm4O2 V1EJYHxtV669/T4kWuOmvyW/URXvv2RS4XvVfJz4= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 007GAcgK045141 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 7 Jan 2020 10:10:38 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 7 Jan 2020 10:10:38 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 7 Jan 2020 10:10:38 -0600 Received: from [10.250.65.50] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 007GAcgM006258; Tue, 7 Jan 2020 10:10:38 -0600 Subject: Re: [meta-ti] [PATCH] beagle-x15: add am5729-beagleboneai.dtb To: "Theodore A. Roth" CC: References: <20200102194059.GA13220@beast> From: "Andrew F. Davis" Message-ID: Date: Tue, 7 Jan 2020 11:10:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit On 1/3/20 6:35 PM, Theodore A. Roth wrote: > On Fri, Jan 3, 2020 at 2:30 PM Andrew F. Davis wrote: >> >> On 1/2/20 2:40 PM, Theodore A. Roth wrote: >>> Signed-off-by: Theodore A. Roth >>> --- >>> conf/machine/beagle-x15.conf | 5 ++++- >> >> >> Why add this to the X15 machine? The Beagebone AI is not an X15, the >> catch all for AM57xx machines seems to be am57xx-evm.conf, which already >> has the am5729-beagleboneai.dtb. > > I tried building an image using the am57xx-evm.conf machine in the first place, > but it didn't build the wic image, so I added it to the X15 (since they have the > same processor). The X15 machine seemed a good place to put it due to the > similarities. Seemed similar to what is going on in the beaglebone.conf machine > file (lots of very different boards handled in a single machine file). > >> >> Thinking more about this, the defining features of the AI might warrant >> a new machine conf. > > I'm not opposed to adding a new beagle-ai.conf machine. Looking at > the X15 machine conf, it seems that there would not be much different > for the BBAI other than possibly MACHINE_GUI_CLASS and SERIAL_CONSOLES. > Seems the only difference is in the display (the serial console looks the same for both). The AM57xx-EVM is basically just an x15 but with a touchscreen attached: MACHINE_FEATURES += "touchscreen" The X15 on the other-hand uses HDMI: MACHINE_GUI_CLASS = "bigscreen" If we can remove these differences (auto detect them in userspace or something), then we can combine am57xx-evm.conf and beagle-x15.conf into just one machine target, which to me is the best way to it (reduce targets means less testing, etc..) > Any ideas or hints on what would be different in the machine conf for BBAI > versus the X15? Looks like for your wic image IMAGE_FSTYPES could be changed from "tar.xz" to "tar.xz wic.xz" so both are generated using the am57xx-evm.conf target. What do you use the wic image for anyway, I'm not familiar with it? > > I'm also not sure why beagle-x15.conf has UBIFS stuff it it since that board has > an eMMC nand flash device on it. > Possibly left over from when it was forked from am57xx-evm.conf. So as above, re-combining to one superset machine will help prevent this kind of thing. Andrew > Thanks for the feedback. > > Ted Roth > >> >> Andrew >> >> >>> 1 file changed, 4 insertions(+), 1 deletion(-) >>> >>> diff --git a/conf/machine/beagle-x15.conf b/conf/machine/beagle-x15.conf >>> index d5e05ec7..0af45a84 100644 >>> --- a/conf/machine/beagle-x15.conf >>> +++ b/conf/machine/beagle-x15.conf >>> @@ -4,7 +4,10 @@ >>> >>> require conf/machine/include/dra7xx.inc >>> >>> -KERNEL_DEVICETREE = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb" >>> +KERNEL_DEVICETREE = " \ >>> + am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb \ >>> + am5729-beagleboneai.dtb \ >>> +" >>> >>> MACHINE_GUI_CLASS = "bigscreen" >>> >>> >>> >>> -=-=-=-=-=-=-=-=-=-=-=- >>> Links: You receive all messages sent to this group. >>> >>> View/Reply Online (#12591): https://lists.yoctoproject.org/g/meta-ti/message/12591 >>> Mute This Topic: https://lists.yoctoproject.org/mt/69386296/3619733 >>> Group Owner: meta-ti+owner@lists.yoctoproject.org >>> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [afd@ti.com] >>> -=-=-=-=-=-=-=-=-=-=-=- >>>