sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
<gavlee>
ok, i've got the air on a different port now can ssh in... in the LE autostart.sh i put a sleep 45s then the ethtool command posted... when reboot I see dhcp release then lots of discover/offer until the sleep times out and then I get an address
<gavlee>
i put docker and other tools on there before i moved the box into other room so at least I can do some stuff... I really appreaciate all your help with this
buzzmarshall has quit [Remote host closed the connection]
<gavlee>
thanks
<chewitt>
gavlee: so it's working with the change of switch port/cable?
<chewitt>
no autostart.sh hacks?
<chewitt>
the BT firmware is embedded in the latest images, but looks like still an issue to track down
<gavlee>
chewitt: only after the ethtool hack I think
<gavlee>
one thing puzzle me i don't get an address in textmode?
<gavlee>
does that mean single user or the like
<chewitt>
nope, the only difference is we don't start the kodi.target in systemd and we route console to screen
<chewitt>
hardware wise it's all the same
<gavlee>
so should get an address even in textmode is enabled?
<chewitt>
yes
<gavlee>
hm
<chewitt>
what does "connmanctl services" show?
<gavlee>
funky
gavlee has quit []
gavlee has joined #linux-amlogic
<gavlee>
*AR Wired ethernet_020000132801_cable
<gavlee>
some issue here went to check chat log but says the ssl cert expired on whitequark.org
<gavlee>
my irc client glitch..
<gavlee>
i'm currently without textmode because never seemed to get an address when I booted with that, takes some cpu and headless while in that so left it
<gavlee>
just glad it's running and can poke around really :D
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #linux-amlogic
<gavlee>
tried the last dtb posted connected to the gigabit port without autostart.sh hacks. no address. latest dmesg http://dpaste.com/1WYFSP1 moved it back on other net for now but don't see why that stop getting address, other that it not reaching gigabit speeds on this segment
ldevulder has quit [Quit: Leaving]
<gavlee>
it may do but connecting it directly to that port I know for sure
<xdarklight>
that is the code of the wifi part, but since the baudrate blob value is the same as on RTL8723BS (which translates to 1.5Mbit/s) I'm going to assume that this is all the same
<chewitt>
all the broadcom chips, and that qualcom device, seem to run at 200000
<xdarklight>
the part I find worrying is that the RTL8822CS config blob doesn't have "flow control" enabled
<chewitt>
how do you decode the config blob?
<xdarklight>
two steps: 1) there's a "rtlfw" tool in bluez-utils
<xdarklight>
that prints for the config blob RTL8822CS (extract only): len=16 offset=000c,{ 02 80 92 04 50 c5 ea 19 e1 1b fd af 5b 01 a4 0b },UART_CONFIG
<xdarklight>
then I follow btrtl_get_uart_settings - the first four bytes are little endian 32-bit value "encoded baud rate", and at index 12 BIT(2) decides whether flow control is enabled
<xdarklight>
this is for example from RTL8723BS: len=16 offset=000c,{ 02 80 92 04 50 c5 ea 19 e1 1b f1 af 5f 01 a4 0b },UART_CONFIG
<xdarklight>
see 0x5f (flow control enabled) on RTL8723BS is 0x5b (bit 2 unset, flow control disabled) on RTL8822CS
<xdarklight>
unfortunately these bits are all undocumented... :-(
<gavlee>
not sure what to say :-S
<xdarklight>
gavlee: a good answer would be "I just saw an updated datasheet from Amlogic which documents these registers" ;)
<gavlee>
ha
<xdarklight>
gavlee: do you have the original .dtb or .dts of your board somewhere?
<gavlee>
I was trying to get that the day before when chewitt messaged asking what make and model it was that I was trying o get working
<gavlee>
i had beckup of the firmware in twrp before started messing around was looking at the contents of the partitions seeing what's in there
<xdarklight>
gavlee: I typically extract it from vendor firmware updates. so if you have a link to that we can look into it as well
<xdarklight>
gavlee: also do you have the kernel log output from the Android kernel the board came with?
<gavlee>
i didn't find one for this P3 until i made the backup but it was on russian site and i had to use translator which didn't work too good... lol
<gavlee>
i think there were like 4 different firmware of varying quality
<gavlee>
some don't work on others,, from what i was reading
<gavlee>
already made a backup with twrp by the time I found that, didn't download it so not sure if it works or is actually there. the firemware version currently on mine is the P3 version
<gavlee>
i don't even know where 'official' stock rom are to be found. not that I was expecting updates...
ldevulder has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 240 seconds]
<xdarklight>
I'll try to look into it tomorrow, I'm too tired today
<gavlee>
Appreciate that, thanks. I would be happy the box running like it is I can do what I wanted to do on it now the network is up.
warpme_ has quit [Quit: Connection closed for inactivity]