Setting up e-ink display on OrangePi 5 + dietPi

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=23
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’
    G_LIVE_PATCH_STATUS[2]=‘not applicable’
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bullseye
  • Kernel version | uname -a
    Linux DietPi 5.10.160-legacy-rk35xx #1 SMP Mon Aug 28 01:21:24 UTC 2023 aarch64 GNU/Linux
  • Architecture | dpkg --print-architecture
    arm64
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    Orange Pi 5 (aarch64)
  • Power supply used | (EG: 5V 1A RAVpower)
    5V 4A Sunshiny
  • SD card used | (EG: SanDisk ultra)
    SanDisk Ultra

Additional Information (if applicable)

I’m trying to set up this e-ink display https://pt.aliexpress.com/item/1005001749804276.html on my OrangePi5 running dietpi

Steps to reproduce

  1. Buy the display
  2. Set it up following this: https://github.com/Masatrad-com/e-Paper/blob/f37d29c99d4936c5630c4d114fcdde374970587d/OrangePi/README.md

Issue

This arrived today and i connected the GPIO pins as the instructions on the github page:

As i use a SATA external drive, my overlays= was already there. I appended the new one:

# cat /boot/dietpiEnv.txt
rootdev=UUID=bc710ad8-56f6-4b3f-9c07-855a99a331d6
rootfstype=ext4
# The init system logs to the console defined last.
consoleargs=console=ttyFIQ0,1500000 console=tty1
usbstoragequirks=
extraargs=net.ifnames=0
docker_optimizations=on
overlay_path=rockchip
overlay_prefix=orangepi-5
overlays=sata spi-spidev
user_overlays=
param_spidev_spi_bus=0

But the screen didn’t even turn on, nor did the /dev/spidev* device appear.
I’ve found another option and changed spi-spidev to rk3588-spi0-m1-cs0-spidev (which is the filename for a dtd file under /boot/) but nothing changed too.

# dmesg | grep spi
[    6.887246] rockchip-spi feb20000.spi: no high_speed pinctrl state
[    6.888673] rk806 spi2.0: chip id: RK806,ver:0x2, 0x1
[    6.888976] rk806 spi2.0: ON: 0x40 OFF:0x0
[    6.904011] rk806 spi2.0: no sleep-setting state
[    6.904022] rk806 spi2.0: no reset-setting pinctrl state
[    6.904030] rk806 spi2.0: no dvs-setting pinctrl state
[    6.905786] rockchip-spi feb20000.spi: register misc device rkspi-dev2
[    6.905797] rockchip-spi feb20000.spi: probed, poll=0, rsd=0, cs-inactive=0, ready=0
[    6.907263] spi-nor spi5.0: XM25QU128C (16384 Kbytes) read_data x4
[    7.210287] input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.5.auto/input/input0