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 57DD3C3ABC3 for ; Fri, 9 May 2025 14:35:33 +0000 (UTC) Received: from sonic307-54.consmr.mail.ir2.yahoo.com (sonic307-54.consmr.mail.ir2.yahoo.com [87.248.110.31]) by mx.groups.io with SMTP id smtpd.web11.256.1746801329325782655 for ; Fri, 09 May 2025 07:35:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=EhalKh4H; spf=neutral (domain: yahoo.com, ip: 87.248.110.31, mailfrom: mau.salvi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1746801327; bh=iUAJMpzdFooHC/NuRwMJV17d6pPAnRzMKfiKZZd9pyU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=EhalKh4HF8lNeSp/w2OcFZRJ12Mbxs4cjLV62UlRXikQfN1wuP1bRzaq7VZGogJ3WdhEQx/W8C0/Szax0rfWIzc7IwpaVgN0fbgMqg2RPWovxMhKb0Uqrzp6eEiUVLGo4qJIyj7cyhwxvanQudgMtGWd3n71lg9mwLxEx+g0bihkf68gcnMgGmKRYsBikyEcwJyLsODACoGJ/wN3N8RILA73BD+mxsWlVeH9mmUbCdXO6YK1uZ2qdJTB4u6YD3H7xTyMr2S7Jn32ZJxpn4FdDHACvlhYrBh1V80aE81ZW/eTm0sKkadLOfvRzd8gQzzOXxhIGcrc6m42XZsByVJxkg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1746801327; bh=AEavmQuZA/JIZVbPxJmy1ksfAaeyJKFM2cwas4NHJqj=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=H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VpYc.TXk6Ij_FT9HZ.Y4D50m66H_qJRRyjpDBxeTEG0hKqKSlyBwA1yCe.L_Me3jJBVOImutqif QFtOmMZMMgDRoG7N_YMIJlB9Veq3NmjJogd6JkPCM_LTr8taVlERBY.5kJQrxZAU3nxiNiV2bY5v cBqi6MOwxCWXlLPtMIb_0JMOri8Q.b0SxnWJZGjSkvA7LsV7byrdCuBN36byXXiZtWLtQ0tYwuCn rRfzJ_DRVz8dEds1wtxZbJt4Gwd7zAWBk4tkz_gC3wFPYHi0WCXSwIqyl9Od_Pnt1TGhBNu9PUOa TSiNbbQ28dawJnHOSO27uT97J_j8uiGsIPoosE6IGQ2QkQgqqkqphv.oeKcRBbQMkcZj1UqtW2Za bKM6m2xS1RIYfl8W62Tvbn37oR7cNYUVlqH5benrgUkkFERqYMugrV_nAlD29wvGNrJJ88tCVlPu TcZgikHJWHFxhQwzmZYdR6hkiLBWLdXgaMG6R.6PtrxmPGfpEsxIumeUqw.n2wW_Rtwt0_eqAGUM hlr9s.LA- X-Sonic-MF: X-Sonic-ID: 7b8188c3-6725-43bc-91f8-bfc3ec967054 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Fri, 9 May 2025 14:35:27 +0000 Received: by hermes--production-ir2-858bd4ff7b-w59v5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 937eeb1858efa7b67b578394402efc7c; Fri, 09 May 2025 14:35:24 +0000 (UTC) Message-ID: <24dcccda-bbaf-44c7-bcc9-4820e45c041f@yahoo.com> Date: Fri, 9 May 2025 16:35:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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 To: Will Robertson Cc: meta-freescale@lists.yoctoproject.org References: <8a5574e13807d53dbe4453ead04edb40@cairnwater.com> <8dd77bc9-9eba-4b31-82fa-7990afe9cc75@yahoo.com> <2e2362f2671449d3016d2dda7d20e6b3@cairnwater.com> Content-Language: en-US, it From: "Mauro S." In-Reply-To: <2e2362f2671449d3016d2dda7d20e6b3@cairnwater.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.23772 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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 14:35:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24960 On 09/05/25 12:59, Will Robertson wrote: > 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.) Then you could use one i.MX8MP machine among the ones listed in meta-freescale (they are all from NXP and are demoboard, so perhaps they are too big for your product) or the ones listed in meta-freescale-3rdparty layer (Nitrogen 8MP or Olimex i.MX8MP EVB AFAIK). These machines should give you a plain and pleasant out-of-the-box Yocto experience :-) > >> 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. > Embedded systems topics are many, in general you can start from a good book for each topic (e.g. Packt and NoStarch editors have many useful books). > 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 > Congrats for your activities and good luck for this new project! Regards -- Mauro S. > 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