<?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 How to change kernel output infor on the console in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075471#M6272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## Loading kernel from FIT Image at xxxxxxxxxxx...&lt;BR /&gt; &lt;STRONG&gt;Using 'conf@random-image.dtb' configuration&amp;nbsp; -----------&amp;gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;This name is called by&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="" style="color: #dd4a68;"&gt;fit_get_name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;fit&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt; noffset&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990055;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt; &lt;BR /&gt; Trying 'kernel@1' kernel subimage&lt;BR /&gt; Description: Linux kernel&lt;BR /&gt; Created: 2020-05-12 2:39:53 UTC&lt;BR /&gt; Type: Kernel Image&lt;BR /&gt; Compression: gzip compressed&lt;BR /&gt; Data Start: 0x006000c0&lt;BR /&gt; Data Size: 2639132 Bytes = 2.5 MiB&lt;BR /&gt; Architecture: ARM&lt;BR /&gt; OS: Linux&lt;BR /&gt; Load Address:&lt;BR /&gt; Entry Point:&lt;BR /&gt;## Loading ramdisk from FIT Image at 00600000 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I highlight above, how to change the name of&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;random-image.dtb,&amp;nbsp;&lt;/STRONG&gt; I know it's&amp;nbsp;&lt;SPAN class="" style="color: #dd4a68;"&gt;fit_get_name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;fit&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;noffset&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990055;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;are doing the job but I dont know when this function gets called in the uboot and i dont know how the return value of this function is&amp;nbsp;&lt;STRONG&gt;random-image.dtb&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 03:01:13 GMT</pubDate>
    <dc:creator>jiye</dc:creator>
    <dc:date>2020-05-12T03:01:13Z</dc:date>
    <item>
      <title>How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075471#M6272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;## Loading kernel from FIT Image at xxxxxxxxxxx...&lt;BR /&gt; &lt;STRONG&gt;Using 'conf@random-image.dtb' configuration&amp;nbsp; -----------&amp;gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;This name is called by&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="" style="color: #dd4a68;"&gt;fit_get_name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;fit&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt; noffset&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #990055;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt; &lt;BR /&gt; Trying 'kernel@1' kernel subimage&lt;BR /&gt; Description: Linux kernel&lt;BR /&gt; Created: 2020-05-12 2:39:53 UTC&lt;BR /&gt; Type: Kernel Image&lt;BR /&gt; Compression: gzip compressed&lt;BR /&gt; Data Start: 0x006000c0&lt;BR /&gt; Data Size: 2639132 Bytes = 2.5 MiB&lt;BR /&gt; Architecture: ARM&lt;BR /&gt; OS: Linux&lt;BR /&gt; Load Address:&lt;BR /&gt; Entry Point:&lt;BR /&gt;## Loading ramdisk from FIT Image at 00600000 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I highlight above, how to change the name of&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;random-image.dtb,&amp;nbsp;&lt;/STRONG&gt; I know it's&amp;nbsp;&lt;SPAN class="" style="color: #dd4a68;"&gt;fit_get_name&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;fit&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;noffset&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #990055;"&gt;NULL&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #999999;"&gt;;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;are doing the job but I dont know when this function gets called in the uboot and i dont know how the return value of this function is&amp;nbsp;&lt;STRONG&gt;random-image.dtb&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 03:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075471#M6272</guid>
      <dc:creator>jiye</dc:creator>
      <dc:date>2020-05-12T03:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075472#M6273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the following section in function&amp;nbsp;fit_image_load in&amp;nbsp;common/image-fit.c of u-boot source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fit_base_uname_config = fdt_get_name(fit, cfg_noffset, NULL);&lt;BR /&gt; &lt;STRONG&gt;printf(" Using '%s' configuration\n", fit_base_uname_config);&lt;/STRONG&gt;&lt;BR /&gt; /* Remember this config */&lt;BR /&gt; if (image_type == IH_TYPE_KERNEL)&lt;BR /&gt; images-&amp;gt;fit_uname_cfg = fit_base_uname_config;&lt;/P&gt;&lt;P&gt;if (IMAGE_ENABLE_VERIFY &amp;amp;&amp;amp; images-&amp;gt;verify) {&lt;BR /&gt; puts(" Verifying Hash Integrity ... ");&lt;BR /&gt; if (fit_config_verify(fit, cfg_noffset)) {&lt;BR /&gt; puts("Bad Data Hash\n");&lt;BR /&gt; bootstage_error(bootstage_id +&lt;BR /&gt; BOOTSTAGE_SUB_HASH);&lt;BR /&gt; return -EACCES;&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 06:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075472#M6273</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-05-14T06:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075473#M6274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that this print is in image-fit.c,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder how does&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;printf(" Using '%s' configuration\n", fit_base_uname_config);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;fit_base_uname_config&lt;/STRONG&gt; knows it's ls1021a-&lt;STRONG&gt;twr&lt;/STRONG&gt;.dtb&amp;nbsp; for example, if I want to change it to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;ls1021a-&lt;STRONG&gt;random&lt;/STRONG&gt;.dtb how could I do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also it shows different name during different sections&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Loading &lt;STRONG&gt;ramdisk&lt;/STRONG&gt; from FIT Image at xxxxxxx...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Using 'conf@random1-image.dtb' configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;## Loading &lt;STRONG&gt;fdt&lt;/STRONG&gt; from FIT Image at xxxxxx...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Using 'conf@random2-image.dtb' configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how to change the name&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;random2-image.dtb&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;to&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;random2.dtb&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt; so the printf will print&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: 400;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Using 'conf@random1.dtb' configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: 400;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Using 'conf@random2-.dtb' configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: 400;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-weight: 400;"&gt;Do I have to change the name of the dts file itself? if so how many changes do I need to make ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 13:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075473#M6274</guid>
      <dc:creator>jiye</dc:creator>
      <dc:date>2020-05-14T13:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075474#M6275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could modify the following line in&amp;nbsp;configs/board/ls1021atwr/manifest in flex-builder.&lt;/P&gt;&lt;P&gt;device_tree=build/linux/kernel/arm32/LS/ls1021a-twr.dtb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 06:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075474#M6275</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-05-15T06:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075475#M6276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using yocto not flex-builder&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 13:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075475#M6276</guid>
      <dc:creator>jiye</dc:creator>
      <dc:date>2020-05-15T13:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075476#M6277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it says&amp;nbsp;&amp;nbsp;No rule to make target `arch/arm/boot/dts/ls1021a.dtb' file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed dts file name and also the name in the Make file to ls1021a.dtb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still got the error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 16:09:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075476#M6277</guid>
      <dc:creator>jiye</dc:creator>
      <dc:date>2020-05-15T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change kernel output infor on the console</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075477#M6278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to modify the following in sources/meta-freescale/conf/machine/ls1021atwr.conf and also&amp;nbsp;add&amp;nbsp;&amp;nbsp;&amp;lt;your_name&amp;gt;.dtb&amp;nbsp; in Linux Kernel source code&amp;nbsp;arch/arm/boot/dts/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KERNEL_DEVICETREE ?= "ls1021a-twr.dtb"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 07:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-change-kernel-output-infor-on-the-console/m-p/1075477#M6278</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-05-18T07:55:29Z</dc:date>
    </item>
  </channel>
</rss>

