Renard has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
deasy has quit [Read error: Connection reset by peer]
deasy has joined #linux-sunxi
Andy-D has quit [Ping timeout: 244 seconds]
egbert has quit [Ping timeout: 256 seconds]
earny has quit [Ping timeout: 250 seconds]
egbert has joined #linux-sunxi
Nyuutwo has quit [Quit: No Ping reply in 180 seconds.]
Nyuutwo has joined #linux-sunxi
earny has joined #linux-sunxi
egbert has quit [Ping timeout: 240 seconds]
earny has quit [Ping timeout: 250 seconds]
Nyuutwo has quit [Quit: No Ping reply in 180 seconds.]
Nyuutwo has joined #linux-sunxi
npcomp is now known as npcomp|away
earny has joined #linux-sunxi
egbert has joined #linux-sunxi
xinj has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
xavia has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Ping timeout: 250 seconds]
<keebler>
sigh, after 5 hours of messing with it, gave up and put together a windows box. Surprise, worked the first time
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
dlan_ is now known as dlan
tonyctl has quit [Quit: tonyctl]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
<wens>
Turl: i could test a13 for you, but how do i test dma, without any spi pins (or a logic analyzer)
nicksydney has quit [Remote host closed the connection]
wingrime1 has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
ricardocrudo has quit [Remote host closed the connection]
tinti has quit [Ping timeout: 256 seconds]
nicksydney has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
wingrime1 has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
wingrime1 has joined #linux-sunxi
gzamboni has quit [Ping timeout: 255 seconds]
gzamboni has joined #linux-sunxi
<Turl>
wens: modprobe dmatest
<Turl>
pone stuff in /sys/module/dma
<Turl>
poke*
<Turl>
dmatest*
<wens>
latest tree?
<Turl>
wens: grab the patches, I haven't pushed a a fresh branch with them
<wens>
ok
<wens>
git-am says patch 1: indent with spaces on lines 1184~1187
<Turl>
wens: the define, meh :p I'll fix it
<Turl>
wens: for some reason my git had the red coloring disabled, I've fixed that
nedko has quit [Ping timeout: 260 seconds]
<wens>
what channel would you use to test?
<Turl>
wens: any should be fine
akaizen has quit [Ping timeout: 240 seconds]
<wens>
small block passes, large block (> 256kB) fails
<wens>
dmatest: dma0chan3-copy0: dstbuf[0x3d440] not copied! Expected df, got 3f
<wingrime1>
Turl:have ee any PM code in mainline?
<wingrime1>
*we
<wens>
wingrime1: none
<wingrime1>
Well, should we add some, thats just put cpu in a "wait for IRQ" state
<wingrime1>
Like aw does
<wingrime1>
?
<Turl>
wingrime1: there is the generic one for arm that does WFI I think
<Turl>
but we don't have any of the advanced stuff like putting dram on self refresh and gating clocks
<Turl>
nor do we have cpufrew
<Turl>
cpufreq*
<wingrime1>
Thats different level of sleep
<Turl>
wens: the engine can only do up to 128k blocks iirc
<wens>
Turl: ah, so pass then :)
<wingrime1>
Turl: dram refresh requires sram code blob, it posible requires use of TCM memory
<Turl>
wens: "Note: If ByteCounter=0, DMA will transfer no byte. The maximum value is 128k."
<Turl>
yep 128
<wingrime1>
As i researched in kernel code, there some special function prefix, that make linker handle function specialy
<wingrime1>
_tcmfunc
<wingrime1>
As I remember
<Turl>
wens: dedicated can in theory do 16M, but normal is the default and what dmatest gets
<Turl>
wingrime1: I think there were issues with that and multiplatform
<Turl>
wingrime1: I played with it long ago and have some patches, but they do not work fully
<wingrime1>
Turl: now mainline somehow use sram?
akaizen has joined #linux-sunxi
<Turl>
wingrime1: uboot does
<Turl>
wingrime1: PSCI
<Turl>
I think PSCI supports suspend
<Turl>
maybe it can all be handled in uboot :)
<wens>
ooh, nice, A31 user manual
<Turl>
whut :)
<wens>
jonsmirl just sent me a tarball
<wingrime1>
Turl: never heard about psci, but it looks like some armish thing, and i sure that shing have no idea about dramc
<Turl>
cool
<wens>
half of the files have simplified chinese names :(
<Turl>
wingrime1: PSCI is like BIOS, always on SRAM
<Turl>
wingrime1: we use it on sun7i to boot 2nd core
<Turl>
interface can also do suspend
<Turl>
wens: lucky you :p
<wens>
Turl: not so lucky, my system is traditional chinese
<wens>
the names are still garbled
<Turl>
wens: oh :(
<wingrime1>
Turl: were code comes from (firmware) ?., it like acpi, ?
<Turl>
wingrime1: it is put on sram by uboot
<wens>
wingrime1: there's a minimal PSCI implementation in uboot
<wens>
the code is stored in secure sram
<wingrime1>
Turl: so uboot now have to be build with blob?
<wens>
hmm, merrii's forum is down
<wens>
wingrime1: it's not a blob. there's source code for it
<wingrime1>
It a20+ only thing?
<wens>
so far, a20 only
<wingrime1>
Then it simply standard interface only....
<Turl>
wingrime1: it is open source
<Turl>
built by uboot
<Turl>
we don't need it on earlier platform
<Turl>
because of single core
<Turl>
no SMP
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
<Turl>
it should be supported on A31/A23 once uboot support gets better
<Turl>
wens: *hint* :)
tonyctl has joined #linux-sunxi
tonyctl has left #linux-sunxi [#linux-sunxi]
tonyctl has joined #linux-sunxi
<wens>
i suppose we could just stick the dram stuff in u-boot-sunxi, have it work
<wens>
someone with more knowledge of dram can then go and work on it
<wens>
beats me trying boot0 on mmc without success :(
<Turl>
ssvb: :)
<wingrime1>
Turl: so far from now, is any normal nand support?
<wingrime1>
*there is
<Turl>
wingrime1: bbrezillon has been working on nand support for mainline in mtd
<Turl>
there are some rough edges still, check ML
<wens>
ooh, A31s user manual even
<wingrime1>
As I just readed, psci easy configurable using dts ))
<wingrime1>
Wens: we have place for such things)
<wingrime1>
Psci looks exacly same thing that needed for suspend
<wens>
speaking of the place, no one copied the A31 SDK to dl.linux-sunxi.org yet
<wens>
I'm running out of disk space :|
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
issue_ has joined #linux-sunxi
amitk has joined #linux-sunxi
akaizen has joined #linux-sunxi
moofree_ has quit [Ping timeout: 255 seconds]
Zboonet has joined #linux-sunxi
moofree has joined #linux-sunxi
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
moofree has quit [Ping timeout: 260 seconds]
moofree has joined #linux-sunxi
xavia has quit [Quit: Leaving.]
kuldeepdhaka has joined #linux-sunxi
moofree has quit [Ping timeout: 240 seconds]
moofree has joined #linux-sunxi
moofree has quit [Ping timeout: 240 seconds]
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #linux-sunxi
moofree has joined #linux-sunxi
kz1 has joined #linux-sunxi
FR^2 has joined #linux-sunxi
diego_r has joined #linux-sunxi
kivutar has joined #linux-sunxi
libcg has joined #linux-sunxi
_massi has joined #linux-sunxi
kuldeepdhaka has quit [Remote host closed the connection]
xavia has joined #linux-sunxi
xavia has quit [Client Quit]
sehraf has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
<wens>
merrii's shop on taobao also has a80 optimus board, for around 325 USD :/
<wingrime>
Hm
akaizen has quit [Ping timeout: 255 seconds]
Quarx has joined #linux-sunxi
akaizen has joined #linux-sunxi
Vanfanel has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen_ has quit [Ping timeout: 240 seconds]
woprr has quit [Ping timeout: 250 seconds]
woprr has joined #linux-sunxi
woprr has quit [Ping timeout: 256 seconds]
woprr has joined #linux-sunxi
notmart has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc Insomnia 4.0.2, revision: 402, sources date: 20100627, built on: 2010-08-02 17:44:33 UTC 402 http://www.kvirc.net/]
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
xinj has quit [Ping timeout: 255 seconds]
Andy-D has joined #linux-sunxi
sehraf has quit [Ping timeout: 250 seconds]
quitte has joined #linux-sunxi
<quitte>
Hi.
<quitte>
bbrezillon: I want to use mtd with openwrt's 3.13.7 kernel. is the V3 9 part patch series what I should try to patch in?
rz2k has joined #linux-sunxi
<bbrezillon>
quitte: Hi
<quitte>
hi
Renard has joined #linux-sunxi
<bbrezillon>
quitte: I'm not sure it will cleanly apply on a 3.13 kernel, but you can try
<bbrezillon>
quitte: and yes, this is the last working version (I'm working on a new one but it's still in development)
<quitte>
okay thanks. that's all I needed to know.
<wens>
bbrezillon: is the nand timing stuff hard to find in the datasheets?
<wens>
the other cubies use another variant of the nand flash chip, with a different density iirc
<bbrezillon>
the conversion between NAND timings (from the datasheet) and ONFI timing mode is pretty straightforward: the ONFI spec details timing mode requirements in a big table
<bbrezillon>
though it requires some time to find the best mode
<bbrezillon>
(check that all timings of a timing mode match the NAND chip requirements)
Renard has quit [Ping timeout: 244 seconds]
<bbrezillon>
or you can set timing mode to 0 and accept lower perfomances ;-)
<bbrezillon>
wens: ^
Renard has joined #linux-sunxi
<wens>
i'll look into it some time, thx
<wens>
though i'm really afraid of destroying the contents in my nand
akaizen has joined #linux-sunxi
<bbrezillon>
wens: then don't try it ;-)
akaizen has quit [Ping timeout: 240 seconds]
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
xinj has joined #linux-sunxi
<quitte>
bbrezillon: is the v2 patch the latet for ecc strength and step size?
<bbrezillon>
ezequiel's patch adding ecc strength an size has been merged in 3.16 (or 3.15, I dont recall exactly)
diego71 has quit [Ping timeout: 256 seconds]
diego71 has joined #linux-sunxi
<quitte>
ah sorry. I thought it was yours, too
<bbrezillon>
quitte: np. Actually I proposed one but Ezequiel already proposed a similar patch a few days/weeks earlier :)
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 240 seconds]
paulk-aldrin has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
akaizen has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
y0g1 has quit [Ping timeout: 245 seconds]
wingrime has quit [Read error: Connection reset by peer]
wingrime1 has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
<quitte>
bbrezillon: the patches applied and it built after enabling Support for NAND on Allwinner SoCs but there is no trace of it in dmesg or /dev. do I need a patched u-boot first?
<plaes>
quitte: did you enable it in device tree?
<quitte>
plaes: what device tree?
<quitte>
dtsi and dts files?
<plaes>
yes
<quitte>
yes those were part of the patchset
Andy-D has joined #linux-sunxi
<quitte>
except the line to enable may have said disabled ...
<quitte>
nfc: nand@01c03000{ ....\ status = "disabled"; \}
<bbrezillon>
quitte: which board are you working on ?
<quitte>
cubietruck
<bbrezillon>
enabling the NAND controller was part of the patch series too
<bbrezillon>
did you enabled the NAND controller driver in your .config ?
<quitte>
i think so. support for nand on allwinner?
<bbrezillon>
grep SUNXI_NAND .config
<bbrezillon>
quitte: can you paste you boot logs ?
<quitte>
yes.
HeHoPMaJIeH has joined #linux-sunxi
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
<bbrezillon>
quitte: sorry, you should search for NAND_SUNXI and not SUNXI_NAND
<quitte>
of course! why didn't i think of looking for commits. All I could think was how am I ever going to find all the necessary pieces in all those files
ogi has joined #linux-sunxi
Renard has joined #linux-sunxi
<plaes>
quitte: you can add .patch in the end of the commit url in github
quitte_ has joined #linux-sunxi
quitte has quit [Ping timeout: 240 seconds]
<quitte_>
the proc/device-tree entry is only dependent on the dts/dtsi settings, right?
quitte_ is now known as quitte
ogi has quit [Remote host closed the connection]
<quitte>
how does the kernel even know it's running on the cubietruck? this kernel config was created by the openwrt build system for the cubieboard2. could some option be missing in the kernel?
setkeh has quit [Ping timeout: 240 seconds]
setkeh has joined #linux-sunxi
xinj has quit [*.net *.split]
diego_r has quit [*.net *.split]
amitk has quit [*.net *.split]
wigyori has quit [*.net *.split]
arokux has quit [*.net *.split]
dlan has quit [*.net *.split]
GeertJohan has quit [*.net *.split]
apo_ has quit [*.net *.split]
MSameer has quit [*.net *.split]
eagles0513875 has quit [*.net *.split]
nicksydney has quit [*.net *.split]
paulk-aldrin has joined #linux-sunxi
setkeh has quit [Ping timeout: 240 seconds]
ricardocrudo has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
dlan has joined #linux-sunxi
MSameer has joined #linux-sunxi
arokux has joined #linux-sunxi
eagles0513875 has joined #linux-sunxi
diego_r has joined #linux-sunxi
xinj has joined #linux-sunxi
nicksydney has joined #linux-sunxi
wigyori has joined #linux-sunxi
GeertJohan has joined #linux-sunxi
amitk has joined #linux-sunxi
apo_ has joined #linux-sunxi
xinj has joined #linux-sunxi
xinj has quit [Read error: Connection reset by peer]
<quitte>
bbrezillon: bingo! I needed to copy over the dtb file to the sd-card,too
<quitte>
now i get loads of bad eraseblock errors
setkeh has joined #linux-sunxi
<quitte>
which i guess is to be expected since the data format is different
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<bbrezillon>
quitte: yep
<quitte>
thanks! I'll call it a day and figure out how to get data on it tomorrow
<bbrezillon>
quitte: you'll have to format the NAND using flash_erase /dev/mtdX 0 0
<bbrezillon>
but you'll have to patch nand_base.c to force bad block erasure
<quitte>
bbrezillon: don't I have to copy your partitioning data first?
<bbrezillon>
quitte: there's no partitionning data except the partition described in your DT
Andy-D has quit [Ping timeout: 240 seconds]
<bbrezillon>
(3 partitions: boot0, boot0-recovery and main)
<quitte>
yes. that was not part of the V3 patch series
konradoo77 has quit [Ping timeout: 240 seconds]
<bbrezillon>
quitte: you're right
<quitte>
lovely. it would have felt weird to run openwrt from anything but a mtd device.
<quitte>
dma is not yet working, though?
Andy-D has joined #linux-sunxi
<bbrezillon>
quitte: no, and I don't plan to work on it in a near future
konradoo77 has joined #linux-sunxi
setkeh has quit [Ping timeout: 240 seconds]
xeros has quit [Quit: xeros]
quitte has quit [Remote host closed the connection]
xavia has joined #linux-sunxi
akaizen has joined #linux-sunxi
setkeh has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
amitk has quit [Quit: leaving]
akaizen has joined #linux-sunxi
xeros has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
Andy-D has quit [Ping timeout: 256 seconds]
leviathanch2 has quit [Remote host closed the connection]
leviathanch2 has joined #linux-sunxi
mmarker1 has quit [Read error: Connection reset by peer]
mmarker has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
MasterChief4942 has joined #linux-sunxi
<MasterChief4942>
Hello, do anyone succeed with building last Sunxi Linux 3.4 ? getting error "linux/in.h: No such file or directory"
<MasterChief4942>
how to fix?
HeHoPMaJIeH has quit [Remote host closed the connection]
FR^2 has quit [Quit: Connection reset by peer]
<wens>
first patch set from MediaTek...
leviathanch2 has quit [Ping timeout: 240 seconds]
libcg has quit [Remote host closed the connection]
programtruck has joined #linux-sunxi
<programtruck>
I have a question about Cedar X
<programtruck>
it is written "Disadvantages Allwinner's CedarX technology and libraries: There is no glue code for any other multimedia frameworks on GNU/Linux systems. The use of OpenMAX (OMX) instead would have rendered this a non-issue, with existing projects like GstOpenMAX (GStreamer OpenMAX).
<programtruck>
finially is it possible to use GstOpenMAX or not
Andy-D has joined #linux-sunxi
mmarker has quit [Remote host closed the connection]
<MasterChief4942>
Kernel Panic is best results I got with Sunxi Linux. Why I'm getting kernel panic now http://pastebin.com/7TSiNLG9 ?
mmarker has joined #linux-sunxi
<wens>
is your rootfs populated?
xinj has quit [Ping timeout: 255 seconds]
sehraf has quit [Ping timeout: 250 seconds]
ecelis has quit [Ping timeout: 250 seconds]
ecelis has joined #linux-sunxi
<programtruck>
nobody has information about cedar x
<programtruck>
?
sehraf has joined #linux-sunxi
<Turl>
programtruck: the wiki has
<programtruck>
i read wiki before
<programtruck>
could you help me plz
<Turl>
MasterChief4942: did you clone the repo using git?
<Turl>
programtruck: what do you need help with?
<Turl>
MasterChief4942: that's not a panic, it's just saying there's no init
<Turl>
(well, yeah, it's a panic, but not a bad panic)
<Turl>
MasterChief4942: make sure whatever rootfs you put on the second sdcard partition has a init
<programtruck>
i dont understand this sentence => The use of OpenMAX (OMX) instead would have rendered this a non-issue, with existing projects like GstOpenMAX (GStreamer OpenMAX
<Turl>
programtruck: it means allwinner reinvented the wheel instead of using OpenMAX
<programtruck>
with using VDPAU ?
<Turl>
no, with using random API they invented
<Turl>
programtruck: on the recent android SDKs they started using OMX but as far as I know nobody tried that yet
<programtruck>
i heard rummers abou it too i didnt test it myself
<programtruck>
But question is here if i want to deccod h264 via hardware in my code how i do it
<programtruck>
its completely confusing for me
<Turl>
programtruck: on what platform?
<programtruck>
Gstreamer
<Turl>
programtruck: the alternatives you have are
<programtruck>
unfortunately in recent version of Gstreamer VDPAU doesnt supprt H264 yet , i talked with maintener and he told its in To do list
<Turl>
make your program use the allwinner blobs
<Turl>
you need to learn their api which has not much documentation, and live with the bugs
<Turl>
or use the reverse engineered vdpau and collaborate with its development
<Turl>
but it's not supposed to be production ready, it is just a way to learn about the hardware decoding engine
<ikeeki>
I'd change myself, but I prefer that more self-confidence people do it for me.
<ikeeki>
or self-confident ?¿?¿
<ikeeki>
bye
ikeeki has quit [Client Quit]
bluse has joined #linux-sunxi
lynxis has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 250 seconds]
paulk-aldrin has quit [Remote host closed the connection]
paulk-aldrin has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
physis has joined #linux-sunxi
deasy has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
issue_ has quit [Remote host closed the connection]
kuldeepdhaka has quit [Max SendQ exceeded]
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
prahal has quit [Read error: Connection reset by peer]
bonbons has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
FR^2 has joined #linux-sunxi
FR^2 has quit [Quit: Leaving]
<ricardocrudo>
there is a official linux-sunxi rt patch distribuition? I found one patch here: http://www.cubieforums.com/index.php/topic,797.0.html, but I'd like to know if there is patches to the current 3.4.* kernel versions
Gerwin_J has quit [Quit: Gerwin_J]
Andy-D has quit [Ping timeout: 255 seconds]
kivutar has quit [Read error: No route to host]
konradoo77 has quit [Ping timeout: 255 seconds]
techn has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 244 seconds]
keebler has quit [Ping timeout: 245 seconds]
montjoie[home] has quit [Ping timeout: 245 seconds]
keebler has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
montjoie[home] has joined #linux-sunxi
paulk-aldrin has quit [Remote host closed the connection]
keebler is now known as Guest58637
kivutar has joined #linux-sunxi
Vanfanel has quit [Quit: Lost terminal]
bertrik has quit [Ping timeout: 255 seconds]
tonyctl has quit [Quit: tonyctl]
popolon has quit [Quit: Quitte]
xavia has quit [Remote host closed the connection]