building freescale yocto ivi image for imx6qp sabre ai board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

building freescale yocto ivi image for imx6qp sabre ai board

1,473 Views
lavakumars
Contributor IV

hi,

I followed the below instructions for building the ivi image for my board(imx6qpsabre auto).

Build instructions:

Install the `repo` utility:

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin

Download the BSP Yocto Project Environment

$: mkdir fsl-arm-yocto-bsp
$: cd fsl-arm-yocto-bsp
$: repo init -u http://sw-stash.freescale.net/scm/imx/fsl-arm-yocto-bsp.git -b imx-4.1.15-1.0.0_genivi-demo
$: repo sync

Setup and Build for Wayland
$: DISTRO=nxp-imx-genivi-wayland MACHINE=imx6qsabreauto source nxp-setup-genivi.sh -b build-genivi

Basic image for genivi:
$: bitbake leviathan-image
$: bitbake ivi-image.

bitbake fsl-image-qt5.

I am able to build but when try to run the image on the board.

ie.:sudo dd if=fsl-image-qt5.sdcard of=/dev/sdb bs=1M&&sync  : and booted board from the sd card.

I am getting the bellow errors couldn't get the handle stuck in the middle .

errors: check the images.IMG_20161004_102541.jpg

IMG_20161004_102551.jpg

IMG_20161004_102602.jpg

IMG_20161004_102613.jpg

Please suggest me correct ivi build procedure to run on the imx6qp sabre ai board.

Regards,

Lavakumar S

0 Kudos
8 Replies

887 Views
gusarambula
NXP TechSupport
NXP TechSupport

Helo Lavakumar S,

I’m trying to replicate this issue but I’m seeing fetching errors when baking the leviathan-image.

Are you still having this issue? I cannot replicate it but I would think the baking was correct as it finished without errors on your side. However, it is possible that the loading of the image to the SD card wasn’t finished correctly. The dd instruction seems correct, but sometimes the sync after the dd does not work and the partition table is corrupted. I would recommend trying again and synching manually (alternatively you may restart the host to force the kernel to update the partition table).

I hope this helps!

Regards,

0 Kudos

887 Views
lavakumars
Contributor IV

hi gusarambula,

Thanks for your reply.

I also faced the same issue and followed "‌ http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/README?h=imx-4.1.15-1.0.0_gathis " url to download and succeeded.

Please check and reply.

Regards,
Lavakumar S

0 Kudos

887 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Lavakumar S,

I tried using the regular BSP repository but there are no GENIVI recipes there. Did you end up baking the regular fsl-image-qt5 available on the 4.1.15 BSP Release?

Regards,

0 Kudos

887 Views
lavakumars
Contributor IV

hi,

Yes.

I am able to build fsl-image-qt5 and leviathan-image. those errors I am getting for leviathan image .

Those errors comes only with the build package with meta-ivi layer.

Thanks

Regards,

Lavakumar S

0 Kudos

887 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Lavakumar S,

Are you able to bake the leviathan image? I'm getting fetching errors so I can't even bake it.

Regards,

0 Kudos

887 Views
lavakumars
Contributor IV

hi,

thanks for the reply.

Yes I could build.

if not can you tell me the proper fsl-ivi-image build path..?

Regards,

Lavakumar S

0 Kudos

887 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Lavakumar S

Are you still experiencing issues with this image?

The link I was given for the instructions on building the GENIVI image is:

http://git.freescale.com/git/cgit.cgi/imx/meta-nxp-genivi.git/tree/README.txt

I had some problems when baking and I haven't been able to bake the image and test it but perhaps you may.


Regards,

0 Kudos

887 Views
lavakumars
Contributor IV

hi gusarambula,

yes the issues still there but kernel is alive so that I can process further.

and I bitbaked leviathan-mage. not the Miranda-image.

why cant you bake it ? I think I used some pre downloaded packages as well.

regards,

Lavakumar S

0 Kudos