-
Posts
140 -
Joined
-
Last visited
Recent Profile Visitors
4187 profile views
-
spi1-cs0-pin and etc are defined in .dtsi file , since they are physical pins of the H616/H618 chip. But they are assigned to different pins of 26-PIN and 40-PIN of Zero3 and zero2w
-
download all files attenmented . sudo cp *.dtbo /boot/dtb/allwinner/overlay open /boot/armbianEnv.txt , add this line: overlays=spi-spidev spidev1_1 and reboot, you should find and use /dev/spidev1.1 sun50i-h616-spidev1_0.dtbo sun50i-h616-spidev1_0.dtso sun50i-h616-spidev1_1.dtbo sun50i-h616-spidev1_1.dtso
-
what is this? [code] [ 20.585289] ------------[ cut here ]------------ [ 20.585313] memcpy: detected field-spanning write (size 16) of single field "vif->key[pairwise][key_index]" at drivers/net/wireless/uwe5622/unisocwifi/cfg80211.c:714 (size 0) [ 20.585442] WARNING: CPU: 0 PID: 863 at drivers/net/wireless/uwe5622/unisocwifi/cfg80211.c:714 sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng] [ 20.585498] Modules linked in: overlay sprdwl_ng sunxi_addr cfg80211 sunrpc zram snd_soc_hdmi_codec sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig polyval_ce videobuf2_memops videobuf2_v4l2 polyval_generic binfmt_misc videodev snd_soc_sunxi_machine dw_hdmi_i2s_audio panfrost dw_hdmi_cec sun50i_h6_prcm_ppu snd_soc_sunxi_ahub videobuf2_common gpu_sched snd_soc_sunxi_ahub_dam mc drm_shmem_helper display_connector dump_reg cpufreq_dt sch_fq_codel sprdbt_tty uwe5622_bsp_sdio rfkill fuse motorcomm dwmac_sun8i mdio_mux sun6i_rtc_ccu [ 20.585645] CPU: 0 UID: 0 PID: 863 Comm: wpa_supplicant Tainted: G C 6.15.0-edge-sunxi64 #1 NONE [ 20.585657] Tainted: [C]=CRAP [ 20.585661] Hardware name: OrangePi Zero3 (DT) [ 20.585667] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 20.585675] pc : sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng] [ 20.585701] lr : sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng] [ 20.585725] sp : ffff80008494b740 [ 20.585730] x29: ffff80008494b740 x28: ffff0000c1d32180 x27: ffff0000c08fb080 [ 20.585745] x26: 0000000000000000 x25: ffff0000c4600a40 x24: ffff0000c4600000 [ 20.585758] x23: 0000000000000004 x22: 0000000000000004 x21: 0000000000000010 [ 20.585772] x20: 0000000000000000 x19: ffff80008494b790 x18: 00000000ffffffff [ 20.585785] x17: 0000000000000000 x16: 0000000000000000 x15: 7269772f74656e2f [ 20.585799] x14: 7372657669726420 x13: 30386766632f6966 x12: ffff8000823482d0 [ 20.585813] x11: 0000000000000001 x10: 0000000000000001 x9 : ffff8000800df178 [ 20.585826] x8 : c0000000ffffefff x7 : ffff8000822f00e8 x6 : 0000000000000001 [ 20.585840] x5 : ffff0000ff734708 x4 : 0000000000000000 x3 : 0000000000000027 [ 20.585853] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c1d32180 [ 20.585868] Call trace: [ 20.585874] sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng] (P) [ 20.585901] nl80211_new_key+0x1c4/0x320 [cfg80211] [ 20.586017] genl_family_rcv_msg_doit+0xe8/0x160 [ 20.586032] genl_rcv_msg+0x218/0x298 [ 20.586040] netlink_rcv_skb+0x68/0x140 [ 20.586053] genl_rcv+0x40/0x60 [ 20.586060] netlink_unicast+0x2f4/0x358 [ 20.586071] netlink_sendmsg+0x1b0/0x408 [ 20.586082] __sock_sendmsg+0x64/0xc0 [ 20.586093] ____sys_sendmsg+0x24c/0x2c0 [ 20.586101] ___sys_sendmsg+0xb8/0x118 [ 20.586110] __sys_sendmsg+0xa4/0x110 [ 20.586119] __arm64_sys_sendmsg+0x2c/0x40 [ 20.586128] invoke_syscall+0x50/0x120 [ 20.586142] el0_svc_common.constprop.0+0x48/0xf0 [ 20.586153] do_el0_svc+0x24/0x38 [ 20.586163] el0_svc+0x30/0xd0 [ 20.586175] el0t_64_sync_handler+0x10c/0x138 [ 20.586185] el0t_64_sync+0x198/0x1a0 [ 20.586195] ---[ end trace 0000000000000000 ]--- [/code]
-
sun50i-h616-spidev1_1.dtso /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target-path = "/aliases"; __overlay__ { spi1 = "/soc/spi@5011000"; }; }; fragment@1 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>,<&spi1_cs1_pin>; spidev1_1: spidev@1 { compatible = "armbian,spi-dev"; status = "okay"; reg = <1>; spi-max-frequency = <1000000>; }; }; }; };
-
/dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target-path = "/aliases"; __overlay__ { spi1 = "/soc/spi@5011000"; }; }; fragment@1 { target = <&spi1>; __overlay__ { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>,<&spi1_cs1_pin>; spidev1_1: spidev@1 { compatible = "armbian,spi-dev"; status = "okay"; reg = <1>; spi-max-frequency = <1000000>; }; }; }; }; sun50i-h616-spidev1_1.dtso
-
pps-gpio dts file for Zero 2/3 and Zero2w
mantouboji replied to mantouboji's topic in Allwinner sunxi
/* * PPS-GPIO for H616 */ /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h616"; fragment@0 { target = <&pio>; __overlay__ { pps_pins: pps_pins { pins = "PC9"; // Zero2 & 3 // pins = "PI5"; // Zero2w function = "pps"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { pps@0 { compatible = "pps-gpio"; pinctrl-names = "default"; pinctrl-0 = <&pps_pins>; gpios = <&pio 2 9 0>; /* PC9 */ // Zero2 & 3 //gpios = <&pio 8 5 0>; /* PI5 */ // Zero2w status = "okay"; }; }; }; };- 3 replies
-
- Orange Pi Zero 2
- Orange Pi Zero 3
-
(and 1 more)
Tagged with:
-
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
- 3 replies
-
- 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
- 3 replies
-
1
-
- 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