Can someone help with by providing steps for creating an image for the imx6ull evk board.In\ need detailed steps the guides that i have checked is too vague.This is the steps i am using i have not tested this on the board but it will arrive soon and i dont have time to tinker with errors :
1.Installing the dependencies for the build:
command: sudo apt-get install gawk wget git-core diffstat unzip textinfo gcc-multilib \
build-essential chrpath socat libsdl1.2-dev xterm
- Command to clone the yocto repository into the system:
command : git clone –b dunfell git://git.yoctoproject.org/poky.git
The repository gets cloned into the system.
- The build environment is to be initialized.
command:cd poky
run the oe-init-build-env build
command: source oe-init-build-env build
4.Open the conf/local.conf file in the build directory:
Add the line in the file:
MACHINE = “imx6ull-evk”
this specifies the target hardware the image is being build for.
5.Edit conf/bblayers.conf:
BBLAYERS ?= " \ /home/ahk/poky/meta \
/home/ubuntu/poky/meta-poky \
/home/ubuntu/poky/meta-yocto-bsp \
/home/ubuntu/poky/meta-openembedded/meta-oe \
/home/ubuntu/poky/meta-openembedded/meta-networking \
/home/ubuntu/poky/meta-openembedded/meta-multimedia \
/home/ubuntu/poky/meta-freescale
“
- Bake the image :
command : bitback core-image-minimal
it will take several hours
7.Flashing into the sd card
# Insert your SD Card
# Type ’£ dmesg | tail’ to see the device node being used, e.g /dev/sdb)
# In case SD to be flash has already some partitions, the host system may have
# mounted these, so unmount them, e.g. ’£ sudo umount /dev/sdb?’.
build $ ls -la ’tmp/deploy/images/*.sdcard’
build $ sudo dd if=tmp/deploy/images/<selected image>-<select machine>.sdcard of=/dev/sdX bs=1M
build $ sync
Thank you