ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
robinp_ has joined #armlinux
robinp has quit [Ping timeout: 244 seconds]
elastic_dog has quit [Ping timeout: 268 seconds]
elastic_dog has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz has quit [Ping timeout: 264 seconds]
wwilly has quit [Quit: Leaving]
Nact has joined #armlinux
Crassus has joined #armlinux
Crassus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tiggilyboo has joined #armlinux
Crassus has joined #armlinux
Nact has quit [Quit: Konversation terminated!]
tiggilyboo has quit [Quit: tiggilyboo]
neocow has joined #armlinux
Xogium has joined #armlinux
<Xogium>
hi guys :) hopefully quick question… Basically, what happens at shutdown if a kernel has an embedded initramfs ? I think it won't do anything with it at shutdown and only at boot, and so I would be probably better off keeping them separate ? Aka, using unpacking tools to unpack it under /run/initramfs, which lets systemd pivot root to it again during shutdown
<Xogium>
but can someone confirm this ?
<Xogium>
I need this as it is right now because otherwise none of my filesystems are unmounted properly and corrupt
<jn>
seems like a userspace question
<jn>
i **heard** that systemd can pivot back into the initramfs or something like that
<jn>
but i'm by no means proficient in systemd
<Xogium>
yes but it pivots back because its content was extracted into /run/initramfs
<Xogium>
I was wondering if kernel could natively do something similar since it would have an embedded initramfs inside itself
<Xogium>
but it might be impossible for kernel
<jn>
the initramfs may be freed long before shutdown
<Xogium>
yeah what I was thinking…
<jn>
not in all systems, but it can happen
<Xogium>
how so ?
<jn>
i'd have to read up on what triggers this. initrd(4) has some information, not sure if it describes the current state though
<Xogium>
I mean, how could it happen, and how could it not ? What determines this ?
<jn>
but it makes sense: when the initramfs is no longer needed in the system, then the occupied memory can be freed
<Xogium>
ah
<Xogium>
yeah I think I've seen this
<jn>
how not? --- not all systems move to a different root fs
<Xogium>
but I was thinking that since it has it inside still, it could unpack when it receives shutdown instruction again
<Xogium>
but well maybe not ;)
<jn>
ah, when it's baked in during compilation?
<jn>
not sure about the exact details, but i think there's an unpacking step in the way
<Xogium>
yeah baked in, linked in, embedded :D that's what I meant
<Xogium>
I was hoping it would unpack again at shutdown, basically do the boot up procedure in reverse
Crassus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jn>
Xogium: i suspect the packed copy is discarded pretty early
<Xogium>
well damn
<Xogium>
oh well
<jn>
(would have to check in order to confirm, though)
<Xogium>
yes, that would make sense
<Xogium>
and so it can't extract it again and put it in what is already running
<Xogium>
hmm
<Xogium>
also I toyed with tinyconfig for the first time today, really looked at and I'm shocked at how fast the kernel grows as soon as you enable something !
<Xogium>
starts off ok with 380 KB compressed, 630 uncompressed. But then, even adding something like networking, and then taking out all of the drivers/subsystems in there I don't need, adding only pseudo fs, overlayfs and squashfs, and I'm up to 1.3 MB compressed, nearing on 6 MB uncompressed
<Xogium>
it probably enabled stuff behind my back when I was not looking ;)
<Xogium>
I'm trying to target a 16 MB flash/32 MB ram board here :(
<Xogium>
is there doc on how to properly use tinyconfig ? Or well, things to be watchful for when you enable subsystems so you don't get additional things in you hadn,t seen it toggled ?
<Xogium>
or is it really that big just with what I set up ?
<Xogium>
it's also my first time trying to build for such a small target
<Xogium>
yeah, I know there are even smaller embedded devices around
<Xogium>
I'm lucky it can access external storage I think ;) but from my understanding it would take 6 MB of memory to run this kernel, already
headless has joined #armlinux
<Xogium>
hmm. The only sort of guide for tinification I found used pictures and screenshots. Damn
<Xogium>
sure not going to be that helpful when you don't see those
Nact has joined #armlinux
prabhakarlad has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
shoragan[m] has quit [Read error: Connection reset by peer]
sha has quit [Remote host closed the connection]
psydroid has quit [Read error: Connection reset by peer]
mvaittin has quit [Remote host closed the connection]
headless has quit [Ping timeout: 245 seconds]
gpiccoli_ has joined #armlinux
gpiccoli_ has quit [Changing host]
gpiccoli_ has joined #armlinux
milkylainen_16 has joined #armlinux
gpiccoli has quit [Read error: Connection reset by peer]
milkylainen_ has quit [Quit: Ping timeout (120 seconds)]
scosu has quit [Ping timeout: 252 seconds]
javierm has quit [Ping timeout: 252 seconds]
milkylainen_16 is now known as milkylainen_
CrashTestDummy has joined #armlinux
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
ajb-linaro has joined #armlinux
scosu has joined #armlinux
abelloni_ has joined #armlinux
bencoh_ has joined #armlinux
kristinam has joined #armlinux
javierm has joined #armlinux
CrashTestDummy2 has quit [Read error: Connection reset by peer]
softpaw has quit [Ping timeout: 264 seconds]
bencoh has quit [Ping timeout: 264 seconds]
abelloni has quit [Ping timeout: 264 seconds]
iokill has quit [Ping timeout: 264 seconds]
ajb-lina- has quit [Ping timeout: 264 seconds]
kristina1 has quit [Ping timeout: 264 seconds]
iokill has joined #armlinux
CrashTestDummy2 has joined #armlinux
sakman has quit [Read error: Connection reset by peer]
wens_ has joined #armlinux
sakman has joined #armlinux
shenki has quit [Ping timeout: 265 seconds]
wens has quit [Ping timeout: 265 seconds]
palmer has quit [Ping timeout: 265 seconds]
gpiccoli has joined #armlinux
bencoh_ has joined #armlinux
bencoh_ has quit [Changing host]
bencoh_ is now known as bencoh
Stary_ has joined #armlinux
palmer has joined #armlinux
robher_ has joined #armlinux
Amanieu_ has joined #armlinux
jn has quit [Ping timeout: 265 seconds]
agraf has quit [Ping timeout: 265 seconds]
Amanieu has quit [Ping timeout: 265 seconds]
Stary has quit [Ping timeout: 265 seconds]
ccaione has quit [Ping timeout: 265 seconds]
robher has quit [Ping timeout: 265 seconds]
robher_ is now known as robher
jn has joined #armlinux
maennich has quit [Ping timeout: 265 seconds]
jn has joined #armlinux
jn has quit [Changing host]
maennich has joined #armlinux
agraf_ has joined #armlinux
sakman_ has joined #armlinux
ccaione has joined #armlinux
agraf_ is now known as agraf
Stary_ is now known as Stary
sboyd has quit [Ping timeout: 265 seconds]
sboyd has joined #armlinux
crummel has quit [Ping timeout: 265 seconds]
CrashTestDummy has quit [*.net *.split]
milkylainen_ has quit [*.net *.split]
gpiccoli_ has quit [*.net *.split]
softpaw has joined #armlinux
shenki has joined #armlinux
sakman has quit [Ping timeout: 265 seconds]
jn has quit [Read error: Connection reset by peer]
broonie has quit [Ping timeout: 265 seconds]
jn has joined #armlinux
jn has quit [Changing host]
jn has joined #armlinux
broonie has joined #armlinux
crummel has joined #armlinux
elastic_dog has quit [Ping timeout: 244 seconds]
elastic_dog has joined #armlinux
Nact has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Quit: Client closed]
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 264 seconds]