ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
orly_owl has quit [Ping timeout: 260 seconds]
torindel has quit [Ping timeout: 248 seconds]
torindel has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has quit [Ping timeout: 252 seconds]
torqu3e has quit [Quit: torqu3e]
torindel has quit [Ping timeout: 248 seconds]
Dave77 has quit [Ping timeout: 246 seconds]
torindel has joined #linux-sunxi
calris_ has quit [Quit: Page closed]
torindel has quit [Ping timeout: 248 seconds]
torindel has joined #linux-sunxi
torindel has quit [Ping timeout: 245 seconds]
torindel has joined #linux-sunxi
torqu3e has joined #linux-sunxi
Dave77 has joined #linux-sunxi
torindel has quit [Ping timeout: 256 seconds]
torindel has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
hramrach has quit [Ping timeout: 276 seconds]
hramrach has joined #linux-sunxi
w00tc0d3 has quit [Quit: No Ping reply in 180 seconds.]
w00tc0d3 has joined #linux-sunxi
w00tc0d3 has joined #linux-sunxi
w00tc0d3 has quit [Changing host]
w00tc0d3 has quit [Quit: No Ping reply in 180 seconds.]
w00tc0d3 has joined #linux-sunxi
w00tc0d3 has joined #linux-sunxi
w00tc0d3 has quit [Changing host]
calris has quit [Ping timeout: 272 seconds]
calris has joined #linux-sunxi
Dave77 has quit []
Wetomelo has joined #linux-sunxi
<Wetomelo> Hello. I'm lost trying to compile some modules for mi MiniX
<Wetomelo> i'm compiling directly on the box
<Wetomelo> downloaded the kernel source
<Wetomelo> but don't know where to make symlinks because make doesn't find init.h
<Wetomelo> ?
Wetomelo has quit [Remote host closed the connection]
rz2k has joined #linux-sunxi
calris has quit [Ping timeout: 264 seconds]
rellla has joined #linux-sunxi
calris has joined #linux-sunxi
shineworld has joined #linux-sunxi
n01 has joined #linux-sunxi
<oliv3r> [1004998.467859] usb 1-5: Product: MP907C
<oliv3r> [1005003.491468] scsi16 : usb-storage 1-5:1.1
<oliv3r> [1004998.467861] usb 1-5: Manufacturer: Allwinner
<oliv3r> [1004998.467862] usb 1-5: SerialNumber: 20080411
<oliv3r> this means its not in fel mode, right?
<oliv3r> i was hoping it would boot to fel mode :(
<oliv3r> Turl: i think they control several sections with 1 bit
<oliv3r> Turl: it's in the datasheet that way, and their chinglish is hard to understand sometime
<oliv3r> Turl: but i think its 1 bit per address line or something? or maybe it's just 1 bit and the rest nop
<oliv3r> i don't know :)
<oliv3r> but, the kernel with the nand fix boots, it refuses to mount /system though (nandd) so i have a running kernel with running initramfs, /cache is mounted, but not nandd (/system)
<oliv3r> nvm, it's running an old kernel; so it probably boot recovery mode!
<oliv3r> also, while the kernel boots and I can access android, i can no longer obtain root permissions and the hardware engine gets permission denied errors: http://paste.debian.net/245070/ is a short paste of the log
<oliv3r> full log here: http://paste.debian.net/245072/ (yes android stuffs :p )
<Turl> mali and ump loaded?
vicenteH has joined #linux-sunxi
<oliv3r> i can't check, i only have user :p my root is gone
<oliv3r> i'll immediatly admit that I have no clue as to how root etc works on android
calris_ has joined #linux-sunxi
<calris_> oliv3r: ping
<oliv3r> calris_: pong
<oliv3r> Turl: recovery mode boots fine and i have root
<oliv3r> Turl: but the new kernel (probably has 'some' issue that I cannot check') lost root permissions somehow (how in the world does that work?!)
<calris_> oliv3r: I just test SRAM B - Read and write from U-Boot no problem
<oliv3r> calris_: assumed as much :)
<oliv3r> calris_: i think you probably need userland/kernel support for ARM trustzone
<calris_> oliv3r: and another idea - .rodata and .bss do not really need to be in the 20kiB loaded from MMC
<calris_> oliv3r: .bss is already not part of the 20kiB (it's located in SDRAM at the moment)
<calris_> oliv3r: But the cool thing is, we could actually use SPL to load it's own .rodata from the MCC
<oliv3r> calris_: TrustZone-capable processors start executing in Secure state on power-on, if the boot loader does nothing to change the security state, all software will run as Secure (removing any security benefits).
<calris_> oliv3r: Of course, that is provided the MMC driver does not need .rodata
<oliv3r> calris_: how can .bss be in SDRAM if SDRAM isn't available/initialized
<Turl> oliv3r: my bet is that you didn't upload the modules .ko to match the new kernel
<calris_> sdram is initialised before .bss is accessed
<Turl> s/upload/update/
<oliv3r> Turl: i did :p
<oliv3r> Turl: but would that prevent me from having root?
<Turl> if you mean su by root, no
<Turl> su is just a suid binary
<oliv3r> Turl: i get 'permission denied'
<oliv3r> so how did a kernel swap break that? ramdisk is exactly the same
<oliv3r> Turl: and how can i best fix it?
<oliv3r> i know i have to fix the ramdisk anyway, cause there's stupid modules being loaded i don't have anymore and won't use/need
<oliv3r> (initramdisk loads modules)
<Turl> oliv3r: idk, did you check permissions to see why it's denying them?
<oliv3r> calris_: i'll admit i know nothing of .rodata, .bss etc :p but SPL does of course put the boot1 loader into sdram; that's its sole purpouse, load mmc driver, read boot1 to sdram
<calris_> SPL loads U-Boot into SDRAM
<oliv3r> calris_: boot1/u-boot yes sorry :)
<oliv3r> i was thinking of boot0's sole purpose; but it's identical yeah
<oliv3r> Turl: you mean permissions on the su binary?
<oliv3r> oh, wait
<oliv3r> Turl: to be able to su, you need the binary. if /system doesn't get mounted (where su is on) it can't su :)
<oliv3r> of course, why can't it mount /system :)
<oliv3r> i'll just copy the su binary into my initramfs for now
calris_ has quit [Quit: Page closed]
hansg has joined #linux-sunxi
<oliv3r> Turl: where is your android tree again? can i copy your initrc/ramdisk?
<Turl> techn_: I just saw your pull req, can you set the branch to pull to correctly on it?
<oliv3r> i'll use that ;)
<oliv3r> Turl: i've put su into the initramfs under /sbin
<oliv3r> so should hopefully work now :)
<oliv3r> Turl: i'll have to talk to you abotu init.sun4i.rc sometime; not so sure it's 'up to date' or even correct; but i don't know anything about this stuff, so don't know
e-ndy_ is now known as e-ndy
<Turl> oliv3r: ok, feel free to email or msg me about it anytime
<shineworld> [ 3.690000] mmc0: new high speed SDHC card at address 4107
<shineworld> [ 3.690000] mmcblk0: mmc0:4107 SD08G 7.42 GiB
<shineworld> [ 3.760000] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
<shineworld> [ 3.770000] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
<shineworld> [ 3.700000] mmcblk0: p1 p2
<shineworld> [ 3.780000] EXT4-fs (mmcblk0p2): Filesystem with huge files cannot be mounted RDWR without CONFIG_LBDAF
<shineworld> [ 3.900000] UDF-fs: No partition found (1)
<shineworld> why don't mount ext4-fs ?
<Turl> shineworld: Filesystem with huge files cannot be mounted RDWR without CONFIG_LBDAF
hramrach has quit [Remote host closed the connection]
<shineworld> Ins't huge, just 32Mb
<shineworld> the boot partition
<Turl> yeah but your ext4 fs was created with hugefiles support
<shineworld> /dev/sdc2 : start= 36864, size= 65536, Id=83
ganbold_ has joined #linux-sunxi
<shineworld> ah...
<shineworld> how can I change it ?
<Turl> tune2fs -O ^huge_file /dev/mmcblk0p2
<Turl> fsck /dev/mmcblk0p2
<Turl> or just enable that option on kernel (CONFIG_LBDAF) if you don't want to touch fs
<shineworld> I will re-compile the android with new option
<shineworld> thanks for help
<Turl> you're welcome
wingrime has joined #linux-sunxi
<oliv3r> Turl: for example, why does sun4i.rc use /mnt/sdcard where it seems that /storage/ is more common these days
<Turl> what branch are you looking at?
<oliv3r> Turl: oh excellent question
<oliv3r> i alwas forget that; i assume master is good for some reason :)
<Turl> master is ics
<Turl> aka the oldest :P
<oliv3r> Turl: so jb is best
<oliv3r> ok, i'll compare that and probably use that :)
<oliv3r> yeah that looks much better
<oliv3r> Turl: ok then why is uevent listing all device entries? i thought it should list only unique to sun4i entries, since both uevent.rc and uevent.{target}.rc are loaded?
hramrach has joined #linux-sunxi
<oliv3r> ok this is strange, i'm sure i've added my own kernel; but it boots the old kernel, with my new ramdisk?!
vicenteH has quit [Ping timeout: 248 seconds]
<oliv3r> oh bah, android doesn't work at all; i kept dd-ing the file to /dev/nandc instead of /dev/block/nandc so i never loaded a new kernel
<mnemoc> Turl: thanks for the URLs. will try to adapt soc-detect to something similar
<oliv3r> what is boot.scr; and why is it optional for hwpack, but required for android (yet the make file doesn't depend on boot.scr)
gzamboni has joined #linux-sunxi
<hramrach> it tells the boot loader what to do
<oliv3r> boot.script :D i guess when building an android image that gets loaded by boot.axf it's not important
<hramrach> if you have one already the hwpack does not need to provide a new one. Actually it should not to be as compatible as possible with different devices and boot methods
<hramrach> I don't do android so I have no idea what does it need boot.scr for
<hramrach> you can get away with compiling arguments int u-boot and kernel
<oliv3r> hramrach: sunxi-bsp fails on missing boot.scr ;)
<mnemoc> oliv3r: for android boot.scr seems to be mandatory.
<mnemoc> but linux it's optional. and uEnv.txt is prefered anyway (uEnv.txt is plain text, boot.scr needs to be pre-compiled)
<oliv3r> ok so how do I tell mkbootimg that it has to use a boot.scr (which fails to build atm, but I can sort that later)
<mnemoc> touch boot.scr ?
<mnemoc> I doubt u-boot will die if the file is empty
<shineworld> well my system is perfectly working now :)
<shineworld> just to match specs have you run Antutu bench on cubie-ics ? I'm interested to match RAM/CPU and FLOAT values (first three in bench result) ... overall float because I use intesively float
<shineworld> CUBIE - ICS 4.0.4 - K 3.0.56 - CPU/RAM/FLT/2D/3D = 616/673/163/293/639
<shineworld> what I was amazed is Float result : 164 ... my Xperia X8 (running Cyanogenmod 7) with armv6 reach 217 and is only a 600Mhz
<shineworld> don't matter... works
<mnemoc> using the fantasy governor?
<shineworld> always ondemand
<mnemoc> by default ondemand is very slugish
<shineworld> could be something changed in antutu from 3.0 to 3.2
<shineworld> do you use onsmartassv2 ?
<mnemoc> i don't use android except on my nexus devices
<shineworld> ah ok ... I use only android
<mnemoc> and there I use (rooted) stock images from G.
<shineworld> linux was an easter egg found inner :)
<mnemoc> :)
<shineworld> however I'm ready to move to a more fresh android version for cubie
<mnemoc> for the sake of testing try using 'performance' instead of 'ondemand'
<shineworld> what repo do you suggest ? (there are so much forks in git ..)
<mnemoc> linux-sunxi's obviusly
<mnemoc> noticed on what channel you are? :p
rellla has quit [Remote host closed the connection]
<shineworld> yeah, but I've saw that there are a lot of guys (like Turl) that often mention other git places (or I'm doing confusion with chat) :)
<mnemoc> devs have personal repos
<mnemoc> but stuff converges on linux-sunxi's repo
<mnemoc> back in 15m
<shineworld> uhm... I'm lost
<mnemoc> if you want to make a long term image, use linux-sunxi's sunxi-3.0
<shineworld> I don't find android sources and that page make me confusion about where git could be : http://linux-sunxi.org/Android
<mnemoc> if you want to help testing new patches, use stage/sunxi-3.0 or (after a direct recomendation) a personal branch of a dev
<mnemoc> if you want to help testing 3.4 on android, use stage/sunxi-3.4
<shineworld> ah ok !
ZaEarl has quit [Quit: Ex-Chat]
<shineworld> my mistake was thinking that linux-sunxi manages a repo of android sources, instead it manages the kernel matter ... I'm falled in wrong :) sorry for mistake
ZaEarl has joined #linux-sunxi
n01 has quit [Read error: Connection reset by peer]
<mnemoc> shineworld: turl maintains the CM repos for sunxi, but haven't convinced him to move that in yet
n01 has joined #linux-sunxi
ganbold_ has quit [Remote host closed the connection]
<Turl> oliv3r: those files are based on AW's so they might contain uncleaned extra stuff
<Turl> mnemoc: yw
<mnemoc> Turl: I'm still shocked by your choice of calling sun4i "everything except sun6i"
<Turl> it's not everything except sun6i
<Turl> it's "sun4i-compatible"
<mnemoc> :)
<Turl> if sun6i isn't there'll be a sun6i driver and anything compatible with it will use it
shineworld has quit [Quit: Leaving]
<Turl> say, sun8i or whatever
<mnemoc> ok. the sun4i-compatible thing makes sense
<mnemoc> :)
<Turl> mnemoc: when the idea "clicks", it makes a lot of sense :)
<mripard_> mnemoc: the point was with the introduction of A31, if we didn't change that, we would have had, for example two compatibles for the watchdog
<mripard_> a sunxi-wdt
<mripard_> and a sun6i-wdt
<mripard_> which didn't make any sense
<mripard_> (plus what said Turl )
<mnemoc> mripard_: in the case of -wdt, why can't the same .ko handle both?
<Turl> mripard_: Mike already merged the clock compatible rename btw
<mripard_> mnemoc: it can, it's not really a matter of how it's implemented
<mripard_> but more what is the behaviour, and are those two compatible
<mripard_> and the fact is that, even if it's a tiny difference, they aren't
<mripard_> but you can definitely have a single driver that handle both cases
<mnemoc> what I fear is to end up having sunNi-foo.ko in mainline and with an N that does't match the family name
<mripard_> hmmm, I see your point
<mripard_> but keep in mind that while the internal code organization can change at any time
<mripard_> the dt binding can't
<mnemoc> from a code perspective, sunxi-foo/sunNi.c and sunNi_ prefixed methods inside a sunxi-foo.ko with proper compatibility ot matching should work cleanly
<mripard_> so we can always address a bad module naming
<mripard_> not a bad compatible choice
<mnemoc> having sun4i-foo.ko modules loaded on a sun5i sounds awful
<mnemoc> and having sunNi-foo.ko for each sounds even worse
<mnemoc> while the same sunxi-foo.ko + ot matching voodoo will know what to use
<mnemoc> and keep it clean from a code and a lsmod/user perspective
<mripard_> to me, having a sunxi-wdt.ko stuff, but you know, it's sunxi, but without sun6i, sun7i, and whatever name will follow
<mripard_> +sounds awful
<Turl> mripard_: is there any work pending on pinctrl?
<mripard_> Turl: more or less, why?
<mnemoc> what I'm telling is that sunxi-wdt.ko should handle them all, BUT use ot matching to know what specific soc compatibility to use
<Turl> mripard_: because Linus asked if we want to take the clock pinctrl patch via him or other tree
<mripard_> Turl: and yes, I saw that mike merged it
<mripard_> ah, yes, I saw the mail
<wingrime> mnemoc: can we join "sun4i-i2c" and "sun5i-i2c" naming ?
<wingrime> mnemoc: will it break compat?
shineworld has joined #linux-sunxi
<mnemoc> and instead of sun4i-foo.c and sun6i-foo.c, sunxi-foo/sun{4,6}i.c + glue.c
<mripard_> mnemoc: like I can said, we can always figure that later if that's not convenient enough for you
<mnemoc> mripard_: i'm not telling what is convenient for me. I'm asking for not making sunNi-foo drivers and handling the N diff within dts and inside the driver, to keep lsmod and user sanity
<wingrime> mnemoc: can you apply mine unification patches
<mnemoc> wingrime: sunxi-i2c should be fine
<mnemoc> wingrime: poke me again in ~2h, really busy with $work$ and working from a coffee shop :
<mnemoc> :|
<Turl> mnemoc: at least you're drinking good coffee I hope
<wingrime> :|
<mnemoc> Turl: indeed :)
<mnemoc> mripard_: sooner than later a diff within one particular soc will arise and this split away policy will become even uglier
<mripard_> mnemoc: if your only concern is about probing, send a patch to add a module alias to sun5i whatever
<mripard_> like I said, we'll see when that SoC comes to do whatever's needed to make it clean
* mnemoc shuts up and returns to his dog washing job
<Turl> mnemoc: did you get to use sunxis for washing dogs yet?
<mnemoc> it seems I'll be stuck with via-based "industrial" din-rail computers for a while
Guest87495 is now known as fredy
<Turl> :(
torqu3e has quit [Quit: torqu3e]
hansg has quit [Quit: Leaving]
<wingrime> Trul:mnemoc: how about to add revision and serial to cpuinfo
<wingrime> Trul: a13 manual says that cpu have unical number
FergusL has left #linux-sunxi ["Quit"]
<mnemoc> wingrime: the soc-detect branch has the change to allow retriving it
<mnemoc> in theory
<wingrime> "in theory"?
<wingrime> what a problem
<Turl> it doesn't work reliably yet
dolence has joined #linux-sunxi
<dolence> hello everyone!
<Turl> hi dolence
<dolence> please, I'm a bit confuse regarding installing X + mali drivers on debian linux-sunxi
<wingrime> mnemoc: I need you apply my PM, device.c , cedarx unification patches , expectly device.c, I want remove some SUN4I snd SUN5I defines, for make naming "sunxi-i2c",so I need patch device.c for it too
<mnemoc> wingrime: ok
<wingrime> mnemoc: all patches for 3.4 and now seems have one line conflict with last patch
<dolence> after compilling kernel with mali400 enabled as module and installing rootfs on SD card, I wasnt suposed to have a mali400.ko module file?
<wingrime> [linux-sunxi] [PATCH 3.4 10/12] sunxi-pm: Silence debug spew
<Turl> dolence: mali.ko
<wingrime> this will conflict but easy to solve as it
<dolence> yes, my bad, mali.ko
<Turl> yes, you'll have mali.ko and ump.ko
<dolence> I dont have one...
<dolence> weird
<wingrime> mnemoc: you should control patch income order, expectly with hi development rate
<dolence> I do have ump.ko, but mali.ko is missing
<wingrime> dolenc: check menuconfig
<mnemoc> wingrime: I have all pending patches stared, but can't test anything myself currently. so patches with possitive feedback have priority
<mnemoc> I probably won't even be able to cook until tuesday :
<mnemoc> :|
<dolence> in menuconfig I have...
<dolence> <M> ARM Mali GPU modules │ │
<dolence> │ │ {*} Mali-300/400/450 support
<wingrime> dolenc: drm turned on?
<dolence> I will recompile it again, maybe I messed up something
<dolence> Dont know, let me check
<wingrime> dolence: make clean
<dolence> drm as module
<dolence> thank you guys, I will try it again and see what happens
torqu3e has joined #linux-sunxi
<techn_> Turl: Open techn wants to merge 44 commits into allwinner-dev-team:master from techn:sun5i ??
<wingrime> mnemoc: before make some good changes, i need unify it first
<wingrime> mnemoc: at lease I need unify usb for for sun4i and sun5i (I think hw same)
paulk-desktop has joined #linux-sunxi
<wingrime> mnemoc: it strange that wiki talks that a13 have only one host, that strange becose I have wifi internal connected to host, and otg work
<Turl> techn_: you probably want jellybean and not master
<Turl> bbl
<techn_> Turl: both :)
<Turl> master is ics, I haven't built it in ages :P
<techn_> Turl: sunxi-bsp's manifest points to ics
<wingrime> techn_: so what do you think ? 2 or 1 host
<techn_> Turl: anyway.. it has build fix for ics also :)
<techn_> wingrime: dunno.. havent got host mode working with my a13 :(
<wingrime> techn_: on debian it works good
<wingrime> with 3.0 and 3.4 my mouse works
<dolence> wingrime, done, make clean, compiled again and no mali.ko
<dolence> what can be wrong?
<wingrime> whait
<wingrime> dolence: are you looking for ko?
<wingrime> dolence: also do you saw mali building messages at end of build
<dolence> root@develop:/usr/src/linux-sunxi# find . -name mali.ko
<dolence> root@develop:/usr/src/linux-sunxi# find . -name ump.ko
<dolence> ./drivers/gpu/mali/ump/ump.ko
<wingrime> alex@alexhome> find . -name mali.ko /media/8353c463-43a4-493d-ae90-5e0f1d8607e8/a10-dev/m3/linux-sunxi
<wingrime> ./drivers/gpu/mali/mali/mali.ko
<dolence> which kernel version?
<wingrime> dolence: 3.4
<wingrime> dolence: stage
<wingrime> dolence: mali rebuilds every time after make
<techn_> Turl:
<dolence> 3.4 sunxi
<dolence> should I be using stage?
<techn_> Turl: rechecked my pull request.. looks really weird :(
<wingrime> dolence: can try, it should be more fresh
<dolence> wingrime, I will do it, ty again
<wingrime> dolence: are you set "arch"
<techn_> Turl: why I have your commits in that request?
<wingrime> dolence: stupid question
<wingrime> dolence: are you used "make modules"
<dolence> I'm doing: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j 3 uImage modules
<dolence> it's buildind ohter modules
<dolence> *other
<techn_> Turl: ok.. manifest uses jellybean
<techn_> Turl: I'll redo pull request
<dolence> wingrime, which mali driver are you using? binaries or lima one?
<wingrime> none
<wingrime> I not need mali for testing ui
<wingrime> mali for opengles only for now
<rz2k> <wingrime> dolence: mali rebuilds every time after make - if you feel like want to rewrite mali kbuild - feel free to do that.
<rz2k> s/kbuild/makefile/
<wingrime> rz2K: threre is more interesing stuff to do
<rz2k> hint: that makefile is a total mess consisting of ARM top notch production
<dolence> wingrime, I wish to run an opencv application running webcam on fullscreen
<wingrime> dolence: now it hard
<wingrime> dolence: usb have some problems with web cams
<dolence> hmmm drivers nto working?
<dolence> *not
<wingrime> dolence: not, some problems related usb-host code
<wingrime> dolence: with big "messages"
<wingrime> dolence: you should try get some shots
<wingrime> form webcam
<dolence> ok
<wingrime> ssvb: what with "xv" for playing video?
rz2k has quit []
<ssvb> wingrime: xv should be relatively easy to implement, that's in my todo list
<ssvb> wingrime: are you using mplayer?
<wingrime> ssvb: make it hi prior, becose I want see video even without cedarx
<wingrime> ssv: mplayer the best
<wingrime> ssv: vlc too heavy
<ssvb> yeah, cedarx is the primary reason why I did not consider xv a really critical feature
<wingrime> ssvb: in current state cedarx notusable
<ssvb> I have not tried it myself yet :)
<wingrime> ssvb: As i readed manual a13 can have layers even with alphablending
<ssvb> yes, except a13 has only one scaler (a10 has two of them)
<wingrime> ssvb: we need use one layer for cedarx/xv output and crop/scale to window
<wingrime> ssvb: like mouse one
<ssvb> if somebody uses "fb0_scaler_mode_eable" option in fex, then this scaler is wasted
<wingrime> ssvb: send patch to kernel for prevent this
<ssvb> one get the ability to arbitrarily change screen resolution at runtime with fbset in scaler_mode
<ssvb> also scaler_mode is needed for interlaced hdmi output
<wingrime> ssvb: #ifdef for sun5i
<mnemoc> it seems a12 and a10s have g2d...
<wingrime> ssvb: agh... we still can't differ a13/a12
<mnemoc> wingrime: that's what my soc-detect branch tries to do. will give it another try tonight
<wingrime> mnemoc: need someone who can look at g2d register base at a13
<ssvb> well, it's up to the user to provide suitable configuration, the xorg driver can just try to get a scaled layer and if this fails - log a reasonable error message with a hint
<mnemoc> i have an a13-olinuxino.... in a yet-to-be-determined box
<wingrime> ssvb: xorg directly read/write registers?
<wingrime> ssvb: that realy not good...
<ssvb> the hardware cursor does not need a layer, also there are some sort of 'sprites' which I never tried to use
<wingrime> ssvb: layers seems to be for videooverlay defenetly
<ssvb> wingrime: there is ioctl for requesting a disp layer, and it may fail
<wingrime> ssvb: it looks disp code still crap...
<wingrime> mnemoc: patch time :>
<mnemoc> ok ok
<ssvb> wingrime: well, if ioctl fails, then we know that there is no suitable layer available
<wingrime> we need cpuinfo with soc-detect for userspace stuff also
<ssvb> wingrime: yes, disp driver is 'crap' but it does not cause too many problems
<mnemoc> wow... I have a nand patch from Turl stared since oct 2012
<wingrime> ssvb: less crap than usb)))
<paulk-desktop> hi, I want to build uboot for a chinese nuclear tablet
<paulk-desktop> what's the uboot config to use?
<wingrime> paulk-desktop: a13?
<paulk-desktop> yep
<mnemoc> nuclear is the generic name for a13-android
<wingrime> paulk-desktop: read manual on github
<mnemoc> u-boot needs board specific details
<paulk-desktop> which branch to use from github also?
<mnemoc> sunxi is the stable branch
<mnemoc> but you need to add your board
<mnemoc> and submit it's .fex
n01_ has joined #linux-sunxi
n01_ has quit [Read error: Connection reset by peer]
<mnemoc> wingrime: [linux-sunxi] [PATCH] sunxi: unify sun4i and sun5i platform devices to single.eml doesn
<mnemoc> wingrime: [linux-sunxi] [PATCH] sunxi: unify sun4i and sun5i platform devices to single.eml doesn't apply on stage/sunxi-3.0 nor stage/sunxi-3.4
<wingrime> ok drop it
<wingrime> I make it again
<mnemoc> wingrime: if you have it already rebased, can you paste me the git-format-commit ?
<wingrime> mnemoc: I make it with unification i2c naming
<wingrime> in single commit
<mnemoc> so I wait for a v2 ?
<wingrime> whait
<wingrime> i try rebase this
<libv> mnemoc: how did the move go?
<wingrime> newer tryed this
<wingrime> mnemoc: wait v2 , try apply cedar and pm
<mnemoc> libv: pretty well. unfortunatelly I still don't have electricity :| and today is the last working day of this week for them
<libv> mnemoc: whut? ouch
<mnemoc> national holidays :\
<libv> mnemoc: in germany electricity is never shut off even when the place is not inhabited for a few months
<mnemoc> bad week to move to a 0km apartment
<libv> 0km?
<mnemoc> libv: this is first activation
<libv> ah, ok
<libv> new :)
<mnemoc> waiting for the counter to be installed :p
<mnemoc> yes. new :)
<slapin> hno: ping
<mnemoc> rented directly to the company who built if, and failed to sell it after 2y...
<libv> mnemoc: so you bought it or are renting it?
<slapin> hno: hi, have you rebased u-boot patches for recent queue and what is the status with patch submission?
<wingrime> mnemoc: strange I just merged stage but merge have differences with device.c
<mnemoc> libv: renting. but cheaper than the old, and ... new :)
<wingrime> mnemoc: what patch writing to you ?
<libv> ah, too bad, i think one could make a steal on buying a place in spain right now
<libv> it will really pay off in a decade or so
<mnemoc> they haven't dropped the prices a cent
<mnemoc> pretty stupid
<libv> hah, their own problem then
<libv> no wonder the economy is not moving
<mnemoc> ack
<libv> if they refuse to drop prices to meet the market...
<mnemoc> rent prices are going down. but contracts limited to 5y
<libv> heh
<libv> they will have to give that one up
<libv> because before they do, noone will invest in anything new anymore
<libv> and those places just get run down
<libv> nobody ever spends money on doing up a place he does not own
<libv> a side effect of ultra-low intrest rates perhaps?
<libv> the banks indirectly own those houses but are not making any money off of that loan and the economy stagnated because of it
<libv> and none of the politicians do anything about it
<mnemoc> the bank of my region received more money to be saved from bankrupcy than what the gov needs to reduce in spending...
<libv> all propping up the real estate sharks which still bet on the economy picking up on its own and offloading overpriced houses
<libv> amazing
<mnemoc> 86m2 on a minor province capital with dead economy, 360k euro
<mnemoc> and the average rent for that size in this area is 480E
<mnemoc> don't know what they smoke
<libv> so they hope to make up for the "value" of the house in 60 years?
<libv> smart
<mnemoc> very
<libv> that's actually even more expensive than what one of the gcc guys and his gf just bought
<libv> and they will have a nice penthouse 500m away from work and the nuremberg city wall
<libv> 200m from a metro station
<wingrime> mnemoc: try this
<techn_> slapin: review my patches for u-boot lichee branch ? :)
<techn_> *lichee-dev
<mnemoc> wingrime: forgot -s :)
<wingrime> mnemoc: don't care
<techn_> mnemoc: also I'w been forgotting that lately :(
<wingrime> mnemoc: we working doward mainlain
<wingrime> mnemoc: mainline hard to aprove
<mnemoc> wingrime: applied fine on stage/3.4
<mnemoc> trying 3.0 now
<mnemoc> techn_: i suppose there is a config option for that
<wingrime> mnemoc: try apply my cedar unification patch
<wingrime> pm: look like need rebase
<techn_> 19m2 1200e/month
<techn_> but that's most expensive one
<wingrime> techn__: interesting info from qcom msm kernel branch: thay make some script to make "accepted warnings" other wice building fails
<techn_> wingrime: ?
<wingrime> ?
<wingrime> simply talking about kernel cleanup
<techn_> what's that branch?
Zenton`` is now known as Zenton
<wingrime> https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=blob;f=scripts/gcc-wrapper.py;h=2010c57cdd287acb2b5ccf3792f604b99a61bce8;hb=refs/heads/msm-3.4
<wingrime> that script
<wingrime> that script kill build if we have warnings other than in list
<techn_> wingrime: that's weird.. why they dont fix those warnings or supress them :p
<wingrime> that warnings "mainline aproved"
<oliv3r> mnemoc: *I* wanna test 3.4; but can't get anything booted yet :S
Zenton has quit [Remote host closed the connection]
<wingrime> oliv3r: that case you need uart
<techn_> oliv3r: 3.4 android?
<wingrime> mnemoc: apply my device.c patch to 3.0 means full rewrite my patch
<wingrime> as 3.0 device.c differs heavy
<wingrime> related mem_hack
<wingrime> techn_: how about add "waring killing from msm" ?
<oliv3r> mripard_: did you receive my message on the maillist (a few weeks back) about the wemac -> emac +gmac move etc?
<techn_> wingrime: our code has also other warning than those 4
<wingrime> techn_: not difficult fix/ add to scritp
<wingrime> mnemoc: how idea?
<wingrime> techin: install patch: https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=blobdiff;f=Makefile;h=800a54bc85a02d44f6a97327ece23ab4b1fb70da;hp=f124b185b8e24a0a149b325f882a4f66acd2a93e;hb=3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7;hpb=f06154cc47399dfdb3950d3e6b71d67ee186f69d
<techn_> wingrime: there is many difrent fixes alteast for alignment.c warning.. http://comments.gmane.org/gmane.linux.ports.arm.kernel/185113
<wingrime> techn_: Quallcom have other live than mainstream
<techn_> wingrime: it's better to fix warnings and add -Werror :)
<techn_> but most likely -Werror wont work since we use so different compilers
<wingrime> techn_: yep, but sometimes imosible fix all
<wingrime> techn_: 2.6.35 have more long likst firsttime I saw this script
<wingrime> *list
Dave77 has joined #linux-sunxi
<mripard_> oliv3r: no, I didn't receive it, but I changed the name :)
<techn_> mnemoc: I was thinking to add busybox and initfs to hwpack :/
<techn_> it would make module loading not distro dependant?
<techn_> so we wouldn't need to modify rootfs :/
<mnemoc> techn_: that is really assuming to much about the wishes of the user
<techn_> mnemoc: yeah.. that's the downside :)
<mnemoc> otoh you can use a "rootfs" to compose an initrd with busybox
<techn_> mnemoc: I was thinking solution which would fit with different linux distros and android
<mnemoc> techn_: i really think that this is out of scope for the bsp
Zenton has joined #linux-sunxi
<mnemoc> but we can have an script to create an initramfs from a hwpack and a rootfs
<mnemoc> a rootfs designed for early userpsace obviusly
<mnemoc> which we can provide
Dave77 has quit []
wingrime has quit [Ping timeout: 264 seconds]
<hramrach> well, it depends
<hramrach> if you need initramfs to have device-independent kernel
<hramrach> hwpack should provide
<hramrach> but we don't have device independent kernel
<hramrach> in any form
<techn_> rm: you can start to create livesuit images any day now.. :)
<techn_> rm: .. What is left is to import/merge livesuit support for sun4i
eebrah has joined #linux-sunxi
<hramrach> when the kernel can boot on multiple devices so it makes sense to make modular drivers and initramfs that's another story
<techn_> hramrach: I was thinking that the point of initfs was to make rootfs indepentent hwpacks
<techn_> so you can use same hwpack directly with alarm or debian.. and when you want to update newer hwpack you dont need to touch rootfs
<techn_> this would help much livesuit image handling
<hramrach> you technically don't need to touch hwpack to boot
<hramrach> drivers are built-in so you update kernel, boot, update modules
<techn_> modules
<hramrach> yes some stuff might fail without modules which is kind of lame
<hramrach> but if you happen to not load the module in initramfs it will fail anyway
<hramrach> so not much change
<hramrach> and the modules list to put in initramfs is -- in rootfs
n01 has quit [Disconnected by services]
n01 has joined #linux-sunxi
<n01> simple question: the power button is connected to PMU but the FEL button is connected to any GPIO?
<Turl> mnemoc: nand patch from me? I don't even recall sending one haha
paulk-desktop has quit [Quit: Ex-Chat]
<mnemoc> Turl: [linux-sunxi] [PATCH 0/2] small sunxi_nand fixes. 22/10/12
<Turl> :)
<Turl> first one was just warning fixes
<Turl> I didn't even recall sending it :p
<mnemoc> :)
<hramrach> pc independent power for cubieboard \o/
<hramrach> now can connect the two with a pair of serial lines and debug one from the other
<oliv3r> mripard_: you haven't pushed to github have you; i checked your wemac-for-3.9 branch
<Dreadlish> hramrach: so hard to do powersupply from atx?
<mripard_> oliv3r: hmmm, maybe
<mripard_> let me check
<hramrach> atx would work too, ofc
<hramrach> even 5vsb
<mripard_> oliv3r: indeed
<mripard_> just pushed the new version
<hramrach> well, the PSU is not much smaller than some ATX ones but it's fanless
<oliv3r> mripard_: pulling
<Turl> mripard_: how many weeks do we have till the 3.10 window closes?
<Turl> around two right?
<Dreadlish> hramrach: you can do fanless atx
<Dreadlish> just remove fan :D
<Dreadlish> it wouldn't emmit so much heat
<Dreadlish> as for cb
<mripard_> Turl: something like that yes
<mripard_> maybe a bit less
<Turl> mripard_: I'll send v2 today then, as I'm going to be away until this time next week more or less
<mripard_> Turl: great :)
<mripard_> oliv3r: isn't that what I did already?
<oliv3r> mripard_: yeah i just wanted to find the mail
<oliv3r> was doubting myself if it ever got sent :)
<mripard_> it was only sent to the netdev ml
<mripard_> but not to myself or any other recipients :)
* mnemoc goes back to the darkness of his new apartment, bye
<oliv3r> mripard_: sorry
<mripard_> but I remembered our discussion, so it's not a big deal
<mripard_> no, that's fine :)
* hramrach hands mnemoc a torchlight
<mripard_> it's the web interface that's broken, you had no idea :)
<oliv3r> mnemoc: as long as you can merge patches :D
<mripard_> mnemoc: good evening
<oliv3r> mripard_: btw, sun7i looks to be very much alike sun45i again
<Turl> mripard_: the uart rework patches are not on arm-soc yet are they?
<mripard_> oliv3r: ok
<mripard_> Turl: no, they're not
<mripard_> I tried to push gkh into merging your serial patch for 8250_dw, and failed miserably :)
rellla has joined #linux-sunxi
ibrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 272 seconds]
<Turl> mripard_: ok, all sent
theOzzieRat has joined #linux-sunxi
shineworld has quit [Quit: Leaving]
ibrah has quit [Ping timeout: 252 seconds]
simosx has joined #linux-sunxi
simosx has joined #linux-sunxi
rellla has quit [Remote host closed the connection]
dolence has quit [Quit: Saindo]
ganbold_ has joined #linux-sunxi
ganbold has quit [Read error: Connection reset by peer]
n01 has quit [Ping timeout: 240 seconds]
<techn_> android gadget support wont compile in stage/sunxi-3.4.. /android/kernel/allwinner/common/drivers/usb/gadget/android.c:1565: internal compiler error: in dwarf2out_finish, at dwarf2out.c:18906
<techn_> propably becouse softfloat build :/
fredy has quit [Ping timeout: 256 seconds]
Guest24544 has joined #linux-sunxi
torqu3e has quit [Quit: torqu3e]
<Turl> techn_: sounds like the compiler bug Epsylon3 was hitting the other day
torindel has quit [Ping timeout: 256 seconds]
torindel has joined #linux-sunxi
<hramrach> well, I did build the gadget
<hramrach> at any rate ICE is always compiler's fault
<hramrach> the code may be wrong but the compiler should do something sane regardless
<techn_> hramrach: it builds ok when I build it via sunxi-bsp.. but if I build it with android toolchain it fails
<hramrach> I build with normal Debian gcc
<hramrach> make menuconfig, etc
<hramrach> and floatness should not affect kernel build presumably