**** BEGIN LOGGING AT Mon Jun 05 03:00:03 2017 Jun 05 11:08:23 VartiWork, try that 3.10 pls https://github.com/LinuxPDA/linux-kexecboot/blob/master/zaurus/kernel-3.10.35/installkit-akita.tar.gz Jun 05 11:08:45 next will be readding the 'lost' 3.2 Jun 05 11:09:17 will do Jun 05 11:09:53 in theory 3.10 has the fixes for the breakaghes signaled by dromede after 3.7 Jun 05 11:10:34 stiil, on my c860, SD/MMC detection is not 100%correct Jun 05 11:10:43 hmm, wasn't the related patch still to be merged? Jun 05 11:11:10 maybe my c860 is getting old, or the caqrds Jun 05 11:11:20 let me do countercjheck on other Z Jun 05 11:11:39 anyway, this 3.10 is not 'OK' in my opinion Jun 05 11:11:59 the cards are not detected 4 out 5 times Jun 05 11:12:03 or was it merged, then for the 4.x kernel they reverted to the post-3.7, broken code? Jun 05 11:12:46 it seems 3.8 was ok Jun 05 11:12:48 ok... in case the card won't be detected at the first time, I'll check more times Jun 05 11:12:48 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/include/asm/assembler.h?h=v3.8&id=1ecec696c8bb9b4cefb09495d81d081d1c81b578 Jun 05 11:13:03 and Jun 05 11:13:04 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/video/backlight/corgi_lcd.c?h=v3.8&id=1581b088fc91cbb974ad2b98431a8ecabb4852ee Jun 05 11:13:14 both in 3.8 Jun 05 11:13:19 try to do a fsck + f3 on that SD on a PC Jun 05 11:13:42 heh, it's not that ewasy..I did it already Jun 05 11:13:50 it is th ekernel imho Jun 05 11:14:02 ok Jun 05 11:14:04 3.2 was much quicker detecting cards Jun 05 11:14:24 now there are things like 'deferred probe' in kernel... Jun 05 11:14:42 a.k.a. take your time.... Jun 05 11:14:49 not good for bootloaders :) Jun 05 11:15:13 nope :)= Jun 05 11:15:29 anyway, let see if 3.10 boots on akita =) Jun 05 11:17:57 will let you know Jun 05 11:20:31 these days I'm testing kexecboot 2.6, booting a 4.12 kernel on mtd1 Jun 05 11:22:11 yes, but it's a band-aid... Jun 05 11:22:43 I know, but at least this way I can test alarmz on Akita, while waiting for a definitive kexec Jun 05 11:22:57 I see that the zImage can be stored in the root directory, but does boot.cf have to be stored in /boot? Jun 05 11:23:04 boot.cfg Jun 05 11:23:58 yes Jun 05 11:24:02 or should both zImage and boot.cfg be in /boot? Jun 05 11:25:46 #ifdef USE_ZIMAGE Jun 05 11:25:46 PREPEND_MOUNTPATH("/boot/zImage"), Jun 05 11:25:46 PREPEND_MOUNTPATH("/zImage"), Jun 05 11:25:46 #endif Jun 05 11:25:54 same for uImage Jun 05 11:26:24 aha thanks Jun 05 11:27:43 also, how should be the home partition called by root in the APPEND label? /dev/mtd2, /dev/mmcblk0p2 or /dev/sda2, or it doesn't matter? Jun 05 11:28:15 in my case, it's in the second partition in the SD, the first hold the 4.12 kernel only Jun 05 11:28:22 btw Jun 05 11:28:23 #define BOOTCFG_PATH MOUNTPOINT "/boot/boot.cfg" Jun 05 11:35:03 VartiWork, sorry, on the phone... Jun 05 11:35:27 np :) Jun 05 11:42:02 VartiWork, you don't specify home on commandline, just root and initrd Jun 05 11:42:10 home is set in fstab Jun 05 11:42:32 soory, I meant root, not home Jun 05 11:42:49 soory = sorry Jun 05 11:43:33 smthg like APPEND=root=/dev/mtd2 rootfstype=jffs2 Jun 05 11:45:26 kexecboot lists the output of /proc/partitions so you see th eblock devices Jun 05 11:45:36 ok, so mtd2 Jun 05 11:45:51 and in my case, rootfstype=f2fs Jun 05 11:46:00 yes Jun 05 11:47:13 greguu mentioned to use real_root, but from what I have read you can use it only if you use initrd: https://unix.stackexchange.com/questions/16098/description-of-linux-kernel-boot-parameters-real-root-and-cdroot Jun 05 11:48:06 in the alarmz, noinitrd is set inside APPEND, so I guess it won't work. I'll try to set root= directly, if that won't work I'll try to force pivoting as you suggested Jun 05 11:48:22 you can do both ways Jun 05 11:48:33 with or without initrd Jun 05 11:48:54 here you don't need it, because the filesystem drivers are compiled in kernel Jun 05 11:49:07 so it is enough the APPEND= like above Jun 05 11:49:51 ok Jun 05 11:49:53 alternatively, you use a small kernel with fs compiled as modules, load an initramfs/initrd using append, this one contains the drivers and the init script Jun 05 11:50:14 same if you have encrypted partitions: you need a middle layer Jun 05 11:50:33 I see Jun 05 11:50:44 not our case with zaurus, you know where and which fs Jun 05 11:51:54 if you want to have the kernel in mtd1 you need to shrink it and use an 'initrd', like Sharp did Jun 05 11:52:09 then you have fixed boot Jun 05 11:54:22 VartiWork, btw, real_root must be a script option, like pivot_root or such Jun 05 11:54:32 it is not a kernel boot param Jun 05 11:54:35 see https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt Jun 05 12:05:34 if I understood correctly, you'd use in as e.g. APPEND=root=/dev/(partition1) rootfstype=f2fs real_root=/dev/(partition 2) Jun 05 12:06:45 but "real_root" itself is a script, and the kernel interpretates this as "run the real_root script"? Jun 05 12:51:59 kernel doesn't know about it, is ignored Jun 05 12:52:13 but is probably interpretated by the init Jun 05 12:52:32 like linuxrc Jun 05 12:53:09 see i.e. https://blog.kubovy.eu/2012/08/24/initramfs-for-encrypted-root-using-gpg-encrypted-random-keys/ Jun 05 12:53:22 (first google match...) Jun 05 13:11:32 ok **** ENDING LOGGING AT Tue Jun 06 03:00:02 2017