<?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>i.MX Processors中的主题 Errors while upgrading i.MX6 solution to Linux 5</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705171#M210839</link>
    <description>&lt;P&gt;I'm working on taking a solution using an i.MX6DL running on 4.1.15, to 5.15.71.&lt;BR /&gt;In doing so I'm running into an error in the MXC code space where I guess warnings are now errors.&lt;/P&gt;&lt;P&gt;Is this something that is known already fixed at NXP? Perhaps a configuration option that needs to be changed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CC drivers/video/fbdev/mxc/mxc_ipuv3_fb.o
In file included from ./include/linux/printk.h:559:0,
from ./include/linux/kernel.h:19,
from ./include/linux/clk.h:13,
from drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:31:
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c: In function ‘mxcfb_ioctl’:
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:2163:25: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(fbi-&amp;gt;device, "allocated %d bytes @ 0x%08X\n",
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:2163:4: note: in expansion of macro ‘dev_dbg’
dev_dbg(fbi-&amp;gt;device, "allocated %d bytes @ 0x%08X\n",
^~~~~~~
CC drivers/video/fbdev/mxc/mxc_epdc_fb.o
drivers/video/fbdev/mxc/mxc_epdc_fb.c: In function ‘mxc_epdc_fb_fw_handler’:
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4324:7: error: passing argument 3 of ‘dma_alloc_coherent’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&amp;amp;fb_data-&amp;gt;waveform_buffer_phys,
^
In file included from drivers/video/fbdev/mxc/mxc_epdc_fb.c:23:0:
./include/linux/dma-mapping.h:415:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/printk.h:559:0,
from ./include/asm-generic/bug.h:22,
from ./arch/arm/include/asm/bug.h:60,
from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:13,
from ./include/asm-generic/current.h:5,
from ./arch/arm/include/generated/asm/current.h:1,
from ./include/linux/mutex.h:14,
from ./include/linux/notifier.h:14,
from ./include/linux/busfreq-imx.h:12,
from drivers/video/fbdev/mxc/mxc_epdc_fb.c:10:
drivers/video/fbdev/mxc/mxc_epdc_fb.c: In function ‘mxc_epdc_fb_probe’:
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4645:22: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(&amp;amp;pdev-&amp;gt;dev, "allocated at %p:0x%x\n", info-&amp;gt;screen_base,
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4645:2: note: in expansion of macro ‘dev_dbg’
dev_dbg(&amp;amp;pdev-&amp;gt;dev, "allocated at %p:0x%x\n", info-&amp;gt;screen_base,
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4820:33: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(fb_data-&amp;gt;info.device, "allocated %d bytes @ 0x%08X\n",
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4820:3: note: in expansion of macro ‘dev_dbg’
dev_dbg(fb_data-&amp;gt;info.device, "allocated %d bytes @ 0x%08X\n",
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4845:11: error: passing argument 3 of ‘dma_alloc_coherent’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&amp;amp;fb_data-&amp;gt;working_buffer_phys,
^
In file included from drivers/video/fbdev/mxc/mxc_epdc_fb.c:23:0:
./include/linux/dma-mapping.h:415:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:289: drivers/video/fbdev/mxc/mxc_epdc_fb.o] Error 1
make[3]: *** [scripts/Makefile.build:552: drivers/video/fbdev/mxc] Error 2
make[2]: *** [scripts/Makefile.build:552: drivers/video/fbdev] Error 2
make[1]: *** [scripts/Makefile.build:552: drivers/video] Error 2
make: *** [Makefile:1898: drivers] Error 2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 18:59:35 GMT</pubDate>
    <dc:creator>michaelworster</dc:creator>
    <dc:date>2023-08-15T18:59:35Z</dc:date>
    <item>
      <title>Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705171#M210839</link>
      <description>&lt;P&gt;I'm working on taking a solution using an i.MX6DL running on 4.1.15, to 5.15.71.&lt;BR /&gt;In doing so I'm running into an error in the MXC code space where I guess warnings are now errors.&lt;/P&gt;&lt;P&gt;Is this something that is known already fixed at NXP? Perhaps a configuration option that needs to be changed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CC drivers/video/fbdev/mxc/mxc_ipuv3_fb.o
In file included from ./include/linux/printk.h:559:0,
from ./include/linux/kernel.h:19,
from ./include/linux/clk.h:13,
from drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:31:
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c: In function ‘mxcfb_ioctl’:
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:2163:25: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(fbi-&amp;gt;device, "allocated %d bytes @ 0x%08X\n",
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_ipuv3_fb.c:2163:4: note: in expansion of macro ‘dev_dbg’
dev_dbg(fbi-&amp;gt;device, "allocated %d bytes @ 0x%08X\n",
^~~~~~~
CC drivers/video/fbdev/mxc/mxc_epdc_fb.o
drivers/video/fbdev/mxc/mxc_epdc_fb.c: In function ‘mxc_epdc_fb_fw_handler’:
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4324:7: error: passing argument 3 of ‘dma_alloc_coherent’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&amp;amp;fb_data-&amp;gt;waveform_buffer_phys,
^
In file included from drivers/video/fbdev/mxc/mxc_epdc_fb.c:23:0:
./include/linux/dma-mapping.h:415:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/printk.h:559:0,
from ./include/asm-generic/bug.h:22,
from ./arch/arm/include/asm/bug.h:60,
from ./include/linux/bug.h:5,
from ./include/linux/thread_info.h:13,
from ./include/asm-generic/current.h:5,
from ./arch/arm/include/generated/asm/current.h:1,
from ./include/linux/mutex.h:14,
from ./include/linux/notifier.h:14,
from ./include/linux/busfreq-imx.h:12,
from drivers/video/fbdev/mxc/mxc_epdc_fb.c:10:
drivers/video/fbdev/mxc/mxc_epdc_fb.c: In function ‘mxc_epdc_fb_probe’:
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4645:22: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(&amp;amp;pdev-&amp;gt;dev, "allocated at %p:0x%x\n", info-&amp;gt;screen_base,
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4645:2: note: in expansion of macro ‘dev_dbg’
dev_dbg(&amp;amp;pdev-&amp;gt;dev, "allocated at %p:0x%x\n", info-&amp;gt;screen_base,
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4820:33: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t {aka long long unsigned int}’ [-Wformat=]
dev_dbg(fb_data-&amp;gt;info.device, "allocated %d bytes @ 0x%08X\n",
^
./include/linux/dynamic_debug.h:134:15: note: in definition of macro ‘__dynamic_func_call’
func(&amp;amp;id, ##__VA_ARGS__); \
^~~~~~~~~~~
./include/linux/dynamic_debug.h:166:2: note: in expansion of macro ‘_dynamic_func_call’
_dynamic_func_call(fmt,__dynamic_dev_dbg, \
^~~~~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:2: note: in expansion of macro ‘dynamic_dev_dbg’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~~~~~
./include/linux/dev_printk.h:155:23: note: in expansion of macro ‘dev_fmt’
dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4820:3: note: in expansion of macro ‘dev_dbg’
dev_dbg(fb_data-&amp;gt;info.device, "allocated %d bytes @ 0x%08X\n",
^~~~~~~
drivers/video/fbdev/mxc/mxc_epdc_fb.c:4845:11: error: passing argument 3 of ‘dma_alloc_coherent’ from incompatible pointer type [-Werror=incompatible-pointer-types]
&amp;amp;fb_data-&amp;gt;working_buffer_phys,
^
In file included from drivers/video/fbdev/mxc/mxc_epdc_fb.c:23:0:
./include/linux/dma-mapping.h:415:21: note: expected ‘dma_addr_t * {aka long long unsigned int *}’ but argument is of type ‘u32 * {aka unsigned int *}’
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:289: drivers/video/fbdev/mxc/mxc_epdc_fb.o] Error 1
make[3]: *** [scripts/Makefile.build:552: drivers/video/fbdev/mxc] Error 2
make[2]: *** [scripts/Makefile.build:552: drivers/video/fbdev] Error 2
make[1]: *** [scripts/Makefile.build:552: drivers/video] Error 2
make: *** [Makefile:1898: drivers] Error 2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 18:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705171#M210839</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2023-08-15T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705842#M210919</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The i.MX6 is not on L5.15.71 you may return to previous BSP.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705842#M210919</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-08-16T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705887#M210926</link>
      <description>&lt;P&gt;I see the device trees in place for the i.MX6 line on this branch, so you're saying they are present, just not officially supported? What was the last Linux kernel release/branch that supports the i.MX6DL?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705887#M210926</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2023-08-16T15:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705943#M210930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It is 4.14.88; but for the MX6DL is 6.1x BSP version&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 16:36:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705943#M210930</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-08-16T16:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705994#M210934</link>
      <description>&lt;P&gt;Ok. So to clarify, if we'd like NXP support in our upgrade path from the old 4.1.15 to a newer kernel. We need to go to the supported 6.1x you linked to below.&lt;/P&gt;&lt;P&gt;Is this correct?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 19:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1705994#M210934</guid>
      <dc:creator>michaelworster</dc:creator>
      <dc:date>2023-08-16T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Errors while upgrading i.MX6 solution to Linux 5</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1706704#M211005</link>
      <description>&lt;P&gt;Correct!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 14:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Errors-while-upgrading-i-MX6-solution-to-Linux-5/m-p/1706704#M211005</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-08-17T14:13:07Z</dc:date>
    </item>
  </channel>
</rss>

