Jump to content

piglet

Members
  • Posts

    3
  • Joined

  • Last visited

  1. Thank you very much for help. The overlay approach is really simple to use. The file that worked is following: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&reg_vcc_wifi>; __overlay__ { gpio = <&pio 0 2 1>; }; }; }; I saved it to a file: sun8i-h3-reg_vcc_wifi.dts Than I added it as an overlay using command armbian-add-overlay sun8i-h3-reg_vcc_wifi.dts After reboot it was working. This was done on: - Orange Pi Zero with soldered connection for wifi supply from another pin - Armbian 23.11.0 6.1.56-current-sunxi
  2. Thank you for this information. I still struggle to get it working. a. First approach - patch of uboot and kernel Effect I see: modules of wifi are loaded. lsmod returns: xradio_wlan 118784 0 mac80211 606208 1 xradio_wlan cfg80211 573440 2 mac80211,xradio_wlan However eth1 for wifi is not created. I couldn't spot what is missing. b. Second approach - dtb overlay It seems to be a simpler solution. I wasn't able to compile proposed file. It shows an error on 'gpio...' line I tried to add #include lines from the original board dts file but with no success. I would prefer to use an overlay as it is simpler and quicker. Any suggestions? Thanks, Michal
  3. Hi, I have a board Orange Pi Zero with modified PAs for power of WiFi module from PA20 to PA02, by soldering a connection on board. This is done to allow connection of I2C DAC. I see that board definition in 'u-boot/configs/orangepi_zero_defconfig' It uses dts definition of: 'arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts' I need to modify one section of this dts file from: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 20 GPIO_ACTIVE_HIGH>; to: reg_vcc_wifi: reg_vcc_wifi { compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "vcc-wifi"; enable-active-high; gpio = <&pio 0 2 GPIO_ACTIVE_HIGH>; How can I do this and use armbian build script: compile.sh Thanks, Michal
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines