Giter Club home page Giter Club logo

cm4_lcd_boe_vs035zsm_nw0_69p0's Introduction

CM4_LCD_BOE_VS035ZSM_NW0_69P0

Raspberry Pi CM4 bindings for BOE VS035ZSM-NW0-69P0 1440x1600 LCD display

NOTE: Large parts are copied from the JDI LT070ME05000 LCD

Status: Should work, but due to chip shortage not tested yet.

Overview

BOE VS035ZSM NW0 69P0 panel is a 1440x1600 4-lane DSI LCD display. To use it, 4-lane DSI interface is required, so it can be used with Raspberry Pi Compute Modules 3 and 4.

Software installation

We need build rpi-5.10.y branch with BOE VS035ZSM NW0 69P0 panel module enabled. This is well documented at Raspberry Pi help pages here and here

NOTE: For cross-compiling, see information here

sudo apt install git bc bison flex libssl-dev make
sudo apt install libncurses5-dev
git clone --depth=1 --branch rpi-5.10.y https://github.com/raspberrypi/linux

Copy the files from THIS repository to the kernel and add it to the Make/Kconfig files for it to build.

cp panel-boe-vs035zsm-nw0-69p0.c linux/drivers/gpu/drm/panel/panel-boe-vs035zsm-nw0-69p0.c
cp vc4-kms-dsi-vs035zsm-nw0-69p0-overlay.dts linux/arch/arm/boot/dts/overlays/vc4-kms-dsi-vs035zsm-nw0-69p0-overlay.dts

Add an entry to linux/drivers/gpu/drm/panel/Kconfig

Add an entry to linux/drivers/gpu/drm/panel/Makefile

Add an entry to linux/arch/arm/boot/dts/overlays/README

Add an entry to linux/arch/arm/boot/dts/overlays/Makefile

cd linux
KERNEL=kernel7l
make bcm2711_defconfig
make menuconfig

Navigate to Device Drivers/Graphics support/Display panel, check BOE VS035ZSM NW0 69P0 panel and save

Now we need to build and install kernel:

make -j4 zImage modules dtbs
sudo make modules_install
sudo cp arch/arm/boot/dts/*.dtb /boot/
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
sudo cp arch/arm/boot/zImage /boot/$KERNEL.img

Then compile and copy the Device Tree source to boot partition:

sudo dtc -@ -I dts -O dtb -o vc4-kms-dsi-vs035zsm-nw0-69p0.dtbo vc4-kms-dsi-vs035zsm-nw0-69p0-overlay.dts
sudo cp vc4-kms-dsi-vs035zsm-nw0-69p0.dtbo /boot/overlays/

Then edit /boot/config.txt to add:

ignore_lcd=1
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-vs035zsm-nw0-69p0

and reboot

After reboot screen should we working and have portrait orientation. To adjust, use Main Menu/Preferences/Screen configuration utility

cm4_lcd_boe_vs035zsm_nw0_69p0's People

Contributors

0y8w1x avatar

Stargazers

 avatar  avatar Game Boy Camera avatar  avatar Fan avatar Kwstakyc avatar  avatar Rob Morgan avatar Josh avatar Richard Anderson avatar

Watchers

 avatar Kwstakyc avatar

cm4_lcd_boe_vs035zsm_nw0_69p0's Issues

Datasheet

Hi,
Do you have the datasheet of this screen? I want to know more information, but I can't find more. Could you please share the datasheet of VS035ZSM? Thank you. My Email is [email protected].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.