<div dir="ltr"><div><div><div>Hello sir,<br><br></div>I changed my uboot version to 2014.07 and tried the following commands on the board.<br><br></div>u-bbot> mmc dev 1<br></div>u-boot>fatload mmc 1:1 0x11000000 imx6q-sabresd.dtb<br>
u-boot>fatload mmc 1:1 0x12000000 uImage<br>
u-boot>bootm 0x12000000 - 0x11000000<div><div><br></div><div>I got the following output: <br><br>## Booting kernel from Legacy Image at 12000000 ...<br> Image Name: Linux-3.18.4<br> Image Type: ARM Linux Kernel Image (uncompressed)<br> Data Size: 5445640 Bytes = 5.2 MiB<br> Load Address: 10001000<br> Entry Point: 10001000<br> Verifying Checksum ... OK<br>## Flattened Device Tree blob at 11000000<br> Booting using the fdt blob at 0x11000000<br> Loading Kernel Image ... OK<br> Loading Device Tree to 4f33f000, end 4f34a5ac ... OK<br><br>Starting kernel ...<br><br></div><div>So what could be the reason behind this ? And as you said in previous mail to check environment variable ? which variable should i check to debug this ? <br></div><div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div>Regards<br><br></div>Chirag Garg<br></div>IIT Madras , Rise Lab<br></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 16, 2015 at 11:09 AM, <span dir="ltr"><<a href="mailto:victorascroft@gmail.com" target="_blank">victorascroft@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
On 15-03-16 09:59:33, chirag garg wrote:<br>
> Hi,<br>
><br>
> On Mon, Mar 16, 2015 at 9:45 AM, <<a href="mailto:victorascroft@gmail.com">victorascroft@gmail.com</a>> wrote:<br>
><br>
> > Hello,<br>
> ><br>
> > On 15-03-16 09:33:21, chirag garg wrote:<br>
> > > Hello ,<br>
> > ><br>
> > > I perform the following steps to run linux kernel on imx6:<br>
> > ><br>
> > > Download 3.18 kernel from <a href="http://www.kernel.org" target="_blank">www.kernel.org</a><br>
> > > Make steps:<br>
> > > make CROSSarm-linux-gnueabi- ARCH=arm imx_v6_v7_defconfig<br>
> > > make CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm uImage LOADADDR=10001000<br>
> > ><br>
> > > cp linux-3.18.4/arch/arm/boot/uImage Sd_card<br>
> ><br>
> > So you copied the kernel image to SD card.<br>
> ><br>
> > > Run uImage on the imx6 board...<br>
> ><br>
> > Can you provide some more information on this point? When you copied the<br>
> > uImage to SD card, did you do something else to perhaps update the<br>
> > uImage on the module, or is the module setup to boot from SD card? And<br>
> > what about the device tree blob? Did you have a look at the uboot<br>
> > environment variables?<br>
> ><br>
> > I perform the following steps on imx6 board:<br>
> mmc dev 1<br>
> fatload mmc 1:1 0x10800000 uImage<br>
> bootm 10800000<br>
><br>
> I havn't use device tree blob to run this image.<br>
<br>
Device tree will be absolutely required. You will probably need to set<br>
the uboot environment variables correctly. Newer kernels use the<br>
information from device tree to set things up.<br>
<br>
You probably need something like this<br>
<br>
u-boot>tftpboot 0x11000000 imx6q-sabresd.dtb<br>
u-boot>tftpboot 0x12000000 uImage<br>
u-boot>bootm 0x12000000 - 0x11000000<br>
<br>
Have a look here. Also what is your uboot version? Perhaps you will have<br>
to upgrade your uboot as well.<br>
<a href="https://community.freescale.com/thread/313457" target="_blank">https://community.freescale.com/thread/313457</a><br>
<br>
><br>
><br>
> > What was the earlier kernel version the board was booting with?<br>
><br>
><br>
> Earlier, I used the following linux kernel:<br>
> <a href="http://boundarydevices.com/cross-compile-i-mx6-kernel-using-ltib-toolchain/" target="_blank">http://boundarydevices.com/cross-compile-i-mx6-kernel-using-ltib-toolchain/</a><br>
><br>
> which was successfully booting.<br>
> Kernel version is 3.0.35.<br>
><br>
<br>
Ancient kernel that used board files and not device trees.<br>
<br>
- Sanchayan.<br>
<br>
><br>
> > ><br>
> > > Output :<br>
> > ><br>
> > > ## Booting kernel from Legacy Image at 10800000 ...<br>
> > > Image Name: Linux-3.18.4<br>
> > > Image Type: ARM Linux Kernel Image (uncompressed)<br>
> > > Data Size: 5445640 Bytes = 5.2 MB<br>
> > > Load Address: 10001000<br>
> > > Entry Point: 10001000<br>
> > > Verifying Checksum ... OK<br>
> > > Loading Kernel Image ... OK<br>
> > > OK<br>
> > ><br>
> > > Starting kernel ...<br>
> > ><br>
> > ><br>
> > > what could be the problem in this ? why Is this kernel not able start on<br>
> > > imx6 platform ?<br>
> ><br>
> > That output is on the serial debug console? Is the console parameter in<br>
> > uboot set appropriately to what the kernel expects?<br>
> ><br>
> > - Sanchayan.<br>
> ><br>
> > ><br>
> > > Thanks in advance,<br>
> > > Regards,<br>
> > ><br>
> > > Chirag Garg<br>
> > > IIT Madras , Rise Lab<br>
> > ><br>
> > > On Mon, Mar 9, 2015 at 11:01 PM, <<a href="mailto:victorascroft@gmail.com">victorascroft@gmail.com</a>> wrote:<br>
> > ><br>
> > > > Hello,<br>
> > > ><br>
> > > > On 15-03-09 21:53:34, chirag garg wrote:<br>
> > > > > Hello,<br>
> > > > ><br>
> > > > > On Mon, Mar 9, 2015 at 9:01 PM, <<a href="mailto:victorascroft@gmail.com">victorascroft@gmail.com</a>> wrote:<br>
> > > > ><br>
> > > > > > Hello,<br>
> > > > > ><br>
> > > > > > On 15-03-09 11:20:55, chirag garg wrote:<br>
> > > > > > > Hi all,<br>
> > > > > > ><br>
> > > > > > > I am new to the linux kernel source code. I want to compile linux<br>
> > > > source<br>
> > > > > > > code for imx6 ARM based platform.<br>
> > > > > > > I want to generate raw binary image (.bin file) and .dtb file.<br>
> > Can<br>
> > > > any<br>
> > > > > > one<br>
> > > > > > > help me in this.?<br>
> > > > > ><br>
> > > > > > Which iMX6 platform is this? Depending on the platform, it would<br>
> > be as<br>
> > > > > > simple as doing make imx_v6_v7_defconfig and then using the<br>
> > correct dtb<br>
> > > > > > for the platform. Boards like Nitrogen, Sabre or Wandaboard should<br>
> > boot<br>
> > > > > > easily with the recent kernels.<br>
> > > > > ><br>
> > > > > > I am using freescale imx6 quad core saberlite board. Available on<br>
> > the<br>
> > > > > freescale site<br>
> > > > ><br>
> > <a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q" target="_blank">http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q</a><br>
> > > > ><br>
> > > > > Where should be this dtb available according to the board. I am<br>
> > trying to<br>
> > > > > boot 3.14 linux kernel.<br>
> > > ><br>
> > > > The DTS files for all ARM boards are available in the following<br>
> > > > directory<br>
> > > ><br>
> > > > <a href="http://lxr.free-electrons.com/source/arch/arm/boot/dts/?v=3.14" target="_blank">http://lxr.free-electrons.com/source/arch/arm/boot/dts/?v=3.14</a><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > <a href="http://lxr.free-electrons.com/source/arch/arm/configs/imx_v6_v7_defconfig?v=3.14" target="_blank">http://lxr.free-electrons.com/source/arch/arm/configs/imx_v6_v7_defconfig?v=3.14</a><br>
> > > ><br>
> > > > imx_v6_v7_defconfig is the config file for imx platform.<br>
> > > ><br>
> > > > -Regards,<br>
> > > > Sanchayan.<br>
> > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > > Do you have a custom board or one of those easily available<br>
> > development<br>
> > > > > > platforms?<br>
> > > > > ><br>
> > > > > > Board is easily available in the market.<br>
> > > > ><br>
> > > > ><br>
> > > > > > - Regards,<br>
> > > > > > Sanchayan..<br>
> > > > > ><br>
> > > > > > ><br>
> > > > > > > Thanks in advance<br>
> > > > > > > Regards<br>
> > > > > > ><br>
> > > > > > > Chirag Garg<br>
> > > > > > > IIT Madras , Rise Lab<br>
> > > > > ><br>
> > > > > ><br>
> > > > > Regards<br>
> > > > > Chirag Garg<br>
> > > > > IIT Madras , Rise Lab<br>
> > > > ><br>
> > > > ><br>
> > > > > > > _______________________________________________<br>
> > > > > > > Kernelnewbies mailing list<br>
> > > > > > > <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> > > > > > > <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
> > > > > ><br>
> > > > > ><br>
> > > ><br>
> ><br>
</blockquote></div><br></div></div></div></div></div>