<stintel>
hurricos: so for some reason I had another go at reading the SNIC10E MAC address from the EEPROM using nvmem-cells, and it's working \o/
<stintel>
(I'm fixing devices using random MAC addresses because I wrote some snmp trap receiver that compares MAC addresses learned by my core switch with what's in Netbox
<stintel>
and alerts when it finds something unknown
dangole has joined #openwrt-devel
minimal has quit [Quit: Leaving]
<stintel>
did anyone ever manage to get one of the NAND drivers ported and working? :P
dangole has quit [Remote host closed the connection]
ptudor has quit [Ping timeout: 480 seconds]
rua has quit [Remote host closed the connection]
<Mangix>
stintel: probably rmilecki
<stintel>
octeon ?
<Mangix>
I think he has one on bcm53xx or something
<ynezz>
it might not be related, but probably worth looking at
Guest3571 has quit [Ping timeout: 480 seconds]
sorinello has quit [Remote host closed the connection]
sorinello has joined #openwrt-devel
Tapper1 has quit [Quit: Tapper1]
csrf has joined #openwrt-devel
cbeznea has joined #openwrt-devel
csrf has quit [Quit: Leaving]
<jow>
ynezz: hmm
<jow>
ynezz: maybe it waits for a keypress on ttyS0 and thus does not unlock the main tty
<jow>
ynezz: indeed, removing console=tty0 from the grub boot prompt fixes entering failsafe in qemu
<jow>
ynezz: so I guess it is blocking in the read of /dev/tty0 and that while loop never advances, effectively locking all other consoles
<ynezz>
jow: in CI, we're trying to silence the console with `dmesg -n1` ASAP after we detect the console availability, so the system boot doesn't interfere/interleave outputs of our commands, it was working fine for several years on all targets until that commit
<jow>
ynezz: so this makes two regressions already, I'd say let's revert it
MaxSoniX has joined #openwrt-devel
<jow>
ynezz: or rather, I think the while loops need to be exchanged
<jow>
ynezz: right now it loops over every console and for every console it has a thight while [ -r $keypress_wait ]; do ... done loops which will never yield
danitool has joined #openwrt-devel
<jow>
ynezz: I think it should be while [ -r $keypress_wait ]; do for console in $consoles; do read stuff; done; done
<jow>
seems it worked for the submitter by accident because the console he was testing ahppened to be the first one
<ynezz>
well, what I'm seeing is, that I send "dmesg -n 1" over serial, but some chars get lost somewhere and thus device gets just 'dgn1' and thus I get '/bin/ash: dgn1: not found' as response
<jow>
could be that the failsafe keypress code is eating away some chars
<ynezz>
well, it looks like it's changing detection of the active console, so maybe it would fix your issue?
<jow>
can give it a try later, hopefully
<jow>
probably won't have time until monday
Borromini has joined #openwrt-devel
indy_ has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
dangole has joined #openwrt-devel
robimarko has joined #openwrt-devel
<rmilecki>
stintel: Mangix: we had Broadcom's hacky NAND driver ported to OpenWrt but then some company wrote upstream driver for their controller
<rmilecki>
and we switched to that
<mrkiko>
Someone of you had to deal with the "bare line feed problem" when sending mails with Python? Any fix?
Misanthropos has quit [Ping timeout: 480 seconds]
<Habbie>
mrkiko, you shouldn't ask that question in a bunch of unrelated channels; and generally, you shouldn't ask any question in more than one channel at a time
<mrkiko>
Habbie: :D :D you're on #wireguard as well? Nice!
<Habbie>
yes :)
MAbeeTT3 has joined #openwrt-devel
<mrkiko>
Well, sometimes from unrelated channels you can get some hints, and that what I was hoping for :D
<mrkiko>
so i'll ignore your recommendation :D
<Habbie>
'k
<mrkiko>
Habbie: well, I mean - I agree with you and of course you can't do this all the time. But after all, it was a single question, on two channels located BTW on different servers (but this doesn't matter), and in general asked upon expecation that in various cases, developers use very different tools. Sorry for me being little bit rude today.
MAbeeTT2 has quit [Ping timeout: 480 seconds]
Misanthropos has joined #openwrt-devel
<Habbie>
understood
<Habbie>
i spend a lot of my time dealing with people asking questions in 3 channels, wasting time in two of them
<Habbie>
so my feelings about it are somewhat strong