**** BEGIN LOGGING AT Sun Oct 14 03:00:02 2012 Oct 14 13:10:14 hi to all. I don't know if this is the right place to ask. but my freerunner refuses to boot and I don't know how to solve this problem. Oct 14 13:11:57 My freerunner is GTA02A7, I've got the debug board v3. the bootloader on NAND flash is qi Oct 14 13:13:05 leosaeba: so provide the log from the serial Oct 14 13:15:36 ok. Oct 14 13:18:08 http://pastebin.com/csEG1v95 Oct 14 13:18:34 this is what happen when I plug the usb (nobattery) Oct 14 13:18:46 the display is always off Oct 14 13:19:48 the aux led (RED) does the following: long ON - about 4 brief flashes - long ON - OFF Oct 14 13:20:01 ( long ON means about 1 sec) Oct 14 13:20:41 I tried to boot to NOR flash....but it doesn't work... Oct 14 13:21:36 but if I wait and play with buttons (aux and power) ... I manage somehow to reach the uboot in NOR ( I think ) Oct 14 13:22:04 leosaeba: reflash the kernel Oct 14 13:22:14 this is what comes out the serial: Oct 14 13:22:49 leosaeba: also, when you start Qi keep pressing power for two seconds, so that it'd use loglevel=8 Oct 14 13:22:57 http://pastebin.com/MsgKKKbe Oct 14 13:23:54 leosaeba: try booting with Qi with the power button pressed Oct 14 13:24:23 PaulFertser: the kernel on host PC ( and dfu-utils ) doesn't see the freerunner when I plug it. Oct 14 13:24:38 leosaeba: boot to NOR first Oct 14 13:24:47 leosaeba: then dfu-utils would see it Oct 14 13:25:10 leosaeba: ah, and do not boot without the battery Oct 14 13:25:20 leosaeba: it is not supposed to work Oct 14 13:25:26 leosaeba: and in fact, it doesn't! Oct 14 13:25:44 nope... even when I manage to execute uboot in NOR, dfu-utils doesn't see the device. Oct 14 13:25:47 leosaeba: only sometimes you can boot to NOR if you're lucky to have a host that allows that. Oct 14 13:25:48 AH..... Oct 14 13:25:59 ok...now I try with battery. Oct 14 13:26:01 leosaeba: but you can't boot the kernel with Qi on USB only. Oct 14 13:30:44 PaulFertser: I tried with battery on (now there is an additional vibration while the aux led flashes). Oct 14 13:31:26 I can boot to nor ( I suppose reading the serial over the debug board) Oct 14 13:31:54 but the LCD doesn't lit...and the host PC (and dfu-utils) doesn't see the freerunner... Oct 14 13:32:19 leosaeba: what happens if you boot Qi? Oct 14 13:33:50 if I insert the battery, then plug the usb, then power on....looks like the same output over the serial (like the first pastebin posted) Oct 14 13:34:02 it hangs on booting the kernel. Oct 14 13:37:35 leosaeba: what lead to thi state? Oct 14 13:38:07 leosaeba: was it loglevel=8 this time with no output from the kernel again? Oct 14 13:40:02 I cannot get loglevel=8 Oct 14 13:40:21 even if I hold the power button pressed Oct 14 13:40:46 btw i always read loglevel=4 on the command line from qi. Oct 14 13:42:50 I don't remember how it went...It was like 1 year ago...I was flashing the nand for the last time...I've been trying shr and qtmoko alternatively during the past years. Oct 14 13:43:18 leosaeba: ok, how do you boot to the NOR? Oct 14 13:43:26 leosaeba: what exactly are you doing step-by-step? Oct 14 13:43:30 leosaeba: is the battery charged? Oct 14 13:43:42 ....I suppose the battery is not fully charged. Oct 14 13:43:57 leosaeba: what voltage is it at now? Oct 14 13:43:59 right now I just tried with a nokia battery... Oct 14 13:44:11 (almost fully charged) Oct 14 13:44:38 I don't have a voltmeter at hand right now. Oct 14 13:45:18 would it work if I charge the FIC battery on a nokia 6630? Oct 14 13:45:47 I just booted the nokia with the FIC battery....it says half charge. Oct 14 13:46:10 leosaeba: i'm not sure Nokia would charge FIC battery but you can try. Oct 14 13:46:22 leosaeba: but FR should work just fine with a nokia battery too Oct 14 13:46:36 infact....It didn't like it... Oct 14 13:47:54 ok, I will list the steps I'm doing to boot the FR. Oct 14 13:48:14 (now I unplugged usb and battery) ...I'll wait 30 sec Oct 14 13:49:22 There is no SD and no SIM. Oct 14 13:50:08 the debug board is plugged to FR and powered (the serial console is open). Oct 14 13:50:48 now I will plug the FIC battery (I will not press any button) Oct 14 13:51:10 nothing happened Oct 14 13:51:31 now I just press the power button Oct 14 13:51:37 (brief press) Oct 14 13:52:45 the first description I gave. AUX red led dancing, brief vibro, qi outputs over serial...then nothing. Oct 14 13:52:59 (I didn't plug the usb on the FR) Oct 14 13:53:45 Now I will try to boot to NOR Oct 14 13:54:03 unplugged the battery....wait 30 sec Oct 14 13:56:47 now I will plug the nokia (I don't think is an orginal nokia) that is more charged. (not pressing any button) Oct 14 13:57:14 nothing happened Oct 14 13:57:45 Now I press the AUX (holding it) and a brief press on power button. (no usb cable on FR) Oct 14 13:58:15 the u-boot 1.3.2-moko12 displayed. Oct 14 13:58:35 like the second pastebin I posted. Oct 14 13:59:07 note: the last 6 lines (mtdparts variable not set, see 'help mtdparts' ) Oct 14 13:59:46 are output about 5 seconds after the first 8 lines are. Oct 14 14:00:19 leosaeba: the description of you booting to NOR looks correct. Oct 14 14:00:31 leosaeba: do you have nothing on screen too in that case? Oct 14 14:00:40 now I try to plug the usb tosee if the host pc sees it (dmesg or dfu-util -l ) Oct 14 14:00:55 leosaeba: and have you tried attaching it to PC with different cables to different ports? Oct 14 14:01:35 PaulFertser: I tried on 2 different PC. Oct 14 14:02:07 the configuration is tlike this: 1 pc connected to the debugboard, 1 pc connected to FR. Oct 14 14:02:36 the cables are always connected to the same pcs. Oct 14 14:03:17 both usb cables are those coming with 2.5HD....2 male USB on one side, and the mini USB on the other. Oct 14 14:03:55 I plug both the usbs on the PC (the power end too) Oct 14 14:04:22 leosaeba: sounds fine Oct 14 14:05:00 I really don't know what could it be. Oct 14 14:05:41 maybe the NAND kernel partition is corrupted.... Oct 14 14:06:03 so when the bootloader pass control to the kernel everything hangs. Oct 14 14:06:22 leosaeba: when you boot to NOR the NAND partition shouldn't matter Oct 14 14:06:58 but the kernel partition is on NAND too.. Oct 14 14:07:24 or is it the uboot phase going wrong? Oct 14 14:07:57 what does it mean the 6 errors about mtdparts when booting to nor? Oct 14 14:10:00 leosaeba: the NOR u-boot has some tricky script that sets mtdparts during the boot. Even with completely blank NAND the NOR u-boot should be showing the menu on screen. Oct 14 14:10:24 right... Oct 14 14:11:14 I'm sure I didn't touch the NOR flash...I never used the debug board before this problem appeared. Oct 14 14:18:28 is it possible to flash the NOR? could it solve? Oct 14 14:22:30 I'd try to boot something from a microSD card first, using the NOR bootloader... Oct 14 14:27:03 Wonka: I just tried with the SD card, but I cannot select anything from NOR...the screen is off...and the serial over the DebugBoard says only this: http://pastebin.com/MsgKKKbe Oct 14 14:27:38 leosaeba: it doesn't look like this Oct 14 14:28:37 PaulFertser: what do you mean? Oct 14 14:29:55 leosaeba: that flashing NOR could help Oct 14 14:30:04 ah. Oct 14 14:30:09 ok. Oct 14 14:31:44 could it be a display problem? plus my host PCs miss something that prevents them to see the FR when I plug while on NOR uboot? Oct 14 14:32:42 leosaeba: if you see nothing at all in dmesg, unlikely... Oct 14 14:33:04 ok Oct 14 14:33:25 I'm reading about booting from ram. Oct 14 14:34:04 could it be useful to understand what could NOT be the problem. Oct 14 14:46:28 I've got to go now. Thank you very much. I'll stay on the channel if any Idea pops up. **** ENDING LOGGING AT Mon Oct 15 03:00:01 2012