Kernel Compile manually for YOCTO

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

Kernel Compile manually for YOCTO

1,065 Views
hasithaperera
Contributor I

I am going to compile kernel manually for yocto Linux environment.

1. I download recipe file from  https://github.com/Freescale/meta-fsl-arm-extra

and bitbake 3.14.28 kernel without any problem and install it to on sabre lite board.

2. Then i try to compile 3.14.28 kernel manually.

     . Install toolchain to YOCT environment

     . get linux-3.14.tar.xz source from ~/fsl-release-bsp/downloads

     .Extract it

     . go to linux-3.14 directory and run following commands

          $export ARCH=arm

          $export CROSS_COMPILE=arm-poky-linux-gnueabi-

          $make imx_v6_v7_defconfig

          $export PATH=$PATH:/opt/poky/1.6.2/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi

          $make

          $make uImage LOADADDR=0x10008000

     . Copy images to boot partition of SD card of sabre lite device.

     $cp arch/arm/boot/uImage arch/arm/boot/dts/imx6q-sabrelite.dtb <boot partition>

All steps work fine and but have a problem with a display.

I have 2 display units (sabre lite display and HDMI monitor )

In step 1 we have display on HDMI monitor only.

In step 2 we have display on sabre lite display only.

I need to get display on HDMI monitor in step 2 .

Ultimate goal of my work is compile latest kernel and install it on SD card of sabre lite device with a  HDMI monitor.

In step 1 there are 2 Framebuffer device under /dev folder(fb0 and fb1) but in step 2 there is only one.

campier the configuration of above two steps and found that there is no "MXC support drivers setting" on step 2 configuration.

Seems that "MXC support drivers" setting is need in configuration to get display on HDMI monitor in step 2 .

How should i get MXC support drivers setting in step 2 configuration or Get display on HDMI monitor in step 2.

Thanks in advance

Labels (4)
0 Kudos
1 Reply

379 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hasitha

for hdmi and lcd kernel configurations one can look at

attached Linux Manual Chapter8, 16. Also useful to check

boundary devices web page devoted to configuration of various lcds:

https://boundarydevices.com/configuring-i-mx6-machines-different-screens-nitrogen6x-sabre-lite/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos