<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3551&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3551</link>
		<description><![CDATA[The most recent posts in Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board).]]></description>
		<lastBuildDate>Sun, 31 May 2020 20:03:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22210#p22210</link>
			<description><![CDATA[<p>hello vazhnov,<br />For what I see it seems that you had done it correctly,<br />But the hd-media type expects a different image type( with the contents of installation.. ) <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>I advise you to go with the netboot-install version,<br />Since the media image comes from the repos, and its usually the method less prone to errors..</p><p>I believe you have followed this instructions: <a href="http://arm-files.devuan.org/README.txt" rel="nofollow">http://arm-files.devuan.org/README.txt</a><br />when dd&#039;íng the image use a &#039;conv=sync&#039;..</p><p>In that url, you will find Installable netboot Images, go to the correct place, and download the correct ones for you..<br /><a href="http://deb.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/netboot/SD-card-images" rel="nofollow">http://deb.devuan.org/devuan/dists/beow … ard-images</a> <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sun, 31 May 2020 20:03:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22210#p22210</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22198#p22198</link>
			<description><![CDATA[<h5>Problem 2: ISO image</h5><p>What have I do here?</p><div class="codebox"><pre><code>[            (1*installer)  2 shell  3 shell  4- log           ][ Jan 01  0:02 ]

   ┌─────────┤ [!!] Scan hard drives for an installer ISO image ├──────────┐    
   │                                                                       │    
   │                 Failed to find an installer ISO image                 │    
   │ No installer ISO images were found. If you downloaded the ISO image,  │    
   │ it may have a bad filename (not ending in &quot;.iso&quot;), or it may be on a  │    
   │ file system that could not be mounted.                                │    
   │                                                                       │    
   │ You&#039;ll have to use an alternative installation method, select another │    
   │ device to look for ISO image, or try again after you&#039;ve fixed it.     │    
   │                                                                       │    
   │     &lt;Go Back&gt;                                          &lt;Continue&gt;     │    
   │                                                                       │    
   └───────────────────────────────────────────────────────────────────────┘

&lt;Tab&gt; moves; &lt;Space&gt; selects; &lt;Enter&gt; activates buttons                         </code></pre></div><p>Which ISO image to use? I tried <a href="https://pkgmaster.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/netboot/mini.iso" rel="nofollow">https://pkgmaster.devuan.org/devuan/dis … t/mini.iso</a> — it is too small, only 33MB, and error is the same.</p>]]></description>
			<author><![CDATA[dummy@example.com (vazhnov)]]></author>
			<pubDate>Sun, 31 May 2020 13:08:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22198#p22198</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22197#p22197</link>
			<description><![CDATA[<p>Installer started after some manipulations (I&#039;m not sure about addresses, especially kernel_addr_r=0x70008000):</p><div class="codebox"><pre class="vscroll"><code>=&gt; setenv distro_bootpart ${mmcpart}
=&gt; printenv distro_bootpart         
distro_bootpart=1
=&gt; setenv boot_targets mmc
=&gt; printenv boot_targets
boot_targets=mmc
=&gt; setenv fdtfile ${fdt_file}
=&gt; printenv fdtfile
fdtfile=imx53-qsrb.dtb
=&gt; setenv bootpart ${mmcpart}
=&gt; printenv bootpart
bootpart=1
=&gt; setenv devnum ${mmcdev}
=&gt; printenv devnum
devnum=0
=&gt; setenv console ttymxc0
=&gt; printenv console
=&gt; setenv devtype mmc
=&gt; printenv devtype  
devtype=mmc
=&gt; setenv fdt_addr_r ${fdt_addr}
=&gt; printenv fdt_addr_r                                    
fdt_addr_r=0x71000000
=&gt; setenv ramdisk_addr_r ${loadaddr}
=&gt; printenv ramdisk_addr_r          
ramdisk_addr_r=0x72000000
=&gt; setenv kernel_addr_r 0x70008000
=&gt; printenv kernel_addr_r
kernel_addr_r=0x70008000
=&gt; boot</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (vazhnov)]]></author>
			<pubDate>Sun, 31 May 2020 11:22:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22197#p22197</guid>
		</item>
		<item>
			<title><![CDATA[Devuan installer can't start on MX53 Loco (i.MX53 Quick Start board)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22196#p22196</link>
			<description><![CDATA[<h5>Intro</h5><p>I have a &quot;i.MX53 Quick Start board&quot;, which named &quot;MCIMX53-START-R&quot; (a new one, with PMIC MC34708 and Device tree file &quot;imx53-qsrb.dtb&quot;, not old board with PMIC Dialog DA9053).</p><p>I repeated steps from <a href="http://deb.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/hd-media/SD-card-images/README.concatenateable_images" rel="nofollow">http://deb.devuan.org/devuan/dists/beow … ble_images</a>:</p><div class="codebox"><pre><code> % wget &quot;http://deb.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/hd-media/SD-card-images/firmware.MX53LOCO.img.gz
 % wget &quot;http://deb.devuan.org/devuan/dists/beowulf/main/installer-armhf/current/images/hd-media/SD-card-images/partition.img.gz&quot;
 % zcat firmware.MX53LOCO.img.gz partition.img.gz &gt; complete_image.img</code></pre></div><p>Here are sha256sum(s):</p><div class="codebox"><pre><code>fdb1096a90394878f0f5e23e146cc89ecd55d867b4b9327b791112041d8c9f51  complete_image.img
69376dc6f680a9d7273e36f39cb0d8d2f9d2fccd0756a13cff63b588e1b2ca24  firmware.MX53LOCO.img.gz
f3cf86ab65a1ca2469ca9fe9fe7ac1e9267d3c69bc5f12c7131503bb5e5764ca  partition.img.gz</code></pre></div><p>And some other info:</p><div class="codebox"><pre><code> % file firmware.MX53LOCO.img partition.img complete_image.img
firmware.MX53LOCO.img: DOS/MBR boot sector; partition 1 : ID=0xc, active, start-CHS (0x0,32,33), end-CHS (0xc,114,38), startsector 2048, 197952 sectors
partition.img:         DOS/MBR boot sector, code offset 0x58+2, OEM-ID &quot;mkfs.fat&quot;, Media descriptor 0xf8, sectors/track 32, heads 64, sectors 197952 (volumes &gt; 32 MB), FAT (32 bit), sectors/FAT 1523, reserved 0x1, serial number 0x3498c0b4, unlabeled
complete_image.img:    DOS/MBR boot sector; partition 1 : ID=0xc, active, start-CHS (0x0,32,33), end-CHS (0xc,114,38), startsector 2048, 197952 sectors</code></pre></div><p>Some useful information from U-Boot console, when I loaded board with this image:</p><div class="codebox"><pre class="vscroll"><code>=&gt; printenv 
baudrate=115200
boot_fdt=try
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi
bootdelay=2
bootscript=echo Running bootscript from mmc ...; source
ethact=FEC
ethaddr=00:04:9f:02:3e:73
ethprime=FEC0
fdt_addr=0x71000000
fdt_file=imx53-qsrb.dtb
fileaddr=72000000
filesize=627
image=zImage
ip_dyn=yes
loadaddr=0x72000000
loadbootscript=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
mmcdev=0
mmcpart=1
mmcroot=/dev/mmcblk0p2 rw rootwait
netargs=setenv bootargs console=ttymxc0,${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${image}; if test ${boot_fdt} = yes ||  test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootz ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootz; else echo ERROR: Cannot load the DT; exit; fi; fi; else bootz; fi;
script=boot.scr

Environment size: 1549/8188 bytes
=&gt; ls mmc ${mmcdev}:${mmcpart} /
 17385125   initrd.gz
            dtbs/
     1575   boot.scr
  4260352   vmlinuz

3 file(s), 1 dir(s)
=&gt; bdinfo
arch_number = 0x00000cc9
boot_params = 0x70000100
DRAM bank   = 0x00000000
-&gt; start    = 0x70000000
-&gt; size     = 0x20000000
DRAM bank   = 0x00000001
-&gt; start    = 0xb0000000
-&gt; size     = 0x20000000
eth0name    = FEC
ethaddr     = 00:04:9f:02:3e:73
current eth = FEC
ip_addr     = &lt;NULL&gt;
baudrate    = 115200 bps
TLB addr    = 0x8fff0000
relocaddr   = 0x8ff6c000
reloc off   = 0x1876c000
irq_sp      = 0x8f569eb0
sp start    = 0x8f569ea0
FB base     = 0x8f56c900</code></pre></div><p>Also I mounted &quot;partition.img&quot; on my computer:</p><div class="codebox"><pre class="vscroll"><code> % sudo losetup --show --find --partscan partition.img
 % sudo mount /dev/loop0 /mnt/imx53 
 % file /mnt/imx53/*       
/mnt/imx53/boot.scr:  u-boot legacy uImage, , Linux/ARM, Script File (gzip), 1511 bytes, Mon May 11 17:46:03 2020, Load Address: 0x00000000, Entry Point: 0x00000000, Header CRC: 0x79006BD0, Data CRC: 0x8734369F
/mnt/imx53/dtbs:      directory
/mnt/imx53/initrd.gz: gzip compressed data, max compression, from Unix, original size modulo 2^32 46077952
/mnt/imx53/vmlinuz:   Linux kernel ARM boot executable zImage (little-endian)
 % file /mnt/imx53/dtbs/imx53-qsrb.dtb
/mnt/imx53/dtbs/imx53-qsrb.dtb: Device Tree Blob version 17, size=21932, boot CPU=0, string block size=1236, DT structure block size=20640
 % strings /mnt/imx53/boot.scr
# Bootscript using the new unified bootcmd handling
# introduced with u-boot v2014.10
if test -n &quot;${boot_targets}&quot;; then
  echo &quot;Mainline u-boot / new-style environment detected.&quot;
else
  echo &quot;Non-mainline u-boot or old-style mainline u-boot detected.&quot;
  echo &quot;This boot script uses the unified bootcmd handling of mainline&quot;
  echo &quot;u-boot &gt;=v2014.10, which is not available on your system.&quot;
  echo &quot;Please boot the installer manually.&quot;
  exit 0
if test -z &quot;${fdtfile}&quot;; then
  echo &#039;fdtfile environment variable not set. Aborting boot process.&#039;
  exit 0
if test -n &quot;${distro_bootpart}&quot;; then
  setenv partition &quot;${distro_bootpart}&quot;
else
  setenv partition &quot;${bootpart}&quot;
if test ! -e ${devtype} ${devnum}:${partition} dtbs/${fdtfile}; then
  echo &quot;This installer medium does not contain a suitable device-tree file for&quot;
  echo &quot;this system (${fdtfile}). Aborting boot process.&quot;
  exit 0
# Some i.MX6-based systems do not encode the baudrate in the console variable
if test &quot;${console}&quot; = &quot;ttymxc0&quot; &amp;&amp; test -n &quot;${baudrate}&quot;; then
  setenv console &quot;${console},${baudrate}&quot;
if test -n &quot;${console}&quot;; then
  setenv bootargs &quot;${bootargs} console=${console}&quot;
load ${devtype} ${devnum}:${partition} ${kernel_addr_r} vmlinuz \
&amp;&amp; load ${devtype} ${devnum}:${partition} ${fdt_addr_r} dtbs/${fdtfile} \
&amp;&amp; load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} initrd.gz \
&amp;&amp; echo &quot;Booting the Devuan installer...&quot; \
&amp;&amp; bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}</code></pre></div><p>I wrote image to SD card:</p><div class="codebox"><pre><code> % sudo dd of=/dev/sdb if=complete_image.img bs=4M status=progress 
71303168 bytes (71 MB, 68 MiB) copied, 1 s, 66,8 MB/s
24+1 records in
24+1 records out
102400000 bytes (102 MB, 98 MiB) copied, 18,5083 s, 5,5 MB/s</code></pre></div><h5>The problem</h5><p>I powered on my &quot;i.MX53 Quick Start board&quot; with SD card with Devuan installer:</p><div class="codebox"><pre><code>U-Boot 2019.01+dfsg-7 (May 14 2019 - 02:07:44 +0000)

CPU:   Freescale i.MX53 rev2.1 at 800 MHz
Reset cause: POR
Board: MX53 LOCO
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
1575 bytes read in 21 ms (73.2 KiB/s)
Running bootscript from mmc ...
## Executing script at 72000000
Non-mainline u-boot or old-style mainline u-boot detected.
This boot script uses the unified bootcmd handling of mainline
u-boot &gt;=v2014.10, which is not available on your system.
Please boot the installer manually.
=&gt;</code></pre></div><p>As I understand, &quot;Warning - bad CRC, using default environment&quot; is OK.</p><p>U-Boot not installed inside board, it run from SD-card, from Devuan file &quot;firmware.MX53LOCO.img&quot;.<br />The file &quot;boot.scr&quot; also came with Devuan image, &quot;partition.img&quot;.<br />But they don&#039;t want to work together.</p><p>Any ideas how to fix error &quot;Please boot the installer manually&quot;?</p>]]></description>
			<author><![CDATA[dummy@example.com (vazhnov)]]></author>
			<pubDate>Sun, 31 May 2020 10:15:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22196#p22196</guid>
		</item>
	</channel>
</rss>
