Turl 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
deasy has joined #linux-sunxi
pfdm has quit [Ping timeout: 250 seconds]
adb_ has quit [Ping timeout: 252 seconds]
eebrah__ has joined #linux-sunxi
[7] has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
specing has quit [Ping timeout: 272 seconds]
specing has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah__ has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: Quitte]
Gerwin_J has quit [Quit: Gerwin_J]
deasy has quit [Remote host closed the connection]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
wingrime has joined #linux-sunxi
rings_VII has quit [Remote host closed the connection]
rings_IIV has joined #linux-sunxi
wingrime has quit [Ping timeout: 252 seconds]
jinzo has quit [Quit: Leaving]
eebrah_ has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-sunxi
geecko has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
FDCX has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
deasy has joined #linux-sunxi
FDCX has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
zeRez_ has joined #linux-sunxi
FDCX has joined #linux-sunxi
zeRez has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
zeRez_ has quit [Read error: Connection reset by peer]
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
egbert_ has quit [Ping timeout: 246 seconds]
egbert has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 272 seconds]
hipboi has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
prasannapete has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
hipboi has joined #linux-sunxi
hipboi has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
hipboi has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Quarx has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 265 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
Quarx has quit []
cubear has joined #linux-sunxi
7CBAAIFWN has quit [Ping timeout: 246 seconds]
Black_Horseman has quit [Remote host closed the connection]
prasannapete has quit [Quit: prasannapete]
Taduro_ has joined #linux-sunxi
tzafrir has quit [Ping timeout: 264 seconds]
rellla has joined #linux-sunxi
kaspter has joined #linux-sunxi
rellla3 has joined #linux-sunxi
rellla3 has quit [Remote host closed the connection]
n01 has joined #linux-sunxi
rellla2 has joined #linux-sunxi
penghb has quit [Remote host closed the connection]
iamfrankenstein has joined #linux-sunxi
enrico_ has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
panda84kde has joined #linux-sunxi
<oliv3r> lo
<JohnDoe_71Rus> hi
<oliv3r> JohnDoe_71Rus: i think i fixed the BSP
<oliv3r> will try to push it today
<JohnDoe_71Rus> good
<JohnDoe_71Rus> now i build image from leeche. so long
sspiff has joined #linux-sunxi
<sspiff> I'm trying to use FEL from virtualbox, and fel version works, but when I try to read the boot header, I get a libusb error
<sspiff> has anyone ever tried this?
<libv> fbturbo does not get me any dri2 invalidate events and now i do not know when my buffers change :(
<TomiK> hello :)
vicenteH has quit [Ping timeout: 245 seconds]
lkcl has joined #linux-sunxi
tzafrir has joined #linux-sunxi
<TomiK> sorry to be annoying with my sun3i tablet, I think it's BROM problem, when I hold the power button for a long time, it sends me a 0x00 on the serial port at regular long intervals...
wolfy has joined #linux-sunxi
Taduro_ has quit [Read error: Operation timed out]
adb_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 248 seconds]
Quarx has joined #linux-sunxi
deasy has joined #linux-sunxi
<oliv3r> TomiK: actually, on sun4i devices, the AXP resets the chip if you hold the powerbutton for more then 10 seconds
issueat has joined #linux-sunxi
<TomiK> oliv3r> ok, it's reloading the battery, i'll retry
<TomiK> oliv3r> or another idea, my dummy bootloader .bin weights 1.5k and spl .bin weights 18k, maybe the F20 has a maximal size for it's "boot sector"
<oliv3r> do we know the sun7i android 'codename' like nuclear and crane
<oliv3r> TomiK: it should; sun4i and sun7i are capped at 24k, sun5i is capped at 32k
<TomiK> ok
vicenteH has joined #linux-sunxi
<TomiK> oliv3r> in the mksunxiboot.c used to compile my bootloader, it uses 24k and it works, so F20 seems to be capped at 24k too :)
<TomiK> to sign
FR^2 has joined #linux-sunxi
<oliv3r> sounds very plausible :) as sun4i evolved from sun3i
<TomiK> ok :)
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has quit [Changing host]
<oliv3r> could it be that android codename for a20 is 'sugar'?
<JohnDoe_71Rus> android codename is 2 words
<oliv3r> howso?
<oliv3r> isn't the nexus S codenamed 'crespo'
BluesBoy has quit [Read error: Connection reset by peer]
<oliv3r> a10 is 'nuclear' a13 is 'crane'
<libv> pfff, i really am not in a frame of mind where debugging fbturbo is leading to anything useful
<JohnDoe_71Rus> oliv3r: may be it is chip codename
BluesBoy has joined #linux-sunxi
<oliv3r> maybe, i just want the name :)
<oliv3r> libv: :( where's ssvb
<libv> he hasn't been around for more than a week
<libv> no idea what happened to him
<libv> he does do email apparently
<oliv3r> maybe busy with work?
<libv> i am not sure he has found an employer since nokia
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it!]
issueat has quit [Ping timeout: 260 seconds]
<libv> heh, the standard kernel page really needs help as well.
<libv> everytime i head to the wiki for anything, i first end up editing the hell out of it
<oliv3r> libv: his latest g+ post is from 20th of nov
hipboi has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
issueat has joined #linux-sunxi
<oliv3r> mnemoc: is 3.4 upto date in relation with upstream?
<mnemoc> oliv3r: sort of :p
<oliv3r> ti_3410.fw has a dependancy issue wwith stage/3.4
<oliv3r> though i may not have pulled in a while
<oliv3r> so pulling right now
<oliv3r> also, ONE MORE WEEK OF MO!
<mnemoc> eh?
<oliv3r> Movember!
<mnemoc> o_O
<oliv3r> oh i have tons of patches
<oliv3r> ok so should be up to date now
<oliv3r> let me rebuild
<oliv3r> mnemoc: what's the codename for sun7i? not crane or nuclear is it
<mnemoc> not sure :<
<oliv3r> sugar?
jinzo has joined #linux-sunxi
issueat has quit [Ping timeout: 245 seconds]
issueat has joined #linux-sunxi
<oliv3r> nope, still fails to build
<oliv3r> it builds if you build it a second time or with -j1 so it's a dependancy issue
<oliv3r> is 3.4 is in sync with 3.4-LTS there might be a bug there too
<oliv3r> anyway, gonna push the bsp A20 support as that's still not upstream is it
<oliv3r> oh techn did update it
issueat has quit [Ping timeout: 272 seconds]
<Turl> oliv3r: wing iirc
BluesBoy has joined #linux-sunxi
issueat has joined #linux-sunxi
<oliv3r> Turl: wong?
<cubear> Which kernel is recommended for Cubietruck?
<oliv3r> stage/sunxi-4.5
<oliv3r> 3.4
<cubear> no 3.10? does 3.4 support the gigabit ethernet, bluetooth and wifi onboard chip?
<libv> i am editing it right now to be quite a lot clearer.
rz2k has joined #linux-sunxi
<libv> oliv3r, arokux, Turl: what do you guys think of renaming that page to kernel_howto?
<libv> this to stop every punter from wandering into the mainline_kernel_howto
<libv> (and subsequently complaining that some hw doesn't work)
<arokux> libv: hm.. what about FistSteps?
<Turl> oliv3r: no, wing
<arokux> FirstSteps
<libv> arokux: that will be renamed soon
<libv> and the build instructions in there will point to this page
<libv> and then i will finally undo the damage rm did
<arokux> libv: damage?? what damage?
<libv> february
<rm> our libv never skips a chance to be an asshole to someone on the most trivial reasons
<rm> judge the diff for yourself.
<arokux> I do not consider it as damage :)
<libv> rm: i firmly maintain that you turned a perfectly clear howto into a confusing mess
<libv> instead of just properly naming the thing
<arokux> libv: i'm fine with restructuring as long as the info will not get removed.
<libv> arokux: the kernel building info gathered in FirstSteps is now reproduced on the kernel page
<oliv3r> Turl: what?
<wolfy> that FirstSteps page looks more like FirstStepsForDevelopers
<oliv3r> libv: i haven't properl ylooked at the wiki for a while so i'm fine with any improvement :D
<libv> wolfy: it was
<libv> wolfy: back in the day when our wiki was virtually empty
<Turl> oliv3r: a20 android == wing
<oliv3r> Turl: thanks! now i know what you mena :p
<oliv3r> Turl: what gave you that insight?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<Turl> oliv3r: sdk
<oliv3r> Turl: fair nuff :)
<oliv3r> Turl: i'm gonna peak into ianc's patches for AHCI and will look at clk stuff, did you fix his suggestions/look into that yet?
<Turl> oliv3r: I'm doing it as we speak :)
<oliv3r> cool; then ignor eme!
<oliv3r> was gonna say 'then i'll send in a patch' but you doing it is much better ;)
<TomiK> ok spotted something \o/
HeHoPMaJIeH has quit [Ping timeout: 260 seconds]
<libv> wolfy: and i have to object to the "for developers" notion. That really is something only android-forums users would use. I hope that the average reader of our wiki pages is beyond that
<oliv3r> TomiK: just out of curiosity, why are you baning on u-boot and not try to get the kernel working replaced first? While having sun3i support in u-boot is absolutly nice, it'll be a lot of work ;)
<TomiK> oliv3r> it's for my curiosity and the challenge, I learn a lot about C programming by watching the u-boot code
<wolfy> libv: Feel free to object and/or find a better name. As new user , with 20 years of linux experience but just arrived in the world of ARM boards, that page is misleading. The only useful part is "users click here"
<oliv3r> TomiK: absolutly, i don't wanna hold you back or slow you down, but the kernel will require equally a lot of love ;)
<TomiK> ok I see
<libv> wolfy: it used to be the first page to gather useful information on how to get something going on this hw
<libv> before that, some parts were dispersed over the wiki, and some bits only existed in the minds of mnemoc and hno
<TomiK> oliv3r> but i found a kernel which support sun3i, somewhere i don't remember
* wolfy wishes he could peek into those minds :)
<libv> the title then covered the load very aptly
<oliv3r> TomiK: we removed all sun3i patches a few months ago :)
<wolfy> libv: but the current content is nothing but "first steps"
<wolfy> it's more a "how to" not a "first steps"
<libv> yes, it will be renamed soon, first i am going to make sure that people actually find the kernel page that references the useful kernel
<wolfy> excellent ! I did have issues locating that
<oliv3r> libv: while clearing out my mailbox, I do see a mail from the 27th of ssvb; so atleast he appears to be alive ;)
<libv> oliv3r: yeah
<libv> oliv3r: it's just very weird that he isn't in here
<oliv3r> maybe he forgot :(
kaspter has quit [Remote host closed the connection]
<libv> wolfy: for me, it never occured to me to type "linux" into the search field
<libv> wolfy: i typed kernel, and the only halfway decent thing i got was the mainline kernel howto, which really is not what most people will need
<wolfy> absolutely agree with you
<wolfy> after fiddling a bit around I resorted to list all pages and then search for relevant names
Wizzup has quit [Ping timeout: 272 seconds]
<libv> wolfy: what name would you stick on top of http://linux-sunxi.org/Linux now that it has compilation instructions?
zeRez has joined #linux-sunxi
<libv> just linux_kernel or kernel or with _howto appended?
panda84kde has quit [Quit: Konversation terminated!]
<wolfy> LinuxKernel or something like that, I guess
HeHoPMaJIeH has joined #linux-sunxi
<wolfy> Maybe CustomLinuxKernel
<wolfy> definitely not just kernel
<libv> the custom bit is a given
<libv> ok, just appending kernel then
<libv> thanks
<wolfy> 'cause you have a kernel whatever OS you rely on
<libv> android users wouldn't be looking for anything on the kernel, they would just care about images
<wolfy> and linux users would not normally compile their kernel :)
<wolfy> most users would want an image as well
<libv> heh, the linux world really has regressed quite a bit over the past few years :(
<[7]> to shed some more light on the NAND mess: there is like a dozen libnand versions for A20 alone
<wolfy> and maybe a precompiled kernel with different goodies
<wolfy> [7]: I tested 5 of them before finding a functional one
<[7]> the one that seems to work (and is apparently compatible with the android 4.2.2 image) is the one from olimex's android SDK v1.2
<[7]> the one from the v2.0 SDK is apparently for A10/A13
<binaryferret> libv: I'd want info on building android with the kernel.
<[7]> the differences are somewhat subtle. I just realized what was going on when the FED_NAND of that livesuit image failed in the same way (nand accesses timing out after a bunch of successful ones) as my homebrew uboot did
<binaryferret> I'm currently at the stage of being happy with linux running with custom kernel (replacing an image). However I do plan on building android and intergrating sunxi kernel etc.
<focus> libv: i have good knowledge of all kinds of video, 3D and C programming - may be i can help with some of your quest, but need someone to guide me to what needs doing for alwinner chips
<libv> binaryferret: you're going to have to cobble that info together yourself
<binaryferret> libv: Yepo. I'm hoping to contribute that way, as I was looking for a way to contribute. I'm still new to the internels so I'm learning as I go but I'd like to contribute.
<focus> libv: i build my own video controller out of ttl logic and RAM - that be where i start :)
<focus> libv: at one time I work for an image recognition company
<binaryferret> I used the word 'contribute' too many times in that last message.
<libv> focus: there is tons of stuff to do, always start with fixing the issues that most bother you atm, that will give you the greatest satisfaction
Wizzup has joined #linux-sunxi
<focus> libv: it would be nice if nexuiz could work on alwiner
<focus> and to know how to get it working
<focus> my problem is where to start - there so much of it
<oliv3r> libv: much better search results
<Turl> oliv3r: just pushed a commit, can you see if that fixes the problem with sata gate?
<oliv3r> Turl: don't have hardware with me this very moment, i will bring it in to work with me and hack on it tomorrow?
<Turl> oliv3r: oh ok :)
<Turl> oliv3r: no hurry, I was just telling you because you asked earlier :)
<oliv3r> Turl: yeah i'm very excited about it
<oliv3r> sunxi-clk?
<oliv3r> Turl: big patch; lucky I didn't have to do that, i thought it was just adding some numbers :p
<oliv3r> Turl: i'm ueber excited now ;)
<oliv3r> then i only have to fix my probe leaks :p
<Turl> :)
panda84kde has joined #linux-sunxi
<wens> Turl: where is your tree? :)
<torbenh3> uhuuu... clk_sunxi_mmc_phase_control()
* torbenh3 hopes, he finds time, to rebase his mmc stuffs on that branch...
Black_Horseman has joined #linux-sunxi
samsabz has joined #linux-sunxi
<samsabz> hi -> (ir) cubieboard on geexbox
<oliv3r> Turl: where can I find register reference for ARM's CPSR (Current Program Status Register)
<samsabz> how to install cubieboard ir on geexbox?
popolon has joined #linux-sunxi
<oliv3r> samsabz: not sure if that's merged yet or useable yet
<samsabz> module sunxi_ir for download
<samsabz> url
samsabz has quit [Client Quit]
<libv> how broken is this...
<libv> now read the top of the partitioning blob
<Turl> oliv3r: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473c/CHDFAEID.html ?
<Turl> libv: they look inverted
<libv> yes/no
<oliv3r> Turl: exactly that, but what are the register values? :)
<oliv3r> Turl: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344k/Bgbciiaf.html like this
<libv> but yes, doing partitioning before installing the bootloader makes sense.
<oliv3r> the partition table wipes the bootloader?
<libv> oliv3r: yes
<oliv3r> i'd even add a small section 'wiping the first M clean and creating a partition table'
<oliv3r> so that atleast it's suggested that the card is wiped clean
<libv> oliv3r: scroll up in the page :p
<oliv3r> oh so wait, we first zero the entire card
<oliv3r> but skip beyond the bootloader
<oliv3r> then install the bootloader, then wipe the bootloader again :p
<oliv3r> who wrote that?! :p
<libv> several people
<libv> also, with me, sd-cards appear as /dev/mmcblkX
<libv> but i guess that that could be different if you use an usb-storage device?
<Turl> libv: usb card readers use sdX devices
Black_Horseman has quit [Remote host closed the connection]
<Turl> libv: (and many laptops have just a usb card reader)
<oliv3r> Turl: awesome
zeRez has quit [Quit: zeRez]
<Turl> oliv3r: why are you interested in that though? :p
<libv> Turl: this howto is then completely broken for owners of hp probook xx60xs :)
<Turl> libv: it uses $card neatly everywhere, you can't really complain
<oliv3r> Turl: i'll show you a commit in a little bit :)
<libv> Turl: for the other option, partitions appear as mmcblkXpY :)
<oliv3r> but a clarification wether mmcblk or sd? would be helpfull
<libv> partition references are ${card}Y, not ${card}pY
<Turl> libv: add .* then :P
<Turl> I'm not a fan of copy-pastable dd commands though
<libv> yeah
<oliv3r> Turl: http://www.heyrick.co.uk/armwiki/Main_Page i love their logo btw
<libv> our wiki is like an old wolly sweater
<libv> loads of holes
<libv> and pull one thread...
<oliv3r> ok so if i understand correctly, 'bic' can be read as disable these bits, so bic r0, r0, #0x2 sets bit 1 to 0, but leaves bit 0 as is? or will clear r0[1:0] and then write 0x2 into r0[1:0]
<oliv3r> if that makes sense
eebrah has joined #linux-sunxi
<oliv3r> i think it will only clear r0[1] and ignore the rest
\\Mr_C\\ has quit [Quit: .]
zeRez has joined #linux-sunxi
pacopad has joined #linux-sunxi
<libv> rm: i hope that that satisfies your need to have your images listed first
vicenteH has quit [Ping timeout: 264 seconds]
eebrah has quit [Ping timeout: 272 seconds]
<oliv3r> i'm so flabbergasted that the EOMA68 isn't openhardware
* [7] is finally making progress
<[7]> seems like I built my first working A20 livesuit image :)
<binaryferret> Congrats.
<[7]> it actually booted into boot1 afterwards and started spewing loads of "[ 1.701] *** Lcd in danger..." messages
<libv> heh, allwinner code
<gzamboni> hi, is the lvds currently working in the linux kernel ? or only in android ?
<[7]> does someone have a clue what the board/target names "wing-evb-v10", "wing-k70" and "wing-prvt" refer to?
Gerwin_J has joined #linux-sunxi
<libv> gzamboni: which lvds, which board?
pacopad has quit [Ping timeout: 260 seconds]
cubear has quit [Quit: Leaving]
<libv> [7]: does the git log make you any wiser?
<[7]> libv: well, the git log of what?
<libv> [7]: sunxi-boards
<oliv3r> that's why i was after that info :)
pacopad has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<oliv3r> unfortunatly github messes up the layout completly :(
<rwmjones> grrrr ... now my initramfs causes the kernel to "Unable to handle kernel paging request at virtual address ..."
<oliv3r> rwmjones: what initramfs do you use?
<rwmjones> I tried making one with dracut
<rwmjones> I'm going to try an uncompressed version of the same, see if that makes any difference
<oliv3r> rwmjones: i've had great success with tur's buildroot images; http://dl.linux-sunxi.org/users/turl/rootfs-buildroot-3.cpio
ganbold_ has joined #linux-sunxi
<gzamboni> libv: lvds for A10's sunxi linux kernel in general...
<oliv3r> if 3 doesn't work, try 2 or withot -n; i remember something going weird related to permissions or devtmpfs missing; i do not recall; but I do remember using the first version without issue and -3 should work but i forgot
<rwmjones> I need to get this working with Fedora, so I really want to stick with an initramfs I can build myself
<oliv3r> rwmjones: babysteps
<rwmjones> does anyone know the status of mmc support upstream?
<oliv3r> rwmjones: non-existing atm; while someone IS working on it, it's not even in a mergeable state :)
<oliv3r> rwmjones: first get 'a' initramfs working, then, try to get yours working
pacopad has quit [Ping timeout: 252 seconds]
<oliv3r> if you know you have a working system with turl's initramfs, you know that your kernel is setup and configured properly
<rwmjones> I don't really get it .. uboot supports it, so we have example code, is there some difficulty beyond "someone just needs to write a driver"?
<rwmjones> or does uboot use some firmware to access the mmc?
<oliv3r> rwmjones: someone just needs to write the mainline driver
<oliv3r> rwmjones: but nobody uses mainline for anything yet
<oliv3r> rwmjones: we have sunxi-3.4 as a full featured kernel
<rwmjones> right, but I need KVM ..
<rwmjones> so upstream it has to be
<rwmjones> so porting these drivers from 3.4 to upstream is hard? code quality issues or just the effort of forward porting the code?
tomboy64 has quit [Ping timeout: 240 seconds]
vicenteH has joined #linux-sunxi
<oliv3r> rwmjones: we'll we've been working on it for over a year now I think and this is what we got: http://linux-sunxi.org/Linux_mainlining_effort
<mripard> rwmjones: both
<oliv3r> mripard: hi!
pacopad has joined #linux-sunxi
<oliv3r> bah, github is being slow :( cloining at 90 KiB/s sucks hard
<mripard> oliv3r: hi :)
tomboy64 has joined #linux-sunxi
<oliv3r> mripard: i know I asked you a few times, but can't recall the answer; you said you wanted to come to fosdem, but how likly will that be?
naobsd has joined #linux-sunxi
<mripard> oliv3r: I told you on monday, I took my plane tickets for brussels
<mripard> :)
<mripard> so very likely
gzamboni has quit [Read error: No route to host]
<oliv3r> mripard: see i forgot! or overlooked; yay!
gzamboni has joined #linux-sunxi
<rwmjones> lr register is used for stack frame linkage (like %rbp on x86)?
<Turl> oliv3r: iirc bic is stuff & ~(stuff)
<oliv3r> AND NOT yeah
<oliv3r> so it's 'clear bit'
geecko has joined #linux-sunxi
<Turl> oliv3r: yep, BIt Clear
<Turl> oliv3r: always keep the assembler cheatsheet handy :) http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf
<oliv3r> Turl: Oh! yeah I found 'AND NOT' reference, but Bit Clear makes much more sense
<Turl> I should get that cheatsheet printed
geecko has quit [Read error: Connection reset by peer]
deasy_ has joined #linux-sunxi
deasy has quit [Ping timeout: 252 seconds]
issueat has quit [Ping timeout: 248 seconds]
issueat has joined #linux-sunxi
ZetaNeta has joined #linux-sunxi
<[7]> any clue how to fix this?
<[7]> [ 0.564] power_start=0x00000003
<[7]> [ 0.564] battery low power with dc or ac, should charge longer
<[7]> [ 4.216] power exit detect
<[7]> it's plain nonsense, USB is connected and the battery is at 4.2V
\\Mr_C\\ has joined #linux-sunxi
<[7]> AXP209 isn't even trying to charge because the battery is full
<[7]> doesn't work even with AC power
HeHoPMaJIeH has quit [Quit: Leaving]
zeRez has quit [Quit: zeRez]
Gerwin_J has quit [Quit: Gerwin_J]
<oliv3r> hno: strange, I'm comparing https://github.com/hno/allwinner-boot/blob/lichee-a20-dev/boot0/Boot0.s#L70 with Boot0.s from A10 (the leaked one) and they setup 0x1c00044 to 0x1800. thing is, 0x1c00040 is a 12 byte 'reserved' area according to the datasheet ...
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D]
rz2k has quit [Remote host closed the connection]
<lynxis> boot
<lynxis> I'm trying to compile an u-boot for the cubieboard2 which boots a linux 3.10.
<lynxis> hno: do you tried your latest patches on github/linux-sunxi/u-boot-sunxi on an a20 or the cubieboard2?
Quarx has quit [Read error: Connection reset by peer]
pacopad has left #linux-sunxi [#linux-sunxi]
<Nikolas> Hmm, I got my SD card corrupted somehow and now when I try to check it with gparted, for example, all I get is "No medium found"
<Nikolas> "Error: Error opening /dev/sdb: No medium found" when trying to open it with parted
<Nikolas> but it somehow still gets automounted by my laptop and the files are accessible via nautilus
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<Nikolas> anyone have any ideas? The last thing I did when it worked was to dd an image of linaro on the SD
ZetaNeta has quit [Ping timeout: 252 seconds]
wingrime has joined #linux-sunxi
deasy_ has quit [Quit: Nom d'un quark, c'est Edmonton !]
deasy has joined #linux-sunxi
popolon has quit [Quit: Quitte]
popolon has joined #linux-sunxi
wolfy has left #linux-sunxi ["Paradoxul homosexualilor este ca, desi nu reusesc sa se reproduca, sunt in fiecare an din ce in ce mai multi. (Tristan Bernard)"]
<Turl> Nikolas: have you tried rebooting your PC? sometimes usb card readers get weird and confuse the host
rz2k has joined #linux-sunxi
<libv> Nikolas: /dev/sdc perhaps?
<libv> Nikolas: check the end of dmesg, and checkout the output of mount
tomboy64 has quit [Remote host closed the connection]
* [7] is amazed that just about every package that is supposed to contain the source code of some image is just broken in a way that could never have even compiled anywhere
<[7]> allwinner's attitude towards open source is just terrible
<[7]> seems like they're violating the GPL in more places than they're not...
<[7]> I still wonder where olimex got these images from... if those at least have the source code, or just got the images straight from allwinner
<Turl> [7]: they have published the full SDKs they used for building
<[7]> ...which obviously contains completely different code
<[7]> e.g. a completely different uboot version
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
<Turl> Tsvetan: ^ ?
<[7]> but I haven't been able to find any source code that even roughly resembles that
<[7]> A20-SDK2.0 contains android 4.0
ZetaNeta has joined #linux-sunxi
<[7]> A20-SDK-V1.2 contains android 4.2, but apparently different bootloaders
<[7]> the uboot in A20-SDK-V1.2 doesn't even compile
<[7]> and I haven't spotted any other source from olimex yet
<Tsvetan> [7] to the best of my knowledge Android is not GPL
tomboy64 has joined #linux-sunxi
<[7]> but some parts used by it are
<Tsvetan> Dimitar Gamishev used the SDK which is on the wiki to generate the Android images
<[7]> anyway, it's highly annoying if there just isn't *any* source that seems to result in a working image for the hardware
<[7]> which one of those?
<Tsvetan> [7] our focus never have been android
<[7]> it seems that v1.2 is much newer than v2.0, that's utterly confusing
<Tsvetan> this is something you have to ask allwinner :) we upload what we got with same names convention they use
<[7]> the instructions in the 1.2 sdk zip file tell me to run build.sh -p sun4i_crane... I guess that's wrong for A20?
<Tsvetan> sure the 1.2 will not produce the android image as Dimitar added missing drivers etc for the peripherials on the board
<Tsvetan> every time I ask him to document what he does meet resistence
<[7]> so what's preventing the actual source of that image from being released?
<Tsvetan> for him is interesting to make things work rather to document them
<Tsvetan> ask him not me
<[7]> sure, I know that documenting is annoying, but still, even undocumented source is better than non-working source
<[7]> I've spent like a week messing with livesuit to generate anything that can be flashed at all. that finally works now, after doing several modifications.
<Tsvetan> [7] this is the source he used to start with, so this source is definitely working but the image which it generates do not support many peripherals
<[7]> now I'm trying to find a working uboot
<Tsvetan> [7] Dimitar spent more than 18 months to study Android SDK to may do what he is doing now
<Tsvetan> at one point I wanted to reproduce what he does here at olimex, but after 5 or 6 different installations on ubuntu and debian I gave up
<[7]> so what you're basically saying is that it just isn't realistic to get android to work reasonably well on a20-olinuxino?
<Tsvetan> because to generate android you must install some odd java kits which ubuntu and debian do not support by default
<Tsvetan> android images on our wiki work just fine
<Tsvetan> its not realistic if you think you will sit and in 1 hour will generate working android image yourself
<[7]> except for trivial bugs like X axis flipped on the touchscreen, inverted backlight pwm polarity, ...
<Tsvetan> everything is functioning well on A20-OLinuXino with our LCDs
<[7]> well, I have the build environment set up already. I've also worked with other android devices before, where things did just build what they were supposed to
<[7]> but that were well-supported google devices
<Tsvetan> then just ask him nicely what you cant do and Im sure he can help you
<[7]> Tsvetan: I have the a20 olinuxino and 10" touchscreen from olimex, running the image linked on the olimex wiki
<[7]> and it has the bugs mentioned above
<[7]> along with mysteriously wiping the data partition every few reboots
<Tsvetan> no way to have reversed pwm or flipped X axe exept if you didnt screw up your FEX and wrote some BS values there
<[7]> I just flashed that image with livesuit on a brand new olinuxino board
<[7]> the reversed pwm is documented as a fex bug somewhere in git commit messages, but apparently that livesuit image contained a broken one
<[7]> what he could do to help would primarily be to release the actual source code that generated the images, along with a few notes how to make it compile. If I want to modify something, I can usually dig into that myself, but it's very important to have a working place to start
tomboy64 has quit [Remote host closed the connection]
<Tsvetan> IIRC you should use phoenix suite with A20
<Tsvetan> and if you have remarks or questions you can use support@olimex.com
<[7]> Tsvetan: the phoenixsuit linked on the wiki is windows-only
<Tsvetan> this is what allwinner provide
<[7]> during the build process of that 1.2 sdk I have to choose a board: wing-evb-v10, wing-k70 or wing-prvt
<[7]> I assume neither of those resembles the olinuxino closely enough?
<Tsvetan> I have no idea I didnt use this sdk
<[7]> I hope that option affects just the boot0/1 and livesuit stuff, so that I can at least pick a working uboot from it
tomboy64 has joined #linux-sunxi
<JohnDoe_71Rus> [7]: phoenixsuit worked in virtualbox
tomboy64 has quit [Remote host closed the connection]
<[7]> Tsvetan: I've just extracted the A20_android_422_TS_USB_UART_I2C_WIFI_LAN_HDMI_LCD_1024x600_release_3.img image, and the fex file inside that definitely contains this line:
<[7]> lcd_pwm_pol = 0
<[7]> IIUC that is wrong, it should be 1 to work properly
_massi_ has quit [Remote host closed the connection]
n01 has quit [Ping timeout: 246 seconds]
tomboy64 has joined #linux-sunxi
jlj has joined #linux-sunxi
wingrime has quit [Ping timeout: 272 seconds]
panda84kde has quit [Quit: Konversation terminated!]
adb_ has quit [Ping timeout: 252 seconds]
paulk-collins has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
<[7]> hm, looks like I made some good progress today
<[7]> I can now finally flash that board, and it even loads a kernel :)
JohnDoe_71Rus has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Fusing has joined #linux-sunxi
n01 has quit [Read error: Connection reset by peer]
n01_ has quit [Read error: Connection reset by peer]
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
adb_ has joined #linux-sunxi
tzafrir has quit [Ping timeout: 245 seconds]
zeRez has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
<[7]> wow, now the kernel is actually booting :)
<[7]> hm...
<[7]> [ 0.000000] Memory: 64MB 768MB = 832MB total
<[7]> [ 0.000000] Memory: 829572k/829572k available, 219004k reserved, 270336K highmem
<[7]> that's kinda odd
<[7]> how do I define how much mali will get?
<oliv3r> mripard: Turl, lots of exciting chatter about ahci on ML
<oliv3r> mripard: if you have a little time tomorrow to explain it in a little more detail that'd be great
<oliv3r> some of the chattr went down a little to 'fast' for me :)
<Turl> [7]: there's a kernel parameter, default is 64M iirc
<Turl> oliv3r: I haven't really been following it much, other than the clock bits :)
<Turl> oliv3r: I think they got it all working now
Fusing has quit [Quit: Nettalk6 - www.ntalk.de]
Gerwin_J has quit [Quit: Gerwin_J]
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 246 seconds]
eebrah_ has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
<[7]> wow, funny bugs in this kernel
focus2 has joined #linux-sunxi
tzafrir has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
<focus2> greedy piggy order 6 x cubieboards to build my 3D stackable squeech (TM!!)
tomee^ has joined #linux-sunxi
issueat has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 272 seconds]
ganbold_ has quit [Remote host closed the connection]
eebrah_ has joined #linux-sunxi
rz2k has quit []
eebrah_ has quit [Ping timeout: 265 seconds]
diego71 has quit [Ping timeout: 245 seconds]
Md has joined #linux-sunxi
<Md> n
diego71 has joined #linux-sunxi
n01 has quit [Ping timeout: 246 seconds]
n01_ has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
Gerwin_J has joined #linux-sunxi
<hno> oliv3r, there is many gaps in Allwinner user guides.
eebrah_ has quit [Ping timeout: 252 seconds]
<hno> lynxis, I don't have any latest patches to try. Only did a update from current upstream.
<hno> Nikolas, are you sure it's /dev/sdb? Error sounds as if /dev/sdb is a dvd/cdrom reader..
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
focus2 has quit [Quit: Leaving]
\\Mr_C\\ has quit [Quit: .]
Black_Horseman has quit [Quit: Αποχώρησε]
Black_Horseman has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi