Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
aw joined #qi-hardware
aw_ joined #qi-hardware
wolfspraul joined #qi-hardware
<kristianpaul> antgreen: hello,
<kristianpaul> antgreen: i was wondering (just for intelectual curiosity) where i can find the bsp for moxie in newlib
<kristianpaul> i just noticed you have lots of libraries in src :-)
xiangfu joined #qi-hardware
<kristianpaul> xiangfu: seems you are near to have the first nanonote build host for debian :-)
panda|x201 joined #qi-hardware
<wolfspraul> xiangfu: can the Ben detect whether the USB cable is inserted?
<wolfspraul> and/or whether it is charging, I guess (I think it always tries to draw power from USB when connected)
<wolfspraul> the reason I am asking is because I find the screen blanking so annoying, so I thought when the Ben is connected to USB, we could disable screen blanking entirely. I think as long as it's connected the screen should stay on.
<roh> that should be possible, one way or another
<kristianpaul> how i do recover "stashed" changes so i can commit?..
<kristianpaul> oh, dear trying to remenber what did one month ago, and found some verilog bubbles wpwrak may find interesting :-)
<pabs3> kristianpaul: git stash pop/apply
<kristianpaul> pabs3: thanks !, but..
<kristianpaul> what is actually pop?
<kristianpaul> branch?
<pabs3> applys the top patch in your stash, then removes it from the stash
<kristianpaul> ah i undertand is like a cp /tmp/garbage /repo
<pabs3> if you run gitk --all you'll see that the stash is just another branch
<kristianpaul> k
<kristianpaul> yeah a picture of this is very apreaciated
<xiangfu> wolfspraul, yes. the /sys/devices/platform/gpio-charger.0/power_supply/USB/online will indicate that if USB cable is inserted.
<kristianpaul> oh :)
<wolfspraul> xiangfu: nice
<wolfspraul> is it possible to disable screen blanking when the USB cable is connected?
<xiangfu> gmen2x: is kind of easy. we can add some code to gmenu2x detect the usb cable then disable/enable the screen blanking.
<xiangfu> tty0: it needs a daemon app I guess. :)
<xiangfu> gmenu2x and tty0/1/2/3 use different blanking method.
<xiangfu> :)
<wolfspraul> ok
<wolfspraul> I was trying the 11-13 image a bit and I'm super excited. great work!
<wolfspraul> how do you like it?
<xiangfu> I think it getting better.
<xiangfu> :-)
<wolfspraul> yes, definitely
<xiangfu> I start to exciting when the 08-27 come out. :)
<xiangfu> this 11-13 is better then 08-27.
<wolfspraul> is the nanonote support in u-boot upstream now so that we can remove the special u-boot from openwrt?
<wolfspraul> I'm a little worried that >80% of the 512mb image are full though (in 11-13)
<xiangfu> when 11-13 come out. all I want is copy more media file to my nanonote. picture/video/music.
<wolfspraul> I think we already had to remove some sw from the image in the past, and we will run into more trouble there
<wolfspraul> we need the full 2gb I think
<wolfspraul> in some way
<xiangfu> wolfspraul, u-boot. yes. needs some work. since the openwrt uboot-xburst support 3 device, I will try to merge them to new u-boot. or create another uboot-nanonote maybe. not sure.
<xiangfu> wolfspraul, yes. we removed gcc stuff.
<wolfspraul> yeah
<wolfspraul> bad
<wolfspraul> :-)
<wolfspraul> I wanted to use irssi, but not there
<wolfspraul> how do I disable screen blanking in tty0?
<wolfspraul> another thing that confuses me is our long list of terminal selections
<wolfspraul> when I'm in a terminal, is there an easy way to iterate over console fonts?
<wolfspraul> I think there should be some hotkey that just flips through all fonts and redraws the screen
<xiangfu> (tty0) use setterm -blank 0
<wolfspraul> perfect, thanks!
<xiangfu> wolfspraul, (fonts) yes. since we have triggerhappy. it not hard to write a script file do that.
<xiangfu> let me try to do that now. :)
<wolfspraul> opkg list shows 6365 packages!?
<wolfspraul> are we really building over 6000 packages?
<wolfspraul> 495 installed
<wolfspraul> (I installed a few manually, maybe it was around 490 in the 11-13 image)
<xiangfu> 493
<xiangfu> nanonote have totally 2900+ packages in package repo.
<wolfspraul> do we have a nanonote-docs or so where we can start to write up tutorial/faq/tips/etc ?
<wolfspraul> I see we have man, no info
<xiangfu> don't have a nanonote-docs for now. that is the plan. haven't start. :)
freakazoid0223 joined #qi-hardware
<wolfspraul> ok sure, great
<wolfspraul> maybe we just use html and one of the many text browsers we have
<wolfspraul> wow, netsurf is so cool!
<wolfspraul> :-)
<wolfspraul> I think I have a new use case for my Ben - I leave it connected to my notebook, and move apps to the Ben
<wolfspraul> I probably start with chat & email
<wolfspraul> my emails will get shorter :-)
rejon joined #qi-hardware
<rejon> xiangfu, can you come to that meeting tomorrow at 3 at fisheye?
<rejon> without you, going to be like me and wolfgang talking in hand gestures
<wolfspraul> I tried listener, and then mplayer to play the .wav, but it couldn't play because of missing codec...
<xiangfu> yes.
<xiangfu> 'aplay' works.
<xiangfu> still needs some work on mplayer :)
<wolfspraul> I think now that the base system seems more or less under control (bootloader, kernel, rootfs/console/gui), we have chance to improve big time on the following 3 major features:
<wolfspraul> 1) backup
<wolfspraul> 2) encrypt
<wolfspraul> 3) update
<wolfspraul> I keep thinking how to achieve it, and the most promising idea I can come up with is to look for existing small utilities/tools, even command line, to help with those.
<wolfspraul> for update, can we rely on opkg to just keep updating packages?
<wolfspraul> not sure whether we can update the bootloader or kernel that way, or how this interacts with major openwrt releases
<xiangfu> rejon, oh
<xiangfu> update. yes. the only one we should case is kernel. the openwrt kernel package is just a empty package only have some version file.
<xiangfu> we should add some post-install. flash the uImage to kernel partition.
<xiangfu> (updating packages). yes. we should try.
<xiangfu> if the uClibc and gcc update that maybe more trouble?
<wolfspraul> probably
<wolfspraul> like you said we need to experiment carefully
<wolfspraul> and in parallel continue the full image releases and reflash_ben.sh we use today
<xiangfu> yes.
<wolfspraul> how do most openwrt users update their devices? (mostly routers I guess)
<wolfspraul> in my own openwrt usage, it was typically some serious focused effort to get it to a router, say a few hours or days full-time, and then I leave that router alone until the hardware fails x years later :-)
<wolfspraul> no security updates, nothing
<wolfspraul> is that the typical openwrt usage model? I hope not :-)
<xiangfu> openwrt update is like 'upload a image file to router' since mostly router only have 4M or 8M flash.
<xiangfu> I think this image include kernel and rootfs I guess. (forget the detail)
<wolfspraul> I'm wondering how people continue after that
<wolfspraul> like I said - I just leave it like that until the hardware fails
<wolfspraul> not the most secure approach
<wolfspraul> I am sure a lot of people at least will install security updates incrementally, via opkg (?)
<wolfspraul> how about upgrading to the next major openwrt version? maybe everybody just reflashes everything?
<wolfspraul> we probably should not try something that is not in line with the typical update model of most openwrt users
<wolfspraul> basically we can just do what is easy to do with openwrt
<jow_laptop> wolfspraul: there is sysupgrade nowadays which simplifies reflashing
<jow_laptop> and configs remained largely compatible during the last few years
<wolfspraul> sysupgrade
<wolfspraul> sounds good
<wolfspraul> thanks!
<wolfspraul> will check out
<wolfspraul> jow_laptop: how about backup or encryption - any tools you are aware of?
<jow_laptop> some people use loop-aes afair
<jow_laptop> as for backup, don't know, what do oyu envision? something networked or more an archivier?
<wolfspraul> something that protects me in case of nanonote loss or total failure
<wolfspraul> drop in water, stolen, etc.
<wolfspraul> so I want to have a backup on my notebook, then restore from that backup
<jow_laptop> provide an httpd server with a simple backup tar.gz download?
<jow_laptop> thats what we do for the webui
<jow_laptop> there is "opkg list-changed-conffiles" which is useful to find user edited package configs
<jow_laptop> plus home
<wolfspraul> since we talk about openwrt - how about updates through opkg?
<wolfspraul> is that possible/supported?
<jow_laptop> technically doable
<wolfspraul> even across major releases?
<wolfspraul> or totally unsupported?
<jow_laptop> there are two big issues of one doesn't apply for you
<jow_laptop> one problem is that kernel updates through opkg are not pssoible
<jow_laptop> the other is space on the squash+jffs2 combo
<jow_laptop> oh and of curse the uclibc binary compat
<jow_laptop> but that depends on how you develop
<jow_laptop> I mena whether you choose to update it or not
<wolfspraul> why are kernel updates through opkg not possible?
<jow_laptop> because the kernel image is usaully in a dedicated flash partition
<jow_laptop> without any fs
<jow_laptop> which various from model to model
<jow_laptop> *varies
<jow_laptop> so there is no generic mechanism
<wolfspraul> ok makes sense
<wolfspraul> but we could have a dedicated package or post-install script
<jow_laptop> if there is a way to write a new kernel from within a running openwrt then this is solvable as well
<jow_laptop> one can encode the process in a postinstall script then
<jow_laptop> so the bits and pieces for upgrade are all there
<wolfspraul> how do most openwrt users upgrade?
<jow_laptop> sysupgrade
<jow_laptop> which is basically reflash + config restore
<jow_laptop> it does not retain installed packages though
<jow_laptop> most targets are still in the 4MB..8MB flash memory range
<jow_laptop> there simply is no space for packaging overhead
<wolfspraul> ok
* kristianpaul havent update his routers since a year..
<wolfspraul> no regular/automatic security updates?
<wolfspraul> kristianpaul: hey :-) sounds like my model :-)
<wolfspraul> I get openwrt to setup the way I want to, then leave it untouched until hardware failure :-)
<kristianpaul> well not that i wait for that, i regulary load new image as a RC is avaliable
<jow_laptop> there are package upgrades, but binary releases are not openwrts strong point and we're still figuring it out
<jow_laptop> organization-wise
<wolfspraul> ok good
<wolfspraul> so for now the Ben follows the common/regular openwrt model
<wolfspraul> that's good
<jow_laptop> that is basically up to the people building openwrt based distros :)
<wolfspraul> how is usage of openwrt proper or distros developing actually?
<wolfspraul> mostly routers?
<kristianpaul> about backup, at lest consider that most apps will use root home folder, including at least for me some games and nanonote
<wolfspraul> the number of supported models increasing/decreasing?
<wolfspraul> I don't follow routers at all I have to admit...
<jow_laptop> wolfspraul: it is becoming more models
<kristianpaul> i have loose my maps and game leves after every relfash, but i'm really lazy to backup it up :)
<kristianpaul> for the rest of precious content i just use a memcard
<kristianpaul> wolfspraul: you dont need follow, use they work well you ignore :)
<wolfspraul> kristianpaul: yes, I don't think you are alone. So we need to improve that and make those 3 things dead simple: backup, encryption, update
<jow_laptop> wolfspraul: you should build a backup facilityi nto reflahs-ben.sh
<jow_laptop> make it connect the ben and download a tar.gz with changed configs plus user root
<jow_laptop> then reflash
<jow_laptop> then connect the ben again and restore it
<wolfspraul> good idea
<wolfspraul> do you have stats on the number of openwrt users?
<jow_laptop> no
<jow_laptop> I suppose we could evaluate the http server logs
<jow_laptop> but that is skewed as dd-wrt uses openwrt packages too
<kristianpaul> or include rootkits in next release ;-)
<kristianpaul> openwrt is getting really nice those days, the other days i was consider even use like for a swtich OS
<jow_laptop> this code finds all user changed package configs plus all paths matched by shell globs in /etc/sysupgrade.conf
<jow_laptop> on my home router this currently looks like this: http://pastebin.com/kfqpQ2tJ
<jow_laptop> an important thing w.r.t. opkg based upgrades is that package maintainers must be careful
<jow_laptop> and one needs to establish versioned depends
<wolfspraul> maybe the idea to enhance reflash_ben.sh is good
<wolfspraul> as a first small practical step
<jow_laptop> yes
<kristianpaul> posible depency issues?
<jow_laptop> right now one can only depend on "libfoo", not on "libfoo >= v1.0"
<kristianpaul> at lest that nannonote can upgrade it self (like M1 :D)
<wolfspraul> but there will be details, for example reflash_ben.sh normally starts right now when the Ben is in a special usb boot mode
<jow_laptop> this leads to issues like: https://forum.openwrt.org/viewtopic.php?pid=148933
<jow_laptop> yeah, I think its will be tricky to establish some kind of communication with the ben
<jow_laptop> you need to establish some ip connectivity over udp I suppose
<jow_laptop> erm *over usb
<jow_laptop> so that in the end the reflash ben.sh is like itunes to the iphone
<wolfspraul> we have a lot of options I think, but need to find the smallest step that delivers results
<wolfspraul> oh my god, that sounds scary :-)
<jow_laptop> yeah I know
<wolfspraul> I hope people are not inspired by *that* analogy :-)
<jow_laptop> i just mean the aspect of bundling backups, reflashes, recovery aetc. into one app
<wolfspraul> you could also say "maybe the Ben will be as easy to use as AOL one day"
<jow_laptop> we also experiment with web based image builders
<wolfspraul> go on
<jow_laptop> this way one can assemble a desired package collection online, provide additional files to embed and let it build on the server
<wolfspraul> nice
<jow_laptop> the final image is tailored to the custom needs then
<jow_laptop> in the upload step one could upload the backup archive for example
<wolfspraul> but it probably contains patent encumbered software
<jow_laptop> well that entriely depends on what components are provided in the repo
<wolfspraul> yeah it's nice
<wolfspraul> can it build bootable images for the nanonote now?
<wolfspraul> I'm wondering whether we have more things left to upstream still, or all there already...
<jow_laptop> tbh I never tried :)
<jow_laptop> it will probably boot and drop to a busybox prompt
<jow_laptop> no gmenu etc.
<wolfspraul> that would be great
<wolfspraul> jow_laptop: if you feel there is anything we can do better for openwrt upstream, please speak up
<jow_laptop> can't think of anything
<jow_laptop> some things will never be applicable mainline
<wolfspraul> xiangfu worked hard to get nanonote support into u-boot upstream, we can probably cleanup a bit on the openwrt side now
<jow_laptop> and the other stuff slowly trickles in
<jow_laptop> like package updates
<wolfspraul> oh sure, that's fine
<wolfspraul> yes
<wolfspraul> I also hope we get a bigger push behind OpenWrt on Milkymist One at some point
<wolfspraul> Lars has been starting and made good progress, but very few people use that right now (understandably since there are serious limitations right now)
<wolfspraul> jow_laptop: have you heard of Milkymist? :-) (you probably did, just checking...)
<jow_laptop> yes, I follow the lists and the channel here
<wolfspraul> to improve Linux and OpenWrt on it a lot of pieces are missing, such as mmu, lots of work in the Linux kernel, C++ compiler or even more recent gcc compiler support, dynamic linking missing as well I think
<wolfspraul> let's say 1 year :-)
DocScrutinizer joined #qi-hardware
xiangfu_ joined #qi-hardware
aw joined #qi-hardware
aw_ joined #qi-hardware
rejon joined #qi-hardware
rejon joined #qi-hardware
panda|x201 joined #qi-hardware
stefan_schmidt joined #qi-hardware
panda|x201 joined #qi-hardware
<qi-bot> [commit] Werner Almesberger: m1/patches: added soc11_2.diff posted by Sebastien on Nov 23 (master) http://qi-hw.com/p/wernermisc/94fd599
jekhor joined #qi-hardware
zedstar joined #qi-hardware
rejon_ joined #qi-hardware
antoniodariush joined #qi-hardware
GNUtoo joined #qi-hardware
rzk joined #qi-hardware
kristianpaul joined #qi-hardware
xiangfu joined #qi-hardware
<rejon_> xiangfu, if you want to come tomorrow great
<rejon_> but now found others who can help bridge the lang. divide :)
<rejon_> wolfspraul and I will meet at fisheye cafe and talk shop
<rejon_> hopefully can look at the image stuff on m1 and more
<xiangfu> rejon_, if the JJ want setup the M1 tomorrow. I think I will come to fisheye tomorrow. :)
<rejon_> ok cool, its up to you
<rejon_> i know its your weekend
<rejon_> so don't stress out
<xiangfu> rejon_, I will update the JJ's m1 to latest stable release. will not include image support.
<rejon_> is it still too risky?
<rejon_> ;)
<rejon_> i'll see wolfgang there at 2 pm, others will arrive at 3 pm
<rejon_> like the crowd
<xiangfu> rejon_, hmm... no. just don't want break normal webupdate. I think ender user follow the stable release is better.
<rejon_> totally agree
<rejon_> who is JJ?
<xiangfu> rejon_, sorry. Jing jing.
<rejon_> aha
<rejon_> cool
<rejon_> is she going to come there?
<xiangfu> I am C developer. :D
<xiangfu> rejon_, no. I don't think so. but she said will wire the money today, and want setup M1 this weekend.
<rejon_> oh great
<xiangfu> rejon_, oh. she didn't CC to you.
<rejon_> its ok
<rejon_> i'm used to that
<rejon_> chinese people don't like to do :CC
<xiangfu> rejon_, I will forward this email to you.
<rejon_> ok cool
<rejon_> we have a thxgiving party that evening
<rejon_> so she must want to try it there
<rejon_> gbraad, we having a meetup at 3 pm
<rejon_> sharism
<rejon_> at fisheye cafe
<rejon_> we will flesh out openwrt + html5 more
<rejon_> you should come!
<rejon_> bring pasi
<xiangfu> rejon_, hmm... I think a people working on openwrt router in Beijing, do you want more people :)
<rejon_> sure
<xiangfu> s/I think/I know
<rejon_> will be like an openwrt flash mob
<xiangfu> ok. he buy a Nanonote. then switch to create his own openwrt router. :)
<rejon_> want to flesh out how we can get test suite for openwrt + netsurf to get minimal html5 compliance
<rejon_> yah, i need to flash mine
Ayla joined #qi-hardware
jekhor joined #qi-hardware
kristianpaul joined #qi-hardware
SoulRaven joined #qi-hardware
<xiangfu> rejon_, CC you another email. :)
<rejon_> great
jivs joined #qi-hardware
<xiangfu> rejon_, updated to latest version and packaged well
<kristianpaul> morning
<antoniodariush> xiangfu, hi, the new toolchain now has the wpan support for the atben
<wolfspraul> good morning!
<antoniodariush> do I still need zigbee?
zedstar_ joined #qi-hardware
lekernel joined #qi-hardware
<lekernel> what is that LED power supply?
<kristianpaul> there are some logs about it, you may found interesting uses a CPLD
<wpwrak> looks like a hideously complex way of powering a LED :)
<kristianpaul> fancy indeed, but still interesting
<wpwrak> i kinda wonder what it does with all those coils. does it connect to mains ?
<kristianpaul> i wonder how long batteries hold
<roh> um.. why the fsck. does it need an cpld to drive a led?
<kristianpaul> i remenber, the person behind is involved the IC design
<lekernel> that's just a lamp?
<roh>
<roh> seems so. a 70W led driver
kristoffer joined #qi-hardware
<xiangfu> antoniodariush, the new release support atBen.
<xiangfu> antoniodariush, I think it still not support zigbee. there are some code in kernel but not enable.
<antoniodariush> yes, I compile all the necessary packages on the toolchain successfully
<xiangfu> antoniodariush, (zigbee) depends what you want. the new release already support TCP under atBen.
<antoniodariush> so it should work with just the packages from the toolchain ?
<xiangfu> antoniodariush, you have both atBen and atUsb? or two nanonote and two atBen?
<antoniodariush> two nanonotes and two atBen yes
<xiangfu> antoniodariush, sorry. what packages you mean? the package you compiled?
<xiangfu> antoniodariush, cool. great.
<antoniodariush> i mean in the toolchain we need to select all the required drivers and stuff
<xiangfu> antoniodariush, you mean SDK. yes. we needs select those tools: http://pastebin.com/Lg3sgCbS
<antoniodariush> let me check my toolchain
<wolfspraul> yes, led driver/power supply
<wolfspraul> there's not much else to the project right now than us helping Deng a little with review and feedback
<wolfspraul> in fact I'm not sure whether/how Deng will continue, that's up to him
<xiangfu> antoniodariush, sorry. I am a little lose. about toolchain: what do you mean? the SDK under here: http://downloads.qi-hardware.com/software/images/NanoNote/Ben/latest/? or you compile the whole openwrt by yourself.
<antoniodariush> the second
<xiangfu> antoniodariush, ok. got it.
<antoniodariush> xiangfu, I had the atbens working but following werner's instructions http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/install/INSTALL-Ben
<antoniodariush> but now that everything is in the toolchain i'm looking forward to simplify few things :)
<wolfspraul> antoniodariush: if we can help you simplify more, on the software side, please let us know
<wolfspraul> we'd love to do that
<antoniodariush> sure
<antoniodariush> anyway I have these selected already http://pastebin.com/Lg3sgCbS
<wolfspraul> wpwrak: kristianpaul lekernel roh : since you guys asked about the led supply, a quick background
<wolfspraul> basically it's a chinese friend who quit his job and is working on this board
<wolfspraul> I don't fully understand the background of his work or business idea
<wolfspraul> but he understands the gpl, is very open minded about 'open', etc.
<wolfspraul> so I offered help in hosting his files, helping a bit with review, cleanup, process, translation to English, etc.
<wpwrak> that's all very nice. but what on earth is the board doing ? ;-))
<wolfspraul> but he has to drive it forward, it's his board and project. if he stops, the project stops and the files stay there for whatever future benefit (or none)
<wolfspraul> there's a video, no?
<xiangfu> antoniodariush, if you use the latest openwrt-xborst.git commit. it already included all patch about atBen.
<wolfspraul> it's a led power supply
<wolfspraul> I cannot qualify this project
<xiangfu> antoniodariush, yes. after you select those packages. you have everything you need :)
<wolfspraul> I only provide the project server, translation, some review, process, etc.
<wolfspraul> for example it might be a good boom test case for me :-) (though I doubt I get to it)
<wpwrak> i wonder why the board is so complex. is it driven from mains ?
<wolfspraul> yes I think so
<wolfspraul> I know very little, that's one of the goals of pulling it out into the open
<wolfspraul> we have to see where Deng takes this
<antoniodariush> xiangfu, excellent, thanks.
<xiangfu> antoniodariush, keep up update about your two nanonotes. cool. what are you plan on this ? (just want know more about atBen :)
<xiangfu> I mean keep us(people here) update. :)
<antoniodariush> I (actually we) always keep you people updated :)
<antoniodariush> wolfspraul, did you watch the video ?
<wolfspraul> yes
<wolfspraul> a little confusing :-)
<wolfspraul> but it looks cool - I think about all the Bens I sold!
<antoniodariush> yes we have plenty
stefan_schmidt joined #qi-hardware
<kristianpaul> wolfspraul: mechanical side for this led lamp still WIP?
<wolfspraul> he
<wolfspraul> dream-in-progress
<wolfspraul> the led array would be a standard one, this project is just the power supply
<kristianpaul> ok :)
<wolfspraul> and no mechanical at all, the idea is to maybe look for automotive customers (deng's idea, not mine)
<kristianpaul> hum i see
<wolfspraul> led lamps are shooting up everywhere now, I really cannot tell much about the differences etc.
<wolfspraul> but I read for example that the new Boeing 787 has a spectactular LED lighting system, guess I have to fly with one to see it for myself :-)
<kristianpaul> hhaha
antgreen joined #qi-hardware
<xiangfu> antoniodariush, oh. where is the video url?
<antgreen> kristianpaul: newlib bsp for moxie? it depends what you mean by that. libgloss (in the same src repo as newlib) hooks into the gdb simulator and qemu port for IO, etc.
<roh> uhm. seems there is a chip for that
<antgreen> kristianpaul: for the gdb simulator, the simulator intercepts software interrupts (swi instruction) to do I/O.
<kristianpaul> antgreen: sorry, i just wanted to know how you ported implemented stdio for your soc
<kristianpaul> hum
<antgreen> for qemu, I model memory mapped IO devices
<antgreen> libgloss is built for both versions, and you specify one or another with different linker scripts.
<kristianpaul> ah :), well i need learn more about qemu later
<antgreen> is there a milkymist qemu port?
<kristianpaul> yes
<kristianpaul> i thin is upstream now but be aware of http://milkymist.org/wiki/index.php?title=Using_QEMU
<kristianpaul> must go, back later, thanks for explanation antgreen :)
<antgreen> np
<xiangfu> !tweet checkout this http://theclashingrocks.org/wiki/doku.php?id=tcr:pics_video
<qi-bot> Tweet created: http://twitter.com/qihardware
<xiangfu> :)
<antoniodariush> :-)
<jivs> :-)
<DocScrutinizer> wolfspraul: ping
<DocScrutinizer> wpwrak: ping
<wolfspraul> yes
<wpwrak> pong
urandom__ joined #qi-hardware
[Sou|Raven] joined #qi-hardware
[Sou|Raven] joined #qi-hardware
[Sou|Raven] joined #qi-hardware
[Sou|Raven] joined #qi-hardware
SoulRaven joined #qi-hardware
SoulRaven joined #qi-hardware
SoulRaven joined #qi-hardware
SoulRaven joined #qi-hardware
GNUtoo joined #qi-hardware
SoulRaven joined #qi-hardware
mstevens joined #qi-hardware
jekhor joined #qi-hardware
lekernel joined #qi-hardware
rzk joined #qi-hardware
GNUtoo joined #qi-hardware
Artyom joined #qi-hardware
<kristianpaul> hello Artyom
<kristianpaul> btw i'm wokring to make my local changes to upstream
<kristianpaul> later i will bug you about osgps, wich i notiched the isr is not fully implemented, just polling isnt?
<kristianpaul> hum, good point
<Artyom> yeah, I used polling. (I had some troubles with ISR for GPIO in ARM7 and didn't want to spent time on them)
<kristianpaul> Do you think full osgs can run on that arm7 mcu?
<kristianpaul> I tried it on my 333Mhz nanonote and it felt not very happy... ah but of course correaltors were gp2021 in software not namuru
<kristianpaul> may be algortym to get fix point is not very cpu ungry, i havent check it yet..
<kristianpaul> btw Artyom , had you seen this http://www.holmea.demon.co.uk/GPS/Main.htm ?
<Artyom> arm7 should work fine because there is gpl-gps project which runs on ARM7 (about 30 or 50 MHz)
<kristianpaul> ah yes
<Artyom> and gpl-gps is based on osgps
<Artyom> And position solution is not cpu hungry. Usualy position is calculated every second and it's not so often as tracking loops updating
<Artyom> I've seen this project (Homemade GPS Receiver) but I don't like it. The source code is poor commented and not very clear (like in MM ;) )
Ayla joined #qi-hardware
<kristianpaul> yes i agree
<kristianpaul> what call me atention is the RF DIY receiver part
<Artyom> (Sorry, what is DIY stand for?)
<kristianpaul> do it your self
<kristianpaul> Artyom: so, you make flterm work your board also?
<Artyom> Not yet, I had no enough time to experiment with flterm. And there is one potential problem that must be solved before.
<Artyom> And I also have to prepare some demo-program. The stadard are not for my board
Jay7 joined #qi-hardware
<kristianpaul> wich kind of demo progam you mean? for osgps mod?
<Artyom> no, I mean that for testing flterm I could use a program in /software/demo directory. But I can't do it because my board differes from M1. So I have to write my own, or simplify existing ;)
<kristianpaul> ah yes of course that demo.. (wich i never ran before... and i should :-))
<Artyom> :))) (It seems that I do many stupid things that you didn't even try to ;) )
<kristianpaul> he no just i met milkymist when demo was not needed, i mean flickernoise wich is the VJ* apps was ready
<kristianpaul> so i dint get interested,but seems it cames with some debug facilites i should try someday
<kristianpaul> ready written for rtems
<Artyom> btw did you test RTEMS on your board? Did you write any additional (pgrogram/task/thread?)?
<Artyom> I think I've read that M1 uses RTEMS as a base?
<kristianpaul> yeah well rtems is the better supporte OS in terms of working drivers
<kristianpaul> and yes i had tried rtems before
<kristianpaul> i just moved to baremetal meanwhile i get sure all works fine (as i got some hangs in the pst)
<Artyom> What drivers do you mean?
<kristianpaul> ethernet (best tcp/ip stack than bios too), memory card (read only support), yaffs for NOR wich is a big plus as the only non-volatile file system with write support
<kristianpaul> and framebuffer
<kristianpaul> there is also a fpu but i dont know how usefull could be for us
<kristianpaul> about programs.. well i tried a bit very basic sstuff, i dont get in to task/threads
<Artyom> fpu can be usefull for tracking loops and for position calculation (What math functions does it support?)
<kristianpaul> i need to learn more about that, also rtems have a messae passing system
<kristianpaul> sorry is pfpu
<kristianpaul> datasheet here http://milkymist.org/socdoc/pfpu.pdf
<Artyom> yeah, this part I've already seen...
<kristianpaul> something usefull in there?
<kristianpaul> cos sin.... well i dont know all the math in position calculation, i guess is a kind of big matrix? :-)
<Artyom> Not sure... But I think that new operations can added. It's open source :)
<kristianpaul> :-)
<kristianpaul> for tracking loops how usefull can be?
<kristianpaul> i was actually thinking in a dedicated lm32 core for that maye be to much ?
<Artyom> may be atan calculation... But many thing must be checked...
<Artyom> dedicated lm32 core only for tracking? ;) Sounds unusual but interesting ;)
<kristianpaul> lol
<kristianpaul> well as i said i was checking some gps baseband chips other days
<kristianpaul> most of then include an arm procesor and a minimal soc with the correlators and other stuff
<kristianpaul> but anyway just an idea
<Artyom> what chips did you check?
<Artyom> I remember nj1006 (or similar) It contains leon+peripheral+correlator
<kristianpaul> oh leon :)
<kristianpaul> just a ATR0625P from atmel
<Artyom> and gp4021 (or similar): arm+correlator
<Artyom> Do you leon? Did you test it?
<kristianpaul> afaik no
<kristianpaul> i just know it was in space because have a fault tolerance system
<Artyom> I think Carlos know more about it... ;)
<kristianpaul> yes he was doing benchmarking lm32 vs leon :D
<kristianpaul> with linux
<Artyom> Have you seen any results?
<kristianpaul> nope, actually long time since i dont see carlos here
<kristianpaul> i think was univesity asigment, dunno if got in a hurry and...
<Artyom> btw is it possible to have couple lm32 cores in one FPGA? Did you try to do it?
<kristianpaul> good questions, lekernel said yes is likely posible
<Artyom> and how to transmit data between them?
<Artyom> is it possible to have two cores on one wb-bus?
<kristianpaul> yes
<kristianpaul> several masters and use DMA
<kristianpaul> i guess
<kristianpaul> (dma part)
<kristianpaul> or implement a wishbone switch (milkymist used it before)
<Artyom> Have you ever seen FFT implementation for FPGA (as a separate core)?
<kristianpaul> urghh no :)
<kristianpaul> FFT is very ungry in reources i think
<Artyom> may be, I didn't think about it ;)
<kristianpaul> and most sutiable for software based processing (Ghz..)? (correct me in that one)
<kristianpaul> at least in some books about GPS software aprouch imedialy skip serial processing and jump to fft
<kristianpaul> of course they dont use a fpga likes us :)
<Artyom> FFT for software? I think it can be parallelized and that's a good task for FPGA.
<kristianpaul> hum.. perhaps i need read more
<Artyom> In books they don't use serial approach because it's toooooo slow for software.
<kristianpaul> :D
<Artyom> But at the same time it's very simple for hardware :)
<kristianpaul> but fft is required for acquisition , tracking loops and ...
<kristianpaul> yeah
<Artyom> fft is for acquisition only (as I understand)
<kristianpaul> fft also needs too much routing, oh hell
<kristianpaul> back in a minute out for a snack
<Artyom> Kristianpaul, it's time to leave for me...
<Artyom> too late...
<kristianpaul> have nice sleep then
<Artyom> thanks! bye! :)
freakazoid0223 joined #qi-hardware