tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
Rose28357 has quit [Quit: Nettalk6 - www.ntalk.de]
pwhalen has quit [Ping timeout: 272 seconds]
rz2k has joined #linux-sunxi
zeRez has quit [Remote host closed the connection]
zeRez has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
tomcheng76 has quit [Quit: leaving]
tomcheng76 has joined #linux-sunxi
mawe242 has joined #linux-sunxi
ikeeki has joined #linux-sunxi
<mawe242>
oliv3r_: hi again! did you have any success with the spi driver for sun7i?
<mawe242>
oliv3r_: i thought I had it done, but on building the modules got 4 errors regarding dma ("sw_dma_free" [drivers/spi/spi_sunxi.ko] undefined! ... )
<ikeeki>
03:08 libv said "on the other hand, that probably keeps some idiots off of our backs as well."
<ikeeki>
Too bad libv
<ikeeki>
How does it feel being so elitist? Congrats...
ikeeki has quit [Client Quit]
Renard has joined #linux-sunxi
bengal has joined #linux-sunxi
<oliv3r_>
mawe242: working on some dma stuff
<libv>
heh
* libv
digs through the wiki users list
<mawe242>
oliv3r_: ok, let me know if and when you need help with testing
Black_Horseman has joined #linux-sunxi
<libv>
heh, self-promotion only.
afaerber_ has joined #linux-sunxi
<ssvb>
libv: somebody has to provide reasonably configured sd card images with pre-installed software (for demo purposes and for less advanced users who can't install the system in any other way)
<ssvb>
libv: afaik ikeeki is not doing any software development, so he is not "competing" with sunxi
afaerber has quit [Ping timeout: 245 seconds]
<libv>
well, what is there is only barely above a few images, and the few howtos are just the bare essentials copied over from our wiki
<ssvb>
ok, I agree about the howto part, this should be in the wiki
<libv>
i do not see the point of trying to promote it as a special linux distribution for cubie
<libv>
imho it ikeeki would be much better off working with linux-sunxi directly
<libv>
but ... and that was what ikeeki responded to
<ssvb>
libv: "So, my main tarjet is to wipeout general thoght that cubieboard can’t play 1080p mkv files, or that it is imposible to make a Desktop PC from it."
<libv>
...
<ssvb>
many people fail to configure the system properly, can't get proper performance and important features working
<ssvb>
if somebody is complaining about "bad video playback" or something like this, he can be told to use this cubiuntu sd card image and shut up :)
<moofree>
What, things just work without arcane linux knowledge? Who would want that?! ;)
<ssvb>
well, actually not "shut up", but be encouraged to try installing the system again using the sunxi manual howto and attempt to get the same result
<ssvb>
moofree: there are people with varying level of skills and varying level of patience
<ssvb>
moofree: configuring everything properly is not a rocket science, but a certain percentage of users can't do this for various reasons
<ssvb>
moofree: and some of them are very vocal and eager to share their "experience" with the others
<libv>
ssvb: still, everyone would be better off if he would be working with sunxi more directly
<libv>
but as said, this way, some of the really bad users are kept away from us, i do not see who else would put trust in that website
<paulk-collins>
"Due to […] and to a party I’ve just been invited […], the release will be ready in another 24 hours" I've got to use that one next time I'm out of schedule!
<moofree>
i was being sarcastic, i'm still kind of a linux noob myself (though i've been using it since like 2001 heh) so these prepackaged images are desirable. but to be honest, so long as ssh runs i mostly don't care about the rest of it
<moofree>
and broken english makes people more trustworthy!
<moofree>
it's how that chat bot 'passed' the turing test recently.
<moofree>
"I expect you enjoy these contents..." great expectations
rds_ has joined #linux-sunxi
<rds_>
A80, it seems is selling like that "hot cakes" ! for the price of nearly $400 is really a great deal. Congrats AllWinner!
ricardocrudo has joined #linux-sunxi
rds_ has quit [Quit: Page closed]
bengal has quit [Ping timeout: 240 seconds]
bengal has joined #linux-sunxi
<Turl>
moofree: not everyone is a native speaker
<Turl>
(or can pass muster as one)
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
Gerwin_J has joined #linux-sunxi
petr has quit [Remote host closed the connection]
bengal has quit [Ping timeout: 250 seconds]
petr has joined #linux-sunxi
petr has quit [Remote host closed the connection]
bengal has joined #linux-sunxi
Faisal has quit [Ping timeout: 245 seconds]
Faisal has joined #linux-sunxi
<moofree>
English will only matter for a few more decades anyway. We'll all be speaking Esperanto in 50 years. ;)
<mawe242>
some very basic C question:
<mawe242>
when writing a userspace device driver, I want to access a A20 memory region, namely the touchpad registers
<mawe242>
so I mmap and get a pointer on the touchpad base register address
petr has joined #linux-sunxi
<mawe242>
should I then be able to read register values using (unsigned int *) (base_address + register_offset), or do i need to memcpy from there?
<bonbons>
mawe242: probably works as well, though beware of register size (int or char or short) - but if you are going to reuse the value multiple times take care of volatile or copying it to a variable
Renard has quit [Ping timeout: 245 seconds]
<mawe242>
bonbons: ok, thanks. then I've got some other problem i guess.
pwhalen has quit [Ping timeout: 240 seconds]
afaerber_ is now known as afaerber
Renard has joined #linux-sunxi
pwhalen has joined #linux-sunxi
<wens>
hmm, merrii updated their a31 sdk again, with android 4.4
<Gerwin_J>
LOL prices for A80 optimus will be higher and higher
<wens>
looks like merrii will be doing one as well
ganbold_ has quit [Ping timeout: 246 seconds]
ganbold_ has joined #linux-sunxi
akaizen has joined #linux-sunxi
<Turl>
mawe242, probably less error prone to use uint32_t volatile *s
<Turl>
rc1 wens :)
Gerwin_J has quit [Ping timeout: 250 seconds]
Quarx has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<Gerwin_J>
wens: WITS/Merrii is not cheap with more products
<Gerwin_J>
A31 dev kit was first 1600 dollar
FreezingCold has quit [Ping timeout: 272 seconds]
<libv>
1600, for allwinner crap?
<libv>
yikes.
<Turl>
libv, devkit
zeRez_ has joined #linux-sunxi
<libv>
still
<Turl>
try buying one from qcom/samsung :P
<libv>
yes, but this is allwinner
<libv>
luckily rpi happened since
FreezingCold has joined #linux-sunxi
mawe242 has quit [Quit: Leaving]
zeRez has quit [Ping timeout: 272 seconds]
rz2k has quit []
zeRez_ is now known as zeRez
nabblet has joined #linux-sunxi
nabblet_ has joined #linux-sunxi
popolon has joined #linux-sunxi
<CaptHindsight>
http://www.youtube.com/watch?v=8yNbaHBj6wA#t=154 from this video it's obvious they have the tech support staff, and they have just decided to ignore working directly with the community
nabblet has quit [Quit: Lost terminal]
<libv>
the thing is, unless olimex really does a80, we have no reason to support them
<libv>
a80 will be even worse than a31 then
<libv>
we really should be getting quite verbose as to how little support we get from any vendor
<CaptHindsight>
just not whining, just matter of fact reporting on how they just stopped working with the community
<libv>
have we been whining so far?
<CaptHindsight>
no, it just shouldn't start sounding that way
<libv>
where is the line between the two?
<Turl>
their core market does not need us helping
<libv>
and from which angle is that line seen
<libv>
Turl: true, but that still doesn't mean that we can be ignored like this
<Turl>
but they'll keep on missing all the advantages
<CaptHindsight>
M$ and HP are using Allwinner now
<Turl>
they really have no obligation to us other than the gpl ones
<CaptHindsight>
there are enormous egos at work there
<libv>
CaptHindsight: yes, and mine is feeling considerably ignored :p
<CaptHindsight>
any gpl issues should be made known
<CaptHindsight>
are the new tablets still using u-boot or are they starting to use EFI?
<CaptHindsight>
10-15 years ago I scratched my head wondering why the PC vendors didn't want to save $1 on each PC by using coreboot (Linuxbios) and all of it's advantages vs closed BIOS (award, phoenix, ami, etc)
<libv>
oh great, another nohope page...
<libv>
thank you lack-of-reading-comprehension jason :(
<libv>
CaptHindsight: i was the first to add native graphics to coreboot
<libv>
CaptHindsight: so you are preaching to the choir here
<CaptHindsight>
I remember, thanks again
<libv>
the new amd arm based opteron
<libv>
the devel board...
<libv>
that comes with an AMI
<CaptHindsight>
shheesh
<CaptHindsight>
the ARM needs a BIOS propaganda started years ago
<Turl>
support?
<Turl>
you can blame AMI if stuff breaks
<CaptHindsight>
it also keep devices from being anonymous
<diego71>
we don't need support, we need someone to blame (and shift the blame)
<CaptHindsight>
well all the UEFI PC I have are broken, they don't seem to be too concerned about fixing it
<Turl>
if coreboot had a denx like entity behind maybe it'd get more use
akaizen has quit [Remote host closed the connection]
<Turl>
if windows boots it is not broken :)
akaizen has joined #linux-sunxi
<CaptHindsight>
a pretty low bar :)
ganbold__ has joined #linux-sunxi
<libv>
Turl: it had
<CaptHindsight>
so why give $1 away for each copy of UEFI?
<libv>
reinauer and patrickg
<Turl>
that's the bar that sells for desktops
<libv>
but then google took notice and dragged reinauer to the us
<CaptHindsight>
and Ron and few others
<libv>
where he now went all yankee on us (he even bought some 90s corvette)
<CaptHindsight>
heh
<libv>
Turl: so in some ways, coreboot has all the support it could ever wish for
<Turl>
google is using coreboot iirc
<Turl>
and shipping it on chromebooks
<libv>
yes, with rather sizable intel blobs to go with it
<CaptHindsight>
the blobs have all the remote control features
ganbold_ has quit [Ping timeout: 240 seconds]
akaizen has quit [Ping timeout: 245 seconds]
<CaptHindsight>
well Allwinner could have one support person spend a few minutes here and there posting source and docs
<CaptHindsight>
moderate a forum
<Turl>
thats one salary wasted in their eyes
<CaptHindsight>
clarify issues that all oem's have with mistakes in the docs vs actual registers
<CaptHindsight>
it's not much work
netlynx has quit [Quit: Leaving]
<Turl>
it's a full time job :) their docs are quite bad
<CaptHindsight>
heh, but they gain 100's of eyes
<Turl>
and often in broken english
<CaptHindsight>
I've been on the hardware side for quite some time, you can just post register specs and goofy things you did or steps that need to be taken in certain odd orders for some function to work
mmarker has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<CaptHindsight>
hell they could post them in traditional chinese and they'd be translated for fee
<libv>
for flee?
<CaptHindsight>
probably better to publish the docs in your native language and let someone that's fluent in both translate
mmarker has joined #linux-sunxi
<CaptHindsight>
they would save face as well that way
<libv>
CaptHindsight: you are preaching to the choir again
<libv>
and not doing anything productive
<CaptHindsight>
it's my day off :)
<CaptHindsight>
well post what would help vs what they got wrong
<libv>
CaptHindsight: here?
<CaptHindsight>
there's that whole "saving face" issue to deal with as well
<libv>
CaptHindsight: please, go find something else to do
<CaptHindsight>
heh
<Turl>
saving face?
<CaptHindsight>
I'm clarifying what others here are not aware of
oliv3r_ has quit [Remote host closed the connection]
mawe242 has joined #linux-sunxi
<mawe242>
Turl: thanks! (you suggested to use uint32_t instead of unsiged int for mmap'ed access in userspace) but why is that less error prone? you mean if the code gets ported to other platforms?
<mawe242>
great! i've managed to use the touchpad inputs on the sun7i as a generic ADC with 12 bit resolution! \o/
<mawe242>
now the question is.... how tolerant are the input pins of the A20 chip? if they get fed 5v for a short while, will they blow up or are they clamped somehow?
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
jemk has quit [Quit: leaving]
oliv3r has joined #linux-sunxi
Faisal has quit [Ping timeout: 240 seconds]
Faisal has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
dlan has quit [Changing host]
dlan has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
<libv>
urgh, no rtl wifi in sun5i defconfig :(
nabblet has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
libcg has joined #linux-sunxi
FreezingAlt has joined #linux-sunxi
pwhalen has quit [Ping timeout: 255 seconds]
akaizen has quit [Ping timeout: 246 seconds]
FreezingAlt has quit [Remote host closed the connection]
FreezingAlt has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 272 seconds]
bengal has quit [Quit: Leaving]
FreezingDroid has joined #linux-sunxi
rds_ has joined #linux-sunxi
FreezingDroid is now known as FreezingCold
<rds_>
ADC have a Vref of 1.8V. So, you would need to a voltage divider if you have anything beyond that!
pwhalen has joined #linux-sunxi
FreezingAlt has quit [Ping timeout: 260 seconds]
akaizen has joined #linux-sunxi
<mawe242>
rds_: the adc on my A20 has a vref of 3v
<mawe242>
rds_: but the question is: will the port get damaged if I feed it 5v accidentally (not in normal operation, but shortly during setup?)
<rds_>
yes, that is what the schematic shows, but internally in the soc, you have dividers... anything beyond that overflows the ADC reading...
<rds_>
i don't know and would not trust a chinese vendor tell me that their chips are 5v tolerant! :-)
<mawe242>
rds_: i've tested it just now and get a value of 4096 on >= 3v
<mawe242>
fair enough... ;-)
<rds_>
Ok, on my CB3 I get that after 1.8+V
<mawe242>
hm... so a clipping/zener diode to protect the adc input would be wise.