Jump to content

Recommended Posts

Posted

Hi @Hqnicolas first of all, thanks for all yours and other efforts on this project. I had an eye on it a few months back but only this week did I dig out my two boxes..

 

A few questions for you if you don't mind answering?

 

I have two boxes, 2GB version I was using for development (Android image) and then full fledged 8GB version. Now, because the boxes were in storage for a year or two I thought I had the 4GB and 8GB version, do you happen to have somewhere the Bootloader image for the 2GB model? I've done a google but can only find the 4 and 8GB version. I was experimenting with Armbian and kinda bloated the image so I'll start from scratch. 
 

I went ahead and flashed Armbian on both now without issues, however, I've noticed the Wifi is quite slow on it - around 120-240KB/s download and ping to `1.1.1.1` gives around 30 - 300ms, I've had `top` going at the same time and don't see any high CPU utilization. The Wifi driver is something like `bcmrfm` or alike. Is this normal?

 

I've got my 2GB version hooked up to serial out. I do remember seeing an output in plain English however I can't remember the settings, would you be able to tell me? I've tried the common baud rates with Minicom but no matter what I do I just get a garbled output. 

 

The link from previous messages for the SDCard holder is now invalid, could you point me to one that will fit nicely on the board?


Finally, from your last post, I see you got the front display displaying data, could you point me in the right direction to code for this? Either C++ or Python will do. I do plan on a monitor for eth, wifi and with time + load + temp possibly.

 

Thanks,
Robert.

 

Posted

thanks for getting in touch, looks like you're the first one with these 2gb boxes

 

15 hours ago, Robert Steinman said:

do you happen to have somewhere the Bootloader image for the 2GB model? I've done a google but can only find the 4 and 8GB version. I was experimenting with Armbian and kinda bloated the image so I'll start from scratch. 

 

I think the memory trainer for 4gb and 2gb are the same, do stress and performance tests, if crash occurs you really need a new memory trainer for 2gb, you can find an example of memory trainer on this @mvpwar logs

 

15 hours ago, Robert Steinman said:

I was experimenting with Armbian and kinda bloated the image so I'll start from scratch. 


do not use third party images, not even mine, always get the official ones
 

 

15 hours ago, Robert Steinman said:

I went ahead and flashed Armbian on both now without issues, however, I've noticed the Wifi is quite slow on it - around 120-240KB/s download and ping to `1.1.1.1` gives around 30 - 300ms, I've had `top` going at the same time and don't see any high CPU utilization. The Wifi driver is something like `bcmrfm` or alike. Is this normal?

 

This is really an unknown, I bought 4 boxes of this model in 2022, since then there have been changes in the manufacturer's list of materials, the wifi driver is not configured for a reason, the reason is that the wifi has changed several times, you can install the 2022 driver or you can look for users @dfahren who have a different chip here, or even detect a new chip unknown to everyone

 

On 6/20/2023 at 8:56 PM, Hqnicolas said:

 

Wifi Driver:

https://drive.google.com/file/d/1B1LmAylalETcnBEWiPiJHL0MjK5xlIV4/view?usp=sharing

 

Front Panel Display: Tutorial 
Repo: https://github.com/jefflessard/tm16xx-display

 

Or Just Live install Wifi Driver:

cd /lib/firmware/brcm/
sudo wget https://github.com/CoreELEC/brcmfmac_sdio-firmware-aml/raw/master/firmware/brcm/fw_bcm4335b0_ag.bin
sudo ln -s fw_bcm4335b0_ag.bin brcmfmac4335-sdio.h96-TVbox,rk3566.bin
sudo reboot now

nmcli dev wifi

 

Quote

