matsujirushi/seeed-linux-dtoverlays

[32-bit 2022-07-21-Raspbian-reTerminal] after a update and reboot it still shows up black

Opened this issue · 1 comments

Procedure

  1. Flash 32-bit 2022-07-21-Raspbian-reTerminal to reTerminal.

    Update Software ... Skip

  2. Version, etc before upgrade.

    /boot/issue.txt                 ... 2022-06-19
    kernel                          ... 5.15.32-v7l+ armv7l
    userland                        ... armhf
    kernel package                  ... 1:1.20220331-1
    grep arm_64bit /boot/config.txt ... (null)
    
  3. Upgrade. (apt update and upgrade)

    Error! Bad return status for module build on kernel: 6.1.21-v7+ (armv7l)
    Consult /var/lib/dkms/mipi_dsi/0.1/build/make.log for more information.
    

    /var/lib/dkms/mipi_dsi/0.1/build/make.log:

    ...
    /var/lib/dkms/mipi_dsi/0.1/build/mipi_dsi_drv.c:436:12: error: initialization of  void (*)(struct i2c_client *)’from incompatible pointer type  int (*)(struct i2c_client *)’[-Werror=incompatible-pointer-types]
    ...
    
  4. Reboot.

    -> Blank screen!!! 😵‍💫

  5. Version, etc after upgrade.

    /boot/issue.txt                 ... 2022-06-19
    kernel                          ... 6.1.21-v8+ aarch64
    userland                        ... armhf
    kernel package                  ... 1:1.20230405-1
    grep arm_64bit /boot/config.txt ... (null)
    

Problem

  1. The kernel is running at 64-bit after upgrade.
  2. The driver source code does not support kernel 6.1 in 32-bit 2022-07-21-Raspbian-reTerminal.

Workaround

  1. Add arm_64bit=0 to /boot/config.txt.
  2. Reboot.
  3. Install latest reTerminal driver.
    sudo apt update
    sudo apt install git
    git clone --depth 1 https://github.com/Seeed-Studio/seeed-linux-dtoverlays
    cd seeed-linux-dtoverlays
    sudo ./scripts/reTerminal.sh
    
  4. Reboot.