-
Posts
134 -
Joined
-
Last visited
Everything posted by mantouboji
-
Yes, you removed this patch in 6.13: - patches.armbian/arm64-dts-sun50i-h618-orangepi-zero2w-Add-missing-nodes.patch
-
use the old dtb file in 6.12.16, wifi works. please check the dts patchsets .
-
It seems there are no any on-board wifi nodes (vcc33-wifi, vcc-wifi-io, wifi-pwrseq ) in sun50i-h618-orangepi-zero2w.dtb , and exists in Zero 3 dts . zero2w.dts: type_addr_wifi = <0x02>; zero3.dts: type_addr_wifi = <0x02>; zero3.dts: vcc33-wifi { zero3.dts: regulator-name = "vcc33-wifi"; zero3.dts: vcc-wifi-io { zero3.dts: regulator-name = "vcc-wifi-io"; zero3.dts: wifi-pwrseq { zero3.dts: reg_vcc33_wifi = "/vcc33-wifi"; zero3.dts: reg_vcc_wifi_io = "/vcc-wifi-io"; zero3.dts: wifi_pwrseq = "/wifi-pwrseq";
-
pps-gpio dts file for Zero 2/3 and Zero2w
mantouboji replied to mantouboji's topic in Allwinner sunxi
- 1 reply
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
I made this simple dts file for my GPS NTP server running on Zero2/3 and Zero2w On Zero2, use PC9 as PPS in , and on Zero2W use PI5 . It should be configured in /boot/armbianEnv.txt, but I unsuccess on zero2w, so you must comment out two lines and compile it by yourself. Maybe help someone. sun50i-h616-pps-gpio.dtso
- 1 reply
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
-
I built it from the latest build system from github . For Zero2 and Zero3, it must be freezen in booting stage, stopped when mount something. Maybe other boards are OK?
-
boot and stopped on mount something.
-
It is just a DTS error , not assign CS pin . I found it has fixed in Zero2W DTS file of 6.12 kernel , but not in other H616/618 boards
-
I‘ve made a DTS Overlay for SPI 1.1 interface, now it works. Maybe put into kernel tree further.
-
I modified the sun50i-h616-spidev1_1 dts file , it seems work. sun50i-h616-spidev1_1.dtbo sun50i-h616-spidev1_1.dtso sun50i-h616-spi-spidev.dtbo sun50i-h616-spi-spidev.dtso
-
It seems the CS pin is not configured in the dts overlay . I tried to add them and failed.
-
But maybe I found the mistake: In DT overlay of H616, some developer set spidev devices to compate with "rohm,dh2228fv", maybe he attached a DH2228FV DAC chip? change all of sun50i-h616-spi* dts files to `compatible = "armbian,spi-dev"; `
-
yeah, SPI in Zero3 can't work, but works in Zero2W .
-
edge 6.11.9 kernel added symbolic link for overlay
-
On Zero3, SPI can’t work but on Zero2W, spidev(1,0) can’t work , spidev(1,1) works.
-
two DTS, one for PPS-GPIO, and one for W1-GPIO, test successful . Maybe someone can intergrate into kernel source tree sun50i-h616-pps-gpio.dts sun50i-h616-w1-gpio.dts
-
Try this simple DTS file made by myself. sun50i-h616-pps-gpio.dtbo sun50i-h616-pps-gpio.dts
-
It seems in 6.11.9 has fixed , but made new bug in sunxi64 , dtb path = /boot/dtb/allwinner , not /boot/dtb. so overlay load failed.
-
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>