<?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: Boot own code from sdcard -  whats missing please</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283097#M32967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried loading that minimal kernel with u-boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Oct 2013 20:44:04 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-10-16T20:44:04Z</dc:date>
    <item>
      <title>Boot own code from sdcard -  whats missing please</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283096#M32966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am attempting to load a custom OS from SDcard. I have a SDCard boot loader that uses the IVT etc to initialise the dram, then load a kernel at 0x17800000 in dram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I paste a linux kernel on the end of this it runs, so I know ram is set up and the kernel is put in the right place to execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then put my minimal kernel in place of the linux kernel and see nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attempting to send something via the serial port but must be missing something.&lt;/P&gt;&lt;P&gt;What I do is:&lt;/P&gt;&lt;P&gt;1: set AIPS1_MPR0to7 and 8to15 to 0x77777777 to turn on unbuffered write access to all masters. the same for AIPS2&lt;/P&gt;&lt;P&gt;2: set all the AIPSx_OPACR registers to 0 to unbuffered un priveledged write to all peripherals&lt;/P&gt;&lt;P&gt;3: set pads PAD_CTL for _EIM_D19/20 and CSI0_DAT10/11 to 0x1b0b0&amp;nbsp; (the 4 pins in use&lt;/P&gt;&lt;P&gt;4: set MUX_CTL for CSI0_DAT10/11 to 3 (alt_3)&lt;/P&gt;&lt;P&gt;5: set UART1_IPP_UART_RXD and UART_RTS_B to 1&lt;/P&gt;&lt;P&gt;6: clear bottom 6 bits of CCM_CSCDR1 to set uartpodf divider to 1&lt;/P&gt;&lt;P&gt;7: set CCM_CCGR5 bits 24-27 to enable uart clocks&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;8: usual uart setup, with known working routines.&lt;/P&gt;&lt;P&gt;What have I missed???&amp;nbsp; I cannot get any toggling of serial output pin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks in hope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:24:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283096#M32966</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-16T18:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Boot own code from sdcard -  whats missing please</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283097#M32967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried loading that minimal kernel with u-boot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 20:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283097#M32967</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-16T20:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Boot own code from sdcard -  whats missing please</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283098#M32968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can load a full linux OK.. both with my loader and with the uboot loader, so I know I can get an image into dram and enter it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As linux is not an option, I would like to set up a simple serial o/p before I start dealing with cache and mmu setup.&amp;nbsp; This is where I've fallen over. I cannot compile the example code supplied, and anyway that is set to load at the start of the internal ram ATM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented, as far as I can tell, all that is shown in the example.&amp;nbsp; still nothing appears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence the Q ..&lt;/P&gt;&lt;P&gt;so: what I KNOW .. binary image is placed correctly in dram at 0x17800000&lt;/P&gt;&lt;P&gt;it is entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it fails to do anything. Therefore have I missed a critical element in setting up what I've done.. Do you know anyone who could peek at the flow I gave?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 21:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283098#M32968</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-16T21:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Boot own code from sdcard -  whats missing please</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283099#M32969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own Q: What I posted above is basically correct. I got caught out by setting UART1_IPP_UART_RXD to the wong mux setting for my board.&amp;nbsp; needed to be 0!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 06:57:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Boot-own-code-from-sdcard-whats-missing-please/m-p/283099#M32969</guid>
      <dc:creator>johnballance</dc:creator>
      <dc:date>2013-10-18T06:57:42Z</dc:date>
    </item>
  </channel>
</rss>

