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
<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>
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
<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?
<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
<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 :)