<ssvb>
Turl: the comments seem to imply that 400M is a valid mbus clock frequency, that would be surely better than the current default 300M
mcbrick has quit [Remote host closed the connection]
mcbrick has joined #linux-sunxi
<wingrime>
ssvb: nice,
ZetaNeta has joined #linux-sunxi
ZetaNeta has quit [Changing host]
ZetaNeta has joined #linux-sunxi
<wingrime>
thats stable
<wingrime>
> when cpu@1008M,
<wingrime>
ssvb: thats for a10 also ?
FDCX_ has joined #linux-sunxi
<ssvb>
wingrime: don't know whether it applies to a10, in any case it seems to be a good idea to use PLL5 (DRAMC) also for MBUS
<ssvb>
wingrime: Turl overclocked MBUS to 600MHz, and the device did not immediately die for him :) Having MBUS running at the same clock speed as DRAMC would be quite logical
<wingrime>
ssvb: good point
<wingrime>
ssvb: there is something we can imporve change dram priority?
<wingrime>
ssvb: I still have no idea with FE and BE settings differs
<aep>
how does the sysfs interface for gpios work? How can i tell if its an in or output?
<aep>
i'd expect a 'direction' thing in sysfs, but dont see any
Quarx has quit []
<wingrime>
ssvb: witch pll used with mali currently on a20?
<ssvb>
wingrime: pll4
<ssvb>
wingrime: but we should move mali to pll8
<mnemoc>
moin
<wingrime>
mnemoc: moin
<wingrime>
ssvb: pll8 used?
<mnemoc>
gosh... another ton of mails :(
wingrime has quit [Ping timeout: 264 seconds]
hipboi has joined #linux-sunxi
<mnemoc>
wb hipboi
wingrime has joined #linux-sunxi
<mnemoc>
wingrime: btw, the error posting to dev@linux-sunxi.org was because you CCed wingrime@linux-sunxi.org and the dns hosting who is currently providing the mail forwards doesn't know about such account
deasy has joined #linux-sunxi
<mnemoc>
wingrime: oliv3r is going to install a real smtp in the sunxi server as soon as he has time... then devs will be able to send mail from @linux-sunxi.org and @sunxi.org
<mnemoc>
and receive mails there too
<mnemoc>
(forwards/aliases)
<wingrime>
mnemoc: nice
<wingrime>
mnemoc: can you give some uncommented old patches from ml for a review
<wingrime>
mnemoc: we should somehow deal with amount old stuff
<mnemoc>
as I pulled a lot of stuff from hansg's tree I'm not really sure what old commits are still pending. if you can give me a hand identifying the oldest still-pending-but-not-nacked patches it would be great
<mnemoc>
now i have a desk and chair ;-)
arokux2 has joined #linux-sunxi
<wingrime>
mnemoc: you new home still hostel?
<wingrime>
or better apartment
<arokux2>
aep, which kernel?
<aep>
arokux2: 3.3.0
<arokux2>
aep, ok, no idea then, but I know how to do it in mainline, not sure it will apply.
<aep>
yeah i think this uses the mainline gpio driver
<aep>
or something
<aep>
at least its not the SUNXI_UGLY_GPIO thingy
<mnemoc>
wingrime: better is subjective, but it's a different apartment... on some things better (desk/chair/washing machine) on others worse.
<mnemoc>
we have a gpiolib driver using the same script.bin section, the ugly should be removed
<arokux2>
aep, in the mainline, first you need is to enable sysfs gpio access in the kernel config
<aep>
i can read the pin, but its missing something to set it as ouput
<aep>
err other way round
<aep>
i can set the pin but not read it
<mnemoc>
wingrime: but only for 3 weeks...
<aep>
since there's no 'direction' file
<wingrime>
mnemoc: but whats next?
<aep>
i'll try the 3.4 kernel
<wingrime>
mnemoc: after 3 weeks?
<mnemoc>
uncertain
<wingrime>
mnemoc: thats sucks, realy
<mnemoc>
hopefully something more permanent that *I* can furniture. but still uncertain
auxym has quit [Ping timeout: 264 seconds]
<wingrime>
mnemoc: how many times you life such way?
<mnemoc>
almost all this year
<n01>
is it that hard to find a good apartment in berlin?
<mnemoc>
i only arrived to berlin in july. but for real renting you need to show 3 payrollls. i only have 1 atm
<n01>
ohh yeah, that sucks
<mnemoc>
for days you have hostels, for longer you have WG (shared apartments, on which you have to be approved by all the residents and can take ages) or renting the 1-room apartment of someone while he/she/it goes on vacations
fredy has quit [Excess Flood]
<mnemoc>
I do the last
<mnemoc>
cheaper, faster, but... only a couple of weeks
auxym has joined #linux-sunxi
fredy has joined #linux-sunxi
<arokux2>
aep, sorry, that is all I know
<aep>
:)
jukivili has quit [Ping timeout: 246 seconds]
jukivili has joined #linux-sunxi
<wingrime>
mnemoc: russia somehow different , may places where you can rent some place without offical documents. people not do offical rent agreement, thats for tax avoidment
<mnemoc>
wingrime: thing with berlin is that renting is very cheap, and lot of people looking, so owners choose the "most reliable"
<mnemoc>
asking for payrolls is their way to know if the person can pay
<wingrime>
mnemoc: if that people-people agreement you can always axplian situation and be understanded
<wingrime>
mnemoc: pre-pay can be helpfull too
rz2k has joined #linux-sunxi
<mnemoc>
that's how subrenting works. prepaid + large warranty for possible damages in cash
atiti has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 246 seconds]
auxym has quit [Ping timeout: 264 seconds]
auxym has joined #linux-sunxi
vinifr has joined #linux-sunxi
auxym has quit [Ping timeout: 240 seconds]
auxym has joined #linux-sunxi
<wingrime>
techn__: ping
<n01>
mnemoc: where are the latest sources leaked for A20? let's see if I can start mainlining something again
Black_Horseman has joined #linux-sunxi
vicenteH has quit [Read error: Connection reset by peer]
vicenteH has joined #linux-sunxi
<vinifr>
mripard, ping
vicenteH has quit [Read error: Connection reset by peer]
vicenteH has joined #linux-sunxi
n01 has quit [Quit: leaving]
<vinifr>
what does Free Electrons use for Source Navigation?
<mripard>
lxr, that's mainly why we host an instance :)
<mnemoc>
mripard: does lxr use git (tags/branches) directly these days or you need an extracted tree of each?
<wingrime>
anyone here tryed to use Tv out?
<mripard>
I don't really know, I didn't actually set it up
<mripard>
but I think we're still using different trees for each version
FDCX_ has quit [Remote host closed the connection]
FDCX_ has joined #linux-sunxi
vaxholm has joined #linux-sunxi
<aep>
darn, how does this machine id stuff work?
<aep>
Error: unrecognized/unsupported machine ID (r1 = 0x00000f35).
<wingrime>
aep: uboot sipply it to linux kernel
<aep>
yeah, i know, but why does my self built kernel not have that one
<wingrime>
aep: kernel have MACHINE_START macros for each supported
<rz2k>
including machine id mess from allwinners 3.3 kernel
<aep>
apparantly the machine type is 0x10bb. i dunno why archarm uses 0f35 :/
<rz2k>
what archarm has to do with kernel and bootloader?
<rz2k>
you downlaoded premade image?
<aep>
i just left the uboot env thingy from the arch install
<aep>
yeah
<rz2k>
update the u-boot
<aep>
wouldnt have expected them to be incompatible
<aep>
yeah
<rz2k>
after u-boot update and latest kernel from stage/sunxi-3.4 everything will work. archarm probably has old version of u-boot before a20 support was added
<aep>
yeah
<aep>
well its booting now but i lost LVDS. i guess i'll try updating uboot
<aep>
and i still have no idea how to set a gpio as input
<aep>
there's nothing new, even with kernel 3.4
pacopad has joined #linux-sunxi
<WarheadsSE>
aep: if there is an issue, you can let us know, you know. rz2k: i didn't make that image in particular, but I can address issues like this when they are raised.
<pacopad>
Hi All , i don't find how to compile the sunxi_mem driver
<pacopad>
in which kernel part can i find it ?
<aep>
WarheadsSE: sure. got a bugtracker?
<WarheadsSE>
rz2k: and yeah, I would bet that the u-boot is older, since we had it early
<lkcl_>
wingrime: 2nd revision. fucking well stopped working and didn't tell me they'd stopped, so there are still components on the bottom side of the PCB, and connectors in the wrong fucking places.
<aep>
WarheadsSE: oh yeah... i see. the install file of uboot flashes it to /dev/mmcblk0 that doesnt look like an sd card...
<WarheadsSE>
mmc = sd
<aep>
hurm
<WarheadsSE>
eMMC is just attached the same way
<WarheadsSE>
The question is which one comes up as mmcblk0
<aep>
aye
<rah>
when I run "./build.sh pack" in a lichee/ SDK directory, I get an image whose bootfs contains a file named "linux" instead of a directory named "linux" with files in it
<aep>
looks like there's android preinstalled on the internal chip, so that answers the question
<rah>
I have the strace output of someone else's execution of fsbuild, which is executed by the pack script: http://pastebin.com/SaFMdk0U
<rah>
rz2k: thanks but neither of those links explain what it is :-)
<WarheadsSE>
Board Support Package
<rah>
and what is that?
<WarheadsSE>
basically , here, this is the base set of packages and code that make this board function.
<rah>
packages of what? what kind of code? which boards?
<rz2k>
rah: it creates hwpacks - hardware specific packages that you can flash to sd among with your rootfs
<rz2k>
this is created for ease of maintaining everything
<rah>
I still don't understand
<rah>
*shrug*
<rz2k>
rah: you hit ./bsp SDCARD=/dev/sdc ROOTFS=debian.tar.gz, wait 50 minutes and have latest kernel, u-boot and drivers already installed with your root filesystem on your /dev/sdc, then you eject /dev/sdc and smash it in your device and have everything working
<rz2k>
out of the box
<aep>
actually... what's the typical device node name for the NAND? i dont have anything except the mmc
n01 has joined #linux-sunxi
* rz2k
cant explain further
<rah>
I see
vicenteH has quit [Read error: Connection reset by peer]
<rah>
does this work with A31 systems?
<rz2k>
does linux-sunxi work with A31 systems?
<rah>
does "./bsp SDCARD=/dev/sdc ROOTFS=debian.tar.gz" work with A31 systems?
<rah>
or particularly, does "smash it in your device" with with A31 systems?
<rz2k>
nope
<rah>
they boot differently to A10/A13
<rah>
:-/
vicenteH has joined #linux-sunxi
* rah
pokes techn__ again
<rz2k>
where did you get a31 sdk?
<rah>
it came from someone else
<rah>
I think they got it from Allwinner
<arokux2>
rz2k, do you want a31 sdk?
<popolon>
aep, isn't it : /dev/mmcblk0p1 ?
<aep>
nop thats the mmc
<popolon>
oh, yes, start by mmc
<aep>
p1 being partion 1 ;)
<rz2k>
rah: you want to talk with allwinner about problems with their sdk's, also they released new version of A20-SDK with 3.4 kernel, maybe they did another one for A31?
<popolon>
blk0 = block (device) 0 probably
<aep>
i hope its /dev/nand and i dont brick the thing by writing to it
<popolon>
:)
<popolon>
First question, where is uBoot ?
<arokux2>
rz2k, guys from pengpod shared a31 kernel with us
<popolon>
if you erase uBoot, don't know how you will boot
<rah>
this BSP can allegedly create LiveSuit images
<WarheadsSE>
popolon: the allwinner chips generally will boot from eMMC/NAND or SD. Not really brickable without physical damage
* rah
installs
<techn__>
wingrime: yeah.. that looked good
<popolon>
uBoot is inside the LiveSuit image, isn't it ?
<aep>
WarheadsSE: phew, thanks
<rah>
techn__: hello?
<aep>
WarheadsSE: and SD takes priority i assume?
<techn__>
rah: hello
<aep>
so if i erase the nand, i can just write the sd from a pc
<techn__>
rah: current community a31 support is currently very poor.. I'm not sure if you can even boot community kernel with a31 :/
<techn__>
no one have had interest to put effort for it (since lack of mali)
<rah>
techn__: my problem is with fsbuild
<rah>
which, as I understand it, isn't chip-specific
<techn__>
yeah.. it's common.. but sadly closed source
<rah>
I've managed to get it to build correctly
<popolon>
firefoxOS sadly choose a31 for their first device ... another bad choice for them
<rah>
I'm not sure how
<rah>
but it's in the directory which I moved onto an ext3 filesystem from a reiserfs filesystem
<rah>
techn__: do you know whether fsbuild has problems being run on reiserfs filesystems?
<techn__>
I might not have support for reseirfs
<rah>
hmm
<rah>
techn__: why would it need access to the filesystem the bootfs files are on?
<rah>
doesn't it just read() them?
<wingrime>
techn__: thanks
vicenteH has quit [Read error: Connection reset by peer]
vicenteH has joined #linux-sunxi
<techn__>
rah: oh.. problem might occur if directory is in different directory hierarchy
<techn__>
rah: those image packing tools have really bad bugs.. and no tips of what has failed :(
<rah>
techn__: sorry, too much ambiguity in there; I don't understand :-)
<rah>
techn__: problem might occur if which directory is in a different hierarchy to which other directory?
<techn__>
rah: you told that you moved rootfs directory to other place?
<rah>
techn__: yes
<rah>
techn__: no
<rah>
techn__: I initially moved the SDK build directory to another FS, but the build failed so I unpacked a fresh SDK onto the FS
<rah>
(and built that)
<rah>
and it works
<rah>
the SDKs that have been freshly unpacked and built on my normal FS don't work
<techn__>
ok.. there is symbolic links
<techn__>
make sure that they point to correct place
<arokux2>
Turl, around? small question. if I get a clock with devm_get_clk and enable it should I then disable it or this is done by devm_* framework?
<wingrime>
ssvb: thats sad, but, don't forget about gate on and other placement
<wingrime>
ssvb: realy sad
<Turl>
arokux2: you should disable it, devm will only handle the clk_put for you
<arokux2>
Turl, thanks
<ssvb>
wingrime: first I tried to hack u-boot to modify mbus settings on a10, but it had no effect, then I tried to read this value back and seems like this register just does not exist
<ssvb>
wingrime: maybe a10 has mbus, but uses some sort of default clock for it (which we can't change)
<wingrime>
ssvb: I can have very simple nonconfigurable dividor
<wingrime>
*It
<wingrime>
*divider
<ssvb>
wingrime: yeah, maybe something like pll5/2
<wingrime>
ssvb: for sure we can always ask benn
<ssvb>
wingrime: that's a good idea
<vinifr>
Does someone already analyzed sun4i-ts.c?
<vaxholm>
FEL -> u-boot. what's the reason for having the SPL code? why is the two-step booting needed?
<wingrime>
vinifr: are you talking about termo sensor and resistive ts part?
<vaxholm>
hmm. is that purely to initialize the DRAM maybe...
<vinifr>
wingrime, touch pad driver
<n01>
Turl: for the RTC I need to be sure that I'm using the external osc. Can I do thot with clock framework?
<vinifr>
it seems that there are many unneeded lines
pacopad has quit [Read error: Operation timed out]
<arokux2>
focus_it, I've thought you are using your working hours only:) solved your problem?
<focus_it>
24/7 to get this done
<focus_it>
still attacking one point at a time
<focus_it>
work has more tools to be productive
<focus_it>
5GHz scope for starters
<arokux2>
focus_it, you could setup ssh/sshfs to compile the kernel at home
<arokux2>
focus_it, at work*
<focus_it>
work internet has problems and isn't allowing home>work connections
<focus_it>
the netbook is very handy - it goes with me everywhere and easy to back up as needed
<arokux2>
focus_it, so does it still hang during boot? lkcl_ got it working.
<focus_it>
still compiling - will have answer in about 1 hour
<arokux2>
focus_it, alright.
<lkcl_>
arokux: and posted the config, so you should be good.
<lkcl_>
focus_it: joe i did the conversion from the eoma68-a20-3.3 config over to 3.4 and added in the extra config options needed which aren't present by just doing a make menuconfig
<lkcl_>
some of the config options have changed
<lkcl_>
changed names that is
<arokux2>
lkcl_, me? I was always good here. amazing community. *you* guys were missing it. but now you are here too, so I'm excited to see fruits of this coop
<focus_it>
lkcl_: I'm compiling with arch/arm/configs/sun7i_defconfig
<lkcl_>
CONFIG_AW_AHCI has become CONFIG_SW_AHCI and weird shit like that
<lkcl_>
focus_it: that'll do... but it's got extra stuff in that you won't need, and will take a hell of a long time, and then you'll still have to reconfigure it after compiling.
<arokux2>
lkcl_, have you enabled ethernet btw? it is called differently too, but you've sent packets....
<lkcl_>
the default kernel sun7i_defconfig kernel doesn't have USB-OTG for example
<lkcl_>
whereas the one i just tested an hour ago - and posted on the rhombus-tech wiki - does.
<hno>
yes, sunxi-3.4 sun7i_defconfig is a bit messed up at the moment.
<focus_it>
lkcl_: after this compile finish and test, i try the one you posted
<lkcl_>
arokux2: i've always been here, right from the beginning - just in the background until we've had working hardware
<hno>
needs a major cleanup to more closely match sun4i_defconfig
tzafrir has quit [Ping timeout: 245 seconds]
<lkcl_>
focus_it: nods
<lkcl_>
arokux2: yes i enabled it - it ain't having none of it though. but it's a hardware issue - i tested with known-good u-boot (the one i used a couple of weeks ago) and that's having none of it, too.
<lkcl_>
so it's almost definitely _not_ software.
* lkcl_
spotted some crap around the ethernet pins.... brb... scalpel. me. scarey. *lol*
<arokux2>
lkcl_, what about sata? first you found out the pins should be switched, but in your e-mail you've said it works with *unmodified* cpu card.
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Excess Flood]
rz2k has quit []
<hno>
vaxholm, led2 merged.
<lkcl_>
arokux: yes that's right. unmodified CPU Card. no need to replace the capacitors on the SATA lines with larger ones.
n01 has quit [Remote host closed the connection]
<vaxholm>
hno, thanks
<arokux2>
hm.. but focus_it found out it works with switched pins only?
<focus_it>
that be on meb board
<focus_it>
the pins come out correctly from the eoma
<arokux2>
lkcl_, also, we had public ssh access to the EOMA, so ethernet issue is yours only?
<arokux2>
focus_it, ah, ok!
<vaxholm>
if i want fancy graphics on my cb2, what's the currently best supported env? android/xorg/fb ?
<libv>
what is fancy graphics?
<mnemoc>
spining cubes are fancy
<libv>
vaxholm: would a banksy style stencil satisfy your needs?
<libv>
it's not too fancy, but pretty hip
<vaxholm>
libv, i'm more of a spinning cube than art guy ;)
<libv>
vaxholm: why do you want a spinning cube?
<vaxholm>
libv: i can live without the cube. i'd like something to use for an HTPC, maybe even be able to play quake3.
<vaxholm>
so video and possibly opengl
<libv>
just install a linux and follow the Binary_Drivers wiki page
<libv>
if you want to play android games, then install android
<mnemoc>
the cedarx RE project is pretty advanced these days
<libv>
the mali RE project is currently stuck on the main developer trying to figure out why his jellyfish is all arty
<mnemoc>
uh
<specing>
haha
<specing>
libv: is your jellu missing any triangles?
<libv>
nope, all triangles are there
<libv>
but it looks like i am tripping on lsd, but then confined to just one window
<vaxholm>
how much of the mali(400) is understood?
<libv>
vaxholm: libv.livejournal.com
vinifr has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<aep>
Turl: gpio event finally works. thanks :)
<lkcl_>
arokux2: powered up the spare board (early one, wire running from PWRFBOUT to the connector... *sigh*) and ethernet works fine
<arokux2>
lkcl_, congrats!
<arokux2>
lkcl_, btw, remember the commit of the working sunxi-3.4 kernel, so we can bisect in case of regressions later.
<arokux2>
lkcl_, sunxi-3.4 is developing at a quick pace. yes, you might be not interested in recompiling it every day, but still, if smb comes and wants a *working* kernel for eoma saying sunxi-3.4 won't suffice probably.
<lkcl_>
arokux2: it was only HTC's 2nd ever product. the first one was the wallaby.
<lkcl_>
back then there were only about 4 to 6 of us regularly on #htc-linux
<arokux2>
lkcl_, so you were mainlining it?
<lkcl_>
arokux2: russell rejected anything that was more than 2 levels deep. between us we'd managed to reverse-engineer over *twelve* HTC products, and it would have meant dropping *250* files into the top-level ARM directory for the intel pxa processor
<lkcl_>
at that point i went "yeah this is really worth bothering with" and unfortunately many people were then forced to duplicate the drivers because they didn't know that xanadux.sf.net existed.
<lkcl_>
8 years later and russell's _still_ overloaded....
<arokux2>
lkcl_, I see. sunxi will get mainlined this time :)
<arokux2>
lkcl_, btw I wanted to ask you about this router thingy
<lkcl_>
arokux2: i mention this because when you say to me "it'll be a lot of effort to get 3.3 up and running" for example, you're forgetting that i really _do_ know what i'm doing, in a weird-and-random sort of way. in this case i decided i couldn't be bothered to forward-port the AHCI driver :)
auxym has joined #linux-sunxi
<lkcl_>
i got better things to do
<lkcl_>
ya. router thingy. yes.
<lkcl_>
the primary driver on that is a potential customer. only like qty 100 a month (and it would _only_ be 100/month) but it'd be a steady 100/month so nothing to be sneezed at
<lkcl_>
so. yes. router thingy. oh. a PM. right. just spotted that :)
auxym has quit [Client Quit]
<Turl>
aep: you're welcome
akaizen has quit [Ping timeout: 246 seconds]
akaizen has joined #linux-sunxi
tzafrir has joined #linux-sunxi
vaxholm has quit [Ping timeout: 240 seconds]
<popolon>
Hi
<popolon>
I tried to update wiki
<popolon>
and was blocked by Spam protection filter
<popolon>
This is probably caused by a link to a blacklisted external site.
<popolon>
:)
<arokux2>
Turl, ^
<popolon>
didn't added link
<popolon>
there is a git clone line in modified text
<arokux2>
what is the best allwinner tablet right now?
Black_Horseman has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Read error: Connection reset by peer]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
<focus_it>
arokuz: I recompiled sunxi using 7i and put it into the linaro distro - got much further ahead with EOMA - sata now working although it does not pick up ethernet and HDMI