sudo cat > /lib/firmware/brcm/brcmfmac4335-sdio.txt << "EOF"
# bcm94335wlcspMS_ES50_RC171p24p23_04052013_AM_mdfy_PAparam.txt -- 4/5/2013 by Murata, based on bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt, changed PA parameters and txidxcap parameters and ccode.
# bcm94335wlcspMS_ES50_RC171p24p20_04022013_AM.txt -- 4/2/2013 by Broadcom Corporation
# Use with AARDVARK_REL_6_30_171_24_23 -- Murata BCM4335 WLCSP 11AC Module
# Sample variables file for Murata Type-XJ ES5.0 (0x00 0x11) -- bcm94335wlcspMS_AM_P400.txt as original
sromrev=11
boardrev=0x1500
boardtype=0x064b
boardflags=0x10401001
boardflags2=0x0
#updated boardflags3 for forcing to enable external LPO
boardflags3=0x0800c08b
macaddr=00:90:4c:c5:12:38
#ccode modified by Murata
#ccode=0
ccode=XS
regrev=0
antswitch=0
pdgain5g=1
pdgain2g=1
tworangetssi2g=0
tworangetssi5g=0
femctrl=4
vendid=0x14e4
devid=0x43ae
manfid=0x2d0
#prodid=0x052e
nocrc=1
#otpimagesize=502
xtalfreq=37400
extpagain2g=1
extpagain5g=1
rxgains2gelnagaina0=2
rxgains2gtrisoa0=6
rxgains2gtrelnabypa0=1
rxgains5gelnagaina0=3
rxgains5gtrisoa0=5
rxgains5gtrelnabypa0=1
rxchain=1
txchain=1
aa2g=1
aa5g=1
ag0=0
ag1=0
tssipos5g=1
tssipos2g=1
#PA parameters (2G20M/2G40M/5G20M/5G40M/5G80M)
#PA parameters modified by Murata
#pa2ga0=-208,6208,-764
#pa2ga1=-203,6429,-793
#pa5ga0=-167,5736,-685,-157,5669,-670,-157,5548,-665,-141,5621,-664
#pa5ga1=-101,6543,-735,-99,6452,-731,-147,5743,-695,-75,6468,-723
#pa5ga2=-172,5903,-708,-160,5868,-698,-113,6264,-722,-125,5915,-684
pa2ga0=0xff31,0x1759,0xFD1D
pa2ga1=0xff35,0x18BB,0xFCEC
pa5ga0=0xff78,0x1715,0xFD49,0xff89,0x1714,0xFD57,0xff86,0x1652,0xFD62,0xffa9,0x1760,0xFD5E
pa5ga1=0xff56,0x1596,0xFD5F,0xff88,0x1764,0xFD45,0xff89,0x1632,0xFD65,0xff69,0x160E,0xFD49
pa5ga2=0xff5a,0x1667,0xFD4E,0xff5f,0x15F7,0xFD5E,0xff5a,0x1531,0xFD68,0xff6e,0x1587,0xFD6A
# Default Target Power for 2G -- 17dBm(11)/14dBm(54)/13dBm(MCS7,MCS8)/16dBm(6,MCS0)
maxp2ga0=74
cckbw202gpo=0
cckbw20ul2gpo=0
dot11agofdmhrbw202gpo=0x6666
ofdmlrbw202gpo=0x0022
mcsbw202gpo=0x88866662
# Default Target Power for 5G -- 14dBm(54)/13dBm(HT20-MCS7,VHT20-MCS8)/12dBm(HT40-MCS7,VHT40-MCS9)/11dBm(VHT80-MCS8/MCS9)/16dBm(6,20HT-MCS0)
maxp5ga0=74,74,74,74
# Low
mcslr5glpo=0
mcsbw205glpo=0x88866662
mcsbw405glpo=0xAAA88884
mcsbw805glpo=0xCCCAAAA6
# Mid
mcslr5gmpo=0
mcsbw205gmpo=0x88866662
mcsbw405gmpo=0xAAA88884
mcsbw805gmpo=0xCCCAAAA6
# High
mcslr5ghpo=0
mcsbw205ghpo=0x88866662
mcsbw405ghpo=0xAAA88884
mcsbw805ghpo=0xCCCAAAA6
#20MHz High Rate
sb20in40hrpo=0x0
sb20in80and160hr5glpo=0x0
sb20in80and160hr5gmpo=0x0
sb20in80and160hr5ghpo=0x0
#40MHz High Rate
sb40and80hr5glpo=0x0
sb40and80hr5gmpo=0x0
sb40and80hr5ghpo=0x0
#20MHz Low Rate
sb20in40lrpo=0x0
sb20in80and160lr5glpo=0x0
sb20in80and160lr5gmpo=0x0
sb20in80and160lr5ghpo=0x0
#40MHz Low Rate
sb40and80lr5glpo=0x0
sb40and80lr5gmpo=0x0
sb40and80lr5ghpo=0x0
dot11agduphrpo=0x0
dot11agduplrpo=0x0
tssifloor2g=80
tssifloor5g=160,190,240,260
#rpcal:use with 171.17 or later, compensates filter ripple
rpcal2g=0x0
rpcal5gb0=0x0
#cckdigfilttype[0-7] 0:default
cckdigfilttype=2
phycal_tempdelta=25
#GPIO 0 for SDIO HW OOB interruption
muxenab=0x10
#sd_gpout=0
#sd_oobonly=1
rssicorrnorm_c0=-3,-2
rssicorrnorm5g_c0=-1,0,-3,-1,0,-3,-3,-2,-4,-3,-2,-4
#txidxcap2g and txidxcap5g modified by Murata
#txidxcap2g=32
#txidxcap5g=44
txidxcap2g=36
txidxcap5g=36
paparambwver=1
EOF

 

