00:34
OutBackDingo has quit [Ping timeout: 240 seconds]
00:49
zjason has joined #openwrt-devel
01:33
linzst has quit [Quit: Leaving]
01:34
danitool has quit [Ping timeout: 240 seconds]
01:35
hbug__ has joined #openwrt-devel
01:38
hbug_ has quit [Ping timeout: 240 seconds]
02:00
tobleminer-tSYS has quit [Quit: AS4242423214]
02:00
tobleminer-tSYS has joined #openwrt-devel
03:00
Ivan__83 has quit [Ping timeout: 265 seconds]
03:00
Ivan__83 has joined #openwrt-devel
03:01
Ivan__83 has quit [Client Quit]
03:02
Ivan__83 has joined #openwrt-devel
03:08
zkrx has quit [Ping timeout: 240 seconds]
03:17
dorf has quit [Remote host closed the connection]
03:18
OutBackDingo has joined #openwrt-devel
03:35
slh64 has quit [Quit: gone]
03:37
slh64 has joined #openwrt-devel
03:42
dorf has joined #openwrt-devel
03:51
zkrx has joined #openwrt-devel
04:03
dorf has quit [Remote host closed the connection]
04:16
gch981213 has quit [Read error: Connection reset by peer]
04:16
gch9812133 has joined #openwrt-devel
05:03
Slimey__ has joined #openwrt-devel
05:05
dansan_ has joined #openwrt-devel
05:05
tchebb_ has joined #openwrt-devel
05:07
reiffert has quit [Disconnected by services]
05:07
reiffert has joined #openwrt-devel
05:13
dansan has quit [*.net *.split]
05:13
dhewg has quit [*.net *.split]
05:13
stux|RC has quit [*.net *.split]
05:13
nast has quit [*.net *.split]
05:13
Slimey has quit [*.net *.split]
05:13
owrt-1907-builds has quit [*.net *.split]
05:13
user890104 has quit [*.net *.split]
05:13
Snowblind has quit [*.net *.split]
05:13
Nyakajima has quit [*.net *.split]
05:13
lemmi has quit [*.net *.split]
05:13
tchebb has quit [*.net *.split]
05:13
dottedmag has quit [*.net *.split]
05:13
invisiblek has quit [*.net *.split]
05:13
tchebb_ is now known as tchebb
05:17
stux|RC has joined #openwrt-devel
05:23
invisiblek has joined #openwrt-devel
05:23
dhewg has joined #openwrt-devel
05:23
owrt-1907-builds has joined #openwrt-devel
05:23
user890104 has joined #openwrt-devel
05:23
Snowblind has joined #openwrt-devel
05:23
Nyakajima has joined #openwrt-devel
05:23
lemmi has joined #openwrt-devel
05:23
nast has joined #openwrt-devel
05:23
dottedmag has joined #openwrt-devel
05:25
Ivan__83 has quit [Quit: Miranda NG]
05:25
feriman has joined #openwrt-devel
05:41
Ivan__83 has joined #openwrt-devel
05:45
rmilecki has joined #openwrt-devel
05:46
ivanich has joined #openwrt-devel
05:49
rsalvate_ has joined #openwrt-devel
05:51
rsalvaterra has quit [Ping timeout: 246 seconds]
06:04
OutBackDingo has joined #openwrt-devel
06:12
dorf has joined #openwrt-devel
06:17
ivanich has quit [Quit: Konversation terminated!]
06:17
ivanich_ has joined #openwrt-devel
06:23
Grommish has quit [Read error: Connection reset by peer]
06:23
Grommish has joined #openwrt-devel
06:32
urjaman has joined #openwrt-devel
06:33
rsalvate_ has quit [Ping timeout: 240 seconds]
06:33
rsalvaterra has joined #openwrt-devel
07:10
dedeckeh has joined #openwrt-devel
07:27
rmilecki has quit [Ping timeout: 240 seconds]
08:00
dorf has quit [Remote host closed the connection]
08:01
dorf has joined #openwrt-devel
08:24
dedeckeh has quit [Quit: Connection closed]
08:30
Slimey__ is now known as Slimey
08:35
danitool has joined #openwrt-devel
08:55
Ivan__83 has quit [Read error: Connection reset by peer]
09:00
sbrown has joined #openwrt-devel
09:05
Ivan__83 has joined #openwrt-devel
09:10
poljar has joined #openwrt-devel
09:13
poljar1 has quit [Ping timeout: 260 seconds]
09:19
finsternis has quit [Remote host closed the connection]
09:23
feriman has quit [Quit: WeeChat 3.1]
09:28
<
Grommish >
My ISP is wierd.. Apparently, they have the DHCP TTL set to.. 291 hours.. (12d,3hr).. What?
09:30
mnemoc has quit [*.net *.split]
09:32
f00b4r0 has joined #openwrt-devel
09:37
mnemoc has joined #openwrt-devel
09:37
<
f00b4r0 >
zorun: ping?
09:42
<
zorun >
f00b4r0: pong
09:42
<
f00b4r0 >
zorun: Baptiste, right?
09:43
<
zorun >
interesting hard_config, right?
09:43
<
f00b4r0 >
there are two ways to "fix" what you describe. I just quickly checked my rb_hardconfig code and it will handle a small-in-large hard config no problem
09:43
poljar1 has joined #openwrt-devel
09:44
<
zorun >
yes, we never know the exact size in advance anyway
09:44
<
f00b4r0 >
so you can either "fix" this globally, by applying the following patch:
https://paste2.org/9jyd1Wjc ; or you can override size for the hap-ac2 DTS only
09:44
<
f00b4r0 >
the patch basically makes hard_config extend up to the next declared partition.
09:45
<
f00b4r0 >
The "minor" issue is that to be on hte safe side, this needs to be tested on all existing devices ;P
09:45
<
zorun >
I think I'll go with the DTS solution
09:45
<
f00b4r0 >
off the top of my head it will work; but of course until proven wrong
09:45
poljar has quit [Ping timeout: 240 seconds]
09:45
<
zorun >
but we also need to increase various buffers in the rb_hardconfig driver (I'm working on it but still not working)
09:46
<
f00b4r0 >
which buffers? There's only one hard-coded one and that's the ART_SIZE
09:47
<
zorun >
the code assumes that the decompressed / decoded output will fit in 4K (a single block)
09:47
<
zorun >
which is not the case here
09:48
<
f00b4r0 >
I don't see that. Can you point me at the code line?
09:49
<
f00b4r0 >
the decompression buffer is 0x10000, not 0x1000
09:50
<
f00b4r0 >
yes. Tha'ts 65k. Not 4k
09:50
<
zorun >
hmmm, right
09:51
<
f00b4r0 >
there's no other hardcoded size here, I made sure of that :)
09:51
<
zorun >
when reading /sys/firmware/mikrotik/hard_config/wlan_data with cat it's always 4K, which is why I thought it was because of this
09:51
<
zorun >
no wonder increasing the buffer size didn't help :p
09:52
<
f00b4r0 >
the "size" reported by the system isn't the actual data size
09:52
<
f00b4r0 >
this is a sysfs attribute, not a regular file.
09:52
<
f00b4r0 >
if there's out of space issue it will show up in dmesg.
09:52
<
zorun >
yeah the reported size is 0, I read it with cat /sys/.../wlan_data > /tmp/wlan_data
09:53
<
zorun >
btw the actual root issue that got me on that journey is that the ath10k driver fails to load the firmware
09:53
<
f00b4r0 >
4k is PAGE_SIZE too, and we've seen truncation with busybox' dd in the past. That shouldn't affect cat however.
09:54
<
f00b4r0 >
do check dmesg with debug log level. The driver is verbose.
09:54
<
f00b4r0 >
it will tell you if something goes wrong.
09:54
<
zorun >
not that verbose actually ;) but I did add some debug
09:54
<
zorun >
I get the "LZOR: LZO EOF before buffer end - this may be harmless" but that's kind of expected
09:54
<
f00b4r0 >
certainly verbose enough to report all errors though
09:55
<
f00b4r0 >
i'm assuming that you're doing these tests with size correctly set in DTS?
09:58
<
f00b4r0 >
try reading from wlan_data with dd if=wlan_data iflag=fullblock
09:58
<
f00b4r0 >
that's what we use in package/base-files/files/lib/functions/caldata.sh
09:59
<
zorun >
"7+1 records in/out" (strange), but still 4K
10:00
<
zorun >
I'm adding debug to the bin_read function
10:00
<
f00b4r0 >
pipe it to hexdump (avoid writing it to /tmp)
10:01
csrf has joined #openwrt-devel
10:01
<
f00b4r0 >
btw do the content make sense (i.e. look like truncated calib data)?
10:02
<
Hauke >
builds should be fixed again
10:05
black_ant has joined #openwrt-devel
10:05
black_ant has quit [Changing host]
10:05
black_ant has joined #openwrt-devel
10:06
<
zorun >
it does look like calibration data (not-so-nice ASCII art ;) ), but truncated, I don't know
10:08
<
zorun >
I don't get it: after LZO decompression, the size is 15216 bytes, but after RLE decoding it's only 4050 bytes
10:08
<
zorun >
which is exactly the size of the generated wlan_data "file" (4050 and not 4096, I should have checked)
10:09
<
zorun >
so I guess everything is generated as expected and there is no truncation
10:09
<
f00b4r0 >
and here you were blaming
*MY BABY* :D
10:10
<
f00b4r0 >
RLE decode shorter than the input is very odd though
10:10
<
zorun >
ah, in between, there's the TLV tag
10:11
<
zorun >
found tag id 0x0001 (offset=4, length=1710)
10:11
<
zorun >
so it's consistent with the final size
10:12
<
f00b4r0 >
and yet your device still doesn't load caldata?
10:12
<
zorun >
but we have a 15216-bytes buffer that only contains 1710 bytes worth of data? strange
10:12
<
f00b4r0 >
yeah don't ask me. I've been flying blind since day one on this crap :P
10:13
<
zorun >
I checked that hc_wlan_data_bin_read() is called just before these errors
10:14
<
f00b4r0 >
that's not a caldata load failure
10:14
<
f00b4r0 >
that's a BRD load failure
10:15
<
f00b4r0 >
if I read this right
10:15
<
zorun >
ah... I don't get the difference
10:16
<
f00b4r0 >
yes; but if the provided board file does not contain a matching id for your device, it won't load. I wonder if that's what we seeing here
10:19
<
f00b4r0 >
though the caldata still looks weirdly small.
10:19
<
f00b4r0 >
I don't have my ac2 at hand right now so can' compare
10:20
goliath has joined #openwrt-devel
10:21
<
f00b4r0 >
zorun: i have to run. If you pore through PR#3037 comments you will find details about BRD and how it can normally even be extracted from wlan_data (which makes me think again that what you're seing is too short)
10:35
<
zorun >
sure, I'm catching up
10:35
<
zorun >
thanks for the help
10:40
dedeckeh has joined #openwrt-devel
10:46
kristrev has quit [Read error: Connection reset by peer]
10:48
<
f00b4r0 >
zorun: you might want to get robimarko involved, AIUI he's using these devices in a commercial way, and he has more insight about the actual contents of the compressed data (which I don't)
10:50
kristrev has joined #openwrt-devel
10:50
<
zorun >
yes, good idea
10:52
urjaman has quit [Ping timeout: 268 seconds]
11:04
<
zorun >
looks like the board-id is wrong: the driver tries to load bmi-board-id=20, while the board-2.bin file contains 16 and 17
11:07
<
f00b4r0 >
zorun: there you go. I'm not surprised. ISTR I mentioned something like this could eventually happen, which is why in #3037 I tried to offer a way to dynamically extract board data from the flash (it's there)
11:08
<
f00b4r0 >
I'll reply on the m-l with a quick run down on rb_hardconfig and the one-line patch I mentioned earlier, just "for the record"
11:10
<
f00b4r0 >
zorun: done. This being May 1st and the weather being nice here, I think I'll be off now. Feel free to ping me over email later though. I hope we can find a robust way to deal with Mikrotik's shenanigans ;)
11:23
urjaman has joined #openwrt-devel
11:25
zatwai has joined #openwrt-devel
11:35
urjaman has quit [Quit: WeeChat 3.0]
11:35
urjaman has joined #openwrt-devel
11:46
Guest21229 has quit [Ping timeout: 276 seconds]
11:46
linzst has joined #openwrt-devel
11:56
jas4711 has joined #openwrt-devel
12:32
linzst has quit [Quit: Leaving]
12:43
black_ant has quit [Ping timeout: 268 seconds]
13:05
f00b4r0 has quit [Quit: Quitte]
13:13
voxadam has joined #openwrt-devel
13:14
voxadam is now known as Guest74795
13:59
feriman has joined #openwrt-devel
14:06
<
russell-- >
i have a custom package using automake, is there a good way within the openwrt build system to get it to build in a subdirectory?
14:12
<
Habbie >
or do you mean 'mkdir build; cd build; ../configure' ?
14:42
<
russell-- >
Habbie: the latter
14:43
<
Habbie >
russell--, ah, then I got nothing other than 'override the step'
14:52
dedeckeh has quit [Quit: Connection closed]
15:06
<
ldir >
leaving this here "grub-mkimage: error: Decompressor is too big." getting this error when using binutils 2.36_1
15:47
noltari has quit [Ping timeout: 268 seconds]
15:47
noltari_ has joined #openwrt-devel
15:48
Tost has joined #openwrt-devel
15:52
swalker has quit [Remote host closed the connection]
16:09
hsp has quit [Ping timeout: 240 seconds]
16:10
hsp has joined #openwrt-devel
16:19
poljar has joined #openwrt-devel
16:22
poljar1 has quit [Ping timeout: 252 seconds]
16:39
heffer has quit [Quit: heffer]
16:41
sbrown has quit [Remote host closed the connection]
16:41
<
philipp64 >
hmmm... if I run valgrind with --track-origins=yes it's exits with 137... if I don't use that, it runs fine...
16:41
sbrown has joined #openwrt-devel
16:43
<
philipp64 >
nbd: any ideas? this is on ath79 (archer a7 v5)
16:44
sbrown_ has joined #openwrt-devel
16:46
sbrown has quit [Read error: Connection reset by peer]
16:47
goliath has quit [Quit: SIGSEGV]
16:51
heffer has joined #openwrt-devel
16:53
rsalvate_ has joined #openwrt-devel
16:53
<
philipp64 >
PaulFertser: ping
16:55
rsalvaterra has quit [Ping timeout: 252 seconds]
17:06
dedeckeh has joined #openwrt-devel
17:10
rsalvaterra has joined #openwrt-devel
17:10
gch9812133 has joined #openwrt-devel
17:12
jschwart has quit [Ping timeout: 250 seconds]
17:12
rsalvate_ has quit [Ping timeout: 240 seconds]
17:12
<
PaulFertser >
philipp64: pong
17:13
<
PaulFertser >
philipp64: I haven't ever tried running valgrind on mips, sorry
17:14
<
PaulFertser >
philipp64: usually same issues (highlighted by valgrind) can be reproduced on x86 too.
17:14
<
philipp64 >
okay. what's required to make source line numbers work? to build a package with -g -O0 and leave it unstripped?
17:15
Namidairo has quit [Ping timeout: 240 seconds]
17:15
<
PaulFertser >
philipp64: source line numbers work with -O2 or -Os (or any other optimisation level) too. Yes, I think valgrind needs debug info so -g and unstripped would be certainly needed.
17:15
<
philipp64 >
I don't want code reordering screwing up debugging...
17:16
<
philipp64 >
Do I need to modify the package's Makefile's to enable those, or is there a top-level way to do this?
17:23
jschwart has joined #openwrt-devel
17:38
adrianschmutzler has joined #openwrt-devel
17:56
heffer has quit [Quit: heffer]
17:57
Grommish_ has joined #openwrt-devel
17:58
<
Grommish_ >
/nick Grommish
17:58
<
Grommish_ >
Silly client
17:58
Grommish_ has quit [Client Quit]
17:59
Grommish_ has joined #openwrt-devel
17:59
Grommish has quit [Ping timeout: 252 seconds]
17:59
Grommish_ has quit [Read error: Connection reset by peer]
18:06
sbrown_ has quit [Remote host closed the connection]
18:08
sbrown has joined #openwrt-devel
18:13
Grommish has joined #openwrt-devel
18:22
heffer has joined #openwrt-devel
18:29
shibboleth has joined #openwrt-devel
18:33
Tost has quit [Ping timeout: 252 seconds]
18:40
goliath has joined #openwrt-devel
18:44
gch98121337 has joined #openwrt-devel
18:46
gch9812133 has quit [Ping timeout: 240 seconds]
18:47
andi- has quit [Ping timeout: 250 seconds]
18:53
andi- has joined #openwrt-devel
19:11
rsalvate_ has joined #openwrt-devel
19:14
rsalvaterra has quit [Ping timeout: 260 seconds]
19:47
swalker has joined #openwrt-devel
20:02
sbrown_ has joined #openwrt-devel
20:03
sbrown has quit [Remote host closed the connection]
20:19
Noki[m] has joined #openwrt-devel
20:31
sbrown_ has quit [Remote host closed the connection]
20:32
sbrown_ has joined #openwrt-devel
20:44
galak has quit [Ping timeout: 246 seconds]
20:44
Tsesarevich has quit [Ping timeout: 250 seconds]
20:45
galak has joined #openwrt-devel
20:47
Tsesarevich has joined #openwrt-devel
20:50
Tsesarevich has quit [Max SendQ exceeded]
20:51
Tsesarevich has joined #openwrt-devel
20:51
feepo has quit [Ping timeout: 245 seconds]
20:54
feepo has joined #openwrt-devel
20:54
Tsesarevich has quit [Max SendQ exceeded]
20:55
galak has quit [Ping timeout: 248 seconds]
20:55
indy___ has quit [Ping timeout: 246 seconds]
20:55
Tsesarevich has joined #openwrt-devel
20:56
whyameye has quit [Ping timeout: 260 seconds]
20:56
indy___ has joined #openwrt-devel
20:56
galak has joined #openwrt-devel
20:56
sbrown_ has quit [Remote host closed the connection]
20:56
sbrown_ has joined #openwrt-devel
20:57
whyameye has joined #openwrt-devel
20:58
ivanich_ has quit [Quit: Konversation terminated!]
21:00
ivanich has joined #openwrt-devel
21:11
dedeckeh has quit [Quit: Connection closed]
21:33
feriman has quit [Ping timeout: 252 seconds]
21:40
Namidairo has joined #openwrt-devel
22:30
dorf has quit [Remote host closed the connection]
22:31
dorf has joined #openwrt-devel
23:08
rmilecki has joined #openwrt-devel
23:12
sbrown_ has quit [Remote host closed the connection]
23:13
rmilecki has quit [Ping timeout: 240 seconds]
23:13
sbrown has joined #openwrt-devel
23:29
figgyc_ has joined #openwrt-devel
23:30
sbrown has quit [Remote host closed the connection]
23:30
dorf has quit [Remote host closed the connection]
23:30
sbrown has joined #openwrt-devel
23:31
figgyc has quit [Ping timeout: 260 seconds]
23:42
ivanich has quit [Quit: Konversation terminated!]
23:56
_lore_ has quit [Ping timeout: 252 seconds]