<div><span style="line-height: 1.5;">About image files, i guess there are various types of it, like .img, .vdi,..etc (https://en.wikibooks.org/wiki/QEMU/Images),but I wish to find a type that is machine code of the target machine so that it could be booted directly.</span></div><div><br></div><div>About bootloader, <span style="line-height: 1.5;">do you you mean yocto project doesn't include bootloader tools like uboot? For now, I realize the YP is a tool chain for generating linux distributions. So it builds the source code,and converts it to linux image files, doesn't it? So in the future, I should focus on how to use uboot to boot the linux images (generated by YP) to my my own "tiny" cpu, right?</span></div><div><span style="line-height: 1.5;"><br></span></div><div><span style="line-height: 1.5;">Thank you and Best wishes. </span></div><div><includetail><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Khem Raj"<raj.khem@gmail.com>;</div><div><b>Date: </b> Thu, Jan 28, 2016 03:10 AM</div><div><b>To: </b> "JackZhang"<jackzhang1992@t.shu.edu.cn>; <wbr></div><div><b>Cc: </b> "yocto"<yocto@yoctoproject.org>; <wbr></div><div><b>Subject: </b> Re: [yocto] About how port yocto to a customized MIPS cpu</div></div><div> </div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 26, 2016 at 7:09 PM, å¼ å¥ <span dir="ltr"><<a href="mailto:jackzhang1992@t.shu.edu.cn" target="_blank">jackzhang1992@t.shu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>But I have no idea what's inside the .img files, and how to let my fpga board to understand the .img files. </div><div><br></div><div>So this is reason why I'm here to ask you guys for some help.</div><div><br></div><div>And wish to know if it is possible to port the "yocto" to my own project.</div><div><br></div><div></div></blockquote></div><br><div class="gmail_default" style="font-family:georgia,serif">​image files are generated in several formats. There is option to generate tarballs. You can always take the tarball and untar it and look what inside</div><div class="gmail_default" style="font-family:georgia,serif">secondly, for your FPGA to understand this, you probably will need tools to download the binary to memory which is visitible to FPGA if I assume FPGA</div><div class="gmail_default" style="font-family:georgia,serif">is sitting along with a application processor which can then help you to flash it to relevant memory parts. </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">if your application processor has a bootloader e.g. uboot which can use SD cards as boot media then you can use wic tool to generate SD card</div><div class="gmail_default" style="font-family:georgia,serif">images directly from yocto. wic is documented in dev manual so please look there on how to set it up. Or you can look at some other BSPs like</div><div class="gmail_default" style="font-family:georgia,serif">beaglebone ( angstrom ) or raspberrypi or freescale layer for scripts to generate the SD card images and model your using those.​</div><br></div></div>
</div><!--<![endif]--></includetail></div>