sudo rmmod brcmfmac_wcc brcmfmac brcmutil
modprobe brcmfmac

 

 

15 hours ago, Robert Steinman said:

I've got my 2GB version hooked up to serial out. I do remember seeing an output in plain English however I can't remember the settings, would you be able to tell me? I've tried the common baud rates with Minicom but no matter what I do I just get a garbled output. 

 

About the TTL debug: (link)
windows debug (link) (link)

 

15 hours ago, Robert Steinman said:

The link from previous messages for the SDCard holder is now invalid, could you point me to one that will fit nicely on the board?

search by image with Ai tool on aliexpress
this topic have images from sd-card holder

 

Quote

image.thumb.png.cc0101e11b230ac131e24b862d4632ca.png

 

 

15 hours ago, Robert Steinman said:

Finally, from your last post, I see you got the front display displaying data, could you point me in the right direction to code for this? Either C++ or Python will do. I do plan on a monitor for eth, wifi and with time + load + temp possibly.

 

For this question we need to ask @Jean-Francois Lessard he was in contact with this drivers for a while. (Link)
this display will be enabled on kernel 6.18+ if you want to mess with experimental images follow this
I only got involved in this because there were many interested users, I wasn't one of them

 

Posted (edited)
Am 3.10.2025 um 17:32 schrieb Hqnicolas:

 

@Hqnicolas I'm a bit late because I have overlooked your request for testing.
Now I can confirm that the AuxDisplay works correctly with my H96_tvbox_3566 (with AIC 8800 wlan chip).
Thank you for your effort.

Edited by guenter
Posted

@Hqnicolas Thanks for your response and apologies being so slow to reply busy IRL and then I forgot I used Google to sign up to this site.... yeah...

 

Okay thanks - I thought it would just be a changing of timing so to speak on x86. In this case if I plan to develop for something I also go for the lowest variant of it, ofc, at this time both were Android. Rather code closer to the "metal" than bringing a whole web browser in to say "hello world"

 

The images came from a link on this thread; either yourself or another member. 

 

Yeah I noticed a certain lag on the ethernet with 1GBit connection -- it has all the resources available yet it pings hard and downloads fluctuate. My plans for this Armbian is WiFi Repeater (router is broadcom and no Open- or DD-WRT alternative) to relay the signal. I don't want mesh, I don't need a TPLink account. The box will provide some services to Orange/Raspberry Pi systems.

 

Right. I'm against AI :P So last thing I'd do. A link was provided but as I said expired. I'm sure there's differences in SDCard holders so didn't want to order two of the wrong type!

 

Ah obrigado! I think your link may have solved it. I'll look in to it a bit in the future. Amazing how an Firestick turned me to Chinese  TV boxes which are quite capable once you get rid of the Spyware.

 

What I will say is, I think these boxes may have poor solder joints on the WiFi sub board, was hoping it was a misconfiguration my 8G model no longer recognizes the Wifi board, when I get the SD card holders I'll reflow it ad see. dmesg, lsusb, lspci know nothing of it. my 2G box the WiFi is fine.

 

Regards

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines