#qi-hardware IRC log for Monday, 2010-11-08

qi-bot[commit] Xiangfu Liu: [config.full_system] add gcc-mips, fixed in openwrt package: 8dbf61c, tested in build hosts http://qi-hw.com/p/openwrt-xburst/1c3892a01:13
kyakxiangfu: just for info, gcc-mips still build fine on x86 (in case you couldn't test it)02:01
xiangfukyak: thanks.02:01
kyakno, thank you! :)02:02
xiangfukyak: Hi I am thinking set the mac address and mtd partitions in kernel cmdline.02:34
kyakxiangfu: does it mean that mac address will be the same for all Bens? This doesn't sound very good.. Is there a way to make it unique for every Ben, but persistent for every device? (right now it changes after every reflash)03:31
kyakxiangfu: for mtd partitions in kernel cmdline - would do you mean exactly?03:32
xiangfukyak: http://cateee.net/lkddb/web-lkddb/MTD_CMDLINE_PARTS.html03:33
kyakxiangfu: how does it help to specify the mtd partitions at kernel cmdline?03:35
xiangfukyak: there are some people may don't want use root(512), data(1.5G). they want keep the old partition.03:36
xiangfuor someone want 2G for the whole rootfs.03:36
kyakso the partitions won't be hardcoded?03:36
kyakthis is a very good idea.. just to make sure that reflash_ben.sh won't spoil data partition with rootfs data..03:37
xiangfukyak: oh.. yes. correct.03:38
kyakmaybe reflash_ben.sh can read the partition data from som file, which could be generated during build process03:39
xiangfukyak: I think we just keep the reflash_ben.sh like that. but change name to reflash_openwrt.sh,03:40
xiangfuthen people know this scripts file is just for reflash_openwrt. not for Debian or jlime.03:40
kyakcurrent reflash_ben.sh (on the web site) will flash 256 Mb roots03:41
kyakbut the one in git is modified for 512 Mb03:41
kyakhow we can handle that?03:42
xiangfukyak: oh. sorry. I forget to update, reflash_ben.sh in website is a link to [history] branch.03:42
xiangfuthat's why the reflash_ben.sh is still 256Mb.03:43
kyakyes, and this is OK, because we don't have an image with 512 Mb rootfs yet03:43
kyakwe just need to be consistent somehow with reflash_ben.sh... make sure that the correct version of reflash_ben.sh is used with 512Mb images (newer ones) and another one with 256 Mb03:46
kyakxiangfu: is there a way to modify kernel cmdline without booting into the system?03:48
kyaki think those who want 256 Mb or 2Gb rootfs will have to rebuild image anyway03:48
kyakso maybe giving mtd partitions via kernel cmdline is not needed after all?03:49
xiangfukyak: no. they can use fw_setenv to set the kernel command line03:49
kyakbut they have to boot into system for that?03:49
kyakand this booting may or may not be sucessfull depending on rootfs size03:50
xiangfuyes. 256Mb or 2Gb rootfs must rebuild the .ubi file03:55
xiangfuyes. they have to boot into system for modify kernel command line.03:55
xiangfukyak: if he want change the u-boot or kernel partition, things got even worse .03:56
xiangfukyak: thanks. for now just keep the partition hardcoded in kernel.03:56
kyakxiangfu: yup.. would be better to leave it like this03:57
kyakbtw, i myself chechout the previous version of board-qi_lb60.c with 256 Mb :)03:57
kyaki wonder how much the boot time will increase with 512 Mb.. have you tried it?03:58
xiangfukyak: not yet.04:02
kyakxiangfu: what about the mac address? is it hardcoded somewhere or what?04:03
xiangfukyak: no. it's generate by kernel. I am not understand the kernel policy about the dynamical mac address.04:04
xiangfukyak: someone have report a bug: http://projects.qi-hardware.com/index.php/p/ben-nanonote/issues/7/04:05
wpwrakxiangfu, kyak: you're about to enter the next level of complexity with NAND partitions :) if you choose to create the equivalent of a partition table, all your flash procedures then have to treat this as "sacred" data.04:17
wpwrakbefore you even think of a technical solution for this, perhaps it's best to first consider how you handle cases where things go wrong. e.g., when a ben has lost its partition table, how do you recover ?04:18
wpwrakthere are two issues: a) there may still be good data on the Ben you want to make recover by recovering the partition table. b) even if you decide to start from scratch, your usage (e.g., what stuff you install) may require a certain partition setup or you'll run into problems later.04:19
wpwrakof course, one possibility would be to consider partition sizes to be now fixed for all times, and adapt to this accordingly (e.g., if the rootfs overflows again in may 2011, you'd introduce /home/opt/ or whatever)04:21
wpwrakother "sacred" data would be the MAC address. again, let's first consider how you can recover it. e.g., is there any non-eraseable information, machine-readable or not, on the ben you can use to identify it ?04:22
kyaki would think about such place in USB chip04:23
wpwrakwhich USB chip ?04:24
kyak(like in NIC cards)04:24
kyakthe one that provides USB connectivity on Ben.. dont' know what is it04:24
kyakbut as xiangfu mentioned, the mac adress is set by ethernet_gadget driver04:25
kyakmaybe this driver can identify the USB chip in unique way and generate a mac address for it04:26
wpwrakthere's no extra chip for this :) the USB device functionality is a block in the Jz472004:26
wpwrakkyak: see page 2 of http://en.qi-hardware.com/w/images/9/9c/Lb60_schematic.pdf04:27
wpwrakall the USB-related external components are passive. some beads/chokes, capacitors, that's it. all the rest happens in the CPU.04:28
wpwrakthere doesn't seem to be any sort of chip on the device - other than the NAND itself - that can hold persistent data04:29
wpwrakone problem with the NAND is that most of the flashing procedures assume that it's okay to just erase everything04:29
wpwrakso if you want "sacred" data, you basically have three choices: 1) change all the instructions to avoid erasing that data. 2) change the tools such that they won't erase it. 3) find a mechanism that doesn't depend on the NAND content.04:30
xiangfuwpwrak: oh... thanks Werner, I will try to focus on other bugs. :). just leave the nand partitions and mac address as it is :)04:32
kyakwpwrak: very good explanation, thanks :)04:33
Action: xiangfu leave for awhile, back later.04:34
kyakwpwrak: do you know if maybe Jz4720 has some unique ID that can be read from it?04:35
kyakbecause if it does... or if there is another way to identify each Ben in unique way, then it might be possible to have a fixed mac address at th end04:37
wpwrakkyak: unfortunately, i don't know of any unique id. (but maybe someone else knows something ?)04:39
wpwrakkyak: as far as I know, there's no human-readable ID either. sticker with serial number, or such.04:40
kyakoh, maybe the serial number can be read from it with software?04:40
wpwrakone possibility for a key would perhaps be the order number or such. but i'm not sure that's convenient to retrieve. also, people with more than one ben may find this confusing :)04:41
wpwrakwolfspraul: btw, rafa is looking for you. (he needs a location to host the "safe" jlime packages.) he should be up within a couple of hours or so04:43
wolfspraulI'm back online now, no worries04:45
wolfspraulwhere do those mp3 packages come from?04:45
wpwrakkyak: some MCUs have a serial number that's stored at some safe place inside. but as far as i know, the ingenic cpu's don't have such a thing.04:45
wpwrakwolfspraul: dunno. maybe a standard openwrt build.04:45
wpwrakwolfspraul: that stuff is also quite old. are these packages even still considered valid yet ?04:46
zearhmm.. does the safe distro share the repository with the unsafe one, or not?04:46
wolfspraulwpwrak: yes they are old, maybe overlooked. anyway thanks for the headsup, I just deleted those for now.04:46
wolfspraulmaybe we need to delete/rebuild all of them...04:46
wpwrakzear: for jlime ? i think it would be best to have a completely separate mirror of the "safe" distro, on *.qi-hardware.com04:46
zearyeah, the thing is, a lot of my game ports will have mp3 music support04:47
wpwrakzear: can't you convert the music ?04:47
zearif you're willing to rewrite the music engine for each of them ;)04:47
wpwrakzear: oh. each has their own MP3 decoder ?04:48
zearno, but i'm not a programmer, i don't know how to replace mp3 music with ogg tremor one04:48
zearadditionally, a lot of them are engine reimplementations04:48
zeari don't know if you can fill a lawsuit if someone has an engine reimplementation of your game in his repo04:49
wpwrakwolfspraul: downloads is a little chaotic anyway. perhaps this will be an opportunity to rearrange it a bit. e.g., with more than one distro, perhaps more specific names could be used.04:49
wpwrakzear: aren't the games already modified to some extent ?04:50
zeara couple of them are fine, because their base on gpl'ed engines, like duke 3d, quake or doom, but some other, like HOMM2, or Commander Keen are rewritten from scratch because the original engines were never released04:50
wpwrakzear: and if you're talking about MP3/other codec patent owners: yes, even if the code is someone else's, they can still get you if you distribute it04:50
zearno, i'm talking about making games that reuse someone's datafiles and game logic04:51
zeardespite being coded from scratch04:51
zearbut being coded in order to imitate the original engine04:51
zearsome of them even base on recompiled and studied original binaries of the games ;)04:52
wpwrakzear: i somehow think that changing from MP3 to something else would be the least of the worries there ;-)04:52
zearas the rest is up to the game makers, and in most cases they are already nonexistent, or the ownership rights are in hands of someone else? :D04:53
wpwrakzear: reverse-engineered engines may have their own set of legal problems. even worse if you need some pirated level files/artwork/etc. in order to actually use them.04:53
zearanyway, if they read this chat, they could sure sue qi-hardware if they had that games in their repo :D04:54
wpwrakzear: i may be wrong, but i have the impression that jlime has some things that aren't quite clean in this regard04:54
zearwpwrak, the problem is, you cannot tell which ones were reverse-engineered and which were not04:54
zearsome authors are nice enough to admit they decompiled the original binary04:54
zearbut some of them don't mention anything, so you can't be sure if they just written it from scratch, or based it on decompiled enginre04:55
wpwrakzear: maybe ignore the engine for now and consider the levels/artwork. if that one is openly distributed by the original maker, you're probably safe04:55
zearhah, that's a bigger problem then04:55
zearno, even the gpled engines, like duke3d or doom, still require original game data from you04:55
wpwrakzear: if there's an engine but you're supposed to obtain these things from somewhere else, you're deep in the grey zone ...04:55
zeari know of no games that got their engine released on gpl along with their datafiles04:56
zearmaybe some smaller fishes, but not the big titles04:56
wpwrakzear: original game data per se is okay, as long as the company that owns it has released it under terms that permit this kind of use and redistribution. or at least if they have issues a statement to that extent. some have done this.04:56
zearthis should be fine as long as you don't include that datafiles in the ipk, am i right?04:56
zearwell, none of the engine reimplementations that were made without the original authors releasing their code, will suffer from this kind of issue04:57
zeari mean, all of them :D04:57
wpwrakzear: it's something i would consider at least potentially dangerous. particularly if it's unlikely that you could have the artwork without pirating it. e.g., if the original game device has some sort of copy protection, all "cd images" would basically have to be pirated (there are exceptions, but they're often on uncertain legal ground)04:58
wpwrakzear: again, let's look at the artwork first. i think artwork is more dangerous than the engine itself.04:59
zearwell, all the engine reimplementation authors are kind enough to keep/reimplement the original copy protections mechanisms04:59
zearlike, they will still ask you for the words on page X of the manual :D04:59
wpwrak"and here is floppy_laser_hole() ..." ;-)05:00
zearalthough you could simply comment out such a line :D05:00
zearwell, to be honest i don't care of the "safe" flavour of jlime05:01
zearwon't use it05:01
zeari will release all my games for the free as in freedom flavour05:01
zearand it will be up to safe maintainters to select only the safe games05:01
zearthough i just wanted to raise the problem05:01
wpwrakzear: you don't have to use it :) but it's still bad if there's material that can get others in trouble. also, it's not so nice if jlime or qi-hardware gets the image of being strongly associated with warez05:02
wpwrakzear: that may scare away many customers05:02
zeardon't worry, i'll never include any illegal files in my game ports05:03
zearand if they require some 3rd party datafiles, it's all up to the user to get the original floppy/cd05:03
wpwrakalso, if there are non-free games, you're not actually propagating freedom by distributing them despite that being illegal.05:03
zearwell, the engine reimplementation is gpl05:03
zearand i'm redistributing them without the datafiles05:03
wpwrakit would be much better if you'd instead make something similar but better - and free, of course05:03
zearso yes, it's still freedom, despite being unplayable without the datafiles :D05:04
wpwrakyeah, i think the data files are the key. if you can get them "cleanly", then i don't think there's a problem05:05
zeari understand the problem qi-hardware has, but i find it to be exaggerated, and i still find that engine reimplementations on gpl == freedom :P05:05
zearyou can get them cleanly on ebay05:05
zearunless second hand legal datafiles are counted as piracy05:06
wpwrakah, that's an interesting issue :) i think there are court decisions that go either way. but if you can get them cleanly on ebay, that would imply that there's no copy protection on them.05:07
wpwrakthis would make them relatively safe05:07
zearanother thing is, nobody has floppy drives anymore05:08
zearso if you buy a legal floppy copy, are you allowed to use the datafiles from a different source?05:08
wpwrakduh. that's a tricky one.05:09
wpwrakmaybe check if the company still exists. with things on floppies, there's a good chance that nobody is around anymore to trouble you ;-)05:09
zeartrue :D05:10
zearyet another thing is, that people are unaware of the GPL license terms, i have seen a lawsuit where someone after a police raid was accused of using illegal software with the damage to "GPL" company05:11
wpwrakhmm. that sounds interesting :-)05:12
wpwrakdid they sentence him to be drawn and quartered by wild gnus ?05:12
zearhehe, no idea, i have only seen the paper05:12
zearhere: http://img100.imageshack.us/img100/6245/profesjonalizm4bp.jpg05:13
wpwraknow, how do i decrypt this ? ;-)05:13
zearyou can depend on me ;)05:13
zearit simply says that person used two programs which caused the undetermined damage for the GNU General Public License Free Software Foundation company05:15
zeari like how using programs causes damage for the license, not the original authors ;)05:15
wpwrakzear: someone got something very wrong there ;)05:15
zearthe guy definitely lost the case as in whole, there are a lot of other illegal programs he used in this lawsuit05:16
wpwrakzear: perhaps it would help to classify those games/engines into three categories: 1) engine and artwork are free or with explicit permission to use.05:28
wpwrak2) artwork comes from some copy-protected media or is otherwise known to be used without permission. 3) all others.05:29
wpwrak1) should be perfectly safe. they're good to promote the capabilities of the device, without incurring any risks, or exposing others to risks.05:30
zeari'd add a 4) where it is known the game was created by reverse engineering the original05:30
wpwrak2) are things qi-hardware probably shouldn't touch. doing otherwise would be reckless (exposing qi-hardware) and irresponsible (exposing others who trust qi-hardware to provide them with "safe" material)05:32
wpwrak3 and 4) these are a grey area. i think it would help to better understand what do to here if we could have such a classification, perhaps with additional details. (e.g., what is the most common way for getting artwork, what is the status of the engine, etc.)05:33
zearwpwrak, for example, Commander Genius (Commander Keen remake) uses only level maps and sounds from the original05:34
wpwrakas far as i know, most of the modern engines are indeed open. e.g., the doom and quake engine, no ?05:34
zearthough the gfx and music are all remade (athough the gfx still looks like the original, just refreshed, so it still isn't legal i think)05:35
zeardoom still requires original datafiles05:35
zearthough there is the "freedoom" version of game05:35
zearwhich is fully gpl05:35
zearas for quake, they were nice enough to release maps on gpl05:35
zearso all you need to do is to remake the textures and models05:35
zearto have a fully opensource game05:35
wpwrakfor 3 and 4), one could also try to find the current owners of the material, and ask them05:36
wpwrakchances are that you'll get a friendly response for at least some of the old material05:36
zearor a cease and desist letter ;P05:37
mthmost of the "only engine was GPL-ed" games have a shareware version though05:37
mthyou can use the data files from that05:37
wpwrakmth: ah yes, shareware is good, too05:37
zearmth, to some extent05:37
zearsome of them might forbid you from preinstalling it on commercial devices05:38
wpwrakzear: (cease and desist) well, better get it before you've done something that could cost you or others money :)05:38
wpwrakxiangfu: btw, is the rootfs size change in the kernel or does it come via u-boot ? (with mtdparts)05:53
wpwrakrafa: by the way, regarding the rootfs size change, i would suggest that all distros make that change, but that the partition layout is then frozen. there are still only relatively few bens around, and most of them aren't exactly "mission-critical", so this still isn't a horrible time to make such a change.05:57
wpwrakrafa: but the more time passes, the worse the effect of such a change. so this should probably be the last time, too. (for the ben)05:57
kyakhmm i noticed that Ingenic has optimized MPlayer here http://www.ingenic.cn/eng/productServ/kfyd/Linux/pfCustomPage.aspx06:24
kyaki downloaded it and there are separate changes for jz4740 and jz4750 (very different)06:26
kyaki wonder if this is helpfull for jz472006:26
rafawpwrak: yes, but is the idea nice?.. WEll, suppose that we change to reflect that change.. But why just 256MB for rootfs?06:26
rafawpwrak: I would not agree, We have 2GB of repo of software .. which umcompresed who know.. so there is a nice amount of software to test/install whatever.. 256MB for me, when nand is 2GB is no the best idea.06:28
kyaki haven't noticed any issues with MPlayer other than this squeky noise when rewinding06:28
mirkoxiangfu: hey06:29
wpwrakrafa: if i understand this correctly, the change is to go from 256 MB to 512 MB.06:34
mirkoxiangfu: experiencing issues as well06:35
rafawpwrak: zear : we are talking of different things I think.06:35
wpwrakkyak: maybe put a bit of oil in the tape drive ? ;-)06:36
mirkowas there a note about that change (256 -> 512) except in the commit log?06:36
rafawpwrak: zear: the safe jlime distro just will use the safe repo, no unsafe06:36
wpwrakmirko: there was a brief mail by xiangfu, informing of the change06:36
mirkooh, so i missed it06:36
rafawpwrak: zear : zear, your games ported were not packaged yet, so nobody can install them from opkg or package manager.06:36
rafawpwrak: zear : zear, just fheroes06:37
wpwrakmirko: if xiangfu was the sneaky kind, then you'd think that would have been his intention ;-))06:37
rafawpwrak: zear : and no.. the odd games with mp3 inside or strange data files will not go to the safe repo.06:37
wpwrakrafa: excellent, thanks !06:37
Action: wpwrak was already having nightmares of tons of warez piling up in jlime :)06:38
rafawpwrak: (about 256MB->512MB).. bah!.. every day there are new news about :D06:38
mirkowpwrak: hmm?06:38
mirkowpwrak: what do you mean exactly? :)06:39
wpwrakmirko: well, such partition changes are usually a big deal. so someone who anticipates that may try to create facts before anyone else has time to complain.06:39
mirkowpwrak: yes, i totally agree06:40
mirkothat's why i'm a bit unhapy with the situation right now06:40
wpwrakmirko: now, i don't see xiangfu doing this sort of thing, but the evil half of my brain finds the implementation pleasing anyway ;-)06:40
mirkowe were discussing this change06:41
rafamirko: please, keep just one layout for ever :)06:41
mirkowell, i'd love to...06:41
wpwrakmirko: yup. i saw the discussion. the implementation was just a bit ... sudden.06:41
wpwrakrafa, mirko: for a stable layout, the question would be: what do you do if you overflow rootfs the next time ? do the distros have a means to install things in different locations ? e.g., /opt/openoffice instead of /usr/*/openoffice ?06:42
wpwraksorry, libreoffice, of course06:43
wpwraka stable layout would avoid a lot of complexity, namely the introduction of some sort of partition table, and making all the processes and tools compatible with it. partition tables aren't a big deal on non-NAND media, because the rules are old and everyone, including all the tools, know them. with NAND, there's no standard, so you get plenty of chaos ...06:46
kyakwe can't seriously talk about stability right now, when Ben is being developed so actively06:47
kyakwe are changing uClibc version here and there06:48
rafawpwrak: for Ben I do not like to have rootfs/data.. 2GB for one partition and we will not talk about this again ;)06:48
kyakthe git layout is being changed too (i hope it won't anymore)06:48
kyakright now there are Bens overthere that are not binarry compatible between each other06:49
kyakrafa: the boot time will increase dramaticlly06:50
kyakalso, there will bo no safe place between reflashes06:51
wpwrakyup. these are the problems.06:51
wpwrakotherwise, i'd like the one big FS as well :)06:51
rafakyak: how dramatically? With jlime running X+WM+Desktop on nand it is 15sec I would say. And we have not done anything to improve the time yet.06:51
rafakristianpaul: for safe place between reflased.. yes.. that is something to check.06:52
rafakyak: for safe place between reflased.. yes.. that is something to check.06:52
rafakristianpaul: sorry :)06:52
kyakrafa: dunnoo.. it takes i think around 10 seconds to mount that 1.7 Gb partition06:53
mirkoubi needs to scan for it's end-of-fs-marker06:56
mirkolike most nand-filesystems06:56
rafakyak: it took around 6-7 seconds to mount.. yes I just checked (we use the whole partition). But anyway.. a few seconds more and boot is done.. I would not change that layout just to get a few seconds more.. I mean.. We (jlime) would not be happy to change that from time to time. And you could say "hey, nobody tells you that you should change your layout".. but then we would not working to do a dual-booting feature.. because if jlime can not mount the open06:57
rafawe would not working=we would not be working06:58
wpwraka hard-coded layout only works if it doesn't change often, that's for sure. so you have three choices: 1) don't hard-code it but invents some sort of partition table (with the "sacred" data it brings, etc.), 2) decide on one layout and keep it "forever", 3) avoid partitioning and deal with the consequences07:05
wpwraknow, the door to which hell shall it be ? (-:C07:06
wpwrakrafa: btw, wolfgang should be here. you can ask him about the mirror location07:09
mirkoi just talked to him... he is out for dinner and will be back soon07:09
wpwrakmirko: thanks07:10
wolfspraulrafa: what can I help with?07:23
rafawolfspraul: 1TB of space07:24
rafano, just kidding :D07:24
rafawolfspraul: we would like to host a jlime repo without packages with patented technologies. For the safe jlime07:25
rafaversion for qi / resellers.07:25
rafawolfspraul: The requirements are:07:25
rafa- the repo is around 1.8GB of size so far. And without packages with patented07:25
rafa  technologies it would be a bit smaller.07:25
rafa- opkg uses http access, so we should be able to get packages with wget and the07:25
rafa  repo would be ready to use I think.07:26
rafa- you should copy the repo either with a script (we will give you it) which use07:26
rafa  a list of packages with patented technologies, or you do the mirror and07:26
rafa  remove the problematic packages of it.07:26
wolfspraulmaybe put it on downloads.qi-hardware.com ?07:26
wpwrakrafa: maybe easier if wolfgang just gives you an account on whatever machine will host these things, so you can put the scrips there yourself ?07:26
wolfspraulof course :-)07:26
wolfspraulrafa: email me your pubkey and I give you root access, then you can do whatever you want07:27
rafawolfspraul: okey, I will07:27
wpwrakwhat should the location be like ?07:27
wolfspraulI hope just removing will work, some packages may need different configuration options to be patent-free07:27
rafawolfspraul: btw thanks a lot to support the idea07:28
wpwrakhmm, does http://downloads.qi-hardware.com/hardware/certification/FCC_Test_Report_20090901.pdf07:30
wpwraksay that the ben does not pass fcc limits ? :)07:30
rafawolfspraul: well, so far the best idea is just to remove those problematic packages. If many packages have the chance to be built to be patent-free is a hard work to do so far07:30
wpwrakof course, the later report in 2009_12_09_sharism_ben/ says it does. maybe some file needs moving ?07:32
wpwrakrafa: your removal method also removes them from the index, right ?07:33
rafawpwrak: yes07:33
wolfspraulwpwrak: we had several go-arounds on the FCC cert07:33
wpwrakwolfspraul: so it seems :) the organization in certification/ is a bit confusing. FCC_Test_Report_20090901.pdf in the top-level suggests that it is the most relevant file, yet it doesn't seem to be07:35
wpwrakwolfspraul: also, 2009_09_30_final/ apparently isn't final07:35
rafawpwrak: but no removes the packages which need the problematic packages. For example, suppose that A is a safe package, A needs of B installed. B is unsafe package. My method removes B. A will be there, but we can not install/use it, because B is removed.07:35
wpwrakrafa: okay, looks like a feature for version 2.0 :-)07:36
wpwrakrafa: it would also be better for the user experience if you don't offer packages they can't install07:36
rafawpwrak: yes, of course. Feature for 2.0 :)07:37
wpwrakwolfspraul: now, software/ ... should jlime live there as software/jlime/ ? if yes, would it be confusing to have software/images/ and software/packages/ that are not compatible with jlime, yet use a name that suggests they are somehow general ?07:38
wpwrakwolfspraul: oh, that's nice: http://downloads.qi-hardware.com/hardware/mechanical/ben/2009_09_13/P1010401.JPG07:41
wpwrakwolfspraul: no more confusion about false screen protectors ;-)07:42
wolfspraulwpwrak: I have no problem with renaming but we need to communicate it properly.07:46
wolfspraulwe just had this case with the 256->512MB rootfs change that wasn't communicated well07:47
wolfspraulwpwrak: [picture] yeah, I like that! that is clear! :-)07:47
wpwrakwolfspraul: (communicate) sure. if there's a rename, maybe even have a transition period with a link07:48
drizzthi all !08:13
drizztmuch more populated than #gta02-core !08:14
wolfsprauldrizzt: hi :-)08:15
wpwrakdrizzt: indeed :)08:21
drizzthi wpwrak :)08:21
wpwrakdrizzt: joining the ranks of the happy owners of tiny linux devices with a keyboard ? :)08:22
drizztnano notes ?08:23
drizztnot yet, got too much to do, not even got time to play with my freerunner anymore08:24
wolfsprauldrizzt: what? not a NanoNote owner?08:29
wolfspraulour bot should take care of that...08:29
drizztok, email sent08:30
drizztfeel free to ask for information08:31
kyakaccording to Ingenic's site, WinCE is also ported to jz4708:37
kyakthis is interesting08:38
zearkyak, well, since you can't get ahold of wince source code, trying to run such a port on the nn would be pointless08:49
zearwhile it would boot, there would be problems with keyboard, lcd and all the other drivers, imo08:50
kyakzear: ingenic provides something for this.. i'm not sure exactly what08:50
kyaksome documentation at least :)08:52
drizztfor the quotation request, could you give a first estimation (global) for tomorow ?09:06
drizztwe have a meeting with an "incubator" and he asked us for estimations09:06
drizztwhat I have from other projects is between 30.000 and 60.000 euros09:07
drizzt(global estimations, for the development part only, from phytec)09:08
wolfsprauldrizzt: for 30-60K EUR, you can expect us at least (!) to fly you to Mars and back09:08
wolfspraulWerner's new outer-space engine will make it possible... his current estimate is that it should be ready in 2 weeks. right wpwrak ?09:09
wpwrakdrizzt: what would be the deliverables and the timeline ?09:09
wolfspraulwpwrak: he sent us a mail I think09:09
wolfspraulbut I still need to log off now, long day...09:09
wolfsprauldrizzt: don't worry you have an answer tomorrow09:10
wpwrakwolfspraul: actually, that's -2 weeks. with tachyons, you have to reverse the time vector.09:10
drizztdeliverables depend on what you do, but something like BOM, schematics and layout09:10
wpwrakdrizzt: no prototypes, software, ... ?09:11
drizztprototypes yes09:11
drizztsoftware it's my job09:11
wpwrakdrizzt: you mention certification. i think you also need software for that.09:11
drizztyep, I'm doing it for another project right now09:12
drizztworking on a TI davinci :)09:13
wpwrakdrizzt: also, what would be the openness requirements ?09:13
drizztfor the timeline, 3 to six months would be great for first operationnal prototypes09:14
drizztopenness, if it depended on me alone, it would be copyleft09:15
wpwrakdrizzt: okay, a) openness of input (components used, etc.), b) openness of output (design, etc.)09:16
wpwrak(prototypes) how many ?09:16
drizztbut I have two "partners", one working with free software already, but the other comming from the medical market, and it hard to make him remove the word"patents" from his vocabulary09:16
drizzta) openness of input : preferably with no NDA for documentation09:17
wpwrakdrizzt: do it like they do on tv - make a little device that emits a loud been when the foul word is uttered :)09:17
drizztb) openness of output : actually a licence like CC-by-sa-nc09:18
wpwrakwolfspraul: i'm not familiar with any of the three socs. you ?09:19
drizztprototypes ... at least three I think, maybe more depending on what tests we need to perform09:19
drizztone more for each destructive test requiered, though I do not see any, but on the project I'm working for, they used some prototypes for destructive tests09:20
wolfsprauldrizzt: I won't do anything -nc09:20
wpwrakyup, -nc is bad09:22
drizztI'd like not to do -nc, but the problem is that we cannot spend 100 to 150Keuro on the project and see the device copied before we manage to sell it09:22
drizztit's intended to a quite concurential market09:23
Action: kyak wonders what is the mysterious device these guys are talking about09:24
drizztbut if you know of a way to keep the openness and prevent the bad case I just mentionned, I'll much more than happy :)09:24
drizztI'll be much more than happy :)09:24
wpwrakit's usually surprisingly hard to get people to steal from you ;-)09:24
drizztthis alone would bring me to mars and back :)09:24
wpwrakbesides, if someone is really after stealing, the -nc won't stop them09:26
drizztkyak: let's say we'd like to do what openmoko did for the cellphone market, but on a much less mature market09:27
drizztthus giving the project much more opportunities09:27
kyakwhat is this market?09:27
kristianpaulwin 1709:28
kyaksounds interesting09:28
drizztdomotics and tablet PC in fact09:29
wpwrakkyak: something like the arduino, but programmed in COBOL, for its close resemblance to natural language :)09:29
drizztwhat we see in films, but actually costs an arm and an eye09:29
wpwrakkyak: 6-bit characters, of course. 0 is signed.09:29
kyakthis market isn't free, but it definitely lacks some open-source solutions09:30
drizztthat's what brought our project up09:31
kyakwpwrak: you can make jokes and teach me something new at the same time, you know? :)09:31
drizztlet me know for the quotation, along with the conditions :)09:32
wolfsprauldrizzt: yes09:32
wolfspraulthanks a lot for bringing it up!09:32
drizztnone are "out of order", I'll just have to work harder to make my partners see the interest09:33
wpwrakyup, pondering it ...09:33
wpwrakdrizzt: for domotics, the system seem rather feature-rich. have you considered and rejected the idea of a simple controller (with appropriately high availability) combined with a pc for the more demanding stuff ?09:34
drizztconsidered and rejected, it's already available09:35
drizzt(modules using USB to interface to a computer)09:36
wpwrakthat alone would not speak against it :)09:36
wpwrakwouldn't have to be just a usb comm dongle. could be an independent controller with some sort of wireless09:37
wpwrakthe independent controller would be the executive that's available all the time and allows basic interaction. anything fancier would go to the pc.09:37
drizztyes, but the goal is to create something new and open, to drive the prices down and provide possibilities to people like who would like to have a cool device for domotics09:38
drizztbut not limited to domotics09:38
wpwrakbut this would exactly drive prices down :-) one can assume the pc to exist already. so by simplifying the special-purpose box, you make the whole system cheaper09:39
drizzt(should be used for much more applications, let alone a tablet with real conectivity)09:39
wpwrakbtw, do you also envision a line of power line modules and such, or would it interface with some existing (presumably proprietary) standard/architecture09:39
drizztyes, but you do not want to have to turn on your computer to lower the shutters or change the temperature of one room09:41
wpwrakfor this sort of operation, you'd probably want very low-cost local modules.09:42
drizztit will be based on existing standards09:42
drizztthere's a few open ones, and some you can access just by buying the microcontroller to interface with09:43
wpwrak(i should mention that i've been contemplating a domotics solution for my apartment for a while. that's basically the architecture i have in my mind.)09:43
drizztand I personnally don't care for the few others, should they become obsolete09:43
wpwrakmost of the modules are quite expensive :-( well, X-10 is cheap, but then it's X-10 ...09:43
wpwrakuse of existing modules saves you from all the certification trouble, which is a clear advantage09:44
drizztyes, modules are expensive, that's part of why we'd like to build this device09:44
wpwrakah, but even with this device, you still need the modules :) but yes, controllers are really expensive, too09:45
drizztthe modules will be integrated (that's the 3 to 5 microcontrollers), thus making the solution cheaper than each module sold separately09:46
wpwrakhmm, perhaps we're talking about different kinds of modules. what i mean are the things that go into the sockets, lamps, appliances, etc.09:47
drizztand much cheaper than existing "partial" solutions wich are only one or two busses in a tablet, at something like 2 ou 3000 euros09:48
wpwrakthey're distributed by nature. well, if you can recable everything you can concentrate them a bit more, but still ...09:48
drizztI was speaking of the parts that controls them09:48
drizztof course our solution does not remove the parts in each device you want/need to control09:49
drizztbut it will let you chose which module you want for each application09:50
wpwrakah, you would connect to various bus systems. i see.09:51
drizztactually, when you start using one "bus" (let's say one technology) you stick to one, and given the price, you cannot move to another09:51
drizztthat's the main point09:51
wpwrakokay, i see09:52
drizztI need to go back to my work, but I'll stay connected, so ask any question, I'll be back in the evening09:54
wpwrakwhy lithium for the battery ? wouldn't you want something that doesn't age ? i think lead is commonly used for this sort of standby battery in industrial settings (in case of blackout and such). not sure about what's common for domestic use, though.09:55
qi-bot[commit] Andres Calderon: clean up http://qi-hw.com/p/xue/921c38811:23
qbjectwpwrak: [sigh] http://www.littlemachineshop.com/products/product_view.php?ProductID=350311:34
wpwrakqbject: nice :)12:38
qbjectwpwrak: Yes. 5000rpm spindle might not be appropriate for your areas of expertise, but it would suit me juuuust fine. :)12:39
qbjectand there are definitely worse makes than Seig.12:39
wpwrakqbject: yeah, my environment limits me to smaller and less noisy machines. lest the villagers come visiting, carrying torches and pitchforks :)12:40
qbjectwpwrak: Werner, the electronic witch-doctor!12:40
wpwrakqbject: yeah, my little mill stays hidden. in its box, you don't even hear it much when i mill PCBs at 3 am ;-)12:47
wpwrakinteresting: http://www.linux-mtd.infradead.org/misc.html#L_ubifs_compr13:54
wpwrakwhat does the ben use ?13:54
rafawpwrak: jlime zlib.. and IIRC qi openwrt as well13:58
wpwrakmight be interesting to see if lzo could provide a similar speed boost. the size increase seems relatively benign.14:01
wpwrakof course, it all depends on cpu vs. nand speed. if nand speed is the bottleneck, lzo could even be slower than zlib, because you have to move more data.14:01
wpwrakrafa: btw, regarding the jlime mirror, did you get everything you need from wolfgang ?14:03
rafawpwrak: I have not gotten anything yet :D14:03
rafawpwrak: I sent him the pubkey as he asked me14:03
wpwrakrafa: bah, he's slow !14:04
wpwrakrafa: what else will you need ? i'm not sure anything has been decided on the location yet, or has it ?14:05
rafaNo.. I need, after the mirror is done, to know the exact link of the repository, so I can set them properly into the image rootfs. Then I can build the tar.gz for SD and ubifs for NAND14:06
rafaWell, "No"= location has not decided yet I guess14:06
wpwrakah yes, you need the link there too. right.14:08
wpwrakwhat location/URL would you suggest ?14:08
rafawpwrak: I have no idea, because I do not know how flexible is qi web site or Wolfgang regard that :).. but.. I am okey with http://whatever../jlime/repository/  .. for example, or another good one would be something like jlime.qi-..whatever../repository/14:12
wpwrakwhat else would live under jlime/, besides jlime/repository/ ?14:14
wpwraki kinda like the look of jlime.qi-hardware.com. you could build all sorts of redirects based on this. not sure how flexible the setup is, though14:16
rafawpwrak: (what else would live under jlime/): no idea, I just proposed that because it would give us a bit of flexibility if another thing needs to live some day ;) but well, as you say14:17
rafajlime.qi-hardware.com would be cool as well if that is flexible14:17
wpwrakperhaps things like jlime/images/ ? or would they be under repository/ as well ?14:18
wpwrak(flexible) btw, all should be documented here http://en.qi-hardware.com/wiki/Server_setup14:19
wpwrakseems that it's the mighty apache. so it's certainly flexible enough - if you know which of the HUGE_VAL^infinite+some_more options to tweak ....14:20
rafawpwrak: yes.. /jlime/images/ would be a good thing to live under /jlime/. For example right now I have almost ready 4 at least. two beta4: one for nand, one for SD, and two bootstrap images: one for nand and one for SD. The bootstrap would be useful for people who does not want the whole X+WM+Desktop.. and just want to set his/her own environment installing packages from repo.14:21
wpwrakkewl. and you may also get things like jlime/testing/ etc. later on14:23
wpwrakrafa: hmm, have you ever used {character,string}{Color,RGBA} ? they don't seem to do anything :-(15:36
rafawpwrak: sorry.. in which context?.. :) I do not know some API like that ..15:42
wpwrakactually, i should probably do my own text drawing functions anyway, because i need some really small font15:44
rafawpwrak: for color I often try to use something like this : SDL_MapRGB(scr->format, 200, 200, 200)15:45
rafawpwrak: scr is the SDL_Surface you get with SDL_SetVideoMode()15:46
rafawpwrak: often=I think that I had problem with colors if I do not read the format of scr and you maprgb15:47
rafawpwrak: or what is not working exactly?15:47
rafawpwrak: do you want to put some text with specific color and size?15:48
wpwrakSDL_gfx has its own color format, RGBA. it works well for line drawing and polygons15:48
wpwrakjust text doesn't seem to do anything15:48
wpwraki'm trying to put text with the default font, any color (as long as it isn't black ;-)15:49
wpwrakwell, i did try with a non-black background too, just in case :)15:49
rafawpwrak: I will give you an example how I put text using SDL :15:53
rafawpwrak: that works nice and well15:56
wpwrakah, another library :) thanks !16:00
wpwrakmeanwhile, i've already hacked a quick and dirty 7-segment display. let's see how well this works ....16:01
qbjectwpwrak: have you ever touch-typed on a keyboard with domes like the Ben?16:04
wpwrakqbject: hmm, on a simnilar one, the oqo16:06
qbjectwpwrak: and that works with fingertips?16:07
wpwrakmessily, but yes, it does :)16:07
qbjectHow so?16:08
wpwraknice, i invented a space alien font ;-)16:11
wpwrakdrawing 7-segment letters with the middle and the bottom row swapped looks very interesting ;-)16:12
wpwrakqbject: (messily) you really have to concentrate16:13
qbjectwpwrak: 1. Pictures of your new language? :)16:27
qbjectwpwrak: 2. did you have to concentrate because of the oqo kb's small size, or because of the pressure required?16:27
wpwrakbecause of the small size16:28
qbjectgreat. You got me thinking about my capacitive kb idea and I decided it wasn't that interesting, since it would surely violate patents even if I didn't use proprietary code to do it.16:31
wpwrak(patents) yeah, that too :-(16:34
wpwrakcap is now unsafe until something like t(iPhone_v1)+20 years16:34
viricI like more mechanical keyboards like that of the nanonote, over the capacitive matrices16:35
wpwrakyup. they just feel better. more sensory input16:36
larscthe next big thing are touchscreen which can change their shape16:37
Action: wpwrak imagines a hand coming out of the screen, slapping a particularly stupid user16:38
viricI imagine something like a mechanical keyboard but being a screen all along the keys16:40
qbjectviric larsc : wasn't the original promise of OLEDs that they'd be printed with inkjets on flexible films> :>16:45
rafawpwrak: is that 320x240?16:46
wpwrakviric: such a thing actually exists. a regular-sized mechanical keyboard with little OLEDs in the keys. very expensive, though16:46
wpwrakrafa: 320x240, scaled by 200% for better Web viewing16:47
rafawpwrak: looks nice.. because you did not use the whole res and there are big black spaces yet :)16:48
wpwrakrafa: it could actually use more of the screen. this is with a fake signal with maximum amplitude: http://downloads.qi-hardware.com/people/werner/tmp/good-font.png16:52
qbjectwpwrak : that's coming from a piece of equipment, right, not your Ben?16:53
wpwrakqbject: at the moment, yes. but the thing should also be able to run on the ben16:54
wpwrak(it's the received signal strength of a WPAN module)16:55
viricdo you have anything working of that wpan?17:01
wpwraki can send text strings around. (bare text in IEEE 802.15.4 packet, no IPv6 or such.) but the antennas aren't particularly good yet. i'm working on that at the moment.17:04
wpwrak(higher layers) there's a proper stack being worked on in linux-zigbee, so i don't really have to worry about these layers for now.17:05
viricwpwrak: maybe you can use 'tt' ?17:06
viricsorry, tm17:06
wpwrakwhat's tm ?17:06
wpwrakah ;-)17:07
wpwrakhmm, then i'd still need the MAC. my stuff is much more primitive. no addresses :)17:07
viricoh. :)17:07
wpwraki do have the CRC, though. pure frivolous luxury, i know ...17:08
viricno forward error correction? :)17:08
wpwraknope. that's not even part of the full stack. has a fast ACK/retransmit mechanism, though17:09
viric+ crc17:09
viricit may be interesting to see how many bits fail in a packet, though.17:10
wpwrakoh yes. in my tests, i only report CRC failure, but receive the sorry remains of the packet anyway17:11
wpwrakbut they're usually beaten up pretty badly. the modulation seems to have a "sharp cliff" between good reception and junk. which is probably a good property.17:13
viricand makes sense to decide for a ack/repeat than any FEC.17:14
wpwrakyup, that too17:14
viricare wpan modules really cheap?17:32
wpwrakwanna know the BOM cost of atusd ? :)17:40
wpwrakviric: if yes, tell me for how many units17:41
viricI can't imagine what can 'atusd' mean17:41
viriclet's say, one unit. :)17:41
wpwrak(note: the capacitors are probably not quite good enough. should probably use higher-grade items)17:43
viricso yes, that is what I would call 'cheap'17:45
wpwrakfor 100 units, the price becomes USD 3.05 per unit (plus whatever the better caps cost)17:45
wpwrakwhat's missing in this calculation are PCB, case, manufacturing.17:46
wpwrakand distribution, taxes, etc. so maybe an end user price around USD 20-30 should be realistic.17:46
viricah, that goes away from cheap :)17:47
viricbut it's either paying that or spending time.17:47
viricDo you know if other devices with uSD could benefit from this?17:48
wpwrakatusb is more expensive. current single-unit cost USD 14.90. but that there are a number of things i need to rearrange. so it'll change. not sure in which direction, though :)17:48
wpwrakthe uSD is just bit-bang, so it depends on whether the others have that capability.17:49
wpwrakthe real communication that's happening with this board is a form of SPI.17:49
wpwrakbut it's different from SD in SPI mode.17:49
viricSPI... I don't know what it means17:49
wpwrakSPI is a serial communication interface. signals MOSI (master->slave), MISO (slave->master), SCLK, nSS (slave select).17:50
wpwrakfor reference, the atusb BOM: http://pastebin.ca/198579217:57
viricwhat does bom stand for?17:57
wpwrakBill Of Material17:58
viricI'm getting the meaning by examples.. but it does not look like an ancient word17:58
viricahh ok.17:58
wpwrakthe term probably goes back to early industrialization :)18:01
qbjectwpwrak : like Freight Bill or Bill of Lading18:03
wpwrakBill of Rights ;-)18:04
wpwrakthere we have at least a precise date :)18:05
wpwrakand since it's not called Carta Materialis, it must be more recent than the 13th century. that narrows it down pretty well ;-)18:06
viricI would have understood far better "Carta Materialis" :)18:07
wpwrakhehe :)18:08
wpwraknice. i can jam my wlan with the usrp2. finally, this works ;-)18:48
qi-bot[commit] Werner Almesberger: Use getopt in atspi-rssi.c http://qi-hw.com/p/ben-wpan/a7a94b819:06
qi-bot[commit] Werner Almesberger: Added graphical display of RSSI scan results. http://qi-hw.com/p/ben-wpan/0463bbe19:06
qi-bot[commit] Werner Almesberger: atspi-rssi/gui.c (gui): exit on keystroke or quit request http://qi-hw.com/p/ben-wpan/e3bae7319:06
kristianpaulwpwrak: (wlan with ursp2) wich standard?19:57
kristianpaulthe so populcar called "Wi-fi" or the one for wpan?19:58
qi-bot[commit] Sergey Kvachonok: Make CROSS_COMPILE configure script variable. http://qi-hw.com/p/xburst-tools/6c1baa520:07
qi-bot[commit] Sergey Kvachonok: Add firmware clean target to automake clean-local. http://qi-hw.com/p/xburst-tools/99b7ed920:07
qi-bot[commit] Sergey Kvachonok: Add configure cross-compiler check. http://qi-hw.com/p/xburst-tools/6d3e07f20:07
qi-bot[commit] Sergey Kvachonok: Minor configure.ac syntax cleanup. http://qi-hw.com/p/xburst-tools/51ec29820:07
kristianpaulGSM spec requires 0.05ppm ://20:48
kristianpaulwpwrak: you neet break your benchmarks :-)20:49
wpwrakkristianpaul: cntr can go as precise as you wish :) it knows ppb as a unit, too. so, bring it on ! :)20:51
kristianpaulgreat blog entry  this http://laforge.gnumonks.org/weblog/2010/11/07/#20101107-all_your_baseband_are_belong_to_us20:52
wpwrakkristianpaul: what have proving that security by obscurity doesn't work and groundhog day in common ? ;-)21:16
wpwrakit's fun to watch atspi-rssi -g  :)  too bad i'm the only one who can actually use it so far21:21
rafawolfspraul: did you get my mail?21:49
wolfspraulpublic key?21:51
wolfspraulyes I did21:51
wolfspraulsorry sometimes I am trailing my Inbox a little...21:51
rafawolfspraul: you did?.. I would need a bit of info in order to do something after you set my pubkey ;)21:57
rafawolfspraul: ah.. yes, you got21:57
rafawell.. tired.. I am leaving to sleep.. cya22:15
wolfspraulrafa: 'night22:22
--- Tue Nov 9 201000:00

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