* WarheadsSE
still needs to get back to A20 boards
KBme has quit [Ping timeout: 245 seconds]
adb has quit [Read error: Operation timed out]
* TheSeven
swears about android being an undocumented mess
nieuwbie has joined #linux-sunxi
<nieuwbie>
hey anybody knows how FEL mode looks like?
aesok has quit [Remote host closed the connection]
nieuwbie has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
rellla3 has quit [Ping timeout: 260 seconds]
iamfrankenstein has quit [Ping timeout: 260 seconds]
keebler has quit [Remote host closed the connection]
cajg has quit [Ping timeout: 272 seconds]
futurisk has quit [Ping timeout: 272 seconds]
futurisk has joined #linux-sunxi
futurisk has quit [Read error: Connection reset by peer]
cajg has joined #linux-sunxi
geecko has quit [Remote host closed the connection]
woprr has quit [Ping timeout: 246 seconds]
woprr has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
woprr has quit [Ping timeout: 246 seconds]
woprr has joined #linux-sunxi
woprr has quit [Ping timeout: 245 seconds]
printallthething has quit [Ping timeout: 245 seconds]
printallthething has joined #linux-sunxi
woprr has joined #linux-sunxi
woprr has quit [Ping timeout: 245 seconds]
woprr has joined #linux-sunxi
<woprr>
...
JohnDoe_71Rus has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
arokux1 has joined #linux-sunxi
kenny__ has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Ping timeout: 245 seconds]
arokux has quit [Ping timeout: 245 seconds]
kenny has quit [Ping timeout: 245 seconds]
tomboy65 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
[xeros] is now known as xeros
Taduro has quit [Ping timeout: 246 seconds]
prasannapete has joined #linux-sunxi
eagles0513875 has quit [Remote host closed the connection]
selfbg has joined #linux-sunxi
<selfbg>
How can I make my A10 to use external 32kHz crystal instead of internal? I'm setting bit0 from TMR_32KHZ_OSC_CTRL but I'm thinking that I'm missing something ?
wolfy has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
Quarx has joined #linux-sunxi
n01 has joined #linux-sunxi
enrico_ has joined #linux-sunxi
_massi_ has joined #linux-sunxi
hramrach has quit [Ping timeout: 240 seconds]
hansg has joined #linux-sunxi
<wens>
i get some high frequency noise when i use an SSD, but not when i use a normal 2.5" HDD
Xaros has quit [Ping timeout: 246 seconds]
<hansg>
wens, on the cubietruck? I get the same, I'm pretty sure it is coming from the powersupply logic (ie the axp209) probably it is using an audiable switching frequency for one of the dcdc convertors, and the inductors are acting as a "loudspeaker"
<wens>
i dont get the noise when i use a normal hard drive though. maybe the SSD draws more power?
<oliv3r>
high pitched noise? me too
<speakman>
morning folks!
<oliv3r>
selfbg: that doesn't sound even near right?
<oliv3r>
for what PLL do you want to use the external 32 kHz clock?
<speakman>
Trying to build 1wire support on sunxi, but kernel build complains about undefined reference to 'axp_gpio_set_value' and a few others. Using sunxi-3.4 branch. Any ideas what's wrong?
<hansg>
n01, maintain as in port to the upstream kernel and maintain it there ?
<oliv3r>
n01: wingrime started it or looked at it, but it looked like a big undertaking :)
<n01>
hansg: yes, that's the idea
<n01>
oliv3r: yep, I know :)
<oliv3r>
hansg: lol i can actually hear changes in frequencies in the highpitched noise
<oliv3r>
like old harddisks do (but very high pitched)
<wens>
oliv3r: ah, yes. A10 and A20 have slightly different clock trees :(
<oliv3r>
hmm, ok then it may be possible
<oliv3r>
:D
<oliv3r>
the axp even makes noise when the battery is charging (and the device is 'off')
<hansg>
n01, ok, note the sunxi driver for the axp209 is a mess, my advise would be to throw it away
<oliv3r>
cb2 makes the same noise, just much much quieter
<hansg>
Most users interested in running upstream kernels are doing so on development boards or topset boxes, so no batteries involved.
<oliv3r>
without battery too i ment
<oliv3r>
without sata, cb2, cb3
<hansg>
So I would start with just supporting the powersupply parts and the power button without worrying about battery management which is the hard part I think
<oliv3r>
the yall have high pitched noises in various levels if you keep your ear next to it
<hansg>
n01, so I suggest you start with my written from scratch axp152 driver, and modify that to work with the axp209 + port it to device tree, see:
<wens>
on the A20, any module using 32khz will use losc
<n01>
hansg: yeah, the idea is to use the mfd framework and irq domains
<wens>
the wifi module on ct needs a 32khz clock from clk_out_a
<oliv3r>
wens: ah ok so it is quite different
<n01>
hansg: I'll look at your driver
<oliv3r>
wens: so that needs to be properly setup too
<oliv3r>
hansg: have you tried sata on a10 yet? :)
<hansg>
n01, note my driver does not use mfd, if you want to go mfd (which probably is best) you can probably still recycle bits of it :)
<wens>
i tried enabling power to wifi/bt. nothing on sdio.
<n01>
hansg: I think to make it mainline-able I have to go with mfd
<hansg>
oliv3r, no I'm trying to do $dayjob stuff atm, but all this sunxi stuff is so distracting (and much more fun)
<wens>
bt seems to require firmware, but don't know where to get it or how to load it :(
<hansg>
n01, yes
<oliv3r>
hansg: tell redhat they should make you work on sunxi for a few weeks ;)
<oliv3r>
wens: can't we extract it from windows driver/Allwinner driver?
<hansg>
oliv3r, I wish :
<hansg>
oliv3r, I wish :) even
<wens>
oliv3r: i'm not sure it's the same blob as wifi
<oliv3r>
i'll sprinkle some more printk's around ahci then and see why it barfs :)
<n01>
hansg: I'll keep you posted :) thanks for the pointer
<oliv3r>
wens: highly likly it's not, it seemed that there where 2 pieces of silicon under the tin
<wens>
oliv3r: you peaked inside? :p
<oliv3r>
wens: it seemed! i'm not sure :p
<oliv3r>
since it's two different product numbers
<wens>
i know. but BCM4329/4330 is actually a WiFi/BT/FM single chip solution
<oliv3r>
hansg: problem for me right now is, my cubieboard1 has issues so it's possible it's completly broken on other bits too, so don't know if it's my board being broken or the driver
<oliv3r>
wens: crap :p
<oliv3r>
wens: no windows driver for the 4330? (assuming that'st he BT part number)
<oliv3r>
wens: then again; make benn get it
<hansg>
oliv3r, as I already said on the mail I should be able to give things a shot tonight
<oliv3r>
hansg: that was last night! :p
<oliv3r>
hansg: i haven't read my mail for today yet :)
<oliv3r>
wens: have you sent an e-mail off to benn yet? I can do it too if you want
<hansg>
Ah, well last night I mailed that fixing wens gigabit issue (hi wens!) took me the entire night, so you're issue got punted to tonight (as in today's evening)
<hansg>
s/you're/your/
<wens>
hansg: thanks :)
<oliv3r>
hansg: sure ino prob, got $work today, and want to cleanup mainline driver today and really start the review process now, as it will be a long one i guess
<wens>
anyone using ct with nfsroot please give gigabit speeds a try
<speakman>
When unchecking the "SUNXI dual USB mode" [something] - will USB be fully disabled or just not being able to do both host and device?
<hansg>
speakman, that looks like a fex file issue, note those warnings are harmless and can be ignored
<wens>
oliv3r: i still have gmac rewrite on my hands, then maybe port sunxi-rfkill to mainline, to use it for controlling the gpios for wifi/bt
jukivil1 has joined #linux-sunxi
<oliv3r>
wens: much todo :p
rah_ has joined #linux-sunxi
arete74_ has joined #linux-sunxi
atsampso1 has joined #linux-sunxi
ynezz_ has joined #linux-sunxi
<wens>
oliv3r: and i wanted to look at usb otg
<wens>
hmm.. high pitch noise when system halted, but not powered off.
<oliv3r>
axp never really shuts down
<oliv3r>
i think you can, but not via the button/shutdown command
<oliv3r>
it tries to charge the battery or something
<oliv3r>
even if its missing :p
<wens>
hope it doesn't blow up...
<oliv3r>
hansg: allwiner,driver =<1> won't work? we really need 3?
<speakman>
hansg: thanks. I disabled the USB OTG and removed APX. I hope that will work too.
<hansg>
oliv3r, <3> is what the fex file for the cubietruck uses
<oliv3r>
ah
piscodig has joined #linux-sunxi
FDCX has quit [*.net *.split]
Nyuutwo has quit [*.net *.split]
rwmjones has quit [*.net *.split]
arete74 has quit [*.net *.split]
ojn has quit [*.net *.split]
atsampson has quit [*.net *.split]
ynezz has quit [*.net *.split]
rah has quit [*.net *.split]
jukivili has quit [*.net *.split]
discopig has quit [*.net *.split]
<hansg>
oliv3r, also 3 is what is used by the sunxi sdc / mmc driver when doing 50 MHz DDR, so it seems reasonable we need this for a Gbit phy too.
ojn_ is now known as ojn
<speakman>
hansg: Hm. Any idea what's the problem with the fex file? I still get some issues..
<oliv3r>
hansg: fex file could in theory be still wrong, tsvestan once said, we want to have the lowest one that works
<hansg>
speakman, what device are you using and can you post the fex file somewhere, also what are your issues other then the warnings ?
piscodig is now known as discopig
<speakman>
hansg: I'm using OLinuXino A10s with Debian SD, no idea which fex is used for script.bin (it was delivered on the SD card). If it's nothing to worry about, that's enough for me. I do not use LCD on this device anyway.
<speakman>
By the way; anyone got 1-wire working on sunxi gpio?
popolon has joined #linux-sunxi
maz_ has quit [Ping timeout: 252 seconds]
<oliv3r>
speakman: someone wrote a driver, so it should work
FDCX has joined #linux-sunxi
<oliv3r>
speakman: someone on the sunxi ML
<speakman>
oliv3r: yep, w1_sunxi driver does load, but w1_gpio won't. I thought w1_gpio was supposed to utilize w1_sunxi, but maybe I'm wrong. I've never used 1-wire on Linux and I don't have any 1-wire devices are atm. Maybe it's all working. ;)
<speakman>
Hm. Maybe it's the other way around; w1_sunxi uses w1_gpio? But it's not loaded. Weird.
<oliv3r>
i'm not sure, i think you only need w1_sunxi
<oliv3r>
i wouldn't be supprised if w1_sunxi is a copy off
<eagles0513875>
thing is its not booting any further it powers of the sdcard and i get no other output
<oliv3r>
see, it's detected fine
<eagles0513875>
yes i do see
<oliv3r>
cna't mount it, but i may not have fat in my kernel
<hansg>
oliv3r, working on sata on sun4i now, "good" news: it fails for me to. Interesting note, it seems were not setting up clock register 1c200c8 at all, which is the sata mod clock register. I've added a hack to set this up, but it does not help
<eagles0513875>
oliv3r: :-/ ok
<oliv3r>
Turl: ^
<eagles0513875>
i recloned buildroot
<eagles0513875>
goign to need to update the sunxi stuff to the latest revision again :(
<eagles0513875>
sigh
<oliv3r>
hansg: i thought initially that sun4i and sun7i are identical driver wise, I didn't spot any differences so far
<oliv3r>
hansg: you home allready?!
<oliv3r>
hansg: well atleast my board isn't broken then
<hansg>
oliv3r, I'm always home (i work from my home). and I've hit a roadblock with $dayjob (waiting on input from colleges on that), so ...
<eagles0513875>
wait if oliv3r i leave all the defaults that are generated with make cubieboard2_defconfig i should have something which works no?
<oliv3r>
hansg: ah, ok; i don't know if I could manage working from home
<oliv3r>
to many distractions etc
<oliv3r>
eagles0513875: possibly
<eagles0513875>
ill see soon
<oliv3r>
eagles0513875: oh i do have fat enabled, but can't mount it?
<oliv3r>
oh no dev entry
<eagles0513875>
O_o
<eagles0513875>
wait what
<eagles0513875>
ya lost me oliv3r
<eagles0513875>
oliv3r: i wonder if i could tell my laptop to boot off the memory card lol
<eagles0513875>
but it probably wont work for my laptop as its setup for the cubieboard2 hardware lol
<eagles0513875>
but that would be a very interesting way to test for sure
<oliv3r>
eagles0513875: if your laptop is 'arm' and runs an allwinner soc, sure
<eagles0513875>
no it doesnt
<eagles0513875>
its intel based
<oliv3r>
won't work :)
<eagles0513875>
a rather nice monster though
<eagles0513875>
i know shame there are no emulators or something of the sort
<oliv3r>
arm emulators exist, allwinner emulator, not yet
<eagles0513875>
ok
<eagles0513875>
man if this project really takes off i think i would consider getting an IP license and developing my own hardware
<eagles0513875>
oliv3r: the kernels usually used are upstream kernel.org kernels correct
<plaes>
eagles0513875: nope
<eagles0513875>
ok
<eagles0513875>
then special sunxi kernels
<eagles0513875>
forked from upstream
<plaes>
allwinner provides their own SDK which is based on kernel-3.4
<eagles0513875>
ahh ok that could be why it wasnt working
<eagles0513875>
in build root i bumped it to the 3.12 kernel
<oliv3r>
eagles0513875: sunxi-3.4 isn't; well it's upstream 3.4 with sunxi patches ontop
<eagles0513875>
so i cant use anything newer then 3.4
<oliv3r>
plaes: but only very recently, it was 3.0 and 3.3 for ages
<oliv3r>
eagles0513875: not really; there's an experimenal 3.10 that has only very limited number of drivers
<eagles0513875>
got it
* plaes
started looking into sunxi recently :)
<eagles0513875>
:)
<oliv3r>
plaes: i notice :p what are your interests?
<eagles0513875>
i really would like to eventually get on the bandwagon and help out with this project :)
<eagles0513875>
but for now i really need to get my business off the ground.
<plaes>
oliv3r: I got a Gemei G9 tablet from a friend..
<eagles0513875>
time for me to dress and get ready to head to a course hopefully i can try this out soon before i go
<oliv3r>
eagles0513875: :)
<oliv3r>
plaes: ah yeah tablets make it all start :)
<plaes>
so I first wanted to see whether it's possible to start playing with lima, but libv sent me here :)
<oliv3r>
plaes: ah, yeah lima is very experimental; it's not ready for 'users'
<eagles0513875>
out of curiosity if i have an old htc how can i put lets say a custom os on it besides android?
<plaes>
so I documented the tablet, added external uart and booted self-built sunxi-3.4 kernel from sdcard
<eagles0513875>
humm :)
<eagles0513875>
plaes: how do you compile all this stuff for the device?
<eagles0513875>
im using buildroot on this project but would like to potentially do something with my old phone
<plaes>
I just built kernel and used rootfs from linaro
<oliv3r>
gah, wills wang 3.4 patches don't seem to work either
<oliv3r>
oh maybe gpio bug thing
<eagles0513875>
anyway im going to have to stop my build from now
<eagles0513875>
and try again tomorrow
eagles0513875_ has joined #linux-sunxi
<eagles0513875>
will keep you guys posted
<eagles0513875>
hey my znc is bk
<eagles0513875>
haha
<oliv3r>
eagles0513875: good luck!
<eagles0513875>
thanks
<eagles0513875>
viva php course lol
<eagles0513875>
last day
<plaes>
I would like to move the "WIP and left to be done stuff" to the top of the page of the
<plaes>
...of the Linux_mainlining_effort wiki page
<oliv3r>
depends on how you interpret it
<plaes>
otherwise you have to scroll to the bottom :S
<oliv3r>
if you look at 'what can I do' then yeah ,if you want to know at 'what has been done' you care less?
wolfy has quit [Quit: Paradoxul homosexualilor este ca, desi nu reusesc sa se reproduca, sunt in fiecare an din ce in ce mai multi. (Tristan Bernard)]
<plaes>
you usually want the latest news first.. don't you? :)
<plaes>
btw, can I move the MMC driver to "WIP -> major drivers"?
<plaes>
I read that hans got it working
deasy has quit [Remote host closed the connection]
<hansg>
oliv3r, I've working sata on sun4i, the fix is ridiculously easy, the interrupts field in the dtb is wrong, for sun4i there is only cell in an interrupt specification, not 3, sigh. IOW this:
<hansg>
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
<hansg>
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
<hansg>
sata: ahci@01c18000 {
<hansg>
compatible = "allwinner,sun4i-a10-ahci";
<hansg>
@@ -309,7 +309,7 @@
<hansg>
reg = <0x01c18000 0x1000>;
<hansg>
- interrupts = <0 56 1>;
<hansg>
+ interrupts = <56>;
<hansg>
clocks = <&ahb_gates 25>, <&pll6 0>;
<hansg>
clock-names = "ahb_sata", "pll6_sata";
<hansg>
status = "disabled";
<hansg>
Fixes it
HeHoPMaJIeH has quit [Remote host closed the connection]
<hansg>
oliv3r, btw when I say ridiculously easy I don't mean that in a bad way towards you, it is something easy to miss, it took me long enough to figure out ...
ZetaNeta has quit [Ping timeout: 246 seconds]
<eagles0513875_>
hey guys im back again
<eagles0513875_>
oliv3r: :)
<eagles0513875_>
hi all how easy is it to contribute to the project in terms of development?
<n01>
eagles0513875_: you cannot use the recipes you have in buildroot with the mainline kernel
<plaes>
does sunxi stuff support CONFIG_EARLY_PRINTK ?
Md has joined #linux-sunxi
<mnemoc>
sure
<[7]>
hm, does someone have a clue how this resistive touch panel controller works?
<mnemoc>
iirc the driver is called sun4i-ts
<[7]>
it's registering a release like a drag into the top left corner like 1 of 3 times
<[7]>
and all the filtering etc. for that seems to be done in hardware from what I can tell from that driver source
<plaes>
o/ finally found it
<[7]>
i.e. most fex configurables are passed straight into some registers and thus aren't documented anywhere... or are there docs for the controller's registers?
<mnemoc>
if it's not in the user manuals, nope. so you'll have to document it in the wiki based on the source of the driver and experimentation
<[7]>
:/
<mnemoc>
most of what's on the wiki comes from analysing the sources and REing...