DroZDi
DroZDi
Yea clean from the scratchTemat: Re: [openwrt/openwrt] [BANANAPI BPI-R4] kernel 6.1 image compilation error (Issue #15280)Data: 2024-04-26 14:14Nadawca: "github-actions[bot]" ***@***.***>Adresat: "openwrt/openwrt" ***@***.***>; DW: "DroZDi" ***@***.***>; "Author" ***@***.***>; Invalid Target/Subtarget reported....
Yea from the scratch
root@BPI-R4:~# cat /tmp/sysinfo/model Bananapi BPI-R4 root@BPI-R4:~# . /etc/openwrt_release && echo $DISTRIB_REVISION r25725-29cca6cfee >>> ignore this as it comes from another image as here IM not able to compile the image...
openwrt@orangepi5-plus:~/work/openwrt$ ./scripts/diffconfig.sh CONFIG_TARGET_mediatek=y CONFIG_TARGET_mediatek_filogic=y CONFIG_TARGET_mediatek_filogic_DEVICE_bananapi_bpi-r4=y CONFIG_ATH11K_THERMAL=y CONFIG_ATH_USER_REGD=y # CONFIG_KERNEL_WERROR is not set CONFIG_OPENSSL_ENGINE=y CONFIG_OPENSSL_WITH_ASM=y CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y CONFIG_OPENSSL_WITH_CMS=y CONFIG_OPENSSL_WITH_DEPRECATED=y CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y CONFIG_OPENSSL_WITH_IDEA=y CONFIG_OPENSSL_WITH_MDC2=y CONFIG_OPENSSL_WITH_PSK=y CONFIG_OPENSSL_WITH_SEED=y CONFIG_OPENSSL_WITH_SRP=y CONFIG_OPENSSL_WITH_TLS13=y CONFIG_OPENSSL_WITH_WHIRLPOOL=y CONFIG_PACKAGE_ATH_DFS=y CONFIG_PACKAGE_ar=y CONFIG_PACKAGE_ath11k-firmware-qcn9074=y CONFIG_PACKAGE_binutils=y CONFIG_PACKAGE_blkid=y...
as kenel 6.1 no more in use it can be closed
root@BPI-R4:~# spi-config -d /dev/spidev1.0 -q /dev/spidev1.0: mode=3, lsb=0, bits=8, speed=100000, spiready=0
while building from master.zip: OrangePi.h:198:36: error: ‘GPIO_PWM_OP’ undeclared (first use in this function); did you mean ‘GPIO_PWM’? 198 | #define GPIO_PWM GPIO_PWM_OP | ^~~~~~~~~~~ wiringPi.c:2451:85: note: in expansion of macro...
I recompiled and the same: orangepi@orangepi5-plus:~/work/wiringOP$ sudo gpio readall wiringPiSetup: mmap (PWM) failed: Operation not permitted
I saw your "general" answer in that thread: https://github.com/Joshua-Riek/ubuntu-rockchip/issues/963 And I agree. A lot of companies produce new boards without support. We have a lot of devices sold without firmware...