Beaglebone Black and Chipsee 7 inch LCD and Yocto

Hi Experts,

I think, I am almost there in getting Chipsee LCD work with BBB and Yocto.

Here are my simple question,

In my understanding,
Linux kernel from below location and “am335x-bone-bbb-exp-c.dts” can get Chipsee 7 inch LCD working.
https://github.com/beagleboard/linux

Que1 : Am I right ?

I couldn’t fetch and build above kernel in my yocto_daisy, (Yet to learn Yocto fully).

So I am thinking of using Yocto Linux kernel (3.14.39 )
https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.14/refs/tags

and using dtb and configuration (uEnv.txt) from below link.
https://github.com/beagleboard/bb.org-overlays

Que2: Will this combination work ?

I have already tried many things so I am asking this to know if I am in right direction or not.

Thank you,

Regards,
Ankur

Hi Experts,

I think, I am almost there in getting Chipsee LCD work with BBB and Yocto.

Here are my simple question,

In my understanding,
Linux kernel from below location and "am335x-bone-bbb-exp-c.dts" can get
Chipsee 7 inch LCD working.
GitHub - beagleboard/linux: The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux

Que1 : Am I right ?

It works in either:

using "bb.org_defconfig"

I couldn't fetch and build above kernel in my yocto_daisy, (Yet to learn
Yocto fully).

So I am thinking of using Yocto Linux kernel (3.14.39 )
linux-yocto-3.14 - Unnamed repository; edit this file 'description' to name the repository.

and using dtb and configuration (uEnv.txt) from below link.
GitHub - beagleboard/bb.org-overlays: Device Tree Overlays for bb.org boards

Que2: Will this combination work ?

Nope... bb.org-overlays is for 4.1.x based kernels..

I have already tried many things so I am asking this to know if I am in
right direction or not.

Regards,

Thank you for reply Mr. Nelson.
It is a great help, I would have suffered by downloading and building different kernel repositories.

Best regards,
Ankur

Hi Mr. Nelson,

I could compile the kernel and Boot Chipsee LCD with BBB with Yocto build,
Thank you, Very much for help,

I am putting steps here so that if someone wants to achieve similar thing can refer it.

I downloaded the Yocto_daisy(1.6) toolchain and installed it in my PC. And compiled the Linux external to Yocto build. Here are steps.
I followed below steps in my virtualbox installed ubuntu.

in Yocto_daisy build core-image-sato, using following command,

bitbake core-image-sato

Prepare micro SD card with rootfile system, SPL & U-Boot, uImage, dtb, uEnv.txt.

Clone beaglebone black Linux using following command

git clone --depth=1 https://github.com/beagleboard/linux

Download yocto-1.6(daisy) toolchain from following link.

http://downloads.yoctoproject.org/releases/yocto/yocto-1.6/toolchain/
Based on your machine type download from either i686 or x86_64
I downloaded following toochain.
http://downloads.yoctoproject.org/releases/yocto/yocto-1.6/toolchain/i686/poky-eglibc-i686-core-image-sato-armv7a-vfp-neon-toolchain-1.6.sh

Install toolchain by running download toolchain script. By default it installs into opt directory, I installed it in default path.

In terminal traverse to the above downloaded Linux directory. and set toolchain environment by running following command,

source /opt/poky/1.6/environment-setup-armv7a-vfp-neon-poky-linux-gnueabi

Now configure kernel using following command,

make bb.org_defconfig

and then build kernel using following command

make uImage LOADADDR=0x80008000 -j4

now we shall install the modules into local directory using following commands,

mkdir bbb_modules
export INSTALL_MOD_PATH=/home/ankur/linux/bbb_modules/
make modules_install

when kernel is built copy uImage(from /arch/arm/boot) and am335x-boneblack-bbb-exp-c.dtb(from /arch/arm/boot) to the BOOT partition of the micro SD card.

For FYI my uEnv.txt looks like this

Disable: HDMI
bootargs=console=ttyO1,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait;
bootcmd=mmc rescan ; mmc dev 0 ; fatload mmc 0 0x80007fc0 uImage ; fatload mmc 0 0x80F80000 am335x-boneblack-bbb-exp-c.dtb ; echo Ankur… ${bootcmd}; bootm 0x80007fc0 - 0x80F80000;
uenvcmd=boot;

11 . Now copy modules from local directory to the micro SD card, using following commands,

cp -a /home/ankur/linux/bbb_modules/lib /media/ankur/ROOT/
sync

  1. Eject the card put it into Beaglbone Black and power on the BBB+LCD.

I am yet to get the Touch calibration working for LCD but once i find it i will update the answer.

Another pending thing is build above kernel into Yocto build system. I will update the answer once i am done with that.

Hope this helps someone with the same issue.

Thank you,

Regards,
Ankur