rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<neggles> csrf1: using DTR to drive reset is exactly how esp8266/esp32 devices do it - arduinos like to use RTS
csrf1 has quit [Ping timeout: 480 seconds]
<neggles> oh
<neggles> well
<dwfreed> RIP
<dwfreed> jow: if I had to guess, the internal make dependencies between packages aren't on the right targets
<dwfreed> jow: or the part that stashes the ABI version needs to happen in an earlier target
rua has quit [Quit: Leaving.]
<dwfreed> and right below that is what builds the Depends that goes in the packages list; GetABISuffix uses the file that that makes
<dwfreed> so if ucode's building calls BuildTarget/ipkg before libucode's building has made that target, then ucode's not going to see libucode's ABI version
<dwfreed> this is deep into the weeds of the openwrt buildsystem, and I am not familiar with it, but I understand make generally, so that's where my knowledge and thoughts come from
rua has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
csrf1 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
lmore377 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
T-Bone has quit [Read error: Connection reset by peer]
T-Bone has joined #openwrt-devel
rua has joined #openwrt-devel
lmore377 has joined #openwrt-devel
csrf2 has joined #openwrt-devel
csrf1 has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
srslypascal is now known as Guest3040
srslypascal has joined #openwrt-devel
Guest3040 has quit [Ping timeout: 480 seconds]
csrf2 has quit [Ping timeout: 480 seconds]
dansan has quit [Quit: The C preprocessor is a pathway to many abilities some consider to be unnatural.]
rua has quit [Ping timeout: 480 seconds]
dansan has joined #openwrt-devel
rua has joined #openwrt-devel
dansan has quit [Remote host closed the connection]
dansan has joined #openwrt-devel
danitool has quit [Ping timeout: 480 seconds]
dansan has quit [Remote host closed the connection]
Tapper has joined #openwrt-devel
ekathva has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
cbeznea has joined #openwrt-devel
c0sm1cSlug has joined #openwrt-devel
Grommish has quit [Read error: Connection reset by peer]
Grommish has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (99.0% images and 99.8% packages reproducible in our current test framework.)
Grommish has quit [Remote host closed the connection]
Grommish has joined #openwrt-devel
dangole has joined #openwrt-devel
slh64 has quit [Ping timeout: 480 seconds]
slh has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
danitool has joined #openwrt-devel
sorinello has quit [Quit: Leaving]
<jow> dwfreed: I agree with your analysis and this was my very first guess too, however I had the impression that https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=7d6a636918bccf68b49324729759e7c569105f71 is supposed to specifically deal with this case
<jow> nbd: any thoughts?
pepe2k has joined #openwrt-devel
<dwfreed> would ABIV_libucode be set if ucode is building in a different make job ?
<nbd> jow: i think the BuildPackage calls need to be reordered
<nbd> so that libucode comes first
<nbd> we had the same issue in the past in other packages as well
<dwfreed> I'm not familiar with how make's jobserver works internally
<nbd> this should fix it
<nbd> i need to go now, bbl
GNUmoon has joined #openwrt-devel
<jow> I wonder why it works locally for me here without the fix
<jow> hm, maybe because my tree is unclean and the .version file already exists from previous runs
<nbd> yes
<jow> thanks, I'll do postivie and negative testing of your proposed change and will merge it then
<ynezz> IIRC similar change is probably needed for fw4
<jow> ynezz: how so? fw4 has no abi version handling internally
Tapper has quit [Ping timeout: 480 seconds]
<grift_> ps -w | grep dnsmasq shows two dnsmasq processes one running as root and another one running as dnsmasq is that intentional?
<ynezz> jow: I remember some ABI/dependency issue related to fw4 update in the past, had to clean some stuff locally in order to be able to finish the build again
<jow> grift_: yes, iirc the root one is repsonsible for executing hook scripts and the less privileged one deals with the network traffic
<grift_> thanks
<ynezz> jow: as the issue wasn't visible on buildbots, I've simply thought, that it's just something local and didn't reported it, will do it next time
<jow> nbd: I could reproduce the problem locally after rm staging_dir/target-x86_64_musl/pkginfo/libucode.version and verify your fix
<jow> going to push it
lmore377 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sorinello has joined #openwrt-devel
robimarko has joined #openwrt-devel
<stintel> nbd: could this be bridger related? https://gist.github.com/stintel/3ff5191e230a1fe3d619dd329be59c90
<stintel> [ 398.043824] ujail[8373]: segfault at 5e ip 00007ff17439fbfc sp 00007ffc8f0b3c50 error 4 in libubox.so.20211120[7ff17439e000+6000]
<stintel> great, it's going to be one of those days
<jow> ;)
* jow opens mailbox...
dangole has quit [Ping timeout: 480 seconds]
* jow sighs
<stintel> disabled bridger, still getting that deadlock
* jow goes to the garden
<stintel> :D
* stintel starts a build with lockdep disabled and goes to make juice
cmonroe has quit [Ping timeout: 480 seconds]
<rsalvaterra> Guys, anyone had any I/O and/or squashfs issues lately, with 5.15? It's not the first time I see someone complaining of something like… https://github.com/openwrt/openwrt/pull/9785#issuecomment-1111245953
<rsalvaterra> Unfortunately, all my systems are working fine.
<stintel> I've got 99 problems but squashfs ain't one :P
<rsalvaterra> stintel: As long as our problem sets don't intersect, that's fine, then. xD
<stintel> ;)
rua has quit [Quit: Leaving.]
<neggles> stintel: did watchguard reply?
<neggles> they replied to me but i've not read it yet
<stintel> nope
mattytap has joined #openwrt-devel
bluew has quit [Ping timeout: 480 seconds]
mattytap has quit [Remote host closed the connection]
mattytap_ has quit [Ping timeout: 480 seconds]
f00b4r__ has joined #openwrt-devel
<neggles> k lets see then
<neggles> i was a bit snarky
<neggles> "Thank you for the update. We are checking on this with our engineering team. We will update you once we get a response from them. Thank you. "
<stintel> pfff
<robimarko> Thats good
<robimarko> At least its not a hard Nope we aint gonna do it like Dynalink replied
<stintel> I rather they say no then take 3 months to send a vanilla linux tarball
<neggles> yeah lmao
<neggles> i wonder why they didn't reply to you
<stintel> because I threatened to contacted copyright owners, gpl-violations and sfc
<neggles> so did i :P
<stintel> oh :)
<neggles> also pointed them to the bit of u-boot's license where it says 'if you want to put code in u-boot and have it not covered by GPL, you can only use these two headers, nothing more"
<neggles> spoiler: their code is using functions that are very much not in those headers
<stintel> maybe we should prepare a template that contains bits like that, so in the future we can use the template rather than coming up with something again
T-Bone has quit [Ping timeout: 480 seconds]
<neggles> also based on a cursory investigation of their rootfs, I think nearly every piece of code in here is technically GPL'd
<neggles> (ghidra is the real MVP)
ekathva has quit [Remote host closed the connection]
ekathva has joined #openwrt-devel
f00b4r__ is now known as f00b4r0
<grift_> was bored so wrote a openwrt/selinux status report:https://myblog.defensec.nl/index.php/2022/04/28/openwrt-selinux-update/
srslypascal is now known as Guest3066
srslypascal has joined #openwrt-devel
srslypascal is now known as Guest3067
srslypascal has joined #openwrt-devel
Guest3066 has quit [Ping timeout: 480 seconds]
Guest3067 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
lmore377 has joined #openwrt-devel
Atomicly| has joined #openwrt-devel
Atomicly- has quit [Ping timeout: 480 seconds]
slh has joined #openwrt-devel
slh64 has joined #openwrt-devel
<nbd> stintel: that's not bridger related, but it might be related to the bridge fastpath patch
lmore377 has quit [Read error: Connection reset by peer]
Tapper has joined #openwrt-devel
srslypascal is now known as Guest3072
srslypascal has joined #openwrt-devel
Guest3072 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
rua has joined #openwrt-devel
ekathva has quit [Ping timeout: 480 seconds]
ekathva has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
hanetzer has quit [Quit: WeeChat 3.5]
pepe2k has quit [Quit: Leaving]
<swiftgeek> i think i'm having issue with a5v11/rt5350f kernel.bin, with 21.02.3 i get lzma error in uboot, but 19.07.9 is fine
srslypascal has quit [Ping timeout: 480 seconds]
<swiftgeek> and when i place kernel.bin from 19.07.9 in 21.02.3 imagebuilder, it also starts up fine
<swiftgeek> well as far as jumping into kernel goes
<swiftgeek> > Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
ekathva has quit [Remote host closed the connection]
<stintel> using lzma-loader might help there
srslypascal has joined #openwrt-devel
<rsalvaterra> This would be lovely… https://fsfe.org/news/2022/news-20220427-01.en.html
srslypascal is now known as Guest3081
srslypascal has joined #openwrt-devel
<swiftgeek> stintel: i assembled 21.02.3 kernel.bin (from vmlinuz dtb and mkimage/lzma tools) in 19.07.9 imagebuilder and it started linux fine
<swiftgeek> gonna move now this kernel.bin to 21.02.3
Guest3081 has quit [Ping timeout: 480 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<hurricos> neggles: switchx-2?
* mrkiko noticed mediatek target switched to 5.15
<gch981213> because I'm too lazy to backport stuff to 5.10 :P
<mrkiko> gch981213: :D :D
minimal has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 99.8% packages reproducible in our current test framework.)
<swiftgeek> yeah this is bizzare
<swiftgeek> *bizarre
<swiftgeek> if i assemble kernel.bin in 19.07.9, it jumps into kernel fine, if i do it (with the same script) in 21.02.3, it failz with that lzma error
<swiftgeek> *fails
<hurricos> neggles: https://github.com/Mellanox/mlxsw/wiki the SX6012 etc. have a SwitchX-2 in them
<hurricos> as PPC460EX these seem like good targets for hackery. Very fast, lightly-featured, switchdev-capable ASICs
<hurricos> combined with awful architectures for their management boards
<hurricos> I say that but now I wonder whether the SX6012 is actually SwitchX-2
<swiftgeek> oh i forgot about swapping lol vmlinuz
<swiftgeek> yeah now it breaks just as much
<hurricos> the inside of a bdi2000: https://paste.c-net.org/LotsaWarhead
<swiftgeek> both 'vmlinuz' end with 'TRAILER!!!' so not sure what else is missing
<hurricos> my conclusion is wrong RE: SwitchX-2 -- mlxsw doesn't support it well.
Tapper has quit [Ping timeout: 480 seconds]
csrf2 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
<swiftgeek> out of lack of idea, i will try padding vmlinuz with urandom
valku has joined #openwrt-devel
<swiftgeek> yeah it's not that
<swiftgeek> i far exceeded it now almost twice the kernel size in urandom
<swiftgeek> so something is wrong with lzmaBuffToBuffDecompress/underlying thingie
<swiftgeek> welp, it doesn't like rc1 kernel as well
<swiftgeek> *vmlinuz
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
<grift_> i think i might have something similar as well but its speculation as i dont have local access to the device so i can't really tell why its not booting the kernel
rua has quit []
rua has joined #openwrt-devel
<swiftgeek> ah they are all return 1, so i need recompile uboot to get actual error
<grift_> kind of strange behavior here. i do a sysupgrade and it does not boot into the new system. then i resst to last known good partition and do a sysupgrade again and then it works ....
<swiftgeek> -a0 didn't help
<swiftgeek> i guess that calls for no compression at all
<neggles> hurricos: heh
<neggles> about that
<neggles> https://forums.servethehome.com/index.php?threads/beware-of-emc-switches-sold-as-mellanox-sx6xxx-on-ebay.10786/page-54#post-322920
<neggles> i'm afraid you've been beaten to the punch
<neggles> a few pages earlier someone got ubuntu 16.04 booting on there too
<neggles> and yes, the 6012 is SwitchX-2
<neggles> which has switchdev support, though not great switchdev support, and doesn't have SONiC SAI support or proper offloads etc. when using switchdev, all the cool and good modern API support is only for Spectrum and up
<neggles> swiftgeek: decompressed kernel image is too big
<swiftgeek> a bit wasteful, but starts up fine
<neggles> move initramfs out of kernel, use uncompressed kernel, or `setenv bootm_size 0x<chunk of more than enough bytes for decompressed kernel` and `setenv bootm_map_size ${bootm_size}`
<neggles> lzma returning 1 = CONFIG_BOOTM_SIZE (which is used to define the size of the buffer it decompresses into) is too small. if your u-boot is new enough, those env vars will override it
<swiftgeek> lzma returns 1 for every error
<swiftgeek> (in this uboot)
<neggles> what device/uboot version
csrf2 has quit [Ping timeout: 480 seconds]
<neggles> rt5350f yep
<swiftgeek> ralink sdk v4.0.0.0 i think
<neggles> yeah
<neggles> max decompressed kernel size defaults to 8MB in that SDK
<neggles> lzma-loader will solve this problem as it moves decompression out of u-boot
<swiftgeek> ugh, i tried uncompressed with actually matching version for once, and it still panics early
<neggles> how much ram does the thing have
<swiftgeek> 32M
<neggles> i had to do some Shenanigans to get this vocore 1 (RT5350F / 16MiB / 32MiB) to boot
<neggles> luci causes OOM
<swiftgeek> > [ 0.000000] MIPS: machine is A5-V11
<swiftgeek> so it saw DT right?
<neggles> what's the oops?
<neggles> panic msg i mean
<swiftgeek> a lot of probes failed
<neggles> oh it just can't find your rootfs
<swiftgeek> well first it doesn't see spi nor uart :D
<swiftgeek> so that's confusing
<neggles> oh your pinctrl is all messed up
<swiftgeek> ah
<neggles> so yes device tree is a lil broke
<swiftgeek> dt is good news then
<swiftgeek> but which one is known working?
<swiftgeek> is vocore 1 having good DT?
<neggles> look at target/linux/ramips/dts/rt5350_vocore_vocore.dtsi
<neggles> works on my machine
<swiftgeek> i use browser for upload, coz i'm lazy ;D
<neggles> so did i :P
<swiftgeek> oh right missed it
<neggles> building the u-boot was 'fun', and it's still kinda screwy, but i lost interest 'cause it's just not really got enough ram
<neggles> went back to working on the f1c200s
<swiftgeek> adding 32MiB is kinda hard on A5v11, but at least ball is right on the other perimeter :D
<neggles> hurricos: got you some saucy watchguard internal shots https://postimg.cc/gallery/pXzLsmR
<neggles> "saucy"
<neggles> don't mind the horrible soldering job on the M.2 socket, I did that, not them
<swiftgeek> though i would need to remove existing sdram chip first, and then make something crazy to have wire touch that ball and reflow xD
<neggles> swiftgeek: there are about 3 different models of chip which would work
<neggles> that are 64MiB
<swiftgeek> DS says it won't, 32M per CS
<neggles> yes, because the datasheet predates the existence of a 64MiB chip
<swiftgeek> datasheet is from 2011 xD
<swiftgeek> but if somebody confirmed 64MiB SDRAM working then i'm grabbing a stick
<neggles> the chips i found have the same voltage, same base layout, just one extra... row? line
<swiftgeek> and they work for you?
<neggles> and it supports that many rows/columns
<neggles> have not tried. chip costs more than a better router
<neggles> there's a micron one too
<neggles> and the AS4C32M16SB
<swiftgeek> well i wouldn't be so hopeful, i have similar issue with newer atheros, where it won't work with 128MiB chips
<neggles> yeah i concluded it wasn't worth the effort
<neggles> since i can buy a router with 64mib and an MT7621 for ~$15-20
<swiftgeek> oh there is no effort really, with those new low temp solders (as alternative for chipquik)
<swiftgeek> with just 60/40 it was a massive pain
<neggles> yah but why spend $25 on ram chips for a $10 router :P
<swiftgeek> oh i can find 8 chips for a lot cheaper
<swiftgeek> my list also has HY57V121620 / MT48LC32M16A2
<neggles> that's the micron one i mentioned
<neggles> looks like i deleted the datasheet
<neggles> i found the hynix too but couldn't find anywhere i could get 2-5 of them for <$20 shipped total
<swiftgeek> well it's not economical to buy anything buy a stick
<swiftgeek> then put back smaller chips, and change eeprom :D
<neggles> do SDRAM sticks with 64MiB/chip even exist?
Tapper has joined #openwrt-devel
<swiftgeek> 512MiB modules
<swiftgeek> i have one in thinkpad t23
<swiftgeek> definitely not sacrificing it for testing lol
<neggles> most 512s i've seen are double-sided
<neggles> but i didn't think about SODIMMs
<swiftgeek> yeah i'm often using DDR SODIMMs for atheros 802.11n boards
<swiftgeek> unless aliexpress has better offer
<neggles> bah. cheapest one i can find is more expensive than just buying 5/10 from aliexpress. owell
<neggles> i need to sleep oops
<neggles> night
<neggles> i wouldnt be shocked if the vonger device tree worked nearly-unchanged btw
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
* swiftgeek stares at log i pasted
<swiftgeek> ofc i confused versions again
<swiftgeek> maybe kernel should have 5.04.xxx so it's easier to sort :P
<swiftgeek> changed to vocore and it's still panicking
ekathva has joined #openwrt-devel
cmonroe_ has joined #openwrt-devel
<swiftgeek> but i guess that's because of me using uncompressed image?
<swiftgeek> > Kernel panic - not syncing: broken padding
<owrt-snap-builds> Build [#564](https://buildbot.openwrt.org/master/images/#builders/8/builds/564) of `x86/64` completed successfully.
csrf2 has joined #openwrt-devel
ekathva has quit [Ping timeout: 480 seconds]
ekathva has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (96.2% images and 99.8% packages reproducible in our current test framework.)
dangole has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
shibboleth has joined #openwrt-devel
<hurricos> neggles: got it. No, I was definitely not beaten to the punch, nearly a year ago someone reached out on Reddit to /r/kernel about building Linux for the SX6012, and I noticed the PPC460EX they mentioned has a literal dev board (the Canyonlands ones)
<hurricos> I say that but I guess that's what being beaten to the punch is.
<hurricos> lol
<hurricos> I *thought* about punching the damn switch first.
<hurricos> But they beat me to it.
hanetzer has joined #openwrt-devel
minimal has quit [Quit: Leaving]
shibboleth has quit [Remote host closed the connection]
Borromini has joined #openwrt-devel
<rsalvaterra> WTF, is GCC in the packages feed even maintained? It's still at 7.4.0…! o_O
Tapper has joined #openwrt-devel
<Borromini> that's the only GCC known to be working on Debian stable rsalvaterra :P
<slh> rmadison begs to differ (gcc | 4:10.2.1-1 | stable | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x)
<rsalvaterra> Borromini: s/stable/obsolete/g :P
<Borromini> :P
* rsalvaterra runs
<Borromini> slh: i think it's obvious that was a joke O:-)
* Borromini is on Debian stable himself
<slh> even oldstable has 4:8.3.0-1
<slh> yeah, partially...
<Borromini> rsalvaterra: lemme guess, you're on Arch? ;-)
<rsalvaterra> Borromini: Ubuntu MATE.
<Borromini> lol :P
<rsalvaterra> Nice GUI and gets the job done. :)
<Borromini> Debian Testing is as far as I'll venture into the unkown =)
<Borromini> yes, to each his own.
<slh> Debian/unstable is just fine as well
<rsalvaterra> I have Debian Sid on my Eee PC 901. :)
<Borromini> Gnome 3 has infected my brain so I'm not complaining anymore. Stockholm syndrome, kinda.
<rsalvaterra> Dear God, no.
valku has quit [Quit: valku]
<Borromini> =)
<slh> I'm not really happy with current KDE anymore, but I haven't really found an alternative either - lxqt is very nice, but lacking a few nice features
<slh> and then there is qt's requirement for at least semi-sane graphics cards, which is an issue with older gear or server class systems with 'weird' 2d-only graphics
<Borromini> does Qt require 3D nowadays? :-/
<slh> more or less, yes
<slh> e.g. you will get serious display issues on XGI (eXtreme Graphics Innovation) Z7/Z9 (XG20 core), AMD/ATI] ES1000 (both onboard server graphics) or radeon r200/ nvidia fx5200 (old client stuff)
<slh> for both, kde and lxqt, thanks to qt's requirements
<rsalvaterra> I'm firmly on GTK side, though… :)
danitool has joined #openwrt-devel
csrf2 has quit [Quit: Leaving]
Borromini has quit [Quit: leaving]
floof58 is now known as Guest3104
floof58 has joined #openwrt-devel
* jow settled on MATE as well
Guest3104 has quit [Ping timeout: 480 seconds]
<jow> never got used to anything post Gnome 2
<rsalvaterra> jow: I feel Gnome 2.x hit peak usability for me. That's why I use MATE.
bluew has joined #openwrt-devel
<rsalvaterra> Same interface, recent libraries (GTK 3+).
<jow> right, same here
<robimarko> I must be too young since I actually like and use GNOME
ekathva has quit [Remote host closed the connection]
<nick[m]1234> Can we finally merge the ipq40xx ar40xx fix? https://github.com/openwrt/openwrt/pull/9731 It would be nice, to have the ip40xx swdriver fixed before switchintg to dsa
robimarko has quit [Quit: Leaving]
Tapper has quit [Ping timeout: 480 seconds]
xes has quit [Read error: No route to host]
<rsalvaterra> dangole: I guess we don't need software Hamming anymore… :)
xes has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
<owrt-snap-builds> Build [#527](https://buildbot.openwrt.org/master/images/#builders/50/builds/527) of `mediatek/mt7623` failed.
<aparcar[m]> I want my gcc 12!
<rsalvaterra> Eek! I botched the commit. Fixing…
<rsalvaterra> Wait, no. False alarm.
<rsalvaterra> aparcar[m]: Me too, when it's officially released. :P
T-Bone has joined #openwrt-devel
f00b4r0 has quit [Ping timeout: 480 seconds]
<dangole> rsalvaterra: in case you are talking about the upstreamed SPI-NAND driver: also the previous driver was using hardware ECC, just not abstracted that nice and now even upstream. the advantage of this old driver written by hackpascal that it is used almost identically in TF-A, U-Boot and Linux.
<dangole> rsalvaterra, aparcar[m]: gcc12 should finally support BTF for eBPF target, so it could replace the LLVM-based toolchain we are currently using :)
<rsalvaterra> dangole: Nice, thanks for the clarification! :)
<rsalvaterra> By the way, fixing this message now: [ 0.533599] cacheinfo: Unable to detect cache hierarchy for CPU 0
<rsalvaterra> Oh, not having to build LLVM would be a blessing. The thing takes *ages*.
<jow> indeed
<rsalvaterra> It single-handedly doubled my full build times.
dangole has quit [Ping timeout: 480 seconds]
<swiftgeek> maybe i should try olinuxino image as is
<swiftgeek> pinctrl looks safe and it pulls in Device/uimage-lzma-loader
<swiftgeek> yep that works!
<swiftgeek> so now i have to match that manually somehow unless there is something easy i can do to swap dtb
<rsalvaterra> And another patch sent upstream… :) https://lore.kernel.org/lkml/20220428225755.785153-1-rsalvaterra@gmail.com/
<rsalvaterra> aparcar[m]: ^
<swiftgeek> ok i tried using factory image as example and turned it into kernel image, and it actually started making it xD
<swiftgeek> but why is it trying to compile loader from scratch?
philipp64 has joined #openwrt-devel
philipp64 has quit []
<swiftgeek> i added IMAGES += kernel.bin
philipp64 has joined #openwrt-devel
<swiftgeek> IMAGE/kernel.bin := kernel-bin | append-dtb | lzma | loader-kernel | uImage none
<rsalvaterra> Aw, great… so, we're using a PWM channel 7 in the E8450 device tree… https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/mediatek/dts/mt7622-linksys-e8450.dtsi;h=9f0dabdb4e4838b4815b26ba17b163faa6b6afa6;hb=HEAD#l259
<swiftgeek> yeah i get loader sources but not the toolchain in imagebuilder, lol
<dwfreed> rsalvaterra: is it actually being used?
<dwfreed> or at least attempted
<rsalvaterra> I have no idea what it's being used for. I'll poke dangole about it tomorrow, since he knows the board better than anyone else… :/
<dwfreed> I mean, I don't imagine it could work
<dwfreed> but it's probably just a define that's not used anywhere
<rsalvaterra> Oh, it definitely doesn't work. From my dmesg…
<rsalvaterra> [ 0.388997] mt7622-pinctrl 10211000.pinctrl: invalid group "pwm_ch7_2" for function "pwm"
<dwfreed> I mean before the removal
<rsalvaterra> Maybe… or something could be using PWM, but in a different channel.
<swiftgeek> i guess i will just put toolchain in staging_dir
<rsalvaterra> The obvious candidates are fans, but the RT3200 doesn't have one. :)
<dwfreed> swiftgeek: you likely need to rebuild the imagebuilder if you change how the image is built
<dwfreed> imagebuilder is not meant to have toolchain
<swiftgeek> but it has sources instead of image :)
<swiftgeek> yep dropping toolchain there fixed it
<swiftgeek> so i can use this to assemble kernel.bin as well, if i don't mind doing two passes
philipp64 has quit [Read error: Connection reset by peer]
<swiftgeek> just copy kernel.bin from bin to build_dir
<swiftgeek> now gotta make it so it rebuilds dtb lol :D
<swiftgeek> that would save me hours
<swiftgeek> changing kcmdline is supposed to be simple :P
<swiftgeek> > OpenWrt kernel loader for MIPS based SoC
<swiftgeek> so loader started, but vmlinuz not lmao
<swiftgeek> at least the log is identical between those two until after the jump into vmlinuz xD
<swiftgeek> *vmlinux
<swiftgeek> yeah i'm out of ideas now
<swiftgeek> according to log there should be loader.bin and loader.elf but it's nowhere to be found
<swiftgeek> so i can't even try to piece it together manually