2013-03-31 00:16 lkcl__ is now known as lkcl 2013-03-31 00:23 Calyp has joined #qi-hardware 2013-03-31 00:28 hmm, using the net-next kernel, startup looks like this: http://pastebin.com/YFTMsvHD 2013-03-31 00:29 (the mmc0 errors are probably because i had a non-mmc card inserted) 2013-03-31 00:30 the UBIFS problems look as if the kernel had troubles finding the right partition offset 2013-03-31 00:31 one thing about the spi errors is that there's no ili8960 in the kernel. i saw a patch for it in the owrt patch collection, though 2013-03-31 00:37 let's try this with a bit more verbosity ... 2013-03-31 00:38 porchaso0 has joined #qi-hardware 2013-03-31 00:38 porchao has quit [Ping timeout: 255 seconds] 2013-03-31 00:45 what's odd is that there's no word about NAND detection 2013-03-31 00:49 jekhor has quit [Ping timeout: 245 seconds] 2013-03-31 01:05 pcercuei has joined #qi-hardware 2013-03-31 01:16 xiangfu has quit [Ping timeout: 245 seconds] 2013-03-31 01:16 the spi complaints came from missing 0008-qi_lb60-Don-t-use-3-wire-spi-mode-for-the-display-fo.patch 2013-03-31 01:17 Calyp has quit [Quit: gone working on freeconomy =o)] 2013-03-31 01:18 xiangfu has joined #qi-hardware 2013-03-31 01:31 phew. debug output at last. something seems to have changed with loglevel. 2013-03-31 01:38 the ubifs errors seem to be caused by 0020-qi_lb60-NAND-add-data-partition.patch missing 2013-03-31 01:38 one step closer to sanity :) 2013-03-31 01:41 let's see if the stock kernel could still boot on this ben ... 2013-03-31 01:41 naw, dies too. very good. 2013-03-31 01:42 reflash_ben time again ... 2013-03-31 01:52 pcercuei has quit [Quit: Bye] 2013-03-31 01:55 xiangfu has quit [Ping timeout: 255 seconds] 2013-03-31 01:57 xiangfu has joined #qi-hardware 2013-03-31 02:10 wolfspraul has quit [Quit: leaving] 2013-03-31 02:10 interesting ... after a reinstall with the "official" distro, most printks are gone, too. ah well, life is full of small mysteries :) 2013-03-31 02:12 now the kernel boots into busybox. not making it to a login/shell, though. let's see what else it needs ... 2013-03-31 02:19 aah, a shell. victory at last ! :) devtmpfs did the trick 2013-03-31 02:21 fails to mount /proc, though the kernel has it. hmm. 2013-03-31 02:30 larsc (or maybe xiangfu): do you remember whether 0004-NAND-Add-support-for-subpage-reads-for-NAND_ECC_HW_O.patch is required or whether it's merely an optimization ? 2013-03-31 02:31 seems that there may be trouble in the future with SPI: spi_gpio spi_gpio.1: master is unqueued, this is deprecated 2013-03-31 02:32 ubifs is also quite cheerful: UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 10, need 80 2013-03-31 02:32 luckily, there are neither bad nor corrupt PEBs :) 2013-03-31 02:36 situation so far: http://pastebin.com/HcQzsy1P 2013-03-31 02:36 let's see how well git handles local clones 2013-03-31 02:49 if anyone is interested, here's my current setup: https://github.com/wpwrak/ben-wpan-linux/commits/ben-basics 2013-03-31 02:50 i merged 0006-MTD-NAND-JZ4740-Multi-bank-support-with-autodetectio.patch (with whitespace cleanup) and 0008-qi_lb60-Don-t-use-3-wire-spi-mode-for-the-display-fo.patch 2013-03-31 02:51 0004-NAND-Add-support-for-subpage-reads-for-NAND_ECC_HW_O.patch needed some small modifications 2013-03-31 02:58 oh, and why do we have 0009-dev-mem-Add-kernel-config-option-to-omit-this-device.patch ? please don't take /dev/mem away ! anything using ubb from user space (libubb, ubb-vga, etc.) and the ben-wpan userspace tools with atben need it 2013-03-31 03:30 xiangfu has quit [Ping timeout: 246 seconds] 2013-03-31 03:32 xiangfu has joined #qi-hardware 2013-03-31 03:36 megha has joined #qi-hardware 2013-03-31 03:37 baba has quit [Ping timeout: 245 seconds] 2013-03-31 03:45 viric has quit [Ping timeout: 260 seconds] 2013-03-31 03:45 viric_ has joined #qi-hardware 2013-03-31 03:52 wpwrak: it's an optimization 2013-03-31 03:59 kewl, so i can kill it if it causes trouble :) here's my variant for net-next (3.9.0-rc4): https://github.com/wpwrak/ben-wpan-linux/commit/5d4ea6ec9bd55a9be80b59f523d975d316f55e6e 2013-03-31 04:00 the main difference is that NAND_SUBPAGE_READ has become a flag. dunno if my variant of the patch is correct 2013-03-31 04:03 DocScrutinizer05 has quit [Disconnected by services] 2013-03-31 04:03 DocScrutinizer05 has joined #qi-hardware 2013-03-31 04:10 meh, that one night I need to get up earily they take an additional hour out of the night 2013-03-31 04:16 you have to get up early on easter sunday ... to catch the easter bunny hiding eggs ? 2013-03-31 04:17 I wish, need to get to the airport, hopefully it won't be too busy on eastersunday at 8am 2013-03-31 04:18 you picked a flight that's leaving at a lovely time :) 2013-03-31 04:19 is it for holidays or work ? 2013-03-31 04:20 work, flying over to ADI's offices in Romania 2013-03-31 04:21 ah, short-distance 2013-03-31 04:21 yes, but there are only two flights per day 2013-03-31 04:21 one at 8am one at 8pm 2013-03-31 04:21 or so 2013-03-31 04:24 by flying now instead of in the evening I get at least the chance to see a bit of the city 2013-03-31 04:25 yeah, and you can check out the nightlife. well, may not be too wild if monday is not a holiday 2013-03-31 04:25 it's not 2013-03-31 04:26 and I has surgery 1.5 weeks ago and I'm not fully recovered yet 2013-03-31 04:27 aw :( 2013-03-31 04:30 but a colleague is going to pick me up at the aiport and is going to take me on a sightseeing tour 2013-03-31 04:30 and mabye go for a drink later in the evening 2013-03-31 04:33 may not be all that drab then :) 2013-03-31 04:38 I'm mainly complaining about daylight saving time 2013-03-31 04:54 yeah, that's one evil invention 2013-03-31 05:38 wpwrak: i'll have a look into updating lowpan-tools to the latest version 2013-03-31 05:55 yep, airport is almost empty, I'm one hour early at the gate 2013-03-31 05:56 larsc: always better than one minute late ;-) 2013-03-31 05:56 that's true 2013-03-31 05:56 kyak: great, thanks 1 2013-03-31 05:57 but as always the mobile connection sucks 2013-03-31 05:58 be thankful that there is one ;-) 2013-03-31 06:00 I sometimes wonder whether they do this on purpose so they can sell their wifi 2013-03-31 06:00 even on the runway you get better connection then here at the gate 2013-03-31 06:05 Jay7 has quit [Ping timeout: 248 seconds] 2013-03-31 06:08 Jay7 has joined #qi-hardware 2013-03-31 07:18 viric_ is now known as viric 2013-03-31 07:54 rz2k has joined #qi-hardware 2013-03-31 08:03 [commit] kyak: libnl-3: initial commit (master) http://qi-hw.com/p/openwrt-packages/e360db6 2013-03-31 08:03 [commit] kyak: lowpan-tools: update to 0.3 (master) http://qi-hw.com/p/openwrt-packages/f18356c 2013-03-31 08:05 wpwrak: the packages are in http://downloads.qi-hardware.com/people/kyak/tmp/{libnl-3_3.2.21-1_xburst.ipk,lowpan-tools_0.3-1_xburst.ipk} 2013-03-31 08:05 i only tested the "iz --version" though :) 2013-03-31 08:07 we had to provide our own libnl-1 for older lowpan-tools, because openwrt shipped libnl-2. Now we have to provide our own libnl-3 for the latest lowpan-tools, because openwrt is still using libnl-2 :) 2013-03-31 08:28 jekhor has joined #qi-hardware 2013-03-31 08:37 kilae has joined #qi-hardware 2013-03-31 08:38 xiangfu has quit [Ping timeout: 260 seconds] 2013-03-31 09:15 lekernel has joined #qi-hardware 2013-03-31 09:42 xiangfu has joined #qi-hardware 2013-03-31 09:44 apelete has joined #qi-hardware 2013-03-31 10:08 jurting has joined #qi-hardware 2013-03-31 10:39 LunaVorax has joined #qi-hardware 2013-03-31 11:06 unclouded has quit [Ping timeout: 246 seconds] 2013-03-31 11:27 qwebirc19838 has joined #qi-hardware 2013-03-31 11:28 qwebirc19838 has quit [Client Quit] 2013-03-31 11:36 security has joined #qi-hardware 2013-03-31 11:36 xiangfu has quit [Ping timeout: 272 seconds] 2013-03-31 11:37 megha has quit [Ping timeout: 252 seconds] 2013-03-31 12:03 Calyp has joined #qi-hardware 2013-03-31 12:16 wolfspraul has joined #qi-hardware 2013-03-31 12:54 Calyp has quit [Ping timeout: 255 seconds] 2013-03-31 13:06 wolfspraul has quit [Ping timeout: 240 seconds] 2013-03-31 13:11 viric_ has joined #qi-hardware 2013-03-31 13:11 viric has quit [Ping timeout: 255 seconds] 2013-03-31 13:28 kyak: thanks ! yes, the libnl dependency is a bit messy. the mailing list is full of people wrestling with it ;-) 2013-03-31 13:28 testing ... 2013-03-31 13:35 jurting has quit [Ping timeout: 272 seconds] 2013-03-31 13:36 hmm, still has only the old commands 2013-03-31 13:37 did you follow these instructions ? http://sourceforge.net/apps/trac/linux-zigbee/wiki/BuildingUserspaceTools 2013-03-31 13:37 have you seen this kernel build error? 3.8.4 and 3.8.5 2013-03-31 13:38 kernel/signal.c: error: 'struct sigaction' has no member named 'sa_restorer' 2013-03-31 13:38 the new version identifies itself as 0.3, like yours. not sure if this means they're the same and "set" is missing for a more obscure reason ? 2013-03-31 13:38 scratch the "?". 2013-03-31 13:39 viric_: accidental editing ? and no, haven't seen this yet 2013-03-31 13:39 hm seems to be a known issue on mipslinux 2013-03-31 13:40 wpwrak: what's so special about those instructions? 2013-03-31 13:41 had no problems with libnl dependency.. apart from the fact that i had to package it 2013-03-31 13:42 "iz set" is needed to set addresses "cleanly" with net-next, since the izcoordinator functionality has been lost (at least temporarily) 2013-03-31 13:43 you have a plan B, abusing izcoordinator for this task, but that's a little messy 2013-03-31 13:43 wpwrak: do you see the version of iz as 0.3? 2013-03-31 13:43 yes. yours (without "iz set") and the one i build from sources for x86_64 (with "iz set") both identify as 0.3 2013-03-31 13:44 then i have no idea where the "set" option is :) 2013-03-31 13:45 i could expect a special option to enable it in build instructions, but there is nothing like that 2013-03-31 13:47 src/iz-mac.c line 571 should be .name = "set", that would indicate that you have the right version 2013-03-31 13:48 so the fact that it grabbed the 0.3 tarball doesn't indicate that? :) 2013-03-31 13:48 no no, you need the git, no tarball 2013-03-31 13:48 http://sourceforge.net/apps/trac/linux-zigbee/wiki/BuildingUserspaceTools 2013-03-31 13:48 quote: "It is strongly recommended to use the latest Git HEAD version." 2013-03-31 13:48 what the hell... 2013-03-31 13:49 are they not capable of doing a proper release? 2013-03-31 13:49 the project is undergoing some management changes ;-) 2013-03-31 13:49 it's all in flux 2013-03-31 13:49 ok, lemme package the git version real fast 2013-03-31 13:52 viric_ is now known as viric 2013-03-31 13:56 wpwrak: http://downloads.qi-hardware.com/people/kyak/tmp/lowpan-tools_git-1_xburst.ipk 2013-03-31 13:57 not sure if it is best to commit the git version of package or leave it at 0.3... 2013-03-31 13:58 the git version will auto-track ? 2013-03-31 13:58 nope, it's bound to the specific revision 2013-03-31 13:58 (commit) 2013-03-31 13:59 sounds great then. "iz set" succeeded. now let's see if i can send/receive 2013-03-31 14:00 [commit] kyak: lowpan-tools: update to the latest git version (master) http://qi-hw.com/p/openwrt-packages/963a2b7 2013-03-31 14:00 yeah. works ! thanks a lot ! 2013-03-31 14:01 np :) 2013-03-31 14:06 lekernel has quit [Quit: Leaving] 2013-03-31 14:09 jekhor has quit [Ping timeout: 252 seconds] 2013-03-31 14:15 and i found that all the bitching from owrt depends on the kernel, even if it looks as if it was entirely user space problems 2013-03-31 14:15 i.e., if i install the owrt kernel, the complaints go away 2013-03-31 14:16 well, this is now lower priority, given that i can use atben with the owrt kernel 2013-03-31 14:16 wpwrak: owrt starts with patching for the path of the 'init' elf 2013-03-31 14:21 hmm, but how would that depend on the kernel ? 2013-03-31 14:21 xiangfu has joined #qi-hardware 2013-03-31 14:22 ? 2013-03-31 14:22 the code that finds the init elf is in the kernel 2013-03-31 14:22 i had to enable devtmpfs to get to the shell prompt at all, which is something the owrt kernel doesn't even have. so there's something fishy. 2013-03-31 14:22 :) 2013-03-31 14:23 aaah ! 2013-03-31 14:23 because you start with a too-void fs 2013-03-31 14:23 no i remember what you mean 2013-03-31 14:23 s/no/now 2013-03-31 14:23 wpwrak meant: "now i remember what you mean" 2013-03-31 14:24 right. owrt's "we introduce a random change that guarantees that we'll never work with a vanilla kernel" policy 2013-03-31 14:25 maybe there is an insightful rationale behind that, but I don't know it 2013-03-31 14:26 where's a psychopathologist when you need one ? ;-) 2013-03-31 14:28 wpwrak: as far as i remember, you can use vanilla kernel (nanonote_defconfig or whatever it is called) and the only patch you actually need is for partition layout 2013-03-31 14:30 that's what i almost got to boot. but then busybox didn't find things.after tossing in devtmpfs, i comes up, but with complaints 2013-03-31 14:30 s/ i / it / 2013-03-31 14:30 wpwrak meant: "that's what it almost got to boot. but then busybox didn't find things.after tossing in devtmpfs, it comes up, but with complaints" 2013-03-31 14:31 s/ needs an index option. s/ i / it /[2] 2013-03-31 14:31 or [1], if we make it 0-based 2013-03-31 14:31 :) 2013-03-31 14:32 the partition layout can be set in the kernel config 2013-03-31 14:32 even in uboot 2013-03-31 14:33 i passed a compile-time command line, just to make sure. also need it for loglevel. the kernel is a bit too silent by default. 2013-03-31 14:33 if anyone wants to play: this is how owrt comes up with the net-next kernel: http://pastebin.com/gibQYdG7 2013-03-31 14:35 and here is the kernel that goes with it: https://github.com/wpwrak/ben-wpan-linux/commits/ben-basics 2013-03-31 14:35 the .config is in /config-ben 2013-03-31 14:35 wpwrak: I didn't find how to use that google-authenticator thing, having the key generator in the nanonote 2013-03-31 14:36 wpwrak: but I also found 'oath toolkit', which looks better and more gnuish 2013-03-31 14:36 But at the end I'll use OTPW, which is "paper based" :) 2013-03-31 14:36 for google-authenticator, I mean that the 'key generator' client seems to be available only for ios and android. 2013-03-31 14:36 nice :) don't let skynet have your credentials 2013-03-31 14:37 no no. 2013-03-31 14:37 otpw looks quite good 2013-03-31 14:54 jurting has joined #qi-hardware 2013-03-31 15:09 wolfspraul has joined #qi-hardware 2013-03-31 15:39 xiangfu has quit [Ping timeout: 256 seconds] 2013-03-31 15:41 xiangfu has joined #qi-hardware 2013-03-31 15:46 xiangfu has quit [Ping timeout: 240 seconds] 2013-03-31 15:47 xiangfu has joined #qi-hardware 2013-03-31 15:52 xiangfu has quit [Ping timeout: 245 seconds] 2013-03-31 16:00 qwebirc46705 has joined #qi-hardware 2013-03-31 16:00 qwebirc46705 is now known as rjeffries 2013-03-31 16:17 Jurting_pc2 has joined #qi-hardware 2013-03-31 16:45 Calyp has joined #qi-hardware 2013-03-31 16:49 . 2013-03-31 17:17 security is now known as fire 2013-03-31 17:34 (owrt) init=/etc/preinit id the trick 2013-03-31 17:34 the owrt kernel boots without it, so i suppose it's set via a patch there 2013-03-31 17:37 * wpwrak loves his idbg :) i wonder how people get anything done at the kernel level without it 2013-03-31 17:40 wpwrak: what does idbg do? 2013-03-31 17:45 it's a little USB-to-serial(and more) board that goes into, for example, a ben. details: http://www.almesberger.net/misc/idbg/ 2013-03-31 17:45 wpwrak: I used a ftdi cable with the next-to-battery serial port 2013-03-31 17:46 wpwrak: ha, you git the init name patch thing? :) 2013-03-31 17:46 *hit* 2013-03-31 17:46 wpwrak: are you using openocd with that? 2013-03-31 17:47 lindi-: does the ingenic support jtag? 2013-03-31 17:47 viric: yeah. fixed in my tree now. one evil critter down :) i think now all that's missing is usb. (the rest are audio, nand optimizations, and cpufreq, which i think i don't need) 2013-03-31 17:47 viric: what is ingenic? 2013-03-31 17:48 lindi-: I mean the cpu in the nanonote 2013-03-31 17:48 lindi-: yes, i have a (very slow and unreliable) openocd driver for it 2013-03-31 17:48 ah I didn't know 2013-03-31 17:48 I used only kgdb 2013-03-31 17:49 wpwrak: do you normally use that or something else? 2013-03-31 17:49 which works impressively well 2013-03-31 17:49 lindi-: haven't touched the phones for a long time, though. so i never improved that driver. idng for the ben doesn't have jtag 2013-03-31 17:49 wpwrak: ok 2013-03-31 17:49 hahaha Embedded Air 2013-03-31 17:49 excellent 2013-03-31 17:49 lindi-: most of the time, i just use printk debugging 2013-03-31 17:49 lindi-: http://viric.name/cgi-bin/nanonixos/doc/trunk/doc/kerneldbg/ 2013-03-31 17:49 wpwrak: re debugging: printks, kdbg and also white dot debugging 2013-03-31 17:50 viric: document not found 2013-03-31 17:50 wpwrak: ok, I use systemtap quite often 2013-03-31 17:50 ouhm 2013-03-31 17:50 lindi-: apart from devirgination, i really _had_ to use jtag only maybe twice in all my time at openmoko 2013-03-31 17:50 lindi-: http://viric.name/cgi-bin/nanonixos/doc/trunk/doc/kerneldbg/index.wiki 2013-03-31 17:59 I used openocd only with the sheevaplug 2013-03-31 17:59 Calyp has quit [Ping timeout: 240 seconds] 2013-03-31 17:59 when I was building the first kernels for it, that didn't build at all 2013-03-31 17:59 I mean 2013-03-31 17:59 didn't boot at all 2013-03-31 18:48 viric has quit [Quit: fins ara] 2013-03-31 18:50 viric has joined #qi-hardware 2013-03-31 18:51 jekhor has joined #qi-hardware 2013-03-31 19:11 porchao has joined #qi-hardware 2013-03-31 19:12 porchaso0 has quit [Ping timeout: 252 seconds] 2013-03-31 19:14 Calyp has joined #qi-hardware 2013-03-31 19:37 fire has quit [Ping timeout: 256 seconds] 2013-03-31 19:39 rz2k has quit [] 2013-03-31 19:46 argh 2013-03-31 19:53 fire has joined #qi-hardware 2013-03-31 20:06 wpwrak: board burnt? 2013-03-31 20:08 naw, the unreadably colored message above 2013-03-31 20:09 jekhor has quit [Ping timeout: 256 seconds] 2013-03-31 20:14 ah I missed it. 2013-03-31 20:47 jurting has quit [Ping timeout: 245 seconds] 2013-03-31 20:56 kilae has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]] 2013-03-31 21:15 jekhor has joined #qi-hardware 2013-03-31 21:19 LunaVorax has quit [Ping timeout: 256 seconds] 2013-03-31 21:36 LunaVorax has joined #qi-hardware 2013-03-31 21:37 LunaVorax has quit [Read error: Connection reset by peer] 2013-03-31 21:43 larsc: do you know anything about gcc targeting sharc processors? 2013-03-31 21:51 LunaVorax has joined #qi-hardware 2013-03-31 22:22 LunaVorax_ has joined #qi-hardware 2013-03-31 22:24 LunaVorax has quit [Ping timeout: 256 seconds] 2013-03-31 22:31 LunaVorax_ is now known as LunaVorax 2013-03-31 22:34 kyak has quit [Ping timeout: 258 seconds] 2013-03-31 22:45 LunaVorax has quit [Read error: Connection reset by peer] 2013-03-31 22:46 LunaVorax has joined #qi-hardware 2013-03-31 22:49 kyak has joined #qi-hardware 2013-03-31 22:49 unclouded has joined #qi-hardware 2013-03-31 23:23 jekhor has quit [Ping timeout: 260 seconds]