**** BEGIN LOGGING AT Wed Apr 20 02:59:58 2016 Apr 20 12:00:48 hi ant_work Apr 20 12:01:05 congrats for the fixed audio... what was the problem causing it to not work? Apr 20 12:01:18 btw Apr 20 12:01:20 I'm right now testing the new kernel. I have extracted both updater.sh and zImage from installkit-akita.tar.gz to my 1GB SD card, the flashing itself has been successful, but the kernel itself doesn't boot Apr 20 12:01:23 apparently a misnamed module binding Apr 20 12:01:36 aha Apr 20 12:01:41 with the charger plugged in, what I see during the boot is that the screen gets initialized (it becomes white for a millisecond), the charging led is switched off, it is switched on again for a second then switched off, nothing else happens (waited 5 minutes to see if it boots) Apr 20 12:01:46 without the charger, same but the charging led is never switched on Apr 20 12:01:51 just wondering, what are the zImage--4.4-r0-akita-20160417223355.bin and modules for? Are they intended for the boot of any Linux distro? Apr 20 12:02:19 (I'm doing a copy and paste btw, just in case you were wondering how can I type this fast :) Apr 20 12:02:21 I plan to upload a basic image Apr 20 12:03:18 can you please do this try: put the kexecboot zImage on the SD/CF card and edit boot.cfg to point to it? Apr 20 12:03:52 ofc you have to reflash a working linux-kexecboot first Apr 20 12:04:57 I fear there might be some pxa27x/akita specific breakage Apr 20 12:05:20 because the gpio expander on it has been heavily touched in the last releases Apr 20 12:05:22 ok Apr 20 12:05:24 does the root partition size on the NAND matter? (I guess not, I'm asking just in case) Mine is 32MB, the default size for Cacko... does anything get written/decompressed on it, during each boot? Apr 20 12:06:07 no, if it is not correct kexecboot would just not find any bootable image on it Apr 20 12:06:52 hmm, isn't kexecboot itself installed there? Apr 20 12:07:52 or is kexecboot installed in a different partition, and during boot it searches there for bootable images (as well as on an SD)? Apr 20 12:08:05 yes, it is in the first small mtd partitiob Apr 20 12:08:07 *n Apr 20 12:08:32 mtd0 = boot PROM (ignore it) Apr 20 12:08:36 mtd1 = kernel Apr 20 12:08:42 mtd2 = root Apr 20 12:08:55 mtd3 = second root or alternatively /home Apr 20 12:09:45 the zaurus 1st stage bootloader is on (P)ROM and just launches zImage from mtd1 Apr 20 12:09:53 you mean it is installed on mtd0? or mtd1? Apr 20 12:09:57 mtd1 Apr 20 12:10:11 kexecboot is a '2nd stage' bootloader Apr 20 12:10:12 ok, thanks for the explanation Apr 20 12:10:30 actually is the third but we can ignore the pxa hw specifics :) Apr 20 12:10:39 hehe Apr 20 12:10:56 the 1st stage bootloader is called Angel Apr 20 12:11:10 it was popular back then before u-boot Apr 20 12:11:19 wonder why it is called that way... Apr 20 12:11:42 should be some short for Arm ... Apr 20 12:11:44 nice though to think that I have an angel inside my Z :P Apr 20 12:19:14 VartiWork, http://elinux.org/Flameman/zaurus-akita Apr 20 12:19:25 we lost the guy in the years... Apr 20 12:22:02 VartiWork, if you have time pls try to boot that 4.4 kernel as well, even standalone, w/out rootfs Apr 20 12:22:18 amazing stuff, he really worked a lot on it Apr 20 12:22:37 so Gentoo was also ported on the Z, interesting Apr 20 12:22:46 yes, long ago Apr 20 12:23:00 but the guys did prefer to compile on Z :/ Apr 20 12:23:39 I can imagine the compilation time... Apr 20 12:23:42 heh Apr 20 12:23:57 at least I believe distcc was available too Apr 20 12:24:29 cross-compile was already possible, even if imperfect back then Apr 20 12:25:58 [14:03] can you please do this try: put the kexecboot zImage on the SD/CF card and edit boot.cfg to point to it? Apr 20 12:26:25 I don't have here a copy of boot.cfg, hmm Apr 20 12:27:24 you can find some in the images I uploaded, under /boot Apr 20 12:27:33 or else write couple of lines https://github.com/kexecboot/kexecboot/wiki/how_to_write_config Apr 20 12:27:58 you can keep several kernels in the same partition if you want Apr 20 12:28:05 just add more LABEL= Apr 20 12:28:26 for testing we just need LABEL= and KERNEL= Apr 20 13:02:20 just tried booting the new kexecboot using kexecboot 2.6 Apr 20 13:02:59 same behaviour as before, only that this time, after ca. 1 minute, it returns back to the 2.6 kexec Apr 20 13:04:30 either that, or it correctly boots kexec 4.4.7 but without showing any boot text, and both kexec 2.6 and 4.4.7 are graphically identical, so I can't tell which one has booted Apr 20 13:07:47 14:22] VartiWork, if you have time pls try to boot that 4.4 kernel as well, even standalone, w/out rootfs Apr 20 13:07:51 trying this now Apr 20 13:08:53 it should take some seconds, but if you have images on mtd it can take 20-30 secs Apr 20 13:09:05 but no longer Apr 20 13:09:16 jffs2 is especially slow Apr 20 13:10:49 no output on screen is expected Apr 20 13:10:53 no images on mtd Apr 20 13:11:16 ah, unlike kexec 2.x then? it shows the boot procedure Apr 20 13:11:22 the normal kernel is more verbose and you should see it panic Apr 20 13:11:30 ok Apr 20 13:12:25 in my builds I redirect kernel msgs to serial so screen is not disturbed Apr 20 13:12:43 I guess then kexec 4.4 booted correctly if started from kexec 2.6 Apr 20 13:13:38 ok, the normal kernel has panicked Apr 20 13:13:47 just a sec that I paste the error Apr 20 13:13:55 it lacks rootfs, is normal Apr 20 13:14:13 aha indeed Apr 20 13:14:20 is the screen okĀ§? Apr 20 13:14:23 yes Apr 20 13:14:26 good Apr 20 13:14:30 openembedded screen shown Apr 20 13:14:47 pxa-rtc: failed to find rtc clock source Apr 20 13:14:49 I mean during boot, before panicking Apr 20 13:15:16 ah ha, interesting..I changed from rtc_sa1100 to rtc_pxa Apr 20 13:15:18 FAT-fs (mmcblk0p1): codepage cp437 not found Apr 20 13:15:38 that's your old linux-kexecboot :/ Apr 20 13:15:39 then the kernel panic for not finding the rootfs Apr 20 13:15:48 hmm Apr 20 13:16:00 I had forgotten the codepage for fat, it was fixed long ago Apr 20 13:16:25 let me check again Apr 20 13:16:59 http://cgit.openembedded.org/meta-handheld/commit/recipes-kernel/linux?id=8b31b9f06dd6796dfbd2fd666f94ff66418490a5 Apr 20 13:17:11 it was 3.10 back then Apr 20 13:17:39 do you happen to have serial cable? Apr 20 13:21:27 unfortunately not Apr 20 13:21:43 I don't understand what I'm doing wrong... Apr 20 13:22:25 the file on the SD is the correct zImage--4.4-r0-akita-20160417223355.bin file, renamed as zImage Apr 20 13:22:36 (just did a diff to make sure) Apr 20 13:23:30 the item in the boot menu I choose is the correct one, the SD card (tried to take off the SD and do a refresh to check) Apr 20 13:24:11 both boot.cfg and zImage are on the SD card, under boot/ Apr 20 13:24:26 the boot.cfg file seems to be correct, too Apr 20 13:24:26 ok, what's the doubt? Apr 20 13:25:28 I was wondering if I am doing something wrong that the old kexecboot is loading... Apr 20 13:28:06 once you start a kernel from it the screen should flicker for a moment then the OE bootlogo should appear Apr 20 13:28:46 yes, that's what happens Apr 20 13:29:08 if th ekernel is a linux-kexecboot (<1,2 MB) you should see the menu again, no logs or else Apr 20 13:29:36 aha ok Apr 20 13:29:36 if it is the 'production' kernel then some messages should be displayed on screen Apr 20 13:30:07 I misunderstood you then, sorry about that Apr 20 13:30:16 FAT-fs (mmcblk0p1): codepage cp437 not found Apr 20 13:30:31 ^ that is in kexecboot debug-menu I bet Apr 20 13:30:59 aha Apr 20 13:31:21 pxa-rtc: failed to find rtc clock source Apr 20 13:31:36 ^ this should be the 4.4 normal kernel Apr 20 13:32:46 finally, the bad news are that once flashed the linux-kexecboot_4.4 doesn't start :/ Apr 20 13:33:23 I'll check again the kernel config Apr 20 13:33:33 for akita/spitz Apr 20 13:34:45 me or dal need to test on a spitz to verify if the culprit is the CONFIG_GPIO_PCA953X=y Apr 20 13:34:50 only present on akita Apr 20 13:35:15 gpio's have been under heavy rework Apr 20 13:37:15 ok Apr 20 13:37:45 as a last test, I have tried again to flash kexec 4.4 and leave it booting Apr 20 13:38:33 could there be some timeout that once expired it allows the boot to continue? Apr 20 13:38:59 the only delay is scanning (mounting RO) the mtd partitions Apr 20 13:39:26 ok, no point in testing it more then Apr 20 13:39:41 are you sure mtd parts are empty? Apr 20 13:40:41 ah, no matter, well, old kexecboot would have the same issues Apr 20 13:41:01 thanks for your time, I'll verify once again Apr 20 13:43:05 the mtd parts are not empty, they contain a Cacko installation Apr 20 13:43:45 which I'm not using since I'm planning to use Cacko from SD Apr 20 13:44:40 ok, I see Apr 20 13:44:47 if you want I can try to erase them and try to flash kexec 4.4 again Apr 20 13:45:05 I believe there's some option for that in the service menu Apr 20 13:45:10 iirc jffs2 and ubifs changed ABI btw 2.6 and 3.x so maybe it's that Apr 20 13:45:22 no, pls do that only from userspace Apr 20 13:45:22 ok Apr 20 13:46:32 https://github.com/LinuxPDA/meta-handheld/blob/master/README.zaurus Apr 20 13:46:56 I'll upload new images today/tomorrow Apr 20 13:47:06 with sound fixed ... Apr 20 13:47:50 ok Apr 20 13:47:53 thanks Apr 20 14:11:37 bbl Apr 20 21:04:52 Varthall: see this memo http://www.h5.dion.ne.jp/~rimemoon/zaurus/memo_006.htm **** ENDING LOGGING AT Thu Apr 21 02:59:58 2016