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 : git clone –b dunfell git://git.yoctoproject.org/poky.git
The repository gets cloned into the system.
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
“
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
已解决! 转到解答。
Hello, I hope you are doing well.
You could use our yocto user's guide to create an image to the board.
Basically, the steps are the next:
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev python3-subunit mesa-common-dev zstd liblz4-tool file locales -y
sudo locale-gen en_US.UTF-8
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
git config --global user.name "Your Name"
git config --global user.email "Your Email"
git config --list
mkdir imx-yocto-bsp
cd imx-yocto-bsp
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.36-2.1.0.xml
repo sync
Now, you need to select the machine configurations to start to build the image.
In your case I would use:
DISTRO=fsl-imx-wayland MACHINE=imx6ull14x14evk source imx-setup-release.sh -b build_imx6ull
bitbake imx-image-full
To flash the image, I suggest you use UUU and you can use the steps on the next post.
uuu.exe -b sd_all <bootloader> <rootfs (.wic)>
Best regards.
Hi @JorgeCas,
thanks for the reply and sorry for the latest response.I tried the commands and it is working, due to some space issues as i am trying to from a vm
the image is not getting created successfully.Can you please share a link where i can download a preexisting image ? I also need a toolchain for the cross compilation if it is available.