<Mehhh>
I saw you guys talking about it last night.
<Mehhh>
:>
<Mehhh>
didn't realize that was you
<libv>
Mehhh: i'll make some noise today on phoronix
<Mehhh>
I love you.
<libv>
i have q3a
<libv>
no, that is not me
<Mehhh>
Oh, well then. It's complicated.
<libv>
but we have had some things working for a while already
<orly_owl>
is that demo using non-free code or blob for gpu or vpu?
<libv>
orly_owl: it is using the arm binary
<libv>
and gears is actually not that hard
<libv>
i just haven't bothered
svp1 has joined #arm-netbook
<libv>
multiple draws with a highish triangle count and lighting...
<orly_owl>
k
<libv>
i was at that stage at linuxtag already, but with a texture thrown into the mix
Quarx has joined #arm-netbook
<Mehhh>
so, can i throw these mali drivers on a deb image after dd
<Mehhh>
for use in the LXDE Deb image
<libv>
Mehhh: we would very much like this thing to be properly debianized
<Mehhh>
Oh, I was just going to throw them on there in my attempt at getting a #bodhilinux image working correctly
<libv>
i could do so, as i am the author of the only xorg drivers which ever got a debian/ tree included, namely unichrome and radeonhd, but i could do so many things
<libv>
and i would take as much time as anyone else doing so as well, as it's been 5ys
<Mehhh>
honestly, what i want doesn't exist, and that's X / framebuffer / deb / newwer kernel :P
<Mehhh>
So i'm trying to go back to the future
<libv>
so if anyone wants to spend an afternoon with debian packaging, this would be a real boon for linux-sunxi
<orly_owl>
get it up to 88mph then
<Mehhh>
libv, for the next two weeks i have all the time in the world
<jquip>
libv: am up for it
<jquip>
but no prior exp in debian packaging... can learn
<libv>
first make sure that you can use mali-libs as is
<Mehhh>
jq, deb is ez
<Mehhh>
apt ;P
<jquip>
haha :D Yeahhh
<jquip>
Mehhh
<jquip>
am working on u-boot-up-right-now-or-i-will-break-u
<jquip>
so i did this nice thing... i have a device which i have removed all the android partitions except nanda
<jquip>
nandb is my big fat rootfs
<jquip>
--------fastboot partitions--------
<jquip>
-total partitions:2-
<jquip>
-name- -start- -size-
<jquip>
bootloader : 100000 1000000
<jquip>
LROOTFS : 1100000 7c300000
<jquip>
-----------------------------------
<jquip>
copied files over..
<Mehhh>
Has anyone tried compiling mainline?
<jquip>
but idiot that I am... i did not read up on u-boot
<jquip>
am a little lost on boot params..
Sv has quit [Remote host closed the connection]
Sv has joined #arm-netbook
<jquip>
any good reference guide to u-boot??
sspiff has quit [Quit: Leaving]
<Mehhh>
i saw a good post about it on doozan
<Mehhh>
are you working with the mk802?
<jquip>
nope Mehhh sir :) its the h6 netbook
<jquip>
my kernel is loading bootm 48000000
<jquip>
VFS: Cannot open root device "(null)" or unknown-block(0,0)
<jquip>
Please append a correct "root=" boot option; here are the available partitions:
<jquip>
nanda nandb
<jquip>
one step away!!
<jquip>
adding to bootargs nowww
<Mehhh>
did you compile the latest kernel?
<jquip>
nope
<Mehhh>
I def want to see if 3.6~ runs like a champ
<jquip>
its very old actually
<jquip>
3.6 works fine?
<jquip>
i'm running it on 3.0.36+ ... will change once i get the boot sequence.. will try for 3.6
<Mehhh>
No idea, which is why i asked ;)
<jquip>
sorry.. just put that one in there... and had to leave it for a while
<jquip>
Mehhh goodness!
<Mehhh>
:P
<jquip>
actually I have learnt so very much here... its been fun tinkering around .. what with all the brilliant ppl around... i get to do this as a job!!! yay!
<jquip>
and I knew zilch before ... still haven't even touched kernel code... but will... hopefully.. * need much reading
Ershov has quit [Ping timeout: 260 seconds]
<jquip>
erm!! sorry that wasnt meant for this channel :)
<jquip>
was a PM,
<jquip>
but was referring to arm-netbook :P
gzamboni has joined #arm-netbook
Ershov has joined #arm-netbook
robws1 has quit [*.net *.split]
uwe_mobile has quit [*.net *.split]
mripard has quit [*.net *.split]
jelly-home has quit [*.net *.split]
mripard has joined #arm-netbook
uwe_mobile has joined #arm-netbook
robws has joined #arm-netbook
hurtigbuffer has joined #arm-netbook
antonl has joined #arm-netbook
<jquip>
oh yeah! sweet -> linux running off the nand! thanks mnemoc libv hno
<jquip>
that was fun...
sspiff has joined #arm-netbook
<jquip>
mtd driver
<jquip>
next step
rellla has joined #arm-netbook
Quarx has quit [Ping timeout: 248 seconds]
gzamboni_ has joined #arm-netbook
gzamboni has quit [Ping timeout: 255 seconds]
Ershov has quit [Ping timeout: 252 seconds]
<Mehhh>
jquip, what kernel are you using?
Ershov has joined #arm-netbook
luka has quit [Quit: leaving]
<jquip>
Mehh: the normal one? this one was old.. 3.0.36+ from amery's tree..
<jquip>
sorry was away
<jquip>
dont' ask why so old... it was just there... and I flashed it and left it..
tinti has joined #arm-netbook
steev has quit [Remote host closed the connection]
Hexxeh has quit [Remote host closed the connection]
hipboi has joined #arm-netbook
Ershov has left #arm-netbook [#arm-netbook]
popolon has joined #arm-netbook
jelly has quit [Read error: Connection reset by peer]
focus_it has joined #arm-netbook
mSquare has joined #arm-netbook
Quarx has joined #arm-netbook
<Mehhh>
amery's tree jquip? Link? :D
Hexxeh has joined #arm-netbook
steev has joined #arm-netbook
<mnemoc>
jquip: use linux-sunxi's tree, not mine
<mnemoc>
that branch is probably in your local cache because I deleted the not-wip branches from my repo long ago
<mnemoc>
obviusly replacing the broken stock bootloader is recommended
luka has joined #arm-netbook
luka has quit [Changing host]
luka has joined #arm-netbook
rz2k has joined #arm-netbook
<Mehhh>
Is there a prebuilt 3.5 or 3.6?
<Mehhh>
and do they support the MK802
<Mehhh>
mnemoc is the man/woman
<jquip>
TIL: mnemoc is amery :D
<jquip>
ohkie doh mnemoc ...
tinti has joined #arm-netbook
<Mehhh>
o
<Mehhh>
I guess what i need to do is get 3.6/7, build boot hacks, mk802 compat, deb sys, mali, and.... is the framebuffer working yet?
<Mehhh>
I guess no-one else likes to get nerdy at 6AM
<hno>
Mehhh, 3.7 tree have barely no drivers at all yet.
<libv>
hrm, now my quake runs at half the speed it did a month ago :(
<Mehhh>
Ah
<rz2k>
hey libv
<rz2k>
read my pm?
<libv>
rz2k: ah, you're back
<libv>
rz2k: try make ARCH=arm
tinti has quit [Ping timeout: 260 seconds]
<Mehhh>
Are the drivers from the working video compatible with 3.6?
<Mehhh>
the X / 2d/3d accell demo
<libv>
Mehhh: why not use what everyone else uses?
<rz2k>
Mehhh: highest somewhat working stuff is 3.4.x
<Mehhh>
I wanted to have kernel compat with my desktop distro
<libv>
Mehhh: "compat with" means what exactly?
<Mehhh>
also, speed / compat with LTS / Wheezy
<Mehhh>
compatible
<libv>
so you want to load x86 modules in an arm kernel?
<Mehhh>
No
<libv>
what do you want then?
<Mehhh>
I'm trying to make my arm env similar to my desktop
<Mehhh>
in as many ways as possible
<libv>
oh, and the version of the kernel will make all the difference there?
<Mehhh>
No, but 3.0 does make a difference
<libv>
why?
<rz2k>
may be Mehhh uses btrfs :p
<Mehhh>
considering some of the packages i need are 3.2+
<Mehhh>
ROFL
<libv>
Mehhh: which packages?
* mnemoc
uses btrfs on 3.0 ;-)
<Mehhh>
obscure python libs and programs that use post-patched EXt4 fixes
<libv>
?
<libv>
what do you depend on ext4 for? and what does post-patched mean?
<Mehhh>
I think one part was fixed at
<Mehhh>
3.0.49 or something
<Mehhh>
but the other was 3.2
<mnemoc>
you are welcome to fix the usb issues in sunxi-3.4
<libv>
i am quite certain that you have little solid idea as to why you absolutely need the latest kernel version, apart from it being the highest number
<Mehhh>
What is the problem?
<Mehhh>
libv, it's for a prop openstack program that i can't talk about
<Mehhh>
under NDA
<libv>
because you are being very vague as to why you absolutely need this
<Mehhh>
yeh, no kidding
<libv>
good luck fixing/porting then
<Mehhh>
I was just asking a question
<Mehhh>
That's fine, what is the issue?
<Mehhh>
I haven't git the repo yet to see
<hno>
Mehhh, which of the issues?
<Mehhh>
with the USB in 3.4
<Mehhh>
Holy crap, you're on the repo. Nice.
<Mehhh>
[06:18] <mnemoc> you are welcome to fix the usb issues in sunxi-3.4
<mnemoc>
the usb gadget integration was done straight into android.c
<mnemoc>
so needs to be factored out to be able to forward port it
<hno>
mnemoc, is there issues with the USB host as well?
<mnemoc>
also OTG mode switching crashes
<Mehhh>
Crap
<mnemoc>
hno: people has reported problems in usb host even in 3.0... but haven't looked in deep... it seems script.bin related
<mnemoc>
from manufacturers "adjusting" the sources instead of the script.bin file
tinti has joined #arm-netbook
<libv>
crap, i got 41.6 fps on q3a last time round
<hno>
I know of the request_irq issue. Any other?
<mnemoc>
don't remember at the moment
<rz2k>
allwinerized wifi module is dead in 3.4
<mnemoc>
i thought i had fixed that one...
<rz2k>
really?
<mnemoc>
libv: what counts as good?
<rz2k>
I didnt check it long time
<libv>
i have 19.7 now
<Mehhh>
60-80?
<libv>
so the last time counts as good
<Mehhh>
Is there a 3.2.x? What was the demo video done under?
<oliv3r>
my android tablet has wifi issues coming out of sleep. It is connected via USB , but uses an old kernel, i still have to build my own :)
<mnemoc>
Mehhh: no, 3.0, 3.4 and arm-soc's for-next (3.8)
<Mehhh>
is there a reason why .36 and not .4x on the 3.0.xx
<mnemoc>
Mehhh: you are probably using the wrong tree
<rz2k>
we are .52
<rz2k>
use sunxi-3.0
<Mehhh>
Crap, I believe i am
<Mehhh>
Sorry I was going after the version that the image i tested used and got that tree
<Mehhh>
i assumed it was the highest
<libv>
ah, kernel debug printing!
<libv>
hah
<libv>
my cube should gain a few fps on that too
<rz2k>
wait, you run ioquake on lima? :p
<libv>
rz2k: not yet
<libv>
rz2k: be patient :)
<libv>
i have to fully figure out mipmapping before i can realistically look into that
ZaEarl has quit [Ping timeout: 260 seconds]
<Mehhh>
So wait, libv, is your demo running from Android or LoA?
<Mehhh>
or Linux
<rz2k>
ioquake runs on our framebuffer libs
<rz2k>
for mali400
<rz2k>
that came from Tom, who got them from Allwinner
<rz2k>
libv: I've build successfully with arch=arm
<libv>
rz2k: now buy full q3a to run the timedemo
<libv>
this is what i did :)
<libv>
it's a bit bad if you are proclaiming freeness of driver code, when you illegally acquired the game data :)
<rz2k>
I have q3a CD somewhere, so I'm in the clean.
<libv>
cool :)
<libv>
rz2k: you will need to stick the key in the file directly though
<libv>
rz2k: as no input has been wired up
<libv>
again, if anyone feels like hooking evdev into this code directly, please do
<libv>
hah, looks alot better already
<libv>
39.4 :)
tinti_ has joined #arm-netbook
<mnemoc>
by removing printk() abuse?
<libv>
rz2k: at 720p: 1260 frames 32.0 seconds 39.4 fps 10.0/25.4/80.0/8.2 ms
<libv>
mnemoc: yeah, i needed that printk stuff to find out why my code just wouldn't work, the reason was the shifted ioctls
<libv>
2-3 printfs per ioctl, of which there are at least 2 per frame
<libv>
ah, 4
<Mehhh>
Does this SoC get the operating Mhz @ V from script.bin or the kernel itself?
tinti has quit [Ping timeout: 248 seconds]
<libv>
f me. 320fps for the cube companion
<libv>
looks horrible
<libv>
i have 2 buffers
<libv>
and i start rendering to one, then tell fbdev to use this one, then render the next one, then tell fbdev to use the next one
<libv>
no waiting for anything, no dropping of frames
<libv>
at 330 fps, i render to a buffer 5.5 times per actual frame displayed
<libv>
so i pass 2.25 times over each frame while it is being displayed
<rz2k>
hm 1080p 10fps or so
<rz2k>
I should turn on the fb_scaler_layer probably :p
<libv>
it's a good thing that i am not suffering from epilepsy
<Mehhh>
or dyslexia
<libv>
2.75 even
<Mehhh>
github doesn't let you view RAW files in the code-viewer?
<libv>
rz2k: for full screen?
<libv>
rz2k: i doubt that it will help
<rz2k>
lots of tearing without it
<rz2k>
also it finished, I was overestimating, its 5fps :p
<libv>
it looks ok at 720p
<libv>
no tearing being noticed
<Mehhh>
So the new framebuffer libs display CLI?
<libv>
Mehhh: the acronym command line interface makes no sense with respect to mali fb libs
<libv>
mali fb libs means: mali opengles user space graphics drivers with an egl based on framebuffer
<Mehhh>
That's exactly how the "issue" was commented
<libv>
what issue?
<Mehhh>
when (if not still) for prompt
<Mehhh>
for deb
<Mehhh>
That was the claim in relation to why only a headless deb was released
<Mehhh>
or rather, DE or HL only
<hno>
Mehhh, you are talking about fbconsole?
<rz2k>
libv: tried to launch ioquake without X in background? I have segfault after FBIOPAN_DISPLAY ioctl being rejected by /dev/fb0 with operation not permitted
<Mehhh>
yes
<Mehhh>
bingo
<hno>
Mehhh, completely unrelated to mali.
<Mehhh>
Rats, I assumed he was talking about the same thing
<libv>
rz2k: works on the framebuffer libs
<hno>
Mehhh, mali is the GPU doing OpenGLES, leaching off an existing framebuffer for displaying the result.
<hno>
if you want.
<rz2k>
libv: this ioctl goes right after fbioget_f/vscreeninfo
<rz2k>
interesting :/
<rz2k>
you have a linaro setup?
<libv>
yeah, alip
<Mehhh>
Are you using Ub, or did you compile the toolchain for deb?
penguin42 has joined #arm-netbook
<Mehhh>
Are the mali libs / etc from the demo page in the git i'm cloning atm?
<libv>
hrm, the issue with the higher framerates is not with the framebuffer itself
Ershov has quit [Client Quit]
<libv>
this is geometry trouble.
<rz2k>
yep, 4fps
<rz2k>
I have around 11 fps in glmempfbench
<rz2k>
I believe we have something with video memory throughput
<libv>
that sounds quite wrong, but on the other hand, 2.25x the data that the fragment shader has to handle
tinti has joined #arm-netbook
tinti_ has quit [Read error: Connection reset by peer]
<jquip>
mnemoc: Is u-boot lichee-dev chainloaded by default?
<jquip>
I've been having some trouble with my booting sequences and it's a pain... So if I enable mmc_detect of sorts in the lichee-dev u-boot, i can pretty much override that?
lerc_ has joined #arm-netbook
lerc_ has quit [Read error: Connection reset by peer]
lerc has quit [Ping timeout: 255 seconds]
<techn_>
rz2k: I tested bufferswap stuff last night.. it works but needs something to be drawn on gles..
<rz2k>
techn_: I came to conclusion that dri2swapbuffers import in libmali.so is wrong
fenn has left #arm-netbook [#arm-netbook]
<rz2k>
our demo programms dont import it, only mali.so wants it for some reason, and it is provided for x11 by dri2proto/libxcb-dri2
Hexxeh has quit [Ping timeout: 246 seconds]
Hexxeh has joined #arm-netbook
jeremb has quit [Ping timeout: 240 seconds]
rsalveti has quit [Ping timeout: 244 seconds]
steev has quit [Ping timeout: 240 seconds]
mnemoc has quit [Ping timeout: 240 seconds]
jeremb has joined #arm-netbook
popolon has quit [Read error: Operation timed out]
rsalveti has joined #arm-netbook
popolon has joined #arm-netbook
svp1 has left #arm-netbook [#arm-netbook]
<hno>
jquip, lichee-dev do not have an SPL and needs to be chainloaded from some other primary bootloader.
<hno>
s/primary/initial/
<ibot>
hno meant: jquip, lichee-dev do not have an SPL and needs to be chainloaded from some other initial bootloader.
<jquip>
boot0 -> boot1 -> u-boot is already happening once it is inside right?
<jquip>
hno
<hno>
jquip, what problems do you have with the boot sequence?
<hno>
yes.
<hno>
or SPL -> u-boot if booting from SD.
mnemoc has joined #arm-netbook
<jquip>
hno gimme a bit , will paste some logs in 15 min or so...
<jquip>
welcome back mnemoc :)
steev has joined #arm-netbook
tinti has quit [Ping timeout: 244 seconds]
tinti has joined #arm-netbook
<jquip>
hno: am trying mmc u-boot for now... sun4i-spl.bin does not get generated in u-boot/spl/ folder?
<jquip>
hno : if you remember, gnexus had made one u-boot-multi-allwinner ... you heard of that?
<hno>
there is no universal SPL. It needs board specific parameters.
<hno>
what board do you have?
<jquip>
h6-netbook?
<jquip>
pcb says hp1026A
<jquip>
and another tablet..
<jquip>
a10_mid
<Mehhh>
are there premade kernel configs for compiling features / default sd vs nand boot?
<Mehhh>
errr models
<jquip>
nope Mehh
<Mehhh>
kk
<jquip>
if you search around ... some people might have some device specific blog posts or so..
<Mehhh>
Yeh, I just didn't want to use a Mele setup for an MK802 ;)
<Mehhh>
If they aren't compatible (haven't checked, just finished cloning the entire repo)
<jquip>
mk802 ? miniand might have something..
<Mehhh>
Yeh, checking. Most of it is old and was for files that now exist that didn't, or linaro stuff.
<Mehhh>
I found an old deb image i want to see if i can build from and replace kernel
<Mehhh>
rofl.... 4GB image is actually 4.1GB
<Mehhh>
Does the git repo allow people to add files / folders?
<Mehhh>
I want to add a tutorial when i'm done since apparently lots of people are asking for a non-headless deb tut / premade. Didn't see a tutorials folder.
<slapin>
hi, all!
<Mehhh>
:>
<slapin>
is there any USB SCSI (differential) controllers?
<slapin>
or UAS->SCSI converters?
* slapin
wants to attach this one to stick for backups
<slapin>
or stick to it, for that matter
lkcl_ has quit [Ping timeout: 250 seconds]
* slapin
got cool IBM SCSI tape drive
hipboi has left #arm-netbook ["Leaving"]
madmalkav has joined #arm-netbook
<hno>
jquip, a13_mid is in u-boot already. Not sure about h6 netbook.
<hno>
Mehhh, kernel is compatible across pretty much all A10 devices. Just need specific script.bin and u-boot SPL.
<Mehhh>
the voltage, mhz, and ddr speed is controlled within the kernel not script.bin though, right?
<hno>
Mehhh, we generally dump turotirals etc in the wiki at linux-sunxi.org.
<Mehhh>
ah
<Mehhh>
gotcha
<hno>
Mehhh, ddr speed and boot voltage & mhz is set by the initial bootloader (u-boot SPL or boot0/boot1)
<hno>
kernel cpufreq driver then takes over cpu voltage and mhz when started, but that's pretty late in the kernel startup.
<Mehhh>
so the kernel has the final say
<Mehhh>
and don't touch uboot so it has time to scale / not overheat on boot?
<Mehhh>
Sorry, I was reading into the voltages, going to put one kernel compile @ 1.2ghz / 1.4V.
<hno>
kernel can not touch DDR settings.
<hno>
and the bootloader generally configures the cpu @1.08GHz and suitable voltage for that
<Mehhh>
So if it is right, at 1008mhz it uses 1.4, but at 1056-1200 it uses 1.5
<mnemoc>
Mehhh: having the output of https://github.com/maxnet/a10-meminfo of your devices and script.fex files with the info adjusted by the values output by a10-meminfo I can get you the hwpacks for them
<Mehhh>
That would be sick
<mnemoc>
.oO(sick?)o
<Mehhh>
nice
<mnemoc>
.oO(sick is nice???)o
<Mehhh>
Only in America
<mnemoc>
ok...
<rz2k>
lol
<Mehhh>
Ok so, is this over uart, ssh, jtag, etc
<mnemoc>
a10-meminfo? android+adb+su
<Mehhh>
awesome
ZaEarl has joined #arm-netbook
<slapin>
hno: so, no voltage scaling on A1X is performed by kernel then?
<Mehhh>
On the Mk802 it's crappy, not sure about on the Mele / etc, slapin
<RaYmAn>
iirc original mk802 had voltages hard-wired rather than use an actual PMU
<RaYmAn>
so not a lot of voltage scaling there ;)
mSquare has quit [Quit: Leaving.]
<Mehhh>
exactly, it's set
<Mehhh>
oh wait
<Mehhh>
the cheap cheap original
<Mehhh>
I'm on the 1GB, pseudo gen1?
<RaYmAn>
I have a 1gb one too, that's gen1
<Mehhh>
Well, you can switch gen 1 voltages. Not sure if on the fly, but in general.
<Mehhh>
Not sure if there is a limited amount, etc but for certain 1.4<->1.5
<Turl>
allwinner moving to powervr? :|
<Mehhh>
Not sure, only saw the A31 specs on that not the A40
<mnemoc>
there is no public official name for allwinner's quad cortex-a7
<mnemoc>
some call it A15X, some A40, some A31.... but this A31 smells more reliable
<L84Supper>
A-BS until it's released, and probably more after
<hno>
slapin, cpu core voltage scaling is done bu the kernel. but it does not touch ddr settings.
<jquip>
mnemoc: Over here it's marketed as Wishtel Ira Thing 2... But there are others in the market which seem to be similar... So I don't know what to call it..
<jquip>
some pics shall follow soon...maybe tmrw...
Quarx|2 has joined #arm-netbook
<jquip>
hno: custom SPL for each board differs in what way?
<Mehhh>
Did the branch just update?
Kraln has quit [Quit: No Ping reply in 180 seconds.]
Kraln has joined #arm-netbook
DEAT has quit [Ping timeout: 248 seconds]
DEAT has joined #arm-netbook
Quarx has quit [Ping timeout: 265 seconds]
blahee has quit [Remote host closed the connection]
blahee has joined #arm-netbook
RITRedbeard_ has joined #arm-netbook
RITRedbeard has quit [Read error: Connection reset by peer]
<jquip>
this h6 netbook does not support usb adb ...
<mnemoc>
install a terminal app or enable adb over tcp
<jquip>
had to use terminal app to run a10-meminfo, works fine :)
<jquip>
hah.. you typed before me!
<Mehhh>
:P
Max_nl has joined #arm-netbook
* Turl
facepalms @ newspaper
<Max_nl>
this h6 netbook does not support usb adb ... <- If you have a spare SD card, just download the berryboot installer .apk from http://get.berryboot.com/
<Max_nl>
will put the information as meminfo.txt on the card
<jquip>
mnemoc: both the tablet and netbook are marketed (re)branded as Ira by Wishtel ... shall we name them thus?
<jquip>
what else? pics... yes... tmrw.. and have just opened the tablet... Clean PCB design IMO.. and now they have this rubber sticker over the CPU...
<mnemoc>
wiki wiki :)
<jquip>
ahahah :D
<jquip>
yes yes
<jquip>
new page?
<mnemoc>
unless there is one already....
<jquip>
otay...
lerc has joined #arm-netbook
<Mehhh>
Wait, i can ADB to the device over USB and mount the internal partition from a microsd on device?