Newbie: fsl-image-gui ...how to get gui on LCD?

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

Newbie: fsl-image-gui ...how to get gui on LCD?

2,005 Views
carlschultz
Contributor I

Hello, 

 

I was able to boot imx6ul evk with SD card

The bitbake process went ok (i.e. finished building without any errors)

(kernel used: fsl-arm-yocto-bsp.git -b imx-4.1.15-1.0.0_ga)

(image recipe: fsl-image-gui)

fsl-image-gui-imx6ulevk.sdcard -> fsl-image-gui-imx6ulevk-20170131150543.rootfs.sdcard

I get a linux prompt through serial console. 

The attached LCD display also shows a linux login prompt. 

I was expecting to see a GUI on the LCD (based on the recipe name). 

Should I expect GUI on the LCD?

Or do I have to write an application before building the image?

I will appreciate any guidance to a solution or resource. 

Thank you, 

Carl

Labels (3)
0 Kudos
6 Replies

1,322 Views
carlschultz
Contributor I

Just to clarify my question, should I expect to see a GUI on the screen if using fsl-image-gui?

0 Kudos

1,322 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Carl Schultz,

Your understanding is correct: the fsl-image-gui should display a GUI on the LCD.

I would suggest reviewing the u-boot variables but if I understand correctly the LCD does display the console prompt.

The only variable you did not specify was the DISTRO used, which determines the graphical backend. Which one did you use? I’ll try to replicate the issue.

Regards,

0 Kudos

1,322 Views
carlschultz
Contributor I

Hi Gusarambula,

Thank you.

I selected fb as backend.

I configured the build environment using MACHINE='imx6ulevk' source

fsl-setup-release.sh -b 'imx6ulevkdir' -e fb

Is it correct to assume that because of 'fb' switch will be using

fsl-imx-fb distro?

Thanks,

Carl

0 Kudos

1,322 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Carl Schultz,

The backend selection as you listed was used on older releases. However, for the 4.1.15 BSP Release you would need to define it as:

$ DISTRO=fsl-imx-fb MACHINE=imx6ulevk source fsl-setup-release.sh -b imx6ulevkdir

You may also set the DISTRO variable on the conf/local.conf file:

MACHINE ??= 'imx6ulevk'

DISTRO ?= 'fsl-imx-fb'

I hope this helps!

Regards,

0 Kudos

1,322 Views
carlschultz
Contributor I

Hi Gusarambula, 

I tried as you had suggested, but, still getting the same result (no GUI on the LCD of imx6ul evk, it only shows a login prompt). 

I am able to interact with the board through serial com. 

Do you think that using [-e fb] or [DISTRO=fsl-imb-fb] lead to the same result:

(because of the following from fsl-setup-release.sh)

if [ "$BACKEND" = "fb" ]; then
if [ -z "$DISTRO" ]; then
FSLDISTRO='fsl-imx-fb'
echo -e "\n Using FB backend with FB DIST_FEATURES to override poky X11 DIST FEATURES"
elif [ ! "$DISTRO" = "fsl-imx-fb" ]; then
echo -e "\n DISTRO specified conflicts with -e. Please use just one or the other."
fsl_setup_error='true'
fi

Thanks,

Carl

0 Kudos

1,322 Views
carlschultz
Contributor I

Hi Gusarambula, 

Thank you. 

I selected fb as backend. 

I configured the build environment using MACHINE='imx6ulevk' source fsl-setup-release.sh -b 'imx6ulevkdir' -e fb

Is it correct to assume that because of 'fb' switch will be using fsl-imx-fb distro?

Thanks,

Carl

0 Kudos