gilberto

Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gilberto's Achievements

  1. I am following your steps and doing the same process here since I use a .dtb khadas different from yours. I'll post the results, sorry for the delay in responding. Thank you for sharing the method used. in my case I just need to change the wifi in the tree change the driver used by the kernel really my card is not broadcom BCM4330, I believe it is AP6330. I will try to figure out how to make it load the correct fimware once the kernel driver is the same for both wifi cards brcmutil brcmfmac I need to make him load the AP6330 fimrware then we will have a correct dtb for this card. Give me your contact, you work with this ..... I thank @ unusual user and @dbsharpe for their guidance.
  2. As a certainty it is not my case because I did not design the projects. But I want to go the way you described the details so well. I think I understood the majority thanks a lot for describing, it gave a better idea of how things work. Thank you very much for your time. I intend to use as a model meson-gxl-s905x-khadas-vim.dtb, because the 3 amlogic that I have work with this model differ only in wifi and bt. many plates arrive in Brazil like these, I believe because they must be very cheap. I would like to do the dtb in the correct way. I can try I would be very happy if I did this job. I don't know if my knowledge allows me but I will try ... 1 step maybe is to get the android dtb and compare it with the dtb I use. to change the wifi fields ... I will study ....
  3. Yes, I'm Brazilian from Curitiba. I was surprised to see someone from Brazil here ... How did you access the data on Android. I try to mount the partitions and it is not possible. And installing shell as root on my boxs905's Android, I don't have access to the kernel folders or firmware. I thought about using the dd command and creating an image and mounting with mount -o loop android.img / mnt. Can you describe how you did it ...... I'm interested and get the Android firmware, just like you did...... root@fenix:/home/fenix# cd / root@fenix:/# mount /dev/mmcblk1 /mnt/ NTFS signature is missing. Failed to mount '/dev/mmcblk1': Argumento inválido The device '/dev/mmcblk1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? root@fenix:/# gparted ====================== libparted : 3.2 ====================== /dev/mmcblk1: unrecognised disk label
  4. Yes. You are absolutely correct. My device tree is shown below. the dtb file can be transformed into dts and edited and recompiled, but unfortunately I don't know how to do this, I would love to learn. This would be the correct way to do it. Because my dtb file is wrong and we changed the firmware because of this. Do you have any idea how to do this........... my file .dtb used dtb_name=/dtb/meson-gxl-s905x-khadas-vim.dtb I will convert it to dts and pass the file to try to fix and make a new dtb in the correct way to help other users. I will send the text of the file to analyze together and ask for help from the forum staff.
  5. I did as you said, I restored the default firmware, it stopped working again, only the master version in development works. Thank you. [ 496.387721] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Jan 23 2013 17:46:35 version 5.90.195.114 FWID 01-cafa6b3e including i upgraded apt-get update , apt-get upgrade and upgraded the fimware full package and it didn't work!
  6. the solution is further down this forum, I am Gilberto and staff helped me solve this problem .....
  7. thanks for the guidance I managed to make it work just below the topic ...
  8. Finally wifi worked broadcom 4330, can scan the network, step everything below, described by the great friend dbsharpe. It was just a firmware update. Without help it would be very difficult to know. I need to learn to think in order to solve other similar things. I really appreciate everyone's help. Because the latest 5.7.0-rc7 kernel does not have compatible firmware, it would be really nice to have a script to update them automatically. I believe that there is otherwise I could make one to collaborate. root@arm-64:/home/fenix# cd /lib/firmware/brcm/ root@arm-64:/lib/firmware/brcm# mv /lib/firmware/brcm/brcmfmac4330-sdio.bin /lib/firmware/brcm/brcmfmac4330-sdio.bin.backup root@arm-64:/lib/firmware/brcm# mv /lib/firmware/brcm/brcmfmac4330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt.backup root@arm-64:/lib/firmware/brcm# wget -O brcmfmac4330-sdio.bin "https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.bin" --2020-06-11 17:52:07-- https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.bin Resolving github.com (github.com)... 18.231.5.6 Connecting to github.com (github.com)|18.231.5.6|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/armbian/firmware/master/brcm/brcmfmac-ap6330-sdio.bin [following] --2020-06-11 17:52:07-- https://raw.githubusercontent.com/armbian/firmware/master/brcm/brcmfmac-ap6330-sdio.bin Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.92.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.92.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 223581 (218K) [application/octet-stream] Saving to: ‘brcmfmac4330-sdio.bin’ brcmfmac4330-sdio.b 100%[===================>] 218,34K --.-KB/s in 0,1s 2020-06-11 17:52:08 (1,45 MB/s) - ‘brcmfmac4330-sdio.bin’ saved [223581/223581] root@arm-64:/lib/firmware/brcm# wget -O brcmfmac4330-sdio.txt "https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.txt" --2020-06-11 17:52:23-- https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.txt Resolving github.com (github.com)... 18.228.52.138 Connecting to github.com (github.com)|18.228.52.138|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/armbian/firmware/master/brcm/brcmfmac-ap6330-sdio.txt [following] --2020-06-11 17:52:24-- https://raw.githubusercontent.com/armbian/firmware/master/brcm/brcmfmac-ap6330-sdio.txt Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.92.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.92.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1522 (1,5K) [text/plain] Saving to: ‘brcmfmac4330-sdio.txt’ brcmfmac4330-sdio.t 100%[===================>] 1,49K --.-KB/s in 0s 2020-06-11 17:52:24 (3,13 MB/s) - ‘brcmfmac4330-sdio.txt’ saved [1522/1522] root@arm-64:/lib/firmware/brcm# rmmod brcmfmac brcmutil root@arm-64:/lib/firmware/brcm# modprobe brcmfmac root@arm-64:/lib/firmware/brcm# dmesg | grep -i ": Firmware: " [ 10.408669] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104 [ 496.387721] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Jan 23 2013 17:46:35 version 5.90.195.114 FWID 01-cafa6b3e root@arm-64:/lib/firmware/brcm# https://raw.githubusercontent.com/armbian/firmware/master
  9. unfortunately it didn't work, i don't know if i did something wrong. the dmesg command shows errors in the kernel, my last attempt is to copy the android firmware as it works the same. kernel messsages [ 22.112863] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4 [ 22.113049] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 22.116751] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104 the other errors is [ 35.332338] ieee80211 phy0: brcmf_p2p_create_p2pdev: timeout occurred [ 35.332361] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 as I said earlier, the wlan0 device is not able to scan wifi networks!!!!! I am grateful to dbsharpe and Balbes for their good bonuses in responding and helping the community! I hope to learn to be useful here too.
  10. My commands in shell root@arm-64:/usr/lib/firmware/brcm# cp brcmfmac-ap6330-sdio.bin brcmfmac-ap6330-sdio.bin-bak root@arm-64:/usr/lib/firmware/brcm# cp brcmfmac4330-sdio.bin brcmfmac-ap6330-sdio.bin root@arm-64:/usr/lib/firmware/brcm# cp nvra ( there aren't the file nvram_ap330.txt) but...... but I'll create it by copying the same root@arm-64:/usr/lib/firmware/brcm# cp brcmfmac4330-sdio.txt nvram_ap330.txt root@arm-64:/usr/lib/firmware/brcm# uname -a Linux arm-64 5.7.0-rc7-arm-64 #20.05.6 SMP PREEMPT Fri Jun 5 20:29:42 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux I will try to restart the system if it does not work I will try to copy the Android firmware that you indicate.
  11. I'm trying to open the box and take a picture of the shipset wifi, I don't want to destroy it. I will lose the warranty. the chipset appears to be..... Broadcom BCM4330 https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx To check the status of wireless card, run rfkill list nothins is blocked hardware and software ok I am not an expert, as there are drivers that cannot work at 5Ghz only at 2.4Ghz, perhaps changing the search channels. or the wifi region with the command The current regdomain can be set to the United States with: # iw reg set US in this moment I'm opening the box taking care not to destroy the same 2 soluctions usb wifi or ndiswrapper with windows driver thank you for reply
  12. broadcom bcm4330 is chipset I tried many drivers sudo modprobe b43 sudo modprobe wl sudo modprobe brcmsmac brcmsmac , only this driver works and finds the device wlan0 but does not scan the network, I thought about a wifi region and use wpasupplicant but it didn't work! I will try use the windows driver by ndiswrapper !!!! I found some information here: https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
  13. thank you very much for responding, I did the procedure below for my wlan0 device is gone(disapear) To fix, use mv /lib/firmware/brcm/brcmfmac4330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt.old ln -s /lib/firmware/brcm/nvram_ap6330.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt in a shell on the target as root. Not sure where this Ubuntu distribution fault has crept in. nvram_ap6330.txt is actually the same file as android system:/etc/wifi/40183/nvram.txt and although not perfect, works better! root@arm-64:/home/fenix# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 2804:14c:87c0:c3ca:215:18ff:fe01:8131 prefixlen 64 scopeid 0x0<global> inet6 2804:14c:87c0:c3ca:736a:38aa:be2a:14c8 prefixlen 64 scopeid 0x0<global> inet6 fe80::215:18ff:fe01:8131 prefixlen 64 scopeid 0x20<link> ether 00:15:18:01:81:31 txqueuelen 1000 (Ethernet) RX packets 6409 bytes 6392279 (6.3 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3300 bytes 498137 (498.1 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 22 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 26 bytes 3529 (3.5 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 26 bytes 3529 (3.5 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I will restore it as it was before. If you know of something or how to buy box s905 compatible with armbian. the driver of this wifi is active in the kernel tree, but in the last version of this post it doesn't work. I think it's important to be able to make it work .....
  14. staff can help me ?, I have a project in Brazil(www.sistemafenix.com.br) and replace my raspberry with amlogic s905. I have had many problems with wifi. I bought 30 boxes. Below I present the information find the wifi but do not find any wifi network. With the ifconfig command I was able to view wlan0 but found nothing with the command: This is the last version: root@arm-64:/home/fenix# uname -a Linux arm-64 5.7.0-rc7-arm-64 #20.05.6 SMP PREEMPT Fri Jun 5 20:29:42 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux root@arm-64:/home/fenix# root@arm-64:/home/fenix# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 2804:14c:87c0:c3ca:736a:38aa:be2a:14c8 prefixlen 64 scopeid 0x0<global> inet6 fe80::43d9:c6e0:4c88:1d03 prefixlen 64 scopeid 0x20<link> inet6 2804:14c:87c0:c3ca:1192:5116:ca74:fa2c prefixlen 64 scopeid 0x0<global> ether 00:15:18:01:81:31 txqueuelen 1000 (Ethernet) RX packets 12444 bytes 10137349 (10.1 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6605 bytes 1048422 (1.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 25 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 425 bytes 35625 (35.6 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 425 bytes 35625 (35.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether e0:76:d0:d6:3d:4d txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@arm-64:/home/fenix# I can see wlan0, but....... root@arm-64:/home/fenix# iwlist wlan0 scan wlan0 No scan results root@arm-64:/home/fenix# lsmod Module Size Used by fuse 139264 3 bnep 28672 2 zram 45056 2 nls_ascii 16384 1 brcmfmac 389120 0 joydev 28672 0 hci_uart 126976 0 brcmutil 24576 1 brcmfmac btqca 16384 1 hci_uart btrtl 20480 1 hci_uart btbcm 24576 1 hci_uart btintel 32768 1 hci_uart cfg80211 417792 1 brcmfmac crct10dif_ce 20480 1 meson_vdec 81920 0 lima 69632 0 gpu_sched 36864 1 lima ir_nec_decoder 16384 0 bluetooth 446464 13 btrtl,btqca,btintel,hci_uart,btbcm,bnep v4l2_mem2mem 45056 1 meson_vdec videobuf2_dma_contig 24576 1 meson_vdec videobuf2_memops 20480 1 videobuf2_dma_contig rc_khadas 16384 0 videobuf2_v4l2 36864 2 meson_vdec,v4l2_mem2mem ecdh_generic 16384 1 bluetooth ecc 32768 1 ecdh_generic meson_ir 16384 0 videobuf2_common 65536 3 meson_vdec,videobuf2_v4l2,v4l2_mem2mem rfkill 40960 6 bluetooth,cfg80211 dw_hdmi_cec 16384 0 rc_core 57344 4 rc_khadas,ir_nec_decoder,meson_ir videodev 294912 4 meson_vdec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem ao_cec 16384 0 mc 61440 4 videodev,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem snd_soc_simple_amplifier 16384 1 display_connector 16384 0 sch_fq_codel 20480 3 ip_tables 32768 0 x_tables 45056 1 ip_tables ipv6 622592 50 nf_defrag_ipv6 24576 1 ipv6 gpio_keys_polled 16384 0 adc_keys 16384 0 armbianmonitor -u System diagnosis information will now be uploaded to http://ix.io/2ozF Please post the URL in the forum where you've been asked for. I need to produce many boxes with armbian but I need security because wifi chipsets change all the time, I would like to be able to buy hardware compatible with Armbian and its versions. it has been very difficult. Guys can give me a help. I will be very grateful and desperate because I have many boxes of this model. I saw that on Android the module used by the kernel and dhd.ko on kernel 3.14. What should I do? The last time I returned 5 box s905 with a problematic wifi SV6051P driver, I changed and got this model. This time I'm 30 and I was sure the wifi would be compatible and I can't return it. help me people!
  15. I am sorry you are right, I just wanted to help I discovered this in my research. The company making the SV6051P wifi chip went bankrupt. So you won't get any new Android OS with that driver or old ones where the driver didn't exist. Linux kernel developers also said they won't update the driver for newer kernels and mainline it because it's in a terrible state and it must go extinct. It's a very bad idea to buy such no-name devices, now later on you sit with problems.