<zrafa>
wpwrak: well.. I did some test like this :
<zrafa>
wpwrak: - I set PDDATS, pins [8] and [9] with 1 and 0. Like your pin-chage.pdf suggested.
<zrafa>
wpwrak: - I tried to set some MMC command. Then, first command I set failed (I could not see it with scope). Then I used a similar MMC command like you used in ubb-vga, and I was able to see some 1s and 0s with scope
<zrafa>
wpwrak: well.. those 1s and 0s I saw were in D- (CMD)
<zrafa>
wpwrak: and I also see (with scope) 1s and 0s fiddling with PDFUNS/PDFUNC in D+
<zrafa>
wpwrak: But, I have not able to have some control in D- so I can set 1 or 0 for D-. I just see the 1s/0s for the MMC CMD command (I guess) and then nothing. And I did not see 1s or 0s in D- after that, still if I use PDDATS[9]
<zrafa>
wpwrak: well, That is all :).. I will try to understand a bit more how to freeze the mmc cmd to get the values we need.
<zrafa>
wpwrak: D- is CMD pin
<zrafa>
wpwrak: and CMD pin is the 3rd.. after DAT2 and DAT3
<wpwrak>
to freeze the command, maybe you can simply write 1 to MSC_STRPCL
<wpwrak>
otherwise, bit 7 (0x80) in CLKGR (0x10000020) should be the clock gate for the MMC controller
<LunaVorax>
Hey guys
<zrafa>
wpwrak: I tried with CLKGR IIRC, but no succes. Maybe
<zrafa>
wpwrak: I did it too after cmd finished. No sure
<wpwrak>
or maybe you were too quick ;-)
<LunaVorax>
Remember all the crap I said about the Dingoo? I take all of this beack since I've learned that OpenDingux is built from Qi's Linux Kernel.
<wpwrak>
here's a debugging trick:
<wpwrak>
- configure some other GPIO as output (e.g., DAT2)
<wpwrak>
- set this output to 0
<wpwrak>
- at the place where you plan to stop the clock, set the output to 1
<wpwrak>
then check with the scope where in the command sequence you are
<zrafa>
wpwrak: and using MSC_STRPCL for stopping I do not remember why I did not try :) (i did these tests this weekend at farm, where I have the scope and nanonote).
<zrafa>
wpwrak: nice trick .. let me save that. Thanks
<zrafa>
wpwrak: I will try to use it as well. Because I do not know much about MMC, then it is a little hard for me understand some (maybe trivial) actions.. like : how to stop a command in the middle of it.
<zrafa>
wpwrak: at least I think that I was able to see it in the scope. SOmething is something :P
<wpwrak>
you could vary the command code and/or the value. then you should see a nice bit pattern. e.g., use 0x55
<wpwrak>
and yes, such things take a bit of experimenting :)
<zrafa>
wpwrak: 0x55 for what?. Sorry, I did not catch that
<zrafa>
wpwrak: for MMC cmd ?
<wpwrak>
for the command, yes. then you get a 01010101 bit pattern in the command byte
<LunaVorax>
I think I asked this already but, does Qi use the Linux or Linux-Libre kernel ?
<kristianpaul>
it could LunaVorax , check libre wrt project
<kristianpaul>
but curently is upstream linux with some non-upstream patches i remenber
<LunaVorax>
Ok
<Artyom>
kristianpaul are you here?
<kristianpaul>
hello yes Artyom
<Artyom>
Do you have any news about gps+namuru?
<Artyom>
;)
<kristianpaul>
nope, i just finished soldering a wire to use a single clock for the milkymist soc
<kristianpaul>
ah well, i guy wrote me mail Takuji Ebinuma
<kristianpaul>
do you know him?
<Artyom>
oh yes :) He wrote me email and asked about gnss-sdr project. I also told him about your project :)
<kristianpaul>
yes i'm writing a mail to reply his questions :)
<Artyom>
he participated in gpl-gps and osgps projects :)
<kristianpaul>
i just got time to work on namuru today i was traveling the last two weekends :-/
<Artyom>
What places did you visit? ;)
<kristianpaul>
yday i was win Pasto, nariño
<kristianpaul>
and last week i was in Guacari, a small town near Buga
<Artyom>
BTW I started to experiment with latticemico32 :) My first archivement is synthsising lm32 for spartan3e and writing simple program that blink leds. I found a small tutrial for spartan6 and used it :)
<kristianpaul>
oh
<kristianpaul>
GREAT !}
<kristianpaul>
s/win/at
<Artyom>
sorry. what do you mean?
<kristianpaul>
i mean i was at pasto
<kristianpaul>
and also that is GREAT you start working arounf latticemico32 :)
<Artyom>
yeh, I liked the idea and now I try to check it :)
<Artyom>
(Half a year ago I've seen photos of one of my comrades from his journey in south america (journey across Colombia, Venezuela and others). I liked them and once I will definitly make something similar ;) )
<kristianpaul>
btw had you experimented tracking with your osgps port recently?
<kristianpaul>
Always wellcome :-)
<Artyom>
No, I'e stoped experiments after I got success with acquisition and tracking... Now I will try to make the same with namuru+lm32
<kristianpaul>
ohhh, you are beating me :)
<Artyom>
I think there is enough tasks for hundred persons ;)
<kristianpaul>
indeed !!
<kristianpaul>
no i mean nice, that you think moving to a softcore for cpu
<kristianpaul>
also i think lm32 still have space for two custom instructions, so you may like that idea as well :)
<Artyom>
I want to ask couple of questions about milkymist...
<kristianpaul>
go ahead
<Artyom>
is there any tutorial how to synthesis lm32+all the cores for milkymist?
<kristianpaul>
actually no i remenber, but is pretty simple
<kristianpaul>
hard and long part is get ise, i guess you already did
<zrafa>
kuribas: Xfbdev is fast enough for anything you want. EFL, or X, or fb only on nn have the prblems of the tiny screen. SO the problem is not the canvas or lib to use.. THe problem is the work needed to config applications useful for tiny screens and small keyboards
<kuribas>
zrafa: That's why I intend to write a new theme for elementary :)
<kristianpaul>
zrafa: but ELF it self dint solve the tiny screens and small keyboard issue?
<kuribas>
According to the EFL documentation, themes are very flexible and easy once you know the language.
<kuribas>
And the EFL has functionality for setting the focus, etc...
<kristianpaul>
and, thats what rafa mean with work needing to config :-)
<kuribas>
yeah
<kuribas>
At least, when the work is done, it will be easier to port/write other applications.
<kuribas>
My first goal is to have a calendar app that I can use.
<kristianpaul>
had alwats troubles taking notes with is nanonote
<kristianpaul>
like, not remebber save before poweroff