VAR-SOM-MX6 Yocto Flash From Net

From Variscite Wiki
Revision as of 10:03, 18 December 2014 by Ron (talk | contribs) (→‎Host)
Flash From Network Yocto system

Flashing a complete Yocto system from Network using tftp & nfs

Build mininal file system

$ gedit ../sources/poky/meta/recipes-core/images/core-image-minimal-mtdutils.bb

Set the image to include: IMAGE_INSTALL += "mtd-utils imx-kobs mtd-utils-ubifs" Build the system:

$

Target

make sure you have a serial connection to the target.

reset and hold the space bar. This will brink you to u-boot prompt

$ setenv serverip 192.168.1.188
$ setenv ethaddr a8:cc:3d:d9:b8:f5
$ setenv kernel uImage
$ setenv nfsroot /home/<uname>/fsl-community-bsp/rootfs
$ setenv bootcmd run bootcmd_net
$ saveenv 

You are all set. Pushing reset on the VAR-SOM-MX6 board will run your Yocto result file system.