<E3-work>
kernel/allwinner/common/drivers/misc/sun4i-gpio.c:249: warning: ignoring return value of 'sysfs_create_group', declared with attribute warn_unused_result
<E3-work>
else awusb seems ok
shineworld has joined #linux-sunxi
shineworld has quit [Read error: Connection reset by peer]
christopher has quit [Remote host closed the connection]
vicenteH has joined #linux-sunxi
rz2k has joined #linux-sunxi
<mnemoc>
E3-work: was that commit accepted upstream?
<Dreadlish>
and it can also do everything faster ;)
<hipboi>
i built it
<Dreadlish>
and?
<hipboi>
and found it's usable, in some way
<hipboi>
so i am wondering if there is pre-built one
<hipboi>
if not, i will pack one
<Dreadlish>
but it don't have to work with cedarx
<Dreadlish>
(packaged one)
<hipboi>
hmm
<rellla>
hipboi: willswang made the version with cedarx-support: https://github.com/willswang - based on the latest binarys
<rellla>
further improvement will only have success, if community gets newer/ fixed binarys or even some sources. same for xbmc.
<hipboi>
rella: i know, willswang is a nice guy, Chinese
<rellla>
if so, you should invite him to come here ;)
rz2k has quit []
merbanan has quit [Remote host closed the connection]
eebrah has joined #linux-sunxi
<hramrach>
well, you could also hack the wrapper to set up the output to diffeerent sizes
<hramrach>
so that you can do windowed vlc
<hramrach>
and perhaps figure out if the output can be resized dynamically
<hramrach>
so when user resizes window video follows
<hramrach>
I heard some rumours about CedarX OpenMAX
<hramrach>
but not where it is available and what it actually supports :s
<rellla>
hramrach: around a year ago i heard some rumours, that aw thinks about supporting the community way better ... ;)
eebrah has quit [Read error: Connection reset by peer]
<Turl>
mripard: yup :)
<Turl>
mripard: do you have a branch I can rebase to with the latest uart stuff?
<oliv3r>
mripard: what is latest kernel status? can I boot it on my tablet? console only is fine; i have usb keyboard.... a wait, no usb support, so i'd need to ssh in, which requires wifi, which is usb :S crap nvm
<Dreadlish>
oliv3r: root on sd /etc/rc.local
<Dreadlish>
oliv3r: etc.
<oliv3r>
Dreadlish: what do you mean?
<Dreadlish>
oliv3r: eh, if you have root on sd, you can add something to /etc/rc.local and it will run on boot ;)
gzamboni has quit [Ping timeout: 245 seconds]
<hipboi>
glmark2 score 144
<Turl>
oliv3r: you can use uart
<mripard>
oliv3r: for now, it has UART, timers, IRQ, muxing and GPIOs working
<Turl>
(as i/o, so no usb keyboard needed)
<mripard>
clock should be here pretty soon thanks to Turl
<mripard>
and hopefully emac as well, if I find some time to work on this
<Turl>
mripard: see my question above
brian_ has joined #linux-sunxi
<mripard>
Turl: ah yes, sorry
<mripard>
hmmm
<mripard>
2s
ganbold_ has joined #linux-sunxi
gzamboni has joined #linux-sunxi
<mripard>
Turl: just pushed it on github
<Turl>
mripard: thanks
<Turl>
mripard: I'll send the gates series in a minute
<mripard>
ok :)
<Turl>
I wanted to rebase because of uart<->serial
<Turl>
mnemoc: bitbucket feels a tiny bit speedier
<Turl>
mripard: are you planning to merge all these to your tree and then send a pull req to arm-soc?
Dave77 has joined #linux-sunxi
<mripard>
Turl: I'll merge your clock stuff through my tree yes
<mripard>
if Mike's ok with this
<mripard>
and the dt part of the uart serie as well
<mripard>
I'll probably send a first pull request today
<oliv3r>
tablet doesn't have uart :S and i haven't received my uart breakout board
<mripard>
oh, you're sure it doesn't have a UART?
<mripard>
even some unsoldered pins?
<oliv3r>
there are some
<oliv3r>
but haven't been able to probeit
<oliv3r>
i mean i have scoped it, but they all just give 250 mV - 300 mV
<oliv3r>
gonna open up the back (put foto's on wiki)
<mripard>
ok
<oliv3r>
if i only had the breakout board :p
<mripard>
what SoC is in it?
<oliv3r>
A10
<oliv3r>
linux-sunxi.org/BORA
<mripard>
ok, to bad :)
<oliv3r>
(it's not a bora but that's the easiest link)
<oliv3r>
what's wrong with the A10?
<mripard>
nothing
<mripard>
I'm just searching for someone that could test my A31 patches
<mripard>
:)
<oliv3r>
i wanted to start work on my touchscreen and the G sensor; i figured best start would be the 3.8 tree
<Turl>
mripard: ZaEarl maybe
<oliv3r>
i want a an a20 tablet
<Turl>
but he probably has tablets, not dev boards
<mnemoc>
hopefully hipboi will make some prototypes of his a31 device soon
<oliv3r>
forget a31!! :p
<Turl>
quad core sells 2x :p
<oliv3r>
ok, i don't get this, i installed a crosscompiler on my desktop now, trying to build (over nfs) the same tree I always build. did a make clean of acourse, but now get this: http://pastebin.com/KcyGS64w
<oliv3r>
Turl: i'm praying for A40, quad core A10
<mripard>
oliv3r: you forgot CROSS_COMPILE maybe ?
<oliv3r>
exact same gcc version
<oliv3r>
nope, i learned that mistake :)
<Turl>
it's a header file on your PC that's broken
<Turl>
according to the error
<oliv3r>
yeah, maybe file conflict?
<oliv3r>
i normally build on my server
<oliv3r>
so no gui stuff
<mnemoc>
oliv3r: we can't forget A31 even if it has a crap gpu
<mripard>
the point is: who cares about GPU ? :)
<oliv3r>
mnemoc: of course not, it even so still uses a very similar soc, so support is almost free
<oliv3r>
mripard: xbmc/tablet :(
<oliv3r>
mripard: libv :p
<mnemoc>
oliv3r: the ar100 core will give us a big headache
<oliv3r>
mnemoc: true
<oliv3r>
Turl: ok my server doesn't have image.h; on my desktop, it comes from 'lensfun'
<oliv3r>
so u-boot probably checks for its existance
<mnemoc>
MAGIC_VER_A10SA = 0xA10A, <--- f* allwinner's per-soc tree
<hipboi>
i have an A31 tablet at hand
<mnemoc>
obviusly the sun5i maintainer chosen to ignore that A10 exists
<mripard>
hipboi: I can send you a kernel image to boot, if you tell me to what UART you have access to
<hipboi>
i uart0
<mripard>
ok
<hipboi>
need to go now
<mripard>
it's not in a hurry, I'll ping once I have something that might have a chance to boot :)
<hipboi>
ok
<mripard>
thanks :)
lorenx has joined #linux-sunxi
<hipboi>
back later
hipboi has left #linux-sunxi ["Leaving"]
gzamboni has quit [Ping timeout: 264 seconds]
<oliv3r>
mnemoc: it turns out the openwrt guys fell into the same trap, i don't think it's abug with either; but it could possibly be a u-boot bug or sunxi-bsp bug
<oliv3r>
i addeda ll sorts of fancy formulas and tried to be as verbose as possible about the clocks in the A10
<Turl>
oliv3r: yeah I used the page
<oliv3r>
of course i forgot the details :p but it's an easy place to refresh memory
<mripard>
Turl: or you can send a patch to extend clk-composite to have fixed-rate and factor clocks :)
<Turl>
mripard: yeah, it could be for fixed rate
<Turl>
factor clocks are sunxi specific though
<Turl>
we need it merged first anyway :)
<Turl>
mripard: I also need to find out if there's anything that feeds directly from axi/ahb/apb and not from a gate
<mripard>
ah, yes
<Turl>
mripard: ok, gates sent
<mripard>
yep, saw that :)
<Turl>
hm, I forgot to cc the aw people
<Turl>
I knew I was missing something :)
rellla has joined #linux-sunxi
gzamboni_ has joined #linux-sunxi
ZaEarl has joined #linux-sunxi
<oliv3r>
Turl: why would however made this image, store all modules in /system/lib/modules; and not in their own subdirs? any advantage?
<Turl>
oliv3r: ease of use? you can just insmod /system/lib/modules/$name.ko and be sure that's it :)
hipboi has joined #linux-sunxi
<oliv3r>
i see the sunxi-bsp hwpack does it too
<oliv3r>
well with lib/modules/kernel.version/ i could have two sets of modules :P
<Turl>
wb hipboi
gzamboni has quit [Ping timeout: 264 seconds]
bsdfox has joined #linux-sunxi
<hipboi>
Turl: back at home
shineworld has quit [Quit: Leaving]
<Turl>
:)
<Turl>
it's my turn to leave now :p
<Turl>
see you all later
lorenx has quit [Quit: irc2go]
techn_ has joined #linux-sunxi
<oliv3r>
but no turl! i have one more question!
<oliv3r>
if it's ok to dd the created file to nandd
<oliv3r>
oh wow, i finally 'fixed' my broken boot image. on nanda/linux/linux.bmp there was a boot image, but it was 'broken' I always thought that's the way it should be, so now i just replaced the image, and tada, it works
<oliv3r>
there's more images, like you could multiboot based on an image you can click
eebrah has joined #linux-sunxi
rellla has quit [Remote host closed the connection]
mdfe has joined #linux-sunxi
eebrah has quit [Ping timeout: 252 seconds]
<bsdfox>
anyone using gpio with a10?
n01 has quit [Quit: leaving]
<oliv3r>
think so
ganbold__ has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
<libv>
mdfe: ah, right, i also cannot access this document directly
<libv>
So direct dl is not possible, i first thought this was because of Turl his location that he was not allowed to access it
<libv>
mdfe: did the device arrive yet?
<mdfe>
yep
<libv>
nice :)
<mdfe>
but just the device
<libv>
no time tonight to gut it though :)
<libv>
mdfe: with the one usb->uart adapter we should be able to locate rx/tx already :)
<libv>
and solder some cabling in place
<mdfe>
usb->uart stuck somewhere in china
<libv>
mdfe: what are your first impressions on the mid7042 btw?
<mdfe>
hm
<libv>
mdfe: really? ouch.
<mdfe>
damn german seller
<libv>
i bought mine in june or so, so i do not remember what happened there
<mdfe>
however, I will try to deploy it usb otg will work out of box
<mdfe>
with some luck
Dave77 has quit []
ibrah has joined #linux-sunxi
vicenteH has joined #linux-sunxi
hipboi has quit [Quit: Leaving]
<E3-work>
mnemoc: accepted ive no clue, but that fix problems here too
<E3-work>
(two different ones)
E3-work is now known as Epsylon3
eebrah has joined #linux-sunxi
<Epsylon3>
trying CONFIG_DEBUG_INFO_REDUCED on 3.0.62
<Epsylon3>
look like this problem has a large range
<Epsylon3>
yep, its the same
traeak has quit [Ping timeout: 264 seconds]
ibrah has quit [Ping timeout: 245 seconds]
traeak has joined #linux-sunxi
<mnemoc>
Epsylon3: as it's not mainlined, can you please submit it to our ML? can't pick it directly in that case
<Epsylon3>
add .patch to the url
<Epsylon3>
but hmm
<Epsylon3>
only the gadget makefile is required
<Epsylon3>
because that doesnt fix 3.0.62 with CONFIG_DEBUG_INFO_REDUCED :p
<mnemoc>
Epsylon3: I know how to get a patch from github. The thing is that it's not "my repo", so commits need to go to the mailinglist so other devs have the chance to comment
<mnemoc>
if it's a mainlined "critical bugfix", I can skip that
<mnemoc>
but it's not the case
<Epsylon3>
yep nevermind
<Epsylon3>
will remove the reduced one
<Epsylon3>
only keep gadget
<Epsylon3>
so, no i dont send it on ML
<mnemoc>
but don't get me wrong, I do want the fix
<mnemoc>
ok
<Epsylon3>
reduce one is another bug, related but not the dwarf one
<Epsylon3>
and this flag is not our default
<Epsylon3>
and this patch is only required on the kernel with f_fs, not 3.0
<Epsylon3>
hmm
<Epsylon3>
the file is here, but seems not used
<Epsylon3>
g_ffs.c:66:#include "f_fs.c"
<Epsylon3>
:p
<Epsylon3>
weird that only happens on 3.4 branch
<Epsylon3>
no, its because :
<Epsylon3>
# CONFIG_USB_FUNCTIONFS is not set
<Epsylon3>
:p
ibrah has joined #linux-sunxi
eebrah has quit [Read error: No route to host]
techn__ has joined #linux-sunxi
<Epsylon3>
hmm is there a way to put the device in FEL mode from uboot console ?
techn_ has quit [Ping timeout: 246 seconds]
<Epsylon3>
nvm, got it, look like we need to press during boot, and not hold it
von_fritz has joined #linux-sunxi
<mnemoc>
Epsylon3: afaik u-boot is already too late for jumping to FEL
ibrah has quit [Ping timeout: 264 seconds]
<mnemoc>
Epsylon3: but there is a mini bootloader for mmc that jumps directly
<Epsylon3>
tx, i understand better now
<mnemoc>
Epsylon3: see fel-boot in sunxi-tools
<Epsylon3>
awusb
n01 has joined #linux-sunxi
<mnemoc>
once in fel mode you can use either livesuit with the retard kernel driver for fel, or the libusb based tools
<mnemoc>
fel-boot is only work around to trigger FEL in devices which it isn't trivial
paulk-desktop has joined #linux-sunxi
<Epsylon3>
and awusb ?
<Epsylon3>
kernel module
eebrah has joined #linux-sunxi
ganbold___ has joined #linux-sunxi
ganbold__ has quit [Ping timeout: 245 seconds]
<mnemoc>
Epsylon3: yes, awusb is the "why? oh, why?" kernel module to enable livesuit for ubuntu64
<Epsylon3>
that switch to fel mode too ?
<Epsylon3>
from os ?
<mnemoc>
no no
<mnemoc>
you always need to boot into fel yourself
<Epsylon3>
ohhh
<mnemoc>
*once* in fel mode, you can pick how to deal with fel
<Epsylon3>
its for host ? lol
<Epsylon3>
hmm
<Epsylon3>
will read the code
<mnemoc>
"fel" is a usb slave thing, that lets you read/write/call mem from your computer using usb
<Epsylon3>
yep i see, motorola use that for upgrades
<Epsylon3>
some kind of serial mode
<Epsylon3>
at bootloader stage
<mnemoc>
awusb is a kernel driver that detects the id of an allwinner device in fel mode nad "enables" livesuit
<Epsylon3>
ok, for host so
<mnemoc>
yes
<mnemoc>
in sunxi-tools we have a command line `./fel` that uses libusb to let you script your way into the device
traeak has quit [Ping timeout: 248 seconds]
<mnemoc>
the idea was to split a lib out of it and then use that to implement a (free) flashing tool
<Epsylon3>
i need to doublecheck, but i suspect some adb problems with the sunxi:udc: fix gadget init after loading as module
<Epsylon3>
but i maybe have also some usb communications problems
<Epsylon3>
fastboot locks sometimes
<Epsylon3>
adb push also
<Epsylon3>
so im on the rel2 system.img with my modules only
<Epsylon3>
(and kernel)
<Epsylon3>
[130481.551121] usb 3-2: not running at top speed; connect to a high speed hub
<Epsylon3>
[130481.551124] usb 3-2: no configurations
<Epsylon3>
[130481.557203] usb 3-2: can't read configurations, error -22
traeak has joined #linux-sunxi
christopher has joined #linux-sunxi
<Epsylon3>
on device : [ 174.200000] WRN:L1367(/repos/cubieboard-tv-sdk/kernel/allwinner/common/drivers/usb/sun4i_usb/udc/sw_udc.c):handle_ep0: ep0 setup end
<mnemoc>
for reference to be reviewed and relevant stuff brought into sunxi's kernet
<mnemoc>
from i-oink's source drop
<mnemoc>
but now with the -dev branches (which have history) that's mostly historic junk
<mnemoc>
lichee*/ and import/ branches are there for people (like you) to review allwinner changes and submit patches for the important bits to the sunxi ml
<techn__>
anyone seen <3>>>> no handle, treat it handle over, iir 07
<mnemoc>
techn__: that reminds me an old uart bug
<mnemoc>
gzamboni_: explore the history of your favourite subsystem/driver across all the lichee*/*-dev branches, and use that to improve our tree
<gzamboni_>
mnemoc: ok, will do so
<mnemoc>
gzamboni_: keep in mind that the first goal is to unify all sunNi-foo drivers into sunxi-foo equivalents
<mnemoc>
if you fix something in one sunNi-foo it's critical you do the same in the other
<mnemoc>
unifying first makes that simpler
<gzamboni_>
you're right
<mnemoc>
sun[67]i changes are most likely also relevant to sun[345]i
<mnemoc>
but maintained. they already abandoned the 3.0 tree
<techn__>
mnemoc: found reason.. allwinner-dev-teams kernel is old and has UART defined in devices.c
<techn__>
which is wrong type
<techn__>
.. have to test it still
<mnemoc>
can you change the manifest to use ours?
<techn__>
Turl has added some pathes top of ours
<mnemoc>
any you need?
<mnemoc>
also, as we "want" to deprecate 3.0, it would be important to test/fix sunxi-3.4 to work on android 4.0
<oliv3r>
ok using the same .config; i got a kernel half the size. hexdumping the first few lines, gives me a nice linux header with version info, the one I extracted has no such thing. it is a kernel, but it's 8mb and the kernel header doesn't show up till much much later in the file :S
<xenoxaos>
debugging built in?
<oliv3r>
must be
<oliv3r>
he forked mnemoc's tree so that's no different
<oliv3r>
but would that change the header?
<mnemoc>
problem with forks is that rarely get sync'ed...
<oliv3r>
well he could have used different build options; fine
<oliv3r>
i used his .config
<oliv3r>
so now the kernel _should_ boot
<traeak>
Epsylon3: not kinect..there's that other new 3d thing that sits in front of your computer monitor pointing up
<traeak>
that is precise
<Epsylon3>
a new kind of kinect ?
<traeak>
i can't even remeber the name of it...wai tone
<Epsylon3>
Hype or Hope? We’ll Soon Find Out – Leap Motion “Minority Report” Controller Ships In May
<traeak>
i suspect coding the firmware in this device or the driver is the headache
<Epsylon3>
glasses ?
<Epsylon3>
ive seen google glasses could be at 1500$ too
<Epsylon3>
Those who are chosen through the promotion will need to purchase the Glass Explorer Edition for $1,500 and travel to one of three events to pick it up, which will take place in New York, San Francisco, and Los Angeles.