<BorgCuba>
does this look like I am using something different?
<ssvb>
your log says "libUMP.so.3, needed by ./lib/mali/r3p2-01rel1/armhf/framebuffer//libMali.so, not found"
<BorgCuba>
yes
techn has joined #linux-sunxi
<ssvb>
it is not like the -lUMP command line option is going to help to find the missing library
<BorgCuba>
but it does
<ssvb>
then why are you not happy?
<BorgCuba>
I am happy
<BorgCuba>
I only wanted to (initially) point out that egl.h might need a little modification if you target the frambuffer
<ssvb>
nobody else needs this
<BorgCuba>
good point ;-)
<wigyori>
morning
<ssvb>
BorgCuba: in any case, usually people just install the libraries and use them in a normal way without any weird hacks
<ssvb>
deviating from the installation instructions brings you to the unsupported territory
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 260 seconds]
konradoo77 has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
konradoo77 has quit [Ping timeout: 260 seconds]
konradoo77 has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
prahal has joined #linux-sunxi
<paulk-aldrin>
mhh it seems that usb doesn't work on sun7i here
<paulk-aldrin>
# modprobe g_ether : modprobe: ERROR: could not insert 'g_ether': No such device
Renard has joined #linux-sunxi
prahal has quit [Ping timeout: 255 seconds]
<libv>
paulk-aldrin: yes, this is a long standing issue
<libv>
sunxi-3.4 did not have all usb changes backported
<libv>
so otg does not work
<paulk-aldrin>
oh :(
<paulk-aldrin>
but g_ether uses device mode, not host, right?
<libv>
paulk-aldrin: and?
<paulk-aldrin>
well why does it require otg to work then?
<paulk-aldrin>
isn't usb in device mode at boot?
<libv>
apparently not
<paulk-aldrin>
well, when I plug an USB storage stick, it doesn't power it up either
quitte has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 260 seconds]
konradoo77 has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Client Quit]
Black_Horseman has joined #linux-sunxi
<libv>
wow, that jason guy is selectively blind as well
<libv>
i am removing the word "might"
nedko has quit [Quit: kernel panic]
konradoo87 has joined #linux-sunxi
<paulk-aldrin>
current status: USB not working, Wi-Fi not working, LCD not working
<libv>
why is the wifi not working?
<paulk-aldrin>
no idea
<paulk-aldrin>
the module loads
<paulk-aldrin>
but <6>ADDRCONF(NETDEV_UP): wlan0: link is not ready
<paulk-aldrin>
I had to add usb_wifi_para
<libv>
ok
konradoo77 has quit [Ping timeout: 264 seconds]
<paulk-aldrin>
dhclient fails
<libv>
hrm, rtl8188etv is pretty common
<paulk-aldrin>
indeed
<paulk-aldrin>
I use 8188eu
<libv>
yeah, this still needs to be mapped properly
<quitte>
I don't understand which parts of u-boots debug messages are to be configured at compile and which at runtime. any idea what i need to do to enable MTDDEBUG to be as verbose as possible?
<paulk-aldrin>
oh great, now HDMI segfaults
All has joined #linux-sunxi
All is now known as Guest38412
<oliv3r_>
libv: a10-meminfo is a20 compatible and 'ported' i guess
<oliv3r_>
libv: the name was never updated is all
<libv>
yeah, i learned as much :)
<libv>
oliv3r_: someone should move it to tools and rename it :)
<libv>
there's little point in it living outside of tools
<libv>
paulk-aldrin: my RTL8188ETVs are working just fine
<oliv3r_>
libv: max what was it again, should move it: )
<libv>
ok. i will mail him
<Guest38412>
hi, i have a problem with mali for a13 with 3.4.90 stage/sunxi-3.4 kernel. could any one help me ?
<libv>
Guest38412: you could try explaining the problem
<libv>
ah, floris bos
<Guest38412>
i have a working a13 with 3.0.8 kernel now i want to update kernel to 3.4.90 because i need regmap. i download 3.490 from sunxi update mali libs for android from "sunxi-mali-proprietary-master" but i receive ould not load needed library 'libMali.so' for 'gralloc.sun5i.so' (reloc_library[1285]: 118 cannot locate '__memset_chk'. error
<Guest38412>
android is ICS
<libv>
Guest38412: i don't really support android
<libv>
so use those binaries at your own risk
<paulk-aldrin>
libv, works well on my zatab too
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
<Guest38412>
what is the sunxi3.4 mali version api says 14 but version string returns Mali found r1p1. i think there is a problem there.
<libv>
i just need to make _very_ sure that the aliexpress seller really has the exact hw
<paulk-aldrin>
but it's out of stock apparently
<libv>
yeah, sadly, dx would've been nice
<paulk-aldrin>
libv, at least it has a specific name and brand, not like q88
<paulk-aldrin>
libv, else I can always send you mine
<libv>
paulk-aldrin: q88 is also a very specific device, at least the way we have it in our wiki
<libv>
i am eyeballing one on ebay atm
<paulk-aldrin>
well yeah, but look how many different models are labelled that way
<libv>
oh, yeah, the format is pretty widespread, and has tons of different motherboards indeed
AndChat|7049 has joined #linux-sunxi
<paulk-aldrin>
worst case scenario, I can send you mine and you give it back to me at fosdem or so
<libv>
paulk-aldrin: wait and see :)
<libv>
i asked for build and device numbers
<paulk-aldrin>
ok
<paulk-aldrin>
bbl, gotta cleanup the place, mom coming back soon
<libv>
now patches, then sunxi-tools, then back to dealing with simplefb clocks
AndChat|7049 has quit [Client Quit]
<paulk-aldrin>
384 appears to be correct btw, I had corruptions in ubuntu using 408Mz
<libv>
paulk-aldrin: you might want to do a full run of mem calibration as ssvb suggested
<libv>
paulk-aldrin: also, it might pay to try the 8188eu driver from the a23-sdk
<libv>
and see whether there are any diffs there to help you fire up the wifi
deasy has joined #linux-sunxi
<libv>
paulk-aldrin: what segfault do you get on hdmi?
<libv>
you should have a kernel panic
cajg has quit [Quit: WeeChat 0.4.0]
<libv>
paulk-aldrin: pushed
<libv>
paulk-aldrin: feel free to remove the warning on the top and the NDH_TODO category as well
<paulk-aldrin>
nice, thanks
<diego71>
hi
<diego71>
I'm looking a the dram calibration page
<diego71>
but the raccomended git repository for u-boot supports only cubie boards...
<diego71>
it make sense to use uboot-sunxi repository or better to wait for support of other board (like olinuxino-a20-micro)
<paulk-aldrin>
damn I'm really luck with UART
<paulk-aldrin>
I open up an A10 tablet and there again, Tx/Rx/GND pads on the side of the board
<libv>
paulk-aldrin: thank you, it's pretty cool to have a device that well documented and tested, and now we even found out that this hw is very special
<libv>
paulk-aldrin: :)
konradoo87 has quit [Ping timeout: 244 seconds]
<libv>
paulk-aldrin: probably karma or something :p
<paulk-aldrin>
yep
<libv>
i had a few devices where it was very easy too
<paulk-aldrin>
libv, and guess what? there is a little push button right next to that
<libv>
and then i got my a10s stick
<libv>
where the uart pads are wrongly routed
<paulk-aldrin>
ouch
<libv>
it happens
<libv>
ok, reset or u-boot?
<libv>
paulk-aldrin: start ndhing ;)
<libv>
so i can look at board pictures
<paulk-aldrin>
yep I'll do that
<paulk-aldrin>
that a10 tablet sucks though, I can see the screen flicker
<paulk-aldrin>
but it has a modem and hdmi
konradoo77 has joined #linux-sunxi
<paulk-aldrin>
FYI I still have: 1 Q88, 1 A10, 1 A13 GPS, 1 A20 7" and 1 A13 7" to submit
<paulk-aldrin>
and the zatab to complete
<paulk-aldrin>
the A13 7" doesn't ship with root though, so I'll have to do with FEL
<libv>
oh, the actual q88?
<paulk-aldrin>
the one sold on DX
<paulk-aldrin>
not exactly the same as the one on the wiki
<libv>
ah, ok, that needs very little work actually
<libv>
just test fel and get the android strings
<libv>
oh, and a look at the original psu amperage
zeRez_ has quit []
avsm has joined #linux-sunxi
Nyuutwo has quit [Read error: No route to host]
Nyuutwo has joined #linux-sunxi
MasterChief4942 has joined #linux-sunxi
<MasterChief4942>
Hello, building sunxi-mali driver test, when running ./test/test getting error Error: failed to open X display. How to compile it without X11 for frame buffer?
<BorgCuba>
MasterChief4942, I did exactly that today
<BorgCuba>
hwo did you proceed?
<MasterChief4942>
BorgCuba: just "make test"
<MasterChief4942>
BorgCuba: without running "startx" getting error "failed to open X display". after starting starting getting error "eglInitialize failed"
<BorgCuba>
okay
<ssvb>
MasterChief4942: very likely the sunxi-mali build got EGL_TYPE autodetected as x11 and installed the x11 variant of the blob
<BorgCuba>
yes, you need to link against the right libs
<MasterChief4942>
and how?
<BorgCuba>
prefix the make with EGL_TYPE=frambuffer
rz2k has quit []
<BorgCuba>
or edit your config.mk
<ssvb>
MasterChief4942: as for the "eglInitialize failed" error after startx, either you have an xorg ddx driver without mali dri2 support or mesa is getting in the way
<BorgCuba>
MasterChief4942, do you have appropriate kernel drivers?
<MasterChief4942>
yes, I know it will not work with such X11, but I don't need X11 at all, framebuffer would be good. now making with EGL_TYPE=frambuffer
<ssvb>
MasterChief4942: do you want to use Mali for Qt5?
<MasterChief4942>
ssvb: exactly, you guess :)
<ssvb>
MasterChief4942: well, it's not difficult to guess, because GLES currently is not very useful for anything else :)
<ssvb>
MasterChief4942: try a clean rebuild of sunxi-mali with EGL_TYPE=framebuffer and install it in your system
<MasterChief4942>
ssvb: OMG :) :) SEEMS LIKE IT WORKS!!!!
<MasterChief4942>
ssvb: now will connect LCD backlite
pwhalen has quit [Ping timeout: 272 seconds]
<ssvb>
hi diego71
<ssvb>
you can run a10-tpr3-scan (and get a html report) on a system booted with any release of u-boot
<MasterChief4942>
ssvb: YES IT WORKS!!!!! HUGE THANKS TO YOU. Thanks THANKs thanKS :)
<ssvb>
MasterChief4942: you are welcome :) still successfully running Qt5 needs a bit more efforts (check the link that I provided earlier)
konradoo77 has quit [Ping timeout: 255 seconds]
<ssvb>
MasterChief4942: wickwire is the right person to ask about it, and he is sometimes available on irc
<MasterChief4942>
ssvb: thank you, will find him, just some info about my project: building A13+Linux+QtQuick smartphone, with LTE USB modem IC.
konradoo77 has joined #linux-sunxi
<MasterChief4942>
ssvb: So far done just graphics (UI, skin), built Kernel successfully and got Linux running, also works, FM module BT and uBlox GPS
<ssvb>
diego71: the linked u-boot repository just has optimal dram settings for the cubietruck as an example, and also u-boot dram bugfixes for the impedance configuration and other stuff
<ssvb>
diego71: this is not strictly necessary to get started
<ssvb>
MasterChief4942: a smartphone needs good power management
<ssvb>
MasterChief4942: and sunxi is not particularly great in this respect yet
<MasterChief4942>
ssvb: huh, at first smartphone needs working UI :D what I'm trying to make. I'm sure if I'll get QtQuick running on A13 everything will work fine. at least will use HUGE LiPo RC helicopter battery
<ssvb>
MasterChief4942: :)
jemk has joined #linux-sunxi
rz2k has joined #linux-sunxi
Quarx has joined #linux-sunxi
Quarx has quit [Client Quit]
<libv>
mnemoc: how does nand-part get built?
BorgCuba has quit [Quit: leaving]
<libv>
mnemoc: plain make fails
tonyctl has joined #linux-sunxi
<mnemoc>
libv: iirc it's not finished. but there is a pull request from something to finish it...
<libv>
mnemoc: finish it, and then we'll talk again ;)
<mnemoc>
my head doesn't let me code anymore
<libv>
yeah, that's fine, this doesn't need to happen right away
<libv>
as for meminfo, it's completely standalone
<libv>
it's just a git-mv away
<mnemoc>
ok
<libv>
so it barely adds any extra overhead
<libv>
i am glad that this thing is getting more structure
<MasterChief4942>
trying to run Qt5 test getting: error while loading shared libraries: libIMGegl.so: cannot open shared object file: No such file or directory
<libv>
IMGegl.so?
<MasterChief4942>
yes
<libv>
what, yes?
<libv>
that's pvr crap
<libv>
img for imgtec, and google gives me nothing else
<MasterChief4942>
libv: do you mean it's named IMGegl.so instead of libIMGegl.so ?
<libv>
MasterChief4942: why are you trying to run code compiled solely for powervr?
<libv>
to point out the prefix of the standard library name
<MasterChief4942>
libv: I took this Qt from BeagleBone
<libv>
s/of/against/
<libv>
MasterChief4942: no fucking miracle then
<libv>
pvr crap.
<MasterChief4942>
libv: huh, right, that's part of SGXs driver
<MasterChief4942>
libv: so, this Qt is useless with A13?
* libv
his jaw drops
<libv>
MasterChief4942: yes?
<MasterChief4942>
hm, goo news :D
<libv>
?
<MasterChief4942>
libv: that it will not work with Allwinner A13
<libv>
...
<MasterChief4942>
libv: so I need to build it myself again
<libv>
again?
<MasterChief4942>
anyone please Tell me "libv" is real or a bot? can't determine from his profile
<libv>
MasterChief4942: i am a bot
<Nyuutwo>
MasterChief4942: build again - you don't have building automatized?
<libv>
MasterChief4942: i automatically slam everyone with references to the wiki
<libv>
i am programmed to react to subtle hints of the person asking questions might be doing something stupid, and tend to pull at the thread until the core of the issue is painfully clear
<Nyuutwo>
libv: will this pain be lethal in this case?
<libv>
Nyuutwo: my programming is not complete yet as i still lack that orbital laser
<libv>
aliexpress has not been able to help me either :(
<Nyuutwo>
MasterChief4942: could you say which thought process resulted in copying binaries from BeagleBone to Allwiner board?
<MasterChief4942>
Nyuutwo: just tried if it will work, ages ago
<Nyuutwo>
do you have automated creating rootfs?
<Nyuutwo>
if not you really don;t know what is there
<MasterChief4942>
Nyuutwo: no copied RootFS from zip archive, Olimex wiki article
<MasterChief4942>
Nyuutwo: also don't know what is that :)
<Nyuutwo>
on clean card?
<Nyuutwo>
rootfs?
<MasterChief4942>
no, why clean. at firs build uboot, and wrote with dd, than kernel uimage and script.bin to first 16 mb FATFS an than Rootfs to second EXT3 volume
<Nyuutwo>
ah, i meant only formatting ext3 and unpacking data
<Nyuutwo>
+ zip smells like problems with permissions
konradoo77 has quit [Ping timeout: 272 seconds]
<MasterChief4942>
no, zip contained full SD image sized 4gb, I wrote it to another one card and than copied from there to this
<Nyuutwo>
or you ask why you need is so much trouble to do this
<MasterChief4942>
to have original Olimex card, just in case
<Nyuutwo>
you have 4GB image which was extracted on SD1
<Nyuutwo>
and how you have created SD2?
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
MasterChief4942 has quit [Ping timeout: 250 seconds]
w00tc0d3 has joined #linux-sunxi
w00tc0d3 is now known as Guest17052
Guest17052 has joined #linux-sunxi
Guest17052 has quit [Changing host]
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #linux-sunxi
npcomp|away has quit [Ping timeout: 245 seconds]
<Turl>
libv: lol, orbital laser
konradoo87 has joined #linux-sunxi
FR^2 has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 255 seconds]
akaizen has joined #linux-sunxi
Guest38412 has quit [Quit: Page closed]
<oliv3r_>
Turl: packt wants to take the generism out of the book and make it more a cubieboard focused book
<oliv3r_>
cause cubietech is interested in working on translations
<oliv3r_>
i'm not sure i'm too happy about that
oliv3r_ is now known as oliv3r
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
<Turl>
oliv3r: ouch :(
<Turl>
oliv3r: you just make me remember I haven't turned in my reviews yet too :p
konradoo87 has quit [Ping timeout: 245 seconds]
<oliv3r>
:)
<oliv3r>
Turl: so how do YOU feel about hat? :)
konradoo77 has joined #linux-sunxi
<libv>
hah
<libv>
cubieboard only?
<libv>
just when cubietech is losing all credibility?
<Turl>
oliv3r: I mean, I already read the book so I'm alright :P
<Turl>
but what else can you make to make it more cb focused?
<Turl>
you're going to release it by CB8 EOL if they keep on this way :p
<oliv3r>
aye
<oliv3r>
i like how the book is now
<oliv3r>
its generic
<oliv3r>
i suggested allready adapting the title
<oliv3r>
or release it dual-titled ;)
<libv>
wouldn't talking about olimex as well increase the longevity of this title?
<oliv3r>
the book is full of olimex stuff
<libv>
it won't be long before cubietruck is forgotten
<oliv3r>
i personally favored olimex where i could
<libv>
and you cannot adapt it for your own projects, whereas with the lime and such you can
<libv>
cubietech will be starting a big noisy (and useless and baseless) marketing push for the cb8
<libv>
making sure that everyone knows that the cubieboard, cubieboard2 and cubietruck are almost obsolete
<libv>
as the next best thing is there
<diego71>
ssbv: thanks, i've started with sunxi-uboot and looks like clock >= 432 doesn't work reliable
teksal has joined #linux-sunxi
<ssvb>
diego71: are you using the current default dram settings for your a20-olinuxino-micro?
<diego71>
ssbv: with the default work fine (384), so i tested before 432 e now 408
<ssvb>
libv: it's just dram calibration (to configure optimal dram clock speed and verify its reliability)
<ssvb>
libv: not strictly necessary for ndh right now, but may become a part of it eventually
<libv>
ssvb: how much work is dram calibration today?
<ssvb>
libv: I still need to update thr dram calibration instructions at the linux-sunxi wiki (preferably based on users feedback) and prepare an updated u-boot branch
<ssvb>
libv: the updated u-boot is needed for 'zq' settings to take effect
<paulk-aldrin>
the zatab's board is actually not the same as the Gemei G9 btw
<libv>
paulk-aldrin: the usb-hub is the difference iirc
<ssvb>
libv: so it's still a little bit experimental for unprepared users
<libv>
ssvb: is there a way to automate this, perhaps have 1 u-boot for each sunXi version, and then the mainline kernel with a special rootfs?
<libv>
so people can dd a special image to an sd-card and just let it rip for an h or so?
<ssvb>
libv: yes, I'm trying to figure out what can be done to automate it further
<libv>
ok :)
<libv>
it's hard enough to get people to ndh as is :)
<paulk-aldrin>
I mean, the hardware is nearly the same, but the PCB is *very* different
<paulk-aldrin>
I have another A10 device which is just as similar
<libv>
but perhaps if we can tell people that the calibration will get optimal performance out of their hw
<libv>
paulk-aldrin: ok, new page it is then
<ssvb>
libv: the sd card is a bit problematic because we have many watchdog reboots and they can corrupt the filesystem
<libv>
ssvb: is there a more resilient fs?
<libv>
ssvb: how else would you store intermediate results?
<ssvb>
libv: yes, there should be a way to mitigate this problem
<ssvb>
diego71: html markup works fine in the wiki, so you can copy-paste the a10-tp3-scan report
<ssvb>
diego71: are you using nfs setup for running the test right now?
<libv>
mnemoc: ooh wow, our ml does seem to be getting a lot of bs
<Turl>
ssvb: you could remount ro and sync; it won't catch all of the corruption but it may make it less probable
bonbons has quit [Quit: Leaving]
<ssvb>
Turl: I'm already doing sync, but additionally using remount may be indeed a good idea
<ssvb>
Turl: also storing the intermediate results in a separate partition
<jemk>
ssvb: I used a readonly root partition and a small ext4 for the results and didn't have any problems
<ssvb>
jemk: great, thanks
<quitte>
https://github.com/quitte/u-boot just in case someone else wants to see for himself how there is a problem with erase block alignment on the Cubietruck
<quitte>
Also I'd love to know how it behaves on the Cubieboards
ninolein has quit [Ping timeout: 240 seconds]
konradoo87 has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
astr has quit [Ping timeout: 246 seconds]
Nyuutwo has quit [Ping timeout: 246 seconds]
Nyuutwo has joined #linux-sunxi
jemk has quit [Quit: leaving]
FreezingCold has quit [Ping timeout: 250 seconds]
teksal has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
<diego71>
ssbv: it's running from a sdcard, but nfs should be better. In the next days, I think i'll set up a nfs server with everything...
astr has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
<ssvb>
diego71: as jemk mentioned, sdcard may work just fine
<ssvb>
diego71: I'm just being a little bit paranoid and don't want people to blame me if they corrupt their precious rootfs sdcard with useful data :)
<libv>
pregenerated throwaway images should make it easy enough for people :)