Wednesday, 2009-12-16

*** dejanm has joined #openinkpot00:20
*** dejanm has quit IRC00:42
*** sHiN3 has joined #openinkpot01:11
sHiN3Hi room!01:11
sHiN3could anybody tell me is it possible PDF trimming will come back?01:12
*** jekhor_ has quit IRC01:18
*** sHiN3 has left #openinkpot01:24
*** michal has quit IRC02:04
*** dottedmag has quit IRC02:09
*** roxfan has quit IRC02:15
*** roxfan has joined #openinkpot02:19
*** shekhar has joined #openinkpot03:03
shekharhello, i have a hanvon n516 which i want to flash with openinkpot but am stuck with the install...03:04
shekharcan someone help?03:04
shekharusb_boot.exe does not recognize the device and holding down rotate while turning on (or pressing it before turning on) doesn't startup the device03:06
*** pcfe has quit IRC03:27
*** pcfe_gone has joined #openinkpot03:28
*** pcfe_gone is now known as pcfe03:37
shekharah okay usbboot seems to work in linux with this http://downloads.qi-hardware.com/software/xburst-tools/03:43
shekharnow... how do i flash with this?03:43
roxfanmake sure you cut the blue wire, _not_ the red03:47
*** dottedmag has joined #openinkpot04:00
shekharanyone here used the xburst-tools usbboot in linux to flash the hanvon n516?04:55
*** shekhar has quit IRC05:46
*** shekhar has joined #openinkpot06:12
*** dottedmag has quit IRC06:16
* shekhar seem to have bricked my hanvon06:17
*** dottedmag has joined #openinkpot06:18
shekhardottedmag: is there an updated usbboot.cfg file for the n516 which works with xburst-tools on linux? i seem to have bricked my n516 just now...06:23
dottedmagshekhar: never used xburst-tools06:24
dottedmag"If you break it, you have to keep both pieces"06:24
dottedmagshekhar: maybe jekhor will help06:25
shekhar:)06:25
shekhari bought it so i could install openinkpot, and i'm willing to struggle a bit06:25
shekhardottedmag: i tried using the windows usbboot.exe but couldn't get it to connect06:25
dottedmagwell, it worked for me. once, since then I use built-in reflasher.06:26
shekharyeah, i just need to do this first time... xburst-tools usbboot connects and talks to the n516 fine, it also accepts all the commands for flashing06:27
shekharjust when it's done, nothing happens, i can't reset or power on06:27
dottedmagsomething is wrong(tm)06:27
dottedmagshekhar: did you use VM to run Windowoze?06:27
dottedmagor was it installed on real hardware?06:27
shekhardottedmag: no i went to campus and used a windows machine there06:28
dottedmaghmm... did you have Admin rights?06:28
shekhari also tried with a VM and wine06:28
dottedmagLunohoD said he succeeded in flashing using VirtualBox (proprietary one)06:28
shekhardottedmag: yeah i had admin rights on that machine06:28
dottedmagshekhar: pretty strange. usbboot.exe worked fine for anyone who tried before.06:29
shekharwell like i said i managed okay with usbboot in xburst, i suspect what needs doing is some tweaking of the .cfg file here http://lists.openinkpot.org/pipermail/openinkpot-hackers/2009-November/000001.html06:29
shekhardottedmag: well i couldn't get usbboot.exe to connect to the device so i didn't get far06:29
dottedmaglars: any ideas?06:29
shekhari.e. i couldn't execute the first command "boot 0"06:30
dottedmagshekhar: jekhor and lars know much more about this stuff, let's wait until one of them wakes up.06:31
shekhardottedmag: sure, np, i need to get to bed myself, it's past midnight here in Cambridge Mass06:31
shekharwill ping you guys in the morning06:31
shekhari want to do this in linux and document it, the tools all work, just some tweaking of the config i suspect is the issue06:32
dottedmagshekhar: yep, that'd be great06:32
shekharanyway I don't have a real windows machine at home :)06:32
dottedmagSince I dumped Windows from all machines I'm quite reluctant to experiment with e.g. bootloader.06:32
larsshekhar: uhm. what exactly didn't work with linux usbtools?06:33
larsusbboot06:33
shekharlars: i can't use the USBBoot.cfg file that comes with OI if i'm flasing for the first time using xburst-tools usbboot in Linux06:34
shekharflasing = flashing06:34
shekharlars: i tried using this file instead http://lists.openinkpot.org/pipermail/openinkpot-hackers/2009-November/000001.html06:34
shekhareverything seemed to go fine but i can't reset or power on the device now06:35
larsshekhar: it should be fine. i used it to flash a n526 which has the same nand06:35
larsshekhar: did usbboot tell you something about skipping bad blocks?06:35
shekharyes06:36
larsif it's right at the beginning that might be a problem since the sfl in uboot can't handle them properly06:37
shekharlars: i'm not sure what you mean, can i send you my output?06:38
larssure06:39
shekharlars: i just sent it06:39
larsthats all you get?06:40
shekharhttp://pastebin.com/m14d72a6406:40
shekharyes, i just ran the required commands to flash06:41
larsthats not good06:41
shekhar?06:42
larsfor what ever reason it crashed before writing the image06:42
larscould you try again06:42
shekharsure06:42
larsthis time only erase the first 1000 pages or so06:42
larsinstead of all 409606:42
shekharhow should i do that?06:45
shekharchange the 4096 in > nerase 0 4096 0 006:46
shekhar?06:46
larsyes06:46
shekharokay, it still says skip an old bad block06:48
shekharshould i try a new SD card?06:49
larsshouldn't matter06:49
larsit writes to nand06:49
larsthe real error is "Error - can't read bulk data from Ingenic device:8"06:49
shekharyeah06:49
shekharthat keeps cropping up06:49
larswhich indicates that the part running on the device crashed06:50
shekharcould it be that the usbboot.cfg needs tweaking?06:50
larswell, as i said i'm using the same one for the n526 which should have the same nand and sdram configuration06:51
larsbut it's possible though that i got something wrong06:51
larshm NAND_BADBLOCKPAGE should be 6306:52
shekharokay06:53
larsbut i doubt it will change anything. i rather suspect the sdram settings to be wrong06:55
shekharyeah it didn't work06:56
larsyou could try to set BUSWIDTH to 16 and/or BANKS to 106:58
shekharokay will try that06:58
LunohoDshekhar: try also newer usbboot07:01
LunohoDshekhar: http://openinkpot.org/pub/contrib/n516-usbboot/azbooka-usbboot-new.tar.gz07:02
shekharokay i think something worked07:26
shekharnow the blue led is blinking, not sure if that means the flash worked07:26
larsnope07:26
shekharheh07:27
larsmeans the bootloader is corrupted07:27
shekharokay...07:27
shekharlars: so i basically have a brick now? anything else i can do? i tried tweaking the different options in .cfg but am stumped now07:28
LunohoDshekhar: try azbooka-usbboot-new07:28
shekhari guess it's back to the windoze lab tomorrow to try and fix thi...07:28
shekharLunohoD: tried that, same problem07:28
LunohoDcould you post the usbboot log?07:29
larsshekhar: please post the log of your last flash attempt07:30
shekharlars: here it is http://pastebin.com/m362da71e07:31
LunohoDmaybe there are too many bad blocks07:32
LunohoDshekhar: could you post the log from azbooka-usbboot-new?07:33
shekharLunohoD:  here's that one http://pastebin.com/m66b7c33607:36
larsshekhar: thats still wrong07:36
shekhar?07:37
larsyou should see many many "Writing to NAND page x"07:37
shekharokay07:38
shekharneed to get some sleep now... will keep hacking on this with your kind help tomorrow :)07:38
larsthe azbooka-usbboot-new output looks ok07:39
shekharlars: yeah i know, but the device is still bricked07:39
shekharwith the blinking blue led07:39
lars... except you didn't flash anything with it07:40
larsa sorry07:40
larsyou did07:40
shekhar?07:40
larsbut only uboot07:40
shekhardid i miss something?07:40
shekharthe docs are incomplete, the README file07:41
shekhardo i need to flash fw.bin also?07:41
larsnot sure. whats usb_boot.bin?07:41
shekharthat's the file that comes in http://openinkpot.org/pub/contrib/n516-usbboot/azbooka-usbboot-new.tar.gz07:42
LunohoDshekhar: you should run azbooka-usbboot-new in windows07:42
shekharLunohoD: i know :) right now i'm trying in linux07:42
LunohoDshekhar: http://openinkpot.org/pub/releases/0.2/README.factory-flashing.n516.txt07:43
shekharyeah seen that07:43
LunohoDyou should use those instructions with azbooka-usbboot-new07:43
shekharLunohoD: i would except the files in the azbooka package are different07:44
larsbut as flashing usb_boot.bin succeeds and it is transfer size was smaller than that of the real image i still suspect this to be a sdram configuration problem07:44
shekharLunohoD: in fact that's what i did here http://pastebin.com/m66b7c33607:44
shekharhmm07:45
shekharlars: any other suggestions?07:45
LunohoDshekhar: just get azbooka-usbboot-new, extract it, put n516-image.bin inside and follow the README.factory-flashing.n516.txt07:45
LunohoDthat's all07:45
LunohoDthat should work. i did it a dozen times07:47
larsshekhar: i'll check the sourcecode and see if I find something. Will probably take some time.07:51
larsshekhar: are you sure that it is a n516?07:55
shekharyes07:56
larsdid you compile usbboot yourself?08:01
shekharlars: no08:02
shekharlars: downloaded from here http://downloads.qi-hardware.com/software/xburst-tools/08:03
shekhari'll just try windows tomorrow08:03
shekharlars LunohoD thanks for your assistance08:03
*** dottedmag has quit IRC08:04
*** dottedmag has joined #openinkpot08:08
larsah... great. just noticed that the recive buffer is to small and overflows08:20
*** avn has joined #openinkpot08:30
*** avn_ has quit IRC08:32
*** xman has joined #openinkpot09:37
*** xman has joined #openinkpot09:38
*** michal has joined #openinkpot09:48
*** mop has joined #openinkpot10:07
*** mop has quit IRC10:07
*** mop has joined #openinkpot10:07
*** mop has left #openinkpot10:08
*** dejanm has joined #openinkpot10:17
*** Groover has joined #openinkpot10:17
Groovermorning all10:17
GrooverI have little problem, I need your help10:18
*** jekhor has joined #openinkpot10:36
ruskieyou need to provide the problem else we can't help10:41
*** jekhor has quit IRC10:46
LunohoDGroover: tell us about your problem ;)10:52
GrooverI reflash the n516 to the original sw, but after the reset the screen flash 3 times and thats all. The blue LED light only.10:53
Grooverwhen I send the nerase 0 4096 0 0 command I can see many bad blocks10:54
GrooverHow can I fix these bad blocks?10:54
Grooverbut when I reflash to openinkpot sw to the device, it is working normally10:57
Grooverunfortunatelly the customer want the original english SW10:58
*** keithp has quit IRC10:59
*** keithp has joined #openinkpot11:01
LunohoDGroover: how many bad blocks?11:18
LunohoDGroover: i had the same problem when i flashed the original fw without runnning nerase before11:20
LunohoDbut I could only solve it with my debugboard connected to the device11:20
LunohoDlars: do you know how to run nand scrub in uboot without serial console?11:21
GrooverLunohoD: 30, 40, 68 bad blacks found11:25
Grooverblocks11:26
Grooverit is hardware problem?11:26
LunohoDdunno11:26
LunohoDGroover: 30, 40, 68 - on one line?11:27
Groovereach device11:28
GrooverI have 3 totally dead n51611:28
LunohoDoh11:28
LunohoDthat sucks11:28
Grooveryes11:28
LunohoDand there was no bad blocks before?11:29
Grooverno11:29
LunohoDwhy have you flashed 3 devices with OI and then flashed original fw back?11:29
LunohoDjekhor or lars might help you11:31
*** keithp has quit IRC11:31
LunohoDyou probably need a uboot which will erase bad blocks automatically11:32
*** keithp has joined #openinkpot11:33
LunohoDGroover: you said OI still can be flashed, right?11:33
LunohoDGroover: which original fw have you installed?11:37
*** jekhor has joined #openinkpot11:51
LunohoDGroover: set FORCEERASE to 1 in USBBoot.cfg and uImage.cfg and try again12:10
LunohoDbtw, check that your uImage-upgrade is 6Mb and not 3Mb12:11
GrooverLunohoD: I will try12:12
LunohoDGroover: where have you downloaded the original fw?12:12
Grooverhanvon sent directly12:12
GrooveruImage-upgrade is: 6,4MB12:13
LunohoDare you the hanvon dealer?12:13
Grooveryes12:13
Grooverwhy?12:13
LunohoDcool :)12:13
LunohoDdo you have a spare 5" eink display?12:13
Grooveri think no12:14
Groover:)12:14
LunohoDi need to replace my broken screen12:14
LunohoDGroover: how much does the new n516 cost?12:15
LunohoDhow much is shipping to germany?12:16
LunohoDi ask because the n516 is not available to buy in germany anymore.12:17
Grooverthe new n516 approx: 160-170 USD12:18
Grooverbut I not sales person12:18
Groover:D12:18
Grooveryou need n516?12:18
Grooverhow many?12:18
LunohoDwell, right now I don't want to buy n516, but I might recommend n516 to someone12:20
* LunohoD afk12:21
Grooverif you need, let me know12:21
Grooverso, how can I wake up the totally dead devices? :)12:22
jekhorGroover, totally or seen via USBBoot?12:24
Grooverseen via UBboot12:24
GrooverI can send boot 012:25
Grooverit is answer all commands12:26
jekhoryou can flash firmware with it. What happens if you try to do this?12:27
GrooverHow can I make log from the USBboot?12:28
Grooverwww.wireless-market.hu/openingpot/Clipboard01.jpg12:33
Grooversorry12:35
Grooverwww.wireless-market.hu/openinkpot/Clipboard01.jpg12:36
jekhorGroover, set forceerase to 1 in uImage.cfg12:37
Grooveroh12:37
Groovergreat!12:39
Grooverno bad blocks12:39
Grooverbut I can see: skip a old bad block, when I upload the rootfs-upgrade12:40
larsLunohoD: usbboot knows foreced ereases which basically is a scrub12:42
jekhorGroover, forceerase doesn't eliminate real badblocks marked on the fabric :)12:43
Grooveraham12:43
larsah... i'm was to late...12:46
*** abishai has joined #openinkpot12:47
*** abishai_ has quit IRC12:49
GrooverI tried the reflash on the death device, but it is still dead12:50
larsany suspicious messages from usbboot?13:05
larslike "skipping bad block(s)"13:06
*** jekhor has quit IRC13:13
Grooverbut I can see: skip a old bad block, when I upload the rootfs-upgrade13:13
*** jekhor has joined #openinkpot13:16
larsGroover: shouldn't affect u-boot, i guess. You probably have already written it, but are there any symptoms? or is the device just plain dead doing nothing?13:21
*** mop has joined #openinkpot13:24
Grooverlars, I can see flashing the screen 3 times and thats all13:28
Grooverthe LED light only13:28
LunohoDpost the log, please13:30
GrooverI think I will fix it with hammer :D13:31
larsGroover: ok if the screen is flashing this means uboot should be working13:34
larsGroover: before trying to fix it with a hammer send to me ;)13:35
Grooverok13:35
Groover:D13:35
larsdoes the original firmware for n516 have a splashscreen?13:36
Grooveryes13:38
larshm13:39
larsi guess you got some instructions how to reflash the orinal firmware and install the upgrades?13:42
Grooveryes13:42
GrooverI have 300pcs n516, but 3pcs dead only after the reflash13:43
GrooverI think it is hardware problem13:44
LunohoDhave you flashed all of them with OI?13:44
Grooveryes13:44
LunohoDand then all of them (300pcs) back to the original fw?13:45
Grooveryes13:45
LunohoDthen it might be a hw problem13:45
larsGroover: but they worked before?13:46
Grooveryes13:46
Grooverwhen I flash the openinkpot sw, its working13:46
Grooverbut when I flash the original sw, is not13:47
LunohoDtry another original firmware13:47
larsthat does not sound like a hw problem then13:48
GrooverI tried, but the problem is same13:48
larsyou could try a hybrid solution ;) take uboot from oi rest from the original firmware13:50
jekhorThis is bad idea :)13:52
LunohoDjust sell those 3 devices with OI ;)13:53
Groover:D13:53
Grooverand my boss cut my head13:53
Grooverwhen I use this: nprog 0 uImage-upgrade 0 0 -e, then I can see the 2nd line: No. 2 Programing --> Skip a old bad block13:57
Grooverwhen the bad block is not No.2 it is woking13:57
larsingenics uboot is known to have problems with bad blocks at the beginning13:59
LunohoDGroover: you could tell your boss, that newer chinese sw bricked the devices14:00
Grooveryes14:07
GrooverIf you make the final sw, and that is better the original, we will use your sw on all n51614:09
LunohoDare there any special features missing in OI in comparision to the original fw?14:10
Grooveryour sw is contain some good features, but the original is not14:11
Grooverthe graphical interface is better than original14:11
Grooverbut I found some bugs14:11
Groover:)14:11
LunohoDyou should open a ticket each time you find a bug ;)14:11
Grooverex.: zoom button not working14:11
Grooverthe user how upgrade the sw on the device?14:12
LunohoDGroover: if there is OI on the device, you can download an update file and put it on your sd card14:13
Grooveryou mean the uImage-upgrade and the rootfs-upgrade files?14:13
LunohoDhttp://openinkpot.org/wiki/0.2/InstallationGuide#Update14:13
Grooverits clear14:15
LunohoDGroover: switching between OI and original fw is little bit tricky as you've already discovered. but upgrading OI to a newer version is very easy.14:15
Grooverok14:16
GrooverI will tell my boss14:16
Groovercan you make englis-hungarian sw only?14:17
LunohoDyes14:17
Grooverwhen do you send the sample sw?14:18
LunohoDwhen you will pay ;)14:18
Grooverhmm14:18
Groovernever? :D14:18
Grooverit is free or not?14:19
LunohoDyes, it is completly free14:19
LunohoDbut our time is not free14:19
* LunohoD afk14:20
dottedmagGroover: if you want it, you can make it yourself, software is free.14:22
Groover:D14:22
dottedmagGroover: if you want someone else to do something for you, pay him/her.14:22
Grooverok14:23
Grooverwhat is the prize?14:23
dottedmagprize? well, better discuss it in e-mail. send me and lunohod a mail with the things you want to fix / adjust in OI and proposed price.14:25
dottedmagdottedmag@openinkpot.org, lunohod@openinkpot.org14:25
Groovernoted14:31
Grooversent mail15:01
dottedmaggood15:01
* Groover away15:16
*** dottedmag has quit IRC15:22
*** dottedmag has joined #openinkpot15:22
*** michal has quit IRC15:26
*** xman has quit IRC15:26
*** dejanm has quit IRC15:45
*** shekhar1 has joined #openinkpot15:54
Grooverbye all16:21
*** Groover has quit IRC16:21
*** Feuerbach has quit IRC16:22
*** mop has quit IRC17:07
*** avn_ has joined #openinkpot17:55
*** avn has quit IRC17:56
*** avn has joined #openinkpot18:07
*** avn_ has quit IRC18:09
*** dejanm has joined #openinkpot18:55
*** jekhor has quit IRC19:06
*** vwegert has joined #openinkpot19:37
*** helge_ has quit IRC19:51
*** jekhor has joined #openinkpot20:08
*** vwegert has quit IRC20:17
*** michal has joined #openinkpot20:22
*** roxfan is now known as roxfan[zzz]20:26
*** roxfan[zzz] is now known as roxfan20:26
*** LunohoD_ has joined #openinkpot20:48
CIA-3gheesh wiki * 10 /: WikiStart/es has been changed: Updated after 0.2 release to match English page (http://openinkpot.org/wiki/WikiStart/es?action=diff&version=10)20:54
*** LunohoD has quit IRC20:55
*** LunohoD_ is now known as LunohoD20:55
CIA-3gheesh wiki * 12 /: 0.2/InstallationGuide/es has been changed: Minor: Included references to N510 (http://openinkpot.org/wiki/0.2/InstallationGuide/es?action=diff&version=12)21:02
*** avn_ has joined #openinkpot21:08
*** avn has quit IRC21:09
*** franzrogar has joined #openinkpot21:16
*** jekhor has quit IRC21:18
*** franzrogar1 has quit IRC21:20
*** dejanm has quit IRC21:29
*** shekhar1 has quit IRC22:11
*** dottedmag has quit IRC22:59
*** dottedmag has joined #openinkpot22:59
*** dottedmag has quit IRC23:04
*** dottedmag has joined #openinkpot23:04
*** dottedmag has quit IRC23:09
*** dottedmag has joined #openinkpot23:09