Hello,
I've been trying to install a custom linux distribution using yocto on imx6 tinyrex and get it to boot and show booted os on my monitor but to no success. I bought it from Voipac so I am following their tutorial on how to setup it up.
First, I've installed the repo utility with:
mkdir -pv ~/workdir/bin
curl http://commondatastorage.googleapis....downloads/repo > ~/workdir/bin/repo
chmod a+x ~/workdir/bin/repo
PATH=${PATH}:~/workdir/bin Download the BSP Yocto Project Environment
mkdir -pv ~/workdir/imx6/yocto/fsl-release-bsp-2.1
cd ~/workdir/imx6/yocto/fsl-release-bsp-2.1
Add rex/tinyrex support
mkdir -pv .repo/local_manifests/
cat > .repo/local_manifests/imx6rex.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/Voipac" name="voipac"/>
<project remote="voipac" revision="master" name="meta-fsl-arm-voipac" path="sources/meta-fsl-arm-voipac">
<copyfile src="voipac-setup.sh" dest="voipac-setup.sh"/>
</project>
</manifest>
EOF
Sync repositories
cd ~/workdir/imx6/yocto/
ln -s fsl-release-bsp-2.1 fsl-release-bsp
cd ~/workdir/imx6/yocto/fsl-release-bsp
PATH=${PATH}:~/workdir/bin
repo sync
Add Voipac meta layer into BSP
source voipac-setup.sh
Then I build the image with:
MACHINE=imx6-tinyrexprosource setup-environment build-dir
bitbake core-image-base
The build goes well with the exception of few warning for some packages and one which says this build is not tested on ubuntu 16.04 even though i remember
I've read somewhere that Ubuntu 16.04 is tested.
After that I write it to an SD card:
cd ~/workdir/imx6/yocto/fsl-release-bsp/build-dir/tmp/deploy/images/imx6-tinyrexpro
gunzip -c core-image-base-imx6-tinyrexpro-<date>.rootfs.sdcard.gz | sudo dd of=/dev/sdb bs=1M && syncT
Then when I try to boot the imx6 tinyrex nothing is displayed on the monitor. I am not sure if it does not boot at all or is missing some display drivers.
Can someone help me with this issue?
I've been trying to install a custom linux distribution using yocto on imx6 tinyrex and get it to boot and show booted os on my monitor but to no success. I bought it from Voipac so I am following their tutorial on how to setup it up.
First, I've installed the repo utility with:
mkdir -pv ~/workdir/bin
curl http://commondatastorage.googleapis....downloads/repo > ~/workdir/bin/repo
chmod a+x ~/workdir/bin/repo
PATH=${PATH}:~/workdir/bin Download the BSP Yocto Project Environment
mkdir -pv ~/workdir/imx6/yocto/fsl-release-bsp-2.1
cd ~/workdir/imx6/yocto/fsl-release-bsp-2.1
Add rex/tinyrex support
mkdir -pv .repo/local_manifests/
cat > .repo/local_manifests/imx6rex.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/Voipac" name="voipac"/>
<project remote="voipac" revision="master" name="meta-fsl-arm-voipac" path="sources/meta-fsl-arm-voipac">
<copyfile src="voipac-setup.sh" dest="voipac-setup.sh"/>
</project>
</manifest>
EOF
Sync repositories
cd ~/workdir/imx6/yocto/
ln -s fsl-release-bsp-2.1 fsl-release-bsp
cd ~/workdir/imx6/yocto/fsl-release-bsp
PATH=${PATH}:~/workdir/bin
repo sync
Add Voipac meta layer into BSP
source voipac-setup.sh
Then I build the image with:
MACHINE=imx6-tinyrexprosource setup-environment build-dir
bitbake core-image-base
The build goes well with the exception of few warning for some packages and one which says this build is not tested on ubuntu 16.04 even though i remember
I've read somewhere that Ubuntu 16.04 is tested.
After that I write it to an SD card:
cd ~/workdir/imx6/yocto/fsl-release-bsp/build-dir/tmp/deploy/images/imx6-tinyrexpro
gunzip -c core-image-base-imx6-tinyrexpro-<date>.rootfs.sdcard.gz | sudo dd of=/dev/sdb bs=1M && syncT
Then when I try to boot the imx6 tinyrex nothing is displayed on the monitor. I am not sure if it does not boot at all or is missing some display drivers.
Can someone help me with this issue?
Comment