<?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 QEMU bare-metal application  in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/QEMU-bare-metal-application/m-p/836600#M3779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run a simple bare-metal application within QEMU on the LS1043A. The example I am testing is here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/freedomtan/aarch64-bare-metal-qemu/tree/2ae937a2b106b43bfca49eec49359b3e30eac1b1" title="https://github.com/freedomtan/aarch64-bare-metal-qemu/tree/2ae937a2b106b43bfca49eec49359b3e30eac1b1"&gt;GitHub - freedomtan/aarch64-bare-metal-qemu at 2ae937a2b106b43bfca49eec49359b3e30eac1b1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example is supposed to print 'Hello World' on a serial output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the command I am using to launch QEMU along with the example program (test64.elf)&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; kvm -M virt -cpu host -nographic -enable-kvm -serial tcp:127.0.0.1:4444,server,telnet -kernel ./test64.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEMU starts running and I can see the corresponding PID as well. It waits for a telnet connection on port 4444. When I open a telnet session to connect to QEMU, QEMU accepts the connection, but I don't see the output from the example program displayed in the telnet session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. Is the UART0 address 0x90000000 correct for the LS1043A?&lt;/P&gt;&lt;P&gt;2. Is this a valid example of a bare-metal application?&lt;/P&gt;&lt;P&gt;3. Can someone please share an example of a bare-metal application that works on the LS1043A DCM board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2018 07:48:13 GMT</pubDate>
    <dc:creator>sbangalore</dc:creator>
    <dc:date>2018-12-27T07:48:13Z</dc:date>
    <item>
      <title>QEMU bare-metal application</title>
      <link>https://community.nxp.com/t5/Layerscape/QEMU-bare-metal-application/m-p/836600#M3779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run a simple bare-metal application within QEMU on the LS1043A. The example I am testing is here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/freedomtan/aarch64-bare-metal-qemu/tree/2ae937a2b106b43bfca49eec49359b3e30eac1b1" title="https://github.com/freedomtan/aarch64-bare-metal-qemu/tree/2ae937a2b106b43bfca49eec49359b3e30eac1b1"&gt;GitHub - freedomtan/aarch64-bare-metal-qemu at 2ae937a2b106b43bfca49eec49359b3e30eac1b1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example is supposed to print 'Hello World' on a serial output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the command I am using to launch QEMU along with the example program (test64.elf)&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; kvm -M virt -cpu host -nographic -enable-kvm -serial tcp:127.0.0.1:4444,server,telnet -kernel ./test64.elf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QEMU starts running and I can see the corresponding PID as well. It waits for a telnet connection on port 4444. When I open a telnet session to connect to QEMU, QEMU accepts the connection, but I don't see the output from the example program displayed in the telnet session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. Is the UART0 address 0x90000000 correct for the LS1043A?&lt;/P&gt;&lt;P&gt;2. Is this a valid example of a bare-metal application?&lt;/P&gt;&lt;P&gt;3. Can someone please share an example of a bare-metal application that works on the LS1043A DCM board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 07:48:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/QEMU-bare-metal-application/m-p/836600#M3779</guid>
      <dc:creator>sbangalore</dc:creator>
      <dc:date>2018-12-27T07:48:13Z</dc:date>
    </item>
  </channel>
</rss>

