-
Posts
115 -
Joined
-
Last visited
Recent Profile Visitors
3538 profile views
-
I build the latest edge image, and in 6.11.6 this bug still exists. Why the developer remove all -fixup.scr ?
-
I got it. There is no un8i-h3-fixup.scr in /boot/dtb . All of other *-fixup.scr files are missing . Please fix it .
-
I don’t build , just only apt full-upgrade .
-
In the latest update,kenel 6.10.9 changes the layout of dtb overlays , all dtbo in one single folder, no “/boot/dtb/allwinner/overlay” folder. Is it a new feather?
-
the lastest kernel in github works well. yaofei@opiz2new:~$ dmesg | grep wcn [ 5.765767] WCN: wcn config bt wake host [ 6.013435] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 6.013744] WCN: marlin_request_firmware from /lib/firmware/uwe5622/wcnmodem.bin start! yaofei@opiz2new:~$ dmesg | grep WCN [ 5.765225] WCN: marlin_init entry! [ 5.765767] WCN: wcn config bt wake host [ 5.765944] WCN_ERR: dts node for bt_wake not found [ 5.765949] WCN: marlin2 parse_dt some para not config [ 5.771004] WCN: marlin_probe ok! [ 5.878905] WCN: start_marlin [MARLIN_WIFI] [ 5.878930] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 5.878938] WCN: the first power on start [ 5.984834] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 6.013435] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 6.013464] WCN: marlin_scan_finish! [ 6.013678] WCN: then marlin start to download [ 6.013744] WCN: marlin_request_firmware from /lib/firmware/uwe5622/wcnmodem.bin start! [ 6.949035] WCN: combin_img 0 marlin_firmware_write finish and successful [ 6.949380] WCN: marlin_start_run read reset reg val:0x1 [ 6.949402] WCN: after do marlin_start_run reset reg val:0x0 [ 6.949675] WCN: s_marlin_bootup_time=6949673222 [ 6.971922] WCN: clock mode: TSX [ 6.974326] WCN: marlin_write_cali_data sync init_state:0x910be084 [ 7.001543] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 7.001576] WCN: sdio_config bt_wake_host trigger:[high] [ 7.001581] WCN: sdio_config irq:[inband] [ 7.001584] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 7.001590] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 7.001594] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 7.002554] WCN: marlin_write_cali_data finish [ 7.002872] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 7.033162] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 7.061244] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 7.089318] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 7.118152] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 7.118185] WCN: marlin_bind_verify confuse data: 0xc1dd50bce4287cfe286adfb8a9ec545a [ 7.118210] WCN: marlin_bind_verify verify data: 0xc0ea7052590e6a2c58e27da891760052 [ 7.119722] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 7.120266] WCN: get_cp2_version entry! [ 7.122118] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W21.05.3~Project Version:sc2355_marlin3_lite_ott~12-15-2021 11:26:33~ [ 7.122208] WCN: switch_cp2_log - close entry! [ 7.123613] WCN: WCND at cmd read:OK [ 7.123752] WCN: then marlin download finished and run ok [ 7.123771] WCN: start_loopcheck [ 7.143894] WCN: get_board_ant_num [one_ant] [ 7.591271] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 0 [ 7.598092] WCN: can not power off, other module is on [ 8.214286] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 0 [ 8.214295] WCN: can not power off, other module is on yaofei@opiz2new:~$ uname -a Linux opiz2new 6.6.7-edge-sunxi64 #1 SMP Wed Dec 13 17:45:36 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux so must manual load the driver modules: yaofei@opiz2new:~$ cat /etc/modules-load.d/modules.conf # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. # Parameters can be specified after the module name. uwe5622_bsp_sdio sprdwl_ng sprdbt_tty
-
maybe ask the author: * Authors : * Baolei Yuan <baolei.yuan@spreadtrum.com>
-
Orange OS uses a "-DOTT_UWE" to compile uwe5622 driver and then bypass dts and probe wifi module on-the-fly.
-
It is very very strange. I download a OrangeOS arch image from OrangePi site, and WiFi and BT runs very well under it, kernel 6.1.31-1+ So I try to hack its dtb and use dtc to decompile to dts. there are no any wifi config in mmc1 section and no any BT config in uart1 section, and can't find any script to load uwe5622 module. ``` [oem@orange-os /]$ dmesg | grep WCN [ 8.107474] WCN: marlin_init entry! [ 8.124163] WCN: wcn config bt wake host [ 8.129076] WCN_ERR: dts node for bt_wake not found [ 8.129090] WCN: marlin2 parse_dt some para not config [ 8.160759] WCN: marlin_probe ok! [ 8.330380] WCN: start_marlin [MARLIN_WIFI] [ 8.335315] WCN: marlin power state:0, subsys: [MARLIN_WIFI] power 1 [ 8.342931] WCN: the first power on start [ 8.451796] WCN: marlin chip en dummy pull up -- need manually set GPIO [ 8.502575] WCN: marlin_get_wcn_chipid: chipid: 0x2355b001 [ 8.508119] WCN: marlin_scan_finish! [ 8.518954] WCN: then marlin start to download [ 8.525939] WCN: marlin_request_firmware from /lib/firmware/wcnmodem.bin start! [ 9.531979] WCN: combin_img 0 marlin_firmware_write finish and successful [ 9.538987] WCN: marlin_start_run read reset reg val:0x1 [ 9.544357] WCN: after do marlin_start_run reset reg val:0x0 [ 9.550242] WCN: s_marlin_bootup_time=9550241170 [ 9.556815] WCN: clock mode: TSX [ 9.564933] WCN: marlin_write_cali_data sync init_state:0xd2800000 [ 9.596012] WCN: marlin_write_cali_data sync init_state:0xf0f0f0f1 [ 9.602236] WCN: sdio_config bt_wake_host trigger:[high] [ 9.607589] WCN: sdio_config irq:[inband] [ 9.611633] WCN: sdio_config wake_host_level_duration_time:[20ms] [ 9.617742] WCN: sdio_config wake_host_data_separation:[bt/wifi reuse] [ 9.624283] WCN: marlin_send_sdio_config_to_cp sdio_config:0x80f01 (enable config) [ 9.632212] WCN: marlin_write_cali_data finish [ 9.636872] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 9.667987] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 9.704174] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 9.736081] WCN: check_cp_ready sync val:0xf0f0f0f2, prj_type val:0x0 [ 9.768248] WCN: check_cp_ready sync val:0xf0f0f0f6, prj_type val:0x0 [ 9.774765] WCN: marlin_bind_verify confuse data: 0xf330e5f961b79fa1307586c664488000 [ 9.782602] WCN: marlin_bind_verify verify data: 0xec6e0071f00c97a30cdc28fa5c1fb71a [ 9.802990] WCN: check_cp_ready sync val:0xf0f0f0f8, prj_type val:0x0 [ 9.836087] WCN: check_cp_ready sync val:0xf0f0f0ff, prj_type val:0x0 [ 9.850854] WCN: get_cp2_version entry! [ 9.890098] WCN: WCND at cmd read:WCN_VER:Platform Version:MARLIN3_19B_W21.05.3~Project Version:sc2355_marlin3_lite_ott~12-15-2021 11:26:33~ [ 9.902864] WCN: switch_cp2_log - close entry! [ 9.909156] WCN: WCND at cmd read:OK [ 9.912887] WCN: then marlin download finished and run ok [ 9.918394] WCN: start_loopcheck [ 9.968127] WCN: get_board_ant_num [one_ant] [ 10.216479] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 0 [ 10.223327] WCN: can not power off, other module is on [ 11.307156] WCN: start_marlin [MARLIN_BLUETOOTH] [ 11.311827] WCN: marlin power state:4, subsys: [MARLIN_BLUETOOTH] power 1 [ 11.318678] WCN: marlin have open, GNSS is closed [ 12.500125] WCN: start_marlin [MARLIN_BLUETOOTH] [ 12.504793] WCN: marlin power state:5, subsys: [MARLIN_BLUETOOTH] power 1 [ 12.511622] WCN: marlin have open, GNSS is closed [ 38.548440] WCN: start_marlin [MARLIN_BLUETOOTH] [ 38.553123] WCN: marlin power state:5, subsys: [MARLIN_BLUETOOTH] power 1 [ 38.560053] WCN: marlin have open, GNSS is closed ```
-
I added these: wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc 1>; clock-names = "osc32k-out"; reset-gpios = <&pio 6 18 0>; /* PG18 */ post-power-on-delay-ms = <200>; }; btlpm:btlpm { compatible = "allwinner,sunxi-btlpm"; uart_index = <1>; bt_wake = <&pio 6 17 1 1 1 1>; bt_hostwake = <&pio 6 16 1 1 1 1>; status = "okay"; }; }; and still error: [ 7.888039] WCN: marlin_init entry! [ 7.889351] WCN: wcn config bt wake host [ 7.889636] WCN_ERR: dts node for bt_wake not found [ 7.889647] WCN: marlin2 parse_dt some para not config [ 7.889670] sdiohal:sdiohal_parse_dt adma_tx:1, adma_rx:1, pwrseq:0, irq type:data, gpio_num:0, blksize:840
-
[ 0.063345] cryptd: max_cpu_qlen set to 1000 [ 0.705896] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 0.873638] ledtrig-cpu: registered to indicate activity on CPUs [ 2.266824] sun50i_cpufreq_nvmem: Using CPU speed bin speed0 [ 10.080694] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 408000 KHz, changing to: 480000 KHz [ 14.206388] RPC: Registered tcp transport module. [ 14.206393] RPC: Registered tcp-with-tls transport module. [ 14.206397] RPC: Registered tcp NFSv4.1 backchannel transport module.
-
I added wifi and bt configurations into your dts and installed it , modprobe uwe5622_bsp_sdio can't work . erros is : [ 117.208119] WCN: marlin_init entry! [ 117.208732] WCN: wcn config bt wake host [ 117.208902] WCN_ERR: dts node for bt_wake not found [ 117.208908] WCN: marlin2 parse_dt some para not config [ 117.208921] sdiohal:sdiohal_parse_dt adma_tx:1, adma_rx:1, pwrseq:0, irq type:data, gpio_num:0, blksize:840 [ 117.211084] sdiohal:sdiohal_init ok [ 117.211757] WCN: marlin_probe ok! sun50i-h616-zero2-wifi.dts
-
compiled and installed as a dtbo. but can't work. [ 7.922903] WCN: marlin_init entry! [ 7.923606] WCN: wcn config bt wake host [ 7.923937] WCN_ERR: dts node for bt_wake not found [ 7.923949] WCN: marlin2 parse_dt some para not config [ 7.923973] sdiohal:sdiohal_parse_dt adma_tx:1, adma_rx:1, pwrseq:0, irq type:data, gpio_num:0, blksize:840 [ 7.930743] sdiohal:sdiohal_init ok
-
I plugde an USB WiFi doogle , and it works. But the onboard WiFi/BT can't be found.
-
Zero2 running latest mantic zero2_mantic.log
-
the new one, add bluetooth, now hciconfig can found hci0, but can't init it. sun50i-h616-orangepi-zero2.dts