xiangfu | wpwrak: they symlinked to each other. | 02:25 |
---|---|---|
kyak | wpwrak: hm, why would you need the SDK? | 06:21 |
kyak | toolchain should be sufficient, plus the STAGING_DIR export (you can point it to toolchain, it doesn't matter) | 06:23 |
kyak | wpwrak: btw, are you testing atusb on 3.8? | 06:24 |
kyak | larsc: nice hint! | 11:48 |
wpwrak | kyak: the SDK has some libraries I use (e.g., SDL) | 11:50 |
wpwrak | and i'm testing atusb on net-next, which is ... checking ... 3.9.0-rc4-01196-ga0b8667-dirty | 11:51 |
wpwrak | now let's see if i can make a 3.9 kernel for the ben ... | 11:54 |
wpwrak | is gcc getting senile ? "mm/page_alloc.c:5022:34: warning: array subscript is below array bounds [-Warray-bounds]" | 12:10 |
viric | what gcc? | 12:11 |
viric | mh this damn fuloong kernel somehow doesn't boot. I've a registers dump in pmon. | 12:12 |
wpwrak | mipsel-openwrt-linux-uclibc-gcc.bin (Linaro GCC 4.6-2012.02) 4.6.3 20120201 (prerelease) | 12:15 |
wpwrak | using the openwrt .config, i get a rather peculiar mix of devices. ps/2 mouse, (USB) HID, etc. didn't check the origin of these settings, though. some could have been forced by other items. | 12:17 |
wpwrak | something to clean up later ... | 12:17 |
viric | :) | 12:17 |
viric | maybe some defconfig | 12:17 |
viric | I use 4.6.3 here too, and I don't remember that message (building 3.8 now) | 12:18 |
viric | do mips64 kernels boot with early mips32 instrsuctions? | 12:20 |
wpwrak | nice typo ;-) | 12:22 |
viric | :D | 12:23 |
wpwrak | arch/mips/boot/compressed/vmlinux.bin.z ... gzip-compressed. very peculiar extension. wasn't .z "pack", the predecessor of "compress" ? | 12:26 |
viric | .Z, no? | 12:27 |
wpwrak | checking wikipedia ... yeah. darn, that stuff was old when i started on unix | 12:27 |
wpwrak | compress was .Z | 12:27 |
viric | ok | 12:27 |
viric | mh I don't understand how to make this pmon output to the serial port | 12:28 |
wpwrak | hmm, seems that flash_eraseall /dev/mtd1 && nandwrite -p /dev/mtd1 uImage no longer works :-( | 12:34 |
Action: wpwrak wonders just how much of the system he just killed | 12:34 | |
wpwrak | or maybe it's just the kernel that's bad | 12:37 |
viric | ? | 12:41 |
viric | check the kernel size | 12:45 |
viric | and the part size | 12:45 |
larsc | hm, isn't mtd1 the bootloader? | 12:46 |
viric | larsc: do you work with pmon? | 12:48 |
larsc | no | 12:52 |
larsc | luckily we don't have that on jz4740 | 12:53 |
viric | :) | 12:53 |
wpwrak | u-boot is still there. it got me into usb boot mode. so it must be the kernel. | 13:07 |
wpwrak | are the essential drivers in mainline ? | 13:08 |
wpwrak | the owrt kernel has a collection of some 27 patches | 13:09 |
Action: wpwrak undusts his idbg-equipped ben. let's see what goes on in that kernel ... | 13:34 | |
viric | :) | 13:36 |
viric | I'm investigating an early crash in the fuloong kernel | 13:37 |
wpwrak | hmm. NAND: "2048 MiB", followed by total silence. | 13:48 |
viric | a kerne line? | 13:56 |
viric | kernel | 13:56 |
viric | here the pmon memory dump instructions only dump 0xfffffffff | 13:56 |
viric | instead of memory contents. no idea why. | 13:57 |
wpwrak | no kernel. that's still u-boot | 13:59 |
wpwrak | hmm, the patch set looks intimidating. i thought the ben stuff had been pushed upstream ? | 14:34 |
larsc | it has, what's the size of your kernel? | 14:39 |
wpwrak | arch/mips/boot/vmlinux.bin.gz is 2396147 bytes | 14:50 |
wpwrak | a bit larger than the one on downloads.qi-hardware.com | 14:51 |
larsc | try to get it to less than 2MB | 14:51 |
larsc | lots of kernel bload these days | 14:51 |
wpwrak | unbloating ... | 14:51 |
larsc | I think we started out with 1MB back in the old days | 14:52 |
wpwrak | "8250/16550 and compatible serial support" hmm ... | 14:54 |
larsc | yes, the jz4740 serial is a 16550 | 14:55 |
larsc | with minor changes | 14:55 |
larsc | disable ext3/4 support or vfat | 14:55 |
wpwrak | i cleaned out a few other things. let's see how far i get ... | 14:58 |
wpwrak | still 2353883 :-( | 14:59 |
wpwrak | without "disk" filesystems, 2141620. closer :) | 15:00 |
viric | wpwrak: my troubles are gone; I had to disable FTRACE in the kernel. no more crashes. | 15:03 |
larsc | wpwrak: jffs2 can be disabled as well | 15:04 |
viric | FTRACE may be rotten in mips | 15:04 |
wpwrak | and creepy codepages | 15:06 |
viric | Why sysrq doesn't work on kernel panic? | 15:07 |
viric | I always found this very annoying | 15:07 |
viric | ah | 15:08 |
viric | no, it works :) | 15:08 |
viric | I was used to 'cu' (~# break), and in minicom the break is ctrl-a f. | 15:08 |
wpwrak | 1804699 bytes ;-) | 15:09 |
viric | gzipped, right? | 15:09 |
wpwrak | aye | 15:09 |
viric | there should be a contest on kernel configuration, seeing who makes the smallest working kernel | 15:09 |
viric | wpwrak: http://viric.name/cgi-bin/nanonixos/doc/trunk/doc/kerneldbg/index.wiki | 15:10 |
wpwrak | still no luck, though | 15:11 |
wpwrak | let's try the "official" kernel ... | 15:12 |
wpwrak | "OpenWrt powered". nice. then it trips over something (never gets past the logo). maybe the rootfs took a hit | 15:13 |
wpwrak | blargh. no readline in usbboot. how lame is that ? :) | 15:20 |
viric | rlwrap :) | 15:29 |
wpwrak | oh. you learn a new thing every day ;-) | 15:29 |
viric | FLOSS is a wide field | 15:30 |
viric | would the nanonote work with this? https://code.google.com/p/google-authenticator/ | 15:35 |
kyak | wpwrak: (atusb) very nice, hope you'd get it ro work | 16:00 |
kyak | s/ro/to | 16:00 |
kyak | currently the most i get from atusb are segfaults on 3.8 :) | 16:01 |
wpwrak | atusb is happy on 3.9. the user space tools too. but they appear to be broken in owrt. at least all i got from them there were complaints. actually .. lemme check ... | 16:09 |
kyak | wpwrak: are you using the driver from ben-wpan branch of qi-kernel git? | 16:17 |
kyak | with the latest updates for the firmware, and it works on 3.9 - do i understand correctly? | 16:17 |
wpwrak | the driver is only loosely based on the old one. my tree is here: https://github.com/wpwrak/ben-wpan-linux | 16:18 |
kyak | do you have plans to push it to the upstream? | 16:19 |
wpwrak | hmm. fragile system. reinstalled owrt. saw it boot. then installed the new kernel. complained about spi and the LCD chip. back to the owrt kernel. booted to the gui but got no usbnet. booted again, and this time it doesn't even make it to the gui :-( | 16:20 |
wpwrak | well, let's reinstall again ... | 16:21 |
kyak | by reinstall do you mean reflashing? | 16:22 |
wpwrak | yes. reflash_ben.sh | 16:22 |
wpwrak | regarding the atusb driver, it's not really usable yet. produces a lot of debug output, some details are missing, and i also need to check for some races. | 16:23 |
wpwrak | also, i haven't tested any proper IEEE 802.15.4 communication, just IEEE 802.15.4 to atrf-txrx. so i know it can send and receive but i don't know if the data is right. | 16:24 |
wpwrak | for testing wpan to wpan, i need another station. that's why i'm now trying to get atben to run | 16:24 |
wpwrak | viric: does look as if one should be able to port it | 16:25 |
kyak | but it's still something, which is good.. atben/atusb hasn't got any development for some time, so now probably soemthing with change | 16:25 |
kyak | i have a router with USB port, and have big plans for that :) | 16:26 |
kyak | openwrt router, of course | 16:26 |
viric | wpwrak: I guess the ios and android 'clients' are just *extras* | 16:28 |
viric | not the only ones | 16:28 |
wpwrak | wolfspraul: btw, have you noticed that sharism.cc has bitten the dust once more ? (someone mentioned it a while ago but i don't know if you were around at that time) | 16:35 |
roh | heho | 16:42 |
roh | wpwrak: seen this? http://www.heise.de/newsticker/meldung/ZigBee-IP-beherrscht-IPv6-1832899.html | 16:45 |
roh | *buzz* | 16:46 |
wpwrak | roh: yeah. and i posted a comment warning about it :) | 16:50 |
wpwrak | i also added a link about the non-commercial license to our ben-wpan wiki page. after all, our rants are a source referenced by wikipedia ;-) | 16:51 |
wpwrak | i eat my words - the wpan tools are fine in owrt. just a bit dated. (don't have "iz set") | 16:54 |
viric | so you fixed the kernel things? | 16:54 |
wpwrak | no. just installed the "official" distribution | 16:55 |
wpwrak | at86rf230 in owrt is rather chatty. that can't be good for performance ... | 16:56 |
viric | shame :) | 16:56 |
wpwrak | picking one fight at a time :) | 16:58 |
wpwrak | nice. the wpan stack in 3.9 just oopsed without me even helping :) | 16:59 |
wpwrak | ah well. time to do a bit of shopping. and then do as any good starship trooper would do ... | 16:59 |
viric | kill the bugs! | 17:03 |
wpwrak | yeah :) | 17:04 |
viric | one of the best films ever | 17:05 |
roh | well.. i got loads of openwrt routers distributed in this building.. if there would be other devices to talk to... | 17:05 |
roh | anybody ever tried to send/recieve other stuff in the same band? like weather-stations and similar | 17:06 |
viric | mh mpg123 doesn't build easily well on mips. It makes a very wrong sound | 17:09 |
viric | fuloong, not the nanonote. | 18:03 |
viric | in the nanonote, it works, cross-building | 18:03 |
larsc | wpwrak: 'Und heute abend im Programm bei Werner Almesberger deckt auf!, Vorsicht Falle: Zigbee' | 18:05 |
viric | nice, someone updated kicad in nixpkgs and it wasn't me! | 19:24 |
wpwrak | larsc: yeah. subtitle: patent trolls, proprietary standards, and phishers. | 21:13 |
wpwrak | kewl. izchat works. | 23:33 |
wpwrak | address assignment is a bit of a nightmare, though | 23:33 |
wpwrak | seems that the net-next stack dropped support for non-data frames. thus, we can't exchange administrative frames and therefore association can't be implemented (though, strangely, the API still seems to be there) | 23:35 |
wpwrak | fortunately, there is now a manual override with "iz set". so the atusb side on net-next is covered | 23:35 |
wpwrak | but ... on the ben, with the owrt kernel that has the old wpan stack WITH support of administrative frames, the wpan user space tools are a bit older and don't have "iz set". so the manual override isn't available there. | 23:36 |
wpwrak | however, if firing up a izcoordinator on the ben, which is of course dysfunctional because the other side can't handle administrative frames, that izcoordinator will also set the local address, thus in the end having the same effect as "iz set" | 23:37 |
wpwrak | i'll now wash my hands after typing this :) | 23:38 |
--- Sun Mar 31 2013 | 00:00 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!