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 12FAAC3ABBC for ; Fri, 9 May 2025 10:59:46 +0000 (UTC) Received: from euk33.eukhosting.net (euk33.eukhosting.net [213.175.196.64]) by mx.groups.io with SMTP id smtpd.web11.11641.1746788378907180396 for ; Fri, 09 May 2025 03:59:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@cairnwater.com header.s=default header.b=RapBG1sc; spf=pass (domain: cairnwater.com, ip: 213.175.196.64, mailfrom: will.open.source@cairnwater.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cairnwater.com; s=default; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=j3tNluRk5nLIcrLcAvIwyJn5Qu0cWreHnsM8qvbojko=; b=RapBG1sckB8kEt62hvvpMvf7Tz 0t4fBYjfL2FayHITN1bker9Dsd9FMYbGKfqN8w1o3mmrlt5bVIC11wOS/NFd5Zu2nT/93lr7u9TYC TQbNYeEYXQjEMzzp3iuw47zbGPPIC9cD2elLXMBvo5T7AwCJdbbeN+YXkbO/quHSDN8N9dQsYfFhk 1gpe9W++V0JEfae/8GCvmWsZRZA7W1ilNPza7HBozmfFWZxSpWeT5Fa19Lo1Wqg6PbCufqyv+LAhX 57mr1C8nUV8cbecY/eLLCD91DlNz3TTmO9h2K/Cr2YsTYUJURl7GFv5Xj0ylP4SLASaGUNWYKLEBv JX1UeRKQ==; Received: from [::1] (port=41922 helo=euk33.eukhosting.net) by euk33.eukhosting.net with esmtpa (Exim 4.98.1) (envelope-from ) id 1uDLS4-000000018qm-2MWc; Fri, 09 May 2025 11:59:36 +0100 MIME-Version: 1.0 Date: Fri, 09 May 2025 11:59:36 +0100 From: will.open.source@cairnwater.com To: "Mauro S." Cc: meta-freescale@lists.yoctoproject.org Subject: Re: [meta-freescale] Advice on Yocto Build for Mainline Linux or for NXP Linux for Polyhex Debix Model A or Model A SoM for Open Source Wildlife Camera System In-Reply-To: <8dd77bc9-9eba-4b31-82fa-7990afe9cc75@yahoo.com> References: <8a5574e13807d53dbe4453ead04edb40@cairnwater.com> <8dd77bc9-9eba-4b31-82fa-7990afe9cc75@yahoo.com> User-Agent: Roundcube Webmail/1.6.9 Message-ID: <2e2362f2671449d3016d2dda7d20e6b3@cairnwater.com> X-Sender: will.open.source@cairnwater.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - euk33.eukhosting.net X-AntiAbuse: Original Domain - lists.yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - cairnwater.com X-Get-Message-Sender-Via: euk33.eukhosting.net: authenticated_id: will.open.source@cairnwater.com X-Authenticated-Sender: euk33.eukhosting.net: will.open.source@cairnwater.com X-Source: X-Source-Args: X-Source-Dir: 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 ; Fri, 09 May 2025 10:59:46 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24957 Hi Mauro, Thank you very much for your help - it's an enormous help to me to understand why I was getting so confused trying to find Yocto recipies for this board. I've put some links to our conservation work and the repository for WildCamera below. We could use a different i.MX 8M Plus board - a board that has good Yocto support and good mainline Linux support would be ideal for us so if anyone can suggest one that would be very valuable. (We plan to try to keep independent of any one hardware supplier and keep an element of competition between suppliers.) > Moreover Debix does not provide a meta layer for its boards. Yes - that's what we found as well - the Debix instructions describe manually modifying the source files which to me seemed strange - modifications like these would normally be done in a new Yocto layer? My background is as a climbing arborist and user space (Python, .Net, SQL) software engineer so my understanding of embedded systems is inadequate - if folk can suggest anything that I should study to improve my understanding please let me know. There's more about our conservation work here https://new-homes-for-old-friends.cairnwater.com/ And here in English, German and French https://new-homes-for-old-friends.cairnwater.com/quick-summary-new-homes-for-old-friends-switzerland/ And analysis for the new open source wildlife camera here: https://github.com/William-Robert-Robertson/WildCamera Will On 2025-05-09 09:12, Mauro S. wrote: > On 08/05/25 17:07, Will Robertson wrote: >> Hi, >> >> I was wondering if anyone had any advice on the simplest way for me to >> use Yocto to build an image using mainline Linux or NXP Linux for the >> Polyhex Debix Model A i.MX M8 Plus board or for the Debix SoM A i.MX >> 8M Plus board with SoM A I/O board? >> >> For my work in conservation of endangered European dormouse species >> I'm working on a new open source wildlife camera system so I'll have >> to learn how to include kernel drivers for image sensors in the device >> tree. I'm not a professional kernel driver engineer so if anyone can >> recommend anything that I could study to help with this it would also >> be very valuable. >> >> We're looking at the i.MX 8M Plus because of it's very strong ISP >> (Image Signal Processor), two MIPI CSI-2 ports and NXP's strong >> commitment to open source. The Polyhex Debix boards seem to provide a >> good way for us to test prototypes in the field before designing our >> own carrier board for an i.MX 8M Plus SoM. >> >> As far as I can work out, the Polyhex Debix boards stay fairly close >> to the design of the two official NXP evaluation boards 8MPLUSLPD4-EVK >> and 8MPLUSLPD4-PEVK: >> >> https://www.nxp.com/design/design-center/development-boards-and- >> designs/8MPLUSLPD4-EVK >> >> https://www.nxp.com/design/design-center/development-boards-and- >> designs/8MPLUSLPD4-PEVK >> >> I was able to find these Yocto DTS and DTSI files for the boards: >> >> for Debix Model A SBC >> https://git.yoctoproject.org/linux-yocto-dev/plain/arch/arm64/boot/dts/ >> freescale/imx8mp-debix-model-a.dts >> for Debix Model A SoM I/O Board >> https://git.yoctoproject.org/linux-yocto-dev/plain/arch/arm64/boot/dts/ >> freescale/imx8mp-debix-som-a-bmb-08.dts >> and DTSI for Debix Model A SoM >> https://git.yoctoproject.org/linux-yocto-dev/plain/arch/arm64/boot/dts/ >> freescale/imx8mp-debix-som-a.dtsi >> >> Searching for the i.MX 8M Plus under OpenEmbedded I could only find >> DDR4 and LPDDR4 boards (of which I think only the LPDDR4 board is in >> use): >> >> https://git.yoctoproject.org/meta-freescale/tree/conf/machine/imx8mp- >> ddr4-evk.conf?h=master >> >> https://git.yoctoproject.org/meta-freescale/tree/conf/machine/imx8mp- >> lpddr4-evk.conf?h=master >> >> these both build on imx8mp-evk.inc >> >> require include/imx8mp-evk.inc >> >> which I think is the official i.MX 8M Plus evaluation board. >> >> Debix give some guidance on using Yocto to build images for their >> boards here https://github.com/debix-tech/uboot but I thought that it >> would be better for me to take a cleaner approach. >> >> Thank you very much for your help, >> >> Will >> > > Hi Will, > > at the moment Debix boards seem not supported "out of the box" in > mainline meta layers: this means that there are some pieces needed for > their support but some works still be done to add missing parts and > gather them together. Moreover Debix does not provide a meta layer for > its boards. > > To kickstart your project I would suggest you follow the instructions > from Debix, at least to do first tests and to take control over the > board and the develop process: this helps you focus on the imaging part > without losing time to bringup the board. > > Later you can return on the BSP part (i.e. u-boot and kernel) and maybe > try to implement missing parts and gather them all in a meta layer that > allows to build the Debis BSP inside Yocto. > > Regards