Re: [PATCH] drm/rockchip: cdn-dp: Remove redundant workarounds for firmware loading

From: walker
Date: Thu Sep 12 2024 - 08:43:02 EST


I'm having issues relevant to this thread. I want to build my rtl8723ds driver into the kernel. When fw_loader tries to load rtw8723d_fw.bin, my sysfs isn't mounted. Ideally, I don't have to use the driver as a module, use initramfs, or build the firmware into the kernel. Please let me know if I can do anything to help with the efforts.

[ 0.193910] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.196848] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.197475] sun8i-a33-pinctrl 1c20800.pinctrl: supply vcc-pb not found, using dummy regulator
[ 0.198599] printk: legacy console [ttyS0] disabled
[ 0.219380] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 142, base_baud = 1500000) is a U6_16550A
[ 0.226341] printk: legacy console [ttyS0] enabled
[ 1.158740] sun8i-a33-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[ 1.189006] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 143, base_baud = 1500000) is a U6_16550A
[ 1.204192] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.205291] sun8i-a33-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[ 1.220994] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.227118] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.231759] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 1.239605] clk: Disabling unused clocks
[ 1.240126] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.243767] ALSA device list:
[ 1.250965] No soundcards found.
[ 1.255508] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.257835] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[6 [ 1.273169] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.280679] Waiting for root device /dev/mmcblk1p1...
[ 1.285837] sunxi-mmc 1c10000.mmc: card claims to support voltages below defined range
[ 1.304227] mmc0: new high speed SDIO card at address 0001
[ 1.312047] rtw_8723ds mmc0:0001:1: Direct firmware load for rtw88/rtw8723d_fw.bin failed with error -2
[ 1.321568] rtw_8723ds mmc0:0001:1: failed to request firmware
[ 1.330441] mmc1: host does not support reading read-only switch, assuming write-enable
[ 1.334030] rtw_8723ds mmc0:0001:1: failed to load firmware
[ 1.343207] mmc1: new high speed SDHC card at address aaaa
[ 1.344048] rtw_8723ds mmc0:0001:1: failed to setup chip efuse info
[ 1.351159] mmcblk1: mmc1:aaaa SC32G 29.7 GiB
[ 1.355846] rtw_8723ds mmc0:0001:1: failed to setup chip information
[ 1.366892] rtw_8723ds mmc0:0001:1: probe with driver rtw_8723ds failed with error -22
[ 1.367560] mmcblk1: p1
[ 1.434987] EXT4-fs (mmcblk1p1): orphan cleanup on readonly fs
[ 1.443377] EXT4-fs (mmcblk1p1): mounted filesystem c5551457-88e0-47ae-9094-06babfcdeded ro with ordered data mode. Quota mode: disabled.
[ 1.455974] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[ 1.465835] devtmpfs: mounted
[ 1.470605] Freeing unused kernel image (initmem) memory: 1024K
[ 1.476798] Run /sbin/init as init process
[ 1.781051] EXT4-fs (mmcblk1p1): re-mounted c5551457-88e0-47ae-9094-06babfcdeded r/w. Quota mode: disabled.

Thanks,

Walker