03:05.11 | *** join/#elinux _Lucretia__ (~munkee@5ac2a2af.bb.sky.com) |
03:30.29 | *** join/#elinux flyback (~flyback@c-67-163-147-45.hsd1.pa.comcast.net) |
06:23.17 | *** join/#elinux lyakh (~lyakh@dslb-188-109-033-173.pools.arcor-ip.net) |
09:39.00 | *** join/#elinux jackmitchell (~Thunderbi@195.171.99.130) |
10:26.06 | *** join/#elinux likewise (~likewise@203-158-ftth.on.nl) |
10:56.50 | *** join/#elinux soafee-chan (~spaec@unaffiliated/traumapony) |
12:24.51 | *** join/#elinux gustavoz (~gustavoz@host110.190-225-90.telecom.net.ar) |
12:53.41 | *** join/#elinux _Lucretia_ (~munkee@pdpc/supporter/active/lucretia) |
13:20.01 | *** join/#elinux cr-ver (~craver@e180089179.adsl.alicedsl.de) |
13:30.26 | *** join/#elinux GNUtoo-x60 (~GNUtoo@host3-118-dynamic.54-79-r.retail.telecomitalia.it) |
13:31.55 | GNUtoo-x60 | hi, is it possible to get a kernel+initramfs under 1.8M with the following capabilities: |
13:32.39 | GNUtoo-x60 | some sort of iwconfig, udhcpc, wget md5sum and kexec |
13:33.23 | GNUtoo-x60 | the target arch is x86 in 32bit |
14:04.03 | *** join/#elinux GPSFan (~kenm@64.92.145.112) |
14:15.40 | gustavoz | GNUtoo-x60: maybe, have you tried? |
14:16.54 | gustavoz | kernel size is the biggest concern, depending on drivers and such |
14:18.27 | GNUtoo-x60 | gustavoz, yes and it's a bit more than 1.8M |
14:19.28 | GNUtoo-x60 | maybe busybox is too big also |
14:19.34 | GNUtoo-x60 | because I used static linking |
14:19.54 | GNUtoo-x60 | I wonder if dynamic linking to a well configured uclibc would give better results |
14:20.02 | gustavoz | GNUtoo-x60: well you can try static vs dynamic with all the same options and check the result, at some point dynamic is a better option (with more packages) |
14:20.26 | gustavoz | it's very package dependent though so you'll have to measure it up |
14:20.56 | GNUtoo-x60 | ok |
14:20.57 | GNUtoo-x60 | thanks a lot |
14:21.07 | gustavoz | out of curiosity are you using some build system or all by hand? |
14:21.20 | GNUtoo-x60 | by hand |
14:21.34 | GNUtoo-x60 | since there is only busybox for now.... |
14:21.44 | gustavoz | then remember to strip everything, with sstrip you'll get some extra savings |
14:22.04 | GNUtoo-x60 | ahh ok |
14:22.06 | gustavoz | and maybe use a higher compression method in the kernel binary |
14:22.06 | GNUtoo-x60 | thanks a lot |
14:22.15 | GNUtoo-x60 | it's at xz already |
14:22.49 | gustavoz | maybe you can use busybox hush (smaller than ash, but less features) too |
14:23.26 | gustavoz | and disable threads in uclibc if you didn't already |
14:23.54 | GNUtoo-x60 | I used static linking, not to uclibc |
14:23.58 | GNUtoo-x60 | to glibc.... |
14:24.06 | GNUtoo-x60 | I'll use a build system |
14:24.11 | gustavoz | oh, you'll get big savings with uclibc then |
14:24.25 | gustavoz | binary size full libc is like 1.8 MB vs 300 KB |
14:24.53 | gustavoz | you can also trim a lot of unused/old/compatibility stuff in uclibc to make it even smaller |
14:25.31 | GNUtoo-x60 | ok |
14:25.36 | GNUtoo-x60 | wow |
14:25.40 | GNUtoo-x60 | thanks a lot |
14:25.54 | gustavoz | i'm quite biased being a contributor, you can try using buildroot, it'll make your life quite simple for those use cases |
14:28.58 | GNUtoo-x60 | ok |
14:29.02 | GNUtoo-x60 | or openwrt? |
14:29.28 | GNUtoo-x60 | openembedded could work too but it's not suited for such use cases |
14:29.56 | gustavoz | openwrt is also an option, it's an old fork of buildroot that continued development on it's own path |
14:31.15 | gustavoz | where openwrt handles packages buildroot does not, you could say openwrt is more focused on users of the target "firmware" where buildroot is more suited to self-contained |
14:31.48 | gustavoz | "packages" in an installable afterwards kind of sense, like rpm, aptitude, so on |
14:34.25 | GNUtoo-x60 | yes like ipk |
14:50.26 | gustavoz | GNUtoo-x60: stripped non-threads uClibc libc library is ~ 190 kB |
14:53.20 | gustavoz | GNUtoo-x60: lzma rootfs.cpio ends up being ~ 500 kB with a buildroot build of busybox (default config so somewhat biggie), kexec-tools and wireless-tools |
14:53.34 | gustavoz | dynamic uclibc |
14:55.20 | GNUtoo-x60 | wow |
14:55.22 | GNUtoo-x60 | thanks a lot |
14:56.38 | gustavoz | i was curious, for the kernel i've used i386_defconfig so that kills it, but as you know a lot can be saved there by tweaking |
14:59.31 | GNUtoo-x60 | yes |
15:43.57 | *** join/#elinux GNUtoo-x60 (~GNUtoo@host3-118-dynamic.54-79-r.retail.telecomitalia.it) |
16:30.41 | *** join/#elinux like2wise (~likewise@203-158-ftth.on.nl) |
17:28.03 | *** join/#elinux GNUtoo-x60 (~GNUtoo@host3-118-dynamic.54-79-r.retail.telecomitalia.it) |
19:03.00 | *** join/#elinux spidercaleb (~caleb@tx-71-1-45-3.sta.embarqhsd.net) |
19:03.15 | spidercaleb | Does anyone here know much about aufs? |
19:08.47 | gustavoz | how much? |
19:16.16 | spidercaleb | Well, I'm trying to use a directory with colons in it's name as a branch |
19:16.32 | spidercaleb | *its |
19:17.08 | spidercaleb | It doesn't work in quotes or with the colons escaped |
19:17.28 | gustavoz | never tried that with aufs, i usually use overlayfs these days since they don't require special tools, let me try if it works |
19:20.24 | *** join/#elinux GNUtoo-x60 (~GNUtoo@host3-118-dynamic.54-79-r.retail.telecomitalia.it) |
19:20.48 | gustavoz | mount doesn't seem to be very happy about it |
19:21.45 | spidercaleb | Specifically, I'm trying to switch_root onto an aufs with a base read-only NFS root and a folder named after the node's MAC address on another NFS share as a rw branch |
19:21.53 | spidercaleb | If that makes any sense |
19:21.56 | gustavoz | my fault, it worked like a charm with busybox mount + overlayfs |
19:22.45 | gustavoz | don't know the exact details of what you want to achieve, but yeah, it can make sense |
19:23.52 | gustavoz | i did a simple mount -t overlayfs over -olowerdir=/etc,upperdir=/tmp/hi:there /tmp/etet with /etc being RO flash, /tmp/hi:there being an sdcard (ext4) and /tmp/etet being an empty dir |
19:24.12 | gustavoz | so maybe blame aufs tools :) |
19:24.17 | spidercaleb | A root for cluster nodes that supports configurations that apply to all, a group of nodes, or a single node |
19:24.44 | spidercaleb | But the server does all the grouping |
19:42.02 | *** join/#elinux Russ (~russ@pool-74-100-57-85.lsanca.fios.verizon.net) |
19:42.02 | *** mode/#elinux [+o Russ] by ChanServ |
20:42.39 | *** join/#elinux likewise (~likewise@095-097-098-131.static.chello.nl) |
20:44.19 | *** join/#elinux risca (~risca@h240n6-n-a31.ias.bredband.telia.com) |
22:41.35 | *** join/#elinux risca_ (~risca@h240n6-n-a31.ias.bredband.telia.com) |
23:02.58 | *** join/#elinux djerome (~djerome@ip68-2-20-108.ph.ph.cox.net) |
23:04.06 | *** join/#elinux likewhoa (~likewhoa@82.103.137.165) |
23:07.41 | *** join/#elinux contempt (contempt@unaffiliated/contempt) |