<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"¸¼Àº °íµñ";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:"\@¸¼Àº °íµñ";}
@font-face
        {font-family:"\@±¼¸²";
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Gulim",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"¸¼Àº °íµñ";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'>Dear James,<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'>I used two files(imx7d-sdb.dts and imx7d.dtsi) for making imx7d-sdb.dtb.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'>There is clock-frequency configuration in imx7d.dtsi.<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'>JunBeom<o:p></o:p></span></p><p class=MsoNormal style='word-break:break-hangul'><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'> users <users-bounces@rtems.org> <b>On Behalf Of </b>jameszxj<br><b>Sent:</b> Wednesday, January 6, 2021 4:13 PM<br><b>To:</b> users <users@rtems.org><br><b>Subject:</b> Re:RTEMS Fatal Error on IMX7D SABRE Board.<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Hi,<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>   </span><span lang=EN-US> I use IMX7 bsp on my imx6ull board. I have encountered maybe the same problem. Please check your device-tree, BSP needs "clock-frequency" at node "timer".<br><br>But I encountered another problems, the</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'> </span><span lang=EN-US> ARMv7-AR Generic Timer</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'> </span><span lang=EN-US> can not generate interrupt.<br>imx7d has the same core with imx6ull</span>£¬<span lang=EN-US>if your board run RTEMS successfully, please let me know, thanks.<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Arial Narrow",sans-serif'>------------------ Original ------------------<o:p></o:p></span></p></div><div><div><p class=MsoNormal style='background:#EFEFEF'><b><span lang=EN-US style='font-size:9.0pt;color:black'>From:</span></b><span lang=EN-US style='font-size:9.0pt;color:black'> "JunBeom Kim (EmbedCoreTech)" <<a href="mailto:jbkim@e-coretech.kr">jbkim@e-coretech.kr</a>>;</span><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span lang=EN-US style='font-size:9.0pt;color:black'>Date:</span></b><span lang=EN-US style='font-size:9.0pt;font-family:"¸¼Àº °íµñ";color:black'> </span><span lang=EN-US style='font-size:9.0pt;color:black'>Wed, Jan 6, 2021 01:05 PM</span><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span lang=EN-US style='font-size:9.0pt;color:black'>To:</span></b><span lang=EN-US style='font-size:9.0pt;font-family:"¸¼Àº °íµñ";color:black'> </span><span lang=EN-US style='font-size:9.0pt;color:black'>"users"<<a href="mailto:users@rtems.org">users@rtems.org</a>>;</span><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:#EFEFEF'><b><span lang=EN-US style='font-size:9.0pt;color:black'>Subject:</span></b><span lang=EN-US style='font-size:9.0pt;font-family:"¸¼Àº °íµñ";color:black'> </span><span lang=EN-US style='font-size:9.0pt;color:black'>RTEMS Fatal Error on IMX7D SABRE Board.</span><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></p></div></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><p class=MsoNormal><span lang=EN-US>Hello,<br><br>After I purchased i.MX7D SABRE board, I am trying to test RTEMS kernel using<br>lastest RTEMS kernel and source builder for RTEMS 6.0<br><br>As I knew before, RTEMS BSP for i.MX7D was not tested for i.MX7D SABRE<br>board.<br><br>When I tested this, my testing result is in below;<br><REMARK> rtems.img is made by calling mkimage.<br><br>At this time, I am trying to debug RTEMS BSP using GDB with J-Link probe.<br>There is problem for executing start.S assembly code as source code level.<br><br>Please advise me.<br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>U-Boot 2020.10 (Jan 05 2021 - 09:44:38 +0900)<br><br>CPU:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Freescale i.MX7D rev1.3 1000 MHz (running at 792 MHz)<br>CPU:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Commercial temperature grade (0C to 95C) at 38C<br>Reset cause: POR<br>Model: Freescale i.MX7 SabreSD Board<br>Board: i.MX7D SABRESD in non-secure mode<br>DRAM:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'> </span><span lang=EN-US> 1 GiB<br>PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11<br>MMC:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2<br>Loading Environment from MMC... *** Warning - bad CRC, using default<br>environment<br><br>Video: 480x272x24<br>In:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>   </span><span lang=EN-US> serial<br>Out:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> serial<br>Err:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> serial<br>Hit any key to stop autoboot:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'> </span><span lang=EN-US> 0 <br><br>=> fatload mmc 0 0x80800000 rtems.img<br>36463 bytes read in 23 ms (1.5 MiB/s)<br><br>=> fatload mmc 0 0x83000000 imx7d-sdb.dtb<br>33369 bytes read in 22 ms (1.4 MiB/s)<br><br>=> bootm 0x80800000 - 0x83000000<br>## Booting kernel from Legacy Image at 80800000 ...<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Image Name:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> RTEMS<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Image Type:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> ARM Linux Kernel Image (gzip compressed)<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Data Size:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>   </span><span lang=EN-US> 36399 Bytes = 35.5 KiB<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Load Address: 80200000<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Entry Point:</span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'> </span><span lang=EN-US> 80200000<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Verifying Checksum ... OK<br>## Flattened Device Tree blob at 83000000<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Booting using the fdt blob at 0x83000000<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Uncompressing Kernel Image<br></span><span lang=EN-US style='font-family:"¸¼Àº °íµñ"'>  </span><span lang=EN-US> Using Device Tree in place at 83000000, end 8300b258<br><br>Starting kernel ...<br><br><br>*** FATAL ***<br>fatal source: 6 (RTEMS_FATAL_SOURCE_BSP)<br>fatal code: 3072 (0x00000c00)<br>RTEMS version: 6.0.0<br>RTEMS tools: 10.2.1 20201222 (RTEMS 6, RSB<br>d3dc0bc3861362978cdf65725e4ba2b64e283d32, Newlib 415fdd4)<br>Executing thread is NULL<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>Best Regards,<br>JunBeom Kim<br><br>_______________________________________________<br>users mailing list<br><a href="mailto:users@rtems.org">users@rtems.org</a><br><a href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a><o:p></o:p></span></p></div></div></body></html>