<dwfreed>
it "works" because it can be anything; but when you're downloading all sources, it should be sufficiently unique (by including package name, for example) to definitely not collide with any other package's source
<Mangix>
triied asking ChatGPT how to do this, didn't quite get the proper result
<damo22>
what flag am i missing for lzma-loader? i got "error: Unsupported SoC" make -w -C lzma-loader PKG_BUILD_DIR="/home/damien/git/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tplink_archer-mr200-v6-initramfs-kernel.bin.src" TARGET_DIR="/home/damien/git/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/" LOADER_NAME="openwrt-ramips-mt76x8-tplink_archer-mr200-v6-initramfs-kerne
<PaulFertser>
To figure out the header if it's really different from what's already supported you might want to grab several different versions of this firmware from vendor updates, unpack and see what bytes are different.
<PaulFertser>
damo22: and no uImage header?
<damo22>
thats starting at 0x20000
<damo22>
i dont know what a uImage header looks like
<PaulFertser>
I wonder if your lzma compressed image also has properties: 0x5D
<damo22>
i could recompile one and see
rmilecki has joined #openwrt-devel
<PaulFertser>
damo22: did you add full log (from startup) from vendor booting somewhere?
<PaulFertser>
damo22: you can create uImage header yourself with "mkimage" tool, if vendor's u-boot isn't talking about FIT then it's probably a "legacy uImage".
<PaulFertser>
But binwalk should have detected it.
<PaulFertser>
damo22: have you downloaded GPL sources for u-boot on this board?
sestowner has joined #openwrt-devel
<damo22>
i cant find GPL sources for this version of the board
<Habbie>
dwfreed, right, i figured it was something like that, but i don't do guessing games and this person only had guessing games for me :)
<PaulFertser>
damo22: you should probably try requesting it from them, they must provide it
goliath has joined #openwrt-devel
<PaulFertser>
damo22: it's quite possible tplink is doing some odd thing and using their own custom header instead of uImage or FIT header there. So to guess what might be important in that new header type you might need few examples to compare.
dermoth has joined #openwrt-devel
owrt-images-builds_ has quit [Quit: buildmaster reconfigured: bot disconnecting]
owrt-images-builds has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
mcbridematt has quit [Read error: Connection reset by peer]
cmonroe has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
rua has joined #openwrt-devel
rua is now known as Guest8250
rua has joined #openwrt-devel
Guest8250 has quit [Ping timeout: 480 seconds]
TianlingShen[m] has quit [Remote host closed the connection]
schmars[m] has quit [Remote host closed the connection]
rua has quit [Ping timeout: 482 seconds]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
kirdesde has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
rmilecki has quit []
rmilecki has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
_lore_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
_lore_ has joined #openwrt-devel
_lore_ has quit []
_lore_ has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
rmilecki has quit [Quit: Konversation terminated!]
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
goliath has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
_lore_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
_lore_ has joined #openwrt-devel
mrnuke has joined #openwrt-devel
minimal has quit [Quit: Leaving]
<cation>
there are some devices that are being switched to use `compatible = "u-boot,env";` in their DTS files to set which partition has the u-boot environment parameters... some devices have second u-boot-env partitions (searching "u-boot-env2" in the openwrt repo finds these), is it possible to configure these second partitions in the same way (with something like `compatible = "u-boot,sys";`)?
<cation>
or would you have to keep using "ubootenv_add_uci_sys_config" in package/boot/uboot-envtools/files/*?