<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Leon,<br>
<br>
On 05/19/2015 05:09 PM, Leon Woestenberg wrote:<br>
</div>
<blockquote cite="mid:CAF3Rn=ybzVU97VBH2iaW-vuLgfKRTkb=BiLSXTD_JeigPdg7yw@mail.gmail.com" type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello all,</div>
<div><br>
</div>
I am trying the fido branch linux-congatec kernel for MACHINE=cgtqmx6.<br>
<br>
</div>
<div>More specifically, this DTB and kernel<br>
</div>
<div><br>
uImage--3.10.53-r0-cgtqmx6-20150519142407.bin<br>
uImage--3.10.53-r0-imx6q-qmx6-20150519142407.dtb<br>
<br>
</div>
<div>for the P/N 0161103 (Quad-Core)<br>
</div>
<div><br>
</div>
Question on the side: I noticed the Congatec pre-flashed setup does not seem to load a FDT DTB from eMMC? Shouldn't these platforms always load a FDT DTB?<br>
<br>
</div>
I am sure the error is on my side, what did I miss?<br>
<br>
</div>
Thanks, Leon.<br>
<div>
<div>
<div>
<div><br>
<div>bootcmd_net=tftpboot ${fdtaddr} ${fdtfile}; tftpboot ${loadaddr} ${bootfile}; run bootargs_base bootargs_nfs;bootm ${loadaddr} - ${fdtaddr}<br>
<br>
<div><br>
conga-QMX6 U-Boot > run bootcmd_net<br>
FEC: Link is Up 796d<br>
Using FEC0 device<br>
TFTP from server 192.168.1.9; our IP address is 192.168.1.103<br>
Filename 'cgtqmx6/uImage.dtb'.<br>
Load address: 0x10780000<br>
Loading: ####<br>
done<br>
Bytes transferred = 48083 (bbd3 hex)<br>
FEC: Link is Up 796d<br>
Using FEC0 device<br>
TFTP from server 192.168.1.9; our IP address is 192.168.1.103<br>
Filename 'cgtqmx6/uImage'.<br>
Load address: 0x10800000<br>
Loading: #################################################################<br>
     #################################################################<br>
     #################################################################<br>
     #################################################################<br>
     #################################################################<br>
     ##############################################<br>
done<br>
Bytes transferred = 5432656 (52e550 hex)<br>
## Booting kernel from Legacy Image at 10800000 ...<br>
   Image Name:   Linux-3.10.53-1.1.1_qmx6+g9f56bf<br>
   Image Type:   ARM Linux Kernel Image (uncompressed)<br>
   Data Size:    5432592 Bytes =  5.2 MB<br>
   Load Address: 10008000<br>
   Entry Point:  10008000<br>
   Verifying Checksum ... OK<br>
   Loading Kernel Image ... OK<br>
OK<br>
<br>
Starting kernel ...<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">Leon</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
I have recently built and booted an image build with fido on Qmx6 with success. One difference is that I did not netboot but used an SD card attached to the Q7 module.
<br>
<br>
Your question regarding load of DTB from eMMC, if I remember correct the default script for u-boot-congatec (version 2013.04) will search for kernel and device-tree in mmc device 0,1 and 2 which are 'SD card on module', 'SD card on carrier board' and eMMC.
 It will use the first found. Could you check the version of your u-boot on the target? Probably you have 2009.x or something that doesn't have support for DTB. In that case you must upgrade your u-boot to 2013.xx in order to boot kernel with device-tree.<br>
<br>
Regards,<br>
/Peter<br>
</body>
</html>