<?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: Linux zImage riotboard</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492492#M79107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I zipped it using bzImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end it was a combination of compiler and some obscure option I must have had wrong.&amp;nbsp; Updated to linaro 4.9, called make imx_v6_v7_defconfig to reset the options, and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 16:15:47 GMT</pubDate>
    <dc:creator>erikfriesen</dc:creator>
    <dc:date>2016-02-11T16:15:47Z</dc:date>
    <item>
      <title>Linux zImage riotboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492490#M79105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As near as I know, I have followed these steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.element14.com/community/community/designcenter/single-board-computers/riotboard/blog/2014/09/18/linux-on-the-riotboard-part-2-kernel" title="https://www.element14.com/community/community/designcenter/single-board-computers/riotboard/blog/2014/09/18/linux-on-the-riotboard-part-2-kernel"&gt;RIoTboard: Linux on the RIoTBoard Part 2: Kernel | element14&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The first time on a digital ocean server everything worked as expected.&amp;nbsp; I have zipped the linux build and transferred it to a local machine, and now the device won't boot anyway I can figure out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After putting the new zImage in /boot/ I get this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MMC: no card present&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MMC: no card present&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;switch to partitions #0, OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;mmc2(part 0) is current device&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Scanning mmc 2:1...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Found U-Boot script /boot.scr&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;293 bytes read in 137 ms (2 KiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;## Executing script at 13100000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;switch to partitions #0, OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;mmc2(part 0) is current device&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;5690392 bytes read in 370 ms (14.7 MiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;31992 bytes read in 61 ms (511.7 KiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Kernel image @ 0x10800000 [ 0x000000 - 0x56d418 ]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;## Flattened Device Tree blob at 16800000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x16800000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Loading Device Tree to 1fff5000, end 1ffffcf7 ... OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Starting kernel ...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing the boot.scr to boot a uImage, I get this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;U-Boot 2015.10-rc3-00214-g8a5f612 (Sep 23 2015 - 07:16:49 -0400)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;CPU:&amp;nbsp;&amp;nbsp; Freescale i.MX6SOLO rev1.1 996 MHz (running at 792 MHz)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;CPU:&amp;nbsp;&amp;nbsp; Commercial temperature grade (0C to 95C) at 40C&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Reset cause: WDOG&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Board: RIoTboard&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;DRAM:&amp;nbsp; 1 GiB&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;*** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;No panel detected: default to HDMI&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Display: HDMI (1024x768)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Net:&amp;nbsp;&amp;nbsp; FEC [PRIME]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error: FEC address not set.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MMC: no card present&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MMC: no card present&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;switch to partitions #0, OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;mmc2(part 0) is current device&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Scanning mmc 2:1...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Found U-Boot script /boot.scr&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;313 bytes read in 138 ms (2 KiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;## Executing script at 13100000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Unknown command 'bootscript' - try 'help'&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;switch to partitions #0, OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;mmc2(part 0) is current device&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;5690456 bytes read in 356 ms (15.2 MiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;31992 bytes read in 61 ms (511.7 KiB/s)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;## Booting kernel from Legacy Image at 10800000 ...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Image Name:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 5690392 Bytes = 5.4 MiB&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Load Address: 10008000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 10008000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Verifying Checksum ... OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;## Flattened Device Tree blob at 16800000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x16800000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Loading Kernel Image ... OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp; Loading Device Tree to 1fff5000, end 1ffffcf7 ... OK&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there some factor I am missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its is a factor, emdebian doesn't host the toolchain anymore, could the gcc be a factor here?&amp;nbsp; I did an apt-get install gcc-arm-linux-gnueabihf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 19:25:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492490#M79105</guid>
      <dc:creator>erikfriesen</dc:creator>
      <dc:date>2016-02-05T19:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linux zImage riotboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492491#M79106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not clear the procedure you follow up to Zip the zImage, Generally zImage is not too big to be zipped, I suggest not compress this file and copy/paste directly to the device. If in any case you suspect of the gcc toolchain, please download a try with linaro toolchain such as: &lt;/P&gt;&lt;P&gt;&lt;A href="https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz"&gt;https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 16:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492491#M79106</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-02-09T16:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux zImage riotboard</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492492#M79107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I zipped it using bzImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end it was a combination of compiler and some obscure option I must have had wrong.&amp;nbsp; Updated to linaro 4.9, called make imx_v6_v7_defconfig to reset the options, and it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-zImage-riotboard/m-p/492492#M79107</guid>
      <dc:creator>erikfriesen</dc:creator>
      <dc:date>2016-02-11T16:15:47Z</dc:date>
    </item>
  </channel>
</rss>

