<vulpes2[m]>
I've got a dual-firmware device, and the stock u-boot does not seem to have any failover behavior whatsoever. It does not maintain a failed boot counter, nor will it switch to the other slot after a few consecutive failed boots. Given the usable overlay space is incredibly tiny if we just use a single slot, would it be acceptable to just use both partitions in my dt?
<vulpes2[m]>
Instructions will be provided for switching to the correct slot before flashing.
goliath has quit [Quit: SIGSEGV]
<slh>
that (imho) mostly depends on two questions, can you still revert to the OEM firmware relatively easily and what happens in terms of (if present) push-button tftp recovery, does it always rewrite the first partition (e.g. nbg6817) or does it try round-robin writes
Tapper has quit [Ping timeout: 480 seconds]
<vulpes2[m]>
push-button tftp recovery is not present, you must solder wires to the board to access the serial console
<slh>
that probably sorts the second question
<vulpes2[m]>
you can revert to the OEM firmware easily if you had a backup, which can be done within the stock firmware
<slh>
keep in mind, most users won't do that - even if told to do so... bonus points if there is a way to flash the OEM firmware download somehow
<vulpes2[m]>
no stock upgrade files were ever provided by the vendor so I'll have to reverse engineer it later
<vulpes2[m]>
about backups, it's actually pretty annoying to get the backups out of the device anyway, since you'd have to upload it to a local server
<vulpes2[m]>
the device doesn't have any USB ports which makes it slightly more cumbersome to do backups
<slh>
yeah, that's no fun
<slh>
I quite religiously do full backups of everything on a new device, if possible before touching it, but most users won't, especially if it isn't dead-easy
<vulpes2[m]>
the console is silent by default too, and it's not even wired to any of the test pads, I found it with bruteforce (tried every low-voltage pads on the board)
<vulpes2[m]>
I guess I could put a note in the flashing instructions telling people to back up their stuff, because with less than 1MB of free space the device is going to be annoying to use.
Tapper has joined #openwrt-devel
bluew has joined #openwrt-devel
floof58 is now known as Guest1330
floof58 has joined #openwrt-devel
Guest1330 has quit [Ping timeout: 480 seconds]
Tapper has quit [Quit: Tapper]
csrf has joined #openwrt-devel
rua has quit [Read error: Connection reset by peer]
rua has joined #openwrt-devel
<vulpes2[m]>
I got openwrt up and running but my ethernet interface doesn't work. This is a mt7621 device, I've enabled port 0, 1, 2, 3, 4 on the builtin switch, but none of them worked. The device has a single ethernet port that goes directly into the soc, so there's no external phy involved.
danitool has quit [Ping timeout: 480 seconds]
<vulpes2[m]>
Figured it out, it was on port 0, and the reason I don't have working connectivity is I didn't put the interface under br-lan in `/etc/config/network`
hanetzer1 has joined #openwrt-devel
hanetzer has quit [Ping timeout: 480 seconds]
hanetzer2 has joined #openwrt-devel
hanetzer1 has quit [Ping timeout: 480 seconds]
tlj_ has quit [Remote host closed the connection]
tlj_ has joined #openwrt-devel
torv has quit [Remote host closed the connection]
cbeznea has joined #openwrt-devel
torv has joined #openwrt-devel
floof58 is now known as Guest1347
floof58 has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
Guest1347 has quit [Ping timeout: 480 seconds]
cbeznea has quit [Quit: Leaving.]
danitool has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
csrf1 has joined #openwrt-devel
Borromini has joined #openwrt-devel
csrf has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
csrf2 has joined #openwrt-devel
csrf has joined #openwrt-devel
csrf1 has quit [Ping timeout: 480 seconds]
csrf has quit [Remote host closed the connection]
csrf has joined #openwrt-devel
csrf2 has quit [Ping timeout: 480 seconds]
csrf1 has joined #openwrt-devel
csrf has quit [Read error: Connection reset by peer]
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
csrf1 has quit [Read error: Connection reset by peer]
csrf has joined #openwrt-devel
csrf1 has joined #openwrt-devel
csrf has quit [Read error: Connection reset by peer]
csrf1 has quit [Remote host closed the connection]
gladiac has joined #openwrt-devel
csrf has joined #openwrt-devel
cbeznea has joined #openwrt-devel
danitool has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
<vulpes2[m]>
turns out the device mac isn't encrypted, it's just at a different offset within factory
<vulpes2[m]>
but they used the device mac to encrypt the device config which I think is pretty useless
<vulpes2[m]>
not sure what they were thinking
soxrok2212 has quit [Ping timeout: 480 seconds]
soxrok2212 has joined #openwrt-devel
gladiac has quit [Quit: k thx bye]
Borromini has joined #openwrt-devel
<mrkiko>
vulpes2[m]: great progress, go ahead! :D
<vulpes2[m]>
hauke: I've got more LED related questions, would it be acceptable if I map a brightness control GPIO as another LED?
<vulpes2[m]>
The hardware has a GPIO that allows the user to change the brightness of all LEDs, it's either bright or dim. I'd like to expose this to the users if at all possible.
Tapper has joined #openwrt-devel
torv has quit [Remote host closed the connection]
cbeznea has quit [Quit: Leaving.]
dfceaef[m] has quit [Quit: Client limit exceeded: 20000]
torv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
MaxSoniX has quit [Remote host closed the connection]
G10h4ck has joined #openwrt-devel
torv has quit [Remote host closed the connection]
MaxSoniX has joined #openwrt-devel
torv has joined #openwrt-devel
G10h4ck has quit [Ping timeout: 480 seconds]
ptudor has quit [Ping timeout: 480 seconds]
MaxSoniX has quit [Quit: Konversation terminated!]
ptudor has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
MaxSoniX has quit [Ping timeout: 480 seconds]
midicase has joined #openwrt-devel
dansan has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
floof58 is now known as Guest1413
floof58 has joined #openwrt-devel
Guest1413 has quit [Ping timeout: 480 seconds]
<vulpes2[m]>
do I have to add an entry to `ramips_setup_macs()` in `base-files/etc/board.d/02_network` if the MAC addresses are all correctly configured via dt?