**** BEGIN LOGGING AT Wed Jul 10 02:59:59 2013 Jul 10 08:32:50 bluelightning: I have some good news Jul 10 08:33:10 ant_work: oh? I could use some good news right now... :) Jul 10 08:33:20 during yesterday's trolling I've booted Angstrom's fresh console-image and systemd-image Jul 10 08:33:27 and oe-core-base Jul 10 08:33:34 so, all thre are booting well Jul 10 08:34:05 ..and...systemd-image was seemingly the fastest to reach prompt Jul 10 08:34:33 sounds good, but which machine was this on? Jul 10 08:34:46 that was on pxa, poodle Jul 10 08:34:52 ah ok Jul 10 08:34:55 great :) Jul 10 08:35:43 I didn't dare to test X images yet...still hoping in an unification of xserver-nodm-init Jul 10 08:36:18 Angstrom's X images I mean Jul 10 12:03:02 Hi! How schould I compile kexecboot to get a static binary and how to creat initramfs for kexecboot? Jul 10 12:07:56 only kexecboot? and kexec/ubiattach ? Jul 10 12:10:47 I already have kexec static compiled Jul 10 12:10:52 So only kexecboot Jul 10 12:11:42 ubiattach - I don't need it Jul 10 12:13:40 ok, then just use --enable-static-linking Jul 10 12:14:03 for other options see Jul 10 12:14:04 https://github.com/kexecboot/kexecboot/blob/master/configure.ac Jul 10 12:15:14 http://kexecboot.org/documentation/configure_options shoulde be add on page too Jul 10 12:15:17 Thanks Jul 10 12:15:19 (tbh I just add -static to the compile flags when building with klibc) Jul 10 12:16:25 to create the initramfs, well, there was some Gentoo wiki iirc Jul 10 12:16:43 we develop using OpenEmbedded framework Jul 10 12:17:20 it's just one command to get kernel+kexecboot-initramfs Jul 10 12:17:32 Hmm can I find somewhere a sample initramfs with kexecboot? Just extracting it will help me Jul 10 12:17:45 for wich arch? Jul 10 12:18:31 ARM, but doesn't matter, I need only know how is the init procces caled and where is the kexec binary placed Jul 10 12:18:43 Just need to see the basic filesystem Jul 10 12:18:46 the cpio contains just 3 files Jul 10 12:18:53 mom Jul 10 12:19:22 Hmm and kexecboot is directly linked to /init Jul 10 12:19:23 ? Jul 10 12:20:05 http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc Jul 10 12:20:30 you need some empty dirs Jul 10 12:20:37 and ofc devtmpfs in kernel Jul 10 12:20:57 Yes, I see, thats it what I want to know Jul 10 12:21:24 sys is really just for ubi Jul 10 12:23:02 Last question, when I have const char *load_argv[] = { NULL, "--load-hardboot", NULL, NULL, NULL, NULL} And I want add one paramter more, should it be before the last NULL? Jul 10 12:32:05 I'm back Jul 10 12:32:09 yes, add a NULL Jul 10 12:32:21 each argument is a null terminated string and each argument is placed into each of these string locations Jul 10 12:32:45 so you need one last NULL Jul 10 12:35:58 Ok, thanks Jul 10 12:36:30 Jay7 will explain you better Jul 10 12:37:46 I got hit by argv doing this commit https://github.com/kexecboot/kexecboot/commit/3079df11996826b42691496afb44cc6b4a7fdb24 Jul 10 12:38:01 initially a NULL was missing... Jul 10 12:39:17 Yes, I already undestand Jul 10 13:16:39 ${bindir} should be just /bin? Jul 10 13:24:28 usually is /usr/bin and ${base_bindir} is /bin Jul 10 13:27:22 well, in fact after last changes we have Jul 10 13:27:42 export base_prefix = "" Jul 10 13:27:51 export exec_prefix = "/usr" Jul 10 13:28:01 export base_bindir = "${base_prefix}/bin" Jul 10 13:28:16 # Architecture dependent paths Jul 10 13:28:22 export bindir = "${exec_prefix}/bin" Jul 10 13:35:26 I will hardcode the kexec binary patch, will be the best way :P **** BEGIN LOGGING AT Wed Jul 10 14:08:55 2013 Jul 10 15:15:27 dragonn: good luck. Going to the beach now, be back later **** ENDING LOGGING AT Thu Jul 11 02:59:58 2013