I’m trying to compile a pretty basic Yocto image for reTerminal DM from scratch and I am also getting a black screen.
My dmesg shows a few instances of the following error:
[ 4.290713] ili9881d-dsi fe700000.dsi.0: Couldn't get our reset GPIO
More info:
$ cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait logo.nologo
$ cat /boot/config.txt
#sdtv_mode=0
#sdtv_aspect=1
#sdtv_disable_colourburst=1
#hdmi_safe=1
#hdmi_force_hotplug=1
#hdmi_ignore_hotplug=1
#hdmi_drive=2
#hdmi_ignore_edid=0xa5000080
#hdmi_edid_file=1
#hdmi_ignore_edid_audio=1
#hdmi_force_edid_audio=1
#hdmi_force_edid_3d=1
#avoid_edid_fuzzy_match=1
#hdmi_pixel_encoding=1
#hdmi_group=1
#hdmi_mode=1
#config_hdmi_boost=0
#hdmi_ignore_cec_init=1
#hdmi_ignore_cec=1
#overscan_left=0
#overscan_right=0
#overscan_top=0
#overscan_bottom=0
disable_overscan=1
#framebuffer_width=0
#framebuffer_height=0
#framebuffer_depth=16
#framebuffer_ignore_alpha=0
#display_rotate=0
#dispmanx_offline=0
#decode_MPG2=0x12345678
#decode_WVC1=0x12345678
#start_x=0
#disable_camera_led=1
#test_mode=0
#disable_l2cache=0
#gpu_mem=128
#gpu_mem_256=192
#gpu_mem_512=448
#gpu_mem_1024=944
#disable_pvt=1
#cma_lwm=16
#cma_hwm=32
#disable_commandline_tags=0
#cmdline=""
#kernel=""
#kernel_address=0x00000000
#kernel_old=1
#ramfsfile=""
#ramfsaddr=0x00000000
#initramfs initramf.gz 0x00800000
#device_tree_address=0x00000000
#init_uart_baud=115200
#init_uart_clock=3000000
#init_emmc_clock=100000000
#boot_delay=0
#boot_delay_ms=0
#avoid_safe_mode=1
disable_splash=1
#force_turbo=0
#initial_turbo=0
#temp_limit=85
#arm_freq=700
#arm_freq_min=700
#gpu_freq=250
#core_freq=250
#core_freq_min=250
#h264_freq=250
#isp_freq=250
#v3d_freq=250
#sdram_freq=400
#sdram_freq_min=400
#avoid_pwm_pll=1
#current_limit_override=0x5A000020
#over_voltage=0
#over_voltage_min=0
#over_voltage_sdram=0
#over_voltage_sdram_c=0
#over_voltage_sdram_i=0
#over_voltage_sdram_p=0
#max_usb_current=0
#dtparam=audio=off
#dtparam=i2c_arm=off
#dtparam=i2c_vc=off
#dtparam=i2c_arm_baudrate=100000
#dtparam=i2c_vc_baudrate=100000
#dtparam=i2s=off
#dtparam=spi=off
#dtparam=random=off
#dtparam=uart0=on
#dtparam=watchdog=off
#dtparam=act_led_trigger=mmc
#dtparam=act_led_activelow=off
#dtparam=act_led_gpio=47
#dtparam=pwr_led_trigger=mmc
#dtparam=pwr_led_activelow=off
#dtparam=pwr_led_gpio=35
# Enable I2C
dtparam=i2c1=on
dtparam=i2c_arm=on
# Enable UART
enable_uart=1
# Enable VC4 Graphics
dtoverlay=vc4-kms-v3d
# Enable USB host mode
dtoverlay=dwc2,dr_mode=host
dtoverlay=vc4-kms-v3d-pi4
dtoverlay=i2c3,pins_4_5
dtparam=spi=on
dtoverlay=reTerminal-plus
dtparam=i2c_vc=on
$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
20: -- UU -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU UU -- -- -- -- -- UU -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ modinfo ili9881d
filename: /lib/modules/6.1.61-v8/extra/ili9881d.ko
license: GPL v2
description: Ilitek ILI9881D Controller Driver
author: Maxime Ripard <[email protected]>
srcversion: 64519BAFC3817F4FED30CFB
alias: of:N*T*Cgjx,gjx101c7C*
alias: of:N*T*Cgjx,gjx101c7
depends:
name: ili9881d
vermagic: 6.1.61-v8 SMP preempt mod_unload modversions aarch64
$ lsmod | grep ili9881d
ili9881d 16384 0
Any help would be appreciated.