7" LCD
#2
Follow up, I was able to make this work!

For starters the easiest way to get the linux source is from github:
https://github.com/torvalds/linux

you can change to the version of the kernel you are running by clicking master, tag and then selecting the version you want. You can download the source as a zip here. You can also use the git command to pull the source.

You an probably just use the makefile, but I did it manually like this:

IDE=pine64-lcd-panel
SRC=$IDE.dts
TMP=$IDE.tmp.dts
DST=$IDE.dtbo

cpp -nostdinc -I linux-6.8/include -undef -x assembler-with-cpp $SRC > $TMP
dtc -O dtb -b 0 -o $DST $TMP
rm $TMP


You then need to edit:
/boot/armbianEnv.txt
add the line
overlay=pine64-lcd-panel

Armbian adds a prefix to overlays, you should see a line that says overlay_prefix=rockchip

You need to add the prefix to the file (rockchip-pine64-lcd-panel.dtbo) copy the file to:
/boot/dtb/rockchip/overlay/

restart and the screen should come up.

The UART debugger was helpful to see it trying to load the overlay and problems with the prefix/naming.

References
https://github.com/CounterPillow/overlay-examples
https://forum.armbian.com/topic/47793-ov...rebooting/
https://stackoverflow.com/questions/2850...input-tree
  Reply


Messages In This Thread
7" LCD - by drock - 03-24-2025, 09:51 AM
RE: 7" LCD - by drock - 04-08-2025, 01:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)