gianMOD_ has quit [Remote host closed the connection]
naobsd has joined #linux-sunxi
petr has quit [Remote host closed the connection]
naobsd has quit [Ping timeout: 250 seconds]
naobsd has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
gianMOD has joined #linux-sunxi
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 264 seconds]
gianMOD has quit [Ping timeout: 265 seconds]
flok420 has quit [Read error: Connection reset by peer]
khuey is now known as khuey|away
cosm has quit [Read error: Connection reset by peer]
physis has quit [Read error: Connection reset by peer]
physis has joined #linux-sunxi
mmarker has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gianMOD has joined #linux-sunxi
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
gianMOD has quit [Ping timeout: 265 seconds]
mmarker has joined #linux-sunxi
mturquette has quit [Remote host closed the connection]
arnd has quit [Remote host closed the connection]
jjardon has quit [Remote host closed the connection]
steev has quit [Remote host closed the connection]
Tartarus has quit [Remote host closed the connection]
ojn has quit [Remote host closed the connection]
p1u3sch1 has quit [Ping timeout: 276 seconds]
p1u3sch1 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 255 seconds]
arete74 has quit [Ping timeout: 272 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
mmarker has quit [Quit: ZNC - 1.6.0 - http://znc.in]
iamfrankenstein has quit [Ping timeout: 264 seconds]
mmarker has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 245 seconds]
gianMOD has joined #linux-sunxi
kaspter has joined #linux-sunxi
gianMOD has quit [Ping timeout: 246 seconds]
cubeast has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
domidumont has joined #linux-sunxi
gianMOD has joined #linux-sunxi
domidumont has quit [Read error: Connection reset by peer]
domidumont has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
<cubeast>
Is NAND installation for a A20 device any different for mainline kernel than the sunxi 3.4 kernel?
<Wizzup_>
I would assume so, but I am not certain
domidumont has quit [Ping timeout: 246 seconds]
philippe_fouquet has joined #linux-sunxi
sehraf has joined #linux-sunxi
jjardon has joined #linux-sunxi
steev has joined #linux-sunxi
domidumont has joined #linux-sunxi
<plaes>
cubeast: NAND support is not yet available in mainline
<plaes>
*fully* available
<cubeast>
so that means a sd-card
<cubeast>
which u-boot should I go for for either kernel? Is the mainline u-boot good for both (3.4 and mainline kernel)?
ojn has joined #linux-sunxi
<plaes>
mainline u-boot
<plaes>
and nand booting is currently being discussed
<plaes>
because there are some things that have been done before
<cubeast>
And from what I've read from the wiki, direct booting off a SATA disk is not supported
<plaes>
yes, unfortunately
<cubeast>
you need to have u-boot on nand or sd-card
<cubeast>
ok that shouldn't be a problem
<plaes>
in case you are adventureous, the NAND boot patches work
arnd has joined #linux-sunxi
<oliv3r>
yeah our engineer is testing them to see if he can improve boot times
<oliv3r>
but so far, it works great
<cubeast>
oooh nice
hansg has joined #linux-sunxi
<philippe_fouquet>
I try the RSpliet path It loke like work when I boot I FEL mode
<philippe_fouquet>
but I don't know how I can flast it on nand for direct boot
<philippe_fouquet>
At first view the writing fail in first sector
<RSpliet>
philippe_fouquet: I have a little script that, from a working Linux with MTD support (Boris' kernel) and given a "hwpack" with the right U-boot, kernel and rootfs inside, will set up the nand chip
<RSpliet>
I'll see if I can share it with you somehow later today
<RSpliet>
(not yet in the office)
<RSpliet>
it will require you to manually create the hwpack
<RSpliet>
you probably want Hans' tree for that, so you can define your NAND partitions a bit more elaborate
gianMOD has joined #linux-sunxi
<philippe_fouquet>
Sory for my stupid question but I'm an starter (I used to used BSP manufacturer)
zerotri has quit [Remote host closed the connection]
gianMOD has quit [Ping timeout: 252 seconds]
<philippe_fouquet>
Where I can find hans' one
zerotri has joined #linux-sunxi
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
<cubeast>
What's a good linux desktop distro for a 3.4 kernel? I think I heard some people complain that the latest debian 8 has some udev problems with old kernels like that.
gianMOD has joined #linux-sunxi
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
<Wizzup_>
cubeast: you probably mean systemd problems :)
<Wizzup_>
I use eudev fine on 3.4 kernels
<cubeast>
can you recommend a LTS distro for desktop on Cubietruck?
mturquette has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
<cubeast>
I should probably just install a headless image and a desktop environment ontop
<RSpliet>
make sure to enable the nand controller in your particular DTS and define the right partitions (most likely a copy/paste from the cubietruck defs)
<philippe_fouquet>
great thanks RSpliet I try that now
<RSpliet>
take your time ;-)
Tartarus has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe71rus has quit [Read error: Connection reset by peer]
flok420 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
hipboi has quit [Quit: Leaving]
hipboi has joined #linux-sunxi
Andy-D has quit [Ping timeout: 256 seconds]
lemonzest has joined #linux-sunxi
simosx has joined #linux-sunxi
prz has joined #linux-sunxi
mrnuke has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 276 seconds]
ricardocrudo has joined #linux-sunxi
awe00 has joined #linux-sunxi
simosx has quit [Quit: Leaving]
Andy-D has joined #linux-sunxi
alexvf has quit [Quit: Page closed]
alexvf has joined #linux-sunxi
Andy-D has quit [Ping timeout: 250 seconds]
sunxi_fan1 has quit [Ping timeout: 265 seconds]
sunxi_fan has joined #linux-sunxi
<rellla>
it's a mess, that there is no git history in allwinner sdks...
<libv>
rellla: we got lucky once.
<libv>
ever so long ago though.
<rellla>
got an h3 and can't decide where to start from.
<wens>
rellla: i have some basics, though no progress on the software side
<rellla>
wens: can i help somehow?
<wens>
one thing is there is no otg port, the otg controller is wired as host mode only :(
<wens>
kinda rules out FEL mode or fastboot
<wens>
i planned to write an email about it, but my desktop LCD broke down yesterday
<wens>
fyi, uart is the pins next to the wifi module
<wens>
with the ports facing up, left 2 pins are ground, middle one is 3.3v or 5v, right 2 are rx and tx
<wens>
but the bundled software uses mmc0 pinmux for uart0
<rellla>
wens: thanks, i'll first try to get something out of it with a ready made image ...
<wens>
first thing would be to extract the fex file
paulk-collins has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
paulk-collins_ has joined #linux-sunxi
paulk-collins__ has joined #linux-sunxi
paulk-collins__ has quit [Remote host closed the connection]
paulk-aldrin has joined #linux-sunxi
paulk-collins_ has quit [Remote host closed the connection]
paulk-collins has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
HeHoPMaJIeH has quit [Read error: Connection reset by peer]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
HeHoPMaJIeH has quit [Client Quit]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Read error: Connection reset by peer]
HeHoPMaJIeH has joined #linux-sunxi
arete74_ has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
HeHoPMaJIeH has joined #linux-sunxi
Seppoz has joined #linux-sunxi
flok420 has quit [Ping timeout: 256 seconds]
flok420 has joined #linux-sunxi
<RSpliet>
bbrezillon: where would you like RFCs?
<RSpliet>
for sunxi_nand in Linux
<RSpliet>
MTD ML, personal e-mail?
<bbrezillon>
RSpliet: send it to both, actually also add Brian Norris (the MTD maintainer)
<paulk-collins>
I'm looking to use the cubieboard2's SPI connector to flash a laptop's BIOS (with coreboot)
<paulk-collins>
is mainline good for that or should I instead use 3.4 due to DMA-related concerns?
<bbrezillon>
and if this is about the MTD part stuff, also add Richard Weinberger
<bbrezillon>
okay, then me, the MTD maintainers and the MTD ML
<bbrezillon>
pretty much what get_maintainers.pl returns
<bbrezillon>
and of course you can add the linux-sunxi ML
<mripard>
bbrezillon: +LAKML and me.
<bbrezillon>
mripard: yes
<bbrezillon>
RSpliet: ^
<RSpliet>
LAKML?
<RSpliet>
thanks
<mripard>
Linux ARM Kernel
<bbrezillon>
linux-arm-kernel
<mripard>
just use get_maintainer, you'll have everythnig you need
<markvandenborre>
is there any way that I can make the life of mainline kernel maintainers easier to do h3 development?
<markvandenborre>
as a humble owner of an h3 based board?
<mripard>
markvandenborre: testing the patches on the board you have would be really helpful :)
<markvandenborre>
I saw something about fel
<markvandenborre>
about a need to extract fex files I mean
<wens>
rellla: oops
<wens>
rellla: you were talking about the h3, only noticed just now :(
<wens>
rellla: forget what i said, i was talking about the h8/a83
<rellla>
wens: :)
cosm has joined #linux-sunxi
<bbrezillon>
RSpliet: I'm just curious :-), what is this RFC about ?
<RSpliet>
calculating the TIMING_CFG value
<RSpliet>
actually, I'm not even marking it RFC... if it's good it's good for inclusion, I tested it :-)
<RSpliet>
(but that is obviously n=1 statistics)
reinforce has joined #linux-sunxi
firnsy_ has joined #linux-sunxi
firnsy_ has joined #linux-sunxi
<RSpliet>
oh fsck me in the EXT4
<RSpliet>
I should be more careful with reviewing my patches before sending, sorry...
firnsy_ has quit [Ping timeout: 258 seconds]
firnsy has quit [Ping timeout: 265 seconds]
orly_owl has quit [Ping timeout: 258 seconds]
orly_owl has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
<bbrezillon>
RSpliet: no problem
gianMOD_ has joined #linux-sunxi
<paulk-collins>
anyone aware of the state of SPI in mainline?
<paulk-collins>
looks like sunxi-3.4 is way broken
<oliv3r>
paulk-collins: i'm using spi_mmc driver over spi (with an out of tree patch from alex i think) and works reasonbly well
<paulk-collins>
oliv3r, on what kernel is that?
diego_r has joined #linux-sunxi
nicksydney has quit [Remote host closed the connection]
arete74_ has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
<mripard>
paulk-collins: SPI works fine in mainline, the only limitation is that you can't have a transfer bigger than the FIFO at the moment
<mripard>
there's some patches floating around to fix that
<rellla>
wiki wtf
gianMOD_ has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
nicksydney has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
gianMOD has joined #linux-sunxi
robogoat has quit [Ping timeout: 264 seconds]
cubeast has quit [Quit: Leaving]
gzamboni has quit [Ping timeout: 256 seconds]
mmarker has quit [Changing host]
mmarker has joined #linux-sunxi
vpeter has quit [Quit: Konversation terminated!]
vpeter has joined #linux-sunxi
<oliv3r>
mripard: those patches are still not merged are they? I've bumped them ages ago, i can bump them again if that helps at all
<mripard>
I don't really know
<mripard>
judging from git log, at least the one from alexandru was not for some reason
gzamboni has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
mmarker has quit [Ping timeout: 265 seconds]
mmarker has joined #linux-sunxi
Andy-D has joined #linux-sunxi
firnsy has joined #linux-sunxi
firnsy has joined #linux-sunxi
firnsy has quit [Ping timeout: 265 seconds]
kaspter has quit [Ping timeout: 244 seconds]
mmarker has quit [Changing host]
mmarker has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<RSpliet>
Is Emilio Lopez' DMA driver still in the pipeline for inclusion in mainline?
von_fritz has joined #linux-sunxi
vishnup has joined #linux-sunxi
<mripard>
RSpliet: yes, I even sent a new version yesterday.
vpeter has quit [Ping timeout: 264 seconds]
<RSpliet>
excellent! :-)
<NiteHawk>
rellla: BPI-forum is somewhat going nuts on wiki editing (as you already noticed). worst of all: the "Banana Pi" forward has been replaced with a 'split' page?!?
<rellla>
i will let him go for a while ...
<rellla>
NiteHawk: this all bananapi licensing, naming etc. conlicts - i don't understand who is reponsible and founder of what model. it's a mess.
<rellla>
it seems, that every bpi-site is doing their own thing, own repos etc. giving NOTHING back to linux-sunxi.
<rellla>
even no communicatioin.
<NiteHawk>
whois tells me that domain is related to Registrant Contact Email: lionwang@sinovoip.com.cn - sinovoip has always been awful in communicating
<plaes>
RSpliet: yup
<wens>
afaik the original "banana pi" was designed by Foxconn, and given to the 2 vendors to produce and sell
<plaes>
ah.. Maxime already responded
vpeter has joined #linux-sunxi
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
domidumont has quit [Read error: Connection reset by peer]
Netlynx has joined #linux-sunxi
cosm has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
fucxy has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
philippe_fouquet has joined #linux-sunxi
mouse9911 has joined #linux-sunxi
<mouse9911>
Hi, does anyone know where I could find cedarx binaries for armhf?
kaspter has joined #linux-sunxi
philippe_fouquet has quit [Ping timeout: 264 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
kaspter has quit [Remote host closed the connection]
prz has quit [Quit: Leaving.]
diego_r has quit [Quit: Konversation terminated!]
bonbons has joined #linux-sunxi
von_fritz has quit [Quit: Don't Panic]
awe00 has quit [Ping timeout: 264 seconds]
diego71 has quit [Ping timeout: 256 seconds]
diego71 has joined #linux-sunxi
khuey|away is now known as khuey
interrobangd has joined #linux-sunxi
fucxy has quit [Quit: Connection closed for inactivity]
gianMOD has quit [Remote host closed the connection]
interrobangd has quit [Ping timeout: 276 seconds]
ricardocrudo has quit [Ping timeout: 255 seconds]
vbmithr_ has quit [Ping timeout: 244 seconds]
domidumont has joined #linux-sunxi
cosm has joined #linux-sunxi
vbmithr has joined #linux-sunxi
cosm has quit [Read error: Connection reset by peer]
iamfrankenstein has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
<rellla>
mouse9911: google or reading the wiki would have helped.
<rellla>
but i don't know anyone here, that uses this binaries. they won't be supported. try libvdpau-sunxi instead.
gianMOD has joined #linux-sunxi
<Kasreyn>
"GPT: last_usable_lba incorrect: 15D50A38E > 5D50A3B0" is printed on u-boot "scsi part" (version is 2014.10+dfsg1-5).. scsi scan reports 746.5GB capacity on a drive that is 3TB.. can u-boot not discover partitions on 3TB drives?
awe00 has joined #linux-sunxi
<NiteHawk>
smells a bit of 2TB wrap-around?
<NiteHawk>
but i'm no expert on u-boot, so i can't really tell/confirm
<Kasreyn>
it doesn't find the partitions for sure..
petr has quit [Client Quit]
petr has joined #linux-sunxi
dev1990 has joined #linux-sunxi
<NiteHawk>
that's my impression. 15D50A38E xor 5D50A3B0 = 10000003E - and that bit 32 might have gotten truncated. LBA 2**32 and 512-byte sectors matches the 2TB boundary...
<Kasreyn>
ok.. i made a 50GB partition at the beginning of the drive..
<Kasreyn>
debian jessie installer did it.. are you saying something went wrong?
<NiteHawk>
no, but you didn't solve anything either. you were talking about a problem in u-boot, that specific issue might go away as soon as you boot the actual os/kernel
<Kasreyn>
right but i can't boot actual kernel because of it
<NiteHawk>
hmm... i'd expect you need a separate boot partition at the start of the disk that's small enough to be properly recognized by u-boot
<Kasreyn>
scsi part also says this: "GUID Partition Table Header signature is wrong:0xF01EC36BE03B001A != 0x5452415020494645"
<NiteHawk>
or does it fail to recognize/parse any partition table?
<NiteHawk>
yes, GPT has a backup copy at the end of the disk - which u-boot probably fails to access :/
<Kasreyn>
but this should at least mean i have a u-boot with GPT compiled in..
<Kasreyn>
it's the binary for BPi available in jessie ..
<NiteHawk>
searching around a bit points to a CONFIG_SYS_64BIT_LBA setting, and some LBA patches for u-boot
<Kasreyn>
ah ok.. i'll see if i can find those and apply then..
<NiteHawk>
well, the GPT (format) support is likely independent of the LBA (sector) addressing per se
<Kasreyn>
but i need it to support HDDs larger than 2TB if i understand things correctly..
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
<NiteHawk>
there's something in the README about it. you need either CONFIG_LBA48 or CONFIG_SYS_64BIT_LBA for disks > 2.1TB
<Kasreyn>
ok thanks NiteHawk
<NiteHawk>
and i don't immediately see those defined for sunxi / Bananapi_defconfig - so CONFIG_LAB48 might be a good starting point
<Kasreyn>
i added CONFIG_LBA48=y and CONFIG_SYS_64BIT_LBA=y to Bananapi_defconfig.. ii'll report results :)
<Kasreyn>
hmm.. capacity is still 746.5GB..
<Kasreyn>
same error(s)
<NiteHawk>
ok, your error "last_usable_lba incorrect" originates from disk/part_efi.c - there's another hint
<NiteHawk>
* NOTE:
<NiteHawk>
* when CONFIG_SYS_64BIT_LBA is not defined, lbaint_t is 32 bits; this
<NiteHawk>
* limits the maximum size of addressable storage to < 2 Terra Bytes
<NiteHawk>
*/
<NiteHawk>
maybe try to add CONFIG_SYS_EXTRA_OPTIONS="SYS_64BIT_LBA" to Bananapi_defconfig
<NiteHawk>
that should translate to CONFIG_SYS_64BIT_LBA via the build system
HeavyMetal has quit [Ping timeout: 256 seconds]
<NiteHawk>
(and don't forget to run "make Bananapi_defconfig")
HeavyMetal has joined #linux-sunxi
jjardon has quit [Ping timeout: 256 seconds]
MY123 has joined #linux-sunxi
<NiteHawk>
sorry, i should have worded that differently: add SYS_64BIT_LBA to the existing CONFIG_SYS_EXTRA_OPTIONS="..." in Bananapi_defconfig
<NiteHawk>
the ahci driver (also handling SUNXI_AHCI) doesn't seem to care for CONFIG_LBA48
jjardon has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 250 seconds]
domidumont has quit [Ping timeout: 246 seconds]
<Kasreyn>
NiteHawk: thanks, it works now, u-boot-2014.10, i added them to include/configs/sun7i.h.. #define CONFIG_LBA48 and #define CONFIG_SYS_64BIT_LBA
<Kasreyn>
had to download linaro bare-metal toolchain to get it compiled (my computer is still on wheezy)
<NiteHawk>
great. after a closer look at part_efi.c i think it's CONFIG_SYS_64BIT_LBA (redefining lbaint_t) that solves your problem
<Kasreyn>
scsi scan now detects the entire capacity of the drive and i can see partitions
lerc has quit [Remote host closed the connection]
<Kasreyn>
(why isn't debian jessie doing this)
<NiteHawk>
we should probably make sure to get that CONFIG_SYS_64BIT_LBA into Bananapi_defconfig or sunxi-common.h ...
<NiteHawk>
you're again mixing u-boot with kernel/os ?
<Kasreyn>
depends what you mean? i'm no longer using jessie u-boot since it can't handle big HDDs..
<Kasreyn>
so the plan now is to use u-boot 2014.10 + debian jessie install
ricardocrudo has joined #linux-sunxi
<NiteHawk>
ah, ok - i wasn't aware of that "jessie u-boot". and yes, you need to replace your u-boot with a fixed one to avoid this problem
<mouse9911>
rellla: thanks! is there any documentation / examples you know of that I could work from? i see some of the binaries but have no idea what functions are available or how they should be used. do you know if libvdpau-sunxi offers h264 encoding? i will check again, but last i checked it was just for decoding i thought