<mrnuke>
"HELLO! BOOT0 is starting!" ? Was that some guy's homework assignment?
<wens>
who knows
<rz2k>
that crap goes from ePDK/Melis boot system developed by allwinner/softwinner 5+ years ago
<wingrime>
Wens can.you check boot sram size
<wingrime>
It must be different from others
pseudomind has joined #linux-sunxi
<wens>
wingrime: uh, how do I check that?
<wingrime>
Writing 1 and 0 to sram,
<wens>
don't we have the datasheet for that?
<wingrime>
Also remapping others sram to cpu
<wens>
A1 16k@0x00000000, A2 64k@0x00044000
<wingrime>
Aw kernel have differences in that part
<wingrime>
Now we have modifications instead simple a10,a20 names
<wingrime>
New sources have slightly different mmory map
<wingrime>
And different sram sizez
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<wens>
ccaione: you might want to look at axp22x driver in A23 SDK, it actually looks sane, with mfd and stuff
pwhalen has quit [Ping timeout: 252 seconds]
akaizen has quit [Remote host closed the connection]
nicksydney has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
techn__ has quit [Ping timeout: 240 seconds]
rz2k has quit [Read error: Connection reset by peer]
nicksydney has joined #linux-sunxi
code-ninja has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
<code-ninja>
Hi everyone. since my last presence I have managed to make my unlisted tablet work. Its an Inet K70EC (http://linux-sunxi.org/Inet_k70e). The touchscreen is still not working so I hacked the FocalTech driver (ft5x_ts.c) and now udev recognizes it as a touchpad. I'm working on Wi-Fi drivers and I have hopes that it will work too. Where should I start documenting my work?
<code-ninja>
The link above shows that all the headings are placeholders for this tablet.
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
<code-ninja>
Although the touch works and everything seems alright, but since it is being detected/working as a touchpad it is still a bit cumbersome to use.
<code-ninja>
The OTG refuses to work and I assume that there is a problem with the Sunxi kernel for A20.
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
<code-ninja>
??
<wens>
OTG was never completely working in the sunxi kernel
<code-ninja>
Really? Cool... my research guide will now get off my ass!
<code-ninja>
but where should I start documenting? Should I edit that wiki page I linked above?
<code-ninja>
and I do have some quirks
t3st3r has quit [Remote host closed the connection]
<wens>
you should probably document all the chip IDs, i.e. wifi chip name
bertrik has quit [Remote host closed the connection]
<code-ninja>
and...?
akaizen has joined #linux-sunxi
_massi_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
akaizen has quit [Remote host closed the connection]
kivutar has joined #linux-sunxi
akaizen has joined #linux-sunxi
<code-ninja>
well, I guess I'll start with improving that wiki page.
<kivutar>
hello, I'm stuck at <6>Waiting for root device /dev/mmcblk0p2... on my cubieboard2 using widely used distros like arch or cubieez
<kivutar>
does it means that my sd card reader is dead?
rz2k has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<mripard>
mturquette: yeah, I think degrees are best too, since it's frequency-independant, while all the other units I could think of were not.
<mripard>
mturquette: I guess the only thing we still have to address is how to represent those two different clocks, and what the values actually mean :)
<mripard>
mrnuke: don't worry, most of first submissions are like that :)
<mripard>
mrnuke: what you did is actually pretty common :)
<mripard>
mrnuke: so it's really no big deal
codekipper has quit [Quit: Page closed]
akaizen has quit [Remote host closed the connection]
bbrezillon has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<ccaione>
wens: I'll do it after having merged the axp20x. Unfortunately I'm under deadline and I don't have much time lately
bbrezillon has quit [Quit: WeeChat 0.3.7]
bbrezillon has joined #linux-sunxi
<ccaione>
oh, if you are willing go ahead with axp22x, no prob :)
<wens>
I was thinking about completing axp209 first, vbus sensing, then gpio/pinctrl maybe
<mripard>
you won't need pinctrl
<wens>
ccaione: do you plan on doing a seperate driver for axp22x? or try to merge them together?
codekipper has joined #linux-sunxi
code-ninja has quit [Quit: Quitting is for loosers!]
<ccaione>
no idea, I haven't looked at axp22x yet. Merging is better if it is possible
<ccaione>
I have no hardware to test gpio part for axp20x
<wens>
LIME can use a GPIO line for vbus sensing (maybe even use the ADC), but I don't have one
<ccaione>
me neither :(
fredy has quit [Excess Flood]
jean has joined #linux-sunxi
jean is now known as Guest67835
fredy has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
popolon has quit [Changing host]
Guest67835 has quit [Client Quit]
<wens>
mripard: how come?
<mripard>
wens: pinctrl is for pin muxing, you don't have that in the AXP
<mripard>
you just have plain gpios, don't you?
<wens>
mripard: 2 pins can also be mux as regulator outputs or ADC inputs
<ccaione>
mripard: are you going to elce?
<wens>
also the CHRLED pin has 2 functions I think
<codekipper>
plaes: Thanks....I can see by just adding the link it's created.
<plaes>
yeah :D
<plaes>
but I already made it
<codekipper>
plaes: I linked to MK808
devgiant has joined #linux-sunxi
<codekipper>
plaes: Thanks for filling it with with the default info....better get it filled before libv gets online
<rzrblade>
plaes: i have to patent it to sell it ? it need to be CE or from the time that all the parts are allready CE we are ok on that ?
<plaes>
first, talk to patent lawyer
<plaes>
but keep in mind that certain rules also apply to Olimex hardware because they are licensed under OSHW
<rellla>
A31 has some additional registers. e.g. G2D_CMDQ_STS_REG starting at 0x140 . Maybe some command queue handling? how likely is it, that these registerst also exist in A20/A10 though not mentioned in the docs? ssvb^
<ssvb>
rellla: they are unlikely to exist in A10/A20
<ssvb>
rellla: for example, premultiplied alpha is not supported in A10/A20 G2D even if you try to set the right bit fished out from the sun6i g2d kernel sources
<rellla>
ssvb: ok. i was just figuring out the differences between the sources. timeout=500 had effect btw, but no resolving ;)
t3st3r has joined #linux-sunxi
* rellla
is clueless atm how to debug this freaky g2d ...
<libv>
codekipper: so you too are unable to create new pages?
<libv>
really strange.
<codekipper>
libv: Yep, I can create pages. It wasn't obvious just to type in the url and then edit to create.
<codekipper>
By the time I'd found out then plaes had kindly created it for me
<libv>
codekipper: ah, ok.
<libv>
codekipper: we had someone else who was unable to create pages as well yesterday, so this had me worried
t3st3r has quit [Ping timeout: 265 seconds]
<codekipper>
libv: do you mean mk808C page (not k70e)...I'm ready with the photos...just don't wanna take the p1ss at work with the distractions
<libv>
codekipper: yeah, i mixed up the nicknames, code-ninja vs codekipper
<codekipper>
libv: one slaps harder than the other
t3st3r has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
<libv>
codekipper: but neither will move his mouth in sync to the audio :p
diego_r has joined #linux-sunxi
<plaes>
libv: how's the display driver coming? :)
<codekipper>
libv: Very good.....I'll concentrate on that wiki update instead of a comeback.
<libv>
:)
diego_r has quit [Ping timeout: 265 seconds]
<libv>
plaes: i am poking at lcds atm, now working through parsing the .fex file
<plaes>
when do you plan to publish something?
enrico_ has joined #linux-sunxi
pwhalen has joined #linux-sunxi
<libv>
i still have the rest of lcd, then lvds, then a13 support, ddc and palette/interrupts
<libv>
and then a massive cleanup and patch formatting round
<libv>
i was planning to get the code out last month.
<libv>
but i barely did any code then
<plaes>
yeah, that's why I asked
<plaes>
and hdmi after that?
<libv>
plain hdmi is already there
<libv>
as that was rather trivial to add
<libv>
i do not to still fixing a timing issue with HPD detection though
<libv>
err, s/not to //
t3st3r has quit [Ping timeout: 265 seconds]
<libv>
err..
<libv>
still need to fix a timing issue
* libv
needs caffeine
t3st3r has joined #linux-sunxi
<plaes>
ahh.. you're doing it for 3.4?
* plaes
is confused too...
<libv>
but things like hdmi audio and the rest of the info thatneeds to be sent to the monitor, that all will remain open, from my side
<libv>
yes, 3.4 first
<libv>
then the .fex stuff will be thrown out and dt stuff added
Gerwin_J has quit [Quit: Gerwin_J]
<plaes>
ok
t3st3r_ has joined #linux-sunxi
t3st3r has quit [Ping timeout: 265 seconds]
t3st3r_ is now known as t3st3r
Net147 has joined #linux-sunxi
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 241 seconds]
JohnDoe71rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
<Net147>
why does linux-sunxi 3.4 use 200 kbit/s I2C speed? isn't 100 kbit/s the standard speed for I2C?
<plaes>
Net147: original I2C is 100kbit/s
<plaes>
standard mode - 100kbit/s
<plaes>
fast mode is up to 400kbit/s
<Net147>
well I presume #define I2C1_TRANSFER_SPEED (200000) means 200 kbit/s I2C transfer speed
<Net147>
in arch/arm/plat-sunxi/include/plat/i2c.h
<Net147>
and I notice patches floating around which change it to 100000 for compatibility with some I2C devices
<Net147>
also, the mainline I2C driver uses 100000 frequency
<plaes>
yup, just checked that
<plaes>
bus_freq = 100000; /* 100kHz by default */
<plaes>
oops
<plaes>
it should be fixed
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Net147>
I am not sure whether #define I2C0_TRANSFER_SPEED (400000) needs to be changed or whether it's okay to leave it
<codekipper>
libv: Can I probe you on hdmi audio?
<codekipper>
the code looks like a cut & paste of the i2s driver with just some DMA additions. Is the i2s block used in the hdmi audio chain?
<libv>
no idea :)
<codekipper>
libv: one day...I'll plug it in and see
<codekipper>
I've made loads of clean up patches for the audio code but haven't really spent time looking at the fundamentals.
<codekipper>
however, distracted by dt on spdif at the moment as I can easily test that
<libv>
codekipper: perhaps find out whether the registers being written in the hdmi code are on some other memory location than the ones in the i2s driver?
<libv>
codekipper: it is very likely that if this is separate silicon, it was a cut-n-paste on the silicon level
Dodger78 has joined #linux-sunxi
<Dodger78>
hi !
<Dodger78>
got my serial converter and got hansg kernel running now. last problem : SATA is not working also i checked allwinner sata support. any idea ?
<wens>
how is it not working? does the hard drive spin up? does it click?
<wens>
codekipper: the hdmi block has a fifo for audio data
gzamboni has quit [Remote host closed the connection]
nabblet has joined #linux-sunxi
<codekipper>
libv: wens: Thanks...I may start removing bits to see if it breaks.
<Net147>
plaes: I have submitted patch to ML
<codekipper>
maybe starting with the clocks!
ssvb has quit [Ping timeout: 252 seconds]
leviathanch has quit [Remote host closed the connection]
rz2k has quit []
<Dodger78>
@Wens , solved it . i had to do a clean recompile
<Dodger78>
allwinner sata works
ssvb has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Leaving]
Black_Horseman has quit [Remote host closed the connection]
t3st3r has quit [Ping timeout: 265 seconds]
_massi_ has quit [Read error: No route to host]
FreezingCold has joined #linux-sunxi
_massi_ has joined #linux-sunxi
FDCX has quit [Ping timeout: 265 seconds]
skaczor has joined #linux-sunxi
cajg has quit [Ping timeout: 255 seconds]
kuldeepdhaka has joined #linux-sunxi
kuldeepdhaka has quit [Max SendQ exceeded]
kuldeepdhaka has joined #linux-sunxi
leviathanch has joined #linux-sunxi
FDCX has joined #linux-sunxi
grafgustav has quit [Quit: playing games with my heart]
diego_r has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
skaczor has quit [Remote host closed the connection]
<buZz>
ah, fedora finally figured out whats been done ;)
<buZz>
does it mean it will be featured on the box?
<diego_r>
buZz: Yeah, when you'll buy a Fedora 21 box you'll see "supports 486, Pentiums and Allwinner A1x and A20"
<buZz>
is fedora that project started by warren?
<diego_r>
discussion is getting weird :)
<buZz>
;)
<buZz>
Warren Togami began Fedora Linux in 2002 as an undergraduate project <--
<buZz>
right
<buZz>
he's such a pedantic dick
razlept has joined #linux-sunxi
<diego_r>
anywyay, it's good to see ARM chips starting to work with "Linus" kernels. Thank you guys.
<razlept>
hello guys.. i have installed ubuntu on nand of A13 olinuxino ..
<razlept>
how can i export the sdcard as usb-storage device when mini usbOTG in connected
<wens>
diego_r: wait for 3.15-rc1, that'll be really nice
<tkoskine>
ootb hardware virtualization support on Fedora 21/A20 sounds interesting.
<WarheadsSE>
razlept: do you even have otg functioning?
<razlept>
WarheadsSE: no
<diego_r>
wens: will do
<mrnuke>
mripard: this mail patch submission process is a POS in my view. You have git, which can do all these wonderful things. You can pull from other people, accumulate payches from others, etc... But you have to submit a patch via email
<mrnuke>
very error prone
<WarheadsSE>
Well, if you're not gettig otg behaviors, you need to get that _before_ exporting an FS over it.
<mripard>
mrnuke: doing a proper review through a mail is much more efficient than doing it through a pull request.
<wens>
mrnuke: well if you don't use mail, you probably won't get an ack, and no one would take it
<razlept>
WarheadsSE: if you mean if i have a board with usb on the go.. yes i have
<WarheadsSE>
razlept: but does it _function_ and switch to OTG mode?
<razlept>
WarheadsSE: i just get some kernel messages :
<razlept>
[sw_udc]: usbd_stop_work
<razlept>
[sw_udc]: close_usb_clock
<razlept>
[sw_udc]: sw_usb_device_disable end
<mrnuke>
wens, mripard: <rant> I have not had to email patches in the last three years, since coreboot switched to git/gerrit. I use mail here because I have to. </rant>
<WarheadsSE>
mrnuke: hah.
<WarheadsSE>
this is what I use PR's for..
<mripard>
mrnuke: gerrit UI is a pita, and doesn't work offline.
<wens>
I had a friend complaining about coreboot mailing lists, though not exactly sure what he was complaining about
<mrnuke>
wens: gerrit was constantly sending "patch set updated" "New patch to review" "patch merged" emails
<mrnuke>
wens: impossible to use that list for anything useful. They fixed that
<wens>
I don't think that was it
<mrnuke>
mripard: gerrit may have been a bad example...
<mripard>
mrnuke: mail works, has always been there, everyone has a mailer, and everyone is free to chose his mailer of choice.
<mripard>
you can't say the same about every other alternative
<mripard>
plus, every mail is archived on various places, and indexed
<mripard>
which is probably even more important
<mrnuke>
well, there are a lot of workarounds to get mail to work properly with patches, especially since they are expected to be inlined, rather than attached (though most mail clients allow you to respond inline to attachments)
<mrnuke>
and the process of git format-patch; git send-mail is a lot more tedious than git push (automagiacally goes to gerrit
<Dodger78>
does hansg 3.14 branch support LEDs / sound ?
<mripard>
and you have a single simple answer, git send-email
<mripard>
and you don't have to use format-patch.
<mrnuke>
mripard: oh my, I am so clumsy, I fuck send-email up as well :p
razlept has quit [Ping timeout: 246 seconds]
<mrnuke>
mripard: but hey, I might not like the law of the land, but it's still the law of the land
razlept has joined #linux-sunxi
<razlept>
i had a connection problem if someone replied please reply again
<mrnuke>
razlept: ooh maan. You missed the funniest thing ever
<razlept>
?/redraw
<razlept>
mrnuke: ?
<razlept>
:P
<mrnuke>
razlept: you had to have seen it. I'm not good at telling stories
Faisal has quit [Ping timeout: 264 seconds]
skaczor has joined #linux-sunxi
<razlept>
anyone ?
nove has joined #linux-sunxi
kokoboko has joined #linux-sunxi
Nabob has joined #linux-sunxi
Nabob has quit [Remote host closed the connection]
<mrnuke>
mripard: every mail is indexed/archived? oh my. The world will forever know how incompetent I was
<razlept>
i get alot of [mmc-err] smc 0 err, cmd 55, RTO
<razlept>
i dont have card placed on cardreader
Skaag_ has quit [Ping timeout: 265 seconds]
<mrnuke>
sounds like it's tryng to get to a nearby SD card via radio waves :p
<razlept>
mrnuke: i get the card away and it stop printk that
<razlept>
:P
razlept has quit [Ping timeout: 240 seconds]
razlept has joined #linux-sunxi
cajg has joined #linux-sunxi
codekipper has quit [Ping timeout: 245 seconds]
<Turl>
mripard: nice, a talk :) I hope somebody records it
<mrnuke>
huh? mripard is holding a talk?
<wens>
Turl: apb1 merge!
<mripard>
Turl: if it's like the other editions, either us or the LF will
notmart_ has joined #linux-sunxi
notmart has quit [Ping timeout: 264 seconds]
<Turl>
wens: clockwork huh ;)
<Turl>
mripard: are there going to be any more PRs for 3.15 from you?
notmart_ is now known as notmart
notmart has quit [Changing host]
notmart has joined #linux-sunxi
akaizen has joined #linux-sunxi
<mripard>
Turl: probably not
<Turl>
mripard: wens here wanted me to push the apb rename which would entail dt patches with another clk dep
<Turl>
but it's a bit late now I think
shineworld has joined #linux-sunxi
skaczor has quit [Remote host closed the connection]
<Turl>
(I know, my fault, I should've sent them way earlier)
<mripard>
yep, or you take it through the clock tree
akaizen has quit [Remote host closed the connection]
<Turl>
mripard: it'll most likely cause conflicts if we take dt stuff via the clock tree now
Dodger78 has left #linux-sunxi [#linux-sunxi]
<mripard>
not necesseraly
<Turl>
mripard: I haven't checked, but compat rename on one side, and killing the node and moving stuff on the other one, wouldn't that conflict?
<mripard>
probably
<mripard>
I don't really know what patches you're talking about
<mripard>
but we're at rc7 already...
<Turl>
mripard: the ones that combine apb1_mux and apb1 into a single clock
<Turl>
nothing new functionality wise, it's just cleanup
<Dodger78>
hansg provided patches for cubietruck gigabit drive strength, but when i look into sun7i-a20-cubietruck.dts i cant find allwinner,drive = <3> section
<Dodger78>
just found this is already patched in ...
<Dodger78>
damn , ok i try another cable .
deasy has joined #linux-sunxi
F1skr has joined #linux-sunxi
techn_ has joined #linux-sunxi
<F1skr>
Hello, I'm trying to boot the mainline kernel on a cubieboard1, but I can't quite figure out what settings I need in uEnv.txt, this is how far I get: https://dpaste.de/sHj6/raw any ideas?
<Turl>
F1skr: fdt_high is missing 2 f's btw, it should be 8 in total
leviathanch has joined #linux-sunxi
leviathanch has quit [Ping timeout: 240 seconds]
Dodger78 has left #linux-sunxi [#linux-sunxi]
nove has quit [Quit: nove]
<mnemoc>
Turl: what about -1 ?
* mnemoc
hates fs
<mnemoc>
f's
<Turl>
mnemoc: I think they're parsed like strings
<Turl>
I may be wrong though, check the code :)
deffrag has quit [Ping timeout: 264 seconds]
<mnemoc>
:)
<F1skr>
Turl: thanks for the tips, I have actually set it up as network boot now as recommended on the page you linked. It was a hassle moving the sdcard from cubieboard to laptop..
<Turl>
haha yeah it is. tftp is really convenient :)