2010-06-10 03:23 rafa:ping 2010-06-10 03:51 rafa: ping 2010-06-10 04:10 my Ben parcel is moving.. such a relief :) 5 days there were no news 2010-06-10 04:11 thinks he will have to come personally to Schenzhen after the Ya 2010-06-10 04:11 :) 2010-06-10 06:24 tuxbrain: gonna email you about getting a quote for 5 nanonotes but are you able to get hold of wikireaders? is for a university order 2010-06-10 06:25 sorry no wikireaders 2010-06-10 06:26 but let me check if I can find some quickly 2010-06-10 06:26 tuxbrain thanks....not sure how i would do it via amazon as need some official quote before i can proceed 2010-06-10 06:27 how many you need? 2010-06-10 06:28 tuxbrain basically i have 1000UKP but supposed to get wikireaders in that....i thought of splitting it half half between wikireader and nanonote 2010-06-10 06:29 ok arround 5 wikireaders 2010-06-10 06:29 yeh 2010-06-10 06:30 Let me check , maybe It will take me 1 day and the answer can be just no, but I will try 2010-06-10 06:31 tuxbrain thanks either way i will order 5 nanonotes from u 2010-06-10 06:31 music to my shopkeeper ears :P 2010-06-10 06:32 lol 2010-06-10 06:35 tuxbrain: me here 2010-06-10 06:35 hi rafa, two cuestions ( or may be more) 2010-06-10 06:35 tuxbrain: have you read to FrankBlues? X runs out of the box ;) 2010-06-10 06:36 Yeah I have it running :) 2010-06-10 06:36 so many good feelings seeing jlime running on BNN 2010-06-10 06:36 ja!.. all the world have it !.. I will install it today.. i feel out :) 2010-06-10 06:36 haahahahaah 2010-06-10 06:37 yeah but you have something I also want, sound and mplayer 2010-06-10 06:37 I wanna I wanna I wanna 2010-06-10 06:37 sound, yes.. mplayer as well :) 2010-06-10 06:37 BTW, something is bad in mplayer.. I do not why 2010-06-10 06:38 if it plays music or sound.. all is okey 2010-06-10 06:38 but for videos I have not able to set it properly.. or some bug in this mplayer 2010-06-10 06:38 tuxbrain: I will upload kernel and mplayer right now for you ;) 2010-06-10 06:39 doing the happy geek dancing arround the room 2010-06-10 06:40 haha :D 2010-06-10 06:43 If I achieve to find all dependencies needed on OE, avrdude, avr-gcc... I will try to replace my devel distro actually debian to jlime, due is already on a SD one of the goals I have , I'm soooo happy to finally see together jlime and BNN 2010-06-10 06:45 dancing again, now headbanging at Ramstein Du hast rythm 2010-06-10 06:46 if something is missing in Jlime repo (OE), let me know 2010-06-10 06:46 I will try to complete it as complete as possible ;) 2010-06-10 06:46 downloading stuff.. 2010-06-10 06:49 tuxbrain: stop dancing 2010-06-10 06:49 http://jlime.com/downloads/releases/muffinman/kernels/uImage-v2.6.34-qi 2010-06-10 06:50 http://jlime.com/downloads/repository/extra-packages/nanonote/binary/apps/mplayer_1.0_mipsel.ipk 2010-06-10 06:50 downloading .... 2010-06-10 06:50 I have not tested the ipk package of mplayer 2010-06-10 06:50 let me know if you find errors.. 2010-06-10 06:50 to install. 2010-06-10 06:51 tuxbrain: FrankBlues said that abiword looks nice to use it :) 2010-06-10 06:51 so I would try X these days, we are not sure which GUI we will put as main jlime gui 2010-06-10 06:51 gmenu2x is nice but I do not like the code much 2010-06-10 06:53 I agree with frank, having mouse kbd emulator sould be awesome I vote for red up arrow+cursor to move +qi key as left click , red arrow qi key right click, red arrow vol up/down mouse wheel, abiword not tested yet 2010-06-10 06:56 damn I have other work to do right now , I will report all that new stuff , time to do some posts :), even if then I have to move them to nanohacks 2010-06-10 06:57 btw you have a mistake in the http://jlime.com/downloads/releases/muffinman/documentation/muffinman-rootfs.txt 2010-06-10 06:58 in route add default 192.168.1.200 2010-06-10 06:58 is route add default gw 192.168.1.200 2010-06-10 06:59 ah.. yes 2010-06-10 06:59 thanks.. let me change that.. 2010-06-10 06:59 bah.. mplayer package failed here :( .. well I will give you this : 2010-06-10 06:59 http://jlime.com/downloads/repository/extra-packages/nanonote/binary/apps/tmp/ 2010-06-10 07:00 there is the binary and some example config file (put config in ~/.mplayer/config) 2010-06-10 07:01 thks :) 2010-06-10 07:02 I smell another looong hacking BNN night near 2010-06-10 07:02 for mplayer you need these packages installed from repo : 2010-06-10 07:03 liblzo1 libsdl-1.2-0 libspeex1 libtheora0 libogg0 2010-06-10 07:04 looong night : ;-)) 2010-06-10 07:08 we need to do some release soon, some few guys already use it .. ;) 2010-06-10 07:15 jlime is light, it has miriad of pkgs to install, it has a brilliant community used to deal with few resources , so the only you needed was a live device were to make it live.... call it destiny :P 2010-06-10 07:16 yeah, nn is a great meal for our hearts ;) 2010-06-10 07:41 anyone know where i can find scematics and complete board layout for the PCBs in Ben? 2010-06-10 07:41 tuxbrain: sorry, I gave you the wrong kernel.. :( let me upload the proper one 2010-06-10 07:56 tuxbrain: you there ? 2010-06-10 07:56 tuxbrain: the proper kernel with sound inside for jlime is : 2010-06-10 07:56 http://jlime.com/downloads/releases/muffinman/kernels/uImage-2.6.34-qi 2010-06-10 07:56 ok 2010-06-10 07:56 sorry for the previous one 2010-06-10 07:56 downloading 2010-06-10 07:57 rafa, we have sound in jlime already? :D 2010-06-10 07:57 indeed :) 2010-06-10 07:57 wow, rafa's fast 2010-06-10 07:58 haha.. it is because current kernel from qi is nice complete ;) 2010-06-10 07:58 zear: bad news.. mplayer freezes after few seconds :( 2010-06-10 07:58 and many times it just shows the first frame and stop there.. 2010-06-10 07:59 rafa, :/ 2010-06-10 07:59 zear: when the video has sound you can hear the sound.. so the problem is with video it seems 2010-06-10 07:59 and if you play mp3/whatever sound format it goes well. 2010-06-10 08:00 zear: good news.. the Xserver-xfbdev package in repo work out of the box it seems ;) 2010-06-10 08:01 :D 2010-06-10 08:02 tuxbrain: shutdown and power on/off button do not work well yet. So advice: 2010-06-10 08:02 - when you want to reboot/power off then first mount the / as read only. With : mount -o remount,ro / 2010-06-10 08:02 then you can try shutdown -h now or whatever. 2010-06-10 08:08 kristoffer: hey man.. 2010-06-10 08:09 I am debugging halt and reboot stuff in kernel. If I test init 6/shutdown -h now/reboot/halt.. the system runs the shutdown scripts but then the kernel does not reboot/shutdown . Any ideas? I think that I need some option more in .config 2010-06-10 08:09 bah 2010-06-10 08:26 kristoffer: you there? 2010-06-10 08:35 rafa, yes 2010-06-10 08:35 rafa, amazingly enough 2010-06-10 08:39 tuxbrain: plaympeg is on repo as well. I tested this video: http://ipac.jpl.nasa.gov/web_movies/pa/ssc2006-10v1.mpg 2010-06-10 08:40 slow, but it works 2010-06-10 08:40 I guess that it is just time to test the possibilities ;) 2010-06-10 08:40 kristoffer:  I am debugging halt and reboot stuff in kernel. If I test init 6/shutdown -h  now/reboot/halt.. the system runs the shutdown scripts but then the kernel does not  reboot/shutdown . Any ideas? I think that I need some option more in .config 2010-06-10 08:41 inside the kernel? 2010-06-10 08:42 I doubt it. You could always check the apm stuff I guess but reboot is more of an userland issue. 2010-06-10 08:43 kristoffer: I am trying to understand which is the issue.. 2010-06-10 08:44 it is not the same to do reboot than power off.. but neither reboot nor power off works for me now.. 2010-06-10 08:44 and I would like to understand why. Well, if you find some ideas to check during these days please tell me :) 2010-06-10 08:45 will do, in u-boot land atm 2010-06-10 09:13 yoyo, got my nanonote from tuxbrain today, but i'm having a bit of a problem reflashing it. using newest version of the flasher script and xburst-tools, and confimed that the device is in usb boot mode (both software and shorting the usb-boot pins works), but when I try to reflash, I get an error message saying "Error - can't read bulk data from Ingenic device:1728". The 1728 part changes every time I try to reflash. 2010-06-10 09:37 Anyone available to help? 2010-06-10 09:51 xdpirate: with what? 2010-06-10 09:52 yoyo, got my nanonote from tuxbrain today, but i'm having a bit of a problem reflashing it. using newest version of the flasher script and xburst-tools, and confimed that the device is in usb boot mode (both software and shorting the usb-boot pins works), but when I try to reflash, I get an error message saying "Error - can't read bulk data from Ingenic device:1728". The 1728 part changes every time I try to reflash. 2010-06-10 09:53 hi all 2010-06-10 09:53 xdpirate: you can read through the hints on my page... 2010-06-10 09:53 your page? 2010-06-10 09:54 http://pyneo.org/howto/debian/nano.html 2010-06-10 09:54 nono, i'm using wrt :) 2010-06-10 10:30 i can't get it to work 2010-06-10 10:30 no matter what i do, i get the 'error - can't read bulk data from Ingenic device' error, followed by 'Skip a old bad block' 2010-06-10 10:32 xdpirate: first, arrived at this point better use allways the hardware reset until you succesfully flash the device 2010-06-10 10:33 The reset button at the back of the device? 2010-06-10 10:33 nop 2010-06-10 10:33 Then I'm not sure what you mean :) 2010-06-10 10:33 with the rubber button in the box and under the battery are two pads called usb bood 2010-06-10 10:34 yeah 2010-06-10 10:34 i know, i've shorted the pins 2010-06-10 10:34 with the button make a short with the two pads 2010-06-10 10:34 ok 2010-06-10 10:34 it's not getting into usb boot that's seems to be the problem 2010-06-10 10:34 to check if is on usb boot or not do  a lsusb 2010-06-10 10:34 i can get into usb boot mode, boot with usbtool, erase the nand, but i get an error when trying to flash u-boot partition 2010-06-10 10:37 just powered it on now, the lcd lights up but it doesn't boot anything, which tells me the nands was succesfully erased 2010-06-10 10:37 nand* 2010-06-10 10:38 use the provided cable 2010-06-10 10:38 dont use battery 2010-06-10 10:38 try the manual approach 2010-06-10 10:38 yup, i'm using the cable that came with it, trying to flash without battery :) 2010-06-10 10:38 even tried another usb cable 2010-06-10 10:39 dont use a hub in the middle 2010-06-10 10:39 same problem on both 2010-06-10 10:39 direct conection 2010-06-10 10:39 nope, it's connected to root 2010-06-10 10:39 also tried to reboot the host? 2010-06-10 10:40 actually, no, i hadn't thought of that 2010-06-10 10:40 will do 2010-06-10 10:40 is there possibly a USB hub inside your PC? I heard that one some laptops they do that if it's cheaper 2010-06-10 10:40 i don't think so mth, there's only a single root hub on it (it's an ancient ibm thinkpad i got for free) 2010-06-10 10:41 sometimes this that thing of flashing , the usb plug seems to "fatigue" and somtimes trying another usb plug (not cable) or reboot the sistems works 2010-06-10 10:41 flashing has a lot of black magic 2010-06-10 10:41 yeah that won't be so easy with a single plug :p 2010-06-10 10:42 ops 2010-06-10 10:42 anyway the host is booting now, i hope it works 2010-06-10 10:42 brb 2010-06-10 10:52 Nanonote running abiword: http://www.youtube.com/watch?v=GhCoCciVicY 2010-06-10 10:53 It's shot with a cell phone, when I can find a better camera I'll work on a better video. 2010-06-10 10:57 cool. 2010-06-10 10:58 i still get the same error 2010-06-10 10:59 "can't read bulk data from Ingenic device" and "Skip a old bad block" 2010-06-10 10:59 and that's with hardware usb boot and no battery 2010-06-10 11:00 tuxbrain, any ideas? 2010-06-10 11:01 mmmm has you enabled the force erase nand thing on xburst tools config? 2010-06-10 11:02 where is the config file stored? 2010-06-10 11:03 tuxbrain: Mm I've seen that "fatigue" with another device I was working under peculiar hardware/comms failure conditions. I never did work out what it was doing to the host PC's port :| 2010-06-10 11:11 xdpirate: /etc/xburst-tools/usbboot.cfg 2010-06-10 11:11 xiangfu, thanks 2010-06-10 11:11 also, can someone look at the log, and see if they see any obvious mistakes? http://pastebin.com/HRc7CZQf 2010-06-10 11:13 would be greatly appreciated, right now the nn doesn't work at all 2010-06-10 11:15 xdpirate, I know exactly how do you feel, I have been there, the first time is the thoughest, nn is sometimes picky but it ends working 2010-06-10 11:15 log seems a "normal" failure 2010-06-10 11:16 what should i double check in the usbboot.cfg? 2010-06-10 11:16 xdpirate, that was probably suggested already, but have you tried a different usb calbe? 2010-06-10 11:16 *cable 2010-06-10 11:16 yes 2010-06-10 11:16 two different cables 2010-06-10 11:16 still the same error 2010-06-10 11:16 xdpirate: is there a usbhub between NN and PC? 2010-06-10 11:16 hmm.. maybe the usb port is sucky 2010-06-10 11:16 xiangfu, nope 2010-06-10 11:16 the usb port is 1.1, if that matters 2010-06-10 11:16 xdpirate, if that's a laptop, the hub might be embedded 2010-06-10 11:17 yes it's a laptop, an old ibm thinkpad 2010-06-10 11:17 do you have another pc you can try it on? 2010-06-10 11:17 well, my main pc 2010-06-10 11:17 but only windows on it 2010-06-10 11:17 ah 2010-06-10 11:18 and ubuntu doesn't support my wireless drivers so i can't download anything if i use wubi to install ubuntu 2010-06-10 11:19 i could try copying over all the needed files though 2010-06-10 11:19 yes I think is the last variable we have not moved in the equation, 2010-06-10 11:19 the pc 2010-06-10 11:20 think it'd work with a live cd and a memory stick with all files on it? 2010-06-10 11:20 yep 2010-06-10 11:20 noice 2010-06-10 11:20 btw NAND_FORCEERACE is set to 1 in the cfg 2010-06-10 11:22 xdpirate: from the log, probably the host usb issue. 2010-06-10 11:22 hm ok, i'll create an ubuntu live usb stick 2010-06-10 11:34 xiangfu, i won't have any interwebz connection when in ubuntu, so which files do i need to copy for usbboot/xburst-tools, and where should they be placed? 2010-06-10 11:36 1. /etc/xburst-tools/usbboot.cfg 2. /usr/bin/usbboot 3, the whole folder of /usr/share/xburst-tools 2010-06-10 11:36 then the usbboot should work. 2010-06-10 11:36 ok, thanks mate! 2010-06-10 11:44 guys! quick question about openwrt toolchain. i copied a directory from feeds/packages/utils/whateverpackage to feeds/packages/utils/whateverpackage1. Why it didn't appear right away in make menuconfig? I tryed modifying the Makefile to change the package name also, but it still hasn't appear. What am I missing? 2010-06-10 12:36 kyak you have to edit feeds.conf 2010-06-10 12:41 urandom_: there are sources of packages there.. what should i edit? 2010-06-10 12:44 i'm trying to port an application and want to use existing as a base 2010-06-10 12:44 have you seen tuxbrains how to? 2010-06-10 12:45 i think i haven't 2010-06-10 12:45 http://www.tuxbrain.com/en/content/my-first-port-ben-nanonote-gnuchess-howto this might help 2010-06-10 12:46 this is exactly what i need, thanksQ! :) 2010-06-10 12:49 make package/symlinks is the magic i was looking for 2010-06-10 12:49 feeds.conf stuff is interesting but irrelevant :) 2010-06-10 13:36 just got the Ben! 2010-06-10 13:36 woooo 2010-06-10 13:36 what's a good place to start? 2010-06-10 13:38 seigen what about http://en.qi-hardware.com/wiki/Ben_NanoNote_New_User_Guide ? 2010-06-10 13:38 :) 2010-06-10 13:39 just the thing!  thanks much 2010-06-10 13:39 i was probably still about half an hour from finding that...not exactly front & center on the site. 2010-06-10 13:42 yeah i takes some time to get used to the wiki structure 2010-06-10 13:42 it 2010-06-10 13:54 tuxbrain: did you test kernel and jlime rootfs? 2010-06-10 14:00 emdete: ping 2010-06-10 14:02 hm, now he's away 2010-06-10 14:16 tuxbrain: bug report for http://www.tuxbrain.com/en/content/%E6%9C%AC-ben-nanonote-editingcompilingflashing-arduino-sketch 2010-06-10 14:16 file names for uboot do not match 2010-06-10 14:23 Something else: how do I see the battery charging status? 2010-06-10 14:25 sdschulze: re 2010-06-10 14:41 emdete: OK, I just wanted to know what you based your Debian image on. 2010-06-10 14:41 on pyneo.org 2010-06-10 15:39 Anyone got any idea how the openwrt-xburst-qi_lb60-uImage.bin image was created and how it's different from openwrt-xburst-uImage.bin? 2010-06-10 15:39 xiangfu is your man 2010-06-10 15:40 Is he on IRC? 2010-06-10 15:40 not now 2010-06-10 15:41 It's so nice that people contribute, but if they don't publicly document it, it's kinda useless. 2010-06-10 15:42 tuxbrain -- i see you're doing arduino integration? 2010-06-10 15:42 What I'm basically after is sound on a Debian system. 2010-06-10 15:42 openwrt-xburst-qi_lb60-uImage.bin is a totally temporally file 2010-06-10 15:43 Loading the OpenWRT modules doesn't work. 2010-06-10 15:43 tuxbrain: Nice, so where's the .config so we can fix it? ... 2010-06-10 15:43 Wouldn't have been so hard to provide it along with the image. 2010-06-10 15:44 it was a quick and dirty compilation of a bunch of patches than xianfu was making, to include in the main realease later 2010-06-10 15:44 the patches used on this will be included in the next release 2010-06-10 15:44 I think they also has been commited to the git 2010-06-10 15:44 Yeah, but what patch makes it Debian-compatible? 2010-06-10 15:45 Or, in other words, why doesn't the original image boot on Debian? 2010-06-10 15:46 afaik the only thing that this uboot make it more debian friendly is it allows to show kernel log on boot is the kernel what different 2010-06-10 15:46 No, uboot isn't modified. 2010-06-10 15:46 and I don't see any kernel log 2010-06-10 15:48 For some reason, the OpenWRT image -- the one with the blue slash screen, you know -- doesn't boot Debian but remains on the nice splash screen. 2010-06-10 15:48 openwrt kernel and debian rootfs are incopatible 2010-06-10 15:49 why? 2010-06-10 15:52 compiled with different options and gcc optimizations I think, I'm not such low level just talking about I have read here and there 2010-06-10 15:52 but what is sure is you will not boot a debian rootfs with a Openwrt kernel and viceversa 2010-06-10 15:53 No any modules exist from the openwrt-xburst-qi_lb60-uImage.bin build? 2010-06-10 15:54 Who can i install x11 in nanonote ? 2010-06-10 15:55 dptech: with jlime it works out of the box, well the repo :) 2010-06-10 15:56 I just find it very annoying that people make hacks and upload the binaries to show people how nice it is, but nothing else. 2010-06-10 15:57 tuxbrain: thank for your service, I receive very well my nanonotes. For jlime, can i use "opkg install jlime" ? 2010-06-10 15:58 sdshulze, as I said the changes done in the uboot you are talking about are on git already 2010-06-10 15:58 no that easy dptech 2010-06-10 15:58 but not so hard, jlime is a full distro it self based on OE 2010-06-10 15:58 I boot it from a sdcard 2010-06-10 15:59 tuxbrain: So if I build a kernel from the the git repo, it will be Debian-compatible? 2010-06-10 15:59 for debian stuff please ask pyneo 2010-06-10 15:59 emdete and josh 2010-06-10 16:00 they will sure give you info about the main kernel diferences 2010-06-10 16:00 I tried today... 2010-06-10 16:00 tuxbrain: I must buy sdcard 2010-06-10 16:02 The iso from mister-muffin.de works better, BTW, though trying to find out why would be reverse-engineering, too. :( 2010-06-10 16:03 dptech: I think right now yes but sure when they make an oficial release will provide a rootfs to flash on nand 2010-06-10 16:06 tuxbrain: I see website jlime http://jlime.com/mw4/index.php/Installation_nanonote and i'm waiting the good moment to go ...  And I must think if I go to debian ! 2010-06-10 16:07 tuxbrain: sorry for my english spoken! 2010-06-10 16:08 dptech: sorry mine first ;) 2010-06-10 16:12 tuxbrain: thank you for your help, good bye! I see for jlime 2010-06-10 16:13 sdschulze: sorry,, grabed some food. i used a rootfs blindly prepared by josch and fixed the problems. josch is the guy that is our (pyneos) debian guru. 2010-06-10 16:14 emdete sdschulze is looking also for the diference in openwrt kernel an debian 2010-06-10 16:14 "blindly prepared"? 2010-06-10 16:14 sdschulze: i just made a mipsel debootstrap 2010-06-10 16:15 OK so far 2010-06-10 16:15 That's the pyneo.org image then? 2010-06-10 16:16 And the fixed one is the mister-muffin.de one? 2010-06-10 16:16 sdschulze: the mistre-muffin.de (my server) one is the clean mipsel debootstrap without mods 2010-06-10 16:17 and indeed the one that works best :P 2010-06-10 16:17 yes 2010-06-10 16:18 But what about the kernel now? 2010-06-10 16:21 josch: And what about the image you can download from pyneo.org? 2010-06-10 16:22 sdschulze: pyneo.org is emdete 's webserver so he can explain that :) 2010-06-10 16:23 Still -- where did you get the kernel from? 2010-06-10 16:34 emdete: ? 2010-06-10 16:42 sdschulze: iirc emdete built the kernel himself with two or three needed flags changed to make it work for debian 2010-06-10 16:43 Yeah, would be really nice if he could upload a .config. 2010-06-10 16:43 i think there is one... wait a sec 2010-06-10 16:44 sdschulze: kernel difference is inotify & partitioning 2010-06-10 16:44 inotify should be on now in openwrt too 2010-06-10 16:45 why partitioning? 2010-06-10 16:45 also fpu emu was off in openwrt (done in user space) which has to switched on for std debian mips 2010-06-10 16:45 partitioning was changed due to startup time. the whole space for rootfs takes 8sec to be verifyed by the fs so they decided to reduce rootfs sice to 512 MB or so 2010-06-10 16:47 So the .bin image is actually multiple partitions? 2010-06-10 16:47 no 2010-06-10 16:48 sdschulze: there is no partition table in nand. all systems reading that space have to agree on their partitioning 2010-06-10 16:48 for u-boot, kernel, rootfs and more if wante 2010-06-10 16:48 d 2010-06-10 16:48 the borders are compiled in 2010-06-10 16:48 u-boot just needs the border of the kernel, 2010-06-10 16:48 the kernel will need rootfs & more 2010-06-10 16:49 openwrt decided to have rootfs + data in nand 2010-06-10 16:49 so i've finally gotten around to create a live cd to do the reflashing, but after copying the xburst tools i get the message that i'm missing libconfuse.so.0, but i can't apt-get it cos ubuntu doesn't support my wireless drivers 2010-06-10 16:49 i didn't like it cause i wanted full  debian rootfs in nand 2010-06-10 16:49 i dont care about the 8sec 2010-06-10 16:50 but as i see you boot frm sd anyway so don't bother, any kernel will do with the correct root= param 2010-06-10 16:50 Ah, so you must tell the kernel the size and position of the root fs? 2010-06-10 16:50 sdschulze: at compile time, yes 2010-06-10 16:50 its fixed in the kernel bin 2010-06-10 16:50 Erm, no, I don't boot from SD right now. 2010-06-10 16:50 i just revoke the patch that openwrt did to reduce the size 2010-06-10 16:51 also i switched on inotify and fpuemu 2010-06-10 16:51 problem is: this no longer works. i have no recent openwrt build system thaht builds my desired kernel 2010-06-10 16:51 I see. 2010-06-10 16:52 Can't you build from Debian? 2010-06-10 16:52 i can give you my openwrt tree if you like but thats some gigs 2010-06-10 16:52 you can, sure. i didn't. its not my business ;) 2010-06-10 16:53 i want the fastest way to get pyneo on the machine and take the kernel from openwrt + modules to get startet. 2010-06-10 16:53 you will need their config, their patches, ... 2010-06-10 16:53 i hope josch will do so one day 2010-06-10 16:53 also i want to update the kernel out of the linux on nn 2010-06-10 16:54 Yeah, but as you explained yourself, the OpenWRT kernel doesn't boot. 2010-06-10 16:54 so if you don't boot from sd you should change your nick too ;) 2010-06-10 16:54 and it isn't compatible to the modules 2010-06-10 16:54 sdschulze: no i said: it doesn't build 2010-06-10 16:54 heh :) 2010-06-10 16:54 it is compatible 2010-06-10 16:55 ?!? I thought the partitioning was different. 2010-06-10 16:55 i build all with openwrt. kernel + modules. i copy the modules to the rootfs & everything is fine 2010-06-10 16:55 coredump 2010-06-10 16:55 okay: from beginning: 2010-06-10 16:55 i managed to build a kernel with openwrt with the changes i mentioned above. 2010-06-10 16:56 that's the kernel you'l find on pyneo.org 2010-06-10 16:56 if you stress me hard i give you a tar ball to the tree were i did that with config changes and removed patch 2010-06-10 16:56 but the recent build tree of openwrt doesn't build anymore 2010-06-10 16:56 xdpirate|craptop, check if you have libconfuse in your system 2010-06-10 16:56 i have no time to investigate 2010-06-10 16:57 if so, just make a symlink to libconfuse.so.0 2010-06-10 16:57 also the kernel works just fine 2010-06-10 16:57 emdete: will be similar to the config I find in the git repo, right? 2010-06-10 16:57 I don't think I need a tarball. 2010-06-10 16:57 sdschulze:  the build tree is above 3GB, btw 2010-06-10 16:58 Hm, has Linux got that bloated... :) 2010-06-10 16:58 yes. its just plain openwrt, just only build kernel + modules. if your rootfs fits into 512mB your find 2010-06-10 16:58 sdschulze: no. its a complete cross compile environment. 2010-06-10 16:59 just make sure to switch on fpuemu (check the ml if they didn't do already) 2010-06-10 16:59 without no executable will start in debian 2010-06-10 16:59 no native build? :) 2010-06-10 16:59 and enable inotify to use dbus and the like 2010-06-10 17:00 OK, now where do I set the 512 MB? 2010-06-10 17:00 sdschulze: my brain just cored 2010-06-10 17:01 sdschulze: for the xburst arch will be a patch. you'll find it in the tree when installing openwrt's build system 2010-06-10 17:02 hi guys, why do i get "not enough arguments" error when trying to do "nprog 2048 openwrt-xburst-qi_lb60-root.ubi 0 0 -n"? i've finally successfully flashed uboot and kernel, only rootfs left 2010-06-10 17:02 sdschulze: the channel #openwrt will be quite helpuful for openwrt (build-)questions... 2010-06-10 17:02 How's the patch called? 2010-06-10 17:02 xdpirate|craptop: -c missing? 2010-06-10 17:02 sdschulze: grep -r 2010-06-10 17:03 (I've already checked out the tree.) 2010-06-10 17:03 running directly from usbboot prompt  emdete 2010-06-10 17:03 (or: i don't remember but found it that way ;) ) 2010-06-10 17:03 grepping for what? 2010-06-10 17:03 xdpirate|craptop: never did such advanced stuff ;) just tru without " ? 2010-06-10 17:04 sdschulze: call me under my 0900 number i give you a hint ;) 2010-06-10 17:05 "not enough argument." 2010-06-10 17:05 =/ 2010-06-10 17:05 sdschulze: to be earnest: i don't remember. sad to say but my focus is different. when the kernel worked for me i tried to keep up with the changes in openwrt but gave up. maybe check the ml 2010-06-10 17:06 xdpirate|craptop: why don't you use the command line? 2010-06-10 17:06 i am using the command line? 2010-06-10 17:06 usbboot :> nprog 2048 rootfs-filename.ubi 0 0 -n 2010-06-10 17:06 you are using the prompt ;) 2010-06-10 17:06 So the patch contains the fixed 512 MB?! 2010-06-10 17:07 yeah i know emdete, i'm not totally dense :P 2010-06-10 17:07 sdschulze: hte patch contains the change from 2GB rootfs to 512MB rootfs 2010-06-10 17:08 xdpirate|craptop: i can't know that ;) okay: i only use the command line & that works fine. i wrote a long HOWTO that explains what to do. why don't you follow that? 2010-06-10 17:08 link? 2010-06-10 17:09 http://pyneo.org/howto/debian/nano.html 2010-06-10 17:11 nvm i think the file name was just to long 2010-06-10 17:11 renamed it to just 'rootfs.ubi' and it seems to be working :) 2010-06-10 17:11 ooh 2010-06-10 17:11 oups sry 2010-06-10 17:11 wrong window :P 2010-06-10 17:12 emdete: files-2.6.32/arch/mips/jz4740/board-qi_lb60.c 2010-06-10 17:12 though it's not a patch :) 2010-06-10 17:13 ther was a patch changing exact that file... 2010-06-10 17:16 So you don't recommend native compiling? 2010-06-10 17:17 xdpirate|craptop, if the name had a space or another special character, it treated the rest of the filename as a parameter 2010-06-10 17:23 emdete: Thanks a lot so far -- I fear I won't find any time until the end of next week, but I'll give you feedback when there's news. 2010-06-10 18:22 alright so i'm about to kill something here >.< 2010-06-10 18:22 i can successfully flash u-boot and kernel 2010-06-10 18:23 but when i try to flash the rootfs, it stops after a bit, saying "can't read bulk data from Ingenic device:-110" then "can't retrieve XBurst CPU information: -19" 2010-06-10 18:25 i've been getting can't retrieve XBurst CPU information: -110 although one time the status was -19 2010-06-10 18:25 did you recently purchase your nn? 2010-06-10 18:25 yes i got it today coat 2010-06-10 18:26 i got mine two days ago, and it worked for a few hours and stopped.  i can't past loading stage2 though 2010-06-10 18:30 a faulty batch? Though, i wouldn't panic yet 2010-06-10 18:30 hope not 2010-06-10 18:30 coat, so you haven't sorted your problems out yet.. :? 2010-06-10 18:30 * :/ 2010-06-10 18:30 oh zear, thanks for helping troubleshoot the other day 2010-06-10 18:30 i'm trying various combinations of usb-cables and usb ports now, hopefully i get it flashed 2010-06-10 18:30 no prob, it didn't help much anyway 2010-06-10 18:31 it's come farther now than the previous ties 2010-06-10 18:31 ties* 2010-06-10 18:31 if it successfully flashes the rootfs now 2010-06-10 18:31 i'm never flashing it again 2010-06-10 18:31 EVER 2010-06-10 18:31 :P 2010-06-10 18:31 i've been talking with wolfspraul and i think the plan is to ship a new unit and send my current one back.  might be a low level USB problem 2010-06-10 18:32 you can't even boot it from usbboot? 2010-06-10 18:32 xdpirate|craptop: I also same the same first time I get stuck 2010-06-10 18:32 nope 2010-06-10 18:32 ouch coat, that sucks =/ 2010-06-10 18:32 tuxbrain: hehe :P 2010-06-10 18:33 does the newest software image have the fixed sdl libs? 2010-06-10 18:33 i remember wejp included the fixed ones in his gmu download, when i downloaded that some time ago 2010-06-10 18:34 oh btw zear 2010-06-10 18:34 is the nanonotes ip when connected via usb static? 2010-06-10 18:34 for telnet access 2010-06-10 18:34 it should be, yes 2010-06-10 18:34 and it's ssh access this time ;) 2010-06-10 18:34 yeah 2010-06-10 18:35 cos on the dingoo the ip is always 10.1.0.2 2010-06-10 18:36 xdpirate|craptop, http://en.qi-hardware.com/wiki/Ethernet_over_USB 2010-06-10 18:36 thanks bro 2010-06-10 18:37 i installed ubuntu alongside win7 btw 2010-06-10 18:37 easier if i'm gonna flash it again :P 2010-06-10 18:37 the PCB scematics confuses me :S 2010-06-10 18:38 there aren't any other steps after flashing the three partitions, no? it's basically ready for use then? 2010-06-10 18:38 wich board is actualy used in ben? 2010-06-10 18:40 holy mothertits, it works 2010-06-10 18:40 finally 2010-06-10 18:40 xdpirate|craptop, :D 2010-06-10 18:40 :D 2010-06-10 18:40 how do i change sections in gmenu2x? 2010-06-10 18:40 q p 2010-06-10 18:40 thanks 2010-06-10 18:41 you can blame me for the key mappings ;) 2010-06-10 18:41 xdpirate|craptop: you need to share your mojo with my nn 2010-06-10 18:41 hehehe :P 2010-06-10 18:41 well i didn't have any problems booting 2010-06-10 18:41 and leaving the jz4740 oveclocking code from the dingux version 2010-06-10 18:41 it was just the flashing of the rootfs that kept failing 2010-06-10 18:41 so the lcd timings go crazy and the screen blinks 2010-06-10 18:42 zear: yeah i noticed the screen, will it be better if i clock it up to 336 mhz? 2010-06-10 18:42 gmenu2x clock is set at 200 mhz 2010-06-10 18:42 xdpirate|craptop, no idea, but every time gmenu2x is launched is runs the jz4740 overclock code to set the clock 2010-06-10 18:42 even for 336MHz 2010-06-10 18:43 hmkay 2010-06-10 18:44 um how do i quit gmu? x] 2010-06-10 18:46 xdpirate|craptop, you need to add a new entry/edit an existing one and disable the wrapper 2010-06-10 18:46 or you can just switch the console with ctrl+alt+F* 2010-06-10 18:46 hmkay, thanks 2010-06-10 18:49 bed time, cya everyone 2010-06-10 18:49 later 2010-06-10 18:49 zear see ya 2010-06-10 19:01 thanks for all the help today btw guys 2010-06-10 19:01 finally got it working (: 2010-06-10 19:03 coooooongrats man :) 2010-06-10 19:03 hehe thanks :op 2010-06-10 19:03 *:P 2010-06-10 19:03 and it happens suddenly isn't it? 2010-06-10 19:05 after n^2 trys, on n²+1... somthing is different, don't move, don't touch anything don't breath...... it's flashing!!!! 2010-06-10 19:10 hehehe 2010-06-10 19:11 well i tried another usb cable and another usb root port on my pc 2010-06-10 19:11 then finally it worked :) 2010-06-10 19:11 huggles xdpirate :D 2010-06-10 19:11 is huggled D: 2010-06-10 19:14 save that cable as gold and hire a pair of security agents for that plug, at least don't forguet what is the plug and mark somewhat that cable.... flesh is weak... you will end flashing again :) again congrats 2010-06-10 19:15 hehe :P 2010-06-10 19:18 is lb60 a specific revision of the AVT2 board? or am i completely lost? 2010-06-10 19:21 avt2 is lb60 with minor upgrades 2010-06-10 19:23 i have only managed to find scematics and complete layout for avt2 2010-06-10 19:30 larsc: is the complete pcb layout and scematics for ben published? 2010-06-10 19:34 schematics yes, pcb don't know 2010-06-10 19:36 i have managed to dig up the scematics for lb60 as pdf 2010-06-10 19:37 yes, thats all i know about as well. 2010-06-10 19:38 ok 2010-06-10 19:38 who would know more? 2010-06-10 19:42 adam 2010-06-10 19:42 or write a mail to the mailinglist 2010-06-10 19:47 thanks 2010-06-10 19:47 i try the mailing list 2010-06-10 19:54 anyone know of any apps/games that work well under dosbox on the nanonote? 2010-06-10 20:30 anyone knows where the text string that used to say "Press enter to activate this console" is located? It changed to "starting the graphical environment", but i disabled gmenu2x so it annoys me that it says the same :) 2010-06-10 21:22 followed instructions here: http://en.qi-hardware.com/wiki/Building_Software_Image 2010-06-10 21:22 to build the toolchain & images. Worked fine, but apparently didn't build SDL. 2010-06-10 21:23 Now when I try to compile stuff from http://dl.openhandhelds.org/cgi-bin/dingoo.cgi it fails. 2010-06-10 21:23 because no SDL. What do I need to do to add SDL to my build environment? 2010-06-10 21:24 add the sdl libs to /include/SDL 2010-06-10 21:24 from the dingux toolchain 2010-06-10 21:25 btw, how do i turn down the sound? the volume buttons doesn't seem to do anything 2010-06-10 21:26 what app are you using that ignores the vol buttons? 2010-06-10 21:27 it's a dingoo game 2010-06-10 21:27 ah - they work OK in the music player app so it must be app-specific. 2010-06-10 21:27 ouch, no sound daemon or anything that turns down global sound? 2010-06-10 21:28 ALSA appears to be installed, but AFAIK there' nothing else monitoring the volume buttons. 2010-06-10 21:28 how do i turn it down with alsa then? =p 2010-06-10 21:29 the game doesn't change the levels, it just uses the volume it's at 2010-06-10 21:29 from the console run alsamixer 2010-06-10 21:29 ah 2010-06-10 21:29 thanks mate! :) 2010-06-10 21:29 np - best if you run it from a term on a PC host via usb/ethernet. 2010-06-10 21:30 alsamixer is a character graphics app and may not look right on the NN screen. 2010-06-10 21:30 it does actually 2010-06-10 21:30 it looks very nice 2010-06-10 21:30 cool - need to try it... 2010-06-10 21:30 but even though i set sound to 0, it's still on max when entering the game =/ 2010-06-10 21:31 could it have something to do with the fact that the game uses sdl_mixer? 2010-06-10 21:31 maybe. 2010-06-10 21:31 I would have thought that alsamixer settings overrided tho 2010-06-10 21:31 i'll have a looksie in the source, the volume is brutally loud 2010-06-10 21:31 yeah i thought so too 2010-06-10 21:32 ah- looks just fine. Must query the console dimensions. 2010-06-10 21:32 probably 2010-06-10 21:32 "volume=255" 2010-06-10 21:32 ouch 2010-06-10 21:33 this is just so cool - a teensy little linux machine the size of a deck of cards. 2010-06-10 21:33 yeah :D 2010-06-10 21:33 What it needs is a native toolchain so I can run gcc on it... 2010-06-10 21:33 none of this worthless cross-compiling. 2010-06-10 21:34 it's fun to be able to compile on the road, but cross compiling is much more practical if you want to compile many packages 2010-06-10 21:35 yeah, I know. 2010-06-10 21:35 native is nice for little jobs. 2010-06-10 21:35 emeb, the debian distro for the ben has a working mipsel-gcc compiler 2010-06-10 21:36 xdpirate: cool - will need to investigate. 2010-06-10 21:36 :D 2010-06-10 21:36 How's the deb distro on performance? 2010-06-10 21:36 i have no idea 2010-06-10 21:36 haven't tested it yet 2010-06-10 21:36 just got my nn today :) 2010-06-10 21:37 got mine yesterday. 2010-06-10 21:37 I'm just a bit sensitive about this since many builds are broken in ways that only show up during cross compilation and some people would build in qemu rather than fix the builds 2010-06-10 21:37 cross is good for finding configuration issues. 2010-06-10 21:44 xdpirate: so for SDL, just grab the dingoo uclibc toolchain and pull out the SDL libs/includes? 2010-06-10 21:44 mth: could you expound on that for me? given that I'm embarking on modifying a sourcetree to improve its portability to portables it could be very helpful 2010-06-10 21:44 emeb, yup 2010-06-10 21:44 kewl 2010-06-10 21:45 emeb, you can actually use the dingux toolchain to compile for the ben aswell 2010-06-10 21:45 that's what i'm doing 2010-06-10 21:45 aha - might be even cleaner. 2010-06-10 21:45 than messing up the openwrt setup 2010-06-10 21:46 Textmode: in my opinion, the simplest way of making a cross compile friendly build is by treating a native compile as a cross compile, where the host and target just happen to be the same arch 2010-06-10 21:46 makes sense. 2010-06-10 21:48 too many builds treat cross compiles as an exception and then you end up with two different implementations of the same build steps, where the cross implementation might be broken because it isn't tested as often as the native implementation 2010-06-10 21:49 but even if you test both frequently, having two implementations is already more of a burden to maintain 2010-06-10 21:49 what is also important to be explicit about what depends on the host and what depends on the target 2010-06-10 21:50 and to be friendly for packages (both native and cross), make a distinction between installation location and runtime location 2010-06-10 21:50 for example, support DESTDIR 2010-06-10 21:51 we still have a bug there in openMSX, so I'm learning from my own mistakes ;) 2010-06-10 21:51 hehe 2010-06-10 21:52 installation location is something like /home/mth/openMSX/derived/dingoo/install/share/openMSX, runtime location is something like /usr/local/share/openMSX 2010-06-10 21:53 there are things like fakeroot to work around proper support for this, but with a good build system such workarounds are not needed 2010-06-10 21:53 right 2010-06-10 21:54 I'll have to test how compliant the current build system is in that regard, I do know its autotools based. 2010-06-10 21:54 but it seems a bit cobbled together in places 2010-06-10 21:55 (just incase autotools wasn't enough of a beast) 2010-06-10 21:55 I'm not a fan of autotools, but there aren't many alternatives either 2010-06-10 21:56 just avoid libtool if you can 2010-06-10 21:56 no...not to mention that changing build tools is rarely fun. 2010-06-10 21:56 because it's next to impossible to debug libtools problems 2010-06-10 21:57 theres a libtoolize call in there, but I'm not sure if it actually does anything for anything actually in the project. I'll have to look at that too. 2010-06-10 21:57 the thing about libtool is that something goes in and something comes out and if you're unhappy with what comes out, you have two options: 2010-06-10 21:58 1, try to read through 10,000 lines of shell script to figure out why that output is generated 2010-06-10 21:58 2. apply trial and error to the input in the hope of getting the right output 2010-06-10 21:59 in theory it's open, but in practice it's just a black box 2010-06-10 22:00 #2 is basically voodoo coding :/ 2010-06-10 22:02 but yeah, hopefully I won't have to mess with that, I'm not even sure it actually does anything in this project. 2010-06-10 22:19 OK - finally got something from dingoo to compile & run. Had to copy a bunch of libs over too... 2010-06-10 22:23 oh wow, it's here, it's here! 2010-06-10 22:26 reminds me, I need SDL mixer for nanonote... 2010-06-10 23:07 we should have a discussion forum tbh 2010-06-10 23:08 we don't? 2010-06-10 23:28 Textmode, nope, only a mailing list 2010-06-10 23:44 What does the Qi-button actually do? 2010-06-10 23:49 wondering that myself.