<Lechu> If I upload the same (uncompressed) kernel via TFTP and put it at the load addres, and then "go" there, it starts right up.
<slh> some bootloaders are very picky in terms of compression parameters
<Lechu> I went as far as to alter LZMA parameters to match the stock ones.
<Lechu> and seemingly it is working - at least the uncompressed size matches.
<Lechu> Any other idea how to tackle that, other than hooking up JTAG?
rua has quit [Ping timeout: 480 seconds]
<Lechu> Just tried to do that, and I left it after 2 hours of swearing and verifying connections 42 times, and even re-enabling the JTAG GPIOs from U-boot using md.l command, because, apparently, U-boot itself disables it on its startup.
rua has joined #openwrt-devel
<Lechu> Adapter is known good, I used it to unbrick a BCM47xx device not that long ago.
<Lechu> Has anyone tried running ath79 U-boot in qemu?
mangix has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
schwicht has joined #openwrt-devel
minimal has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
<neggles> stintel: it comes with almost zero documentation, though there's a functional prebuilt filesystem, but no SDK disc, just tells you to download it from the extranet *sigh*
<neggles> in theory you could drop a 2nd FMC on it and use it as a 7-port 10GbE router though
<neggles> seems to have 12x octeoniii cores and a shitload of fancy DSP
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MAbeeTT5 has quit [Ping timeout: 480 seconds]
castiel652 has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
<hurricos1> Lechu: any ideas how to set up the watchdog timer to reboot you?
<hurricos1> If you set up the wdt before you boot, you'll be able to find out exactly where things broke down
<hurricos1> Sorry to hear it's beating you up, though :\
<hurricos1> best of luck next run-in ... :^)
srslypascal is now known as Guest455
srslypascal has joined #openwrt-devel
srslypascal has quit []
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
Guest455 has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
philipp64 has joined #openwrt-devel
ekathva has joined #openwrt-devel
MAbeeTT5 has joined #openwrt-devel
valku has quit [Remote host closed the connection]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<domon> Hi, maybe somebody working with QCA SOC? And know, do have this SOC unical number?
<mangix> rmilecki: ping
<mrkiko> rsalvaterra: I guess it's pretty dependent on the device
<rmilecki> Mangix: pong
<mangix> rmilecki: know anything about this? b43 bcma0:1: Direct firmware load for b43/ucode29_mimo.fw failed with error -2
<rmilecki> Mangix: well, you don't have firmware file in your filesystem
<mangix> where do I get it? fedora says b43-openfwwf is installed
<rmilecki> Mangix: openfwwf is some experimental firmware that covers selected devices only
<rmilecki> basically you need to use b43-fwcutter
<mangix> hmm interesting
Tapper has joined #openwrt-devel
borek has joined #openwrt-devel
<mangix> rmilecki: worked
<enyc> Friends setting up new router and new network config are curious when 22.03.0-rc2 might come out [which I 100% may not be known, and I didn't see anything in openwrt-devel to suggest]
<mrkiko> enyc: out of curiosity - what router?
pepe2k has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
robimarko has joined #openwrt-devel
danitool has joined #openwrt-devel
<robimarko> Without it, MikroTik IPQ40xx devices have terible WLAN performance
<robimarko> As buildbots ignore the removal of packages per subtarget
cbeznea has joined #openwrt-devel
<enyc> mrkiko: WRT3200ACM i think
<ynezz> enyc: it's not officially announced yet, but it's already available https://downloads.openwrt.org/releases/22.03.0-rc2/targets/
<ynezz> there might be rc3 soon as rc2 has some issue related to missing edit of package/base-files/image-config.in
<rsalvaterra> Oh, my…! It seems only the Redmi AC2100 is affected by the boot hang…!
<rsalvaterra> Very strange…
<ynezz> not all bootloaders are equal? :P
<robimarko> Especially not the ones where vendors make assumptions/hacks
<enyc> ynezz: thankyou, and passed-on1
<T-Bone> hi, any chance that this gets picked up eventually: http://patchwork.ozlabs.org/project/openwrt/patch/20220504123228.14432-1-hacks@slashdirt.org/ ? I'd like to submit for backport once it is
T-Bone is now known as f00b4r0
cbeznea has quit [Remote host closed the connection]
* mrkiko feels lucky dangowrt replaced the bootloader on the RT3200
cbeznea has joined #openwrt-devel
<rsalvaterra> mrkiko: Maybe that will possible in the future for MT7621 devices… U-boot support is forthcoming…
<mrkiko> rsalvaterra: I have a zero knowledge on this, but I would say this is not going to happen
<mrkiko> rsalvaterra: oh really??
<rsalvaterra> Yeah, really. :)
pepe2k has quit [Remote host closed the connection]
<mrkiko> rsalvaterra: oh!! I am really really happy about this...
<mrkiko> rsalvaterra: thanks!!
<Lechu> hurricos1: this is actually quite brilliant idea. I need to figure out how to pull it of, though, because the watchdog seems disabled during U-boot stage, and it gets disabled explicitly upon breaking boot sequence.
<Lechu> And once broken, I found no command to actually resume that, "boot" does nothing, just as if Ruckus hooked a different function to do that. If JTAG doesn't work for me, Ghidra it is then, probably.
<rsalvaterra> mrkiko: But u-boot support is only part of the equation. Someone will have to do the same work for MT7621 devices dangole did for the RT3200. ;)
<Lechu> Besides. I had quite a chuckle when I found out where the dual-boot image selection is stored in flash. It is in the same sector as MAC addresses, and while changing it, U-boot rewrites whole erase block. What can go wrong? xDDDDD
xes__ has joined #openwrt-devel
<Lechu> I really expected more from vendor of enterprise-grade networking gear.
xes_ has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
<Lechu> OTOH, I might try to set the "bootcmd" variable and bypass all of the Ruckus stuff. I don't think it'll work out though, as this part is likely bypassed.
<Lechu> hah, it actually worked xD
goliath has joined #openwrt-devel
<Lechu> But now only by TFTP. Loading uImage freezes the same way at "Uncompressing kernel image". Yet still, this is a huge step forward. And also a way to maximize storage space ;-]
<Lechu> That's how it ends: https://0bin.net/paste/wlCGXqlT#0+WogrlOt1gDa88QxZVlDRUqqV2eCFdppMrnHhePgvd
<Lechu> Time to retune LZMA encoder once again, I guess.
<Lechu> Or since I can boot uImage now, just use LZMA loader and be done with it, at the same time reuse both firmware partitions for storage.
<Lechu> This way I can also let go of generating Ruckus header.
cbeznea has quit [Read error: Connection reset by peer]
cbeznea has joined #openwrt-devel
<Lechu> ...aaaand it works, PR coming in next few days ;-]
schwicht has joined #openwrt-devel
schwicht_ has joined #openwrt-devel
schwicht has quit [Ping timeout: 480 seconds]
<mrkiko> rsalvaterra: of course
<mrkiko> enyc: rc3 tagged on git if I am not wrong
<mrkiko> so they are starting to work on that? I realize I am not familiar with openwrt development process, I use master most of the times
<mrkiko> but this may well change
<rsalvaterra> mrkiko: I'd love to do it for the Redmi AC2100, for sure, but it's more than I can chew. But maybe I can meet with dangole on my holidays and we arrange some sort of hackathon… :P
<rsalvaterra> With his guidance, I could probably do it. :)
robimarko_ has joined #openwrt-devel
<mrkiko> rsalvaterra: :D I hope so
torv__ has quit [Remote host closed the connection]
SamantazFox has quit [Ping timeout: 480 seconds]
torv__ has joined #openwrt-devel
robimarko has quit [Ping timeout: 480 seconds]
aiyion has quit [Read error: Connection reset by peer]
aiyion has joined #openwrt-devel
<hauke> robimarko_: done
<robimarko_> hauke: Thanks, sorry for the mess I caused
goliath has quit [Quit: SIGSEGV]
<f00b4r0> hauke: would you mind grabbing my device support patch i mentioned earlier? I don't think it's very controversial ;)
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
torv__ has quit [Remote host closed the connection]
ekathva has quit [Remote host closed the connection]
torv__ has joined #openwrt-devel
mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
minimal has joined #openwrt-devel
minimal has quit [Quit: Leaving]
GNUmoon2 has joined #openwrt-devel
<rsalvaterra> hauke: The dst check for flow offloading has been backported to 5.15.42, shouldn't we have waited for the proper kernel update?
GNUmoon has quit [Ping timeout: 480 seconds]
<rsalvaterra> Heh, I'll just update the pull request… :P
valku has joined #openwrt-devel
minimal has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_mediatek.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
Castie1_ has joined #openwrt-devel
castiel652 has quit [Ping timeout: 480 seconds]
schwicht_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Gaspare has joined #openwrt-devel
<hauke> rsalvaterra: we can remove the patch with the 5.15.42 update again
ekathva has joined #openwrt-devel
ekathva has quit [Remote host closed the connection]
SamantazFox has joined #openwrt-devel
<rsalvaterra> hauke: Already did. ;)
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
Rayyan_ is now known as Rayyan
<hauke> rsalvaterra: it will probably also get backported to kernel 5.10
gch981214 has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
gch981213 has quit [Ping timeout: 480 seconds]
borek has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
Gaspare has joined #openwrt-devel
Castie1_ has quit [Quit: Leaving]
aiyion_ has joined #openwrt-devel
aiyion has quit [Ping timeout: 480 seconds]
schwicht has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
danitool has joined #openwrt-devel
Slimey_ has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
Slimey_ is now known as Slimey
valku has quit [Quit: valku]
mangix has joined #openwrt-devel
Slimey_ has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
Slimey_ has quit [Read error: Connection reset by peer]
Slimey_ has joined #openwrt-devel
Slimey_ is now known as Slimey
cbeznea has quit [Quit: Leaving.]
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
Gaspare has quit [Quit: Gaspare]
mangix_ has joined #openwrt-devel
Gaspare has joined #openwrt-devel
mangix has quit [Ping timeout: 480 seconds]
Slimey_ has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Slimey has quit [Ping timeout: 480 seconds]
Slimey_ is now known as Slimey
<mangix_> hauke: dropbear seems to be broken with 22.03-rc3
<mangix_> was fine with rc1
mangix_ has quit []
mangix has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
<dwfreed> a definition of "broken" would be good; even better would be a git bisect
rua has joined #openwrt-devel
<mangix> dwfreed: it lags massively
<mangix> openssh does not
<hauke> dropbear did not change between 22.03.0-rc1 and 22.03.0-rc3
<mangix> sure but it's not working properly with rc3
<mangix> i can't figure it out
<dwfreed> so bisect it and find the broken commit
<enyc> On openwrt 22.03.1-rc3 ... friend (not yet so OpenWRT-aware) is I'm trying to set up port forwards from the WAN to specific LAN IP addresses .... and having it not functioning;-
<enyc> (see the dnat rules that got generated in the dstnat_wan chain). But the dstnat chain (which has the prerouting hook) doesn't call `dstnat_wan` when the input interface is WAN. Instead, it calls `dstnat_HomeLAN` when the interface is the LAN which doesn't have any rules in it.
<enyc> They are going to try resetting 22.03.0-rc3 and redo the config anyhow!
robimarko_ has quit [Quit: Leaving]
<enyc> Using "port forwarding" menu... and going to try it again, etc.
<mangix> alright. seems to have been a wifi issue
<enyc> ** can anybody 'test' the portforwarding in 22.03.0-rc3 ?
<mangix> enyc: worksd
<enyc> Mangix: thankyou, trying to encourage them to do the same
<enyc> It doesn't actually call/create the chain if interface not actually connected yet! oops
cmonroe has quit [Ping timeout: 480 seconds]
<mangix> enyc: I tested open port with grc.com
<enyc> I physically connected the WAN port to something and that caused it to call the chain.
<enyc> In other words, it seems to just not call the chain for an interface that isn't connected.
<enyc> Which I guess is intended as an optimization?
<enyc> Mangix: noted, thnakyou!
<enyc> "But is a bit confusing if you're trying to debug a router config that's supposed to mirror a live environment by looking at hte output of `nft list ruleset` and you don't know it has this property.."
<enyc> sorry to bother you all, thankyou =)
cmonroe_ has joined #openwrt-devel
shibboleth has joined #openwrt-devel
<enyc> *seems* that openwrt DHCPv6-stateful allocates in ::100 to ::fff ... is this correct/expected?
<dwfreed> I believe the range is adjustable, but yes
<enyc> dwfreed: we are failing to find that setting so-far but anyhow ;o
<enyc> dwfreed: most importantly, want to kno that ::2 to ::ff are 'safe' to use as static-addresses on devices.
dedeckeh has quit [Remote host closed the connection]
Slimey_ has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
Slimey_ is now known as Slimey
Slimey_ has joined #openwrt-devel
Gaspare has quit [Quit: Gaspare]
Slimey has quit [Ping timeout: 480 seconds]
Slimey_ is now known as Slimey
slh has quit [Quit: Lost terminal]
slh64 has quit [Quit: gone]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<mangix> ftbfs icon i386_pentium4/base/firewall_2022-02-17-4cd7d4f3-3_i386_pentium4.ipk (25K) failed to build.
<mangix> lol
slh64 has joined #openwrt-devel
slh has joined #openwrt-devel
schwicht_ has joined #openwrt-devel
schwicht has quit [Read error: Connection reset by peer]
valku has joined #openwrt-devel
shibboleth has quit [Quit: shibboleth]