gch981213 has joined #openwrt-devel
thejoker8814 is now known as Guest7601
thejoker8814 has joined #openwrt-devel
Guest7601 has quit [Ping timeout: 480 seconds]
thejoker8814 is now known as Guest7608
thejoker8814 has joined #openwrt-devel
Guest7608 has quit [Ping timeout: 480 seconds]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
rua has quit [Quit: Leaving.]
<damo22> Found Eon flash chip "EN25QH128" (16384 kB, SPI)
<damo22> what does this do TPLINK_FLASHLAYOUT := 8MLmtk
<damo22> if my flash chip is 16MB can i use 16MLmtk ?
<damo22> [mktplinkfw2] *** error: unknown flash layout "16MLmtk"
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
gladiac has quit [Quit: bye]
gladiac has joined #openwrt-devel
gladiac has quit []
gladiac has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
<damo22> am i supposed to run the mktplinkfw2 tool on a full rom to inspect it?
<damo22> $ ./staging_dir/host/bin/mktplinkfw2 -i mr200-factory.rom
<damo22> File name : mr200-factory.rom
<damo22> [mktplinkfw2] *** error: file does not seem to have V2/V3 header!
<damo22> File size : 0x01000000 / 16777216 bytes
<damo22> is this safe to run with tftp? 5017986 May 26 18:58 openwrt-ramips-mt76x8-tplink_archer-mr200-v6-initramfs-kernel.bin
<damo22> i used the 16Mqca layout which was almost what mine is
damo22 has quit [Read error: No route to host]
grid has quit [Quit: grid]
grid has joined #openwrt-devel
damo22 has joined #openwrt-devel
<damo22> MT7628 # tftpboot 0x80060000 mr200-openwrt.bin
<damo22> MT7628 # bootm
<damo22> do_bootm:argc=1, addr=0x80060000
<damo22> ## Booting image at 80060000 ...
<damo22> done
<damo22> Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
<damo22> did i use the right sequence?
minimal has joined #openwrt-devel
jangrewe has joined #openwrt-devel
<jangrewe> hi all, i'm trying to build my own firmware for mediatek_filogic/cudy_wr3000-v1, following the developer guide from the wiki, and everything seems to run nicely until i hit this close (i assume) to the end: "bash: line 1: /storage/download/openwrt/staging_dir/host/bin/lzma: No such file or directory"
<schmars[m]> lzma has been removed a while ago, maybe your openwrt clone is out of date?
<jangrewe> i've checked out the 23.05.3 tag
<schmars[m]> ah right, lzma was only removed in main
<schmars[m]> make tools/compile should compile lzma too then
<jangrewe> i would have thought so, too :-D
hanetzer has joined #openwrt-devel
rua has joined #openwrt-devel
<jangrewe> okay, nevermind. i ran a "make distclean" and now it builds fine - sorry for that
mcbridematt has quit [Read error: Connection reset by peer]
mcbridematt has joined #openwrt-devel
mcbridematt has quit [Read error: Connection reset by peer]
jangrewe has quit [Quit: Page closed]
jangrewe has joined #openwrt-devel
<jangrewe> sorry to bother you guys again, but i discovered the docker imagebuilder, which seems more appropriate for my purpose (take upstream image and add a couple of changes), but it seems like the image that gets built is very minimal - e.g. no uhttpd, no luci
<jangrewe> this is my CI pipeline used to build the images: https://paste.faked.org/?feb542bcb8105dcd#Fzoy5TXb9ycGZPz6QkqBFbzpbWazLK4dUstQ2sqGh8ue
<jangrewe> how can i get imagebuilder to build an exactly identical image as the ones you guys publish, just with the customizations included?
nixuser has quit [Ping timeout: 480 seconds]
nixuser has joined #openwrt-devel
KanjiMonster has quit [Ping timeout: 480 seconds]
KanjiMonster has joined #openwrt-devel
<schmars[m]> releases and snapshots have different package sets (e.g. noch luci in snapshot) - the packages are listed in profiles.json in the respective target directory, e.g. https://downloads.openwrt.org/releases/23.05.3/targets/ramips/mt7621/profiles.json
<schmars[m]> default_packages + device_packages
<schmars[m]> though i'm not sure why that ^ 23.05.3 profiles.json doesn't list e.g. luci and other highlevel packages
<jangrewe> but yeah, it's missing all the interesting bits
<jangrewe> so if imagebuilder builds all (as it seems) images with just the minimum+device packages, where/when does luci etc. get added?
<swalker> updated openwrt/upstream, https://sdwalker.github.io/uscan/index.html
<schmars[m]> the images on downloads.openwrt.org are not actually build by imagebuilder, they're build by openwrt.git buildroot itself
<Habbie> hehe, buildbot<>buildroot
<schmars[m]> but i dont know where the full package list gets assembled either
<schmars[m]> yeeeah but the build system that we call with make is still called buildroot no? :)
<Habbie> i believe it is!
<schmars[m]> buildrot and buildboot \o/
Obi-Wan has quit [Ping timeout: 480 seconds]
Obi-Wan has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
gch981213 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<jangrewe> so the official images are always built from source, and imagebuilder is only meant for building custom images based on minimal images? Which means if i want to build a customized "just like the official" image, i'll have to build from source?
<dwfreed> you can use the image builder for that; it may not produce an image that is bit-for-bit identical, but it'll have the same practical content
<jangrewe> dwfreed: but how? as explained the links above, i'm doing as little as possible and only add some uci-defaults and 3 additional packages, yet the resulting image is absolutely minimal - no luci, no uhttpd
<dwfreed> because the image builder defaults don't include luci
<dwfreed> just add luci too
<dwfreed> I believe specifically you want luci-ssl, and that'll pull in luci itself and all the deps necessary for luci/uhttpd to support tls
<jangrewe> so where does e.g. firmware-selector get the info from that it's supposed to include luci? there has to be a source for that somewhere...
<dwfreed> actually it adds that itself
<jangrewe> oh wow... so the most "just like official" method would indeed be from source then.
<dwfreed> there's no point in wasting CPU cycles building from source
<dwfreed> there is no practical difference in using the image builder to build an image that includes luci
<jangrewe> sure, but unless there's a versioned source for the list of packages, that's the only way to do CI/CD properly. And with a bit of caching it won't be that bad. i really don't want to start this off with kludges like downloading and parsing that config.js :-D
<dwfreed> why does it matter?
<dwfreed> you're literally making this 10x harder than it needs to be