-
Posts
59 -
Joined
-
Last visited
Reputation Activity
-
L Jumadi reacted to Jean-Francois Lessard in Help wanted to test a new OpenVFD alternative
@L Jumadi It looks like you should reverse the pin configuration of the data and clock pins
Your openvfd config:
```
openvfd_gpio_clk = <&pio 8 11 0>; // this is the clock ping
openvfd_gpio_dat = <&pio 8 12 0>; // this is the data pin
```
Should become:
```
sda-gpios = <&pio 8 12 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // this is the data pin
scl-gpios = <&pio 8 11 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // this is the clock pin
```
You can also try setting gpio flags to 0 such as in your openvfd config. It would become:
```
sda-gpios = <&pio 8 12 0>; // this is the data pin
scl-gpios = <&pio 8 11 0>; // this is the clock pin
```
Edit: I have added a check in tm16xx.c to report "Failed to initialize display" instead of "Display initialized successfully" when it fails to set brightness or to write display data. This won't fix your issue per se but at least it will add clarity when looking at dmesg.
-
L Jumadi reacted to Nick A in How to install armbian in h618?
I edited the broadcom kernel drivers.
/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h
#define BRCM_CC_43342_CHIP_ID 43342
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
BRCMF_FW_DEF(43342, "brcmfmac43342-sdio");
BRCMF_FW_ENTRY(BRCM_CC_43342_CHIP_ID, 0xFFFFFFFF, 43342),
I made a patch for you. Copy the patch to build/patch/kernel/archive/sunxi-6.9/patches.armbian directory.
Edit build/patch/kernel/archive/sunxi-6.9/series.armbian and build/patch/kernel/archive/sunxi-6.9/series.conf to include the new patch.
Then copy firmware files below to your sdcard.
drivers-net-wireless-brcmfmac-add-43342-firmware.patch
43342_firmware.tar.gz