<?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中的主题 Re: U Boot jump to kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852948#M130451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check imx-atf sources&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/" title="imx-atf"&gt;imx-atf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/ARM-software/arm-trusted-firmware" title="https://github.com/ARM-software/arm-trusted-firmware"&gt;GitHub - ARM-software/arm-trusted-firmware: Trusted Firmware-A&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since this is arm (www.arm.com) software suggest to post it to arm&lt;/P&gt;&lt;P&gt;forums&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.arm.com/support/training/arm-trusted-firmware" title="https://developer.arm.com/support/training/arm-trusted-firmware"&gt;Support | Arm Trusted Firmware – Arm Developer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 01:38:35 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-03-08T01:38:35Z</dc:date>
    <item>
      <title>U Boot jump to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852945#M130448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the kernel expect the hardware to be initialized by U-Boot except for disabling interrupts, caches, and MMU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the following error after kernel starts executing&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;I see following error &lt;BR /&gt;"Synchronous Abort" handler, esr 0x86000000 &lt;BR /&gt;ELR: ffff00000893017c &lt;BR /&gt;LR: 40aa825c &lt;BR /&gt;x0 : 0000000040400000 x1 : 0000000040e7a000 &lt;BR /&gt;x2 : 0000000040e7d000 x3 : 000000000000003f &lt;BR /&gt;x4 : 0000000000000001 x5 : 00000000fcffffff &lt;BR /&gt;x6 : 0000000034d5d91d x7 : 0000000000000711 &lt;BR /&gt;x8 : ffff00000893017c x9 : 0000000000000000 &lt;BR /&gt;x10: 00000032b5103510 x11: 0000000000000002 &lt;BR /&gt;x12: 00000000ffffffff x13: 00000000ffffffff &lt;BR /&gt;x14: 000000000000006a x15: 0000000000000790 &lt;BR /&gt;x16: 00000000000000b7 x17: 0000000000000108 &lt;BR /&gt;x18: 0000000000185e40 x19: 0000000040480000 &lt;BR /&gt;x20: 0000000043000000 x21: 0000000000000000 &lt;BR /&gt;x22: 0000000000185df0 x23: 0000000000000000 &lt;BR /&gt;x24: 00000000007f2000 x25: 00000000007f2fa0 &lt;BR /&gt;x26: 00000000deadbeef x27: 0000000000000000 &lt;BR /&gt;x28: 0000000040d30018 x29: 0000000000185d70&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Seems like control gets passed onto kernel. Kernel runs fine until it enables MMU and swicthes to virtual addresses. Once it jumps to VA, exception is raised which means MMU is not initialized properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Note:&amp;nbsp;I am skipping filesystem to locate kernel and device tree. These are located at hardcoded sector address which U-Boot is aware of.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #3d3d3d; font-size: 15px;"&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat Kumar Bacha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 15:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852945#M130448</guid>
      <dc:creator>bharatkumarbach</dc:creator>
      <dc:date>2019-02-26T15:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: U Boot jump to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852946#M130449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes uboot configures some peripherals and clocks (in dcd), one can check&lt;/P&gt;&lt;P&gt;uboot/board/freescale/mx6sabresd/mx6sabresd.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6sabresd.c?h=imx_v2018.03_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6sabresd.c?h=imx_v2018.03_4.14.78_1.0.0_ga"&gt;mx6sabresd.c\mx6sabresd\freescale\board - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg?h=imx_v2018.03_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg?h=imx_v2018.03_4.14.78_1.0.0_ga"&gt;mx6q_4x_mt41j128.cfg\mx6sabresd\freescale\board - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be useful to look at Chapter 3 Porting U-Boot attached Porting Guide and&lt;/P&gt;&lt;P&gt;AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors&lt;BR /&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN4553.pdf" title="https://www.nxp.com/docs/en/application-note/AN4553.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4553.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 23:38:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852946#M130449</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-02-26T23:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: U Boot jump to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852947#M130450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not the U-Boot its the Arm Trusted Firmware(ATF) which switches to EL2 from EL3. Can anyone explain how the ATF know about the U-Boot?&amp;nbsp;This would help me to replace the U-Boot code with custom stub function to boot kernel.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 18:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852947#M130450</guid>
      <dc:creator>bharatkumarbach</dc:creator>
      <dc:date>2019-03-07T18:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: U Boot jump to kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852948#M130451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check imx-atf sources&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-atf/" title="imx-atf"&gt;imx-atf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/ARM-software/arm-trusted-firmware" title="https://github.com/ARM-software/arm-trusted-firmware"&gt;GitHub - ARM-software/arm-trusted-firmware: Trusted Firmware-A&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since this is arm (www.arm.com) software suggest to post it to arm&lt;/P&gt;&lt;P&gt;forums&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.arm.com/support/training/arm-trusted-firmware" title="https://developer.arm.com/support/training/arm-trusted-firmware"&gt;Support | Arm Trusted Firmware – Arm Developer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 01:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-Boot-jump-to-kernel/m-p/852948#M130451</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-08T01:38:35Z</dc:date>
    </item>
  </channel>
</rss>

