d1_build
d1_build copied to clipboard
Enable the Sitronix ST7789V screen
The Lichee RV comes with an optional 1.14" 135×240 SPI LCD screen. This bug report is for the necessary steps to get this going and build a small debian image for it.
- [ ] Create a new target board 'lichee_rv_lcd'
- [x] Add a section to the device tree. The display is SPI connected. There is some information here. Even more here thanks Daniel
- [ ] make board specific uboot overlays for each.
- [ ] Actually use the panel-mipi-dbi-spi driver from (https://github.com/notro/panel-mipi-dbi/wiki)
- [ ] Test and Debug
Notes:
- https://www.kernel.org/doc/html/latest/devicetree/overlay-notes.html
Since the panel is optional, it cannot be included in the devicetree that is merged upstream. So at that point, enabling the panel will need to be done via a devicetree overlay. I recommend doing that to begin with.
After enabling CONFIG_OF_LIBFDT_OVERLAY
in U-Boot, you can use the fdt apply
command from the boot script to apply the overlay.
From the o-boot documentation...
here are two ways to apply overlays in U-Boot.
- Include and define overlays within a FIT image and have overlays automatically applied.
- Manually do all the work.
doc/uImage.FIT/overlay-fdt-boot.txt
Any update on this?