7" LCD
#1
I have been working to get the LCD working on Armbian using the notes here:

https://pine64.org/documentation/Quartz6...I_display/

I was able to make the dtbo file, but the command to update uboot, doesn't work and I can't find a package to install it it. Does anyone have any advice here?

small update. I think that the overlay I built is not compatible with armbian. @CounterPillow made it for mainline and I believe armbian is using BSP. I tried to build with DTC and get errors. I tried to boot a plebian image(older mainline built image), but I can't seem to get them to power up. Will follow up if I make any headway.
  Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)