2010-05-11 01:47 Xiangfu Liu: update READE, add INSTALL file http://qi-hw.com/p/xburst-tools/cd7bc7f 2010-05-11 03:38 hi guys, new nanonote owner here. i have an embarrasing question: how do i exit gmu? :) 2010-05-11 03:40 fred-o: alt+enter 2010-05-11 03:41 sweet! thanks :) 2010-05-11 03:57 It flash!!!!! it flash!!!! Nanonote has flashed and arduino board!!!!! yippy kay hey!!!! 2010-05-11 03:57 is dancing the happy geek dance 2010-05-11 03:57 tuxbrain: congrats! 2010-05-11 03:57 can we get a video? 2010-05-11 03:57 of the dance I mean ;) 2010-05-11 03:58 hehehe sorry human being is not ready for this yet 2010-05-11 03:58 hrhr 2010-05-11 03:58 I understand ;) 2010-05-11 03:59 but take for sure a new heavy metal video clip will born from this :) 2010-05-11 04:03 :D 2010-05-11 04:37 tuxbrain: how is it connected? 2010-05-11 04:41 trough serial port, using test points tp4 and tp5 2010-05-11 04:41 ttyS0 2010-05-11 04:42 you can see detailed pics of the wiring here http://en.qi-hardware.com/wiki/Serial_console#Hardware_mod_to_have_a_pluggable_serial_port 2010-05-11 04:45 is cleaning the "studio" to make the video demo 2010-05-11 04:51 :D great - pics & video rule! 2010-05-11 04:53 BNN hardware modified... debian running... arduino flashed... I feel an emptiness  in my geeksoul .... once the tutorial/video was done ....what outofbounds goals I should point now? :P 2010-05-11 04:54 tuxbrain: wee need some case modelling...! :D 2010-05-11 04:54 emdete: have you see this one? http://www.youtube.com/watch?v=4F5g559TMrE 2010-05-11 04:56 emdete: if BNN can control arduino, it can control a RipRap or Makerbot :P 2010-05-11 04:59 mmmm if they not where so f%&ing expensive using a BNN with some dedicated prog as interface to those 3d printers sould be a interesting project to get into 2010-05-11 05:03 tuxbrain: nice music... 2010-05-11 05:06 yeah nanowar are great musicians with a greater sense of humor :), and also GNU/Linux and free knowledge advocates 2010-05-11 05:08 tuxbrain, wait, a metal band interested in GNU/Linux? 2010-05-11 05:08 so there is direct wirering between nano & arduino? no additional converter? 2010-05-11 05:09 emdete:yep 2010-05-11 05:09 tuxbrain: amazing.. 2010-05-11 05:10 zear:yep, and also they licence they music under CC :P 2010-05-11 05:11 tuxbrain, so technically we could put some of their music as ogg samples or use it as a starting tune for the nanonote? 2010-05-11 05:12 emdete:yes in spite of they work in diferent voltages, BNN 3,3 Arduino 5 , Arduino is interpreting 3,3V as logical 1 and it really does not output 5V is more a 4-4,2V son Ben can handel it :P 2010-05-11 05:14 zear:yep :) I have some mails with gatto (the *leader* of the band) and he is totally happy to be related with NanoNote project :) 2010-05-11 05:14 :D 2010-05-11 05:15 tuxbrain, that might be very handy when we develop an alarm clock app 2010-05-11 05:15 so their guitar solo could be used as an alarm tune :) 2010-05-11 05:16 Jonathan Nieder: update changelog http://qi-hw.com/p/xburst-tools/b65e321 2010-05-11 05:16 Jonathan Nieder: avoid accidentally tracking the xbboot stage1 firmware http://qi-hw.com/p/xburst-tools/63d8f08 2010-05-11 05:16 Jonathan Nieder: debian/rules: fix clean target http://qi-hw.com/p/xburst-tools/dbe9c8b 2010-05-11 05:16 Jonathan Nieder: update .gitignore http://qi-hw.com/p/xburst-tools/e6a1f0f 2010-05-11 05:16 Jonathan Nieder: include entire source tree in source package http://qi-hw.com/p/xburst-tools/78f38d4 2010-05-11 05:16 Jonathan Nieder: unset executable bit on firmware image http://qi-hw.com/p/xburst-tools/e140411 2010-05-11 05:16 Xiangfu Liu: update INSTALL, add how to get cross-toolchain http://qi-hw.com/p/xburst-tools/4ffa696 2010-05-11 05:16 he :D yeah they have some noisy themes to weak up anyone 2010-05-11 05:17 btw http://code.google.com/p/grafx2/ might be worth porting this app 2010-05-11 05:18 [...]and generally any detailed graphics painted with a mouse[...] mouse? in BNN? 2010-05-11 05:19 tuxbrain, they made a port of it to the gp2x 2010-05-11 05:19 so i believe we could use some code from it for mouse emulation 2010-05-11 05:19 ops! gp2x doen't have touchscreen? 2010-05-11 05:19 tuxbrain, only the F200 model 2010-05-11 05:20 ok :) 2010-05-11 05:21 is should be nice to have a image editor on BNN :) but I'm still waiting for just a viewer :P 2010-05-11 05:22 tuxbrain, oh, it has mouse emulation support already compiled in 2010-05-11 05:22 just hold ctrl and move it with arrows 2010-05-11 05:23 this will easy a lot the work :P 2010-05-11 05:23 yep 2010-05-11 05:26 zear: do you know zLouD? he has a very simple command line fb viewer Dinimavie http://www.gp32x.com/board/index.php?/topic/52364-dinimavie-ver-20100303/ 2010-05-11 05:27 tuxbrain, yeah, i think he hangs out at #dingoonity sometimes 2010-05-11 05:27 I have tryied to reach him without success 2010-05-11 05:27 i myself ported another image viewer for dingux, but it couldn't load anything greater than 320x240 2010-05-11 05:27 so not good for hi res pics 2010-05-11 05:28 It will be awesome if he release the the code under GPL , it also work with big image and rescale is very fast 2010-05-11 05:28 and is simple to use 2010-05-11 05:29 binary works out of the box on bnn but without the code can't be integrated in the main distro 2010-05-11 05:30 i understand, will ask him for the source then 2010-05-11 05:31 thanks a lot man 2010-05-11 05:31 sure you have more chances to be listened than me :) 2010-05-11 05:31 ;) 2010-05-11 05:32 must leave for a moment now 2010-05-11 08:18 :D tuxbrain leaves and silence comes into this channel... 2010-05-11 08:29 is this good or bad news? :P 2010-05-11 08:29 :P 2010-05-11 08:30 is always watching 2010-05-11 08:33 tuxbrain_away, i asked zLouD about dinimavie, and currently the code isn't available 2010-05-11 08:33 but he's working on a new version which will be gpl'ed 2010-05-11 08:34 wtf has done with the code to make it unaviable? 2010-05-11 08:34 :) 2010-05-11 08:34 it never was available, was it? 2010-05-11 08:34 nop, but if he is the author? 2010-05-11 08:34 i guess it's too shitty to be published or something ;) 2010-05-11 08:35 but he said he's working on a new - gpl'ed version, so it's only for the better 2010-05-11 08:35 do him does directly in 0 1 01 2010-05-11 08:35 just joking it's good news all in all 2010-05-11 08:35 oh he has the code, i mean the code is not open 2010-05-11 08:35 so not available form the public 2010-05-11 08:36 thanks a lot zear, ping me if you have more news about this 2010-05-11 08:36 ok 2010-05-11 08:37 going to eat, emdete you can continue missing me :P 2010-05-11 08:45 anyone actually tried the debian port? Everything went well, but nanonote is unresponsive afterwards :) 2010-05-11 08:54 kristoffer: yes and it worked for me otherwise I wouldn't have posted the info 2010-05-11 08:54 david also reproduced it 2010-05-11 08:54 and sent a mail about it yesterday 2010-05-11 08:55 very weird then 2010-05-11 08:55 check david's email, he found the combination it works in 2010-05-11 08:55 what combination? I just downloaded all the files from his site 2010-05-11 08:56 I'd also suggest erasing the NAND before flashing the kernel and uboot 2010-05-11 08:57 that I didnt do, so might been the cause 2010-05-11 08:57 http://en.qi-hardware.com/pipermail/developer/2010-May/002932.html 2010-05-11 08:58 my wild guess is, that the problem is not debian itself 2010-05-11 08:58 no I dont think so either, since I atleast would have gotten something on screen (or U+PWR would work) 2010-05-11 08:58 so its bootloader and/or kernel 2010-05-11 08:58 it is the different size of the kernel 2010-05-11 08:58 yepp 2010-05-11 08:58 it blew the barrier size? 2010-05-11 08:59 I do remember that we had problems if the kernel being flashed was smaller than the one being replaced 2010-05-11 09:00 kristoffer, for some reason when i try to flash my nanonote with the flash script, it never correctly flashes the bootloader 2010-05-11 09:00 and have to manually flash it again 2010-05-11 09:00 that's probably what happened to you 2010-05-11 09:00 It also had some issues when the kernel was too large, atleast early on. I remember hitting that a couple of times. 2010-05-11 09:02 doh, now gotta spend 1-2 hours getting into usbboot mode :P 2010-05-11 09:02 kristoffer, i know how it feels ;) 2010-05-11 09:02 though, i noticed that after i hold the pins shorted for a longer time (2-3sec) it usually boots into usb mode 2010-05-11 09:21 oki got bootloader going (no more short circuiting), so going to try replace kernel (it blacks out after loading kernel). 2010-05-11 09:25 kristoffer: i soldered it to keep it in usbboot while testing my scripts ;) 2010-05-11 09:26 emdete, its an good idea. What I really miss is the serial output, so used to use it for kernel debugging. 2010-05-11 09:27 kristoffer: yes, i have no serial here. that's why i switched u-boot to tell the kernel to log to the lcd 2010-05-11 09:27 kristoffer: but i don't do really kernel debugging anyway... 2010-05-11 09:28 emdete, yeah same here. I think the bootmessages should automaticly come up on lcd. But I can understand that windows users hate that 2010-05-11 09:28 i think we are not in a state that we do enduser cosmetics, even a win user has to read whats coming up there to get help. 2010-05-11 09:29 but i understand you point. if everything works fine, i prefere a splash too 2010-05-11 09:32 I agree with you, I would really prefer the standard kernel/u-boot spitting out info while booting. And thats what Ive said on the mailinglist 2010-05-11 09:42 hmm, reflashed the kernel and still black 2010-05-11 09:44 kristoffer: the u-boot starts with output on lcd - do u see that? 2010-05-11 09:54 yeppers, so should be kernel 2010-05-11 09:54 unless kernel is feeding output into oblivion and userland takes forever to load 2010-05-11 09:57 nonono, i mean if you dont see anything we shouldnt talk about kernel, we should look why the u-boot does not load/start 2010-05-11 09:57 :) 2010-05-11 09:57 yeah agreed :) Maybe I should try and erase 2010-05-11 09:58 I see the bootloader so thats fine 2010-05-11 09:58 i made me a script doing /all/ steps and always start with a full erase when i played with a problematic device 2010-05-11 09:58 :D 2010-05-11 09:58 hehe 2010-05-11 09:59 see http://pyneo.org/downloads/nano/nano-1GB/reflash.sh (which does not fit for you!!) - but as an example... 2010-05-11 10:00 roger thx 2010-05-11 10:00 don't use it without adjusting the settings... all numbers are wrong for a ben... 2010-05-11 10:01 yeah, was thinking that I should erase from kernel start and a couple of megs "up" 2010-05-11 10:02 just to make sure that its clear for when I reflash the kernel 2010-05-11 10:02 i never liked that aproach... i always flash /all/ parts all the time i flash 2010-05-11 10:03 too much possibility for errors to come in otherwise 2010-05-11 10:05 hmm agreed, I guess. 2010-05-11 10:09 just a pity when bootloader is working, to risk messing it up 2010-05-11 10:14 nonono, when you use a script and that manages to flash it once it will do every time. trust me 2010-05-11 10:35 doh, now bootloader went away again 2010-05-11 10:35 and getting some flash errors :( 2010-05-11 10:40 kristoffer:carbonized rubber time! :P 2010-05-11 10:41 kristoffer: can you cut&paste the flash errors you got? 2010-05-11 10:41 (not here... :D ) 2010-05-11 10:41 I also recomend emdete aproach, erase all, uboot, kernel, rootfs 2010-05-11 10:41 you will save a lot of time of trys 2010-05-11 10:42 plus: do it in a script and fix the script as long as it fails... 2010-05-11 10:42 kristoffer: i really would like to see the error message 2010-05-11 10:43 (i want to enhance my page about taht and did not get any errors anymore lately) 2010-05-11 10:45 one sec then 2010-05-11 10:48 emdete, this is when I do usbboot -c "boot". 2010-05-11 10:48 http://pastebin.com/5j2NY02k 2010-05-11 10:48 doh, I mean when flashing bootloader 2010-05-11 10:49 I dont know if that "no check!" is an error or warning 2010-05-11 10:49 Earlier I got alot of bad sector shit, let me see what kernel flashing says 2010-05-11 10:50 mom, one step by another 2010-05-11 10:50 you did a boot, a nerase, a nprog, right? 2010-05-11 10:50 yes 2010-05-11 10:50 http://pastebin.com/BebFYnuV this is kernel flashing, only see that it skips an bad sector at end. 2010-05-11 10:51 have you read my page about nano flashing? :D 2010-05-11 10:51 not sure, got a link? 2010-05-11 10:52 if a message from usbboot has no newline (as yours) the flashing did /not/ succeed :) 2010-05-11 10:52 http://pyneo.org/howto/debian/nano.html 2010-05-11 10:52 yes that I know, but what can one do? If the flashing continues to fail..? 2010-05-11 10:54 could you retry flashing the u-boot? 2010-05-11 10:54 what happens? 2010-05-11 10:54 same output 2010-05-11 10:55 erased it and it marks the bad sectors but get same result when flashing 2010-05-11 10:56 kirtoffer: I call it "usb port fatige", try change usb port on host computer or restarting host 2010-05-11 10:56 also be sure the cable is good 2010-05-11 10:57 the one that comes witn BNN quite good 2010-05-11 10:58 but sometimes the UPF happens sometimes 2010-05-11 10:58 whatever cable you use 2010-05-11 11:18 rebooted, changed cable and changed usb port. Getting same issue. 2010-05-11 11:19 There been any recent changes to usbboot so I should upgrade it? 2010-05-11 11:20 kristoffer: which version are u using? 2010-05-11 11:20 0.0+200906-1 is mine 2010-05-11 11:20 usbboot version: 20090630-1 2010-05-11 11:20 yes, same 2010-05-11 11:20 do u use a script? 2010-05-11 11:20 and it worked the first time I reflashed device (bootloader but not kernel) 2010-05-11 11:21 no, but unless its some sort of timing thing I cant see how it matters. 2010-05-11 11:22 to exclude errors introduced by humans sitting at the kbd... even me succeded with that aproach ;) 2010-05-11 11:24 I can agree on that, but Im only aiming for the bootloader currently, which is only boot, delete, flash 2010-05-11 11:27 do as you like. 2010-05-11 11:30 I just want some options, currently it seems like bad sectors in wrong places are messing things up. 2010-05-11 12:33 kristoffer:just one thing, have you enabled nand erasing in the usbboot.cfg 2010-05-11 12:33 sed -i 's/NAND_FORCEERASE = .*/NAND_FORCEERASE = 1/' /etc/xburst-tools/usbboot.cfg 2010-05-11 12:57 tuxbrain_away, yes 2010-05-11 12:58 tuxbrain_away, I ran benflash script and got bootloader working, but kernel got bad CRC 2010-05-11 13:48 Consider an bad block inside the kernel area, how can I move beyond that? Map the kernel area somewhere else? 2010-05-11 13:56 kristoffer: that is done automaticlly if you proper nerase 2010-05-11 13:56 please read my page... ... ... ... 2010-05-11 13:57 Ive done that, but cant see that it offers anything extra that Im not already doing 2010-05-11 14:55 Juan64Bits: Fixing expansion board for sakc. http://qi-hw.com/p/nn-usb-fpga/978a555 2010-05-11 15:22 I believe my nanonote is giving up. 2010-05-11 15:23 kristianpaul: hm, we have to improve all this, it's anoying. it worked for me using the script 2010-05-11 15:23 getting more and more bad blocks :( 2010-05-11 15:23 kristianpaul: nonono! 2010-05-11 15:23 kristianpaul: thats all wrong usage of usbbot... trust me, i had that too 2010-05-11 15:24 emdete: you talking to me? 2010-05-11 15:24 we still just don't have a reliable way to flash. let me prepare a script and you try /exactly/ with that script. would you do that for me? 2010-05-11 15:24 yeah sure 2010-05-11 15:24 Kristoffer: sure oups.. :D 2010-05-11 15:24 Kristoffer: was some tab-auto-expand here... 2010-05-11 15:25 been at this for hours now so Im open for anything 2010-05-11 15:25 I guess as much :) 2010-05-11 15:25 harhar, were does kristianpaul come from?!? 2010-05-11 15:25 Kristoffer: i have been there too, ask vegyraupe... ;) he suffert from that alot 2010-05-11 15:26 Kristoffer: give me a bit, i will put a script somewhere... 2010-05-11 15:29 back, had to reboot 2010-05-11 15:31 emdete: hello 2010-05-11 15:32 krist* have problems :D :D 2010-05-11 15:35 :P 2010-05-11 15:36 Oki, got it inside usbboot mode now 2010-05-11 15:36 emdete: np 2010-05-11 15:36 http://pyneo.org/downloads/nano/reflash.sh is there. i can't test it now, cause i send my nn to josch 2010-05-11 15:37 kristianpaul: sry waking you up.. ;) 2010-05-11 15:37 kristoffer_: it curls the version that work for me. you need curl.. 2010-05-11 15:39 running 2010-05-11 15:39 emdete: ohh you are from pyneo? 2010-05-11 15:39 kristianpaul: yes, is that good or bad? 2010-05-11 15:39 emdete: let me think ;) 2010-05-11 15:40 i dint knew it about that script 2010-05-11 15:40 i had some pain trying to install debian on my nano, until tuxbrain_away giveme some answer 2010-05-11 15:40 its transfering 2010-05-11 15:40 about why it dint booted 2010-05-11 15:41 emdete: so how usefull is debian on a nn right now? 2010-05-11 15:41 kristianpaul: i just put it there, i managed to get debian on the 1GB model today it the script was he outcome ;) 2010-05-11 15:42 hmm, when I erased I did it with tailing -n 2010-05-11 15:42 but you dont do that inside the script, whats the difference? 2010-05-11 15:43 hm, i use -n for nprog only... hm 2010-05-11 15:44 just asking since thats the difference I can see atm. 2010-05-11 15:44 60% transfered of userland so far 2010-05-11 15:45 kristianpaul: the true kristianpaul have you achive to install debian? 2010-05-11 15:46 emdete, btw like your script, alot more informative this way. 2010-05-11 15:48 kristoffer_: that's the cause i do scripts ;) it's informative for me too, say in some weeks when i have to redo all that stuff. i prefere clean script in favor to prosa wiki pages 2010-05-11 15:49 point taken, especially if this decides to suddenly work. 2010-05-11 15:49 -n is probably ignored for nerase: image type must be: -n:no oob -o:with oob no ecc -e:with oob and ecc 2010-05-11 15:49 tuxbrain: nope tried yet 2010-05-11 15:49 again* 2010-05-11 15:50 kristoffer_: nono, point is: if it does no work we learn how to even improve it for the next guy asking. /this/ is the way open source works! 2010-05-11 15:50 :D 2010-05-11 15:51 gonna be f%&/ing picky, 2010-05-11 15:52 has think it twice 2010-05-11 15:53 when I flashed last time (manually) I had approx 200 bad blocks out of 4096 2010-05-11 15:53 Kristoffer: how about jlime on BNN? any progress (I know you where too bussy with studys) 2010-05-11 15:54 tuxbrain, jlime has bought an dev machine (nanonote) for another developer so we should be back in buissness shortly, Im tweaking the kernel and he will work on the GUI. 2010-05-11 15:54 so we got 3 nanonotes in developer hands so far 2010-05-11 15:55 :) great , also have a meeting soon , isn't it? 2010-05-11 15:55 yeah, the idea is to meet up in poland in august/september, will be fun. 2010-05-11 15:56 emdete, oki, its done flashing now. So will see ...... *drumroll* 2010-05-11 15:57 is holding his breath 2010-05-11 15:57 well, seems like bootloader is working but getting black screen after it loads kernel. 2010-05-11 15:58 wait 2010-05-11 15:58 sure, but for how long? 2010-05-11 15:58 afk, Ill let it work for awhile 2010-05-11 15:59 mmmm too much 2010-05-11 15:59 what rootfs are you using? 2010-05-11 15:59 Kristoffer: any errors? 2010-05-11 16:00 with official uboot you don't have log 2010-05-11 16:01 kristoffer if you are not pissed off yet, try my combination 2010-05-11 16:04 its still black 2010-05-11 16:04 dejaboo 2010-05-11 16:04 yeah, I should try different bootloader to get output 2010-05-11 16:07 reflashing with other bootloader 2010-05-11 16:36 using different bootloader, no change. Still black screen after bootloader 2010-05-11 16:37 going to give it a rest for tonight. 2010-05-11 16:37 dejaboo 2010-05-11 16:37 thx for help so far, nite 2010-05-11 17:08 is there a way to reflash openwrt-xburst-u-boot.bin when my u-boot is messed up? 2010-05-11 17:09 qwebirc21601, should be, you'll need a copy of a working u-boot, usb-tool and you need to know what offset to flash it to 2010-05-11 17:11 usb-tool, not usbboot ? 2010-05-11 17:12 oh yeah, brain farted 2010-05-11 17:13 when I connect the serial to the ben, then  the bootprocess ends with: 2010-05-11 17:13 [U] pressedn 2010-05-11 17:13 enter USB BOOT mode 2010-05-11 17:13 Starting U-Boot ...n 2010-05-11 17:13 but it does not activate the usb interface 2010-05-11 17:13 at least I do not get any message from my systems kernel. 2010-05-11 17:14 no idea really, but i've only ever got it to conenct properly by shortin ghte pins under the battery, not with power+u 2010-05-11 17:16 hm. that does not sound good. 2010-05-11 17:17 could just be me, i tend to break things a lot.  but once i get mine into flashing mode, the reflash_ben script has worked flawlessly every time 2010-05-11 17:17 darfgarf, same, power+u returns an error in usb-tool 2010-05-11 17:18 yeah, but that's if u-boot is working. I broke u-boot ... 2010-05-11 17:19 qwebirc21601, so wouldn't puttin git into usb mode by shortin gthe pins be better? as that's a hardware thing built into the chip 2010-05-11 17:19 qwebirc21601, short the pins and you can flash u-boot again 2010-05-11 17:19 ok, trying ... 2010-05-11 17:20 bingo! 2010-05-11 17:21 thanks a lot, u 2 :-) 2010-05-11 17:21 welcome 2010-05-11 18:02 Hello!