2010-09-10 00:04 Good evening, folks. 2010-09-10 02:06 [commit] kyak: sdcv depends on glib2 http://qi-hw.com/p/openwrt-packages/a0edda2 2010-09-10 02:09 kyak: thanks for helping with the images! 2010-09-10 02:09 if an account on our new buildhost machine does any good to you, let me know and you have one right away... 2010-09-10 02:36 wolfspraul: it's my pleasure! ok, if i need the account, i'll let you know, thanks 2010-09-10 02:42 kyak: don't hesitate to update the config.full_system file in openwrt-xburst either 2010-09-10 02:42 if you see a package that is useful on the Ben NanoNote but not included in the image, whether it's a library, console app, GUI app, etc. just enable it and commit the update into config.full_system 2010-09-10 02:43 I also still see things in there that don't make much sense, like ntfs utilities. I hardly can see anyone connecting an NTFS formatted microSD to the Ben... 2010-09-10 02:43 so I will also start enabling/disabling things in there. since it's a whole OS, the more eyes the better. 2010-09-10 02:44 yeah, me neither... 2010-09-10 02:44 wolfspraul: i'm doing right now quite opposite.. i started from scratch, i.e. default config wit hno packages and now adding one by one necessary (from my opinion) packages 2010-09-10 02:44 there is a lot of useless things in config.full_system 2010-09-10 02:46 but RIGHT now i'm trying to port mupdf. I've seen it in Jlime, and it's quite good 2010-09-10 02:47 it has two dependencies that are not in openwrt yet, openjpeg and jbig2dec 2010-09-10 02:48 so not so straight forward 2010-09-10 02:48 well it all depends on the deps 2010-09-10 02:49 I remember physfs 2010-09-10 02:49 apart from it being the first cmake project (that I know of) it was easy 2010-09-10 02:49 (well of course it has been done before, but then someone must've shot down a plane by throwing a rock at it as well) 2010-09-10 02:51 kyak: excellent! 2010-09-10 02:51 yes of course, let's kick out useless stuff from config.full_system 2010-09-10 02:51 totally with you 2010-09-10 02:52 I work on another config right now, config.debug 2010-09-10 02:52 I want it to be a minimal system, just bootable but with most system libraries installed. then debug options should be enabled. 2010-09-10 02:52 so if we run into a problem, it should be easy to add another package, rebuild config.debug, and be in a good position to fix the bug fast 2010-09-10 02:53 have the sdl problems been fixed btw? 2010-09-10 02:54 kyak: how did you get to your 'default config' that you started from? 2010-09-10 02:54 bartbes: no, not fixed. And I need an image to reflash 1000 nanos next week... 2010-09-10 02:54 worst case I have to use the old 06-15 image, with heavy flickering and all... 2010-09-10 02:55 but still some time, so we see 2010-09-10 02:57 wolfspraul: make distclean, then make menuconfig. then select our target, and after make and reflash your Ben you will end up with 3Mb Linux distribution with busybox and base-files 2010-09-10 02:59 then add lua 2010-09-10 02:59 sdl 2010-09-10 02:59 physfs 2010-09-10 02:59 freetype 2010-09-10 02:59 and nlove 2010-09-10 02:59 and you have a love machine 2010-09-10 02:59 >:) 2010-09-10 03:00 bartbes: actually, only add "nlove", all other must be selected automatically :) 2010-09-10 03:00 true 2010-09-10 03:00 actually, by building from scratch i've detected some missing depenedcies 2010-09-10 03:00 though.. 2010-09-10 03:00 I might have forgotten freetype.. 2010-09-10 03:00 now that I think of it 2010-09-10 03:06 kyak: when you select a package in make menuconfig, OpenWrt will automatically select the dependencies? 2010-09-10 03:07 actually.. 2010-09-10 03:07 wut 2010-09-10 03:07 I'll need to check this out this afternoon 2010-09-10 03:07 wolfspraul: yes 2010-09-10 03:07 wolfspraul: if they are defined properly in the makefile 2010-09-10 03:07 yes 2010-09-10 03:07 sometimes I am wondering whether it's a good idea to commit entire config files, maybe it's better to write a little script that can process a list of apps, and will manually edit the config file with sed or so, from 'is not set' to '=y' 2010-09-10 03:07 ah OK, then an external script is not a good idea 2010-09-10 03:08 wolfspraul: not a good idea, yes.. should keep consistency via make menuconfig 2010-09-10 03:09 although OpenWrt would probably 'pick up' the dependencies when running make? 2010-09-10 03:09 or are they enforced while make menuconfig is running? 2010-09-10 03:09 they may have 'make oldconfig' and others things, no? 2010-09-10 03:14 when you run make, it doesn't alter you .config, so dependencies are not "picked up" 2010-09-10 03:15 when you run menuconfig, OpenWrt is cross-checking for dependencies and when you have the menu, these dependencies are already there 2010-09-10 03:17 how about 'make oldconfig' 2010-09-10 03:17 example, if you added a new dependency for some package, then run make menuconfig and exited with saving (actually changing nothing manually in that menuconfig), you will see your added dependepcies in .config 2010-09-10 03:17 do they have some way to automatically cross-check dependencies? 2010-09-10 03:17 not sure about oldconfig, never used it 2010-09-10 04:17 stupid developers. .naming their tarball as openjpeg_v1.2.tar.gz 2010-09-10 04:17 and inside is trunk/ dir 2010-09-10 04:18 of course, not using autotools 2010-09-10 04:23 god, they have things like install -m 644 -o root -g root in their Makefile 2010-09-10 04:24 angry 2010-09-10 04:41 urgh. ubifs decided to do several torture tests to a PEB 2010-09-10 04:41 it looks like in a loop 2010-09-10 04:43 two minutes, running a torture test on the same block every two seconds 2010-09-10 04:43 and still did not stop 2010-09-10 04:43 Should I stop the ben? 2010-09-10 04:44 4 minutes 2010-09-10 04:57 viric: is the whole device stuck? how do you know ubifs is doing something? 2010-09-10 04:57 wolfspraul: no 2010-09-10 04:57 wolfspraul: I could login, run programs... 2010-09-10 04:57 wolfspraul: they run slow though 2010-09-10 04:57 wolfspraul: I could run 'halt', and boot again. Then the problem disappeared. 2010-09-10 04:58 ok 2010-09-10 04:58 But ubifs was in the loop for 6 minutes, until halt switched all off 2010-09-10 04:58 maybe a bug in ubifs... 2010-09-10 04:58 bad. 2010-09-10 04:58 http://permalink.gmane.org/gmane.linux.drivers.mtd/29503 2010-09-10 04:58 it's a long story. nand is difficult and ubifs is the best shot free software has to offer. 2010-09-10 04:58 here I saw a comment about a torture test getting into loop 2010-09-10 04:59 :-) 2010-09-10 04:59 don't worry 2010-09-10 04:59 no? 2010-09-10 04:59 no. 2010-09-10 04:59 we know too little facts about nand and the exact ubifs behavior to be worried 2010-09-10 05:00 the best we can do is to run very recent Linux kernels, which more or less we are doing. 2010-09-10 05:00 another cool thing would be if the ubifs developesr would use NanoNotes for development :-) 2010-09-10 05:02 scary link indeed 2010-09-10 05:02 if someone can still say in 2010 with a straight face that they only support SLC, and doesn't seem to be worried about that the slightest little bit 2010-09-10 05:04 it's as if the storage guys would happily say that they only support scsi, never heard or want to be bothered about ata or any of that sata stuff. overhyped, ya know? :-) 2010-09-10 05:12 trying to redefine TAR command, is not so obvious 2010-09-10 06:37 wolfspraul, kyak: if you want script-driven configuration, switching on what you like and then running "make oldconfig" should indeed work. after all, one of its purposes is to take an old .config and process it in the context of a new set of Kconfig files. 2010-09-10 06:41 (i've used this sort of approach on some occasions) 2010-09-10 06:43 a 2010-09-10 06:44 wolfspraul: maybe all the people who understand NAND are moving away from bare NAND ? (-:C 2010-09-10 06:45 http://paste.debian.net/89085/ 2010-09-10 06:45 wolfspraul: ^ why i cant remove stuff from tmp?.. 2010-09-10 06:46 wpwrak: (morning), moving to ... ? 2010-09-10 06:48 kristianpaul: something nicely packaged. uSD, for example :) 2010-09-10 06:48 :) 2010-09-10 06:49 but speed? 2010-09-10 06:49 cause NAND memory are parallel isnt? 2010-09-10 06:50 kristianpaul: on the Ben, uSD is 4 bits, NAND is 8 bits, DRAM is 16 bits 2010-09-10 06:50 kristianpaul: so there's less of a difference than you may expect 2010-09-10 06:51 and i've heard that uSD is actually faster than NAND on the Ben (haven't measured it myself, though) 2010-09-10 06:52 well Jlime works like a charm most of the time 2010-09-10 06:52 but is not a serios test 2010-09-10 06:52 indeed i need measure that, i wonder if i can save around 2Mb raw data per second and not hurt the whole system I/O 2010-09-10 07:30 kristianpaul, everything rafa works like a charm ;) 2010-09-10 07:30 *rafa makes 2010-09-10 08:18 kristianpaul: you can ssh into the machine as root 2010-09-10 08:19 have you fixed your /tmp and sudo problem? feel free to install stuff as you need 2010-09-10 08:19 if you make bigger config changes shoot me a note so I can update the documentation, or update it yourself 2010-09-10 08:34 hm 2010-09-10 08:35 has anyone ever overriden the /bin/gtar as unpacking application in openwrt toolchain? 2010-09-10 08:35 i set TAR:=/bin/gtar (with whateve my parameters) in Makefile, but it doesn't work 2010-09-10 08:35 kyak: I tried to start with no .config and then just setting the target as you suggested. worked great, the .ubi file is 9.5mb though, not 3.5mb (maybe you meant .tar.gz size, or another filesystem type?) 2010-09-10 08:36 if it works (trying now), I will document what to enable on the wiki page 2010-09-10 08:36 wolfspraul: yes, ubi file is bigger, i meant the output of df -h on your Ben :) 2010-09-10 08:36 ok 2010-09-10 08:36 if make oldconfig works well, maybe we can switch to much shorter, more meaningful, and more maintainable config files as starting points 2010-09-10 08:37 and then the first step will always be 'make oldconfig' to mix it with whatever openwrt defaults 2010-09-10 08:37 need to try though... 2010-09-10 08:37 yes, good intention 2010-09-10 08:37 if it works 2010-09-10 08:38 then we just define a list of "our" apps: 1) to be included in image 2) to be built as "modules" 2010-09-10 08:44 override TAR:=/bin/gtars 2010-09-10 08:44 must be like this :) 2010-09-10 08:46 yes but first we need a system of config files that is cleaner. right now the config file is 100kb or more, and diffs are meaningless (too big) because it seems openwrt always moves options around. 2010-09-10 08:48 yes, you are right 2010-09-10 08:49 my hopes for the 'cleaner' part rest on 'make oldconfig' right now :-) 2010-09-10 08:58 it's PKG_UNPACK, actually.. 2010-09-10 08:58 damn those openjpeg people 2010-09-10 09:16 xiangfu: when I boot from that minimal image, it gets stuck at 'kernel panic ... unable to mount rootfs' 2010-09-10 09:17 (sorry I mean kyak ...) 2010-09-10 09:17 maybe the kernel needs ubifs support 2010-09-10 09:20 wolfspraul: mmm, here's my "zero" config: http://downloads.qi-hardware.com/people/kyak/tmp/.config 2010-09-10 09:20 oh no 2010-09-10 09:20 http://downloads.qi-hardware.com/people/kyak/tmp/.config_stage0 2010-09-10 09:20 this one 2010-09-10 09:21 i changed some busybox options and selected uClibc-0.9.30.1 2010-09-10 09:21 basically that's all 2010-09-10 09:21 ah uclibc, good point 2010-09-10 09:30 as always, impossible to diff these config monsters... 2010-09-10 09:30 :-) 2010-09-10 10:04 I'm getting ready to create a couple packages for the Ben NanoNote. 2010-09-10 10:05 In each case, the software is in a svn/git repository, and there is not formal release. 2010-09-10 10:05 My plan is to checkout and package the software on my website, and configure the build system to retrieve the source code this way. 2010-09-10 10:05 Is there a better way to do this when the software is only available in a revision control system? 2010-09-10 10:06 aisa: openwrt will do that for you. you don't need to do that. 2010-09-10 10:06 wolfspraul: so, when do you plan to dance with the schematics differences beast ? 2010-09-10 10:06 xiangfu: can you give me the name of a package that does this so I can use it as an example? 2010-09-10 10:07 aisa: finding ... 2010-09-10 10:07 aisa: this one is git:  http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/fn-handle/Makefile 2010-09-10 10:07 xiangfu: Thank you very much! 2010-09-10 10:08 aisa: this one is svn: http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/poke/Makefile 2010-09-10 10:09 aisa: every time you update the svn revision or git commit. you need update the "PKG_RELEASE" in Makefile. 2010-09-10 10:11 Looking at the Makefiles, I see this mechanism. 2010-09-10 10:28 aisa: we get new packages for the Ben? wohoooo! 2010-09-10 10:28 great! 2010-09-10 10:29 my NanoNote crossed the Pacific last night.  Huzzah. 2010-09-10 10:29 wpwrak: I'm in a bit of stress right now because 1000 Nanos wait for me to be reflashed, but I don't even have a usable image. 2010-09-10 10:29 wolfspraul: thank you!  I'm starting with a couple easy ones.  My basic roadmap is here: http://en.qi-hardware.com/wiki/User:Alanpost/Backlog 2010-09-10 10:30 wolfspraul: can you give me details about the problem with the current testing image? 2010-09-10 10:30 Specifically: When did it become a problem, and what is happening? 2010-09-10 10:31 aisa: xiangfu can probably describe it better 2010-09-10 10:31 in general the plan says every release image should be better than the one before 2010-09-10 10:31 xiangfu: I have one more question for you.  ^_^ 2010-09-10 10:32 but since 2010-06-15, we haven't really managed to do that, we currently have regressions that are so severe that we think they overshadow the progress that was also made 2010-09-10 10:32 like for example SDL apps don't work, or Qt apps don't work, or both 2010-09-10 10:32 I would assume that the compiler, an essential library, or the kernel was updated after that point? 2010-09-10 10:33 the latest testing image is 2010-08-26 by Mirko and then 2010-09-06 by Xiangfu, but both have serious bugs 2010-09-10 10:33 now it also hurts us that the release process is not fully documented and nailed down, neither is there a definitive app list or test plan :-) 2010-09-10 10:33 I made some corrections and additionals to the build instructions this morning, 2010-09-10 10:33 pretty hard to come out with incrementally better images, without regressions, in that environment... 2010-09-10 10:34 and I noticed in doing so that making a release was scattered across several wiki pages, not directly linked to each other. 2010-09-10 10:34 I imagine I'll continue to clean up as I go. 2010-09-10 10:34 btw, in terms of disk space, a minimal config needed about 3GB for me, the config.full_system one with debug symbols turned on was already 31 GB 2010-09-10 10:34 fantastic. you will become our release hero. 2010-09-10 10:35 I'm using 5.0GB of disk, having checked out openwrt-xburst and openwrt-trunk, plus compiling a build image. 2010-09-10 10:35 How do you turn on debug symbols, is it an option in .config? 2010-09-10 10:36 As I've played with the build I regret not ordering two NanoNotes right away. 2010-09-10 10:36 wolfspraul: (stress) yeah, i've seen that :) just want to know what your plans are. it doesn't run away ;-) 2010-09-10 10:36 [commit] Xiangfu Liu: make copy zImage automatic, update config.xbboot.README http://qi-hw.com/p/openwrt-xburst/dc6bf6b 2010-09-10 10:37 OT: can someone remind me how to scroll up and down in irssi?  (*sheepish*) 2010-09-10 10:38 aisa: just pg-up, pg-down works for me 2010-09-10 10:39 aisa: I gladly create an account for you on our buildhost 2010-09-10 10:39 aisa: what is the question? 2010-09-10 10:39 there's a couple hundred gig of HDD space and a decent, though single-core, Athlon64 compiling away... 2010-09-10 10:39 xiangfu: I would like more details on the instability in the current image. 2010-09-10 10:39 Enough to be able to do some debugging: 2010-09-10 10:40 What do you do to create a problem?  What do you see?  What did you expect to see instead? 2010-09-10 10:40 wolfspraul: I would welcome a better machine to do builds on, I kept my laptop pegged all day yesterday and I had other work to do... 2010-09-10 10:40 (I do data analysis, so my CPU can be precious at times.) 2010-09-10 10:41 do you have a url to your public key, or can you email it to me? what account name do you want? 2010-09-10 10:41 May I have the account name 'a'?  That is what I use on my computers. 2010-09-10 10:41 I will upload my public key and post, one moment. 2010-09-10 10:41 btw, for the images, one thing to keep in mind is that we are currently trying to follow the upstream 'Backfire' release, although it seems some packages have already been upticked beyond Backfire 2010-09-10 10:42 oh good, that answered one of my questions.  Who is working with openwrt to push patches upstream? 2010-09-10 10:42 if we are brave enough, and feel we are wasting our time, we can leave the Backfire path in our 'xburst' branch and track upstream trunk 2010-09-10 10:43 aisa: several people do, mostly mirko (on vacation this month), and larsc (though mostly for the kernel I think) 2010-09-10 10:43 aisa: we have update uClibc to 0.9.32. then some program just hang. even "mkfs.ext2 --help". seems all SDL program not work, 2010-09-10 10:43 xiangfu: we have two branches in openwrt-xburst, 'master' and 'xburst' 2010-09-10 10:43 aisa: here is the "strace mkfs.ext2 --help" for 0.9.30: 2010-09-10 10:43 http://code.bulix.org/2nndcc-77475 2010-09-10 10:43 here is the "strace mkfs.ext2 --help" for 0.9.32: 2010-09-10 10:43 http://code.bulix.org/iobrqc-77476 2010-09-10 10:44 which one is 'master' tracking, and which one is 'xburst' tracking? can we document somewhere how we are tracking? 2010-09-10 10:45 xiangfu: I'm happy to see it is a uClibc problem.  I'm going to be much better at debugging that than if it was a kernel upgrade.  I'm fairly good at how the C library interfaces with the kernel and applications. 2010-09-10 10:46 hmm. 'master' is a clone of svn://svn.openwrt.org/openwrt/trunk/ 2010-09-10 10:46 wolfspraul: 'xburst' follow the svn://svn.openwrt.org/openwrt/branches/backfire 2010-09-10 10:46 wolfspraul: okay root, well ok.. 2010-09-10 10:48 wolfspraul: here is my rsa public key: 2010-09-10 10:48 http://c0redump.org/id_rsa.pub 2010-09-10 10:48 installing sudo 2010-09-10 10:48 xiangfu: what do (or others) think about renaming the 'master' branch to 'openwrt_trunk', and 'xburst' to 'openwrt_backfire'? 2010-09-10 10:49 or just trunk and backfire? 2010-09-10 10:49 maybe with openwrt_ it's more clear 2010-09-10 10:49 I think openwrt_ makes in clearer. 2010-09-10 10:49 xiangfu: are those two upstream paths documented somewhere? and what are the steps to sync down? 2010-09-10 10:49 renaming master to trunk is a bit odd, as that is the same thing but different revision control systems, 2010-09-10 10:50 but by prepending openwrt_ you indicate what branches are really m eant. 2010-09-10 10:50 wolfspraul: I'm updating the wiki now to include the two branches and what they point to. 2010-09-10 10:51 wolfspraul: the 'master' branch sync be me. manually sync sometimes. 2010-09-10 10:52 wolfspraul: 'xburst' lars or Mirko will merge the 'backfire' to 'xburst' manually also I think. 2010-09-10 10:52 can you describe the manual steps somewhere? 2010-09-10 10:52 ok. 2010-09-10 10:53 xiangfu: how about renaming those two branches to openwrt_trunk and openwrt_backfire? 2010-09-10 10:53 aisa: which wiki page you updating? maybe I write the step to the same page :) 2010-09-10 10:53 xiangfu: can i tell openwrt makefile use a .foo folder for tmp stuff instead the system tmp? 2010-09-10 10:53 aisa: try ssh a@fidelio.qi-hardware.com - that's our buildhost 2010-09-10 10:53 a? :) 2010-09-10 10:54 xiangfu: wiki page [[Building Software Image]] 2010-09-10 10:54 yes that's the account name he asked for, and actually I like it, less typing even when setting up the account :-) 2010-09-10 10:54 indeed 2010-09-10 10:54 i like too 2010-09-10 10:54 12 times easier than yours! 2010-09-10 10:54 heehhe 2010-09-10 10:54 you want k? 2010-09-10 10:54 kristianpaul: I had a boss at my first job whose unix name was 'n'.  I was quite inspired by that! 2010-09-10 10:54 wolfspraul: well no bother, i like my nick :) 2010-09-10 10:55 wolfspraul: I am able to log into this system using my rsa key. 2010-09-10 10:55 Will it be ok to document using the system on the wiki? 2010-09-10 10:55 should work, yes. please try. 2010-09-10 10:56 don't understand [document using the system on the wiki?] 2010-09-10 10:56 wolfspraul: hmm... I don't think we need add prefix 'openwrt_', but I am thinking change master --> upstream, xburst --> master 2010-09-10 10:56 wolfspraul: I was thinking something along the lines of: 2010-09-10 10:57 wolfspraul: xiangfu the /tmp problem i had is because a build was a as root i think, then some folder in tmp are root owned, then my build try same file, then.. O_o 2010-09-10 10:57 nightly builds, location of testing workspaces, filesystem layout for the project. 2010-09-10 10:57 kristianpaul: a build was run as root on the buildhost? 2010-09-10 10:58 kristianpaul: I found this: rules.mk:17:TMP_DIR:=$(TOPDIR)/tmp 2010-09-10 10:59 xiangfu: I think those names are even more confusing. we should clearly express the upstream relation in the branch name, imho 2010-09-10 10:59 openwrt_trunk and openwrt_backfire 2010-09-10 10:59 wolfspraul: yes 2010-09-10 11:00 xiangfu: great ! 2010-09-10 11:00 wolfspraul: hmm.. it's git tradition. "master" branch is always the branch you current working on. 2010-09-10 11:00 wolfspraul: it seems 2010-09-10 11:00 or 2010-09-10 11:00 with a user wich is not me 2010-09-10 11:00 that could make sense too 2010-09-10 11:01 any way xiangu pointed the solution 2010-09-10 11:01 wiki has information on trunk and backfire branches: 2010-09-10 11:01 http://en.qi-hardware.com/wiki/Building_Software_Image#Downloading_sources 2010-09-10 11:01 xiangfu: i guess i change that TOPDIR for HOME or something more local? 2010-09-10 11:02 so we can build at same time and no worries about use same temp directories 2010-09-10 11:02 kristianpaul: git diff :) 2010-09-10 11:03 xiangfu: :) 2010-09-10 11:03 i learn a new git command today :D 2010-09-10 11:03 so running multiple openwrt builds in parallel on the buildhost is not safe right now? 2010-09-10 11:04 seems not if my theory is correct 2010-09-10 11:04 xiangfu: yes I know [master]. but this is a public server, shared by multiple people. its only purpose is to track upstream. so I cannot decide which master 'we currently work on', and it's better to have no master at all. 2010-09-10 11:04 as the /tmp is common for the builds 2010-09-10 11:04 that's actually precisely why I would not have a master, to make that clear. different people will use different starting points, or contribute to different branches. 2010-09-10 11:05 wolfspraul: oopenwrt_trunk is ok for me . but openwrt_backfire will make people think it's another backfire branch. not ours 2010-09-10 11:06 openwrt_backfire_ben? 2010-09-10 11:07 http://free-electrons.com/fr/blog/videos-rmll-2010/ (mostly in French) 2010-09-10 11:08 Do I need to wait for a commit before trying to compile an image on the buildhost?  To avoid polluting /tmp? 2010-09-10 11:08 well we need to find out whether there is a /tmp collision problem 2010-09-10 11:08 is there or is there not? how can we fix it? 2010-09-10 11:08 damn I speak super fast 2010-09-10 11:09 I even ran multiple builds in parallel in my user account, ignorant of any /tmp issues :-) 2010-09-10 11:09 This is what is causing the current build image to be unstable :-p 2010-09-10 11:13 hey 2010-09-10 11:13 where do you guys submit the .config for openwrt-xburst? 2010-09-10 11:13 co'o la'oi CongoZombie 2010-09-10 11:14 I see it is in the .gitignore 2010-09-10 11:14 CongoZombie: data/qi_lb60/conf/config.full_system 2010-09-10 11:14 openwrt-xburst/data/qi_lb60/conf/ 2010-09-10 11:14 sweet, thanks 2010-09-10 11:14 wolfspraul: rules.mk:17:TMP_DIR:=$(TOPDIR)/tmp 2010-09-10 11:14 s/co'o/coi/, sorry to be rude :-) 2010-09-10 11:14 I'm trying to configure for the Dingoo, but I've been having trouble getting it to pull our kernel from git 2010-09-10 11:15 don't worry, I'm from the UK ;) 2010-09-10 11:15 bristianpaul: doesn't that mean tmp is in the work area? 2010-09-10 11:16 kristianpaul: yes that's a line in rules.mk, but what does it mean? 2010-09-10 11:16 let me see 2010-09-10 11:16 right, I guess the best way to answer this question is to add debug code and run make :-p 2010-09-10 11:17 wait i can do that i did 2010-09-10 11:20 kristianpaul: xiangfu if I look in /tmp on the buildhost now, I do see some files owned by my user account. it looks very wrong. 2010-09-10 11:20 they seem to be coming from the 'frotz' package 2010-09-10 11:20 so maybe it's just a problem with some setting in the frotz package? 2010-09-10 11:20 wolfspraul: yes thats why i pointed 2010-09-10 11:20 hmm 2010-09-10 11:20 aisa: http://paste.debian.net/89129/ 2010-09-10 11:21 so maybe there is something in the frotz Makefile that is just wrong 2010-09-10 11:21 but i wonder what happen if two build remove a file from the other at the same time.. 2010-09-10 11:21 cause this issue was founded whe just one build running 2010-09-10 11:22 either filenames in /tmp must be totally safe in terms of multiple processes running, or they shouldn't be there 2010-09-10 11:22 ahh yes 2010-09-10 11:22 this seems to be only a problem in the frotz Makefile, I am sure the overall OpenWrt system handles this well 2010-09-10 11:22 the tmo should be in the openwrt-xburst 2010-09-10 11:22 yes 2010-09-10 11:22 you are right wolfspraul 2010-09-10 11:23 there is a $(1) in frotz/Makefile, looks strange 2010-09-10 11:24 well, others have that too... 2010-09-10 11:24 does anybody see what's wrong with the frotz Makefile, if anything? 2010-09-10 11:24 ah frotz is a qipackage 2010-09-10 11:27 wolfspraul: in frotz makefile line 18:  PREFIX = /tmp 2010-09-10 11:27 openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/frotz-2.43/Makefile 2010-09-10 11:28 oh, it's in the frotz sources? 2010-09-10 11:28 so we need to patch it? 2010-09-10 11:33 setting the prefix to a host directory is usually not a good idea anyway 2010-09-10 11:33 it's better to use DESTDIR 2010-09-10 11:33 otherwise any hardcoded paths in the binary will point to build dirs instead of install dirs 2010-09-10 11:35 mth: thanks. now I am re-compile the frotz now for test. 2010-09-10 11:36 wolfspraul: yes. we need patch it. 2010-09-10 11:41 [commit] Xiangfu Liu: [frotz] remove use sytem /tmp dir http://qi-hw.com/p/openwrt-packages/502d2f0 2010-09-10 11:46 xiangfu: hi, do you know perhaps why the empty dir bin/xburst/uboot-xburst-qi_lb60 is created after build? 2010-09-10 11:51 kyak: not look into. let me check the u-boot package :) 2010-09-10 11:51 now 2010-09-10 11:51 kristianpaul: I deleted the 3 dirs in /tmp that were created by my account. 2010-09-10 11:52 ok 2010-09-10 11:53 for now i can disable frotz from my build 2010-09-10 11:53 i dont think i need it 2010-09-10 11:55 wolfspraul: rename done. master --> openwrt_trunk and xburst --> openwrt_backfire : http://projects.qi-hardware.com/index.php/p/openwrt-xburst/source/tree/openwrt_backfire/ 2010-09-10 11:56 oh 2010-09-10 11:56 nice! :-) 2010-09-10 11:56 let's see when/where the complaints will be coming... 2010-09-10 11:57 I think each person is going to have to modify their .git/config file to update the branch names. 2010-09-10 11:59 I believe it is the merge= line in each [branch] section. 2010-09-10 12:01 hm.. what should I do? (not a power user of git) 2010-09-10 12:01 open .git/config 2010-09-10 12:01 there are two lines that say merge = in them. 2010-09-10 12:01 one says refs/heads/master, the other says refs/heads/xburst 2010-09-10 12:01 kristianpaul: /wi 36 2010-09-10 12:02 change them to refs/heads/openwrt_trunk and refs/heads/openwrt_backfire, respectively. 2010-09-10 12:02 kristianpaul: you need to run scripts/feeds update -a && scripts/feeds install -a, then the frotz problem should be fixed 2010-09-10 12:02 aisa: ok, got it.. then i should always "git pull origin openwrt_backfire"? 2010-09-10 12:05 I just type git pull, but I think that one works too. 2010-09-10 12:07 wiki page is updated.  again. 2010-09-10 12:08 xiangfu: if I run a git clone from scratch, I can't checkout at all anymore 2010-09-10 12:09 maybe the 'master' branch better always be there in fact, or some other problem? 2010-09-10 12:09 just try git clone git://projects.qi-hardware.com/openwrt-xburst.git 2010-09-10 12:09 afaik "master" is only a naming convention for the main development branch, like "trunk" in SVN 2010-09-10 12:10 at the end it will say: warning: remote HEAD refers to nonexistent ref, unable to checkout. 2010-09-10 12:10 mth: that's what I thought. just a string. but who knows... 2010-09-10 12:10 git clone [blah] is working for me... 2010-09-10 12:10 wolfspraul:hmm.. just need to "make package/frotz/{clean,compile} " will fix the frotz /tmp problem. since we don't update the frotz's Makefile. we don't need run ./scripts/feeds .... 2010-09-10 12:10 waiting to see what it actually gives me... 2010-09-10 12:11 ah: warning: remote HEAD refers to nonexistent ref, unable to checkout 2010-09-10 12:11 we, uh, need to fix our refs. 2010-09-10 12:12 the problem isn't that master isn't there, but that HEAD thinks it is. 2010-09-10 12:12 wolfspraul: /tmp$ git clone git@projects.qi-hardware.com:openwrt-xburst.git 2010-09-10 12:12 Initialized empty Git repository in /tmp/openwrt-xburst/.git/ 2010-09-10 12:12 remote: Counting objects: 158573, done. 2010-09-10 12:12 remote: Compressing objects: 100% (54247/54247), done. 2010-09-10 12:12 wolfspraul: works fine here. 2010-09-10 12:12 wait for it ;-) 2010-09-10 12:12 wolfspraul: great :) thank ! 2010-09-10 12:12 you'll pull down the repository, but won't be able to check out HEAD. 2010-09-10 12:12 so you'll gave a .git dir, but nothing else. 2010-09-10 12:14 for anyone with commit access: 2010-09-10 12:14 http://stackoverflow.com/questions/1961274/git-warning-remote-head-refers-to-nonexistent-ref-unable-to-checkout 2010-09-10 12:15 I'll be happy to fix it myself if someone wants to give me commit access :-) 2010-09-10 12:16 aisa: do you have an account on projects.qi-hardware.com ? 2010-09-10 12:17 no, one moment. 2010-09-10 12:17 oh, right.  The "sign in or create your account" has no "create your account" option. 2010-09-10 12:17 I tried yesterday. 2010-09-10 12:17 aisa: I update the HEAD by 'git remote set-head origin openwrt_trunk' but it not update the remote git. 2010-09-10 12:18 xiangfu: I think you'll need to make a no-op change to have something to commit. 2010-09-10 12:18 oh, sorry. 2010-09-10 12:18 ignore that. 2010-09-10 12:18 aisa: just go to 'sign in', say 'I am new here', etc. 2010-09-10 12:18 xiangfu: do you have access to the remote directly?  like from the command-line and can run that command there? 2010-09-10 12:18 did you do that? 2010-09-10 12:18 wolfspraul: dur, I see it now. 2010-09-10 12:19 aisa: you mean, this must change at 'terminal' , like edit .git/config?? 2010-09-10 12:19 need to disappoint you, I think Indefero (the software behind the projects server) demands 3 characters minimum for account names :-) 2010-09-10 12:20 wolfspraul: I'll use alanpost, same as my wiki account :-) 2010-09-10 12:20 aisa: yes. I have. 2010-09-10 12:20 and done, btw. 2010-09-10 12:21 xiangfu: I wonder if you should just set the remote there directly, using a similar command. 2010-09-10 12:23 aisa: I need edit the .git/HEAD file right? because that command seems change .git/HEAD file 2010-09-10 12:23 xiangfu: let me experiment to be sure, lest I give you terrible advice... 2010-09-10 12:24 what does cat .git/HEAD say? 2010-09-10 12:24 aisa: very thanks 2010-09-10 12:24 aisa: in my local: it's ref: refs/heads/openwrt_backfire (after run set-head) 2010-09-10 12:24 good, mine too. 2010-09-10 12:24 what about the remote? 2010-09-10 12:25 aisa: remote: [ref: refs/heads/master] 2010-09-10 12:25 aisa: I added you as member to both openwrt-xburst and openwrt-packages 2010-09-10 12:25 you probably need to upload your public ssh key but then at some point you should be able to commit 2010-09-10 12:25 thanks a lot! 2010-09-10 12:26 very motivating to have you here pushing us :-) 2010-09-10 12:26 xiangfu: edit that file, yes.  s/master/openwrt_trunk 2010-09-10 12:26 better openwrt_backfire for now 2010-09-10 12:26 awww... thank you.  I can't tell you how excited I am about the NanoNote, it fills a need I've had that nothing else works for. 2010-09-10 12:28 wolfspraul: where do I upload my public key at?  I see also there is a way to link gravatar information, I imagine it is in same place.  But I do not see it. 2010-09-10 12:29 aisa: prefences 2010-09-10 12:30 kristianpaul: I don't see that on my screen. 2010-09-10 12:30 sorry not wait 2010-09-10 12:30 I have Sign Out | Project List | Help 2010-09-10 12:31 hmm 2010-09-10 12:31 wolfspraul, aisa: done and tested. 2010-09-10 12:32 fantastic.  let me try to download the whole thing again to test. 2010-09-10 12:33 aisa: click you name  after the "Welcome" 2010-09-10 12:33 xiangfu: that's it!  Yay! 2010-09-10 12:33 aisa: then at left (maybe the third line) : Update your account. 2010-09-10 12:34 aisa: no need to config gravatar. it's automatic link to yours by indefero system. 2010-09-10 12:35 Odd: 2010-09-10 12:35 a@fidelio:~/wa/test/openwrt-xburst$ git branch -r origin/HEAD -> origin/openwrt_backfire origin/openwrt_backfire origin/openwrt_trunk 2010-09-10 12:35 a@fidelio:~/wa/test/openwrt-xburst$ git checkout --track -b openwrt_backfire origin/openwrt_backfire 2010-09-10 12:35 fatal: git checkout: branch openwrt_backfire already exists 2010-09-10 12:36 aisa: no need to checkout to openwrt_backfire anymore. 2010-09-10 12:36 xiangfu: should we update the wiki page to say git checkout --track -b local_backfire origin/openwrt_backfire ? 2010-09-10 12:36 aisa: I setup the HEAD to openwrt_backfire. 2010-09-10 12:37 xiangfu: yes but I think people should create a local branch, no? so they can commit locally etc. 2010-09-10 12:37 wolfspraul: no need to checkout a new branch anymore. 2010-09-10 12:37 you shouldn't directly operate on a remote branch I think 2010-09-10 12:37 there's no 'need' but I thought it makes things easier, no? 2010-09-10 12:39 aisa: you could say git checkout --track -b local_backfire origin/openwrt_backfire, but let's see whether xiangfu or others think that's not needed. 2010-09-10 12:39 please no, i relly apreciate a stable branch to work on localy 2010-09-10 12:39 really* 2010-09-10 12:40 yes and then i can creame my loca branch to work locally 2010-09-10 12:41 kristianpaul: so you are saying the wiki should advise to create a local tracking branch or not? 2010-09-10 12:41 wolfspraul: yes i do 2010-09-10 12:42 my point is i'll like have the source for the image my Ben nano have the be ablo to hack around 2010-09-10 12:42 and sure if i want something more bleeding edge in develoment i can checkout devel brnahc 2010-09-10 12:42 and take my risks :) 2010-09-10 12:42 wolfspraul: hmm... for the READ-ONLY user. no need to create a new branch. becuase he don't have right to commit. 2010-09-10 12:43 yes but there is no harm either. create it once, done. 2010-09-10 12:43 for the READ-WRITE users. I think it's depends personal habit 2010-09-10 12:43 so rather have some instructions on the wiki everybody follows and everybody is safe. 2010-09-10 12:43 wolfspraul: ok. 2010-09-10 12:44 I'll edit the wiki. let's just call it local_backfire 2010-09-10 12:44 wolfspraul: local_backfire does work. 2010-09-10 12:44 I can't see why it thinks I have a local branch called openwrt_backfire... :-( 2010-09-10 12:45 is that 'git fetch origin' actually needed right after git clone? 2010-09-10 12:45 no. 2010-09-10 12:45 if nobody objects, let's take it out from the wiki steps then 2010-09-10 12:45 I agree with kristianpaul, I need a local branch.  I make lots of small commits and then package them up to ship them out. 2010-09-10 12:45 I don't object, remove it. 2010-09-10 12:45 make sure you get both of them. 2010-09-10 12:46 xiangfu: do you agree we can remove the 'git fetch origin' in the wiki? 2010-09-10 12:46 I am not 100% clear what it does, but it looks like not needed here... 2010-09-10 12:47 wolfspraul: we can remove one. 2010-09-10 12:47 i think is just to make sure the local repo is up to date to the remote branch 2010-09-10 12:48 kristianpaul: no. it's fetch all remove branch to local. 2010-09-10 12:48 for example: 2010-09-10 12:48 1. git clone git://projects.qi-hardware.com/openwrt-xburst.git 2010-09-10 12:49 then we only have origin/openwrt_backfire. but we don't have the origin/openwrt_trunk branch. 2010-09-10 12:49 really? 2010-09-10 12:49 well maybe we should leave it in then 2010-09-10 12:49 don't have it in local. 2010-09-10 12:49 then it sounds better to leave it in 2010-09-10 12:50 kristianpaul: up to date is "git pull origin ...." 2010-09-10 12:51 xiangfu: ah ok 2010-09-10 12:51 if that's true I suggest to leave it in, so that someone unsuspecting who thinks he has everything now won't suddenly need to go online when looking for something in the trunk branch, only to discover that there was some detail he overlooked when 'getting the sources'. 2010-09-10 12:51 fecth is not pull i see 2010-09-10 12:51 I won't touch it now... it's a wiki :-) 2010-09-10 12:51 if someone feels strongly it shouldn't be there - delete it 2010-09-10 12:54 by the way . we should run "git remote prune origin" in local to remove the useless remote branch. or the 'master' and 'xburst' will be still there. 2010-09-10 12:57 hmm 2010-09-10 12:58 kristianpaul: is there 'master' or 'xburst' in [git branch -a] ?? 2010-09-10 12:58 xiangfu: both 2010-09-10 12:58 ahh wait 2010-09-10 12:58 i miss -a 2010-09-10 12:58   master 2010-09-10 12:58 * xburst 2010-09-10 12:58   remotes/origin/HEAD -> origin/master 2010-09-10 12:58   remotes/origin/openwrt_backfire 2010-09-10 12:58   remotes/origin/openwrt_trunk 2010-09-10 12:58 xiangfu: ^ 2010-09-10 12:58 (btw, regarding /tmp, assuming the system is quiet and it's okay to risk upsetting it: mkdir -p $HOME/tmp; export TMPDIR=$HOME/tmp; sudo chown 750 /tmp; then see what happens :) 2010-09-10 12:59 wolfspraul: the tmp is on openwrt folder 2010-09-10 12:59 kristianpaul: ok. then not need "git remote prune origin", but you need "git remote set-head origin openwrt_backfire" :-) 2010-09-10 12:59 wolfspraul: you mean a home/tmp jsut in case? 2010-09-10 13:00 kristianpaul: you mean me ? :) 2010-09-10 13:00 wpwrak: you 2010-09-10 13:00 kristianpaul: i meant just to take away access to the "bad" tmp (thought you guys meant /tmp). so anything that tries to access it will fail. 2010-09-10 13:00 ah ok 2010-09-10 13:01 yes i see the point now :) 2010-09-10 13:01 i must leave see you on monday :) 2010-09-10 13:02 of course, you better hope it doesn't do things like ... cd /; cd tmp; cd my_dir; rm -rf *   :-) 2010-09-10 13:02 lol 2010-09-10 13:02 (of course, if it does, it may be rather interesting to find about that, too :) 2010-09-10 13:03 kristianpaul: have a nice offline weekend ! :) 2010-09-10 13:03 I will continue with hopefully cleaner OpenWrt configs tomorrow... n8 everybody 2010-09-10 13:04 co'o la'oi wolfspraul 2010-09-10 13:06 noches wolfspraul 2010-09-10 14:54 larsc: if i get a project's kernel tree that tracks upstream, what would be a quick way to find out if it has decent support for the Ben ? e.g., what file(s) should i look for that have/has the "latest important changes" ? 2010-09-10 14:59 larsc: ah, i think i found it. arch/mips/jz4740/Kconfig should be a good hint. hmm, seems linux-zigbee won't catch up before 2.6.36. 2010-09-10 18:12 urandom__: hi 2010-09-10 18:12 tuxbrain2 oh hi 2010-09-10 18:13 sorry I ask you a question about the port on supertux, but I can't connect until today 2010-09-10 18:13 what's the status on it? any port on openwrt or jlime? 2010-09-10 18:15 there is a supertux version for dingoo i got to work on nanonote but it crashed when you had done a level, shouldnt be to hard to fix i think 2010-09-10 18:17 I'm collecting cool games to include on NN , until now I got prboom, hexen, heretic, gnurobo(really addictive), blockrage,  running awesomly on jlime 2010-09-10 18:17 also freenukum 2010-09-10 18:19 I hope when bartbes finish also to port love, we can increase the number, but super tux will be a really hot stuff to include. 2010-09-10 18:20 supertux shouldnt be much work, its just someone has to do it and i dont feel like it 2010-09-10 18:24 well guys, two really intensive days in valencia spreading the copyleft hardware word to a crowd of very interested university and enterprise guys on embedded computer, to much tired, but very happy, I think a bunch of SIE boards will have soon home in various universities in south of spain, and new company espcializedn in artificial vision willing to collaborate on Milkymist  proyect on the FPGA part, with an eye on Xue. now time to some sleep. 2010-09-10 18:24 urandom__: ok no problem we will find out a solution :) regards and goodk8 2010-09-10 18:26 btw: Nanonote was the start in our table in the clousurance dinner you will see the pics later on 2010-09-10 18:26 start->star 2010-09-10 19:02 tuxbrain_away: what are the criteria for inclusion? openMSX (MSX emulator) is GPL and the BIOS it uses is BSD licensed; there is a lot of freeware MSX software to run on it but most of that does not come with sources 2010-09-10 21:22 what happens here to the XATTRS option in the Makefile looks a bit suspect: https://dev.openwrt.org/browser/trunk/target/linux/generic/patches-2.6.35/006-squashfs_add_lzma.patch 2010-09-10 21:46 I'm trying to make my first commit openwrt-packages.  *crosses fingers* 2010-09-10 21:47 aisa: after sleeping over my suggestion last night, now I believe the branch names tracking_trunk and tracking_backfire would be better :-) 2010-09-10 21:47 I need to become more calm... 2010-09-10 21:47 ha!  all right. 2010-09-10 21:47 well, we fixed it once already... 2010-09-10 21:47 have you made the change yet? 2010-09-10 21:47 new change, that is. 2010-09-10 21:47 no, not again. I'm quiet. 2010-09-10 21:48 When I try to commit, 2010-09-10 21:48 but personally I now agree Xiangfu was right, openwrt_backfire may make some people believe that this is in fact the openwrt_backfire repository, but it is not. 2010-09-10 21:48 I'm currently getting an error message. 2010-09-10 21:48 tracking_backfire would be clearer 2010-09-10 21:48 I can agree to this, it is a very good point. 2010-09-10 21:48 ok, what do you get? 2010-09-10 21:48 well, I pulled this repository anonymously. 2010-09-10 21:49 you can try to edit .git/config 2010-09-10 21:49 using git pull this way, 2010-09-10 21:49 it works. 2010-09-10 21:49 but yes, I want to add my username. 2010-09-10 21:49 url, should be url = git@projects.qi-hardware.com:openwrt-xburst.git 2010-09-10 21:49 is it my projects.qi-hardware.com username?  alanpost?  or is it my unix account name, 'a'? 2010-09-10 21:50 can you look in your .git/config, see what the url is and change it to the one I just wrote? 2010-09-10 21:50 it is now: 2010-09-10 21:50 git://git@projects.qi-hardware.com/openwrt-packages.git 2010-09-10 21:50 url = %s 2010-09-10 21:51 I get: 2010-09-10 21:51 change it to mine 2010-09-10 21:51 Unable to look up git@projects.qi-hardware.com (port 9418) (Temporary failure in name resolution) 2010-09-10 21:51 url = git@projects.qi-hardware.com:openwrt-xburst.git 2010-09-10 21:52 awesome, ok.  Now I get: 2010-09-10 21:52 git@projects.*/openwrt-packages.git': unable to chdir or not a git archive 2010-09-10 21:52 did you really change it to mine? 2010-09-10 21:52 post yours again (the one above looked wrong too btw) 2010-09-10 21:52 no, no I didn't.  fixing *again*... 2010-09-10 21:53 there is a ':' after the domain name now 2010-09-10 21:53 indefero uses two systems, one unauthenticated, one authenticated 2010-09-10 21:53 the unauthenticated one uses the git:// protocol 2010-09-10 21:53 ah, I must upload my private key to my test machine, haha. 2010-09-10 21:53 the authenticated one uses the 'git' user account over ssh, then compares with the public key you sent to which projects you have access 2010-09-10 21:54 [commit] Alan Post: Create package for makfa, the Lojban dictionary. http://qi-hw.com/p/openwrt-packages/f4fa2d5 2010-09-10 21:54 Hey!  That's me! 2010-09-10 21:54 there you go 2010-09-10 21:55 congratulations! 2010-09-10 21:55 Obviously, I could not test this package, as my NanoNote is still 1000 miles away. 2010-09-10 21:55 But I tested what I could. 2010-09-10 21:55 maybe you are the first NanoNote customer ever to commit a package before even receiving the device. 2010-09-10 21:59 aisa: btw, when you get the device and turn it on - don't worry about the flickering. it's a software bug :-) 2010-09-10 21:59 the LCM itself is rock stable, we have been able to fix some of those bugs recently so newer images should be better 2010-09-10 22:01 Sorry, I was afk.  I am happy to be the first to commit a package before receiving my device! 2010-09-10 22:02 I wanted to ask: 2010-09-10 22:02 I'm going to get my device, then I will be away from the internet for several days. 2010-09-10 22:02 I guess I should not flash the machine, and deal with the flickering, 2010-09-10 22:02 and then flash when I come back and start to debug the instability. 2010-09-10 22:02 As in, the testing images aren't stable enough to play around with? 2010-09-10 22:02 hmm 2010-09-10 22:03 most of the 'playing around' with will be flashing & trying (installing) software 2010-09-10 22:03 you should try Jlime and Debian too, if you are really adventurous even Iris? 2010-09-10 22:03 but all of this will require internet access, download this and that 2010-09-10 22:04 that's exactly our big problem, that as of today we haven't been able to bring a lot of good stuff into _one_ image in NAND, and ship devices like that 2010-09-10 22:04 maybe Jlime actually has the best all-around experience right now 2010-09-10 22:04 I don't know, hard to compare 2010-09-10 22:04 Debian also of course, but it's very slow, slow boot time, too little memory 2010-09-10 22:05 aisa: if you can generate a NAND image, qemu-jz should be able to run it 2010-09-10 22:05 interesting.  I read that you selected OpenWRT because it was what you used on OpenMoko and were therefor familiar with it. 2010-09-10 22:05 I certainly have an interest in having a stable platform to build from. 2010-09-10 22:06 the NanoNote should have a 06-15 image on it. I doubt you can spend several days just with it (offline). 2010-09-10 22:06 I've merged the JZ4740 support with a recent qemu here: http://github.com/mthuurne/qemu-dingoo 2010-09-10 22:06 and added things like support for larger NAND chips 2010-09-10 22:06 aisa: that's what we are working on here, to fill those 2 GB with some really valuable stuff! :-) 2010-09-10 22:08 aisa: for OpenWrt vs. OpenEmbedded, it's a long story 2010-09-10 22:08 The last time I was involved in embedded linux, it was with OpenEmbedded.  But that was many years ago. 2010-09-10 22:08 what I like about OpenWrt is that it seems to function well as a kernel development and upstreaming environment 2010-09-10 22:09 mth: I've "watched" your github project to bookmark it, so I can come back to it. 2010-09-10 22:09 maybe because of the way the patches are managed, in individual files etc. 2010-09-10 22:09 then it's easier to make images with fast bootup times 2010-09-10 22:10 I don't like bitbake (a tool in OpenEmbedded), feel much more comfortable with the Makefile driven approach in OpenWrt. 2010-09-10 22:10 but then, the Jlime people use OE and they are able to make great images 2010-09-10 22:11 The thing I notice about OpenWRT is that it is very basic. 2010-09-10 22:11 So if you want an advanced runtime environment, there is a lot of work to do on the infrastructure. 2010-09-10 22:11 I would have no problem reflashing Jlime onto NanoNotes and shipping them out like that, as long as the patent problems are addressed (another story), and maybe in a dual-boot config with OpenWrt? don't know... 2010-09-10 22:11 aisa: what are you missing mostly? 2010-09-10 22:11 Oh, I'm going to have to write packages for nearly everything I want.  My version 1.0 dream is to have an environment to study lojban. 2010-09-10 22:11 this means: dictionary, parser, and flashcard program. 2010-09-10 22:11 I just uploaded the dictionary. 2010-09-10 22:12 NanoNote will very easily support this. 2010-09-10 22:12 My longer term dream is to have a Tex environment and the ability to view .dvi files. 2010-09-10 22:12 I want to display typeset text with embedded images. 2010-09-10 22:13 basically, I want to display the following .pdf file: 2010-09-10 22:13 http://lodockikumazvati.org/le_vajrai_se_tadni/ 2010-09-10 22:13 Outside of being a study platform, I kind of plan to stick to the terminal: 2010-09-10 22:14 vi, wordgrinder, and sc. 2010-09-10 22:14 I'm in the middle of writing up longer-term vision type documents. 2010-09-10 22:14 As to what kind of environment I'd like to see. 2010-09-10 22:14 I don't really know if it will be broadly appealing. 2010-09-10 22:17 just reading about Lojban on Wikipedia :-) 2010-09-10 22:17 interesting, never heard about it 2010-09-10 22:17 ah, wonderful. 2010-09-10 22:18 I think we already have a lot of stuff working on the NanoNote, just not all coming together in one image. 2010-09-10 22:18 so if you can help with that process (which you started with already) - great! 2010-09-10 22:18 Well, that means at least there are patches to make something work. 2010-09-10 22:19 I'm quite happy to work on making the images generally better, 2010-09-10 22:19 while pursuing the packages I'm personally interested in. 2010-09-10 22:19 well give you one example. there are 85 subdirectories (apps or libs) in openwrt-packages now 2010-09-10 22:20 they were all specifically done for the Ben NanoNote, otherwise how could they end up on the qi server 2010-09-10 22:20 and they all worked at some point, for someone, in their build environment 2010-09-10 22:20 but as of right now, 22 are marked BROKEN 2010-09-10 22:20 I find it odd they aren't first arranged by category, because as more get added... 2010-09-10 22:20 Oh wow. 2010-09-10 22:20 that is too bad. 2010-09-10 22:20 and from the other 63, there may be a lot that just build, but don't really work 2010-09-10 22:20 because: 2010-09-10 22:20 no definitely app list to check release images against, so things 'drop out' 2010-09-10 22:21 config file system broken, config files are too big and changing too much so diffs are huge and cannot be reviewed 2010-09-10 22:21 no test plan, so it's nearly impossible to avoid regressions in images, because nobody even knows what to test :-) 2010-09-10 22:21 my config file system, do you mean /etc/* or do you meen config.full_system? 2010-09-10 22:21 OpenWrt configs 2010-09-10 22:21 s/my config/by config/ 2010-09-10 22:21 yes, ok. 2010-09-10 22:22 What is the one sentence or one paragraph vision of Ben NanoNote? 2010-09-10 22:22 I ask because I need to keep a vision in mind as I work on this, 2010-09-10 22:22 people have done some cool stuff, like imgv, NanoMap 2010-09-10 22:22 so I can use it to make decisions. 2010-09-10 22:23 Also, after answering that, please make this idea better.  It is the best one I've got: 2010-09-10 22:23 What if we created an x86-flavor of our build, something we could run in qemu?  That way we could test without having to flash a device? 2010-09-10 22:23 My second-best answer is to keep a device plugged into a build computer for testing. 2010-09-10 22:24 I prefer to make working with the device easier, faster. 2010-09-10 22:25 This is good.  I saw on the wiki brainstorm sessions about use cases.  That was very valuable, but a clear vision did not emerge from it, as far as a target market. 2010-09-10 22:25 to which I could ask: What are we making easier? 2010-09-10 22:25 easier to hack on?  easier to use for a particular task? 2010-09-10 22:27 for now I can only describe the technical challenges, it's too early for me to focus on applications as seen by the user. of course that is the goal later. 2010-09-10 22:28 that is perfect.  It gives me a very clear idea about what is next. 2010-09-10 22:28 on the technical side, updating the software on the device is still very weak, and syncing data with a notebook/desktop is also weak. 2010-09-10 22:28 I agree. 2010-09-10 22:28 those are 2 big areas that are very important and a foundation for anything that comes later. 2010-09-10 22:28 how to update, how to sync 2010-09-10 22:29 I remember watching SquashFS projects wither on the vine for this very reason. 2010-09-10 22:31 It isn't clear to me what kind of relationship we have with openwrt. 2010-09-10 22:31 namely about getting patches moved upstream. 2010-09-10 22:31 Is anyone at qi-hardware also on the openwrt project? 2010-09-10 22:33 yes there is overlap. Qi hardware is a copyleft hardware project, OpenWrt is a free software distribution. 2010-09-10 22:33 so in a perfect world, we could just always use OpenWrt upstream to build our software. but realistically we may want to keep some local stuff, like the config files, maybe some experimental/development boards that OpenWrt is not interested in, etc. 2010-09-10 22:34 I think you are correct. 2010-09-10 22:34 but I would like to get anything into a state and quality that it would become acceptable in OpenWrt proper 2010-09-10 22:34 This is good to know.  And I like this plan. 2010-09-10 22:34 in fact some people do XBurst hacking right in OpenWrt upstream. 2010-09-10 22:35 there are two repositories: openwrt-xburst and openwrt-packages 2010-09-10 22:35 openwrt-packages will not go upstream, unless some other package feed wants to carry these packages. openwrt-packages is to get new packages, new apps, into OpenWrt 2010-09-10 22:36 That was a question of mine. 2010-09-10 22:36 so if a package already exists somewhere else (as a feed), and we want changes, we would try to send our patches to that location 2010-09-10 22:36 It seems we have a mission slightly different from OpenWRT. 2010-09-10 22:36 we had this once with joe & qijoe, I forgot the details of the solution but there was some solution. 2010-09-10 22:36 We want features that may not be appropriate for wireless routing. 2010-09-10 22:37 sure we are building images for specific devices, but OpenWrt is a build system 2010-09-10 22:37 That helps me very much, thank you. 2010-09-10 22:37 OpenWrt is not just for routers, I think it's fair to say that that is only the origin nowadays. 2010-09-10 22:37 good. 2010-09-10 22:37 so with openwrt-xburst, it's a bit different. ideally the diff between that and upstream should be zero. 2010-09-10 22:38 if it's not zero, we will work towards zero, unless there are really one-off or Qi-specific things like config files, prototype boards and such 2010-09-10 22:38 so in the upstream strategy, openwrt-xburst and openwrt-packages are very different 2010-09-10 22:38 openwrt-packages is a permanent OpenWrt package feed with new apps that we couldn't find in other package feeds 2010-09-10 22:38 Yes, I am happy to hear this.  It matches what I would want to see. 2010-09-10 22:39 if a package is in openwrt-packages that also shows up elsewhere, we should try to reconcile with that repository 2010-09-10 22:39 the 'qijoe' package needs to be cleaned up, we don't want to prefix packages with 'qi' (there was a big thread about this, like I said I forgot the details of the solution) 2010-09-10 22:42 The actionable direction I have taken from this conversation is this: 2010-09-10 22:42 That we need to document and formalize our build system, and in so doing improve our testing procedures. 2010-09-10 22:43 The measure of how well we do this is in the number of packages not marked broken, and perhaps the number of packages included in the base system image. 2010-09-10 22:43 Oh, and that the first goal is to make it easier to move data between a Ben NanoNote and another computer: images, repositories, packages, and data. 2010-09-10 22:45 for the last one more specifically, how to update software on the Ben, how to sync (backup) user/original data from the Ben 2010-09-10 22:45 'move data' sounds very abstract 2010-09-10 22:46 Good, thank you.  I'm going to clean this up and put it on my product backlog.  Probably at this point as a theme rather than a task. 2010-09-10 22:46 I will decompose it into tasks as I get there. 2010-09-10 22:46 http://openusbfxs.wordpress.com/2008/11/03/control-alt-delete-a-bit-of-history/ 2010-09-10 22:47 that's an inspiring open hardware story 2010-09-10 22:47 about an amateur 2010-09-10 22:47 breaking into the game 2010-09-10 22:49 nebojoth: what is FXS? 2010-09-10 22:51 nebajoth: did you plan to come out with a new Debian image? do you have a rough timeline how you think this could play out? 2010-09-10 22:51 will it be uploaded to the nanohacks site?//////// 2010-09-10 22:51 I compiled 2.6.36 a couple weekends ago 2010-09-10 22:51 it didnt boot 2010-09-10 22:52 I havent debugged yet 2010-09-10 22:52 debian rootfs needs more love than I can give it atm 2010-09-10 22:52 timeline = dismal 2010-09-10 22:53 nebajoth: what do you mean by needs more love re: debian rootfs? 2010-09-10 22:55 nebajoth: no problem then get to it later... 2010-09-10 22:55 let's see how the patchset in openwrt gets reduced after 2.6.36 2010-09-10 22:55 moar people with moar unbroken extents of time 2010-09-10 22:55 that may give you some clues as to why it doesn't boot 2010-09-10 22:55 I'm somewha short on periods of deep concentration 2010-09-10 22:56 I'm literally typing one-handed with a one month old baby girl in my other arm 2010-09-10 22:56 babby no likey nanonote 2010-09-10 22:56 not yet anyway 2010-09-10 22:57 wolfspraul: I've summarized our conversation in my backlog: 2010-09-10 22:57 http://en.qi-hardware.com/wiki/User:Alanpost/Backlog#Backlog_Vision 2010-09-10 23:00 nice! 2010-09-10 23:00 You can say that again when we achieve the goal :-D 2010-09-10 23:01 aisa: do you have a problem in naming the 2 branches in openwrt-xburst tracking_trunk and tracking_backfire? 2010-09-10 23:01 when xiangfu is back I will ask him what he thinks :-) 2010-09-10 23:01 I think tracking is a better name, so I support this. 2010-09-10 23:02 I'm surprised no one complained in the last many hours on the mailing list. 2010-09-10 23:02 so we should take advantage of this and rename them again! 2010-09-10 23:02 we haven't emailed the list yet (quite a few people will need to update their local repos), so renaming again quickly should do little damage 2010-09-10 23:02 yes, that's exactly how I think :-) 2010-09-10 23:02 well there are not that many people who have the tree locally, maybe 10-20 I would estimate 2010-09-10 23:03 I'm really amazed you build this device with so few people.  You're really awesome. 2010-09-10 23:03 and not many active contributors _right now_, partially because the process of stuff getting into images is very slow, so it doesn't encourage quick feedback and progress 2010-09-10 23:03 the last usable image was 06-15, 3 months ago :-) 2010-09-10 23:03 As soon as we fix that we'll have to decide what is worthy of being in the image. 2010-09-10 23:03 not that I'm saying we shouldn't get there as soon as we can. 2010-09-10 23:03 so you can imagine even someone who commits an app doesn't expect feedback, or the need for a better version, for at least 'a couple of months' 2010-09-10 23:04 maybe we are overdoing the SlowFi lifestyle a bit 2010-09-10 23:04 Was this true of the Neo too?  Or is it unique to the NanoNote? 2010-09-10 23:04 if a new image could come out once a month, or later even some other way to upgrade software (smoother, not needing a full reflash), that would be cool 2010-09-10 23:05 I agree. 2010-09-10 23:05 Of course, a new image coming out every month will also mean we'll need something interesting. 2010-09-10 23:06 either from upstream or packages that people have written. 2010-09-10 23:06 oh there is tons of stuff 2010-09-10 23:06 but releasing often can come first. 2010-09-10 23:06 we just have to package it right 2010-09-10 23:06 that's what we are talking about here 2010-09-10 23:06 good, ok. 2010-09-10 23:06 too many regressions so far, too much chaos over which apps are in, out, broken, buggy, etc. 2010-09-10 23:08 if I see all the individual success stories of people talking about app a, b, c, and imagine we could have all this happiness in one image - WOW! 2010-09-10 23:08 that's the challenge 2010-09-10 23:08 I learned a lot from the lesson's learned document posted on the wiki. 2010-09-10 23:13 aisa: makfa-cli has no license? 2010-09-10 23:14 It doesn't in the source code. 2010-09-10 23:14 It does, in a looser sense, 2010-09-10 23:14 in that it is hosted on github.org, which I believe has a standard by which to judge a project. 2010-09-10 23:14 that's not good, we do need to clarify that quickly. I would hesitate to include software with unclear licensing in the images, package repositories or Qi servers 2010-09-10 23:14 Oh indeed. 2010-09-10 23:14 ah no worries you are doing the right thing, emailing the author etc. 2010-09-10 23:14 If I don't get an answer, I'll either pull it or just never include it in the install. 2010-09-10 23:14 yes we need to spend some time to clarify this 2010-09-10 23:15 I will say that everyone in the Lojban community uses this program, so I believe it is an honest oversight. 2010-09-10 23:15 sure, like I said I appreciate you are going after this. it's good! 2010-09-10 23:15 we really try to do a very clean and proper job on the freedom side. 2010-09-10 23:16 I notice we don't even, say, link to the debian free software guidelines. 2010-09-10 23:16 a BSD license would be enough, even public domain :-) 2010-09-10 23:16 so we don't have official guidance on the wiki, as to what our definition of free software is. 2010-09-10 23:16 but the author has to clarify the license 2010-09-10 23:17 it's funny but Debian includes patented codecs that can cause problems for us, so in general we avoid direct links to it 2010-09-10 23:17 there's nanohacks.org :-)00000 2010-09-10 23:17 aha, I didn't know that. 2010-09-10 23:17 I just discovered this site :-) 2010-09-10 23:17 that is nebajoth's site, not very active right now but he will definitely get back to it later, I think 2010-09-10 23:27 for sure 2010-09-10 23:27 I'm down but I'm not out 2010-09-10 23:28 when I try to power on the NN, it says "Wrong Image Format for bootm command" 2010-09-10 23:29 ERROR: can't get kern!@#*$(@#)$* 2010-09-10 23:29 wiggle the cord? 2010-09-10 23:29 :-( 2010-09-10 23:29 no, I'm sure I've compiled the kernel wrong 2010-09-10 23:29 its 2.6.36 2010-09-10 23:29 it was my first kernel compile for the unit 2010-09-10 23:29 bound to fail 2010-09-10 23:29 just not sure yet what I did wrong, as I haven't had time to investigate too closely 2010-09-10 23:30 its not a built environment failure, since I compiled ON the nanonote itself 2010-09-10 23:30 nebajoth: how long did that take? 2010-09-10 23:31 I recorded it, but its on the other computer 2010-09-10 23:31 I believe it took about 4-5 hours 2010-09-10 23:31 iirc 2010-09-10 23:31 not too bad 2010-09-10 23:31 actually I was pleasantly surprised 2010-09-10 23:31 I do remember that 2010-09-10 23:31 I expected it to be still going when I woke up the next day 2010-09-10 23:31 I intentionally did it last thing before bed 2010-09-10 23:31 it'd be faster if it didn't have to swap to the sd card 2010-09-10 23:32 I bet 2010-09-10 23:33 I had zram compiled in and used the new mainline nanonote support and everything 2010-09-10 23:33 I wonder if I didn't prepare the resultant kernel image in the proper way 2010-09-10 23:33 wow nice, but... :-) it didn't boot :-) 2010-09-10 23:33 yeah 2010-09-10 23:33 almost only counts in handshoes and hand grenades 2010-09-10 23:33 "almost" only counts 2010-09-10 23:34 oh and curling 2010-09-10 23:34 and maybe darts 2010-09-10 23:34 its a stupid saying 2010-09-10 23:34 horse shoes 2010-09-10 23:34 http://www.buzzfeed.com/furyus/japanese-bed-intruder-cover-3bm