Jump to content

DevShanky

Members
  • Posts

    91
  • Joined

  • Last visited

Posts posted by DevShanky

  1. 17 hours ago, Tacco said:

     

    @jimbob Please, can you help me with the T95 max plus??? I'd love to make it work with Armbian but i simply CAN NOT!!! I need a step by step guide including the image you have downloaded to make it work! Please, i spent so much time trying to do that!

     

    I believe T95 max plus is S905X3. If I am correct then you may want to confirm with the instructions on the first page of this topic that mentions S905X3 boxes are not supported.

     

    If you are looking for more detailed instructions on how to run the image on development board or tv boxes, you may find this link https://docs.armbian.com/User-Guide_Getting-Started/ helpful.

     

    Hope this helps!

     

    -R

  2. 1 hour ago, Rajesh said:

     

    @dbsharpe  I loaded Android for the box (it is QBox S905X) and reviewed dmesg.  The wifi is working on the box.

     

    It appears that the firmware file used is fw_bcm40183b2.bin and nvram_ap6330.txt. I am not able to locate fw_bcm40183b2.bin on the Armbian image. Incidentally bluetooth is working.

     

    Where should I look for right firmware?

     

    This is from armbianmonitor log:

     

    [    9.537004] brcmfmac: F1 signature read @0x18000000=0x16044330
    [    9.542185] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    [    9.542369] usbcore: registered new interface driver brcmfmac
    [    9.563478] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.amlogic,p212.txt failed with error -2
    [    9.741509] random: crng init done
    [    9.741518] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.808242] Bluetooth: hci0: BCM: chip id 62
    [    9.808822] Bluetooth: hci0: BCM: features 0x0f
    [    9.810584] Bluetooth: hci0: BCM4330B1
    [    9.810601] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [    9.887357] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    [    9.887528] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    [    9.891344] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version XXX.XXX.125.104
    [   10.163224] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 184
    [   10.163232] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 188
    [   10.163236] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 192
    [   10.163240] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 196
    [   10.163244] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 200
    [   10.163248] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 204
    [   10.163252] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 208
    [   10.163256] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 212
    [   10.163260] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 216
    [   10.615857] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [   10.616562] Bluetooth: hci0: BCM: Using default device address (43:30:b1:00:00:00)

     

    http://ix.io/2toh

     

    -R

     

     

     

     Please ignore above messages. I have finally got it working. The interface was listed but it was down. I did sudo ifconfig wlan0 up and it is working now. Thank you for all the suggestions and help!

     

    -R

  3. On 7/30/2020 at 8:43 PM, Rajesh said:

    Thank you. I will try this out. 

    -R

     

    @dbsharpe  I loaded Android for the box (it is QBox S905X) and reviewed dmesg.  The wifi is working on the box.

     

    It appears that the firmware file used is fw_bcm40183b2.bin and nvram_ap6330.txt. I am not able to locate fw_bcm40183b2.bin on the Armbian image. Incidentally bluetooth is working.

     

    Where should I look for right firmware?

     

    This is from armbianmonitor log:

     

    [    9.537004] brcmfmac: F1 signature read @0x18000000=0x16044330
    [    9.542185] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    [    9.542369] usbcore: registered new interface driver brcmfmac
    [    9.563478] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.amlogic,p212.txt failed with error -2
    [    9.741509] random: crng init done
    [    9.741518] random: 7 urandom warning(s) missed due to ratelimiting
    [    9.808242] Bluetooth: hci0: BCM: chip id 62
    [    9.808822] Bluetooth: hci0: BCM: features 0x0f
    [    9.810584] Bluetooth: hci0: BCM4330B1
    [    9.810601] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [    9.887357] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    [    9.887528] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    [    9.891344] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version XXX.XXX.125.104
    [   10.163224] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 184
    [   10.163232] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 188
    [   10.163236] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 192
    [   10.163240] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 196
    [   10.163244] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 200
    [   10.163248] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 204
    [   10.163252] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 208
    [   10.163256] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 212
    [   10.163260] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 216
    [   10.615857] Bluetooth: hci0: BCM4330B1 (002.001.003) build 0000
    [   10.616562] Bluetooth: hci0: BCM: Using default device address (43:30:b1:00:00:00)

     

    http://ix.io/2toh

     

    -R

     

     

  4. 2 hours ago, jock said:

    Ok, that's interesting, you can then to put options esp8089 crystal_26M_en=0 in /etc/modprobe.d/esp8089.conf to see if it works like being modprobed manually. I'll definitely add this conf file in the final distribution.

     

    Doing some research about the es8089, it turns out that it is nothing different than an esp8266 with less pins and interfaces. esp8266 is a very cheap and flexible microcontroller that is pretty assimilated as "the arduino with wifi". Some people attached the esp8266 modules to sdio pins of raspberry pi zero to gain wifi and this esp8089 driver module is the software part to make it work: https://hackaday.com/2016/04/21/usb-less-wifi-for-the-pi-zero/

     

    Usually kernel driver source code is happy to compile on both 32 and 64 bit modes without any modification, so there good chances it will!

     

    Can you point me to the location of source code for the driver files you have uploaded?

     

    Thanks you.

    -R

  5. On 8/2/2020 at 9:48 PM, jock said:

    Good news, expecially for @nokirunner and @DaviMesquita

     

    Finally we managed to make the ssv6x5x driver work on the ssv6256p chipset and it turns out the it is also working pretty well. I removed most of the logging messages it was spamming on the dmesg log, now it is much more silent and it is ok this way. Teaming with @fabiobassa we optimized performances quite a bit, so expect ~60 Mbit/s at least on optimal setups. It works on both 2.4Ghz and 5Ghz bands.

     

    The driver will be included in the armbian images soon, but in the meantime anyone can test it.

    • Download ssv6x5x.koand put it into /lib/modules/$(uname -r)/kernel/drivers/net/wireless
    • Download ssv6x5x-wifi.cfgand put it into /lib/firmware
    • Download ssv6x5x-sw.bin and put it into /lib/firmware
    • Run depmod -a
    • Add blacklist ssv6051 in /etc/modprobe.d/blacklist-rk322x-box.conf (ssv6051 and ssv6x5x kernel modules clashes, we need to blacklist ssv6051 for the other to work)
    • Reboot!

     

    Any testing report is appreciated!

     

     

    Just wondering if this will also work on ARMv8 64 bit boards? Probably not, but if there is a similar solution for this on other boards it would be great!

     

    -R

     

  6. 4 hours ago, winit_a said:

    Yes .

    TX3 Mini onboard wifi (Cz1830) working

     

     

    You are lucky to have that working. I have a TX3 mini with ssv6501 and could never make it work.

     

    I also have a QBox (S905X) having exact same situation as you see with BCM4330. The dmsg messages are exactly same.

     

    I tried this but it does not work for me.

    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

     

    The config.txt has these content:

    PM=0
    nv_by_chip=1 \
    43362 1 nvram_ap6210.txt
    43430 0 nvram_ap6212.txt

     

    So I tried linking nvram_ap6210.txt and nvram_ap6212.txt but it doesn't help.

     

    Guess there is more to it than I can perceive.

     

    -R

     

  7. 17 hours ago, winit_a said:

    dmesg -w

    Jul 28 02:36:10 localhost kernel: [    9.188333] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
    Jul 28 02:36:10 localhost kernel: [    9.188464] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
    Jul 28 02:36:10 localhost kernel: [    9.192378] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104

     

    try

    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

     

    it work  

    thank you.

     

    Did you mean to say you got the onboard wifi working on the device?

     

    -R

  8. 53 minutes ago, dbsharpe said:

     

    I've had one of these boxes but didn't run Armbian on it. The one I had was p281 and the copy of Android dmesg I have seems to indicate a TLL901X chip. I sold it as wifi support seemed lacking on libreelec.
    The Android system backup I have has many wifi chips to choose from in /system/lib/libhardware_legacy.so (according to /usr/bin/strings).
    You could start by looking at this post if your lucky and it is actually a broadcom chip.

    Also, you need to look in dmesg or /var/log/syslog for "firmware" regarding any load messages.

     

    Tanix TX3 mini uses SSV6501 for wifi. The vendor I believe does not exist now and no one supports the driver for mainline kernel. It is too much work and very flaky and unstable I believe. Use external USB wifi and you should be good. Or use legacy kernel if it helps.

     

    -R

     

  9. 21 hours ago, balbes150 said:

    ver 20200721-dev kernel 5.8-rc6

    @balbes150 I tried this on Tanix TX6 yesterday.  Sharing some initial test data compared to the earlier 5.7.7 image I had used:

     

    1, Onboard wifi is not working. It was working with earlier 5.7.7 images. Wi-fi dongle 

    2. Sound card is not configured. Was working in previous images.

    3. As expected with kernel 5.8 CPU Speed and governor is functional now. There is remarkable improvement in controlling SOC temperature at the cost of performance. htop has stopped showing CPU temperature so I had to use lm-sensors.

     

    -R

  10. 12 hours ago, AzuriAdore said:

     

    Thanks for the help,

     

    Unfortunately, even on an older build of Armbian (20200314), I was not able to make it work.

    The output for that script file was many "incorrect syntax" errors for the amixer commands:

     

    amixer -c "$1" sset "$2" "$3" $parm
    amixer -c "$1" sset "$2" $parm

     

    I'm wondering if the amixer commands parameters changed from a version update or something?

     

    Check the card name is correct. You can use aplay -L to verify the card name in the script.

     If it still does not work, you can try with alsamixer on the device.

     

    -R

  11. 6 hours ago, Werner said:

    I am pretty sure that @Rajesh said that and not me ;)

     

    HDMI Display - yes

    HDMI Audio - yes

    LED display - No. This will need some additional work.

    2.4 and 5GB wifi - yes

    Bluetooth - not tested but I think it should work with right drivers.

    Remote - I am sure this an be configured with lirc or something similar

    GPU - not sure

    Boot logo - no [ I tried using sunxi patches from @Igor 's master branch but it did not help. ]

    Plymouth - yes

    Allwinner H6 is ARMv8  architecture so yes 64 bit version of Armbian is required and it works quite well in my opinion except for temperature issues on H6 with that particular box or in general. 

     

    -R

     

  12. 16 hours ago, Rajesh said:

     

    I have used this dtb file 'sun50i-h6-tanix-tx6.dtb' which I believe should be the one to be used for this device. I think I will try one of the other H6 boxes available in the market. Will probably need the right dtb for that too!

     

    You sure know the topic in depth. Thank you for these insightful information,

     

    -R

     

     

    @hexdump It looks like the CPUFreq (DVFS) support for H6 will be in kernel 5.8 as per the information available here: https://linux-sunxi.org/Linux_mainlining_effort#Status_Matrix

     

    We can hope for some improvement when that happens.

     

    -R

  13. 1 hour ago, dante6913 said:

    Hi , dos anyone knows if is possible to set screen resolution 1366X768@60 (my tv resolution).

    I always get 1360x768@60. xrand is not a option because I'm in wayland.

    Thanks

     

    You can query all supported resolution on the device using xrandr. I think the command is 'xrandr -q'. But you may want to check the manual for xrandr.

     

    -R

     

  14. 1 minute ago, hexdump said:

    @Rajesh - if you really reach > 130 c celsius then i think either the thermal sensor is not properly calibrated and/or the cpu-throttle-cooling-device is not/not properly defined in the dtb - usually the cpu clock is reduced when the cpu gets to hot to cool down ... on the h6 without proper cpu voltage handling (like in tv boxes) this down clocking might not be aggressive enough ... not sure if something like this is in @balbes150 tree already and if it is it might still be not aggressive enough for h6 tv boxes as they have to be clocked down massively to really get the temperature down a bit as the voltage stays by cheap design the same all the time ...

     

    I have used this dtb file 'sun50i-h6-tanix-tx6.dtb' which I believe should be the one to be used for this device. I think I will try one of the other H6 boxes available in the market. Will probably need the right dtb for that too!

     

    You sure know the topic in depth. Thank you for these insightful information,

     

    -R

     

  15. On 7/10/2020 at 1:45 PM, balbes150 said:

    Throw in the trash what is on the right photo (the plastic cover with the plate together). And use the TX6 without a cover and it should stand as on the left photo (so that the radiator was at the top and there was free air access). If the load is heavy, add a fan. If I run a large load (image compilation) on a TX6, I make sure to turn on the USB fan.

     

    @balbes150 I have tested this with open box and with heat sink and radiator, and the temperature hovers around 80 degrees I have been testing it for just few minutes. I think it is still at the higher side so I think fan is the only option. I am wary of adding moving parts in the box. Sooner or later it will need replacement.

     

    BTW it is interesting in the closed box scenario the temp reaches up to 139 degrees C within 20-25 minutes of running a movie.

     

    image.png.5c1acfb36fda6b6383c0040fd64511c9.png

     

    image.thumb.png.700f2913919296528e6c596801dcd8b3.png

     

    As per your earlier quote in this forum you have mentioned you plan to focus on Allwinner and RockChip SOCs only going forward however Amlogic SOCs are quite stable and have decent performance. I have tried your images on Tanix TX3 Mini (S905W), MeCool M8S Pro (S912), Tanix TX5 Mini (S905X), T95U Pro and T95Z Pro both S912. They work great on all these boxes. 

     

    I am sure you may have solid reasons for having limited support for Amlogic going forward. If you can share some of your thoughts, it will help with choosing for future.

     

    I have used Allwinner Orange Pi Plus 2e also. It is a good device but Plymouth does not work well on this (ARMv7 32-bit).  Plymouth has issues with 32-bit images I think, based on my experience.

     

    As always thank you great job with these images.

     

    -R

     

  16. 7 minutes ago, balbes150 said:

    Show a photo of the cooling system.

     

    Now, the vast majority of TV boxes use an idiotic and disgusting version of placing the Board and radiator-upside down (the radiator is facing down). Only a complete asshole and idiot could come up with and use such a scheme for placing the cooling system. I would kill such engineers for such a decision (they are not engineers, they are complete morons and bastards).

     

    To fix it, it is necessary to remove the housing cover and turn the entire structure together with the housing up with the radiator  and add fan.

     

    These are the images:

    image.thumb.png.197ebb94ed71ee1007a40a1b05a5f6cb.pngimage.thumb.png.e700d386b2771461425ba3b02bb27f7e.png

     

    I forgot to mention that the part with the board is top portion and the metal plate is bottom portion. It is I think upside down as you have mentioned.

     

    -R

     

  17. 1 hour ago, Werner said:

    Simply build a kernel package and then extra the created source debian package and check that particular file :)

     

    I checked the source code and the patch is already applied.

    image.png.48ac4e962009b77f9dc81d665c4749b6.png

    image.png.34741a4c436e148cc6a09871075620c5.png

     

    This is not a good news if the temp displayed is correct.  Or the patch is not working as expected. I wish there was a way to stick a thermometer in there to measure the real temperature and verify :)

     

    -R

     

     

     

  18. 4 hours ago, balbes150 said:

    Updated specialized images for Allwinner H6 to version 20.07. They now use the 5.7.7 kernel and u-boot-2020.07. The new u-boot-2020.07 (catalog 20200709 on the site) for Allwinner H6 is also available as an additional file for use with universal images from this theme.

     

    @balbes150 I tried this image on Tanix TX6 which has H6 and everything is working great including on board wifi. Added the new u-boot also.

     

    As per the documentation here on Ambian https://docs.armbian.com/Hardware_Allwinner-H6/ the CPU of H6 is set to clock at highest possible speed. Is there a way to use CPU governor on these images? I tried to edit /etc/default/cpufrequtils to limit the freq to 1.5 MHz but could not perceive any visible effect. The CPU gets so hot (above 90 degrees C) that we can prepare coffee on the box at slightest provocation, like play a movie or something. The device is well ventilated and has alluminium heat sink with an additional metal plate on the top.  It is a good device and good Armbian image if the temp can be controlled. Let me know if I can try something to address this.

     

    -R

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines