2012-01-08 00:34 kristianpaul: that's a nice link about hiqsdr.org - thanks! 2012-01-08 00:34 unfortunately I couldn't find an RSS feed to add to the planet right now, but I will definitely watch this project, from the distance 2012-01-08 00:34 they seem to be very serious about high-quality information, bom, etc. 2012-01-08 00:35 sources are GPL licensed, but overall the licensing and tools is messy, too bad 2012-01-08 00:35 but I couldn't find anything like -nc -nd or so, it's all just open and a bit messy 2012-01-08 00:41 skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-08 00:42 Ayla [Ayla!~paul@117.188.103.84.rev.sfr.net] has joined #qi-hardware 2012-01-08 00:53 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-08 01:08 kristianpaul [kristianpaul!~kristianp@cl-498.udi-01.br.sixxs.net] has joined #qi-hardware 2012-01-08 01:08 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 01:36 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-08 06:06 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-08 06:09 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-08 06:14 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-08 06:21 DocScrutinizer [DocScrutinizer!~halley@openmoko/engineers/joerg] has joined #qi-hardware 2012-01-08 07:19 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-08 07:50 kyak [kyak!~kyak@93-80-209-199.broadband.corbina.ru] has joined #qi-hardware 2012-01-08 07:50 kyak [kyak!~kyak@unaffiliated/kyak] has joined #qi-hardware 2012-01-08 08:28 jekhor [jekhor!~jek@vulture-nat-37.telecom.by] has joined #qi-hardware 2012-01-08 08:51 rejon [rejon!~rejon@li382-141.members.linode.com] has joined #qi-hardware 2012-01-08 10:24 skynet2000 [skynet2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-08 10:33 rejon [rejon!~rejon@221.221.173.59] has joined #qi-hardware 2012-01-08 10:49 rejon [rejon!~rejon@221.221.173.59] has joined #qi-hardware 2012-01-08 11:01 kilae [kilae!~chatzilla@catv-161-018.tbwil.ch] has joined #qi-hardware 2012-01-08 11:03 skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-08 11:21 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-08 11:43 wej [wej!~j@m2.mullvad.net] has joined #qi-hardware 2012-01-08 11:46 so I imagine noone runs 2.6.37 here 2012-01-08 11:46 Does 3.0 suspend fine? 2012-01-08 11:47 ah it just suspended fine 2012-01-08 11:47 hm 2012-01-08 11:47 maybe I can't reproduce the crash again 2012-01-08 11:49 I could suspend twice, and then I tried to play a video and crashed 2012-01-08 11:51 where is dvdk? 2012-01-08 12:33 !seen dvdk 2012-01-08 12:33 kyak, dvdk (~dvdkhlng@g225040150.adsl.alicedsl.de) was last seen quitting #qi-hardware 1 week 6 days 13 hours 4 minutes ago (25.12. 23:29) stating "Remote host closed the connection" after spending 46 minutes there. 2012-01-08 12:33 1 week... 2012-01-08 12:33 ok 2012-01-08 12:33 on vacation, probably :) 2012-01-08 12:34 ah, I remember as if rarely seeing him here these last months 2012-01-08 12:34 I've read his code... nice 2012-01-08 12:34 of course, I can't tell why it hangs :) 2012-01-08 12:36 (sometimes) 2012-01-08 12:36 kyak: can you try suspend with the usb cable connected? 2012-01-08 12:37 hm it somehow works. 2012-01-08 12:37 I think that when the nanonote is 'on' by more than 1h (let's say), then suspend doesn't work anymore 2012-01-08 12:38 i don't suspend very often, but when i do, it usually works 2012-01-08 12:39 hm ok 2012-01-08 12:39 i remember it crashed several time though 2012-01-08 12:39 you usually halt? 2012-01-08 12:39 in fact it boots fast. 2.6.37 gives a login prompt in 5 seconds from poweron 2012-01-08 12:40 a big improvement over 2.6.36, iirc 2012-01-08 12:43 kyak: if the virtual consoles on frame buffer are totally implemented by software in the nanonote, I don't think there should be a memory limit for glyphs 2012-01-08 12:44 yeah, i usually halt or not switch off at all 2012-01-08 12:45 i'm not sure where this limit comes from.. 2012-01-08 12:45 you even are not sure of the limit 2012-01-08 12:49 kyak: how do you type a ` with your keyb? 2012-01-08 12:49 shift-comma types " 2012-01-08 12:54 wolfspraul [wolfspraul!~wolfsprau@p5B0AEFDC.dip.t-dialin.net] has joined #qi-hardware 2012-01-08 12:59 Textmode [Textmode!~boneidle@adsl-syd-2-209.ozonline.com.au] has joined #qi-hardware 2012-01-08 13:39 urandom__ [urandom__!~user@p548A24E7.dip.t-dialin.net] has joined #qi-hardware 2012-01-08 13:48 Ayla [Ayla!~paul@11.241.112.78.rev.sfr.net] has joined #qi-hardware 2012-01-08 15:35 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 15:35 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 15:41 Ayla [Ayla!~paul@117.188.103.84.rev.sfr.net] has joined #qi-hardware 2012-01-08 16:04 mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware 2012-01-08 16:05 mstevens_ [mstevens_!~mstevens@ceres.etla.org] has joined #qi-hardware 2012-01-08 16:07 emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has joined #qi-hardware 2012-01-08 16:07 mstevens [mstevens!~mstevens@fsf/member/pdpc.active.mstevens] has joined #qi-hardware 2012-01-08 16:20 Ayla [Ayla!~paul@11.241.112.78.rev.sfr.net] has joined #qi-hardware 2012-01-08 16:25 fuloong progress - I can see the screen now 2012-01-08 16:33 jekhor [jekhor!~jek@86.57.254.166] has joined #qi-hardware 2012-01-08 16:33 what fuloong? 2012-01-08 16:37 mstevens: my fuloong just got a black screen, when I booted for the first time linux 3.2 2012-01-08 16:37 mstevens: are you dealing with that 2012-01-08 16:37 ? 2012-01-08 16:37 viric: I have just purchased a new fuloong, and am trying to install debian 2012-01-08 16:38 ok 2012-01-08 16:38 at first I couldn't see the installer 2012-01-08 16:38 why? 2012-01-08 16:38 but then I switched from DVI to a vga cable, and now I can at least see the installer 2012-01-08 16:38 ah, deep debugging 2012-01-08 16:38 :) 2012-01-08 16:39 mstevens: I know little the fuloong, but I ported NixOS to it.. 2012-01-08 16:39 viric: someone on #fsf reckoned the DVI out doesn't work right until X starts 2012-01-08 16:40 viric: my current problem is that the debian wheezy installer doesn't have the right kernel modules 2012-01-08 16:40 no driver for the network card 2012-01-08 16:40 to achieve what? 2012-01-08 16:40 ah ok 2012-01-08 16:44 My current test is a combination of the "openrays" kernel the machine ships with, and the debian wheezy initrd 2012-01-08 16:45 :) 2012-01-08 16:47 bah, boot that kernel and it just goes straight into rays 2012-01-08 16:49 ? 2012-01-08 16:50 I think maybe the root device is hardcoded and it's ignoring my initrd 2012-01-08 17:06 that'd be very strange 2012-01-08 17:06 I used tftp to boot what I wanted 2012-01-08 17:14 mstevens: i ran debian wheezy (with X patched) and no problem on my yeeloong 2012-01-08 17:15 kristianpaul: I can't get the installer to see the fuloong network card 2012-01-08 17:16 It seems to be a rtl 8169, which the netinst images don't seem to have drivers for 2012-01-08 17:17 wich yeeloong revision is yours? 2012-01-08 17:18 I have a fuloong, not a yeeloong 2012-01-08 17:18 ah ! 2012-01-08 17:18 whatever they sell if you ordered one 2 weeks ago 2012-01-08 17:18 nope mine is kinda old.. 2012-01-08 17:18 and is yeeloong 2012-01-08 17:20 I am attempting to extract the requisite driver from the full kernel package and stuff it into the initrd 2012-01-08 17:20 I'll check mine 2012-01-08 17:20 [ 3.200000] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded 2012-01-08 17:20 [ 3.208000] r8169 0000:00:06.0: eth0: RTL8169sc/8110sc at 0x9000000050072000, 00:23:9e:00:0f:c6, XID 98000000 IRQ 36 2012-01-08 17:21 thats in-kernel 2012-01-08 17:21 viric: yeah I don't have that 2012-01-08 17:22 do you want my kernel? 2012-01-08 17:22 2.6.36 2012-01-08 17:24 let me try this 2012-01-08 17:24 mstevens: I just wrote to loongson-dev, about me failing to boot a linux 3.2 2012-01-08 17:33 emeb [emeb!~ericb@ip72-223-81-94.ph.ph.cox.net] has quit [#qi-hardware] 2012-01-08 17:38 the nanonote is still faster than qemu in a home computer, no? 2012-01-08 17:39 (for mips32 code) 2012-01-08 17:39 viric: I just made progress by grabbing r8169.ko out of a full kernel package and stuffing it into an initrd 2012-01-08 17:39 mstevens: great :) 2012-01-08 17:39 what kernel version do you boot? 2012-01-08 17:39 I think 3.1.0 2012-01-08 17:39 but I'm not certain 2012-01-08 17:39 it's in mid install 2012-01-08 17:39 ah ok 2012-01-08 17:39 alt-f2, uname -a ? 2012-01-08 17:40 3.1.0-1-loongson-2f 2012-01-08 17:40 ah nice 2012-01-08 17:40 I should get one of those. 2012-01-08 17:47 I'm measuring the nanonote battery bad.... it says -10% now 2012-01-08 17:47 :) 2012-01-08 17:47 viric: I should update my nanonote 2012-01-08 17:48 debian is installing the base system 2012-01-08 17:48 to run nanonixos. everyone should :) 2012-01-08 17:48 fingers crossed this will work at the end of it 2012-01-08 17:49 viric: I bought a nanonote when they first came out, played for a while, concluded they didn't do anything useful, and put it in a box 2012-01-08 17:50 I should have another go 2012-01-08 17:50 I can't say I use mine much 2012-01-08 17:50 sometimes when my wife drives, I read rss on it 2012-01-08 17:53 mstevens: will you use your fuloong with a screen? 2012-01-08 17:53 viric: this is the plan 2012-01-08 17:54 ok 2012-01-08 17:54 I don't 2012-01-08 17:54 do you have a fan in it? 2012-01-08 17:54 the goal for me is a desktop for generalised hacking 2012-01-08 17:54 ok 2012-01-08 17:54 viric: it sounds like it! 2012-01-08 17:54 I hate that fan 2012-01-08 17:54 I'd have used them much more, if they hadn't a fan 2012-01-08 17:54 viric: it is not as bad as people suggested on irc! but it is noticeable 2012-01-08 17:55 maybe it gets worse on age 2012-01-08 17:55 I am wondering if they made new ones quieter 2012-01-08 17:55 maybe 2012-01-08 17:55 they should have a big fan, if they wanted a fan at all. big fans are much quieter 2012-01-08 17:55 viric: I found buying the fuloong from china it was cheap enough to buy it as an experiment 2012-01-08 17:55 if it doesn't work out I won't be totally sad 2012-01-08 17:56 and I like to support "free" hardware 2012-01-08 17:56 I received mine as a donation to port nixos to it :) 2012-01-08 17:56 even cheaper! 2012-01-08 17:56 what is nixos? 2012-01-08 17:56 nixos.org/nixos 2012-01-08 17:56 I guess I can google 2012-01-08 17:56 the only worth GNU/Linux distribution. 2012-01-08 18:01 hmm it does not boot, that is not so good 2012-01-08 18:05 what does not boot? 2012-01-08 18:07 the freshly installed debian 2012-01-08 18:07 bad debian bad 2012-01-08 18:08 I am experimenting. I think it may not be setting up right for pmon 2012-01-08 18:09 I forgot all I knew about pmon 2012-01-08 18:11 * mstevens runs off for a bit 2012-01-08 18:35 erikkugel [erikkugel!~erik@206.248.184.96] has joined #qi-hardware 2012-01-08 18:46 Freemor [Freemor!~Freemor@ec2-174-129-226-140.compute-1.amazonaws.com] has joined #qi-hardware 2012-01-08 18:57 Ayla [Ayla!~paul@87.169.26.93.rev.sfr.net] has joined #qi-hardware 2012-01-08 18:59 Ayla [Ayla!~paul@11.241.112.78.rev.sfr.net] has joined #qi-hardware 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: prevent possible buffer overflow. (jz-3.1) http://qi-hw.com/p/qi-kernel/d3d3274 2012-01-08 19:02 [commit] Paul Cercueil: OpenDingux: initrd: updated mininit to latest version. (jz-3.1) http://qi-hw.com/p/qi-kernel/76a1add 2012-01-08 19:02 [commit] Paul Cercueil: MIPS: JZ4740: SLCD: added a parameter to select the panel. (jz-3.1) http://qi-hw.com/p/qi-kernel/17a69f1 2012-01-08 19:02 [commit] Paul Cercueil: OpenDingux: added OpenDingux logo. (jz-3.1) http://qi-hw.com/p/qi-kernel/8845bf5 2012-01-08 19:02 [commit] Paul Cercueil: MIPS: JZ4740: SLCD: show linux logo at init. (jz-3.1) http://qi-hw.com/p/qi-kernel/959cebc 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: read parameters as unsigned values. (jz-3.1) http://qi-hw.com/p/qi-kernel/694a338 2012-01-08 19:02 [commit] Paul Cercueil: MIPS: A320: use the new OpenDingux logo. (jz-3.1) http://qi-hw.com/p/qi-kernel/e3487b1 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: optimize param read loop with 'continue' (jz-3.1) http://qi-hw.com/p/qi-kernel/ae92f24 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: add parameter to toggle bind on startup. (jz-3.1) http://qi-hw.com/p/qi-kernel/cf56359 2012-01-08 19:02 whaaaat 2012-01-08 19:02 [commit] Paul Cercueil: MIPS: A320: hide the fb console at startup. (jz-3.1) http://qi-hw.com/p/qi-kernel/1f176f0 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: use kstrtouint to respect initial behaviour. (jz-3.2) http://qi-hw.com/p/qi-kernel/61e3c30 2012-01-08 19:02 [commit] Paul Cercueil: fbcon: prevent possible buffer overflow. (jz-3.2) http://qi-hw.com/p/qi-kernel/828e6f6 2012-01-08 19:02 whaaaaaaaaaat 2012-01-08 19:03 it should have pushed only the two commits for jz-3.2 x_x 2012-01-08 19:03 git will push every branch that has a remote equivalent 2012-01-08 19:04 okay, so what should I do now? ... 2012-01-08 19:04 you can set the ref head to an earlier commit for jz-3.1 2012-01-08 19:04 I don't know the syntax by heart though 2012-01-08 19:08 git push -f qi jz-3.1~4:jz-3.1 2012-01-08 19:08 where the 4 is the number of commits you want to go back 2012-01-08 19:08 ok, I type that? 2012-01-08 19:08 jekhor [jekhor!~jek@vulture-nat-37.telecom.by] has joined #qi-hardware 2012-01-08 19:08 you type that 2012-01-08 19:09 or you could pass a specific revision instead of the jz-3.1~X 2012-01-08 19:10 * Ayla crosses fingers 2012-01-08 19:10 which is 4adea3bca06ca in our case 2012-01-08 19:13 one of your commits is still there 2012-01-08 19:13 that one was pushed in november 2012-01-08 19:13 ah 2012-01-08 19:16 I thought only larsc touched the kernel 2012-01-08 19:16 thank you for your help, and sorry about that 2012-01-08 19:17 /me returns 2012-01-08 19:17 viric: i've been a bit quiet in that regard in the last months 2012-01-08 19:17 ah ok 2012-01-08 19:17 so me. 2012-01-08 19:18 Ayla and mth are working on the linux port for the dingoo which is a handheld console which uses the same SoC as the Nanonote 2012-01-08 19:18 cut out the grub stage, seems promising 2012-01-08 19:18 hence we share the same kernel repo 2012-01-08 19:20 there's more hard drive activity, anyway 2012-01-08 19:20 mstevens: you use grub? 2012-01-08 19:20 larsc: ah ok 2012-01-08 19:21 viric: the wheezy installer puts it in as part of the boot process 2012-01-08 19:21 mstevens: ah ok 2012-01-08 19:21 I've never seen grub on the fuloong 2012-01-08 19:21 viric: I've told pmon to boot the kernel directly and it seems to be more successful. Although hasn't actually booted yet, so I can't be sure. 2012-01-08 19:21 larsc: do you know of any suspend problems? 2012-01-08 19:21 no 2012-01-08 19:21 hm ok 2012-01-08 19:21 Sometimes it crashes here 2012-01-08 19:21 and the screen with the console keeps lighted, as fading to white 2012-01-08 19:22 but it does not reach full white. 2012-01-08 19:22 thats normal if the lcd hasn't received a powerdown command but the SoC isn't sending any pixel data anymore 2012-01-08 19:22 ah 2012-01-08 19:22 bad. 2012-01-08 19:23 I've seen that three times today, and one time yesterday 2012-01-08 19:23 (on suspend) 2012-01-08 19:23 (on 2.6.37) 2012-01-08 19:24 Jon Phillips: Via @qihardware qihardware: RT @chitlesh: package review of urjtag - to improve #milkymist support on#fedora #openso... http://t.co/RUl3lKaA ( 156093693932212224@rejon - 31s ago via Ping.fm ) 2012-01-08 19:25 can you resume normally in such a case, or has the whole system crashed? 2012-01-08 19:25 in one case I could resume 2012-01-08 19:25 in the other, crashed 2012-01-08 19:25 I mean 2012-01-08 19:25 4 times crashed, one could resume 2012-01-08 19:26 ha. right now I suspended (screen black), resumed, and crased. 2012-01-08 19:26 crashed 2012-01-08 19:26 the cursor blinks, but no key does anything 2012-01-08 19:26 hmm, constant drive activity, no boot 2012-01-08 19:27 larsc:after resume, the console managed to write 'g_ether gadget: high speed config #1: CDC Ethernet (ECM) 2012-01-08 19:27 larsc: I'm simply running "echo mem > /sys/power/state" 2012-01-08 19:28 viric: on Nanonote? 2012-01-08 19:28 yes 2012-01-08 19:28 I've been working on the suspend feature 2012-01-08 19:28 Ayla: 2.6.37 though 2012-01-08 19:29 my changes are on the Qi kernel, but you should upgrade to a more recent kernel 2012-01-08 19:29 I run vanilla + openwrt patches 2012-01-08 19:34 seems to be having problems loading the initrd image 2012-01-08 19:35 Ayla: so, what's the best to run on the nanonote now? 2012-01-08 19:36 I don't know, I don't have a nanonote :D 2012-01-08 19:38 umh :) 2012-01-08 19:40 kristianpaul [kristianpaul!~kristianp@cl-498.udi-01.br.sixxs.net] has joined #qi-hardware 2012-01-08 19:40 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 19:53 Ayla: is there cpuidle for the jz47? 2012-01-08 19:54 what do you mean by 'cpuidle' 2012-01-08 19:56 hm linux cpuidle 2012-01-08 19:57 going to low power active states 2012-01-08 19:57 yes. we'll put the cpu into sleep state if it is idle 2012-01-08 19:57 sleep is that of suspend? 2012-01-08 19:57 no 2012-01-08 19:57 I see: normal, doze, idle, sleep modes 2012-01-08 19:58 I believe it's not supported currently 2012-01-08 19:58 the jz4740 has a special sleep instruction which will halt the cpu until the next interrupt 2012-01-08 19:58 we use that when the cpu is idle 2012-01-08 19:59 hm ok 2012-01-08 19:59 ah, that's why it consumes much less power when idle 2012-01-08 20:01 hm the sleep instruction has different meanings depending on the state of some registers 2012-01-08 20:03 I think larsc means the manual 'idle mode', while suspend would be the manual 'sleep mode' 2012-01-08 20:03 yes. it either suspends the cpu 2012-01-08 20:03 or the whole SoC 2012-01-08 20:04 correct 2012-01-08 20:04 there is also the 'doze mode', not used now, right? 2012-01-08 20:05 yes 2012-01-08 20:05 ok 2012-01-08 20:05 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 20:06 I don't see what advantadges can bring the doze mode... 2012-01-08 20:07 something great would be a working ondemand CPU governor 2012-01-08 20:07 I think the doze mode is about ignoring some clocks... 2012-01-08 20:09 so doze mode could be used to implement some cpufreq 2012-01-08 20:09 kind of. 2012-01-08 20:09 valhalla [valhalla!~valhalla@81-174-23-109.dynamic.ngi.it] has joined #qi-hardware 2012-01-08 20:10 dozemode looks like a extra divider for the cpu clock to me 2012-01-08 20:10 larsc: that's what I menat 2012-01-08 20:10 meant 2012-01-08 20:10 isn't that the closest to cpufreq? 2012-01-08 20:11 btw, how do you test your kernel modifications? 2012-01-08 20:11 do you use xbboot? 2012-01-08 20:11 flash it and boot, don't know what you want to hear 2012-01-08 20:12 ah 2012-01-08 20:12 xbboot can "upload file at to
then jump to
" 2012-01-08 20:13 Ayla: and you? Flash and boot? 2012-01-08 20:14 I boot from USB when I need to test 2012-01-08 20:14 ok 2012-01-08 20:17 do you use KGDB or something like that through the serial line? 2012-01-08 20:18 no 2012-01-08 20:18 never tried? 2012-01-08 20:19 I don't really need KGBD 2012-01-08 20:19 I like to do those kinds of things... 2012-01-08 20:19 Ayla: no? hm 2012-01-08 20:20 valhalla [valhalla!~valhalla@81-174-23-109.dynamic.ngi.it] has joined #qi-hardware 2012-01-08 20:28 larsc: perf for the nanonote does not build, btw 2012-01-08 20:28 :/ 2012-01-08 20:29 any idea why? 2012-01-08 20:29 http://sprunge.us/fNZR 2012-01-08 20:30 ^ larsc 2012-01-08 20:30 (2.6.37) 2012-01-08 20:31 kudkudyak [kudkudyak!~sun@94.72.160.99] has joined #qi-hardware 2012-01-08 20:31 larsc: are you aware the default keyboard in 2.6.37 writes " instead of ` ? 2012-01-08 20:31 hm wait. I don't remember if I use the default keyboard. 2012-01-08 21:01 [commit] Wolfgang Spraul: added small bash script to test kicad cmdline patches (master) http://qi-hw.com/p/eda-tools/4d628c3 2012-01-08 21:01 progress, i can boot into X 2012-01-08 21:06 fine 2012-01-08 21:06 hm what is the serial port major,minor in the nanonote? 2012-01-08 21:11 what I am doing wrong? 'stty -F /dev/ttyS0 raw 57600' 2012-01-08 21:11 I run 'cat ttyS0&' 2012-01-08 21:12 and 'echo hola > ttyS0' 2012-01-08 21:12 crossing the tx/rx in the serial. 2012-01-08 21:15 I try both S0 and S1 2012-01-08 21:16 jluis [jluis!~jluis@176.Red-81-38-165.dynamicIP.rima-tde.net] has joined #qi-hardware 2012-01-08 21:17 S1 even blocks on 'echo hola > ttyS1' now... 2012-01-08 21:17 weird. 2012-01-08 21:19 I thought that'd be trivial 2012-01-08 21:23 anyone alive, to tell me the major,minor of the serial port of the backwards of the nanonote? 2012-01-08 21:27 wpwrak: I'm looking at your bug report saying "pcbnew --plot doesn't pickup global clearance settings" 2012-01-08 21:28 ok, I checked that it's ttyS0... the nanonote sends fine, but does not receive. 2012-01-08 21:29 ARGH I've a mingetty at ttyS0 2012-01-08 21:29 skynet-2000 [skynet-2000!~skynet-20@unaffiliated/skynet2000] has joined #qi-hardware 2012-01-08 21:31 which... looks irrelelant 2012-01-08 21:31 irrelevant 2012-01-08 21:35 wolfspraul: hmm, now if i would remember it ... presumably worked around it, then swiftly reused the precious memory space :) 2012-01-08 21:36 nothing. I fail at the serial port. 2012-01-08 21:36 wpwrak: do you have a serial port connection for the nanonote? :) 2012-01-08 21:36 wpwrak: crossing tx and rx should allow me to get echo, no? 2012-01-08 21:37 viric: echo from where to where ? 2012-01-08 21:37 viric: i use idbg for the serial port 2012-01-08 21:37 ahh. 2012-01-08 21:38 so... 2012-01-08 21:38 I'm running: stty -F /dev/ttyS0 raw 57600 2012-01-08 21:38 then: while true; do echo hola; done > /dev/ttyS0 & 2012-01-08 21:38 then: cat /dev/ttyS0 & 2012-01-08 21:38 and cross the tx and rx pins 2012-01-08 21:38 I get nothing 2012-01-08 21:39 I've checked with a ftdi cable, and the nanonote sends well. But looks like not receiving anything 2012-01-08 21:40 hmm, which set of TX/RX contacts are you using ? the ones near the battery or the ones at the front of the PCB ? the RX near the battery is reassigned to the keyboard, so you'd have to reassign it for UART use 2012-01-08 21:40 at the bottom of the battery 2012-01-08 21:40 labelled 2012-01-08 21:40 eh? 2012-01-08 21:41 either serial or keyboard? 2012-01-08 21:41 :) 2012-01-08 21:41 yes 2012-01-08 21:41 how? an echo to some gpio thing? 2012-01-08 21:41 RX is shared 2012-01-08 21:41 wpwrak: what page of the manual says that? :) 2012-01-08 21:43 how can I 'reassign' it? 2012-01-08 21:43 page 5 of the schematics ? :) pin 72 (KEYIN8) right below TP75 2012-01-08 21:43 but 2012-01-08 21:44 'reassign' means a software operation, no 2012-01-08 21:44 ? 2012-01-08 21:44 or page 20 of jz4720_ds :) 2012-01-08 21:44 (reassign) yes 2012-01-08 21:44 ahh 2012-01-08 21:44 what one? 2012-01-08 21:45 the reassigning would be page 356 of jz4740_pm, PDFUN 2012-01-08 21:46 mh 2012-01-08 21:46 you basically have to write a 1 << 26 to PDFUNC, then you may be able to RX 2012-01-08 21:46 :) 2012-01-08 21:46 (not sure if there's anything else in the way) 2012-01-08 21:46 Can I do that with 'dd' and /dev/mem? :) 2012-01-08 21:46 an easier approach would be to run a wire to the other set of TX/RX pins 2012-01-08 21:47 with "poke" 2012-01-08 21:47 hehehe 2012-01-08 21:48 I don't have the pm! 2012-01-08 21:48 where is that ? 2012-01-08 21:48 for locating TPs, this map is your friend: http://downloads.qi-hardware.com/people/werner/tmp/tp-map.png 2012-01-08 21:48 I want to go the 'poke' way 2012-01-08 21:49 lemme find the complete version ... 2012-01-08 21:49 I have the jz4725pm :) 2012-01-08 21:52 heh, i think i lost that one. but anyway, the registers are probably the same 2012-01-08 21:52 PDFUN is at 0x10010340 2012-01-08 21:52 that's >32MB 2012-01-08 21:52 >256MiB :) 2012-01-08 21:52 /dev/mem does not let me do that 2012-01-08 21:53 it works with "poke" :) 2012-01-08 21:53 what is that poke? 2012-01-08 21:54 wpwrak: no worries, I have it in my notes, just a heads up 2012-01-08 21:55 kristianpaul [kristianpaul!~kristianp@unaffiliated/kristianpaul] has joined #qi-hardware 2012-01-08 21:56 grmbl 2012-01-08 21:56 ok, I stop for today. I can't advance further... 2012-01-08 21:58 http://svn.openmoko.org/developers/werner/poke/ 2012-01-08 21:58 compile with the appropriate CC=... 2012-01-08 21:58 it's quite universal ;-) 2012-01-08 21:59 ha 2012-01-08 21:59 I'll compilie on the nanonote 2012-01-08 22:01 wpwrak: sure about '1<<26'? 2012-01-08 22:01 poke will 'peek', if without value? 2012-01-08 22:02 gpio d, 26. ok. 2012-01-08 22:03 no ... you have to calculate the shift 2012-01-08 22:03 and yes, it will peek if without value 2012-01-08 22:03 I've seen 26 http://en.qi-hardware.com/wiki/Hardware_basics#GPIO_pins 2012-01-08 22:04 1 << 26 looks right 2012-01-08 22:04 no 2012-01-08 22:04 ah. 2012-01-08 22:04 hm 2012-01-08 22:04 2^26 2012-01-08 22:05 # ./poke -32 0x10010340 2012-01-08 22:05 0x2a003f00 2012-01-08 22:05 2^26 = 4000000 2012-01-08 22:05 so... 0x2e 2012-01-08 22:06 # ./poke -32 10010340 2e003f00 2012-01-08 22:06 usage: ./poke [-8|-16|-32] hex_address [value] 2012-01-08 22:06 bad? 2012-01-08 22:06 ah 0x 2012-01-08 22:06 no. 2012-01-08 22:06 yes, 0x :) 2012-01-08 22:06 I read back, and it says the same as before 2012-01-08 22:07 maybe in the jz4740 is not in the same place.. 2012-01-08 22:07 freemor [freemor!~Freemor@ec2-174-129-226-140.compute-1.amazonaws.com] has quit [#qi-hardware] 2012-01-08 22:07 did the command run ? or did you only get the usage ? 2012-01-08 22:07 if I write 0x2e003f00, it runs 2012-01-08 22:08 writing to PDFUN has no effect. you have to write to PDFUNS (set) or PDFUNC (clear) 2012-01-08 22:08 ahh 2012-01-08 22:08 in your case, PDFUNS 2012-01-08 22:09 and with 0x4000000 2012-01-08 22:09 done! 2012-01-08 22:09 WORKS! rx works now 2012-01-08 22:09 whee ! :) 2012-01-08 22:10 the wiki page about the serial port could have at least one word about this ; 2012-01-08 22:10 ;) 2012-01-08 22:10 http://en.qi-hardware.com/wiki/Serial_console 2012-01-08 22:10 isn't it obvious ? ;-) 2012-01-08 22:10 YES 2012-01-08 22:10 :D 2012-01-08 22:10 i did the TP mod for... :-| 2012-01-08 22:10 viric: see, kristianpaul agrees with me ;-) 2012-01-08 22:11 nope, well argh, this shared wasnt with a keyboard key? 2012-01-08 22:11 i got confused now.. 2012-01-08 22:11 RX shared* 2012-01-08 22:11 yes 2012-01-08 22:12 I want that for debugging... 2012-01-08 22:12 not for running serial devices with the nanonote keyboard 2012-01-08 22:12 ahh ! 2012-01-08 22:13 phew 2012-01-08 22:13 * kristianpaul bad memory 2012-01-08 22:14 lots of magic 2012-01-08 22:14 undocummented where it should be. 2012-01-08 22:14 wpwrak: not obvious not obvious :) 2012-01-08 22:14 YES ;-) 2012-01-08 22:15 wpwrak: why does any wiki document tell anything about soldering the RX pin at all? :) 2012-01-08 22:16 do they or don't they ? 2012-01-08 22:16 they? 2012-01-08 22:16 who they? 2012-01-08 22:16 the wiki is basically write-only. there's no editorial oversight and no means to organize things for yourself. that's why it's a mess. 2012-01-08 22:16 http://en.qi-hardware.com/wiki/Serial_console this tells to solder the RX 2012-01-08 22:16 wpwrak: I agree the PM is much better ;) 2012-01-08 22:17 (they = documents) 2012-01-08 22:17 naw, we should have a wiki based on a revision control system. that would make it easier to maintain at least properly organized subtrees. 2012-01-08 22:18 trac? 2012-01-08 22:18 wpwrak: you blame the software? haha :) 2012-01-08 22:18 people can write equally messy over a vcs :) 2012-01-08 22:19 on its own tree/branch i understand? 2012-01-08 22:19 oh well.. 2012-01-08 22:19 wpwrak: I had by chance the jz4725pm because that's mentioned in a comment of the dvdk IPU code I was reading today... 2012-01-08 22:23 http://viric.name/cgi-bin/nanonixos/doc/trunk/doc/serial.wiki 2012-01-08 22:23 there I go with my vcs wiki 2012-01-08 22:26 I wrote that to the qi wiki as well, on 'serial console' 2012-01-08 22:39 kristianpaul: what do you do with the nanonote serial port? 2012-01-08 22:43 program arduinos like david? :) 2012-01-08 22:43 !seen tuxbrain 2012-01-08 22:43 viric, I found 6 matches to your query. These are the 5 most recent ones: tuxbrain_HxxHhzo, tuxbrain, tuxbrain_zzzzzz, tuxbrain_PASS, tuxbrain_WPAN. tuxbrain_HxxHhzo (~tuxbrain@95.61.34.233) was last seen quitting #milkymist 11 weeks 5 days 3 hours 15 minutes ago (18.10. 19:27) stating "Ping timeout: 256 seconds" after spending 23 hours there. 2012-01-08 22:44 long ago 2012-01-08 22:59 jekhor [jekhor!~jek@vulture-nat-37.telecom.by] has joined #qi-hardware 2012-01-08 23:17 wow, that's cute 2012-01-08 23:47 viric: no 2012-01-08 23:47 viric: connect to gps receiver and posibly to a jeenode (not yet do) 2012-01-08 23:51 you edited the wiki, great ! 2012-01-08 23:51 our under-loved wiki 2012-01-08 23:59 emeb [emeb!~ericb@71-209-157-173.phnx.qwest.net] has joined #qi-hardware