2011-09-29 02:06 anyone can help me to fix my broken ben? http://lists.en.qi-hardware.com/pipermail/discussion/2011-September/009024.html 2011-09-29 02:13 hello hiyuh 2011-09-29 02:14 You can try flashing from memory card 2011-09-29 02:14 too 2011-09-29 02:14 hi kristianpaul 2011-09-29 02:15 you mean using microSD card? 2011-09-29 02:15 yes 2011-09-29 02:15 but you need still boot linux at least 2011-09-29 02:15 eh, i have not microSD mem ATM. 2011-09-29 02:16 ok 2011-09-29 02:16 s/not/no/ 2011-09-29 02:16 what is your dmesg out when having this Error - can't read bulk data from Ingenic device messages btw? 2011-09-29 02:17 let find how force low-speed 2011-09-29 02:17 let me* 2011-09-29 02:18 ah, werner alredy pointed it :) 2011-09-29 02:19 if you dont boot now, no rush, 2011-09-29 02:20 hmm, I wrote my ben won't boot (usbboot and/or standalone). but it's not, I realized, just standalone boot fails. 2011-09-29 02:20 good, so you still have usbbot and kernel related error just after booting? 2011-09-29 02:21 hiyuh: had you already tried flashing with all your usb ports? 2011-09-29 02:24 my ben can do usbboot only atm. when tring standalone boot, my ben displays keeps black. so all I have to do is now runnig reflesh_ben.sh again w/ low-speed? 2011-09-29 02:26 well, i think werner pointed some devices may not work in low-speed http://lists.en.qi-hardware.com/pipermail/discussion/2011-September/009021.html 2011-09-29 02:26 but of course you can give it a try 2011-09-29 02:26 k 2011-09-29 02:26 s/low-speed/full-speed 2011-09-29 02:26 hiyuh: can you pastebin a lsusb output please? 2011-09-29 02:30 kristianpaul, http://pastebin.com/Kwh3WTFK 2011-09-29 02:31 w/ -v -> http://pastebin.com/PTXarcei 2011-09-29 02:31 also dmesg 2011-09-29 02:32 I'm trying to follow this http://lists.en.qi-hardware.com/pipermail/discussion/2011-August/008508.html 2011-09-29 02:32 So you be aware of tring full-speed just in case 2011-09-29 02:33 dmesg -> http://pastebin.com/Wic2WFCm 2011-09-29 02:35 "usb 1-1: new full speed USB device number 3 using ohci_hcd" in dmesg, so "(if it already enumerates as Full-Speed or Low-Speed, you shouldn't be reading this anyway ;-)"? 2011-09-29 02:36 ;) 2011-09-29 02:37 yes 2011-09-29 02:37 so... hum 2011-09-29 02:37 do you have a really shorter usb cable? :) 2011-09-29 02:38 btw, please try flash again as suguested and try to share with us dmesg out when "error" happens 2011-09-29 02:39 i have no cable shorter than one came w/ ben. but longer ones are. 2011-09-29 02:39 I'll try reflesh_ben.sh again. 2011-09-29 02:42 fails again. 2011-09-29 02:42 dmesg ? 2011-09-29 02:43 http://pastebin.com/cZMKezDM 2011-09-29 02:45 this may sound crazy, but do you have a usb hub near? 2011-09-29 02:46 or maybe a different PC ? 2011-09-29 02:46 can you try another cable too, this looks like a emi or bad cable issue according to some googleing :) 2011-09-29 02:46 wpwrak: I do no want to said that at the end :) 2011-09-29 02:46 but yeah.. 2011-09-29 02:47 my ben pluged thinkpad's usb port (a left one) directly. 2011-09-29 02:47 yes sure, but something is not right with that thinkpad usb port according to the last 3 lines from your dmesg 2011-09-29 02:48 odd 2011-09-29 02:50 hmm, this thinkpad has another usb port on rear. i'll try again w/ it. 2011-09-29 02:55 lsusb -v after pluged to rear usb port -> http://pastebin.com/riLJKUKY, dmesg after reflesh_ben.sh failed again -> http://pastebin.com/zNdUEgGE 2011-09-29 02:56 maybe this TP has internal USB hub? 2011-09-29 02:56 I'd say if you can, try a different computer 2011-09-29 02:56 hiyuh: perhaps 2011-09-29 02:56 orz 2011-09-29 02:56 and ideed, you should try another computer anyway 2011-09-29 02:57 k 2011-09-29 02:58 btw, why not using usb hub when doing reflesh_ben.sh? 2011-09-29 03:00 sometimes, hubs cause trouble. so it's standard practice to try to remove hubs from the equation if anything goes wrong. (not only for the ben.) 2011-09-29 03:00 k 2011-09-29 03:00 but yous lsusb doesn't show any hubs. the "root hub" doesn't really count as a hub 2011-09-29 03:01 (it's part of the USB host controller) 2011-09-29 03:50 [commit] Werner Almesberger: README: mention also fab/ and mlztx/ (master) http://qi-hw.com/p/eda-tools/eff2e8e 2011-09-29 03:51 [commit] Werner Almesberger: swapcmp/: swap (rename) components in a layout (master) http://qi-hw.com/p/eda-tools/886de15 2011-09-29 04:37 happy Jewish new year folks! ;) 2011-09-29 04:38 is it Jewish new year? wow 2011-09-29 04:39 it took me a few years in China to learn about and appreciate the significance of the Chinese new year, but I went through the process, so now I'm ready for any other discoveries! such as jewish new year! Happy new year then, indeed! 2011-09-29 04:39 yup :) it's year 5772! But, I think the Chinese calendar might be the only one to beat THAT. 2011-09-29 05:09 it's hiyuh on another box. 2011-09-29 05:10 echo 6 >/sys/bus/usb/drivers/usb/usb1/../companion 2011-09-29 05:10 bash: /sys/bus/usb/drivers/usb/usb1/../companion: No such file or directory 2011-09-29 05:10 :( 2011-09-29 05:12 qwebirc15270: sorry I lost track of your endeavor somewhere 2011-09-29 05:12 you are trying to reflash your nano? 2011-09-29 05:12 what's the status of it right now? does it boot? (the nano) 2011-09-29 05:12 did it boot before? what was the last thing you did to it when it was still working? 2011-09-29 05:12 just trying to help... 2011-09-29 05:14 wolfspraul: yes, using reflesh_ben.sh on another x86 box. but it fails. http://pastebin.com/uc95ND8Q 2011-09-29 05:15 ok but let's unwind a little, it seems you are stuck trying some specific thing, so I'm looking for a workaround 2011-09-29 05:15 did the nano work before? what was the last you did on it? does it boot now? 2011-09-29 05:15 there are many ways to update it, I'm just trying to understand its current status 2011-09-29 05:21 1) my ben works as out-of-box. but shipped image looks outdated, so i want to update. 2) I tried to update by reflesh_ben.sh on gentoo/~ppc, but it fails. (maybe b/c endian bug in xburst-tools) 3) I tried to update by reflesh_ben.sh again on gentoo/~x86, but it fails. (maybe b/c thinkpad usb port sucks) 4) now I'm on an ancient fedora10 box I found, and try to usb speed change W/A. 2011-09-29 05:22 does your ben boot right now? 2011-09-29 05:22 but it fails :( <- current status 2011-09-29 05:22 maybe somethign is wrong earlier 2011-09-29 05:22 can we step back for a moment? 2011-09-29 05:22 does your ben boot right now? 2011-09-29 05:22 k 2011-09-29 05:23 you mean usb boot? 2011-09-29 05:25 no, normal boot 2011-09-29 05:26 oh, it won't I think :-) 2011-09-29 05:26 I just looked at your pastebin transcript 2011-09-29 05:27 that looks like you actually did some flashing, but then it aborted mid-way 2011-09-29 05:27 argh 2011-09-29 05:27 but your u-boot is probably still ok (it looks like from the transcript) 2011-09-29 05:29 normal boot fails. the display keeps black. 2011-09-29 05:29 usb boot looks ok to me. http://pastebin.com/fyGLccr9 2011-09-29 05:30 yes 2011-09-29 05:30 hmm 2011-09-29 05:31 when rebooting your ben after reflashing, disconnect the usb cable and take out the battery, and wait 10-20 seconds 2011-09-29 05:31 just in case 2011-09-29 05:31 k 2011-09-29 05:32 your first transcript looks like u-boot was flashed just fine 2011-09-29 05:32 then the screen should turn on for sure 2011-09-29 05:32 even if it cannot find or load the kernel 2011-09-29 05:35 i see this -> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 2011-09-29 05:35 ah great 2011-09-29 05:35 :-) 2011-09-29 05:35 an alternative way to flash your ben is to make a bootable memory card, and then flash it from there 2011-09-29 05:35 the only thing you need in NAND for that is u-boot, which you have 2011-09-29 05:36 do you want to try that? do you have the patience? 2011-09-29 05:37 you mean the way using microSD card? 2011-09-29 05:38 yes 2011-09-29 05:38 eh, i have no microSD card atm... 2011-09-29 05:38 hmm, ok. then we have to find a more stable USB host 2011-09-29 05:39 maybe you are just unlucky with the 2 systems you tried 2011-09-29 05:39 it seems to be working in principle, but then aborts after some time 2011-09-29 05:39 so I'm back to where everybody else was already before :-) no silver bullet... 2011-09-29 05:42 nope, i tried 3 boxes (gentoo/~ppc, gentoo/~x86 and this ancient f10). and it looks i should use microSD. 2011-09-29 05:44 painful, sorry to hear you had such bad luck 2011-09-29 05:44 strange 2011-09-29 05:44 are you using the latest xburst-tools ? 2011-09-29 05:45 yes, tried git and latest .deb. 2011-09-29 05:45 normally the flashing is robust, you made it past all the critical points (which is how to get into usbboot mode) 2011-09-29 05:50 wolfspraul: anyway thank you, i'll be off from this ancient box. :) 2011-09-29 06:43 2GB is enough to create bootable microSD? 2011-09-29 07:34 hiyuh: still around? 2011-09-29 07:35 just read your reflashing endevour in the  qi-hw irc logs 2011-09-29 07:35 about your questions: 2 GB should be more than enough for a bootable micro-sd 2011-09-29 07:36 on the other hand: what's wrong with the fedora box?  you wrote it won't support usb speed change, but maybe that's not neccessary on the fedora box anyways? 2011-09-29 07:36 BTW I've been mostly flashing at high-speed through a hub.  never saw a single error. 2011-09-29 07:41 yes that's how it should be 2011-09-29 07:41 and mostly is 2011-09-29 07:41 we had a few rare cases where people had stubborn problems on one computer, but switching to another one always solved the problem for them 2011-09-29 07:41 never had a case with someone who had 3 different computers in a row like this 2011-09-29 07:41 too bad 2011-09-29 07:44 wolfspraul: I think he didn't try to actually flash via the 3rd (fedora) box.  just gave up when he weren't able to force it to full-speed (?) 2011-09-29 07:44 i'd say he just needs to do a few more tries, switching cable, inserting a hub, and trying the fedora box at high-speed. 2011-09-29 07:45 dvdk, thanks 2011-09-29 07:45 wolfspraul: btw milkymist is featured at theregister.co.uk 2011-09-29 07:45 wolfspraul: http://www.theregister.co.uk/2011/09/28/milkymist/ 2011-09-29 07:46 hiyhuh: saw my answers above?  (10 minutes ago) anything you didn't already try? 2011-09-29 07:48 hiyuh: BTW here's the documentation for flashing via microsd-card (didn't try myself though): 2011-09-29 07:48 http://en.qi-hardware.com/wiki/Updating_Ben_with_an_SD#Creating_an_OpenWRT_installation_on_your_SD_card 2011-09-29 07:49 dvdk: on the fedora, reflesh_ben.sh w/ high speed fails at end of kernel flashing. it boots but no rootfs. 2011-09-29 07:49 yes, now I bought microSD and it does boot here. 2011-09-29 07:49 hiyuh: you really seem to be extremely unlucky :) 2011-09-29 07:49 cool 2011-09-29 07:49 lol 2011-09-29 07:50 but there is no mtdinfo :( 2011-09-29 07:50 dvdk: yes, featured, but... the article is confusing and we need to learn a lot from it and improve our story telling 2011-09-29 07:50 we don't have your headline making skills! (vga abused...) 2011-09-29 07:50 hiyuh: wait a minute ... does the flashing fail ? or does flashing succeed but then it doesn't boot ? 2011-09-29 07:51 hiyuh: have you configured network?  you should be able to install mtdtools using opkg 2011-09-29 07:52 hiyuh: because there's also a failure scenario where the kernel just doesn't find the root file system. a while ago, the partitioning has been changed, but that change was never properly deployed, so there's the possibility that you have a system made from incompatible parts 2011-09-29 07:52 which firmware image did you install on the microsd? 2011-09-29 07:52 wpwrak: dunno, booting after doing reflesh_ben.sh results kernel panic said no rootfs 2011-09-29 07:52 hiyuh: so the reflash itself completed without an error ? 2011-09-29 07:52 wpwrak: didn't he say the reflash *of the kernel* completed, ? 2011-09-29 07:53 dvdk: ah yes, good point 2011-09-29 07:54 hiyuh: if you haven't done so yet, you may also have to reflash u-boot and the root file system 2011-09-29 07:54 hiyuh: particularly if you've upgraded from a kernel with the old partitioning to one with the new partitioning 2011-09-29 07:54 wpwrak, on fedora, reflesh_ben.sh vomits error at end of flashing kernel. 2011-09-29 07:55 hiyuh: did you try reflashing on any of the other two systems ? or did you just check enumeration there ? 2011-09-29 07:56 hiyuh: try 'opkg install mtd-utils-flash-info mtd-utils-flash-erase', and probably many more tools. 2011-09-29 07:56 the list of pakcages is here: 2011-09-29 07:56 http://downloads.qi-hardware.com/software/packages/NanoNote/Ben/latest/ 2011-09-29 07:56 can also just copy the .ipk packages to your ben, then run 'opkg install *.ipk' (as long as there are no missing dependencies) 2011-09-29 07:57 wpwrak, anyway, i would not like to try usbboot anymore. it's waste of time to me. i've tried 3 systems... 2011-09-29 07:58 dvdk, thanks i'll try. 2011-09-29 07:58 wpwrak: i guess error rate is so high, that it fails somewhere in the huge rootfs part, but bootloader+kernel flashed ok 2011-09-29 07:58 hiyuh: so you got an error on all three systems ? okay, that's bad then 2011-09-29 07:58 if the opkg works, we should probably update the wiki 2011-09-29 07:59 dvdk: possible, yes. that would suggest a hardware problem on the ben side then. clock instability or something wrong with the USB electronics 2011-09-29 07:59 hiyuh: ah, you may need to run 'opkg update' before you can retrieve packages from the webm 2011-09-29 08:00 wpwrak: broken cable? :) 2011-09-29 08:01 wpwrak: the first system doesn't really count.  that's a PPC and usb-boot seems to be broken on big-endian 2011-09-29 08:02 wpwrak, 1) my ben works as out-of-box. but shipped image looks outdated, so i want to update. 2) I tried to update by reflesh_ben.sh on gentoo/~ppc, but it fails. (maybe b/c endian bug in xburst-tools) 3) I tried to update by reflesh_ben.sh again on gentoo/~x86, but it fails. (maybe b/c thinkpad usb port sucks) 4) I'm on an ancient fedora10 box I found, and try to usb speed change W/A but it fails. using reflesh_ben.sh w/ high-speed also fails. 2011-09-29 08:02 5) now i'm tring to update w/ micorSD. 2011-09-29 08:06 hmm, "Ethernet over USB" needs a driver on linux host? 2011-09-29 08:06 hyuh: should be included by default in all "normal" kernels 2011-09-29 08:06 but you need to 'ifconfig usb0' on the  host for usb to appear 2011-09-29 08:06 s/usb/eth0 2011-09-29 08:07 ähh 2011-09-29 08:07 s/usb/usb0 2011-09-29 08:07 just watch 'tail -f /var/log/messages' 2011-09-29 08:08 maybe I should recompile my kernel to use this -> "Netchip Technology, Inc. Linux-USB Ethernet Gadget" 2011-09-29 08:08 hiyuh: you're using a self-made kernel? 2011-09-29 08:08 dvdk, yes 2011-09-29 08:08 :) 2011-09-29 08:08 ok, so not a "normal" kernel 2011-09-29 08:09 also, normally routing isn't configured, so usb0 won't connect to the internet 2011-09-29 08:09 most people around here setup routing + NAT for the usb0 device on the host. 2011-09-29 08:09 i prefer to just run a http proxy on my pc, then configure opkg to use it 2011-09-29 08:09 k 2011-09-29 08:10 uses abnormal kernel on junky boxes 2011-09-29 08:10 hiyuh: (usbboot) hmm, looks bad, yes 2011-09-29 08:14 maybe, CONFIG_USB_ETH is needed? 2011-09-29 08:14 hiyuh: probably 2011-09-29 08:15 sure you need the "ethernet gadget" code?  isn't that maybe tho wrong side of the driver (implementing usb client, not host code?) 2011-09-29 08:15 all the usb-gadget stuff is AFAIK for device-side drivers, not host-drivers 2011-09-29 09:07 ethernet over usb needs CONFIG_USB_NET_CDCETHER on linux host. 2011-09-29 11:57 tried "opkg install mtd-utils-flash-info" on beb which boots from microSD, but mtdinfo is missing. why? 2011-09-29 12:00 s/beb/ben/ 2011-09-29 12:17 my ben is updated finally. 2011-09-29 12:20 wohooo 2011-09-29 12:20 hiyuh: you deserve the xburst-tools survivor badge 2011-09-29 12:21 handed over by dvdk or whoever helped push you over the finish line :-) 2011-09-29 12:21 glad to hear that btw, I was a bit worried you would be stuck 2011-09-29 12:39 hiyuh: so which mtd-package was it finally?  somebody ought to add that info to the wiki page 2011-09-29 12:41 wolfspraul: thanks 2011-09-29 12:41 wolfspraul: i think it was kristianpaul who realized (some 8 hours ago!) that boot-loader was still working and micro-SD boot would still work.  i think that was the most important bit in the reflashing saga. 2011-09-29 12:43 dvdk: mtdinfo is still missing. but it's not so important to update, wiki just shows usage of mtdinfo on http://en.qi-hardware.com/wiki/Updating_Ben_with_an_SD 2011-09-29 12:45 (visual diffs) ah, they actually have done a bit more. just the picture at adafruit isn't so great 2011-09-29 12:46 dvdk: http://pastebin.com/mu9tPfc3 2011-09-29 12:52 bbl 2011-09-29 13:03 rejon: comment posted :-) 2011-09-29 14:34 wolfspraul: ah, how about adding labsw to the schematics diffs ? 2011-09-29 14:56 we made some news, too :) http://www.adafruit.com/blog/2011/09/29/visual-revision-history-for-schematics-for-kicad-and-git/ 2011-09-29 15:06 oh nice! [news] 2011-09-29 15:06 yes sure, will add tomorrow [labsw] 2011-09-29 15:06 kewl, thanks ! it's in wernermisc/labsw/ 2011-09-29 15:17 nice captcha on that site: "Prove you are human by reading this resistor: ..." 2011-09-29 16:04 nice 2011-09-29 17:25 hullo 2011-09-29 17:25 wonder what will happen with this: 2011-09-29 17:25 the Wall Street Journal reported that Nokia is developing a Linux-based operating system code-named Meltem for its low-end phones. The report, citing unnamed sources, said that Mary McDowell, Nokia's executive vice president in charge of mobile phones, is leading the effort. The focus is to improve Nokia's competitiveness in emerging markets, the report said, which also noted that Nokia has begun releasing dual-SIM phones in 2011-09-29 17:36 Nokia's insistence on ignoring Android (which can by now run its lower end devices without any major investment on their end) amazes me. What are the chances this new linux flavour Nokia will make for their phone will be more "open" than Android? 2011-09-29 18:58 erikkugel: if they release the gui, i a good start :) 2011-09-29 18:58 also low end phones sound nice i think :) 2011-09-29 19:25 kyak: any good luck with offrss? :) 2011-09-29 19:25 viric: didn't yet have a single chance to get to it (no time) - still using google reader :) 2011-09-29 19:26 hehe ok :) 2011-09-29 19:28 i can try, i currentky use newsbeuter, but if there is a good excuse to move, why not 2011-09-29 19:35 kristianpaul: you're welcome! But it's up to you. It's already in the "works for me" 2011-09-29 19:44 support for pictures, looks a  good reason to me :) 2011-09-29 19:44 viric: so are you using it with elinks? 2011-09-29 19:45 well, I mostly use it with firefox in my laptop 2011-09-29 19:45 but I rarely used elinks or lynx in the nanonote 2011-09-29 19:51 i got you ! 2011-09-29 19:52 i tought you'were talking about nanonote :) 2011-09-29 19:56 well, it builds and works in the nanonote too :) 2011-09-29 19:56 I'm not advising you to run eclipse. I advise you to run a program that *also* works on the nanonote 2011-09-29 19:56 :) 2011-09-29 20:00 haha ;) 2011-09-29 20:14 . 2011-09-29 20:19 offrss: offrss.c:431: open_urls: Assertion `space != ((void *)0)' failed. 2011-09-29 20:19 no OPML ? :) 2011-09-29 20:19 eh? :) 2011-09-29 20:19 no OPML 2011-09-29 20:20 ompl is a too modern thing 2011-09-29 20:20 what did you write in your feedurls.txt? 2011-09-29 20:22 an opml export from newsbeuter 2011-09-29 20:22 ah no no 2011-09-29 20:22 kyak also wanted something like that. 2011-09-29 20:22 the feedurls.txt format is simple and offrss-only. 2011-09-29 20:23 described in the offrss web page 2011-09-29 20:23 ok i'll look the webpage and not asume fancy features ;) 2011-09-29 20:23 :) 2011-09-29 20:23 kristianpaul: or 'doc/home.wiki' in the package 2011-09-29 23:21 DocScrutinizer: hmm, a bit of mystery: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=ED2679-ND 2011-09-29 23:23 DocScrutinizer: note the "wash-away". the data sheet says that the carrier dissolves in water. for what on earth would one use such a feature ? 2011-09-29 23:25 strange 2011-09-29 23:26 mouse camera, with lens downwards? 2011-09-29 23:27 nah, I think I have *no* idea 2011-09-29 23:29 good. i'm not alone with my puzzlement then ;-) 2011-09-29 23:29 just can imagine you may want to solder a set of 6 (8?) contacts with proper raster, then for whatever reason need to get rid of the carrier 2011-09-29 23:31 yeah, i could vaguely imagine sending the board through SMT afterwards, to fill the space between the pins with components. seems odd, though. and i'm not sure if this would actually work 2011-09-29 23:31 i mean, first problem: how to apply the solder paste ? 2011-09-29 23:32 then, won't have whatever soldering process you used for the DIP contaminated the SMT pads as well ? 2011-09-29 23:32 and so on. sounds like an interesting solution for a problem that can't exist ;-) 2011-09-29 23:46 sealing with acryl or epoxy