jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<stintel> meh keeps rebuilding tools
zer0def has quit [Quit: zer0def]
zer0def has joined #openwrt-devel
torv is now known as Guest1007
torv has joined #openwrt-devel
Guest1007 has quit [Ping timeout: 480 seconds]
<Ansuel> stintel just to make sure tools were also built with AUTOREMOVE right? also probably you are missing some directory to update the timestamp.. wasted too much time on that thing so i'm really sure what i wrong if tools are rebuilt when moved on a different buildroot
<stintel> Ansuel: ahhh
<stintel> Ansuel: right, didn't build tools with AUTOREMOVE
<stintel> thanks
<stintel> fingers crossed it works as expected now :P
<stintel> Ansuel: thanks for that commit link
xes_ has quit [Ping timeout: 480 seconds]
bluew has joined #openwrt-devel
xes_ has joined #openwrt-devel
Ansuel has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
<stintel> meh
<stintel> and it's still building tools
bluew has quit [Ping timeout: 480 seconds]
danitool has quit [Remote host closed the connection]
floof58 is now known as Guest1019
floof58 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Guest1019 has quit [Ping timeout: 480 seconds]
felix has quit []
felix has joined #openwrt-devel
bluew has joined #openwrt-devel
Slimey has quit [Remote host closed the connection]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (98.6% images and 99.6% packages reproducible in our current test framework.)
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
mcbridematt has quit [Remote host closed the connection]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
mcbridematt has joined #openwrt-devel
SlimeyX_ has joined #openwrt-devel
SlimeyX__ has joined #openwrt-devel
robimarko has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX__ is now known as SlimeyX
SlimeyX_ has quit [Ping timeout: 480 seconds]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
goliath has joined #openwrt-devel
<rmilecki> anyone familiar with tplink-safeloader.c ?
<rmilecki> i'm trying to understand "firmware" partitions
<rmilecki> do we (for OpenWrt) merge kernel with rootfs and store them in just one "firmware" partition?
<rmilecki> then OpenWrt is expeced to magically split that into kernel and rootfs without any clear info about correct offsets?!?!
MaxSoniX has joined #openwrt-devel
csrf has joined #openwrt-devel
<robimarko> Isnt that used only by the bootloader?
<robimarko> And then OpenWrt uses the SquashFS splitter to dynamically find the kernel and rootfs and create those partitions on the fly?
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
<rmilecki> robimarko: uh, it's kind of stupid
<rmilecki> robimarko: we know exact offsets when creating firmware image
<rmilecki> and then we hide offsets
<rmilecki> and tell openwrt to find kernel and rootfs
<robimarko> Yeah, that is what we have been doing for a long time
danitool has joined #openwrt-devel
Atomicly- has joined #openwrt-devel
AtomiclyCursed has quit [Ping timeout: 480 seconds]
Atomicly- is now known as AtomiclyCursed
<rmilecki> robimarko: thanks for confirming my thoughts anyway
<rmilecki> why is it i keep finding OpenWrt ugly hacks every time I want to fix something ;)
<robimarko> Well, there are years and years of hacks
<robimarko> Especially those for earlier targets
<rmilecki> hm, i'm looking again at tplink-safeloader.c and it seems to actualy replace "firmware" with "os-imag" and to insert "file-system" right after it
<rmilecki> so... it looks sane after all I guess?
<rmilecki> but then how OpenWrt mtd split is supposed to work
<rmilecki> i don't get it
<f00b4r0> rmilecki: I'm not familiar with this particular platform but depending on the image format the splitters don't necessarily need to walk the flash to find rootfs
<f00b4r0> in fact looking at mtdsplit_tplink.c, it doesn't, except as a failover
<rmilecki> ok, I booted my old TP-Link Archer C59 v1 and I understand it now
<rmilecki> tplink-safeloader.c specifies {"firmware", 0x20000, 0xe30000},
<rmilecki> but is just tmp
<rmilecki> in real, tplink-safeloader.c generates os-image + file-system
<rmilecki> the problem is DTS doesn't specify os-image + file-system but fixed-partitions with "firmware"
<f00b4r0> why is that a problem?
<f00b4r0> it's by design, so that you don't hardcode the (changing) size of either in dts
<rmilecki> it requires kernel to look for partitions:
<rmilecki> [ 0.438251] 2 uimage-fw partitions found on MTD device firmware
<rmilecki> [ 0.444429] Creating 2 MTD partitions on "firmware":
<rmilecki> [ 0.449557] 0x000000000000-0x000000230000 : "kernel"
<rmilecki> [ 0.456307] 0x000000230000-0x000000e30000 : "rootfs"
<f00b4r0> yes and?
<rmilecki> why bother?
<rmilecki> it's counted productive
<rmilecki> *counter
<f00b4r0> because the kernel size and the rootfs size may change from flash to flash
<f00b4r0> and it's a lookup that is most of the time simply a header load
<f00b4r0> takes no time at all, happens once during boot
<f00b4r0> in exchange for total flexibility for flashing whatever kernel/rootfs sizes we want
<rmilecki> i don't agree ;/
<f00b4r0> I'm not quite sure where you're getting at, we moved away from the nightmare of fixed splits eons ago
<rmilecki> there is no gain in that
<f00b4r0> of course there is
<f00b4r0> don't you remember every time a device broke because the kernel was too big to fit in the designated "kernel" partition?
<rmilecki> you're stuck in a nightmare of fixed partitions
<f00b4r0> I mean no disrespect but you sound like 5 years ago :)
<f00b4r0> well isn't that exactly what you suggest we go back to?
<f00b4r0> or am i misunderstanding?
<rmilecki> i want to totally drop fixed partitions
<f00b4r0> what do you suggest instead?
<rmilecki> i did that for bcm53xx so we can bring back TP-Link devices support
<mrkiko> f00b4r0: rmilecki: I would suggest taking a pause,and maybe rmilecki can explain things from his perspective completely, then we can go on?
<f00b4r0> i'm listening :)
<rmilecki> there is partition table
<f00b4r0> (or well, reading :)
<rmilecki> it DOES contain entries os-image and file-system
<mrkiko> f00b4r0: :D
<rmilecki> (i thought it doesn't initially)
<rmilecki> i wrote a parsers for SafeLoader
<rmilecki> *parser
<mrkiko> rmilecki: so, you're saying it makes no sense to re-do the work if the tp-link partition table gives us the information we need?
<f00b4r0> partition table == image header or something else?
<rmilecki> no, actual partitions table
<rmilecki> give me a sec
<rmilecki> i'll be back in 3-5 minutes with a patch
<rmilecki> hm, the problem is OpenWrt may require "firmware" partition for sysupgrade
<rmilecki> i didn't think about that
<f00b4r0> that's exactly the point :)
<mrkiko> rmilecki: and, I am under the impression in some cases OpenWrt choose a slightly different arrangement than the one provided in the TP-Linkptn structure, if I am understanding you correctly.
<rmilecki> sorry, this situation was changing for me from minute to minute and maybe my all ideas got too messy
<rmilecki> starting point: i didn't know tplink-safeloader.c can generate "os-image" and "file-system" dynamically
<rmilecki> i didn't think about such solution
<rmilecki> so I wrote a kernel parser to read actual partitions table
<rmilecki> so I can adjust os-image and file-system sizes in tplink-safeloader.c without breaking kernel
<rmilecki> and I think it's still better than fixed-partitions
<rmilecki> the only problem I see is that "partition-table" doesn't define "firmware" partition which may be very useful for sysupgrade
<rmilecki> and that seems to break my whole idea
<rmilecki> i'm wondering if we could define "firmware" partition in tplink-safeloader.c so OpenWrt can sysupgrade easily
<f00b4r0> rmilecki: what I don't get is the difference between the kernel reading a partition table and the kernel reading a tplink image header that provides the same information?
<f00b4r0> (as mtdspilt_tplink.c apparently currently does, if I read the code correctly)
<rmilecki> I thought reading partitions table is cleaner (and just in theory more reliable)
<f00b4r0> oh
<f00b4r0> it's that kind of discussion we're having :D
<rmilecki> you could add/remove some extra partitions
<f00b4r0> are these flash devices we're talking about,
<rmilecki> other partitions could get reorganized
<f00b4r0> ?
<f00b4r0> because the whole concept of partitions on flash devices seems rather abstract to me
<rmilecki> "are these flash devices we're talking about" - not sure if I understand
<f00b4r0> well, spi nor, spi nand?
<f00b4r0> 16-256MB
<rmilecki> er, I still don't understand ;)
<f00b4r0> ok
<f00b4r0> nevermind then :)
<rmilecki> "partition-table" content should always match current flash device
<rmilecki> i'm quite sure it deos
<rmilecki> *does
<mrkiko> rmilecki: on a tangential note - I looked at the partition table back in the days with the C60. Not clear to me actually how things work here in the tp-link world. Who does manage the partition table in the original firmware? I guess the software updater modifies it based on the image headers information? And - am I wrong in suspecting that in the end the idea of the layout in the partition table
<mrkiko> doesn't match the one in openwrt at least in some cases? For some cases it's not relevant like for the parts describing the first-stage u-boot and the second-stage one in e.g.: an Archer C60. But in some other areas?
<rmilecki> mrkiko: i don't really know how TP-Link handles that in their software
<russell--> well, this is weird: "This feature depends on another which has been configured as a module. As a result, this feature will be built as a module." for wpad-basic-wolfssl, but .config doesn't have anything =m afaict
<mrkiko> rmilecki: ok, but once openwrt is installed, where does that partition table get used? By which components?
<jow> sysupgrade for example
<jow> it wants a continuous "firmware" partition spanning kernel + rootfs to write an image onto
<mrkiko> jow: but there are partitions we define in our DTS. I was wondering what uses the stored-in-flash partition table from tp-link itself. Or am I misunderstanding your answer?
<rmilecki> mrkiko: actual partitions table is read by OpenWrt
<jow> I probably missed context
<rmilecki> I wanted to make it do so
<rmilecki> jow: "firmware" partitions comes from DT file (it's harcoded there), not from "partitions-table" flash partiton (it's absent there)
<f00b4r0> rmilecki: if it ain't broke...
<mrkiko> rmilecki: ok, but as things are now, openwrt ignores it I guess. I was curious to know what parts of the system use it. U-Boot surely does if my memory serves me well
<rmilecki> mrkiko: U-Boot should use it to know where kernel is
<rmilecki> mrkiko: it's a good question how U-Boot handles it
<rmilecki> i should check that in some free moment
<mrkiko> thanks to all of you guys for the always instructive and nice chat
<rmilecki> i probably should work on better describing problems on IRC
<rmilecki> i usually take a good care of that in my patche
<rmilecki> here i was rather chaotic as I was just learning things ;)
<f00b4r0> ;)
<rmilecki> ok, this exaplains my idea a bit better I hope:
<rmilecki> [PATCH RFC] ath79: switch TP-Link Archer C59 v1 to read partitions table
torv has quit [Remote host closed the connection]
<mrkiko> rmilecki: well, my opinion is that IRC should be more comunicative, helpful and overall calm. And having well-formed and finalized ideas shouldn't be mandatory, since communication is a process we build togeter. And we are IRC. :) This of course reflects only my own opinion and defects.
<robimarko> Agreed, whole point of IRC is discussion
<robimarko> And bouncing some ideas
<rmilecki> thanks
<rmilecki> does ath79 actually have full sysupgrade for SafeLoader?
<rmilecki> i believe during sysupgrade we need to extract partitions from image
<rmilecki> and flash them in right flash spaces
<rmilecki> so for example if flash image with different os-image and file-system, that updated partition-table gets written to the flash
xes_ has quit []
bluew has quit [Ping timeout: 480 seconds]
<russell--> rmilecki: on this ath79 tplink wdr3600 i'm hacking on right now, the firmware is written in one continuous chunk, no extraction of parts during sysupgrade afaik
<rmilecki> more space for improvements..
<rmilecki> russell--: ah, but wdr3600 doesn't seem to use SafeLoader
<rmilecki> so probably no partition-table flash partition there
<rmilecki> [fstools] i'm going to push [PATCH] block: try multiple NTFS filesystem implementations https://patchwork.ozlabs.org/project/openwrt/patch/20221103132149.14232-1-zajec5@gmail.com/
<rmilecki> (didn't get any nack for a week)
* russell-- confesses complete ignorance about SafeLoader
<rmilecki> oh, i actually wrote some SafeLoader sysupgrade support for bcm53xx
<rmilecki> https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=2d61c26f02557b0b3734f694efdb81a2694fdd70
<rmilecki> it extracts os-image & file-system and flashes them
xes has joined #openwrt-devel
srslypascal is now known as Guest1072
srslypascal has joined #openwrt-devel
Guest1072 has quit [Ping timeout: 480 seconds]
gladiac has joined #openwrt-devel
<f00b4r0> rmilecki: one downside I suspect from your scheme is that it forces you to have rootfs EB-aligned, whereas there is presumably no such requirement when flashing a continuous "firmware"
Tapper has joined #openwrt-devel
<linusw> rmilecki: hey you backported the new device trees to OpenWrt in no time! :D thanks!
<linusw> rmilecki: I have some patches to generate DIR-890L and DWL-8610AP images but need to test them first.
<linusw> the seama signature makes me nervous because it seems like something the CFE could be checking to be correct... I have a signature that DD-WRT was using though so going with that.
<rmilecki> linusw: i'm glad you found it helpful
<rmilecki> linusw: good luck with images
<rmilecki> f00b4r0: sounds correct
minimal has joined #openwrt-devel
valku has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 99.6% packages reproducible in our current test framework.)
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Ansuel has joined #openwrt-devel
<Ansuel> stintel did you check my email ?
<stintel> Ansuel: I saw it, didn't get to it yet
<stintel> Ansuel: I should probably first understand fully how this mechanism works
<Ansuel> my idea at times was that COPY doesn't preserve some stuff and that makes all the makefiles angry but WAIT let me check something...
<Ansuel> OHHHHHHHHHHHHHHHHH RIGHT I'M STUPID
<Ansuel> stiintel the dl dir!!!!!!!!
<Ansuel> openwrt recompile stuff if the package in dl is not present
<stintel> arf
Tapper has quit [Ping timeout: 480 seconds]
<Ansuel> we shoudl consider adding a skip for that if we really want to not bloat the container
<stintel> yeah
<Ansuel> anyway while at it i would suggest to include in the COPY command the dl dir to test your idea
<\x> Ansuel: what does ipq806x do with sqm now, like nss-codel, codel and cake?
<\x> performance wise
<stintel> Ansuel: will do, thanks again!
<soxrok2212> Ansuel: i dumped the fw for that tp-link
<Ansuel> fixing that later is very easy as you will have to just delete dl dir from the dockerfile
<soxrok2212> their support channel basically said f-off about firmware and gpl
<Ansuel> \x nss-codel is not supported as that require all the nss infra so only codel or cake
<stintel> Ansuel: yeah, for now adding the dl/ dir is a good test
<Ansuel> soxrok2212 it's strange having tp link not following gpl rules still waiting for half treatning gpl mail with noticing tham that it's againt gpl rules and eu law to not comply with them EHEHEH
<\x> Ansuel: ah, well theres something in the forum about that, just forget it then. How about sqm codel and cake?
torv has joined #openwrt-devel
<Ansuel> \x afaik codel can handle more traffic and there is even an improved version but cake better handle bufferbloat (but can handle lower speed)
<soxrok2212> Ansuel: its tp-link china, thats why. anyways, i was able to extract dts from the device. https://forum.openwrt.org/t/adding-support-for-tp-link-xdr-6086/140637/6?u=soxrok2212
<Ansuel> soxrok2212 the thins is check the dumped fw and find the backdoor to access serial
<Ansuel> from what i can see uboot doesn't verify the fw
<soxrok2212> is there a particular backdoor youre referring to?
<Ansuel> no idea but currently even with a custom fw compiled you can't flash it
<Ansuel> (I assume)
<soxrok2212> do you want the bin?
<Ansuel> why not but i can only give it a quick look
<soxrok2212> preferred file share site?
<\x> this should werk for temporary upload https://litterbox.catbox.moe/
<\x> soxrok2212: is there any secureboot on that XDR-6086 something
<soxrok2212> doesn't look like it
<soxrok2212> but they nerfed u-boot
<\x> like no tftp and bootm?
<soxrok2212> correct
<Ansuel> but my idea is that they are all blocked by an uboot env special variable
<\x> i forgot what you call it, the one where you send a file over the serial uart
<\x> Ansuel: well yeah, what I meant is that, can you give me numbers on performance?
<Ansuel> soxrok2212 did you test if failsafe works ? LOL
<\x> i remember mt7621 has this sbl mode where you send it another uboot
<\x> >inb4 the only way to install something custom on this is to trigger that and replace uboot
<Ansuel> oh wow /bin is full of bloat from other oem
<Ansuel> there is even a readme in chinese ??????
<soxrok2212> failsafe, nope
<soxrok2212> \x: probably ATF you're thinking of
<\x> yeah whatever that is
<soxrok2212> arm trusted firmware
<soxrok2212> Ansuel: failsafe is blocked
<\x> different thing then, theres that thing Borromini has done some time a go to recover a device that had uboot fail, he sent another uboot via minicom
<\x> then he booted from that and rewrote the uboot region
<stintel> Ansuel: sweeeeet!
<Ansuel> worked?
<Ansuel> mhhh there is this
<Ansuel> flash_sign_pk.pem ????
<Ansuel> nice so i can drop that thing of creating the tar and just update the dockerfile on openwrt!
<Ansuel> my concern is just with COPY preserving links
<Ansuel> can you check that?
<stintel> Ansuel: where should I check?
<soxrok2212> Ansuel: yeah theres a couple keys in there
<Ansuel> in staging if there are any links and if they are correct
<Ansuel> well i wonder if the way to install custom fw is to just use the webui
<soxrok2212> how would we test it tho :(
<soxrok2212> tftpboot is bae
<Ansuel> eh
<stintel> Ansuel: alright
<Ansuel> LOL you are right if it works you will probably result in a brick
<stintel> Ansuel: I'll do a local build of the toolchain container and check
<stintel> I can podman run the image layer resulting from the COPY command, don't need to wait for full toolchain build to finish and be published
<Ansuel> soxrok2212 anyway we need a way to enter the system and just dump the uboot bins from the flash...
<Ansuel> mh there is this strange failsafe init.d
Tapper has joined #openwrt-devel
<soxrok2212> i mean
<soxrok2212> i could write back to the chip and change the root password
<Ansuel> erm
<Ansuel> default pass for admin
<Ansuel> WaQ7xbhc9TefbwK
<soxrok2212> logging in with admin user just loops
<soxrok2212> doesnt let me use that acct i guess
<soxrok2212> can't we just dd the bins out of the whole image?
<soxrok2212> dd the u-boot bins*
<Ansuel> oh right this is the dump of the whole flash right
<soxrok2212> yep
<soxrok2212> all 128MB
<Ansuel> then yes from the dts info we can totally extract SBL2
<soxrok2212> dts is on the forum post
<Ansuel> partition@0 {
<Ansuel> reg = <0x00 0x100000>;
<Ansuel> label = "BL2";
<Ansuel> read-only;
<Ansuel> };
<soxrok2212> does the dts contain the offset from the start of UBI or from the 0x0 on the chip
<Ansuel> chip
<soxrok2212> ok so first 0x1000000 is u-boot
<soxrok2212> 0x100000*
lynxis has quit [Remote host closed the connection]
lynxis has joined #openwrt-devel
<soxrok2212> oh no wouldnt u-boot be in fip
guidosarducci_ has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<Ansuel> well yep that nand dump doesn't seems to have uboot...
<soxrok2212> O.o
<soxrok2212> ill dump it again. i had to hold the clip on with my hand, maybe it came loose
<Ansuel> or it's at an offset and I'm missing that
<soxrok2212> ive been looking for it too and cant find it
<stintel> Ansuel: there appear to be some broken symlinks pointing to things in staging_dir/target-..., which is to be expected as I only copy {build,staging}_dir/host
<stintel> Ansuel: but pretty sure you will have the same problem with a tarball
<Ansuel> but why host tools have links to targets ?
<stintel> yeah good question
<stintel> it doesn't seem right
<Ansuel> (they are probably regenerated on target install IMHO)
<Ansuel> can you give me an example
<stintel> Ansuel: build_dir/host/mpfr-4.1.0/compile -> /home/build/openwrt/staging_dir/target-mips_24kc_musl/../host/share/automake-1.15/compile
<Ansuel> i'm curios to what it's pointed
<Ansuel> oh
<Ansuel> wth it's a link to self
<Ansuel> no i mean it's a strange link
<stintel> it is but many of them are like that
<Ansuel> hope we are the one who generate that link
<stintel> build_dir/host/mpfr-4.1.0/compile -> /home/stijn/Development/OpenWrt/openwrt/staging_dir/target-aarch64_cortex-a53_musl/../host/share/automake-1.15/compile
<stintel> this is on my local clone
<stintel> so it seems "normal"
<Ansuel> well ideally they should just point to staging host dir
<Ansuel> directly
<stintel> agreed
<stintel> I found it weird that make tools/install required a .config at all
<soxrok2212> Ansuel: okay dumping again with some zip ties this time
<Ansuel> well that it O.K.
<stintel> I don't see why a target toolchain would be needed to build host tools
<stintel> this is probably all related
<Ansuel> some tools may be required by specific target
<Ansuel> check makefile in tools dir
<Ansuel> some of them are only enabled by b43
<stintel> maybe we could bypass this with BUILD_ALL_HOST_TOOLS
<Ansuel> yes i created that for this only task but it will take 3 h to compile due to llvm toolchain ahahha
minimal has quit [Quit: Leaving]
<stintel> it would result in a smaller tools container image by avoiding a target toolchain
<Ansuel> there is a pr on github if you want to take a look of the time it will take
<stintel> hmmm
<stintel> for llvm we should probably respect CONFIG_USE_LLVM_HOST=y
<stintel> we can easily install a compatible clang/llvm in the tools container
<stintel> s/tools/base/
<Ansuel> anyway i'm checking if i can find where the links are created
<Ansuel> in out include files
<stintel> so far it doesn't seem to break anything, as it's in the source/build dir
<stintel> the binaries should be fine
<stintel> now I'm trying to figure out a way to find out k8s resource limits/requests from within a pod
<stintel> you can't really nproc because this would give 80 while the pods are limited to 8 CPUs
<Ansuel> well yes it does work as tools are compiled and the targets gets created but ideally if you only compile tools
<Ansuel> target dir should not be created at all
<stintel> agreed
<stintel> although people might call this bikeshedding :P
<Ansuel> i hope --trace can help me in finding who create the link
<stintel> heh
<stintel> so there is build_dir/target-mips_24kc_musl/ staging_dir/target-mips_24kc_musl/ and both are empty
<Ansuel> and they are probably created this early to handle the links
<Ansuel> well no luck with --trace
<Ansuel> ?
<stintel> ah no
<stintel> omg
<stintel> a bit under the weather today
<stintel> maybe I should step away from the computer
<Ansuel> you are too curious if all this container thing works
<Ansuel> just like i'm too curious to find who the hell create the broken link
<stintel> :D
<Ansuel> think i found it
<Ansuel> automake patch
<Ansuel> and also autoconf...
<Ansuel> why not use directly STAGING_DIR_HOST wth ?????
<Ansuel> +my $autom4te = $ENV{'AUTOM4TE'} || ($ENV{'STAGING_DIR'} ? $ENV{'STAGING_DIR'} . '/../host/bin/@autom4te-name@' : '@bindir@/@autom4te-name@');
<stintel> sorry for sending you down a rabbit hole :/
<Ansuel> nha i love this stuff much better than seraching for cache corruption on ipq806x.... at lest i have something deterministic
<Ansuel> and i should trash this keyboard for the amount of key it skips -.-
* stintel happy with Ducky One 2 cherry mx blue :P
<stintel> so happy I bought a 2nd one for travelling
<stintel> not very coworker friendly though
<Ansuel> tap tap tap LOL
<Ansuel> ok time to see if my idea is right
<Ansuel> test-driver -> /home/ansuel/openwrt/staging_dir/host/share/automake-1.15/test-driver
<Ansuel> yheeeeee
<Ansuel> uselss change tho as everything is hardcoded to TOPDIR and that will change but whatever
<Ansuel> stintel wonder how i can skip dl for precompiled tools..
<Ansuel> my idea is to bind everything to AUTOREMOVE (just for now) and ignore the integrity check that triggers redowload and recompile
<Ansuel> simple fix
<stintel> fancy, thanks for looking into that
<stintel> I was also thinking ... github CI does everything even if things fail
<stintel> I would do it staged, i,e, the cheap kernel checks first, if those fail, don't bother with builds
<stintel> it's not because we have free cpu cycles at github that we should be inefficient
<stintel> the cheap checks failures should be fixed, then force push, the expensive checks will have to run again anyway
<Ansuel> ehhh it was my idea at the start but from the user it may be useful to check if he just needs to refresh the patch but the patch compile
<stintel> this leaves more cpu cycles for other open source CI users
<stintel> and is better for our planet
<Ansuel> Even I abuse that idea of patch not refreshed but kernel compile (for the 6.1 WIP pr for example)
<stintel> yeah, it's just that they are *really* expensive checks, those compiles
<stintel> oh well
<Ansuel> if only ccache worked correctly
<Ansuel> kernel compile would only take 2-3 minutes
<Ansuel> but we are also limited by github cache of 10gb
<stintel> maybe we could use one of our other servers for this cache
<stintel> curl --PUT to an nginx vhost
<stintel> just thinking out loud
<Ansuel> interesting
danitool has joined #openwrt-devel
<Ansuel> fun thing i can't repro...
minimal has joined #openwrt-devel
gladiac has quit [Quit: k thx bye]
<soxrok2212> Ansuel: new bin, shasums are different so i mustve messed up first time around. password is asdfasdfasdfasdf https://easyupload.io/2u0xyv
<Ansuel> love so much CI tests... only way to catch problems that are present only with a clean build
<Ansuel> soxrok2212 i suggest wetransfer to send file
<Ansuel> no turbo bs just download
<Ansuel> anyway i think we are missing something and uboot is not in the nand
<soxrok2212> im taking a 3rd dump but i dont know if i can dump any better lol
<Ansuel> think won't change anything
<soxrok2212> it almost seems like the dts is wrong
<Ansuel> we should ask to some mtk guy here
<Ansuel> would be a nice idea adding these info on the forum
dansan has joined #openwrt-devel
<soxrok2212> what like the bin?
<soxrok2212> know any mtk guys here
<aiyion> is there a wiki page or something, that hold the info which pins are muxed into which group for mt7621?
dansan has quit [Ping timeout: 480 seconds]
Tapper has quit [Ping timeout: 480 seconds]
valku1 has joined #openwrt-devel
valku has quit [Read error: Connection reset by peer]
valku1 is now known as valku
valku1 has joined #openwrt-devel
valku has quit [Read error: Connection reset by peer]
valku1 is now known as valku
dansan has joined #openwrt-devel
Ansuel has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
matoro has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (96.2% images and 99.6% packages reproducible in our current test framework.)
seer has quit [Quit: quit]
G10h4ck has joined #openwrt-devel
<G10h4ck> hi!
seer has joined #openwrt-devel
Tapper has joined #openwrt-devel
<Ansuel> stintel btw i'm testing the copy thing here
Ansuel has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<Ansuel> heeelo
dansan has quit [Ping timeout: 480 seconds]
<stintel> Ansuel: cool, hope it works :)
<stintel> I was cooking etc
Slimey has joined #openwrt-devel
<Ansuel> stintel the migration pahse will be nightmare as everything will fail but whatever
<aiyion> I've got the bootloader, serial console, lan and wan, 2.4GHz wifi, reset button as well as the gpios for LEDs working. But I cannot find the correct settings for the LTE modem.
soxrok2212 has quit [Read error: Connection reset by peer]
<aiyion> The stockfirmware is some mediatek dirt, but comes with a flattened device tree. Is it feasible to extract it, or even useful?
soxrok2212 has joined #openwrt-devel
<aiyion> I think I extracted some dtbs a while ago
<aiyion> but no fdts yet
<vulpes2[m]> can anyone give me a reference for the `0xDEADC0DE` padding at the end of a typical openwrt image?
<vulpes2[m]> which part of the build system is responsible for generating the metadata in that padding?
Borromini has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
<Ansuel> stintel very sad github ci blacklist some char in path so i have to package the prebuilt tools anyway to pass them to the upload job
<Ansuel> still need to test if the container would work tho
lmore377 has quit [Ping timeout: 480 seconds]
<aiyion> the answer to my question above: you can inspect a firmware dump using binwalk to find the offsets and sizes of the flattened device tree and can axtract it using dd. if successful you gain a binary, which ile`can identify as dts-blob.
lmore377 has joined #openwrt-devel
<soxrok2212> ^ i did this about 6 hours ago
<aiyion> calling dtc -O dts <dtsblob> outputs the dts, I was lookig for.
<aiyion> In my case that thing appears to be completely useless and utterly generic.
<aiyion> it describes three more buttons than this device has...
<owrt-snap-builds> Build [#698](https://buildbot.openwrt.org/master/images/#builders/34/builds/698) of `lantiq/xrx200` completed successfully.
<owrt-snap-builds> Build [#716](https://buildbot.openwrt.org/master/images/#builders/39/builds/716) of `ath79/nand` completed successfully.
<f00b4r0> vulpes2[m]: it's a marker for the jffs2 eraser
<f00b4r0> vulpes2[m]: see some (possibly outdated) explanations here: https://openwrt.org/docs/techref/filesystems#explanations
<vulpes2[m]> yeah I know about the erase marker, the part I'm interested in was the json metadata at the end
<f00b4r0> vulpes2[m]: see include/image-commands.mk iirc
<vulpes2[m]> found it, thanks, it was `append-metadata`
MaxSoniX has quit [Quit: Konversation terminated!]
mirko has quit [Quit: leaving]
<owrt-snap-builds> Build [#256](https://buildbot.openwrt.org/master/images/#builders/77/builds/256) of `realtek/rtl839x` completed successfully.
Borromini has quit [Quit: leaving]
robimarko has quit [Quit: Leaving]
<owrt-snap-builds> Build [#707](https://buildbot.openwrt.org/master/images/#builders/28/builds/707) of `octeontx/generic` completed successfully.
<owrt-snap-builds> Build [#705](https://buildbot.openwrt.org/master/images/#builders/55/builds/705) of `malta/be` completed successfully.
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 99.6% packages reproducible in our current test framework.)
<owrt-snap-builds> Build [#718](https://buildbot.openwrt.org/master/images/#builders/15/builds/718) of `armvirt/64` completed successfully.
<owrt-snap-builds> Build [#256](https://buildbot.openwrt.org/master/images/#builders/75/builds/256) of `realtek/rtl930x` completed successfully.
clandmeter has quit [Quit: Ping timeout (120 seconds)]
clandmeter has joined #openwrt-devel