rz2k changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi | FOSDEM talks - http://dl.linux-sunxi.org/users/nove/sunxi_at_fosdem2014/
Birdmanravo has quit [Quit: Leaving]
nicksydney_ has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi
Skaag has quit [Ping timeout: 240 seconds]
souther has quit [Remote host closed the connection]
souther has joined #linux-sunxi
GLN has quit [Quit: Leaving]
geecko has quit [Ping timeout: 246 seconds]
deffrag has quit [Ping timeout: 265 seconds]
devgiant_ has quit [Quit: Leaving]
deffrag has joined #linux-sunxi
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi
<mrnuke> The wiki taks aboyt "Merged into 3.15". How can that be since 3.14 is not even released?
<Turl> mrnuke: y'know, when 3.14 the flood gates open and stuff pours into 3.15
<Turl> when 3.14 is released*
<Turl> I'm hungry, sorry :P
<Turl> mrnuke: we're nearing the 3.14 release and stuff is already pretty much queued on maintainer trees
<mrnuke> Turl: from latest empirical data, there does not seem to be significant nutritional value in eating letters
<Turl> # uptime 07:58:08 up 7:57, load average: 0.00, 0.01, 0.05
<Turl> almost 8h of mainline uptime :P
hramrach has quit [Ping timeout: 265 seconds]
hramrach has joined #linux-sunxi
rz2k has joined #linux-sunxi
Skaag has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<wens> Turl: if you send it in the next round, you'll break the old DTs again?
wingrime has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 240 seconds]
Gerwin_J has joined #linux-sunxi
<Turl> wens: if we keep the dependency it should be relatively harmless
<Turl> wens: ask me about it again in ~8h, I'll sleep on it :)
<Turl> good night :)
<wens> :)
Skaag_ has joined #linux-sunxi
Skaag has quit [Ping timeout: 240 seconds]
<wens> uart log from A23 boot, taken with microsd breakout: https://gist.github.com/wens/9656690
<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.
<wens> you can document wifi here: http://linux-sunxi.org/Wifi
<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
<ccaione> s/elce/elc/
<mripard> wens: oh, ok.
<mripard> ccaione: yep
<mripard> I even have a talk there
<mripard> sched
<mripard> damn
* ccaione is thinking about prostitution to afford ELC
kivutar has quit [Quit: Ex-Chat]
wingrime has quit [Quit: Bye]
notmart has joined #linux-sunxi
shineworld has joined #linux-sunxi
grafgustav has joined #linux-sunxi
rzrblade has joined #linux-sunxi
<rzrblade> hello guys may i ask
<rzrblade> if i develop something with one of the olinuxino boards
<rzrblade> what are the steps i have to follow to patent it and also be legal to sell it ?
<rellla> do we have A31 mixer processor registers?
<rellla> *documentation
<plaes> rzrblade: patent?
<codekipper> hi, can someone create a MK808C page for me on the wiki?. Ta in advance
<plaes> here you go: http://linux-sunxi.org/MK808C
<codekipper> Ignore my previous post
<plaes> o_O?
<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> inngi2014 has failed to make a single positive change so far
<libv> his previous changes were reintroducing translations
<libv> you do not need to install libdri2-dev if you are building libdri2, that makes no sense
<libv> if you had the ability to install libdri2-dev, then you would have no need to build libdri2
shineworld has quit [Remote host closed the connection]
geecko has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
<libv> codekipper: can you spend some time and improve that k70e page?
<libv> codekipper: and perhaps send in the .fex and u-boot changes?
kuldeepdhaka has quit [Max SendQ exceeded]
rzrblade has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
deffrag has quit [Ping timeout: 241 seconds]
deffrag has joined #linux-sunxi
<libv> err, code-ninja was the one with the k70e
diego_r has joined #linux-sunxi
<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]
<diego_r> congrats guys!
<buZz> ?
<buZz> whats the great part? the post of december?
<diego_r> it's been accepted
<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
Net147 has quit [Quit: Want to be different? Try HydraIRC -> http://www.hydrairc.com <-]
<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
<wens> these two
kivutar has joined #linux-sunxi
<mripard> that will be in 3.16.
<Turl> ok
razlept has quit [Ping timeout: 240 seconds]
bbrezillon has quit [Quit: WeeChat 0.3.7]
razlept has joined #linux-sunxi
protoCall7 has joined #linux-sunxi
Fusing has joined #linux-sunxi
protoCall7_ has joined #linux-sunxi
protoCall7_ has quit [Read error: Connection reset by peer]
protoCall7_ has joined #linux-sunxi
protoCall7_ has quit [Read error: Connection reset by peer]
protoCall7 has quit [Ping timeout: 264 seconds]
t3st3r has joined #linux-sunxi
netchip is now known as netchip|dinner
popolon has quit [Quit: Quitte]
kivutar has quit [Quit: Ex-Chat]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
t3st3r has quit [Ping timeout: 265 seconds]
akaizen has joined #linux-sunxi
bonbons has joined #linux-sunxi
<mrnuke> BTW, has anyone tried to reprogram the BROM via JTAG ?
akaizen has quit [Ping timeout: 265 seconds]
bertrik has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
leviathanch has quit [Ping timeout: 240 seconds]
t3st3r has joined #linux-sunxi
akaizen has joined #linux-sunxi
t3st3r has quit [Ping timeout: 265 seconds]
t3st3r has joined #linux-sunxi
mrnuke` has joined #linux-sunxi
netchip|dinner is now known as netchip
mrnuke has quit [Ping timeout: 240 seconds]
Skaag has joined #linux-sunxi
razlept has quit [Ping timeout: 240 seconds]
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
Jachy has quit [Ping timeout: 240 seconds]
razlept has joined #linux-sunxi
diego_r has quit [Quit: Konversation terminated!]
Jachy has joined #linux-sunxi
rz2k has joined #linux-sunxi
kokoboko has quit [Ping timeout: 245 seconds]
akaizen has quit [Ping timeout: 240 seconds]
enrico_ has quit [Quit: Bye]
mrnuke` is now known as mrnuke
Dodger78 has joined #linux-sunxi
<Dodger78> hi , anyone got a clue why proc/cpuinfo shows only one cpu on cubietruck with 3.14rc6 and smp enabled ?
<rm> check what's your CPU governor
<rm> I heard the 2nd core may only [permanently] come online when you select "peformance"
<Dodger78> ah ok, in the kernel ok thanks alot for the hint
<Turl> Dodger78: you need an uboot with PSCI support
<Dodger78> does linux turn it on when needed with "no performance" ? i found that its offline during kernel compile
<Turl> the governor shouldn't matter
geecko has quit [Quit: bye bye]
<Turl> both should be always on
geecko has joined #linux-sunxi
<Turl> Dodger78: did you build uboot from https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-next ?
<Dodger78> no, sunxi-devel , hansg sources
<Turl> Dodger78: that's linux, I'm talking uboot
<Turl> you need that special uboot for the second core on A20 to work on sunxi-devel linux
<razlept> hi Turl
<Dodger78> ooook , i got a uboot running , from cubieez 1.0, which works with 2 cores ... should be ok or not ?
<Turl> Dodger78: no
<Turl> hi razlept
<Dodger78> oh ok . damn thanks for the hint.
akaizen has joined #linux-sunxi
<Turl> Dodger78: apart from the different uboot, make sure you have SMP and ARM_PSCI enabled on your kernel config
<Dodger78> another issue i got is , i cant control cpufreq via /sys , sys in general is avail but not the freq things
<Dodger78> SMP surely is , i check the other point
gzamboni has joined #linux-sunxi
<Turl> Dodger78: we don't have a cpufreq on mainline yet, so you won't be able to do that
<Turl> a cpufreq driver*
<Dodger78> ahh ok, but im on hansg (jwr) branch , is that what you call mainline ? or you mean vanilla
<Turl> in either of them
<Dodger78> ok so my issue with the missing core is surely uboot yes ? even so i got 2 cores in 3.4.79 from cubieez, its a different story on 3.14 ?
<Turl> Dodger78: yes
<Dodger78> thank you for the info you helped me alot
<Turl> Dodger78: 3.4 "wakes" the cores itself, 3.14 asks PSCI to do it, so you need an uboot implementing it
<Turl> you're welcome
<Dodger78> im hunting the gbit problem on cubietruck, but 3,14 doesnt seem to be stable also
<Dodger78> 100mbit is ok, gbit fails after some time on cubietruck
Skaag_ has joined #linux-sunxi
<wens> Dodger78: how does it fail? no response? were you idling when it failed?
Skaag has quit [Ping timeout: 264 seconds]
geecko has quit [Quit: bye bye]
geecko has joined #linux-sunxi
rz2k has quit []
_massi_ has quit [Remote host closed the connection]
razlept has quit [Ping timeout: 246 seconds]
razlept has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen_ has joined #linux-sunxi
akaizen_ has quit [Remote host closed the connection]
t3st3r has quit [Ping timeout: 265 seconds]
t3st3r has joined #linux-sunxi
woprr has quit [Quit: Ex-Chat]
notmart has quit [Quit: notmart terminated!]
<Dodger78> the console get s stuck during ssh f.e.
woprr has joined #linux-sunxi
<Dodger78> sometimes im running top or make menuconfig or things like that , then ssh console stucks
<Dodger78> this doesnt happen at 100M
<Dodger78> this happenes at cubieez 1.0 ( 3.4.79 ) or 3.14rc6 also
<Dodger78> heard there was issue with the drive strengh of the pins, so i gave 3.14 a shot to get latest patches
akaizen has joined #linux-sunxi
akaizen has quit [Client Quit]
<Dodger78> @Turl, i upgraded uboot to latest , still only got 1 core
<Turl> Dodger78: did you make sure to have ARM_PSCI enabled on kernel config?
<Dodger78> yes, CONFIG_ARM_PSCI
<Dodger78> i turned on virtualization supp for KVM , is this a problem ?
<Turl> dunno, shouldn't be
<Turl> Dodger78: can you paste the dmesg output?
<Dodger78> yes on sec
geecko has quit [Ping timeout: 245 seconds]
<Dodger78> hmmmm this looks wrong : [ 0.006131] /cpus/cpu@0 missing clock-frequency property
<Dodger78> [ 0.006151] /cpus/cpu@1 missing clock-frequency property
<Dodger78> [ 0.006163] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
<Dodger78> [ 0.006188] Setting up static identity map for 0x405bf6e0 - 0x405bf738
<Dodger78> [ 0.007344] CPU1: failed to boot: -38
<Dodger78> [ 0.007379] Brought up 1 CPUs
<Turl> Dodger78: are you 200% sure you got the right uboot? can you paste the uboot output?
<Dodger78> i just compiled it myself from git
<Dodger78> make Cubietruck isnt complicated ... the archive was ....
<Turl> Dodger78: from the sunxi-test branch on hansg's uboot repo?
<Dodger78> thats wrong or not ?
<Turl> Dodger78: the instructions are ok, but you need to use sunxi-test branch from hansg's uboot repo. That's the only branch with PSCI support
razlept has quit [Ping timeout: 265 seconds]
<Dodger78> ah ok. can you point me to the git ?
razlept has joined #linux-sunxi
<razlept> is power management working on A13 boards ? i enable kernel options but have no /sys/devices/.../cpufreq/
<Turl> razlept: on 3.4, it should be
<Dodger78> this command ? git clone https://github.com/jwrdegoede/u-boot-sunxi.git -b sunxi-test
<razlept> Turl i am on 3.4.79-00001-g8ea347b
<Turl> razlept: look in /sys/devices/system/cpu/
pwhalen has quit [Ping timeout: 240 seconds]
<razlept> If you tell that it should work.. a start thinking that something is wrong with my kernel
<Turl> razlept: make sure you have CPU_FREQ enabled, as well as some governors
<Dodger78> congratulations , that was it
<Dodger78> thanks Turl
<Dodger78> will cpufreq support be added to 3.14 for arm ?
<Dodger78> or jwr / hansg s branch
<Turl> Dodger78: eventually, I suppose
<Turl> I have a hacked up together driver that works on mainline
<Turl> based on the 3.4 code, but it only works for sun4/5i
<Dodger78> but i still wonder about the gigabit problems that cubietruck suffers from
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
geecko has joined #linux-sunxi
<Turl> Dodger78: have you tried with another cable?
geecko has quit [Remote host closed the connection]
<Turl> my ethernet was all funny some time ago, and it turned out to be the cable
geecko has joined #linux-sunxi
<razlept> Turl: yes and also have selected the ondemand governor
<Dodger78> i can exchange the cable yes, but normally this cable is ok on gbit
<Dodger78> currently i switched to performance , problem is still there
<Dodger78> is the govenour a problem ?
<Dodger78> i think cpufreq isnt working at all in 3.14 ?
<Turl> Dodger78: indeed, there is no cpufreq driver on 3.14
<Turl> Dodger78: razlept is using 3.4
<Dodger78> hehe ok got that wrong
<Dodger78> if anyone is interested, i can provide a cubietruck config for 3.14rc6 , bootable from mmc , fat/ext4/kvm
<Dodger78> no clue about video/sound , im running cubie as server
<Turl> Dodger78: they're not supported on that kernel version yet
<Dodger78> sound also not ? video is clear cause of the mali closed souirce crap
<Turl> nope; there's a couple of things that need to be done first to get audio and video working
<Turl> display management is unrelated to mali btw
<Dodger78> ok , mali is 3d accel only ?
<Turl> yes
<razlept> Turl: its working now
rings_IIV has joined #linux-sunxi
geecko has quit [Ping timeout: 240 seconds]
<razlept> i have disabled the debug power supply kernel driver. but i have printk after 1% level drop
t3st3r has quit [Ping timeout: 265 seconds]
<razlept> each time
<razlept> hm.. just got a kernel panic
<razlept> Unable to handle kernel NULL pointer dereference at virtual address 00000000
<razlept> just in case anyone interested
pwhalen has quit [Ping timeout: 265 seconds]
<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> reference chat : https://groups.google.com/forum/?_escaped_fragment_=topic/linux-sunxi/QTOAvp7_H_U#!topic/linux-sunxi/QTOAvp7_H_U
sehraf has joined #linux-sunxi
<Dodger78> look for allwinner,drive
nabblet has quit [Quit: leaving]
pwhalen has joined #linux-sunxi
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
<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: paste your current uEnv.txt
razlept has quit [Ping timeout: 245 seconds]
<F1skr> Turl: right now it looks like this: http://sprunge.us/BSZW but that is just based on information I found here: https://groups.google.com/forum/#!topic/linux-sunxi/QTOAvp7_H_U
razlept has joined #linux-sunxi
<Turl> F1skr: that'd be suitable for an boot.scr but not an uEnv.txt
<Turl> F1skr: try http://sprunge.us/ZdUc
kuldeepdhaka has quit [Quit: Leaving]
<Turl> F1skr: please document it here when you get it working :) http://linux-sunxi.org/Possible_setups_for_hacking_on_mainline
<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 :)
<razlept> i get this http://pastebin.com/j6rgvYEh when loading gpio any idea ?
<Turl> razlept: you have not configured the gpios you will use on script.bin
* Turl bbl
razlept has quit [Ping timeout: 245 seconds]
deffrag has joined #linux-sunxi
deffrag has quit [Changing host]
deffrag has joined #linux-sunxi
razlept has joined #linux-sunxi
razlept has quit [Client Quit]
razlept has joined #linux-sunxi
<razlept> anyone ?
<hramrach> sunxi_gpio_probe can't find script.bin '[gpio_para]' 'gpio_used'
<hramrach> describes those
<razlept> sure..
eagles0513875_ has quit [Quit: ZNC @ TrekWeb - https://trekweb.org]
<razlept> also there is no gpio_ugly option in my kernel
<hramrach> you do not need that
<razlept> and i have allready settup my script.fex and put it at /boot/linux/script.bin
<razlept> at /boot/script.bin sorry
<hramrach> and you still get that error?
FDCX has quit [Remote host closed the connection]
<hramrach> perhaps your script.bin does not reside in /boot or you forgot to mount /boot
<hramrach> or there is a typo
FDCX has joined #linux-sunxi
<hramrach> razlept: what are you running?
<razlept> distro ?
<razlept> debian
geecko has joined #linux-sunxi
<hramrach> more like what image
<hramrach> maybe somebody would know how the bootloader is configured on whatever you have
<hramrach> I run Debian but I bould my own images so I do know where my files are somehow by default
<hramrach> *build
<razlept> i build my own too
<hramrach> then check you updated script.bin correctly
<hramrach> because that error means that your script.bin does not have gpio information
<razlept> gpio_used = 1 gpio_num = 2
<razlept> gpio_pin_1 = port:PB03<1><0><default><default>
<razlept> gpio_pin_2 = port:PB04<1><0><default><default>
<hramrach> you need the section header as well
<razlept> [gpio_para]
<hramrach> and the line break
<hramrach> there are pastebins, you know
<razlept> sorry
kivutar has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
<hramrach> decompile back your script.bin to make sure it really has that
<hramrach> and make sure the new script.bin is where the bootloader loads it from
<razlept> hramrach: you where right.. somehow it was wrong script.bin uploaded
<razlept> now it works
<hramrach> cool
<razlept> how can i access the pin state ? cause there is no /sys/devices/virtual/misc/sun???
<razlept> :) echo 1 > export
<hramrach> hmm, not sure. I don't have that driver configured
<razlept> i am asking.. and replying to myself :) i need a break
<razlept> the direction of the pin is always in .. no matter what i put on script.bin
razlept has quit [Ping timeout: 246 seconds]
razlept has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
razlept has quit [Client Quit]
sehraf has quit [Read error: Connection reset by peer]
shineworld has quit [Ping timeout: 240 seconds]
tonikasch has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 240 seconds]
eagles0513875 has quit [Ping timeout: 240 seconds]
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
akaizen has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
kivutar has quit [Quit: Ex-Chat]
techn_ has quit [Ping timeout: 240 seconds]
maksimlin has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
leviathanch has joined #linux-sunxi