goliath has quit [Quit: SIGSEGV]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
lemoer has quit [Ping timeout: 480 seconds]
lemoer has joined #openwrt-devel
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#74](https://buildbot.openwrt.org/images/#/builders/235/builds/74) of `main_ramips/mt7621` failed: failed Checksums calculated (failure) (timed out)
cascade_mello has joined #openwrt-devel
Danct12 has quit [Quit: ZNC 1.9.1 - https://znc.in]
Danct12 has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
skynet2_ has quit []
dansan_ has joined #openwrt-devel
dansan has quit [Ping timeout: 480 seconds]
cascade_mello has quit [Quit: Page closed]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
ServError has quit [Quit: Leaving]
minimal has quit [Quit: Leaving]
drussell_2 has joined #openwrt-devel
drussell_ has quit [Ping timeout: 480 seconds]
soxrok2212 has quit [Read error: Connection reset by peer]
nixuser has quit [Read error: Connection reset by peer]
nixuser has joined #openwrt-devel
soxrok2212 has joined #openwrt-devel
Daanct12 has quit [Quit: WeeChat 4.5.1]
eluks has quit [Remote host closed the connection]
eluks has joined #openwrt-devel
tmash has joined #openwrt-devel
hexa- has quit [Quit: WeeChat 4.4.3]
hexa- has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
valku has quit [Quit: valku]
tmash has quit [Quit: Page closed]
sorinello has joined #openwrt-devel
sorinello has quit [Quit: Leaving]
sorinello has joined #openwrt-devel
sorinello has quit []
<owrt-images-builds> Build [#84](https://buildbot.openwrt.org/images/#/builders/67/builds/84) of `main_armsr/armv7` failed: failed Images built and installed (failure) (timed out)
rz has quit [Remote host closed the connection]
rz has joined #openwrt-devel
<owrt-images-builds> Build [#74](https://buildbot.openwrt.org/images/#/builders/95/builds/74) of `main_ath79/generic` failed: failed Images built and installed (failure) (timed out)
rmilecki has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
noltari_ has quit [Quit: Bye ~ Happy Hacking!]
noltari has joined #openwrt-devel
<f00b4r0> enyc: unfortunately I have no idea what you're referring to
n3ph has joined #openwrt-devel
gromero has quit [Remote host closed the connection]
dansan_ is now known as dansan
ddejean has quit [Remote host closed the connection]
thehybrid1337 has joined #openwrt-devel
<enyc> f00b4r0: you asked if https://github.com/openwrt/openwrt/pull/17757 had been tested or suggested posts on it about being tested
<enyc> (which have been done)
<enyc> The question is what is needed to get it to 24.10
<enyc> (and master)
robimarko has joined #openwrt-devel
daodaozai_ has joined #openwrt-devel
<daodaozai_> Hi
<daodaozai_> Anyone here?
<robimarko> Yeah
n3ph_ has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#82](https://buildbot.openwrt.org/images/#/builders/256/builds/82) of `main_starfive/generic` completed successfully.
ssterling has quit [Quit: ZNC 1.9.1 - https://znc.in]
gromero has joined #openwrt-devel
ssterling has joined #openwrt-devel
hurricos has joined #openwrt-devel
hurricos_ has quit [Ping timeout: 480 seconds]
lemoer has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.5.1]
cmonroe has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#83](https://buildbot.openwrt.org/images/#/builders/48/builds/83) of `main_armsr/armv8` completed successfully.
<owrt-images-builds> Build [#13](https://buildbot.openwrt.org/images/#/builders/265/builds/13) of `main_siflower/sf21` failed: failed Images built and installed (failure) (timed out)
skynet2 has joined #openwrt-devel
skynet2_ has joined #openwrt-devel
skynet2 has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#82](https://buildbot.openwrt.org/images/#/builders/24/builds/82) of `main_mvebu/cortexa53` completed successfully.
valku has joined #openwrt-devel
lemoer has joined #openwrt-devel
lemoer has quit [Ping timeout: 480 seconds]
lemoer has joined #openwrt-devel
Fijxu_ has joined #openwrt-devel
<owrt-images-builds> Build [#85](https://buildbot.openwrt.org/images/#/builders/67/builds/85) of `main_armsr/armv7` completed successfully.
goliath has joined #openwrt-devel
minimal has joined #openwrt-devel
lucascastro has joined #openwrt-devel
daodaozai_ has quit [Remote host closed the connection]
cmonroe has joined #openwrt-devel
n3ph_ has quit [Ping timeout: 480 seconds]
rz_ has joined #openwrt-devel
rz has quit [Ping timeout: 480 seconds]
<soxrok2212> the device im working on has a bootloader that validates os (and likely the bootrom validates the bootloader too, so i dont think i can patch the bootloader). however, i can still boot arbitrary images by reading from flash and using bootm. is it "acceptable" upstream to muck up the bootloader to support this functionality? e.g. each upgrade i would update a bootloader arg with the size of the sysupgrade image, load from f
<soxrok2212> then boot it
<soxrok2212> i'd also have to change the default bootargs
<soxrok2212> sorry, default bootcmd
<soxrok2212> Ansuel: this may be for you, its the w1700k
<owrt-images-builds> Build [#83](https://buildbot.openwrt.org/images/#/builders/65/builds/83) of `main_lantiq/ase` failed: failed './scripts/feeds update' (failure)
torv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
torv has quit []
torv has joined #openwrt-devel
<KanjiMonster> soxrok2212: there are worse device, for some you need to replace the full bootloader, so just changing the bootcmd is mild compared to that
<soxrok2212> ok cool. ty
<KanjiMonster> soxrok2212: though you shouldn't need to update the bootloader arg each time; just copy a large enough chunk to contain the kernel and some, and bootm will just read and boot the kernel, any additional data is normally ignored
<soxrok2212> that was the other option.. ill try that
<KanjiMonster> the default bootcmd of many device is copy x MiB from start of image to loaddr, then bootm from there
<KanjiMonster> with x often not enough for modern kernels
<owrt-images-builds> Build [#75](https://buildbot.openwrt.org/images/#/builders/95/builds/75) of `main_ath79/generic` completed successfully.
<soxrok2212> i think ive seen a few cases of that
<soxrok2212> KanjiMonster: one more question. the bootloader doesnt support ubi, so i must use a separate kernel+rootfs and overlay. my kernel+rootfs starts fine, but i must be missing something to get my overlay working right
<soxrok2212> is there somewhere i should be setting the partition to ubi?
torv is now known as Guest9650
Guest9650 has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<KanjiMonster> soxrok2212: is this nor or nand?
<soxrok2212> nand
<KanjiMonster> nand and no ubi support? sounds like a recipe for trouble ...
<KanjiMonster> you can do raw kernel + ubi for rootfs and overlay. The bootloader doesn't need to be able to read the rootfs, just the kernel
<soxrok2212> its based on uboot 2014 so yeah, no ubi
<soxrok2212> i was following the rfb for this platform that has raw kernel+rootfs
<KanjiMonster> hopefully this is at least a slc nand
<soxrok2212> im just not sure how to configure overlay to be ubinized
<soxrok2212> W25N04KV
<soxrok2212> slc, yeah
<KanjiMonster> let me try to find an example device with raw kernel + ubi ...
<KanjiMonster> soxrok2212: not the best example, but the kirkwood linksys devices are of that kind, see https://github.com/openwrt/openwrt/blob/main/target/linux/kirkwood/image/Makefile#L282 for the factory image (full flash kernel + ubi)
<KanjiMonster> soxrok2212: while sysupgrade is just the standard sysupgrade-tar https://github.com/openwrt/openwrt/blob/main/target/linux/kirkwood/image/Makefile#L127 which only contains kernel + rootfs
lucascastro has quit [Remote host closed the connection]
<soxrok2212> how big of a deal is it though if the rootfs is raw? its not like it'll be written any more than the kernel
lucascastro has joined #openwrt-devel
<KanjiMonster> most flash filesystems can't cope with bad blocks
torv has quit [Remote host closed the connection]
<soxrok2212> ah, fair
<soxrok2212> can you sysupgrade a factory image
<soxrok2212> that that the standard method to install from an initramfs
<soxrok2212> then just sysupgrade for the rest
<KanjiMonster> not sure, but I think you can
<KanjiMonster> though in that case you could also skip the factory image and directly format the ubi partition and then let sysupgrade do the rest or so
<KanjiMonster> not sure if it doesn't even support that, haven't checked in a while
torv has joined #openwrt-devel
<soxrok2212> yeah that's the part im lost on
<soxrok2212> theres no documentation for that lmao
Nilsro has joined #openwrt-devel
Nilsro_ has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
Piraty_ has quit []
Piraty has joined #openwrt-devel
torv has joined #openwrt-devel
<KanjiMonster> soxrok2212: there is actually nothing you need to do: the default nand sysupgrade path tries to attach the ubi, and if it can't formats it, and then continues on with a normal sysupgrade installation
<soxrok2212> so then the whole procedure should be flash a factory image like the linksys kirkwood, then just sysupgrade from there on out?
<KanjiMonster> just boot initramfs and then sysupgrade a sysupgrade-tar
<KanjiMonster> no need for any factory images
<soxrok2212> so im in the case where im changing the factory partitions since they were wasting so much space with a/b and not actually using the whole flash. is the device tree responsible for saying which partition is ubi?
<KanjiMonster> yes
<KanjiMonster> or maybe the kernel commandline
<KanjiMonster> but that's also part of the dts
lucascastro has quit [Ping timeout: 480 seconds]
<soxrok2212> reg = <… …>;
<soxrok2212> label = "ubi";
<soxrok2212> compatible = "linux,ubi";
<soxrok2212> is sufficient?
<KanjiMonster> should be
lucascastro has joined #openwrt-devel
<KanjiMonster> though you also might need to set the partition name (label) in your Device section so it gets encoded in the sysupgrade-tar
<KanjiMonster> the compatible is so that the ubi gets attached by the kernel automatically so it can load a rootfs from it
<soxrok2212> i have
<soxrok2212> partition@600000 {
<soxrok2212> reg = <0x00600000 0x01000000>;
<soxrok2212> label = "kernel";
<soxrok2212> };
<soxrok2212> partition@1600000 {
<soxrok2212> label = "ubi";
<soxrok2212> reg = <0x01600000 0x1e800000>;
<soxrok2212> compatible = "linux,ubi";
<soxrok2212> };
<soxrok2212> you mean that label?
<KanjiMonster> yepp, something like that
<soxrok2212> ok so then next im not sure my image makefile will be right
<soxrok2212> is there something specific i need to package the kernel separate from rootfs+overlay
<KanjiMonster> you will also want to have a uboot and a env partition, so you can update the fw env
<soxrok2212> yeah i have thouse
<soxrok2212> those*
torv has quit [Remote host closed the connection]
<KanjiMonster> no, just a normal uImage is fine
<KanjiMonster> whatever the bootloader accepts
<soxrok2212> ok. lzma kernel it is
<soxrok2212> sysupgrade should just be a sysupgrade-tar?
torv has joined #openwrt-devel
lucascastro has quit [Ping timeout: 480 seconds]
<soxrok2212> KanjiMonster: [ 21.149444] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0004: 0x0001 instead
<KanjiMonster> yes
<soxrok2212> spamming the console
<KanjiMonster> there should be no jffs2 happening
<soxrok2212> jffs2 is for sure happening somehow
<soxrok2212> ah you know what
<soxrok2212> i think my sysupgrade failed
<soxrok2212> yep, fixed. it works! this is beautiful, thank you for the help!
<soxrok2212> i'll just need to flash back to stock and write out the entire flash instructions
<KanjiMonster> awesome, and you're welcome :)
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cmonroe has quit [Ping timeout: 480 seconds]
gromero_ has joined #openwrt-devel
gromero has quit [Ping timeout: 480 seconds]
lynxis has quit [Quit: beaming to the mars]
lynxis has joined #openwrt-devel
cmonroe has joined #openwrt-devel
drussell_2 has quit [Quit: Leaving]
PaulFertser has quit [Ping timeout: 480 seconds]
dansan has quit [Read error: Connection reset by peer]
dansan has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
n3ph has joined #openwrt-devel
<owrt-images-builds> Build [#75](https://buildbot.openwrt.org/images/#/builders/235/builds/75) of `main_ramips/mt7621` completed successfully.