<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom imx93 image for openwrt using yocto in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2049227#M234323</link>
    <description>thx for the reply, but as I said, I added these lines already in the local.conf:&lt;BR /&gt;&lt;BR /&gt;INHERIT += "openwrt-distro-defaults"&lt;BR /&gt;TCLIBC = "musl"&lt;BR /&gt;DISTRO_FEATURES:append = " procd"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/kernel = "linux-imx"&lt;BR /&gt;DISTRO_FEATURES:append = " systemd"&lt;BR /&gt;INIT_MANAGER = "systemd"&lt;BR /&gt;VIRTUAL-RUNTIME_init_manager = "systemd"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway I tried different configs and I found out that if I comment out the line to inherit openwrt-distro in the local.conf, the build environment can detect systemd, and if I leave it in, the build environment will fail again.&lt;BR /&gt;&lt;BR /&gt;Are you aware of any reason of this behaviour? Or is that so openwrt distro has conflict that mess with the build environment?&lt;BR /&gt;&lt;BR /&gt;Are there anyway that I can work around it and continue to inherit openwrt distro to the build?&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Feb 2025 17:16:38 GMT</pubDate>
    <dc:creator>TomC818</dc:creator>
    <dc:date>2025-02-21T17:16:38Z</dc:date>
    <item>
      <title>Custom imx93 image for openwrt using yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2047942#M234255</link>
      <description>&lt;P&gt;Hi! I am trying to build an image for openwrt using the yocto bsp, I added the meta-openwrt layer to the build system which supposedly already support scarthgap.&lt;BR /&gt;&lt;A href="https://github.com/kraj/meta-openwrt" target="_blank"&gt;https://github.com/kraj/meta-openwrt &lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Then I created a new layer for adding custom image for combining imx image with openwrt, which i required openwrt-image-base.bb and imx-image-multimedia.bb and basically combined the packages required for both image.&lt;/P&gt;&lt;P&gt;I then added these lines to local.conf to setting the build system for building for openwrt:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;INHERIT += "openwrt-distro-defaults"&lt;BR /&gt;TCLIBC = "musl"&lt;BR /&gt;DISTRO_FEATURES:append = " procd"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/kernel = "linux-imx"&lt;BR /&gt;DISTRO_FEATURES:append = " systemd"&lt;BR /&gt;INIT_MANAGER = "systemd"&lt;BR /&gt;VIRTUAL-RUNTIME_init_manager = "systemd"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But when i try to build the resulting image I got an error:&lt;BR /&gt;firmwared was skipped: missing required distro feature 'systemd' (not in DISTRO_FEATURES)&lt;BR /&gt;NOTE: Runtime target 'firmwared' is unbuildable, removing...&lt;BR /&gt;Missing or unbuildable dependency chain was: ['firmwared']&lt;BR /&gt;ERROR: Required build target 'openwrt-imx-image' has no buildable providers.&lt;BR /&gt;Missing or unbuildable dependency chain was: ['openwrt-imx-image', 'firmwared']&lt;BR /&gt;&lt;BR /&gt;Firmwared is already included by openembedded so that shouldn't have been a problem, and as I manually added the systemd to the distro,&amp;nbsp; supposedly the feature should already been enabled.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it something related to the openwrt distro that forbidden systemd? What should I do to solve the error? I am out of idea, help would be deeply appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 08:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2047942#M234255</guid>
      <dc:creator>TomC818</dc:creator>
      <dc:date>2025-02-20T08:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom imx93 image for openwrt using yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2048895#M234311</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246062"&gt;@TomC818&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ou need to make sure the systemd feature is enabled You have added systemd to DISTRO_FEATURES, but it may not be added to the OpenWRT layer configuration. You need to make sure that the meta-openwrt layer also supports systemd. You can add the following line to the meta-openwrt configuration file or local.conf:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;DISTRO_FEATURES:append = " systemd"&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;PREFERRED_PROVIDER_virtual/init-manager = "systemd"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In local.conf and meta-openwrt configuration, make sure systemd is enabled.&lt;BR /&gt;Make sure nothing else is disabling systemd, such as procd.&lt;BR /&gt;Check and add firmwared package dependencies.&lt;/P&gt;
&lt;P&gt;And about the Openwrt for i.MX, you can refer the below link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx_openwrt" target="_blank"&gt;https://github.com/nxp-imx/imx_openwrt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 08:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2048895#M234311</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-02-21T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom imx93 image for openwrt using yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2049227#M234323</link>
      <description>thx for the reply, but as I said, I added these lines already in the local.conf:&lt;BR /&gt;&lt;BR /&gt;INHERIT += "openwrt-distro-defaults"&lt;BR /&gt;TCLIBC = "musl"&lt;BR /&gt;DISTRO_FEATURES:append = " procd"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"&lt;BR /&gt;PREFERRED_PROVIDER_virtual/kernel = "linux-imx"&lt;BR /&gt;DISTRO_FEATURES:append = " systemd"&lt;BR /&gt;INIT_MANAGER = "systemd"&lt;BR /&gt;VIRTUAL-RUNTIME_init_manager = "systemd"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway I tried different configs and I found out that if I comment out the line to inherit openwrt-distro in the local.conf, the build environment can detect systemd, and if I leave it in, the build environment will fail again.&lt;BR /&gt;&lt;BR /&gt;Are you aware of any reason of this behaviour? Or is that so openwrt distro has conflict that mess with the build environment?&lt;BR /&gt;&lt;BR /&gt;Are there anyway that I can work around it and continue to inherit openwrt distro to the build?&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Feb 2025 17:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2049227#M234323</guid>
      <dc:creator>TomC818</dc:creator>
      <dc:date>2025-02-21T17:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom imx93 image for openwrt using yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2049237#M234324</link>
      <description>&lt;BR /&gt;quick update, I found that the class of openwrt-distro-default will disable systemd.&lt;BR /&gt;&lt;A href="https://github.com/kraj/meta-openwrt/blob/master/classes/openwrt-distro-defaults.bbclass" target="_blank"&gt;https://github.com/kraj/meta-openwrt/blob/master/classes/openwrt-distro-defaults.bbclass&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if i disable using firmwared, is it going to mess up the functioning of the build and image. Firmwared is a package included by the defualt imx images. what should i do in this situation?&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Feb 2025 17:50:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2049237#M234324</guid>
      <dc:creator>TomC818</dc:creator>
      <dc:date>2025-02-21T17:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom imx93 image for openwrt using yocto</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2057415#M234793</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246062"&gt;@TomC818&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry to reply late, Please refer the below link for OpenWRT using:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx_openwrt" target="_blank"&gt;https://github.com/nxp-imx/imx_openwrt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;B.R&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 01:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Custom-imx93-image-for-openwrt-using-yocto/m-p/2057415#M234793</guid>
      <dc:creator>pengyong_zhang</dc:creator>
      <dc:date>2025-03-07T01:54:10Z</dc:date>
    </item>
  </channel>
</rss>

