<tmn505>
rsalvaterra: yeah, maybe it's used elsewhere or got dropped altogether, dunno, didn't find any clues or my search-fu is crap.
<rsalvaterra>
tmn505: If that's the case, then my search-fu is also crap. :/
csrf has joined #openwrt-devel
<csrf>
is there a good way to get an approximation of the size increase when adding components to the openwrt build without having to constantly recompile?
<csrf>
for example, in 'make menuconfig', the busybox customization screen shows the size in kb of each component
<csrf>
is there a way to get info like this for all of the other available packages?
Borromini has quit [Quit: Lost terminal]
rua has quit [Ping timeout: 480 seconds]
<f00b4r0>
csrf: the packages section on the website has that info, but note that it won't reflect squashfs compression
<csrf>
f00b4r0, ok thanks
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
rua has joined #openwrt-devel
<neggles>
csrf: yeah the problem is that it's almost literally impossible to tell
<neggles>
because the rootfs is compressed, and how well a given package compresses depends on what package it is, what compiler you use, what other stuff is in the image
rua has quit [Ping timeout: 480 seconds]
<csrf>
neggles, I'm getting this error '[mktplinkfw2] *** error: kernel image is too big', but it doesn't provide any detail
<neggles>
csrf: have you run `make -j1 V=sc` ?
<csrf>
yes
<neggles>
ok
<csrf>
the mktplinkfw2 tool only says 'too big' but not by how much
<neggles>
can you paste the last couple hundred lines of output?
<csrf>
ok, as soon as I finish building
<neggles>
how big is the flash/what device?
<csrf>
neggles WR840NV5, 4MB/64MB, but note that I'm planning on upgrading the flash chip to 16MB, I just wanted to see if I could build & run an image successfully
<neggles>
oh yeah no definitely not.
<neggles>
there's no way in hell you're fitting a 5.10 or 5.15 kernel image with initramfs into the what, 2.5-3MiB it has available?
<csrf>
last night, I somehow managed to get a small image to build & it worked, but I must've changed the config somehow because now it won't compile
<csrf>
neggles, I'm building 19.07
<neggles>
mmmmk
<neggles>
if you cut every single noncritical package out
<neggles>
remove all debugging and tracing from the kerneli
<neggles>
disable dynamic printk
<neggles>
etc
<neggles>
you might get there
<csrf>
all i need is wireguard to build a tunnel
<neggles>
i highly doubt you'll get that to fit
<csrf>
i got it to work yesterday with initramfs image
<neggles>
you can change the IMAGE_SIZE or KERNEL_SIZE values in the image makefile to a higher number
<csrf>
tfpbooted it
<neggles>
that'll stop the mktplinkfw script complaining
<neggles>
and let you see how close you are
<csrf>
ah ok
<csrf>
neggles, does mtplinkfw complain because the total image is too big,or just the kernel part of it? that's what I'm not clear on
<neggles>
it could be either
<neggles>
for kernel+initramfs, they're the same thing anyway
<neggles>
but if you look at the log lines immediately above the error you'll see the command line it passed to the script
srslypascal has quit [Remote host closed the connection]
<neggles>
so you can check the size of the files it got told to pack
srslypascal has joined #openwrt-devel
rua has joined #openwrt-devel
<csrf>
ok will check it out
<csrf>
i just really need to hurry up & get the flash chip swapped out
<neggles>
yeah :P
<csrf>
no point fighting with 4MB
<neggles>
indeed
<neggles>
4MB is even kinda small for an ESP32
<neggles>
:P
<neggles>
i gotta go sleep, good luck
<csrf>
thanks
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Ibarakasen has joined #openwrt-devel
<Ibarakasen>
Hello, I am building a package for OpenWRT 21.02 which depends on libparted. I set parted as a dependency, but build fails on pkg-config:
<Ibarakasen>
Package libparted was not found in the pkg-config search path.
<Ibarakasen>
I have looked and there exists ./build_dir/target-x86_64_musl/parted-3.4/libparted.pc
<Ibarakasen>
Have I missed something important?
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<Ibarakasen>
It seems that there is a mechanism to tell OpenWRT build system that something is a library and provides a .pk file.
<Ibarakasen>
Do I have to define Build/InstallDev?
<Ibarakasen>
Right, I found the problem. Package parted does not define library definitions so other packages cannot use it as a dependency.
minimal has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 480 seconds]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
subnuclear has joined #openwrt-devel
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Ibarakasen has quit [Quit: Page closed]
f00b4r0 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
f00b4r0 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
_lore_ has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
ekathva has joined #openwrt-devel
_lore_ has joined #openwrt-devel
SamantazFox has joined #openwrt-devel
csrf has quit [Read error: Connection reset by peer]
csrf has joined #openwrt-devel
JiiPee has joined #openwrt-devel
<JiiPee>
Hey guys, is there any possibility to get new device support added at this point to upcoming 22.03?
<Grommish>
JiiPee: Probably not but you never know. Even if it doesn't make 22.03, it would still be in master and the Snapshots until the next release though
<Grommish>
Or if you're source building anyway, you could backport it to your local repo for 22.03 if you really needed it
csrf has quit [Read error: Connection reset by peer]
csrf has joined #openwrt-devel
MAbeeTT4 has joined #openwrt-devel
MAbeeTT3 has quit [Ping timeout: 480 seconds]
subnuclear has quit [Ping timeout: 480 seconds]
csrf has quit [Remote host closed the connection]
csrf has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
Borromini has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
<hauke>
JiiPee: you should get it into master first