Set Up FTP and Create Bootable SD Card

YoctoProject + Filezilla

Welcome to the 3rd part of Setup Amazon EC2 and Compile Yocto Image

Last post, we introduced how to compile a Yocto Qt Framebuffer image. And, for this post, we will continue on how to use that image specifically for the HIO device.

One of the options to transfer files between the local computer and Amazon EC2 is to use the SCP command (secure copy).  It required that you need to write each command line with “scp this-location that-location”.  This option is quick for those who need to transfer a couple of files, but would be tedious if we need to type those lines all day long.  Filezilla is here to make the job easier.  This is an open source FTP GUI program available in Linux, Mac, and Windows.  It will list both the local and target file directories and let us transfer files just by double-clicking.  With this, we can easily transfer the deploy image files: uboot, kernel, and rootfs.

After we have transfer the necessary files, we need to create a bootable SD card for our HIO device.  The micro SD Card, first of all, needs to have 2 partitions.  The uboot we will use dd command to flash into the card.  Then,  the first partition is for the kernels, and the second partition is for the rootfs.  Usually, we just change everything in the second partitions and leave the kernel and uboot untouched.  If we want to have change the device to xfce or x11, we just need to replace the rootfs with the updated one.

The video shows the boot up of the HIO 3.5″ wallpad with Qt Framebuffer Image and uses Qt5 Cinematic Experience as demo.

For more information on how to set up the FTP and Create SD Card to boot up, please visit Starting Up in Amazon EC2 , How to Prepare Bootable SD CardHow to Create Bootable SD Card