#qi-hardware IRC log for Monday, 2010-09-13

qi-bot[commit] Xiangfu Liu: update build script file. checkout to tracking_backfire branch http://qi-hw.com/p/openwrt-xburst/688336301:07
qi-bot[commit] Wolfgang Spraul: shorter config.xbboot, uses make oldconfig http://qi-hw.com/p/openwrt-xburst/1d326c601:32
qi-bot[commit] kyak: mupdf, jbig2dec and openjpeg as prerequisites of nupdf. http://qi-hw.com/p/openwrt-packages/bbe023701:49
qi-bot[commit] kyak: fbterm and jfbterm are now sharing unifont.pcf.gz http://qi-hw.com/p/openwrt-packages/383b52702:39
rafawpwrak: hey03:08
rafawpwrak: which subtle advertizing ?03:08
rafawpwrak: dd.. no idea.. if mkswap does that then it is something new for me03:09
rafa:)03:09
rafa(and i am an old admin :D)03:23
wpwrakrafa: (advertizing) setting the prompt to "Jlime". good product placement :)05:19
wolfspraulxiangfu: maybe you have seen the new config.miminal and config.xbboot style?05:45
wolfspraulI have experimented a bit with make oldconfig in OpenWrt, and so far it works quite well05:45
wolfspraulOpenWrt has no silentoldconfig so the way to get the config files picked up is yes ""|make oldconfig>/dev/null05:46
wolfspraulmaybe they can introduce a silentoldconfig later if they want05:46
wolfspraulI will now commit the new, much shorter, config.full_system05:46
wolfspraulonly 8 KB instead of 110 KB05:46
wolfspraulwhat we still need to do over time is to cleanup config.full_system inside - order apps and libraries in meaningful groups, for some document what they are, etc.05:47
wolfspraulI am currently running a full build with the new, shorter config.full_system, but will commit it already05:48
wolfspraulcheck it out and let me know what you think...05:48
qi-bot[commit] Wolfgang Spraul: shortened config.full_system by using make oldconfig http://qi-hw.com/p/openwrt-xburst/f697e2105:50
xiangfuwolfspraul: I also try 'make oldconfig' today.06:04
xiangfuI am test the your commit now. :)06:04
wolfspraulit works quite well I think06:04
wolfspraulit seems to ignore comment lines (though gives warnings on empty lines :-))06:04
wolfspraulno silentoldconfig unfortunately, but once you know the yes "" thing it works quite well06:05
wolfspraulI am currently running a test build with the config.full_system I just committed, should finish in a few hours.06:06
wolfspraulif it produces a bootable image, I will then spend a few hours to reorder/group the config file in meaningful groups06:06
wolfspraulat that point we hopefully have a basis that people can easily and quickly add meaningful apps and libraries too06:06
wolfspraulthat's my plan roughly...06:07
wolfspraulthen I still need an image for my reflashing job which starts tomorrow. Any progress on the sdl/qt bugs?06:08
xiangfuno.06:08
xiangfuhard to find.  I search a lot. but I can  not find a answer.06:09
wolfspraulwell I think we just need classical debugging tools. debug symbols, gdb/gdbserver, etc.06:09
wolfspraulI created a config.minimal, did you see that?06:10
xiangfuwolfspraul: I will remove the 'ubi-utils' in openwrt-package.git.  which is the same 'mtd-utils' in openwrt.06:10
xiangfuyes. I saw the config.minimal06:10
wolfspraulI'm not sure whether it's the same. is it really?06:10
wolfspraulI thought there are different tools in ubi-utils that are not in mtd-utils. Do they point to the same upstream sources?06:10
wolfspraulfor config.minimal, my plan is to only add one app, say NanoMap, or imgv, but turn all debug symbols on. the image is then still relatively quick to build.06:11
wolfspraulthat way hopefully it's possible to zoom in on bugs quickly06:11
xiangfumtd and ubi point to the same upstream sources.06:17
wolfsprauloh06:18
wolfspraulhmm06:19
wolfspraulis ubiformat in mtd-utils?06:19
xiangfuyes06:19
wolfspraulwell then, I think when we created ubi-utils there was some problem with mtd-utils06:19
wolfspraulmaybe that has been resolved since - so yeah, let's delete ubi-utils06:19
wolfsprauldo you know how we can display the diff between tracking_backfire and openwrt backfire, and between tracking_trunk and openwrt trunk?06:20
xiangfuhmm.. we need add two remote git url for diff. for example tracking_trunk...openwrt_trunk06:24
xiangfu1. git remote add upstream git://nbd.name/openwrt.git06:24
xiangfu2. git fetch upstream06:24
xiangfu3. git checkout -b openwrt_trunk upstream/master06:24
xiangfu4. git diff openwrt_trunk...tracking_trunk06:25
xiangfusame as backfire.  the backfire upstream is git://nbd.name/backfire.git06:25
xiangfu1. git remote add backfire git://nbd.name/backfire.git06:25
xiangfu2. git fetch backfire06:25
xiangfu3. git checkout -b openwrt_backfire backfire/master06:26
xiangfu4. git diff  openwrt_backfire...tracking_backfire06:26
xiangfusince we always use 'git merge' not 'git rebase'  it's very hard to see what we have changed.06:35
xiangfuwolfspraul: "this config file does not work on tracking_trunk branch - why?" there are some commit for zImage and xbboot only in tracking_backfire branch.06:49
xiangfunot into upstream.06:49
wolfspraulxiangfu: why are we not rebasing the tracking_ branches?06:54
wolfspraulif you say 'very hard to see' then I just interpret that as 'impossible' :-)06:54
wolfsprauland that means that we need to run a diff -ru from outside on the entire tree (that always works), and/or use rebase instead of merge06:54
wolfspraulthe goal of the tracking_ branches in the openwrt-xburst project is to be as small as possible, so if the diff is hard to see we will not reach that goal, for sure06:54
wolfspraulover time more and more crap will accumulate there06:54
wolfspraulwhat do you think we should do?06:55
xiangfuhow about we only change the those folder:07:03
xiangfutarget/linux/xburst/07:04
xiangfupackage/uboot-xburst/07:04
xiangfudata/07:04
xiangfuscripts/build07:04
xiangfuscripts/reflash_ben.sh07:04
xiangfuif someone think he/she want change the openwrt system files.  he/she should change it in his personal branch. or send it to upstream.07:05
xiangfuif someone want change07:05
xiangfuwolfspraul: we need create a new branch for this. it's impossible to rebase the tracking_backfire branch.07:07
wolfspraulwe should definitely wait until October when Mirko is back to get his advice. in the meantime I just though I look at the diff a little to understand what we are talking about.07:09
wolfsprauldo you think we only made changes in those directories you mentioned? plus the build and reflash_ben.sh scripts?07:10
xiangfuwolfspraul: yes.07:10
wolfspraulcan we move the uboot-xburst package into openwrt-packages?07:10
xiangfuyes. we can but it's not good. if we move it to openwrt-package. then upstream must add our openwrt-packages to feeds.conf07:12
kristianpaulGood Morning :)07:15
xiangfusince the u-boot is core part of make ben image. it's better to add it in package/ folder.07:15
kyakxiangfu: do you know how to create fonts (pnm files) for setfont2? i tryed playing with gimp and netpbm, but can't produce a font -\07:17
wolfspraulxiangfu: oh so the package/uboot-xburst folder is also in the upstream repository?07:17
wolfsprauland target/linux/xburst as well I guess07:18
xiangfuwolfspraul: yes. both are in the upstream repository07:19
wolfspraulok07:20
kristianpaulgit push origin master:tracking_trunk07:21
kristianpaulfatal: The remote end hung up unexpectedly07:21
kristianpaul:/07:21
kristianpaulhmm better start all ove again..07:22
wolfspraulkristianpaul: do you use your git@ url for authenticated access? check .git/config07:23
wolfspraulgit@projects.qi-hardware.com:openwrt-xburst.git07:24
kristianpaullet see07:24
kyakwolfspraul: looking at config.full_system: do we need CONFIG_BUSYBOX_CONFIG_HTTPD=y? also we might want to disable CONFIG_BUSYBOX_CONFIG_SETFONT, because setfont is provided by kbd, and busybox uses some other file format...07:24
wolfspraulyou get that 'hung up' message when you try to push into the read-only url git://projects.qi-hardware.com/openwrt-xburst.git07:24
kristianpaulhmm07:24
xiangfukyak: sorry. I don't know. we need ask "Unclouded"07:24
kristianpauli just was following instructions to get the update about branch renaming07:25
wolfspraulkyak: I like the idea of having a http server because you can connect from your notebook and have a 'big screen', for example as a development environment07:25
kyakxiangfu: ok, no problem :)07:25
wolfspraulfor the busybox setfont - sure if you think it's redundant, then out with it!07:25
kyakwolfspraul: hm, i thought it's SSH server?07:26
wolfspraulthat's why I started working towards a cleaner config, so we can finally zoom in on a collection of valuable stuff07:26
wolfspraulhttpd is a ssh server? well, don't know. dropbear is the ssh server.07:26
kyakno-no.. "big screen" as a development environment is an SSH server :007:27
wolfspraulkyak: if you think the busybox_setfont is redundant and not needed - don't hesitate and just remove it.07:27
kyakwhat do you expect to do with httpd ?07:27
kristianpaulUI?07:28
kristianpaulupload music?07:28
xiangfukristianpaul: whey you want "push origin master:tracking_trunk" ??07:28
wolfspraulkyak: ah sure, yes. but imagine you have some php or python or whatever scripts installed that let you access the nanonote from another computer. nice applications are imaginable.07:28
kristianpauland other stuff may be?07:28
wolfspraulthe browser is just a very ubiquitous app...07:28
kristianpaulxiangfu: no, i'm reading now is no cense07:28
kyakhm, ok.. but i can't imagine any use of httpd, when you have sshd07:28
kyakkristianpaul: what do you mean "UI"?07:28
wolfspraulpeople may only have, or be more familiar, with a browser on the other side07:29
wolfspraulanyway I vote to leave the httpd in07:29
rafawpwrak: that is the prompt of the shell ;).. a lot nicer than root@alongwordwhenyouhavejust320x240screen ;-))07:29
kristianpaulxiangfu: ahh sorry i was reading wrong part  of your mail :p07:29
kristianpaulkyak: User Interface07:29
xiangfuI was usually think put the nanonote manual  web page to nanonote . then we can http://192.168.254.101 for read the manual . that is an old idea.07:30
kyakwolfspraul: the make oldconfig, will it use default config but take values from .config and override the default value with them?07:30
kristianpaulkyak: i agreee with wolfspraul broweser is friendly and people righ now are capable of attching mails so... :) will be the same with the Ben07:31
wolfspraulyes I think that's how it works07:31
kristianpaulbroweser/web browser07:31
wolfspraulthe idea with the config files in data/qi_lb60/conf is that you copy them to .config, then you run oldconfig over it07:31
kyaklets say it this way: make oldconfig is using value you provide in .config, and everything else is default?07:32
kyakwill it also track dependencies?07:32
wolfspraulI'm actually not sure whether the busybox httpd is good enough, maybe lighttpd is better? but anyway nobody uses it right now so we can start with the lightest approach, which I'm sure is the busybox builtin one...07:33
kyakand why it is named so strange? :)07:33
wolfspraulkyak: what is named strange?07:33
kyak"oldconfig"07:33
wolfspraulyes, I'm pretty sure dependencies work as normal07:33
wolfspraulit's coming from the Linux kernel07:33
wolfspraulI think in general the OpenWrt build system borrows (reuses) a lot of concepts and ideas from the original Linux kernel config system07:34
wolfspraulwell, someone more knowledgeable about OpenWrt correct me if that impression is wrong...07:34
kyakyes ,this is so...07:34
wolfspraulkyak: check out config.minimal07:34
kyakhm ok, then it's only a matter of edditing text file now to remove or add some option07:35
wolfspraulif all works well in OpenWrt, it's as if you turn these things on in make menuconfig, and then OpenWrt adds the necessary dependencies07:35
kyakwolfspraul: already did, very cool07:35
wolfspraulyes07:35
wolfspraulthe config.xbboot one is quite unstable, I'd say stay away from that unless you know what you are doing. when I remove or add anything there, the resulting initramfs will not boot anymore07:36
wolfspraulbut config.minimal and config.full_system should be more robust, we can spend some time to improve config.full_system now07:36
wolfspraulOpenWrt does not seem to have a 'silentoldconfig' option07:37
kyakdoes Linux kernel have?07:37
wolfspraulso if you just run 'make oldconfig', it will ask you a one-line question for every new package or package/setting that was not in your .config07:37
wolfspraulI think it does, yes.07:37
kyakbut your workaround seems ok07:38
kyakecho "yes"07:38
wolfspraulbut we can simulate silent with yes ""|make oldconfig > /dev/null07:38
wolfspraulit's not echoing yes, it's echoing 'enter'07:38
wolfspraulso we take the default value OpenWrt suggests07:38
kyakoh right07:38
wolfsprauljust run yes ""07:38
wolfspraul:-)07:38
kristianpaulxiangfu: i noticed new stuff when run the reflash script, so i guess the sources for this are in the OpenWrt Release (Backfire)  isnt?07:38
kristianpaulxiangfu: but the .config for stable image is in the opernwrt data folder or http://downloads.qi-hardware.com/software/images/Ben_NanoNote_2GB_NAND/latest/config ?07:39
kristianpaulah okk07:40
wolfspraulfirst time when you play with it just run 'make oldconfig', then you see it line by line, and need to press enter...07:40
kristianpaulsorry i think  i need re-read wiki instructions again07:40
wolfspraulsecond time do yes ""|make oldconfig07:40
wolfspraulthen you still see it running down the screen, just automatically pressing enter07:40
wolfspraulfinaly yes ""|make oldconfig >/dev/null07:41
xiangfukristianpaul: the .config in data folder is current we working on.07:41
wolfspraulthen it's silent, you only see the warning (or error) messages which is good07:41
xiangfukristianpaul: the http:/.../latest/config is the config file for the latest release.07:41
kristianpaulxiangfu: okay :)07:41
kristianpauli'll stick to last relase for now :)07:42
kyak!seen unclouded07:43
kyakthat's why we need a seen/stats bot here :)07:44
kristianpaulindeed07:44
kristianpaulwolfspraul: your new freedom stack image is not very clear to see btw08:06
wolfspraulrevert to the old one :-)08:07
wolfspraulI liked the old one better too, the new one is too complicated.08:07
kristianpauldone08:14
kristianpaulwhat that problem revert changes when poeple dont make comments...08:14
kyakhm, i'm using busybox with CONFIG_BUSYBOX_CONFIG_DESKTOP=y, this automatically enables many "desktop" features09:16
kyaki think Ben is powerfull enough for this09:16
kyaki wonder what just happened..09:19
kyaki git push'ed to openwrt-xburst, but there was no output09:20
kyakthough i've commited prior to the push09:20
wolfspraulI don't see the commit here http://projects.qi-hardware.com/index.php/p/openwrt-xburst/timeline/09:21
kyakme too09:22
wolfsprauldid your local git tell you it pushed something? you will see what it pushes etc.09:22
wolfspraulit worked before for you...09:22
kyakbut my changes are done locally to data/qi_lb60/conf/config.full_system09:22
wolfspraulso: what did you do differently this time?09:22
kyaki see them, and git status doesn't show this file as "modified"09:22
kyakactually, this is the first time i commit to openwrt-xburst09:23
kyakbut it is set in the same way as openwrt-pacakges09:23
kyakwolfspraul: the output of git push was empty09:23
wolfspraulhmm09:24
wolfspraultry changing config.full_system again09:24
wolfspraulgit status should show it as modified09:24
wolfspraulif course you say you git pushed already?/09:25
kyakok, let's do it again09:25
kyakmodified:   data/qi_lb60/conf/config.full_system09:25
kyaknow i git add data/qi_lb60/conf/config.full_system09:25
kyaknow i git commit09:25
wolfspraulnormally you make a change, then git commit -a, then git push origin local_backfire:tracking_backfire09:25
wolfspraulgit add?09:26
wolfspraulnot needed09:26
wolfspraulthe file already exists and is already tracked by git, no need to do git add09:26
kyakh, and git push says "everything is up to date"09:26
wolfsprauljust git commit -a09:26
kyakwolfspraul: no, i git add for another reason09:26
kyaki have other files modified09:26
kyakdon't want to commit those, too09:26
wolfsprauloh, OK09:26
wolfspraulbut is 'git add' the right way? don't know...09:27
kyakthis is how i do it for openwrt-packages, and this is what git says09:27
kyak# Changed but not updated:09:27
kyak#   (use "git add <file>..." to update what will be committed)09:27
kyakso i "update what will be committed"09:28
wolfspraulthere a -u option to git-add09:28
wolfspraulfirst try to commit properly locally, don't jump to git push right away. try git log -109:28
wolfsprauldoes 'git log -1' show you the config.full_system modification you did?09:29
kyakyup09:29
wolfspraulif no: no need to worry about git push09:29
kyakit shows me my last commit message09:29
wolfspraulwhat is the name of your local branch?09:29
wolfspraultry: git push origin local_backfire:tracking_backfire09:30
wolfspraul(assuming your local branch is called local_backfire)09:30
kyak[branch "xburst"] remote = origin merge = refs/heads/tracking_backfire09:30
kyakis this my local branch?..09:30
kyaki don't quite understand09:31
wolfspraulme neither, but let's be brave.try: git push origin xburst:tracking_backfire09:31
qi-bot[commit] kyak: removed busybox "kbd" features; use "kbd" for this http://qi-hw.com/p/openwrt-xburst/c5ee64209:32
qi-bot[commit] kyak: test.. http://qi-hw.com/p/openwrt-xburst/17f737809:32
kyakoh09:32
kyakthere they are09:32
kyakonly the first one is valid :)09:32
kyakhow do i avoid typing this hell?09:32
kyak(also now to figure out how to undo the last commit)09:33
wolfsprauldon't know. maybe xiangfu can delete the test commit? xiangfu : do you know how to setup git push so that it automatically finds the right remote repository?09:33
wolfspraulkyak: if we are lucky xiangfu is still around :-) otherwise we have to turn on our brains ourselves, and find the answer...09:34
wolfspraulkyak: congratulations for your first openwrt-xburst commit!09:34
kyakwhen it comes to git, my brain hides somewhere09:34
kyakwolfspraul: thanks!09:34
kyakmy usage of git is limited to three commands09:35
kyakgit pull, git delete/add/mv <file>, git commit and git push09:36
kyakthis is all i know :009:36
wpwrakkyak: git log, git show, and git rebase -i are also worth knowing :)09:38
kyakwpwrak: git rebase is new to me09:39
wpwrakah, and git reset. undo what git add did. useful if you have two sets of changes, want to put them in separate commits, and made a mistake.09:40
kyakwpwrak: better explain to me what git rebase is :)09:41
wpwrakgit rebase -i lets you merge commits (and do a few other things to them). the man page has a good example. only limitation is that you shouldn't have pushed them yet.09:41
kyakman page would be useful, if i knew some basics.. but "Forward-port local commits to the updated upstream head" are just a set of words for me09:41
kyakok, i see.. it's when i want to merge remote changes into my local branch, but i want my local changes to stay?09:42
wpwrakjust ignore the weirdness they talk about :) the interesting bit is in the section INTERACTIVE MODE09:43
kyakis it smart diff? :)09:43
wpwrakit can do that too, yes. but rebase -i is about managing your own commits.09:43
kyaki should check that -i09:44
wpwrakyou basically get another layer of "committing", where commits aren't final.09:44
larscyou can rearange, remove, edit and squash commits into each other09:45
kyakthis sounds like cool.. one only needs to hope that his project will work continue working after such intensive things :)09:46
wpwrakkyak: if you break something, you can always git rebase -i again ;-))09:47
larscor reset09:47
kyakok, but i already pushed09:48
kyakhow to revert in this case?09:48
larscyou add another commit reverting your commit09:48
larscgit revert <commit-id>09:48
qi-bot[commit] kyak: Revert "test.." http://qi-hw.com/p/openwrt-xburst/906668009:54
kyakthat's clear, though i couldn't play with rebase -i09:55
kyaki wonder what would happen if i revert some intermediate commit, which itself could been affected by other later commits09:56
wolfspraulkyak: great, so that part is already done09:57
kyaki should set up a local repo and experiment there09:57
wolfspraulnow we need to find out how to setup your git push so that you don't have to specify the from and to branch09:58
kyakyup...09:58
wolfspraulI think by default git is looking for branches with the same name on the other side, or something like that09:58
kyakok, have to do now.. see you later09:58
wolfspraulbut at least you have a line (if a bit long) that works09:58
wolfspraulcya09:58
aisaIt is Programmer's Day today, the 256th day of the year!12:13
bartbesgreat12:15
bartbeshttp://imm.io/media/1i/1iCq.jpg15:18
qi-bot[commit] Jiri Brozovsky: First attempt port of PicoC interpreter. Should work. http://qi-hw.com/p/openwrt-packages/8f050f915:47
kristianpaulgforth hackers around?16:08
qi-bot[commit] David K├╝hling: use new upstream snapshot that fixes various problems reported on http://qi-hw.com/p/openwrt-packages/bb5e73818:45
kristianpaulxiangfu: morning21:10
kristianpaulThere was a revese in the last image for Ben?21:10
kristianpaulI noticed big font again and gmenu was not the same..21:11
xiangfukristianpaul: you mean this one: http://downloads.qi-hardware.com/software/images/NanoNote/Ben/latest/ ?21:12
kristianpaulwell the one that the update script fetches21:12
kristianpauli jsut updated my ben today and seemed like a downgrade :(21:13
xiangfukristianpaul: ok. we make the last image point to 16-Jun-2010 image. since the 2010-08-26 have uClibc 0.9.32 problem.21:13
kristianpaulahh i see21:13
xiangfukristianpaul: yes. we downgrade it.21:13
kristianpaulcause i was hoping to see the ogg stuff and nanomap in gmenu too21:13
kristianpaulokay is clear for me now21:14
xiangfukristianpaul: I found the 'tangogps' is ported to openwrt. we have selected it in config.full_system. just FYI.21:17
kristianpaulxiangfu: yes is i usde in the past21:18
kristianpaulxiangfu: really i dont follow tangogps on openwrt is *really* slow21:18
kristianpaulnanomap save the day in openwrt21:18
kristianpaulfor sure :)21:18
kristianpauli will take care of (remebers the bug in openwrt) about cgps and gpx logger21:19
kristianpauli said cause i requested it from openwrt21:20
kristianpaulit really will help not just only to Ben21:20
xiangfusure.21:22
kristianpaulxiangfu: i'm curios as there is a full system config, there is no a minal config, or i may be wrong?21:30
xiangfukristianpaul: wolfgang have created a config.minimal already.21:31
kristianpauloh let me push21:31
kristianpaulpull21:31
kristianpaulsorry21:31
kristianpaulhehe great i was thinking that i was alrady made hours ago :)21:32
kristianpaulbtw are you using an script in fidelio for the builds?21:32
kristianpauli it somwhere?21:32
xiangfukristianpaul: yes.21:32
kristianpauland is reausble for other users?21:32
kristianpaulgood :)21:33
kristianpauli just want prepare a full and minimal image :)21:33
xiangfukristianpaul: there is one in git: "tracking_backfire/scripts/build'21:33
kristianpaulokie dokie :)21:33
xiangfukristianpaul: you can take a look that file you will understand. for use this scripts file. we need copy the config.minimal to .config manually21:34
kristianpaulsure21:35
xiangfukristianpaul: do you think we should use [yes "" | make oldconfig] instead of [make oldconfig] ??21:36
xiangfuin this 'scripts/build' script file.21:36
kristianpaulhmm is a bit confusing21:37
kristianpaul[ make oldconfig | yes]21:38
kristianpaulecho "Are you brave, dude? [NO/yes]"21:39
kristianpaullol :)21:39
xiangfukristianpaul:[make oldconfig | yes] will make the script will never stop. :)21:39
kristianpaulahh21:39
kristianpaulhehe21:39
kristianpauli tought was a question not a command21:39
kristianpaulyes is a command i see now21:40
kristianpaul[yes "" | make oldconfig] <<<-- yes i agree21:40
xiangfuyes. I think [yes "" | make oldconfig] is much better.21:40
qi-bot[commit] Xiangfu Liu: use [yes "" | make oldconfig] http://qi-hw.com/p/openwrt-xburst/e72eac621:45
qi-bot[commit] Xiangfu Liu: add gforth to config.full_system http://qi-hw.com/p/openwrt-xburst/d4cb34a23:09
--- Tue Sep 14 201000:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!