Jump to content

dbsharpe

Members
  • Posts

    118
  • Joined

  • Last visited

Posts posted by dbsharpe

  1. 3 hours ago, dual3zw said:

    Well, using Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205, on my H96 Pro H3, the wifi is not working. I took the output of dmesg on Android, it has this:

     

    Obvious question is does the file /lib/firmware/brcm/brcmfmac4334-sdio.bin exist which are part of the package linux-firmware? I don't have experience of that specific chip so can't say if the android firmware files would work in place of the armbian ones.

  2. 1 hour ago, almotra said:

     

    Without the colon and without the .d, still the same problem!

    I tried with

    - nano /etc/network/interfaces

     

    Wifi, BT & ethernet mac address have always been problematic with arm systems.
    Just google 00:15:18:01:81:31. I'd be interested to know where the aforementioned mac address comes from as I can't find it in the .dts or kernel source .h files.

    If your just using ethernet, you could use a custom boot script:

    systemctl stop NetworkManager.service
    pkill dhclient
    ifconfig eth0 down
    ifconfig eth0 hw ether 00:15:18:01:81:32
    sleep 2s
    ifconfig eth0 up
    systemctl restart NetworkManager.service
    ifdown eth0 ; ifup eth0

    may also need:

    ip rule flush
    ip rule add lookup main
    ip rule add lookup default

    before or after the code as run.

  3. 10 minutes ago, julian67 said:

    In future versions could you include a kernel headers .deb package? It would help a lot and is much preferable than the end user needing to set up a cross compile environment and repeat the work you already did. Thanks again.

    I'm prepared to be corrected but I've natively compiled the whole image including kernel under the most recent focal and bionic arm64 ubuntu distros from https://github.com/150balbes/Build-Armbian as per the authors post  so you should be able to build whatever driver needs includes & libs.

  4. 3 hours ago, gilberto said:

     

       22.116751] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104
     

     

    Assuming eth0 is working with a internet connation, try these commands in order under armbian as root (su -):

    cd /lib/firmware/brcm/
    mv /lib/firmware/brcm/brcmfmac4330-sdio.bin /lib/firmware/brcm/brcmfmac4330-sdio.bin.backup
    mv /lib/firmware/brcm/brcmfmac4330-sdio.txt /lib/firmware/brcm/brcmfmac4330-sdio.txt.backup

    wget -O brcmfmac4330-sdio.bin "https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.bin"
    wget -O brcmfmac4330-sdio.txt "https://github.com/armbian/firmware/raw/master/brcm/brcmfmac-ap6330-sdio.txt"
    rmmod   brcmfmac brcmutil
    sleep 3s ;  modprobe brcmfmac

    dmesg | grep -i ": Firmware: "

    The system should now report the following wifi firmware loaded:
    Jan 23 2013 17:46:35 version 5.90.195.114


    If this does not work, I'll describe how to determine the wifi firmware used by android but if they have the same digital file signatures, it will be no help to you.

  5. 9 hours ago, gilberto said:

    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

     

     

    Assuming wifi hardware is functional in android, I think you need to try the firmware used in android - see ( firmware_path=/...... nvram_path=...).
    I've discovered recently that for BCM4330 wifi, brcmfmac-ap6330-sdio.bin works as a firmware file (on kernel 5.6.2 and 5.7.0-rc7) and fixes recent issues with WPA enterprise so try using  brcmfmac-ap6330-sdio.bin & nvram_ap 330.txt as replacements for brcmfmac4330-sdio.bin  & brcmfmac4330-sdio.txt respectively (in /lib/firmware/brcm).

     

  6. 11 hours ago, gilberto said:

     

    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 .....

     

    Echoing what's been said, you need to find out what hardware you have and if any drivers are available.
    As an aside, the latest builds of Ubuntu focal seems to have an issue with wpa_supplicant (v2.9) on my internal adapter but its just WPA enterprise with certs, PSK seems ok.

  7. 32 minutes ago, gilberto said:

     

     

    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:

     

     

     

    Try this page

    to start with

  8. 1 hour ago, gilberto said:

    Following instructions from you and balbes150, I changed the version of the image to kernel 5.6, as for the model of my box, how can I have details. The only thing written behind it is Model TX3 Mini -H.

     

     

    TV boxes can be anything inside despite being identical so you have to dig around.
    If I was in your position, I would boot into android to determine what wifi chip you have and what firmware file it uses - see this post plus whats in /sys/class/net/.

    The type of AMLogic hardware 'details' can be determined from this post which give you an starting point for the dtb file that is required.

    Wifi & BT are not guaranteed to work as per the developer/forum thread originator. Hardware can be supported one day and then the next release a bug creeps into the kernel or dts.
    You also need to try every dtb file.

  9. 19 hours ago, gilberto said:

    I tried all the dtbs but the wifi does not work the device does not appear with the command ifconfig the hardware configuration is just below. Thank you all for your help! Right now I'm downloading the last img 5/20 to try.

     

     

    Your dmesg implies your built in wifi might be RTL8723BS but I couldnt tell you about kernel / dts support for it.
    Have a look at this post https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?do=findComment&comment=65706 (which you probably know anyway how to probe) and my other posts about hardware.
    You've not said what box/hardware you have - it may be covered by one of the other forums topics.

  10. 17 minutes ago, Beppe said:

    Thank you @dbsharpe!
    I tried some dtb, I managed to get the ethernet to work with the meson-gxbb-odroidc2.dtb file, wifi does not work and sometimes some services won't start at boot but okay anyway, I only use it as proxy and vpn.
    Any advice for buying an cheap TV Box that has good compatibility with armbian?
     

     

    Unfortunately, you can't guarantee 2 of the same box will have identical hardware so its pot luck.
    Getting a box with S905X chip historically was a good bet for Armbian but things have moved on.
    I'm looking at S905X3 based boxes even though there are some Armbian compatibility issues. Acquiring one 2nd hand from ebay may limit your losses if you get something too slow or incompatible.
    If any other forum users could make hardware recommendation, here are my key requirements:

    - Gigabit Ethernet
    - Usb ports (connect 2 external drives, mirrored with /proc/mdadm device
    - enough CPU & RAM to Run VNC server for virtual desktop for browser (thin client, cloud etc).
     Nice to have - wifi

  11. 24 minutes ago, Beppe said:

    Hello everyone!

    I have an old MiniMX (1GB Ram /8GB Rom) on which I started the latest @balbes150Armbian from SD.

    Basically it perfectly recognizes all the hardware (Even the wifi) but strangely not the ethernet.

    The dtb used is meson-gxbb-p200.dtb

    Anyone have any advice?
     


    Try /amlogic/meson-gxbb-p201.dtb and then every other /amlogic/ .dtb file. Failing that,
    use usb ethernet or try an older armbain image. Bugs creep into the kernel and dts file so things
    start and stop working.
    Also https://forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-5x/?do=findComment&comment=71063 might be some help.

  12. 1 hour ago, Didikdw said:

    Hello.. 

     

    Is there avaible armbian  5.8.7 or above for s905x debian 9 stretch

     

     

    I have the following images I can share but they are Ubuntu:

     

    Armbian_5.78_Aml-s905_Ubuntu_bionic_next_5.1.0-rc5-next-20190416-gde3c659c8-dirty_desktop.img.xz  (no zram module)
    Armbian_5.86_Aml-s905_Ubuntu_bionic_default_5.1.0_desktop_20190514.img.xz

    Armbian_5.91_Aml-s905_Ubuntu_bionic_default_5.1.0_desktop_20190708_s905_s905x_s912.img.xz
    Armbian_5.94_Aml-g12_Ubuntu_bionic_default_5.2.1_desktop_20190821.img.xz
    Armbian_5.96_Aml-g12_Ubuntu_bionic_default_5.3.0-rc8_desktop_20190910_s905x2_s922.img.xz
    Armbian_5.96_Aml-g12_Ubuntu_disco_default_5.3.0-rc8_desktop_20190910_s905x2_s922.img.xz

  13. 1 hour ago, sadek said:

    Can anyone help me? An answer at least to know if it is possible or not. Thank you

    I'm not familiar with your Wetek Play 2 hardware so I can't give a definitive answer. Generally, BT doesn't work (so get a $1 USB BT dongle) in Armbian and wifi is patchy.

    I found for my specific hardware that the firmware files are incorrect (and still are 2 years later) - see this page.


    To figure this out, you will need to boot into android, find the module load command (ie in my case insmod/modprobe dhd.ko firmware_path=/...... nvram_path=/......) and find all the firmware files. Compare what you have with what armbian /var/log/syslog reports.

  14. 22 minutes ago, amirdelta said:

     

    is there a way to compile the kernel with different drivers or wifi configs?

    I am a volunteer

    i might help in low level programming,as i usually work with microcontrollers and etc.

     

    @balbes150

    @dbsharpe

     

    To build the whole image, see https://github.com/150balbes/Build-Armbian but its a bit involved. You can google forum.armbian  + github.com/150balbes/Amlogic_s905-kernel which is just the kernel. Can't tell you what branch of this kernel source tree to use and can't say if all the required patches are there (as they may be applied in the
    Build-Armbian repo).

  15. 50 minutes ago, amirdelta said:

    hi

    after installing new version (20.05.1)

    As i usually use telnet to access the device,

     I have a long long annoying delay in responses sent from server via SSH and SFTP .

     

    Have a look at https://forum.armbian.com/topic/12162-single-armbian-image-for-rk-aml-aw/page/10/?tab=comments#comment-96403

    So that will be selinux=0 at the end of the APPEND= line in /boot/uEnv.txt

    It's only a work around but it would be nice to get a fix.

  16. 10 minutes ago, lgranie said:

    Hi,

     

    My x96max is suffering from screen tearing and I would like to update the kernel because it looks like g12a vdec is added in the last release candidate and I would like to test it.

     

    Is it possible to install the 5.6-rc7 kernel from the last armbian image to the current emmc installed with 5.6-rc5?

     

    Do I miss something?

     

    Thx,

    Laurent.

     

    I've done this (upgrading just kernel) previously and you need all the other /boot files from the 'new' (5.6-rc7 ) image. I've not worked out which files are key but you need u-boot*, emmc*, *autoscript_* etc.
    AFAIK, kernel and initrd should be named /boot/zImage & /boot/uInitrd still.
    Best to make sure the 'new' (5.6-rc7 ) fresh image boots from a fresh sdcard first and then work from that, which you've probably done.

  17. 1 hour ago, emmezeroline said:

    - update the aml_autoscript.zip from android update app.

    So nothing happen... this procedure start the recovery and here it try to install the aml_autoscript.zip

     

     

    Can't comment on your specific hardware but see point 3. of https://forum.armbian.com/topic/2419-armbian-for-amlogic-s905-and-s905x-ver-544/?do=findComment&comment=58673

    I have TWRP custom recovery on one of my tv boxes so I can issue the reboot update command from a shell in recovery.

  18. 15 minutes ago, srx said:

    I would also like to ask for headers.

     

    I really do not understand why kernel headers are not included.

    The kernel is at https://github.com/150balbes/Amlogic_s905-kernel (and therefore headers) but from previous posts by the developer, the source updates are not pushed online to github until some time afterwards. I don't think all patches are in the github kernel source as the bootable images are built with https://github.com/150balbes/Build-Armbian which seems to apply additional patches when you cook your own armbain images.
    IMHO, separate headers would be too much work but prompt up to date kernel source would be nice.

  19. 2 hours ago, Stepik said:

    Hi! Does anybody have armbian 5.34 build img for xiaomi mi box? I needed it to dump my firmware and unbrick another box. https://forum.xda-developers.com/android-stick--console-computers/amlogic/xiaomi-mi-box-s-uart-boot-log-uboot-env-t3884685/amp/

     

    Hi,

    I've uploaded it to megashares: https://mega.nz/#!N3AUWYQa!_IFkdHuTdh7Ynp9sLzaVyVj3BwDKJJRD7YFOlSEF6H0

    Size on disk is 813558412 bytes and has an md5sum of 9d8a0b0868f51a6fcf33ca2bcbad6097.

     

  20. 26 minutes ago, slaven said:

    I have 2 question:

    - Has anybody an idea why I have input lags with all kind of ubuntu server images (bionic, disco, eoan) when I operate the system via SSH (Putty over Windows) while with Debian buster images everything goes fast and smooth

    See this post about selinux and apply it to the relevant boot cmd file.
    https://forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-5x/?do=findComment&comment=91407 and check selinux is disabled with sestatus command.
    I've found .dtb, sdcard & selinux causes most issues currently with armbian builds.

     

  21. 15 minutes ago, srx said:

    For whatever reason I can not use any SD cards in linux. It will not even boot up past ROOTFS mounting point.

    All I get is different error messages.

    But at the same time bootloader can access SD cards just fine, to read kernel/ramdisk.

    Also Android can access SD cards just fine, no problems.

    Problem is only when linux kernel tries to access SD card and then it fails.

     

     


    Had the same issue at boot - https://forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-5x/?do=findComment&comment=91407

    From historical observations of the forum, the SD card is always blamed as faulty. A bug seems to have cropped in to kernel & dtb. 3.14.xx kernels don't have a problem with the sd card.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines