2010-08-03 02:00 [commit] Xiangfu Liu: update version numver. update debian/changelog http://qi-hw.com/p/xburst-tools/d795fb3 2010-08-03 02:00 [commit] Xiangfu Liu: fix typo of email address http://qi-hw.com/p/xburst-tools/8ce9d20 2010-08-03 02:00 [commit] Xiangfu Liu: cleanup the debian/changelog, add new file ChangLog http://qi-hw.com/p/xburst-tools/1b9628a 2010-08-03 02:00 [commit] Xiangfu Liu: cleanup tmp folder when send INT TERM signal to get-orig-source.sh http://qi-hw.com/p/xburst-tools/e9cd9a3 2010-08-03 03:56 rafa: is there is no patent package , I will promote jlime in nano, in fact if there is a nand version to flash are is clean for before september the Nanowar version will be based on jlime 2010-08-03 03:56 rafa: any news on theora/ogg videos? 2010-08-03 03:57 are-> and 2010-08-03 03:57 [commit] Xiangfu Liu: [uboot-xburst] fix erase error when erasing redundant env nand http://qi-hw.com/p/openwrt-xburst/edf2ee3 2010-08-03 04:44 larsc: the jz-2.6.35 kernel does not have a qi_lb60_defconfig 2010-08-03 04:56 i know 2010-08-03 05:00 ok, I'll go for jz-2.6.34 then, right? 2010-08-03 05:01 well, you can use the qi_lb60_defconfig from jz-2.6.34 and run a make oldconfig 2010-08-03 05:01 ok 2010-08-03 05:08 larsc: what is the difference between the uboot that resides in the nand, and that to be loaded with usbboot ? The 2nd is an ELF file directly? 2010-08-03 05:13 what do you mean by "the uboot [...] loaded with usbboot"? 2010-08-03 05:16 larsc: hm I thought that usbboot can load an uboot image 2010-08-03 05:16 larsc: I can use usbboot to load a kernel into the nanonote and run it, right? Can't I do the same with an uboot image? 2010-08-03 05:17 (without flashing the nand I mean) 2010-08-03 05:17 you should be able to do that, yes 2010-08-03 05:17 what image format usbboot wants? ELF? 2010-08-03 05:17 viric, how you use usbboot load a kernel into nanonote?? 2010-08-03 05:17 viric, the command "xbboot" can do that. 2010-08-03 05:18 xiangfu: ah, well, I mix xboot and usbboot 2010-08-03 05:18 viric: raw bytecode 2010-08-03 05:18 i think 2010-08-03 05:19 yes. 2010-08-03 05:19 And how can I build 'raw bytecode' ? The uboot nand image, for example? 2010-08-03 05:19 And for the kernel? 2010-08-03 05:20 viric, when you build U-Boot, there will be "u-boot-nand.bin" "u-boot.bin" 2010-08-03 05:20 right 2010-08-03 05:20 viric, "u-boot-nand.bin" is for nand image. "u-boot.bin" can load and run at 0x80100000 in NanoNote. 2010-08-03 05:21 viric, for kernel you need zImage.bin. address at 0x80600000 2010-08-03 05:21 ah great 2010-08-03 05:21 hmm, when I commit huge binaries (bz2) to projects, will they show up in all their glory on the commitlog list, overflowing everyone's mailbox ? 2010-08-03 05:21 viric, for example "sudo xbboot -u 0x80100000 u-boot.bin" 2010-08-03 05:21 viric, "sudo xbboot -u 0x80600000 zImage.bin" 2010-08-03 05:21 it looks like time to take notes :) 2010-08-03 05:21 (i'll probably migrate the case scans to projects and into git later today. that's some 100 MB of stuff.) 2010-08-03 05:22 viric, for more info : http://en.qi-hardware.com/wiki/Xburst-tools#xbboot 2010-08-03 05:22 thank you very much 2010-08-03 05:29 wpwrak, the commitlog mails only setup for openwrt-xburst, openwrt-packages and xburst-tools 2010-08-03 05:31 xiangfu: oh, good. thanks ! 2010-08-03 05:39 wpwrak: for a new project like ben-scans, even the IRC commitlog won't work 2010-08-03 05:39 that's because indefero doesn't setup the git repo automatically when the project is created, only upon first commit 2010-08-03 05:39 so after your first commit into ben-scans, I will turn on the commitlog into irc first (1-line) 2010-08-03 05:40 the commitlog mailing list is separate, currently the 3 projects xiangfu mentioned 2010-08-03 05:40 we could add some more, but this is what the people that asked for the commitlog mailing list wanted 2010-08-03 05:40 wolfspraul: oh, i see. so the very first commit is good for bulk stuff :) 2010-08-03 05:40 I don't know whether the whole binary would be attached in those mails, I would hope not but who knows 2010-08-03 05:40 wpwrak: the IRC commitlog safe anyway 2010-08-03 05:40 only 1 line 2010-08-03 05:41 yeah, better not to find out :) 2010-08-03 05:41 and even that won't work on first commit 2010-08-03 05:41 so don't worry 2010-08-03 05:41 not everything is as automated and smooth as it should be, but at least it should be safe 2010-08-03 05:41 I am actually quite happy with Indefero (the 'forge' software behind projects.qi-hardware.com) 2010-08-03 05:41 basically only 1-man project, but very perseverant and seems making nice and steady progress 2010-08-03 05:42 plus it's quite minimalistic, I like that 2010-08-03 05:47 yeah, small is beautiful :) less job secutiry for the administrator, but then you get to have a life beside babysitting the monster :) 2010-08-03 05:53 and another 58 hours scan hits the intertubes ... 2010-08-03 07:56 larsc: how come the jz-2.6.34 does not have the make target 'uImage'? Isn't that the usual upstream way to build a uImage? 2010-08-03 08:02 interesting.. how annoyed I was by the openwrt toolchain at first 2010-08-03 08:03 and how it's now getting workable 2010-08-03 08:03 (it's not exactly perfect, and it has its quirks, but it's workable) 2010-08-03 08:04 viric: uhm, don't know, is it? 2010-08-03 08:12 ehm 2010-08-03 08:12 that's weird 2010-08-03 08:12 oh no it isn't 2010-08-03 08:12 facepalms 2010-08-03 08:12 (you can't push if you use the read-only url) 2010-08-03 08:13 [commit] bartbes: gmenu2x: Fixed file explorer/dialog http://qi-hw.com/p/openwrt-packages/d1208df 2010-08-03 08:13 there we go 2010-08-03 08:28 tuxbrain: I saw on the wiki you're working on the combo nn + arduino 2010-08-03 08:28 yes 2010-08-03 08:29 so what's the status on that? 2010-08-03 08:31 take a look on this http://www.tuxbrain.com/en/content/%E6%9C%AC-ben-nanonote-editingcompilingflashing-arduino-sketch 2010-08-03 08:32 I have not done any significant work after that. 2010-08-03 08:33 My dream is to have same tools I have in debian avrdude, avr-gcc, in both in jlime and openwrt , I don't like very much to work with debian (please don't blame me is only matter of taste) 2010-08-03 08:34 I love to work with debian on big computers but I feel more confortable with jlime and openwrt on Ben 2010-08-03 08:50 bartbes, i read you're trying to fix path for gmenu2x? 2010-08-03 08:50 bartbes: since gmenu2x is also hosted on projects.qi-hardware we should rather fix the bugs there instead of adding patches to the openwrt package 2010-08-03 08:50 because i thought this was fixed long time ago on qi-hardware projects 2010-08-03 08:50 I mentioned that on the developers mailing list 2010-08-03 08:50 zear: it wasn't 2010-08-03 08:50 bartbes, weird 2010-08-03 08:50 I just pushed a patch 2010-08-03 08:51 i haven't checked your patch, but just simply changing /card to / won't fix it ;) 2010-08-03 08:51 it almost did 2010-08-03 08:51 that and fixing the filter 2010-08-03 08:51 you also have to change the number of chars 2010-08-03 08:51 from 5 to 1 2010-08-03 08:51 I never saw number of characters listed as 5 2010-08-03 08:51 checks again 2010-08-03 08:51 hmm.. maybe then 4 2010-08-03 08:52 maybe it doesn't count / or starts with 0 2010-08-03 08:52 because my tests all succeeded anyway 2010-08-03 08:52 I believe it said 11 2010-08-03 08:52 bartbes, try to go up a dir 2010-08-03 08:52 it will crash and return to gmenu2x 2010-08-03 08:52 because the number of chars is incorrect 2010-08-03 08:52 right 2010-08-03 08:52 but it said 11 2010-08-03 08:52 so I figured that was unrelated 2010-08-03 08:52 ah, right, this was my mistake 2010-08-03 08:52 because i ported it stright from dingoo 2010-08-03 08:53 where the root location is : /boot/local/ 2010-08-03 08:53 so it's probably 11 2010-08-03 08:53 well, I guess you could apply the patch and fix that 2010-08-03 08:53 yep 2010-08-03 08:53 push it to upstream 2010-08-03 08:53 and then update the package to point to the new commit (if it's 'stable') 2010-08-03 08:53 but i thought it was fixed long time ago because i was talking about it every second day for at least a month after i discovered it :D 2010-08-03 08:54 oh, and btw if the root is set to /, the auto searching option will lock up 2010-08-03 08:54 maybe you did fix it upstream 2010-08-03 08:54 but the 'downstream' package is still pointing to an old commit 2010-08-03 08:54 heh 2010-08-03 08:54 well, i tested it with / only on my x86 pc, maybe it just locked up on chmod problems (gmenu2x was written for gp2x which ran on vfat) 2010-08-03 08:55 but who knows, maybe it's locking up on symlink loops 2010-08-03 08:55 in any case, *you* are the one who can commit upstream, meaning *you* should fix it all :P 2010-08-03 08:55 no, i can't commit because i neither have an account nor i know how to do it ;) 2010-08-03 08:55 ? 2010-08-03 08:55 then who does have commit access? 2010-08-03 08:55 mth, larsc 2010-08-03 08:55 that guys 2010-08-03 08:56 well you sure beeped them now 2010-08-03 08:56 :D 2010-08-03 08:56 :D 2010-08-03 08:56 maybe they didn't change anything yet, because this repo is for gmenu2x for both the nanonote and dingoo (mth is working for dingoo fixes) 2010-08-03 08:56 I propose to disable the autosearching options 2010-08-03 08:56 so maybe they were planning to change it somehow else 2010-08-03 08:57 tuxbrain, that's not a good idea, because it's vital for dingoo 2010-08-03 08:57 well, yeah, but aren't we allowed to get a short-term fix? 2010-08-03 08:57 I'd be happy to edit the patches some more 2010-08-03 08:57 to get it working *today& 2010-08-03 08:57 mmmm, ok 2010-08-03 08:57 bartbes, there's also another reason this hasnt' been changed to / 2010-08-03 08:57 because tbh without these fixes gmenu2x is pretty useless 2010-08-03 08:57 because gmenu2x thinks this is SD card mount location 2010-08-03 08:58 and the icon indicating the free space has SD card icon 2010-08-03 08:58 minor inconveniences 2010-08-03 08:58 i think the guys were thinking of adding both / and sd mount location at the same time 2010-08-03 08:58 bartbes: i added your account to the gmenu2x project 2010-08-03 08:58 and i think i saw some code towards it 2010-08-03 08:58 especially when compared to the current non-functioning 2010-08-03 08:58 larsc: wow, thanks 2010-08-03 08:59 but now I have to go read the code :P 2010-08-03 08:59 bartbes, the current non-functioning is thanks to me :D 2010-08-03 08:59 you can hit me in the face now :D 2010-08-03 09:00 btw, zear, I only changed the root in the file dialog 2010-08-03 09:00 just saying 2010-08-03 09:00 bartbes, there's more lines to change 2010-08-03 09:00 just grep -ir "/card" ./ 2010-08-03 09:00 not if I just want the file dialog to work? 2010-08-03 09:00 :P 2010-08-03 09:00 :P 2010-08-03 09:01 larsc: btw, is there a reason why the filedialog is still filtering ".gpu,.dge,.sh"? 2010-08-03 09:01 bartbes, it's because i did a straight port from the dingoo :D 2010-08-03 09:02 ... 2010-08-03 09:02 right 2010-08-03 09:02 the new code 2010-08-03 09:02 is more confusing 2010-08-03 09:02 (of course it is..) 2010-08-03 09:02 oh I see 2010-08-03 09:02 it has moved to browsedialog 2010-08-03 09:02 gpu is gp2x's extension for programs (as opposed to games which are .gpe), dge is dingoo extension 2010-08-03 09:03 just saying if you wondered what they are 2010-08-03 09:03 figured something like it 2010-08-03 09:03 no wait 2010-08-03 09:03 I knew that was the cause 2010-08-03 09:04 you know what? I'll fix the patches now 2010-08-03 09:04 get to know gmenu2x and then work on a long-term fix 2010-08-03 09:04 bartbes, don't remove the .dge, it's vital for the dingoo ;) 2010-08-03 09:04 I introduced CARD_ROOT as a constant, so you only have to modify one line 2010-08-03 09:04 mth, i see 2010-08-03 09:04 true 2010-08-03 09:04 but 2010-08-03 09:04 then the other errors pop up 2010-08-03 09:05 I'll update my patch to do dir-up correctly 2010-08-03 09:05 and then I'll start reading it all 2010-08-03 09:06 zear: actually 2010-08-03 09:06 due to the path being / 2010-08-03 09:06 the whole size comparison stuff can be killed 2010-08-03 09:08 the gmenu2x code is a big mess, but we (larsc, Ayla and I) have cleaned it to be less of a mess than it was at the start 2010-08-03 09:08 still a lot of nasty stuff left though 2010-08-03 09:10 interestingly enough 2010-08-03 09:10 it seems to be pretty simple 2010-08-03 09:10 (not saying you're doing anything wrong) 2010-08-03 09:10 I expected some horrible mess of unreadable code 2010-08-03 09:21 great 2010-08-03 09:22 well, to me things like public fields are a horrible mess, because you never know where they are being modified 2010-08-03 09:23 zear: cleaning that checking up fixed the dir-up 2010-08-03 09:23 ah, great 2010-08-03 09:23 now I only messed up my patch 2010-08-03 09:23 (it only has half the files :O) 2010-08-03 09:23 i was wondering what's wrong that even if i set the char value to 1 or 0, it still wasn't working with / 2010-08-03 09:23 but other than that, yay! 2010-08-03 09:23 it was the whole check 2010-08-03 09:23 never seen that last part 2010-08-03 09:23 p < 4? 2010-08-03 09:24 (amount of / chars) 2010-08-03 09:24 no idea 2010-08-03 09:24 i'm not even a programmer ;)\ 2010-08-03 09:24 ah 2010-08-03 09:31 there we go 2010-08-03 09:31 time for another commit 2010-08-03 09:32 [commit] bartbes: gmenu2x: Fixed dir up http://qi-hw.com/p/openwrt-packages/cfd20f8 2010-08-03 09:32 enjoy 2010-08-03 09:32 time to go look at sounds.. 2010-08-03 09:34 bartbes: why commit it as a patch instead of a change directly on the gmenu2x code? 2010-08-03 09:34 2 reasons 2010-08-03 09:34 first, current gmenu2x code I haven't 'mastered' yet 2010-08-03 09:34 second, the package is lagging several commits anyway 2010-08-03 09:35 oh, and third, I will fix it upstream 2010-08-03 09:35 just wanted a short-term solution as well 2010-08-03 09:35 ok, as long as it's fixed in the gmenu2x repository it's fine with me 2010-08-03 09:37 I see I can easily change that repo to at least allow going up to root 2010-08-03 09:37 or CARD_ROOT 2010-08-03 09:37 whatever you want 2010-08-03 09:38 (though / is easier) 2010-08-03 09:38 I don't really understand the idea behind the multiple roots thing anyway 2010-08-03 09:39 well, to show free space it's useful 2010-08-03 09:40 yeah, that is the long-term solution 2010-08-03 09:40 turn everything into / and fix the space indicator 2010-08-03 09:40 I guess 2010-08-03 09:41 well, on the Dingoo there are three "roots": the actual system root, the SD card and the NAND 2010-08-03 09:41 the system root is a loopback mounted readonly file system, so there will be no apps on that 2010-08-03 09:41 but it would be useful to show the free space of both the SD and the NAND 2010-08-03 09:42 ugh, I'm stuck with the sound issue anyway 2010-08-03 09:42 I'll go look at that 2010-08-03 09:43 so what do you want me to do? 2010-08-03 09:43 make it all /, or /card? 2010-08-03 09:48 I think / is more useful: it would allow access to too many directories, but that's better than too few 2010-08-03 09:48 nvm, I know the answer 2010-08-03 09:48 oh 2010-08-03 09:49 I thought you'd say "keep it CARD_ROOT which then is defined at compile-time" 2010-08-03 09:49 anticlimatic here 2010-08-03 09:49 CARD_ROOT is better than "/card" hardcoded, that's true 2010-08-03 09:49 but browsing should go to / 2010-08-03 09:49 right? 2010-08-03 09:50 or what? 2010-08-03 09:50 I'm confused :S 2010-08-03 09:50 is the browsing for apps or also for data files? 2010-08-03 09:55 well actually gmenu doesn't rely apps with data files to open them so I guess is only for apps 2010-08-03 09:56 well 2010-08-03 09:56 the goal is to find apps 2010-08-03 09:56 but the filter is supposed to take care of other files 2010-08-03 09:57 in the case of the Dingoo apps could be on the SD or on the NAND 2010-08-03 09:58 so it would be good to be able to browse to both locations 2010-08-03 09:58 meaning /? 2010-08-03 09:58 one way of doing that would be to have multiple roots, but that's a big change 2010-08-03 09:58 so / would be a good compromise for now, I think 2010-08-03 10:02 okay 2010-08-03 10:02 I'll do that in a few mins 2010-08-03 10:04 rafa:ping 2010-08-03 10:04 rafa: ping 2010-08-03 10:05 tuxbrain: hey morning 2010-08-03 10:05 good afternoon :) 2010-08-03 10:05 well, here is almost noon in one hour.. just that I am late to start the day :) 2010-08-03 10:06 rafa: you're early - the sun is still up :) 2010-08-03 10:06 tuxbrain: ah.. I read .. cool. 2010-08-03 10:07 rafa wpwrak: good bless you with a child you will miss this wake up hours a LOT 2010-08-03 10:07 tuxbrain: no news with theora yet, and our nand tries failed .. but let me chat with other jlimers about the idea ;) 2010-08-03 10:08 doesn't OE includes ubi as image format? 2010-08-03 10:08 hmm, does anyone know if there's a place on projects where i can put an HTML file such that http://projects.qi-hardware.com/wherever/ will show it as HTML, not as "pretty" source ? or some magic option for the url ? 2010-08-03 10:08 tuxbrain: kernel problem, no ubi 2010-08-03 10:09 tuxbrain: but working on that ;) 2010-08-03 10:09 tuxbrain: yeah, i figured out a while ago that reproduction and my lifestyle wouldn't go together too well :) 2010-08-03 10:13 mth: so have you replaced every occurance of /card with CARD_ROOT? (or only the ones you saw, so grep vs eye) 2010-08-03 10:14 so, no idea for HTML on projects ? it's for the overview page for the scans 2010-08-03 10:14 bartbes: I used grep 2010-08-03 10:14 okay 2010-08-03 10:17 what platform uses .pxml 2010-08-03 10:18 rafa: due I also want to do a Makefile to have a ipkg package to openwrt to Nanowarize also openwrt users , I supouse that the ipkg than only will copyfiles to specified ubications containing no binaries, can be the same, just changing the gmenu menu files for whatever jlime is using now (desktop files?) 2010-08-03 10:18 bartbes: openpandora 2010-08-03 10:18 ah 2010-08-03 10:18 btw, scanning would add loads and loads and loads of executables on openwrt 2010-08-03 10:19 what extensions should I set it to? 2010-08-03 10:20 tuxbrain: ah yes, I think so. Current jlime uses Matchbox.. so it uses freedesktop.org spec. So, it is so easy to add an icon with two files /usr/share/applications/your_file.desktop and /usr/share/pixmaps/your_file.png (icon) 2010-08-03 10:21 tuxbrain: then we just need to add your ipk file two files to have the launcher icon on the matchbox desktop 2010-08-03 10:21 (or commands in your Makefile) 2010-08-03 10:22 yes, we should add support for .desktop file to gmenu2x 2010-08-03 10:22 well it will be some icons I want to add various Nanowar content (albums, lirics, history, artwork... ) and each of it will have it icon 2010-08-03 10:23 In openwrt will be a new tab, in jlime a folder 2010-08-03 10:23 mth: so how do I build it? 2010-08-03 10:23 larsc:  this will be awesome 2010-08-03 10:24 bartbes: this is what I use for Dingux: ./configure --host=mipsel-linux --with-sdl-prefix=/opt/mipsel-linux-uclibc/usr 2010-08-03 10:24 the SDL prefix would be different for the NN 2010-08-03 10:24 and how do I set the toolchain location? 2010-08-03 10:24 I have the toolchain in the $PATH 2010-08-03 10:25 the host= argument tells autotools to cross compile 2010-08-03 10:27 right added it to my path 2010-08-03 10:28 ah 2010-08-03 10:28 there we go 2010-08-03 10:28 I needed ot set host to mipsel-openwrt-linux 2010-08-03 10:28 hmm 2010-08-03 10:28 and sdl fails 2010-08-03 10:29 ah, ~ is invalid 2010-08-03 10:29 thanks 2010-08-03 10:42 larsc: sorry, I just came back. For the upstream linux, you can ask "make uImage", and it calls mkimage after building the image. 2010-08-03 10:43 mth: interestingly enough it fails to accept input 2010-08-03 10:45 viric: i guess it depends on your target architecture 2010-08-03 10:47 sigh. where is wolfgang when i need him ... ? 2010-08-03 10:48 bartbes: I always start gmenu2x by letting init respawn it 2010-08-03 10:48 maybe that makes a difference (vs starting from telnet/ssh) 2010-08-03 10:48 I never do 2010-08-03 10:48 :P 2010-08-03 10:48 oh, I just use the console on the nanonote 2010-08-03 10:49 ah, the Dingoo doesn't have a keyboard, so that's not an option there 2010-08-03 10:49 well, I run it from the dir the current version is installed 2010-08-03 10:49 so I guess it should pick up on that input.conf 2010-08-03 10:50 I don't know whether it uses the current dir or looks up the dir of the executable 2010-08-03 10:50 I guess current dir 2010-08-03 10:51 because when I ran it in executable dir it segfaulted 2010-08-03 10:51 ;) 2010-08-03 10:51 though I could copy the confs over 2010-08-03 10:51 that helped 2010-08-03 10:52 well, I guess I got it running 2010-08-03 10:52 I can browse everything 2010-08-03 10:54 hmm I messed up somewhere.. 2010-08-03 10:54 I hadn't added that yet :P 2010-08-03 10:55 xiangfu: there are plans for new release? 2010-08-03 10:59 tuxbrain: hmm. we need ask Mirko Vogt :). we have done some preparation work. I even start to write changelog about next release. 2010-08-03 11:00 mirko: there are plans for new release? :P 2010-08-03 11:00 tuxbrain: there a lot of new packages. and the 32bit font work really nice in NanoNote. 2010-08-03 11:01 that's why I propose it's time to do one :) 2010-08-03 11:01 tuxbrain: yes. 2010-08-03 11:01 mth: found the problem, the one who added those std::string.compare statements reversed the check :P 2010-08-03 11:02 also due I want to release a special version  for september It would be better to work with the last one :) 2010-08-03 11:03 or.. not.. 2010-08-03 11:03 wait.. now it's getting weird 2010-08-03 11:03 how perverse is marketing.. special version=some image and pinping _P 2010-08-03 11:06 tuxbrain: marketing is manipulation 2010-08-03 11:25 mth: there we go 2010-08-03 11:25 time for a commit 2010-08-03 11:33 [commit] bartbes: Changed the file browser to use / as root and added ability to see extensionless files (i.e. executables) http://qi-hw.com/p/gmenu2x/ba9af53 2010-08-03 11:37 bartbes: eh, setting CARD_ROOT to / means the free space indicator will be wrong on Dingoo 2010-08-03 11:37 right 2010-08-03 11:37 bartbes: I think the "|| path.length() <= CARD_ROOT_LEN" check is superfluous, at least if it is done after the path has been compared with CARD_ROOT 2010-08-03 11:37 larsc: it is not though 2010-08-03 11:37 I thought you were going to let the browser go to / while CARD_ROOT would stay the same 2010-08-03 11:37 because 2010-08-03 11:37 it checks *before* changing dirs 2010-08-03 11:37 so if you're at /the/root 2010-08-03 11:37 and press .. 2010-08-03 11:37 it allows you to go to /the 2010-08-03 11:38 with this code you at least have to be at /the/root/ mth: was I? 2010-08-03 11:38 so 2010-08-03 11:38 what are the problems with CARD_ROOT /? 2010-08-03 11:38 apparently not, but that was what I assumed :) 2010-08-03 11:38 just the sd card indicator and stuff? 2010-08-03 11:38 *- and stuff :P 2010-08-03 11:39 I don't know what else CARD_ROOT is used for 2010-08-03 11:39 greps 2010-08-03 11:40 it's used in selector 2010-08-03 11:40 what is selector? 2010-08-03 11:40 I'll revert CARD_ROOT 2010-08-03 11:40 and then change those related to file browsing to a hardcoded / 2010-08-03 11:41 is that okay? (mth) 2010-08-03 11:41 larsc: then to build a kernel, I better look at the openwrt makefiles? 2010-08-03 11:41 bartbes: yes 2010-08-03 11:41 viric: yes 2010-08-03 11:42 so what is selector.cpp? 2010-08-03 11:42 I have no idea 2010-08-03 11:42 tuxbrain: booting from nand now ;) 2010-08-03 11:43 larsc: are the changes from the jz-2.6.34 branch merged into jz-2.6.35? 2010-08-03 11:43 rafa: GREAT!!! giveme giveme 2010-08-03 11:44 tuxbrain: okey, okey! just for you, nobody else right? :D 2010-08-03 11:45 mth: mutli chip support is not 2010-08-03 11:45 yeah pure foss spirit :) 2010-08-03 11:46 haha 2010-08-03 11:47 mth: starting dir CARD_ROOT or /? 2010-08-03 11:48 CARD_ROOT, I think 2010-08-03 11:48 okay 2010-08-03 11:48 then I'm ready to commit 2010-08-03 11:48 final test 2010-08-03 11:48 larsc: but all the rest is? 2010-08-03 11:49 [commit] bartbes: Now only allows file browsing up to /, CARD_ROOT is /card/ http://qi-hw.com/p/gmenu2x/e9941dc 2010-08-03 11:50 bartbes: do you still need CARD_ROOT_LEN in the latest version? 2010-08-03 11:50 tuxbrain: yep, there are :) 2010-08-03 11:50 mth: yes 2010-08-03 11:51 there still are comparisons with CARD_ROOT 2010-08-03 11:51 and those used to be hardcoded to 5 2010-08-03 11:51 spread all over the place 2010-08-03 11:51 I love german precision on answer :) 2010-08-03 11:51 if you're going to use CARD_ROOT, then you shouldn't use 5 2010-08-03 11:53 selector.cpp:                           if (p==string::npos || dir.compare(0, 5, CARD_ROOT) != 0 || p<4) { 2010-08-03 11:53 like that, you mean? 2010-08-03 11:53 I didn't realize I had to change that as well when introducing CARD_ROOT 2010-08-03 11:54 [commit] Xiangfu Liu: create debian branch only for make debian package. http://qi-hw.com/p/xburst-tools/71ed21e 2010-08-03 11:54 anyway, if it has to stay, is it possible to replace "5" by "strlen(CARD_ROOT)"? 2010-08-03 11:54 in the definition of CARD_ROOT_LEN, I mean 2010-08-03 11:55 guess that works 2010-08-03 11:55 but then again 2010-08-03 11:55 you could change all occurences of CARD_ROOT_LEN to that 2010-08-03 11:55 yeah, that might look better 2010-08-03 11:55 the compiler should optimize that out anyway 2010-08-03 11:58 mth: it should be, yes 2010-08-03 11:58 does the compiler replace strlen calls? 2010-08-03 11:59 it should 2010-08-03 11:59 well, if its input is hardcoded 2010-08-03 12:00 but strictly speaking strlen() is not part of the language but of the standard lib 2010-08-03 12:00 gcc has a built-in version of strlen 2010-08-03 12:02 which you can see if you ever forget to include when you build code with strlen 2010-08-03 12:03 nowadays it will give at least a warning 2010-08-03 12:05 I meant the error tells you that 2010-08-03 12:05 test.c:2: warning: incompatible implicit declaration of built-in function strlen 2010-08-03 12:09 actually CARD_ROOT_LEN is currently not equal to strlen(CARD_ROOT) because of the trailing slash 2010-08-03 12:09 is that intended or a bug? 2010-08-03 12:10 bug 2010-08-03 12:15 I replaced the rootfs. when booting I now only see openwrt image but no text. How can I tell the kernel to display text messages instead of the image, so I can debug? 2010-08-03 12:16 [commit] Lars-Peter Clausen: Add gpio chager driver http://qi-hw.com/p/qi-kernel/97d812a 2010-08-03 12:16 [commit] Lars-Peter Clausen: MIPS: JZ4740: Add qi_lb60 board support http://qi-hw.com/p/qi-kernel/d88c52a 2010-08-03 12:16 [commit] Lars-Peter Clausen: Add n516 board support http://qi-hw.com/p/qi-kernel/41057ef 2010-08-03 12:16 [commit] Lars-Peter Clausen: Add n526 board support http://qi-hw.com/p/qi-kernel/2888489 2010-08-03 12:16 [commit] Lars-Peter Clausen: ASoC: JZ4740: Add qi_lb60 board driver http://qi-hw.com/p/qi-kernel/c452865 2010-08-03 12:16 [commit] Lars-Peter Clausen: Add N516 sound SoC board driver http://qi-hw.com/p/qi-kernel/3765c7b 2010-08-03 12:16 [commit] Lars-Peter Clausen: Add N526 sound SoC board driver http://qi-hw.com/p/qi-kernel/636d159 2010-08-03 12:16 [commit] Maarten ter Huurne: MMC: jz4740: Fixed card change detection. http://qi-hw.com/p/qi-kernel/f1f0dbd 2010-08-03 12:17 hey who has put larsc patching machine on?? :P 2010-08-03 12:17 eek 2010-08-03 12:18 sorry, had to rewrite history 2010-08-03 12:19 mmm have you recently win a war? 2010-08-03 12:19 heh 2010-08-03 12:19 that is some epic quote 2010-08-03 12:25 mth: I'm going to send the last patch upstream 2010-08-03 12:26 is it ok to add a s-o-b line from you? 2010-08-03 12:26 tuxbrain: hola 2010-08-03 12:26 what happen with your gps adventures? 2010-08-03 12:26 nothing new to tell 2010-08-03 12:26 bye for a while 2010-08-03 12:28 larsc: I think so, but I don't know the procedure for that 2010-08-03 12:30 http://kerneltrap.org/taxonomy/term/245 2010-08-03 12:34 do I have to produce some kind of signature or is it just a line you can add? 2010-08-03 12:35 just a "Signed-of-By: ..." 2010-08-03 12:36 but i already send the mail 2010-08-03 12:36 you are in CC 2010-08-03 12:36 ok 2010-08-03 12:38 yes, this is fine 2010-08-03 13:56 rafa: of course, this should be over here. let future idbg users find the solution to their future problems in the archives :) 2010-08-03 13:57 rafa: well, solution, except that i'm changing the pin in version 2 of the board :) 2010-08-03 13:58 haha.. okey. I think that reset did the trick 2010-08-03 13:58 But no sure. 2010-08-03 13:58 I did like 1000 tries 2010-08-03 13:59 then I ran like you suggested (to enable usb boot mode) 2010-08-03 13:59 idbg-gpio P0_3=0 2010-08-03 13:59 but no luck 2010-08-03 13:59 the reset is essential. without it, nothing happens 2010-08-03 13:59 then perhaps I did a reset 2010-08-03 14:00 but I did not see anything in console 2010-08-03 14:00 so I do not remember if I did or not 2010-08-03 14:00 i think the usb_boot signal is only sampled at hardware reset 2010-08-03 14:00 maybe if you do a software reboot too, but i'm not sure 2010-08-03 14:01 (don't have any system up and running now) 2010-08-03 14:01 wpwrak: all was black and dark :).. But well, I mean, I did all but without signals to go well. For example, I did reset, almost sure. But console just shows me : [ Connected ] 2010-08-03 14:01 so I do not remember now exactly 2010-08-03 14:02 and that [ Connected ] message is before to the reset 2010-08-03 14:03 larsc: I noticed the 'make uImage' works for some architectures (arm, avr32, powerpc, sh, ...), but not for mips 2010-08-03 14:03 arch/*/boot/Makefile 2010-08-03 14:03 "console connected" only means that you're talking to idbg 2010-08-03 14:04 rafa: idbg doesn't know what's happening at the other end of the serial line 2010-08-03 14:04 yes, I just would like to see one nn led or something :) 2010-08-03 14:05 when resseting 2010-08-03 14:05 as feedback 2010-08-03 14:06 ;-))) 2010-08-03 14:06 just trust idbg ;-) if you idbg-reset and you don't get an error, it did reset the cpu 2010-08-03 14:17 what is idbg? 2010-08-03 14:18 viric: this, inside a ben: http://www.almesberger.net/misc/ben/idbg-v1-pcb.jpg 2010-08-03 14:18 ahhh I remember this from the mailing list. ok. 2010-08-03 14:18 thank yo 2010-08-03 14:18 u 2010-08-03 14:19 viric: yup. np :) 2010-08-03 14:27 larsc: openwrt-xburst builds the kernel 2.6.32, having patches that allow 'make uImage', and that was added by you I think :) 2010-08-03 14:31 also the git kernel 'master' branch has that 2010-08-03 16:49 Has the flashing improved any lately? Is there any point in upgrading xburst tools? 2010-08-03 16:52 kristoffer: I will try the SD flash approach in short, I can report if you are interested 2010-08-03 16:53 tuxbrain, please do 2010-08-03 16:54 in fact is to flash jlime :) 2010-08-03 16:54 did rafa talk to  you about my proposal? 2010-08-03 16:58 tuxbrain, yeah we talked about it, sounds very interesting. But we need to get a good grasp of the details (atleast me), so rafa was to mail you and Wolfgang (and CC me) 2010-08-03 17:03 tuxbrain, so expect the mail whenever rafa wakes up. Btw, that SD flash approach is a way to flash onto NAND by supplying files on the SD? 2010-08-03 17:04 kristoffer: yes 2010-08-03 17:04 kristoffer: then until tomorrow morning for me , lunch time for rafa :) 2010-08-03 17:05 you can take a look at http://en.qi-hardware.com/wiki/Updating_Ben_with_an_SD 2010-08-03 17:06 tuxbrain, timezones suck :) thx for link, Im having great problems with usbboot atm. 2010-08-03 17:08 mean while you have a u-boot able to to boot from sd, I think is the less anoying solution, I never have serious problems with usbboot but I find that sd aproach a little bit more confortable 2010-08-03 17:10 tuxbrain, yeah. My issue currently is that it refuses to flash the kernel correctly (looks like 2 bad blocks inside kernel area). Trying to figure out some smart solution but so far no luck 2010-08-03 17:10 I will tell you now compiling and openwrt image, when it ends surelly tomorrow morning I will do some test 2010-08-03 17:11 that was one of my units, isn't it? 2010-08-03 17:12 I don't know if nandwrite will be less sensible to that and will allow you to smash that bad blocks 2010-08-03 17:12 tuxbrain, no idea, might have been. Ive had issues like this before but it sorted themselves out after extensive nerase' s, but not this time. 2010-08-03 17:13 well only way is trying :) 2010-08-03 17:13 Ive been at it for an hour or so, so at this moment it looks semi-bricked (atleast until I can figure out where the bad blocks are and adjust u-boot or kernel) 2010-08-03 17:34 talking about flashing... 2010-08-03 17:35 I use the latest xburst-tools (I think) and I have troubles flashing the first blocks 2010-08-03 17:35 (those of uboot) 2010-08-03 18:10 viric everyone has trouble flashing sometimes ;) 2010-08-03 18:14 really? 2010-08-03 18:14 Well, I see errors on 'nanddump' too 2010-08-03 18:15 not only writing 2010-08-03 18:32 [commit] Andres Calderon: micron ddr ibis model added http://qi-hw.com/p/xue/f386b01 2010-08-03 18:32 [commit] Andres Calderon: micron_ddr_512Mb models added http://qi-hw.com/p/xue/5528435 2010-08-03 18:34 good night guys, time to some sleep. 2010-08-03 18:34 bona nit 2010-08-03 18:35 fins demà viric :) 2010-08-03 18:37 demà tornar-hi. 2010-08-03 19:22 http://www.siliconfareast.com/ 2010-08-03 20:14 tuxbrain_zzzzzz: I am able to play theora.. but the video delays several seconds until it goes properly, so sound starts immediately and video no. After a seconds both are fluent but no sync 2010-08-03 20:15 tuxbrain_zzzzzz: if you have jlime you can try. I converted to ogv with ffmpeg2theora, in jlime I used : mplayer movie-sample2.ogv -correct-pts 2010-08-03 21:38 [commit] Andres Calderon: micron_ddr_512Mb.lib fixed http://qi-hw.com/p/xue/a29352d 2010-08-03 21:38 [commit] Andres Calderon: 60fbga_ddr.fpd added http://qi-hw.com/p/xue/d6bbd2d 2010-08-03 22:24 [commit] Andres Calderon: 60fbga_ddr.mod added http://qi-hw.com/p/xue/1e01020 2010-08-03 22:24 [commit] Andres Calderon: ddr mobile replaced by ddr http://qi-hw.com/p/xue/3e25e8d 2010-08-03 22:25 rafa: so the problem is syncing not fluency?