2014-07-28 00:00 pcercuei has quit [Quit: dodo] 2014-07-28 00:52 hmm. the FLL works a specified. with quite precisely the -558 ppm error they designed in. if they had been a little bit more reckless, it could run with +125 ppm. well, i can detune the crystal to still make it work, but ... 2014-07-28 01:19 I wonder what for you need such precision in system clock 2014-07-28 01:21 ok, on 2GHz it's already 500kHz 2014-07-28 01:21 err 1MHz 2014-07-28 01:37 for USB. USB is picky. 2014-07-28 01:37 and it's also nice to have a decent RTC 2014-07-28 01:38 though i can correct any constant error there by software, 2014-07-28 01:48 rz2k has joined #qi-hardware 2014-07-28 01:53 xiangfu has joined #qi-hardware 2014-07-28 02:05 exactly 2014-07-28 02:06 anyway I doubt you want to use a sysclock based RTC 2014-07-28 02:07 prolly way too greedy to do the CMOS clock 2014-07-28 02:07 there's a lot of reasons why all such RTC use a true 32kHz crystal 2014-07-28 02:08 i am using a 32 kHz crystal :) 2014-07-28 02:08 the FLL then generates a 48 MHz clock from it 2014-07-28 02:09 but if i have to detune the 32 kHz clock to get the 48 MHz right, then i also get incorrect RTC readings, so i'll have to correct these "back" 2014-07-28 02:31 pabspabspabs is now known as pabs3 2014-07-28 03:10 xiangfu has quit [Ping timeout: 272 seconds] 2014-07-28 03:11 xiangfu has joined #qi-hardware 2014-07-28 03:18 atommann has joined #qi-hardware 2014-07-28 03:26 atommann has quit [Ping timeout: 250 seconds] 2014-07-28 03:53 atommann has joined #qi-hardware 2014-07-28 04:29 hmm, wrestled the beast down to 504 uA "suspended". that's about 500 uA more than i'd like to see ... i wonder who is stealing all that power. still haven't equipped all the components, so the number of suspects is small ... 2014-07-28 05:21 xiangfu has quit [Ping timeout: 272 seconds] 2014-07-28 05:30 xiangfu has joined #qi-hardware 2014-07-28 05:34 grmbl. qi-hw servers down again :-( i wonder what's killing them so often ... moribund hardware ? "visitors" ? the global conspiracy of ddos'ing script kiddies ? 2014-07-28 05:36 wolfspraul has joined #qi-hardware 2014-07-28 05:38 qi-bot has joined #qi-hardware 2014-07-28 05:38 jekhor has joined #qi-hardware 2014-07-28 05:40 wolfspraul: thanks ! ;-) 2014-07-28 05:40 I need to move to a new physical machine though 2014-07-28 05:41 It's only stable for minutes now - enough... 2014-07-28 05:41 wolfspraul: btw, /srv/www/downloads.qi-hardware.com seem to fail mounting quite regularly. i wonder if setting it to bg may help 2014-07-28 05:41 oh, so the hw is dying 2014-07-28 05:51 qi-bot has quit [Ping timeout: 272 seconds] 2014-07-28 05:57 qi-bot has joined #qi-hardware 2014-07-28 06:11 qi-bot has quit [Ping timeout: 245 seconds] 2014-07-28 06:56 atommann has quit [Quit: Leaving] 2014-07-28 06:56 atommann has joined #qi-hardware 2014-07-28 07:04 atommann has quit [Ping timeout: 260 seconds] 2014-07-28 07:16 atommann has joined #qi-hardware 2014-07-28 07:46 must.. resist... moving... to cloud.. :) 2014-07-28 07:52 atommann has quit [Ping timeout: 250 seconds] 2014-07-28 07:55 qi-bot has joined #qi-hardware 2014-07-28 08:17 atommann has joined #qi-hardware 2014-07-28 08:22 mirko has quit [Ping timeout: 272 seconds] 2014-07-28 08:35 mirko has joined #qi-hardware 2014-07-28 08:48 xiangfu has quit [Ping timeout: 240 seconds] 2014-07-28 08:58 jekhor has quit [Ping timeout: 245 seconds] 2014-07-28 09:01 qi-bot6 has joined #qi-hardware 2014-07-28 09:01 qi-bot has quit [Read error: Connection reset by peer] 2014-07-28 09:01 qi-bot6 is now known as qi-bot 2014-07-28 09:02 jekhor has joined #qi-hardware 2014-07-28 09:03 atommann has quit [Ping timeout: 245 seconds] 2014-07-28 09:08 rodgort has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 2014-07-28 09:09 qi-bot has quit [Ping timeout: 250 seconds] 2014-07-28 09:13 jekhor has quit [Ping timeout: 260 seconds] 2014-07-28 09:14 rodgort has joined #qi-hardware 2014-07-28 09:20 atommann has joined #qi-hardware 2014-07-28 09:41 mirko has quit [Ping timeout: 256 seconds] 2014-07-28 09:41 mirko has joined #qi-hardware 2014-07-28 10:13 atommann has quit [Quit: Leaving] 2014-07-28 10:29 jekhor has joined #qi-hardware 2014-07-28 10:44 jekhor has quit [Ping timeout: 260 seconds] 2014-07-28 11:13 kilae has joined #qi-hardware 2014-07-28 12:01 kristianpaul has quit [Quit: leaving] 2014-07-28 12:28 pcercuei has joined #qi-hardware 2014-07-28 12:36 kristianpaul has joined #qi-hardware 2014-07-28 12:56 valhalla has quit [Ping timeout: 260 seconds] 2014-07-28 13:14 valhalla has joined #qi-hardware 2014-07-28 13:43 wolfspraul has quit [Ping timeout: 255 seconds] 2014-07-28 13:45 wolfspraul has joined #qi-hardware 2014-07-28 13:54 hmm .... ... Deferred: Connection timed out with turandot.qi-hardware.com. 2014-07-28 13:54 jekhor has joined #qi-hardware 2014-07-28 14:04 pcercuei: I was informed that you haven't signed up for the christmas party yet 2014-07-28 14:05 hmm yes 2014-07-28 14:08 wpwrak: I'm setting up a new machine 2014-07-28 14:11 pcercuei: is that a "Yes I'll be there"? 2014-07-28 14:13 yes 2014-07-28 14:20 wolfspraul: great :) thanks ! 2014-07-28 14:41 wolfspraul: elcos gone dry and popped up? 2014-07-28 14:41 rz2k has quit [] 2014-07-28 14:42 (the usual fatal failure pattern of old PC boards) 2014-07-28 14:42 except when fan gets stuck and whole PC overheats 2014-07-28 15:12 Ornoterm1s has quit [Quit: leaving] 2014-07-28 16:09 atommann has joined #qi-hardware 2014-07-28 16:16 Ornotermes has joined #qi-hardware 2014-07-28 16:16 atommann has quit [Quit: Leaving] 2014-07-28 16:35 Ornotermes has quit [Quit: leaving] 2014-07-28 16:46 Ornotermes has joined #qi-hardware 2014-07-28 17:02 what possibilities do I have to debug a kernel which won't start at all? 2014-07-28 17:03 jtag! 2014-07-28 17:04 I don't have jtag, unfortunately 2014-07-28 17:08 anything that can be used on serial? KGDB? 2014-07-28 17:08 from what I can see KGDB can be used on a running kernel, not to debug a kernel that fails to boot 2014-07-28 17:34 strategically placed gpio toggles 2014-07-28 17:43 jekhor has quit [Read error: Connection reset by peer] 2014-07-28 17:43 jekhor has joined #qi-hardware 2014-07-28 18:51 exactly. Use the LEDs or whatever you got, to signal checkpoints your code reaches 2014-07-28 18:52 [2014-07-28 Mon 01:48:37] well, in a bit, i'll make my code return that register value. then i'll know for sure what's cooking there. for now, all i have is a lone LED :) 2014-07-28 18:53 [2014-07-28 Mon 01:49:41] hook a scope there - then shift it out 2014-07-28 18:53 so, somewhat relevant 2014-07-28 18:54 very convenient: a piezo beeper 2014-07-28 18:54 I found an old ar9285 wifi card 2014-07-28 18:54 and turns out it has JTAG and UART pins on the sides, and open-source firmware for a very close device in same family, and the host interface allows to arbitrarily dump RAM 2014-07-28 18:55 I want to run something there 2014-07-28 18:56 96k SRAM, 1M of architectural SPI (i.e. SoC-integrated) flash 2014-07-28 18:56 and if I understand it correctly, ar9k (PHY+MAC) series is basically the same IP core as their earlier ar5k (PHY) series and some CPU with a PCI interface that twiddles it 2014-07-28 18:57 so that FOSS firmware just contains a port of mac80211 stack (!) 2014-07-28 18:57 sounds about correct 2014-07-28 18:58 only problem is, i have no idea how to program the PCI-e interface 2014-07-28 18:58 no FOSS drivers, firmware or even docs exist that mention PCI or PCI-e host iface 2014-07-28 18:58 umm, on card side? 2014-07-28 18:58 yes 2014-07-28 18:59 yeah, prolly pretty unusual platform for FOSS 2014-07-28 18:59 it doesn't make it easier that they use some incredibly obscure CPU architecture I've never even heard of 2014-07-28 18:59 tensilica 2014-07-28 18:59 *tensilica xtensa 2014-07-28 19:00 errr 2014-07-28 19:00 apparently it is synthesizable and customizable, and tailored for DSP 2014-07-28 19:00 but I've seen prcisely 0 DSP operations in FOSS firmware 2014-07-28 19:00 which makes me wonder, why not just put a cortex-m there or at least keep using SH-2, as they used to 2014-07-28 19:00 first two google hits: https://en.wikipedia.org/wiki/Tensilica http://ip.cadence.com/ipportfolio/tensilica-ip/xtensa-customizable 2014-07-28 19:01 yes, sure, I found it already 2014-07-28 19:01 but I never heard of it before, which is unusual 2014-07-28 19:01 because I've heard of most CPU architectures :p 2014-07-28 19:02 the host-side driver is weird, too 2014-07-28 19:02 it -appears- like the PCI-e transceiver has some kind of a huge shift register somewhere, and you can shift a configuration there? 2014-07-28 19:02 that's a meta CPU 2014-07-28 19:02 kinda like ARM 2014-07-28 19:03 *nod* 2014-07-28 19:03 >>synthesizable and customizable<< as you said 2014-07-28 19:04 oh, wait, I just realized what does that PCI-e related code do 2014-07-28 19:05 it writes *through* PCI-e *into* the registers on the device-side to configure *device-side* serdes 2014-07-28 19:05 http://lxr.free-electrons.com/source/drivers/net/wireless/ath/ath9k/ar9002_hw.c#L195 2014-07-28 19:07 I wonder what PCI-e IP cores are popular in industry, maybe it's not a custom one 2014-07-28 19:07 288 bit serial shift register - eeeew 2014-07-28 19:07 exactly 2014-07-28 19:09 http://ip.cadence.com/ipportfolio/interface-ip 2014-07-28 19:10 http://ip.cadence.com/ipportfolio/interface-ip/pci-express-ip 2014-07-28 19:13 dunno if you seen it, or whether it's worth anything: http://www.linux-xtensa.org/ 2014-07-28 19:13 so they want me to register, but their registration page resets the connection 2014-07-28 19:13 awesome 2014-07-28 19:15 hmmm, linux-xtensa may have device-side PCI-e 2014-07-28 19:16 that's what I thought 2014-07-28 19:19 qi-bot has joined #qi-hardware 2014-07-28 19:21 no, only has host-side PCI 2014-07-28 19:31 DocScrutinizer06 has joined #qi-hardware 2014-07-28 19:32 well, I'll just hope that either UART debug output gives some hints, or it's something simple like a shared memory buffer 2014-07-28 19:33 DocScrutinizer06 has quit [Client Quit] 2014-07-28 19:33 DocScrutinizer05 has quit [Ping timeout: 250 seconds] 2014-07-28 19:33 DocScrutinizer05 has joined #qi-hardware 2014-07-28 19:36 actuall, yes, it will be something like that, since PCI-e is more or less system bus extension 2014-07-28 19:37 so invariably, when I look at the BAR on the host, I view some kind of shared memory with the device 2014-07-28 19:40 DocScrutinizer05 has quit [Quit: Konversation terminated!] 2014-07-28 19:40 DocScrutinizer05 has joined #qi-hardware 2014-07-28 19:42 DocScrutinizer05 has quit [Changing host] 2014-07-28 19:42 DocScrutinizer05 has joined #qi-hardware 2014-07-28 19:52 DocScrutinizer05 has quit [Quit: Konversation terminated!] 2014-07-28 19:52 DocScrutinizer05 has joined #qi-hardware 2014-07-28 19:52 DocScrutinizer05 has quit [Changing host] 2014-07-28 19:52 DocScrutinizer05 has joined #qi-hardware 2014-07-28 19:52 jekhor has quit [Ping timeout: 260 seconds] 2014-07-28 20:13 kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]] 2014-07-28 20:43 DocScrutinizer05 has quit [Ping timeout: 245 seconds] 2014-07-28 20:43 jekhor has joined #qi-hardware 2014-07-28 20:52 DocScrutinizer05 has joined #qi-hardware 2014-07-28 21:00 DocScrutinizer05 has quit [Disconnected by services] 2014-07-28 21:00 DocScrutinizer05 has joined #qi-hardware 2014-07-28 22:51 jekhor has quit [Ping timeout: 272 seconds] 2014-07-28 23:03 wolfspraul has quit [Ping timeout: 250 seconds] 2014-07-28 23:05 wolfspraul has joined #qi-hardware