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/
bertrik has quit [Remote host closed the connection]
souther has joined #linux-sunxi
FDCX has quit [Ping timeout: 264 seconds]
souther has quit [Read error: Connection reset by peer]
souther has joined #linux-sunxi
FDCX has joined #linux-sunxi
book` has quit [Ping timeout: 264 seconds]
book` has joined #linux-sunxi
maksimlin has joined #linux-sunxi
codyps has quit [Ping timeout: 264 seconds]
bonbons has quit [Quit: Leaving]
nicksydney has quit [Remote host closed the connection]
codyps has joined #linux-sunxi
awafaa has quit [Ping timeout: 246 seconds]
wingrime1 has joined #linux-sunxi
deasy is now known as doudou
awafaa_ has joined #linux-sunxi
wingrime has quit [Ping timeout: 255 seconds]
deffrag has quit [Ping timeout: 255 seconds]
FreezingCold has quit [Ping timeout: 246 seconds]
specing has quit [Ping timeout: 264 seconds]
deffrag has joined #linux-sunxi
Skaag has joined #linux-sunxi
<wens> Turl: good news, tracking says the new tablet has arrived
akaizen has joined #linux-sunxi
wingrime has joined #linux-sunxi
wingrime1 has quit [Ping timeout: 264 seconds]
iPolto has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Ping timeout: 264 seconds]
wingrime1 has quit [Ping timeout: 240 seconds]
specing has joined #linux-sunxi
hipboi has joined #linux-sunxi
wingrime has joined #linux-sunxi
popolon has quit [Quit: Quitte]
wingrime has quit [Ping timeout: 240 seconds]
wingrime has joined #linux-sunxi
dlan has quit [Ping timeout: 240 seconds]
<wens> Turl: and they got it right!
dlan has joined #linux-sunxi
<Turl> wens: yay!
<Turl> mnemoc: ping
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<wens> it's a q8h-v5, libv's is q8h-v2 based on his pictures
<wens> noticable change is the wifi chipset
<Turl> wens: you got a bcm?
sunny723 has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
<sunny723> does xrandr works on sunxi linux platform ?
wingrime has quit [Ping timeout: 264 seconds]
wingrime1 has quit [Ping timeout: 264 seconds]
wingrime has joined #linux-sunxi
TheSeven has quit [Read error: Connection reset by peer]
<wens> Turl: I got a ESP8089, from some Chinese fab
<wens> doubt we have anything on it...
earny has quit [Read error: Connection reset by peer]
earny has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
TheSeven has joined #linux-sunxi
<wingrime> ping
<wingrime> Turl: ping
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
akaizen has joined #linux-sunxi
<libv> wens: any noticable changes in the .fex?
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<libv> deutsche bahn f-ed up badly, but i did get some (rgb) lcd stuff going on a10. Todo: .fex parsing and pwm.
<wens> I haven't decoded it yet
<wens> a10-meminfo-static gives out mostly 0 values :(
<libv> no rush, it seems that we are currently the only two who have done anything on this hw so far :)
<libv> hrm
<wens> I'm still waiting for my micro-sd uart breakout pad to arrive
akaizen has quit [Read error: Connection reset by peer]
<libv> did you get adb access?
<wens> yeah, it's straight forward, and has root access
<libv> before running the cydia impactor?
<libv> aha
<libv> so that info is bogus
<libv> cool, tossing it out.
akaizen has joined #linux-sunxi
<wens> has busybox, but not used by default I think
<libv> where did you buy yours btw, and how much did you pay?
<libv> the 60EUR thing is probably quite untrue as i bought it through amazon back in the first week of december
<libv> 40EUR seems more like it these days
<wens> I got mine on Taiwan's ebay-like site, but it looks shipped from China
<libv> price in usd or eur?
<wens> 1450 in NTD, that's roughly 35 EUR, shipping included
<wens> this was the cheapest one I found
<libv> nice, so the aliexpress ones are not far off
<libv> i'll stick with 40eur so people are happy with 35
<wens> shipping across the Taiwan straight is cheaper I guess
<libv> we have docs, uboot source, and kernel source, right?
<libv> which wifi is it btw?
<wens> very unknown
<libv> urgh, so probably no driver...
<wens> I haven't seen any u-boot source yet
eagles0513875_ has joined #linux-sunxi
<libv> "No code U-Boot has been made available, but is promised to be delivered somewhere in the 2nd week of March 2014."
<ganbold> wens: which tablet costs 35EUR?
<wens> ganbold: A23 Ippo Q8H
<libv> ganbold: get one now and start hardcore hacking
iPolto has quit [Quit: Computer has gone to sleep.]
<libv> pretty much everything needs to be done for it still
<wens> libv: you said the uart pads are obvious, the four pads next to the SoC?
<libv> err...
<libv> 2 pads to the right of the soc
<libv> does your board look different?
hipboi has quit [Ping timeout: 240 seconds]
<libv> if so, picture!
<libv> 2 pads to the upper right corner of the soc
doudou has quit [Quit: Nom d'un quark, c'est Edmonton !]
<libv> the 4 pad thing is for some coil
<wens> oh I see them now
<ganbold> seems cool cheap tablet
<libv> yeah, but everything still needs to be done for this chip
<libv> but at least it has mali
<wens> my board is slightly different, some of the passive components are rearranged
<libv> and the soc should clock slightly higher than the a20
<wens> Also the back has 3 pad groups
<libv> wens: these two pads are way too obvious to be wrong
<libv> i haven't tested them though, as i haven't exchanged script.bin yet
<wens> np, I don't have any spare UARTs ATM
<libv> i also didn't try fel mode, so i didn't really try anything
<wens> this kernel is really noisy
<Turl> wingrime: pong
<libv> yay
<libv> a23 user manual explains some of the lvds encoder regs
akaizen has quit [Remote host closed the connection]
<libv> it seems more informative than previous manuals
kz1 has quit [Ping timeout: 240 seconds]
kz1 has joined #linux-sunxi
<libv> ooh, write back controller is explained, which will come in handy for widi/miracast/whateveritiscalledtoday
<wens> going to redo my pictures
<libv> oh, right, i should dig out my outside pictures...
<libv> but not today, so feel free to beat me to it
<ganbold> cheap-android-tablets.net has listed Ippo Q8H as 39.77$
<ganbold> but in reality it seems it is 54.71$ :)
kuldeepdhaka has quit [Ping timeout: 252 seconds]
<wens> you just have to dig around for the cheap ones
akaizen has joined #linux-sunxi
<ganbold> I will probably wait :)
<wingrime> Turl: can you install irssi
sunny723 has left #linux-sunxi ["ERC Version 5.3 (IRC client for Emacs)"]
hipboi has joined #linux-sunxi
bennnnn has joined #linux-sunxi
<bennnnn> Do we want a23 dev board ?
<ganbold> bennnnn: hi, did you receive my email about A80?
<bennnnn> yup, but I think A80 will wait for another couple of month
geecko has joined #linux-sunxi
<ganbold> I see, so maybe Q3 or Q4 this year
<bennnnn> Q3, I think
<ganbold> ok, cool, will wait
nicksydney has joined #linux-sunxi
<bennnnn> I am now helping a custom to run linux on a23
<bennnnn> I think I can do something for a23 platform
<ganbold> dev board you mean?
<bennnnn> yup. But a23 have very limited functionality. I am goting to make a dev board on a23 with arduino integrate ? any suggestion ?:D
<ganbold> with some MCU ? like cortex-mX ?
<wingrime> bennnnn: a80 board will be more intersted
<ganbold> right
<bennnnn> we will have a80 board :)
<wingrime> bennnnn: I have enought a20 hw also have( a13 and a10)
<Turl> wingrime: done
<ganbold> people are concerning about powervr, but for me it doesn't matter, since I will try to run FreeBSD on it :)
<wingrime> Turl: thanks
kuldeepdhaka has joined #linux-sunxi
<wingrime> ganbold: thats a good reason for new RE project
<bennnnn> a23 will be very very cheap soon. a80 will be expensive at start :)
<wens> bennnnn: can you have all power going through PMIC first, then if necessary through regulators to get 5V
<wens> bennnnn: the PMIC has proper current limiting feature for OTG
<wingrime> bennnnn: recent time I not see anything with aw socs on local market
<Turl> bennnnn: cool :D
<wingrime> bennnnn: mostly rockchip
<Turl> bennnnn: how does A23 compare on price with A20/A10?
kuldeepdhaka has quit [Read error: Connection reset by peer]
<wens> libv: I have the fex file. uart0 is muxed on sd breakout
kuldeepdhaka has joined #linux-sunxi
<bennnnn> Turl: I think will be less than 3usd for a23
<ganbold> bennnnn: check this one http://store.atmel.com/PartDetail.aspx?q=p:10500374#tc:description
<wens> bennnnn: BTW, forgot to update you, full GMAC support will be in 3.15, thanks for the hardware support :)
<ganbold> bennnnn: it seems it can use arduino R3 shields
<bennnnn> wens: nice for your work :)
<ganbold> bennnnn: plus it has 2 NIC, 1 gigabit and 1 10/100
<Turl> bennnnn: that's pretty cheap :)
<bennnnn> ganbold: looks nice. http://store.atmel.com/PartDetail.aspx?q=p:10500374#tc:description
<wens> ganbold: in theory, A20 could do that as well, just nobody did it
<ganbold> right
<ganbold> if at least documentation was good
<Turl> ganbold: the user manuals seem to be improving with each new SoC
<ganbold> like now still no CAN related doc iirc
<bennnnn> a80 will have more binary blobs :( gmac(but same with a20), video, gpu, nand
<ganbold> Turl: wow, nice
<Turl> bennnnn: nand? :|
<Turl> bennnnn: for previous SoC they released source on request I think
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<bennnnn> Turl: I don't like nand :)
<Turl> bennnnn: did you make CT with eMMC / tSD?
<ganbold> bennnnn: so a23 dev board can have such features like this Atmel Xplained board, of course if it is possible
<ganbold> bennnnn: so when you think it will be available?
eagles0513875_ has quit [Ping timeout: 246 seconds]
<bennnnn> Turl: CT can support tSD directly. I've tested it. And I have not test eMMC
<bennnnn> ganbold: I am thinking how the board should be. If we have decided to make it, it will be very soon
<ganbold> cool
apo has quit [Ping timeout: 264 seconds]
* ganbold thinks maybe he can get CT to port gmac driver to FreeBSD
<Turl> bennnnn: can you fix uart vampire leak on it? :p
<ganbold> Turl: so does linux-sunxi has driver for this CAN controller?
* ganbold thinks or maybe wait a23 or a80 boards
<Turl> ganbold: I don't think so; probably neither does allwinner
<wens> ganbold: a23 doesn't have ethernet
<ganbold> ah, I see
<Turl> it's like an A13
bennnnn has quit [Read error: No route to host]
<ganbold> yeah, seems so
<ganbold> so better wait a80 then
<ganbold> or get CT
bennn has joined #linux-sunxi
<wingrime> Turl: together with leak , CT have bad placement of wifi IC , that too close with VGA connector, VGA can have noice on some resolution when wifi working
<ganbold> bennn: so count me the one who can try freebsd on a80 board when it is available :)
<bennn> ganbold: got it :)
<Turl> wingrime: yes, I saw note on wiki
<bennn> wingrime: think for your report :)
<wingrime> bennn: please consider it on next revisions)
<Turl> wingrime: irssi ok?
<wingrime> Turl: whait a sec
JohnDoe_71Rus has joined #linux-sunxi
apo has joined #linux-sunxi
<bennn> ssvb: does xrandr work on linux-sunxi platform ?
<wingrime> Turl: yes, irssi starts , but I have confiugre it
<wens> bennn: maybe release some early design schematics for us to check out
akaizen has quit [Remote host closed the connection]
<bennn> wens: good suggestion
joedj has quit [Ping timeout: 265 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
<Turl> bennn: I don't think it is supported, but don't take my word for it
<mrnuke> bennn: also, credit card and bank account information would be a nice thing to release
<Turl> bennn: sunny723 is from cubietech? :)
<bennn> how I can switch VGA and HDMI for X on the fly (linux-sunxi platfrom)?
<bennn> Turl: yes
<Turl> bennn: made same question today checking the logs for xrandr :)
<bennn> Turl: we have college students :D
<bennn> Turl: yes, I ask him to find out a solution
<Turl> bennn: you can configure screen mode via script.bin or kernel cmdline
<Turl> bennn: I think there is also tool to set fb resolution (fbset or something)
<wens> libv: I will post my fex file, but you should do yours, too, then we can see if anything changed
joedj has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 240 seconds]
<bennn> Turl: with script.bin, we cannot change the display mode on the fly
<bennn> Turl: the same to change the resolution
<bennn> Turl: you know, CT have HDMI and VGA port. but many people don't have HDMI
<bennn> Turl: to build to image is not convenient
<bennn> 2 images
<Turl> bennn: yeah :(
<bennn> Turl: a simple way is to add a hdmi hotplug event trigger at driver code. udevd receive the event, make a switch by telling driver and killing X server
<bennn> Turl: It works! but I think it's a bad solution
<bennn> Turl: android can switch VGA and HDMI smoothly
<Turl> bennn: maybe A10 display tool gives ideas
<bennn> Turl: it need to restart X server
<bennn> Turl: asking user to re-login
<Turl> bennn: even if you keep same resolution?
<bennn> same resolution is ok
<Turl> bennn: you should talk with ssvb and libv :)
<Turl> bennn: libv is writing KMS driver for sunxi to replace disp
<bennn> Turl: great information!
<wens> Turl: did you see Olof's mail on the rename series?
<ojn> wens: linux-next isn't broken though, so I suspect we have a missing dependency
<ojn> oh wait, -next is in bad shape too
<ojn> hm
<wens> ojn: oh, sorry didn't notice you were here
<ojn> I need to pay closer attention
<ojn> wens: no worries. people don't connect my nick to me always, and that's fine. :-)
<Turl> ojn: I think we discussed this already
* Turl hunts for convo
<ojn> Note that I might be on this channel, but I rarely monitor discussions on it. :-)
<ojn> anyway, i'm calling it a day here. please follow up over email
<Turl> ojn: check if "arm-soc boot: 37 pass, 6 fail (v3.14-rc4-695-g7c79649)" is the same issue please
<ojn> ah yeah, i even commented on that thread
<ojn> ok, we need to merge in the corresponding clk changes then
<wingrime> oliv3r: ping
<Turl> ojn: I'll try to send the pull tomorrow night at the latest if you need it soon
<ojn> Turl: yeah, things are closing down for the merge window, it's a bad idea to have all of sunxi broken in -next. it means we won't find any other, new, regressions that might be added from other trees and so on
<Turl> ojn: yeah
<Turl> ojn: I don't expect any other massive compatible rename on the horizon so we should be good to go
<ojn> Turl: good. we usually don't like them much. :)
<Turl> and we'll take more care with the dependencies in the future
<Turl> ojn: :)
<Turl> ok, time to get some sleep. Good night guys :)
<ssvb> bennn: xrandr does not work at the moment, that's going to be provided by the kms driver later
<ssvb> bennn: you can also check https://github.com/hglm/a10disp
geecko has quit [Ping timeout: 264 seconds]
akaizen has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
<bennn> ssvb: thanks :)
apo has quit [Remote host closed the connection]
apo has joined #linux-sunxi
newleaves_ has joined #linux-sunxi
<wens> got a second hand cubieboard 1, and the power supply that came with outputs at 5.5V under load
<wens> my boards make weird noises when I use that one
HeHoPMaJIeH has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
<ganbold> maybe it is adapter that makes noise
<wens> nah, it's from the board
bbrezillon has quit [Ping timeout: 264 seconds]
bbrezillon has joined #linux-sunxi
<JohnDoe_71Rus> some litle noise cb2 then write to SD card
<swabbles> wens: I've got the same for my Cubietruck with a certain adapter.
<swabbles> But the thing is, that my Cubieboard 2 doesn't produce those noises as far as I know.
<wens> swabbles: get my axp209 hwmon patch, and get a reading for ACIN
lag` has quit [Quit: Coyote finally caught me]
lag` has joined #linux-sunxi
lag` has quit [Changing host]
lag` has joined #linux-sunxi
lag` is now known as lag
Black_Horseman has quit [Ping timeout: 252 seconds]
FunkyPenguin has quit [Remote host closed the connection]
FunkyPenguin has joined #linux-sunxi
diego_r has joined #linux-sunxi
cubear has joined #linux-sunxi
_massi_ has joined #linux-sunxi
<mripard> mrnuke: the issue is not spidev itself, but rather how you load it.
<mripard> mrnuke: and yes, eventually we will support spi transfer sizes larger than the FIFO
<mripard> most likely through DMA
newleaves_ has quit [Quit: Leaving]
nabblet has joined #linux-sunxi
FR^2 has joined #linux-sunxi
grafgustav has joined #linux-sunxi
setkeh has quit [Ping timeout: 256 seconds]
setkeh has joined #linux-sunxi
bonbons has joined #linux-sunxi
notmart has joined #linux-sunxi
maksimlin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140218140359]]
Gerwin_J has quit [Quit: Gerwin_J]
<bonbons> to select a given function for some of the pin-headers on cubietruck, do I have to change the fex or can I do that at runtime?
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
<grafgustav> Hello! I use the cubieboard and just tried to load the crosscompiled module spidev into my kernel. I have copied the file to the correct directory and executed depmod -a. Then I called modprobe spidev and there still was no error. However lsmod does not display spidev as a loaded module, how is this possible? I have to admit that the versions are slightly different .79-sun71+ kernel and .79-sun7i module, but I hoped it worked anyways. Is this th
<gzamboni_> grafgustav, do you have the spi dev in your /dev directory ?
<gzamboni_> you have to modprobe the sunxi spi module
<gzamboni_> check this page http://sunxi.org/SPIdev
<grafgustav> yes, I do have the spidev0.0 in my /dev directory
<grafgustav> Still the spidev_text.c found here https://www.kernel.org/doc/Documentation/spi/spidev_test.c does not work properly
<gzamboni_> Known problems: Using the spidev_test.c example you will receive [spi]: drivers/spi/spi_sunxi.c(L1025) cpu tx data time out!
<gzamboni_> Using the spidev_fdx.c method it works like a charm! :)
enrico_ has joined #linux-sunxi
<grafgustav> We don't get any error message though, we just receive zeros, asdescribed here http://www.brianhensley.net/2012/07/getting-spi-working-on-raspberry-pi.html
<gzamboni_> what board are you ussing ?
<gzamboni_> whats your spi devices that is attached ?
<gzamboni_> can you see with a logic analiser or osciloscope if the data is getting out when you try to use it ?
<grafgustav> I am using the Cubieboard2, the attached device is a sensor
<grafgustav> I've checked if the sensor is powered and was happy with that. I do have an oszilloscope here but don't know how to use it... :D
<gzamboni_> check also your fex settings and mux configuration at your fex
<gzamboni_> the examples used in the wiki page were made using an A10, but afaik A20 is pin compatible and have the same muxes
nabblet has quit [Quit: leaving]
<grafgustav> The script.fex/script.bin has been adjusted
<grafgustav> What exactly do you mean with mux configuration?
<gzamboni_> the spi pins can be used as other functionalities, they share IPs
<gzamboni_> are you using SPI0 ?
<gzamboni_> the mux is the number between <> in your fex : spi_cs0 = port:PI10<2><default><default><default>
<grafgustav> Yes, I see
<gzamboni_> here it uses mux 2
<grafgustav> I see, I will check that
focus has quit [Remote host closed the connection]
<gzamboni_> check this link http://linux-sunxi.org/A20/PIO
<gzamboni_> if you're using spi0 on a A10/A20 the mux should be 2 as specified in the spidev tutorial
<grafgustav> Now I finally get what those mux colums are for... yeah, the mux seems to be set right except for one. The cs1. We don't need that one so far though, because we just have one sensor attached right now
<gzamboni_> no, you dont need if you dont have to use chip select
Gerwin_J has joined #linux-sunxi
<gzamboni_> just be sure your devices have the chipselect enabled when you do start the comunication
<gzamboni_> you can set always enabled once you only have one sensor
Dodger78 has joined #linux-sunxi
<gzamboni_> next step is to check with an osciloscope if data is getting out from the mosi/miso pins
<gzamboni_> try out the code sample of the wiki
<grafgustav> I am on it, thank you
wingrime has quit [Quit: Bye]
<Dodger78> is this usb - uart konverter okay for using with cubietruck to get console logging during boot ? http://www.amazon.de/USB-TTL-Konverter-Modul-mit-eingebautem-CP2102/dp/B00AFRXKFU/ref=sr_1_2?ie=UTF8&qid=1395139553&sr=8-2&keywords=usb+uart
<ccaione> Dodger78: it depends on your host machine, not on the device. Anyway che CP2102 is pretty common so I'd say yes
<buZz> anything that can do 1.8V ttl serial
<buZz> i guess
<buZz> or is it 3.3V?
deffrag has quit [Ping timeout: 255 seconds]
<Dodger78> im not sure im asking cause of this
<Dodger78> dont want to trash my cubietruck
<Dodger78> its a CP2102 chipset
<buZz> thats 3.3V
Net147 has joined #linux-sunxi
<Dodger78> and thats bad ? too much for cubie ?
<buZz> not sure
Dodger78 has quit [Quit: Leaving.]
deffrag has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
nabblet has joined #linux-sunxi
focus has joined #linux-sunxi
t3st3r has quit [Ping timeout: 265 seconds]
maz_ has quit [Ping timeout: 245 seconds]
cubear has quit [Ping timeout: 264 seconds]
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Client Quit]
leviathanch2 has joined #linux-sunxi
alexvf has quit [Quit: Page closed]
<bonbons> as far as I understood, 3.3V signaling is what cubietruck console header wants (just connect RX, TX and GND)
<bonbons> and it's working fine here (though with profilic USB->UART cable: http://www.adafruit.com/products/954)
t3st3r has joined #linux-sunxi
cubear has joined #linux-sunxi
maz_ has joined #linux-sunxi
uRandomMM has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
leviathanch2 has quit [Ping timeout: 240 seconds]
focus has quit [Remote host closed the connection]
geecko has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
focus has joined #linux-sunxi
focus has quit [Remote host closed the connection]
Black_Horseman has quit [Remote host closed the connection]
kuldeepdhaka has quit [Ping timeout: 255 seconds]
pwhalen has quit [Quit: Leaving]
leviathanch2 has quit [Ping timeout: 264 seconds]
kuldeepdhaka has joined #linux-sunxi
deasy has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
HeHoPMaJIeH has quit [Remote host closed the connection]
pwhalen has joined #linux-sunxi
<bonbons> trying to build kernel (sunxi-3.4) with most sunxi drivers built-in I end up having symbol errors, is that expected? (e.g. bcmsdh_probe exported twice, ump_dd_secure_id_get undefined)
pwhalen has quit [Ping timeout: 252 seconds]
<libv> yes, there is a symbol clash between two bcm drivers
<bonbons> eek, bcmsdh_probe is exported 5 times through sunxi-3.4 tree!
<libv> the joy of vendor drivers
<mrnuke> i =5; i = 5; i=5; //Make sure I is 5 or the code below will crash
<bonbons> :), any idea for the ump/mali area?
<libv> bonbons: what do you mean with ump/mali "area"
<libv> is that some special military base in new mexico?
<bonbons> ump_dd_secure_id_get symbol missing and a second one
<libv> bonbons: did you build a defconfig?
<libv> with ARCH=arm sunXi_defconfig?
<bonbons> I took the config from cubietruck ubuntu kernel, then switch some items from modular to built-in
<libv> why?
<bonbons> I like kernels with fewer modules so hw gets initialized more in paralell during early boot instead of serialized module loading
<libv> ...
cubear has quit [Quit: Leaving]
<bonbons> but yes, that might be incompatible with distro aproeach and vendor drivers that only work as modules :/
<libv> bonbons: please do measure bootup time.
* Wizzup also boots a module-less kernel on sunxi, since it's annoying to copy over modules too ;-)
<Wizzup> But not for the "startup speeds"
<libv> i love modules, as it allows me to unload/load some and see the effects while developing
<bonbons> yeah that's the other useful part of it, just a single file (kernel) to care about
<libv> without rebooting _all_ the time
<Wizzup> both have their merits
<bonbons> I agree with both of you
pwhalen has joined #linux-sunxi
<bonbons> will try again after lunch, first getting back to more modular configuration in the hope of getting something that builds
leviathanch2 has joined #linux-sunxi
<libv> bonbons: store your current .config, then start with sun7i_defconfig, and then work your way back
<Tartarus> Silly question, Olimex A13-OLinuXino-Micro, what u-boot config do I want for that these days?
<Tartarus> A13-OLinuXinoM boots but fails with 0MiB DRAM found
Gerwin_J has joined #linux-sunxi
<libv> Tartarus: this doesn't seem to be documented at all
<Tartarus> which?
<libv> Tartarus: can you work through http://linux-sunxi.org/New_Device_howto
<Tartarus> it's an old device
<libv> the olinuxino-micro
<libv> and?
<libv> we do not have it documented
<libv> Tartarus: work through it, and you should have a working device, and you and everyone else gets all the necessaries neatly documented
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<libv> Tartarus: what complains about 0MiB DRAM?
<libv> Tartarus: work through the document.
<Turl> libv: I'm pretty sure we already have that one
<libv> gzamboni_: thanks, reading through it
<libv> Turl: in u-boot and boards
rz2k has joined #linux-sunxi
<libv> Turl: but not on the wiki.
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.]
<Tartarus> libv, Right, so the problem is that somewhere between v2013.01.01-sunxi and master support for this board broke
<Tartarus> libv, I was trying to make sure I was building the right board, before seeing what files I need to grab to get going on top of Hans' and ijc's series for mainline
<Turl> Tartarus: can you try v2013.10-sunxi?
<Tartarus> Turl, yeah, working my way up in tags before starting off on a bisect
<Turl> Tartarus: ok, I'll let you to it :)
<libv> hrm.
<Tartarus> Turl, good news, that one also works, even with a pull the power test for sanity
<Tartarus> well maybe not, heh, this is USB powered, didn't realize that
<Tartarus> yes, really sane
<Tartarus> bisect time
Skaag has quit [Ping timeout: 252 seconds]
nove has joined #linux-sunxi
alexvf has joined #linux-sunxi
<grafgustav> gzamboni_: Hello again, using SPI still does not work. I have checked the script.fex 4 times, the spidev0.0 is existent even though there is still no module spidev in lsmod (but I guess that just doesn't have to be there?). I tried using spidev_fdx.c instead of spidev_test.c but this program as well just gives me 00's. I've connected an oscilloscope to various ports (it took me some time to work out how it works) but the values I get only make p
<mrnuke> modprobe spidev ?
<grafgustav> Should I even have a device called spidev0.0 if there is no spidev module loaded?
<wens> libv: wasn't aware of that, I'll look at it tomorrow
<Tartarus> sigh, time to pause the bisect, systemd crashed and I ought to pass that bug report along
<gzamboni_> grafgustav, only make ... ?
<Tartarus> Turl, bisect says e5e2ed05813fd4bf9a21d84677cbee4db4a3b05e but I haven't been able to confirm that a simple revert fixes
<grafgustav> What am I supposed to make?
<gzamboni_> grafgustav, spidev shouldnt apear in lsmod, this is normal, you have to modprobe the sunxi-spi if its compiled as module
kuldeepdhaka has quit [Ping timeout: 264 seconds]
<gzamboni_> put one point of the osciloscope in MOSI and the other in to the GND and execute the compiled spidev_fdx.c with the right parameters
<mrnuke> what about SCLK ?
<gzamboni_> i dont have anymore my spi device in my actuall workspace so i cant do it in my side, but i did manage to make it work and the code sample from the wiki worked with the configs in there in the tutorial
<gzamboni_> mrnuke, grafgustav , yes, with SCLK it should be easier to see in the osciloscope
<grafgustav> I've tried that. There are hardly any changes, definitely no logical changes. So I tried grabbing the Clock (which I assumed would change constantly) but there I get constant 4.7V
<gzamboni_> 4.7 ? :P
<mrnuke> no SCLK transitions means no SPI transaction is under way
<gzamboni_> theres something wrong
<grafgustav> I am sorry if I appear very stupid, I usually have no idea about electrical engineering
<mrnuke> grafgustav: do you have a cheap-ass FX2-based logic analyzer?
<grafgustav> I don't think so...? :D
kuldeepdhaka has joined #linux-sunxi
<mrnuke> that's pretty handy for debugging SPI. 8 probes @ 24MHz each
<grafgustav> Well, we use the 5V Vcc from the board, since the sensor works with 5V. And 4.7 sounds like a pretty close guess...
leviathanch2 has quit [Ping timeout: 255 seconds]
<mrnuke> There's one problem. Your SoC runs at 3.3V
<Turl> Tartarus: it's highly unlikely that breaks your olinuxino
<Tartarus> Turl, yeah, I agree
<Turl> Tartarus: that's me on the commit btw :)
<grafgustav> As well it's quite possible I just misused that spidev_fdx.c file... I have not found any proper documentation about the parameters...
<Tartarus> The way the tree is constructed makes bisects hard, lots of skips to avoid mainline commits that just can't work
MarkusR has joined #linux-sunxi
<Turl> Tartarus: btw, have you tried the latest head tip?
<Turl> Tartarus: commited like a day ago?
<Tartarus> Turl, thI started
<Turl> Tartarus: it has a fix for a typo on the uart pin definitions for sun5i, that may be your bug
MarkusR has quit [Client Quit]
<Turl> ah you were having 0 ram though, nvm
<Tartarus> Yeah, tried top of tree
<Tartarus> # bad: [72a31be31881822f0f49a1987b0a48b8d9a728af] ARM: sunxi: fix sun5i uart1 pin definition name
leviathanch2 has joined #linux-sunxi
hansg has joined #linux-sunxi
<gzamboni_> grafgustav, the 5V is the vdd of your device, the spi comunication will occurs in 3.3V
<gzamboni_> the CLK, mosi and miso from the A10 or A20 are in 3.3V
<gzamboni_> if you mesure the CLK you have to do it with the GND and it should oscilates from 0V to 3.3V in the frequency set on your c app that uses the spidev
hansg has quit [Quit: Leaving]
kivutar has joined #linux-sunxi
leviathanch2 has quit [Remote host closed the connection]
leviathanch2 has joined #linux-sunxi
<grafgustav> gzamboni_: Okay, thanks. I guess we connected it wrong then. We figured since the sensor works with up to 5.5V we can just connect it's Vcc to a 5V Vcc pin on the board
Skaag has joined #linux-sunxi
focus has joined #linux-sunxi
<gzamboni_> grafgustav, for the vdd you can use the 5V from the board, it doesnt come from the allwinner chip
FreezingCold has joined #linux-sunxi
<grafgustav> I see, I think I get it now. Partially. So right now I am not executing anything, I just have the sensor attached to the board and with a multimeter measure the voltage from CLK to GND. It still is 4.7V :D What am I even doing wrong, I even use the 3.3V Pin of the board now...
Gerwin_J has quit [Quit: Gerwin_J]
leviathanch2 has quit [Ping timeout: 240 seconds]
Gerwin_J has joined #linux-sunxi
<Turl> w 2
<Tartarus> Whee, this board seems moderately unstable :(
<Tartarus> Leave it on for a while and now it's kinda working when it had been hanging before
<Tartarus> of course, other hell so I'm not sure which it is..
<Tartarus> brbish I hope
<oliv3r> wens: a10-meminfo does not work on a23; you need a31 meminfo that i hacked on ages ago; checkout my github; it probably doesn't work :)
<oliv3r> libv: we're still waitingon u-boot source to be fair
<oliv3r> bennn: a23 is a very cool little chip. it does lack a lot of features i think; but it should pack quite some interesting performance. not only that, it is required as a dev platform to prepare for a60/a70
<Tartarus> Turl, yup, I'm in hell, the board now consistently boots up
<Turl> Tartarus: :(
<Turl> Tartarus: maybe you have bad/missoldered ram
<Tartarus> Perhaps
<Tartarus> Easiest experiment for the day is to unplug, see what it does tomorrow morning
<Tartarus> And do the build time part of porting this over to Hans' series today
leviathanch2 has joined #linux-sunxi
diego_r has quit [Remote host closed the connection]
diego_r has joined #linux-sunxi
<bonbons> drivers/net/wireless/bcmdhd/wl_iw.c fails to build if WIRELESS_EXT is set but WEXT_PRIV is not...
<bonbons> not sure yet what (other wireless driver?) from defconfig select WEXT_PRIV...
<wens> oliv3r: would the fex file be enough?
<bonbons> defconfig includes pretty much all available wireless drivers!
<bonbons> adding "select WEXT_PRIV if WIRELESS_EXT" to config BCMDHD in drivers/net/wireless/bcmdhd/Kconfig fixes the build
<kivutar> hi, i'm trying to port openelec to cubieboard2. Something goes wrong during the initramfs init. It's hard to debug because I don't get enough messages in the log. Strangely, if I remove console=ttyS0 the boot become verbose enough. I can see that my kernel is panicing during the initramfs. However, I suspect the panic to be a side effect of removing console=ttyS0 because I get the warning "unable to open an initial console"
<kivutar> speakman, I see in the chan log that you had a similar issue and solved it
<Turl> kivutar: that warning sounds like missing /dev/ nodes
<kivutar> yes Turl
<kivutar> maybe I am missing something in my kernel config to populate /dev with the serial nodes
<Turl> kivutar: your ramdisk has an empty /dev/ ?
akaizen has joined #linux-sunxi
<kivutar> I can't get a debug prompt... so I don't know
<Turl> kivutar: add console and ttyS0 to your dev and try again
<Turl> kivutar: cd dev; mknod -m 622 console c 5 1; mknod -m 622 ttyS0 c 4 64
<Turl> bbl
<ccaione> kivutar: have you enabled devtmpfs?
<kivutar> ok, thanks, but it's not gonna be easy as the initramfs is in the kernel
<kivutar> ccaione, let me check that
<kivutar> CONFIG_DEVTMPFS=y
<kivutar> CONFIG_DEVTMPFS_MOUNT=y
<mripard> it's not mounted automatically in an initramfs
<mripard> you have to mount it manually
grafgustav has quit [Quit: playing games with my heart]
<kivutar> let me check my initramfs init script then..
<kivutar> i'm doing a /bin/busybox mount -t devtmpfs devtmpfs /dev
jukivil1 has quit [Ping timeout: 265 seconds]
<ccaione> kivutar: btw, the correct bootarg is console=ttyS0,115200
jukivili has joined #linux-sunxi
<kivutar> ok, I try this too
<kivutar> wow, I get double messages with console=ttyS0,115200
<ccaione> which kernel is it?
<kivutar> stage/sunxi-3.4
<kivutar> but it looks like I finally solved it
<ccaione> gee, I thought it was mainline .... why are you using initramfs then?
<kivutar> openelec uses an initramfs to manage its updates
<kivutar> anyway, I think ttyS0,115200 did the trick
<kivutar> thanks a lot
<ccaione> yw
<oliv3r> Tartarus: does your a13 board have a dedicated AXP PMIC?
<Tartarus> oliv3r, dunno
<oliv3r> Tartarus: a lot of a13 boards/sticks ommit the axp, and dirty power makes it not work that well
<Tartarus> I picked this up about a year ago or so
<Tartarus> Finally getting around to trying it out
<Tartarus> It seemed a reasonably well known/documented board at the time
<oliv3r> wens: for memory timings? nah; the a10/a20 series and a31/a23 series use a completly different memory controller
<oliv3r> Tartarus: well the olimex boards are very well documented etc. i think turl even has the a13 olimexino?
<oliv3r> the only a13 device i have around is my gf's tablet
<mripard> oliv3r: I think the a13-olinuxino had one, but the a13-olinuxino-micro didn't
<oliv3r> and you guys all have to stop steamrolling through stuff! I go off writing a book, and you all go finish everything behind my back!
<oliv3r> *waves fist*
<oliv3r> mripard: yeah and if the micro doesn't (the device tartarus has) bad power can do a lot of things
<oliv3r> I found this out even yesterday
akaizen has quit [Remote host closed the connection]
<oliv3r> sometimes I power my board via the usb port in my monitor, which doesn't give much more then 500 mA
<oliv3r> you wouldn't know, as it seems to run 90% fine, but there's random crashes that catch you without even knowing whats going on.
<Tartarus> I started off with it having the wall plug too
<Tartarus> But would it be "smart" if both USB and wall were provided?
<oliv3r> yeah but even there, quality can be so different
<Tartarus> or might it have been grabbing from USB?
<oliv3r> they 'claim' 2.5 Amps and then they fail to deliver more then 0.4 amps
<oliv3r> I use an USB -> jack cable that came with the cubieboard to power it
<oliv3r> so it's not otg powerd to be fair :)
<oliv3r> but it allows me to easily plug it in in random usb outlets (walwarts that have usb holes, monitors, whatnot)
<oliv3r> laptop! :)
<oliv3r> and because i have a battery on the device, i can switch power around easily :)
leviathanch2_ has joined #linux-sunxi
<oliv3r> and with 0.5 amps, it runs most of the time, partitially from the battery i'm sure, but once the battery runs dry, it starts to ackt up :)
leviathanch2 has quit [Ping timeout: 240 seconds]
<wens> the PMIC will use the battery when the power is under-voltage
<oliv3r> aye
<oliv3r> but will it drain both sources if they are available? power-jack + otg?
<wens> oliv3r: there's a flag controlling that, but it's disabled by default :)
<oliv3r> ah ok
<oliv3r> good to know
<oliv3r> i tried to dual plug my device a few times when it was acting up :)
leviathanch2_ has quit [Ping timeout: 252 seconds]
kivutar has quit [Quit: Ex-Chat]
<wens> there's also current limiting on the otg vbus through the PMIC
<wens> don't remember the default, options are 100, 500, 900mA, or unrestricted
<wens> and the PMIC would power off in the event that voltage is too low
<wens> however on the cubieboards, some power is tapped directly from 5V unregulated, such as SATA and USB power
<wens> so if you have a bad power supply, the SATA HDD might not spin up properly
<oliv3r> yeah i noticed that too
<wens> The CubieTruck has a boost regulator for 5V, so it's slightly better
<oliv3r> yep!
<oliv3r> to bad there's no 12V boost regulator
<oliv3r> :p
<oliv3r> but that would require like a 3 or 4 amp 5V psu
<wens> But IMO the proper way is to have all power go through the PMIC, take IPSOUT and convert it to whatever you need
<wens> bennn: ^
<oliv3r> yeah
<oliv3r> bennn: ^^
<wens> Omilex does this
<wens> and then PMIC would report the correct power usage
<wens> oliv3r: you mentioned the dram controller is completely different? so much for hoping to get u-boot fast
<oliv3r> btw, did the LED usage change from 3.4.6* kernels used by hansg, to our nightly kernel?
<oliv3r> before i had white led show load i think and green led mmc access; but with our nightly, only the blue led is on at all
<oliv3r> wens: hardly fast, but i've done some work for a31 (that is fully untested)
<wens> yeah it changed
<oliv3r> and we where promissed boot0 code
<oliv3r> ok then i'm good, i thought i broke something with the leds :)
<wens> no defaults are provided in the DT, so they default to whatever was set by the bootloader
<wens> I put my LED trigger setup in rc.local
<wens> orange for mmc0, blue/green for cpus, white for wifi
<wens> and wifi is not working ATM :(
<oliv3r> well for my book; im defaulting to 3.4 kernel obviously
leviathanch2 has joined #linux-sunxi
<wens> btw, if you're still in contact with allwinner, might want to ask about u-boot? It seems it was promised to happen last week
<oliv3r> it was promised to me :p
<oliv3r> but i haven't received the tablet yet they shipped either
<oliv3r> so when that arrives, i'll send of a thank you note, and ask for boot0/boot1
<oliv3r> i also asked for permission to redistribute some other stuff i got; but no answer at all on that
<oliv3r> btw, stupid user question from me :p
<oliv3r> i upgraded the kernel + modules by copying files to the right places, everything works as expected
smotocel69 has joined #linux-sunxi
smotocel69 has quit [Remote host closed the connection]
<oliv3r> except that gmac for example, isn't autoloaded at boot; i have to modprobe it
<oliv3r> but on the old kernel, it all got autoloaded; ok maybe the gmac stuff was Y instead of m
<oliv3r> is that expected?/normal behavior?
<oliv3r> (the old gmac driver btw)
leviathanch2 has quit [Quit: No Ping reply in 180 seconds.]
leviathanch2 has joined #linux-sunxi
hawi_ has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
<rm> such wow
<rm> I wonder if it also costs $1500 or something
<mnemoc> Turl: pong
<mnemoc> rm: hopefully the example of the death of calxeda made them control their greed a bit
VargaD has joined #linux-sunxi
<rm> indeed
Gerwin_J has quit [Quit: Gerwin_J]
bennn has quit [Remote host closed the connection]
pwhalen has quit [Remote host closed the connection]
<mrnuke> mripard: the interrupt status register for the SPI isn't masked, is it? that bit me really hard in between the buttocks
enrico_ has quit [Quit: Bye]
pwhalen has joined #linux-sunxi
pwhalen has quit [Changing host]
pwhalen has joined #linux-sunxi
uRandomMM has quit [Ping timeout: 245 seconds]
VargaD has quit [Quit: ZNC - http://znc.in]
VargaD has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
bbrezillon has quit [Quit: WeeChat 0.3.7]
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
diego_r has quit [Ping timeout: 246 seconds]
VargaD has quit [Quit: ZNC - http://znc.in]
VargaD has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
VargaD has quit [Client Quit]
VargaD has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
VargaD has quit [Client Quit]
VargaD has joined #linux-sunxi
hawi_ has quit [Quit: Leaving]
_massi_ has quit [Quit: Leaving]
bbrezillon has joined #linux-sunxi
nove has quit [Quit: nove]
akaizen has joined #linux-sunxi
[7] has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
akaizen has quit [Ping timeout: 264 seconds]
akaizen has joined #linux-sunxi
nabblet has quit [Quit: leaving]
Fusing has joined #linux-sunxi
hipboi has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
devgiant has joined #linux-sunxi
deffrag has quit [Ping timeout: 246 seconds]
devgiant has quit [Ping timeout: 255 seconds]
devgiant has joined #linux-sunxi
deasy has joined #linux-sunxi
Fusing has quit [Ping timeout: 264 seconds]
souther has quit [Quit: leaving]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
shineworld has joined #linux-sunxi
deffrag has joined #linux-sunxi
geecko has quit [Ping timeout: 264 seconds]
VargaD has quit [Quit: ZNC - http://znc.in]
netlynx has quit [Quit: Leaving]
VargaD has joined #linux-sunxi
deffrag has quit [Ping timeout: 240 seconds]
shineworld has quit [Quit: Leaving]
notmart has quit [Quit: notmart terminated!]
deffrag has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
discopig has quit [Quit: Bye]
discopig has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
VargaD has quit [Quit: ZNC - http://znc.in]
shineworld has joined #linux-sunxi
nedko has quit [Ping timeout: 255 seconds]
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has quit [Changing host]
akaizen has joined #linux-sunxi
kuldeepdhaka_ has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 246 seconds]
atsampson has quit [Quit: it must be NEW KERNEL TIME!]
geecko has joined #linux-sunxi
kuldeepdhaka_ has quit [Max SendQ exceeded]
atsampson has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
atsampson has quit [Quit: go gadget automatic tmux setup]
atsampson has joined #linux-sunxi
rz2k has quit []
kivutar has joined #linux-sunxi
shineworld has quit [Quit: Leaving]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
nedko has quit [Ping timeout: 246 seconds]
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
protoCall7 has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
protoCall7 has quit [Read error: Connection reset by peer]
<libv> grrr.
protoCall7 has joined #linux-sunxi
<libv> another board which isn't documented on the wiki
ganbold_ has quit [Remote host closed the connection]
nedko has quit [Read error: Connection timed out]
VargaD has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has quit [Changing host]
nedko has joined #linux-sunxi
<Turl> oliv3r: I have the A10S one from olimex
<Turl> mnemoc: ping, wingrime wanted mosh for linux-sunxi, thoughts?
VargaD has quit [Client Quit]
\\Mr_C\\ has quit [Read error: No route to host]
bbrezillon has quit [Ping timeout: 246 seconds]
protoCall7 has quit [Quit: protoCall7]
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi