ricardocrudo has quit [Remote host closed the connection]
techn has quit [Read error: Connection reset by peer]
physis has quit [Remote host closed the connection]
physis has joined #linux-sunxi
naobsd has joined #linux-sunxi
physis has quit [Remote host closed the connection]
vishnup has quit [Ping timeout: 256 seconds]
hipboi_ has quit [Remote host closed the connection]
khuey is now known as khuey|away
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 256 seconds]
iflema has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
gianMOD_ has quit [Ping timeout: 256 seconds]
egbert has quit [Disconnected by services]
flyhorse_YPGys has joined #linux-sunxi
egbert has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 252 seconds]
physis has joined #linux-sunxi
physis has quit [Ping timeout: 244 seconds]
flyhorse has joined #linux-sunxi
flyhorse_YPGys has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 252 seconds]
naobsd has quit [Ping timeout: 265 seconds]
p1u3sch1_ has quit [Ping timeout: 255 seconds]
p1u3sch1 has joined #linux-sunxi
hipboi has joined #linux-sunxi
bobryan has quit [Ping timeout: 256 seconds]
bobryan has joined #linux-sunxi
naobsd has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
bbrezillon has quit [Quit: WeeChat 0.4.2]
physis has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
khuey|away is now known as khuey
flyhorse_Zxisk has joined #linux-sunxi
physis has quit [Ping timeout: 246 seconds]
khuey is now known as khuey|away
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
arete74 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
domidumont has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
firnsy has quit [Remote host closed the connection]
sehraf has joined #linux-sunxi
avph has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
gianMOD has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_Zxisk has quit [Read error: Connection reset by peer]
<RSpliet>
mripard: is OF/DT enabled? Have you defined the NAND in your DT?
gianMOD has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
diego_r has joined #linux-sunxi
petr has quit [Remote host closed the connection]
cubeast has joined #linux-sunxi
petr_ has joined #linux-sunxi
firnsy has joined #linux-sunxi
gianMOD_ has joined #linux-sunxi
gianMOD has quit [Ping timeout: 250 seconds]
<cubeast>
Hey, if I want to boot from nand, which u-boot to choose? Sunxi or mainline? The mainline u-boot wiki page says it "fully supports major functions (except NAND)".
<cubeast>
does that include booting from nand?
<cubeast>
I'll be using the sunxi linux kernel 3.4
orly_owl has joined #linux-sunxi
BroderTuck has joined #linux-sunxi
gianMOD_ has quit [Remote host closed the connection]
bbrezillon has quit [Quit: WeeChat 0.4.2]
lemonzest has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
<mripard>
RSpliet: I think I did
<mripard>
and the DT is compiled in
<mripard>
so I'm guessing it's enabled
flyhorse_tHPox has joined #linux-sunxi
<mripard>
2s, I'm pasting the config file somewhere
flyhorse has quit [Read error: Connection reset by peer]
<RSpliet>
mripard: has Emilio (or you) documented findings related to the DMA engine?
<mripard>
BroderTuck: you should have, it's been merged for like 9 monthes now.
<mripard>
RSpliet: what kind of findings?
<RSpliet>
well, currently I can't make it do rx from NAND to SDRAM with transfer sizes not a multiple of 4B
<RSpliet>
so a) there are limitations, or b) I need to tweak the PARA register
<mripard>
what do you mean you can't make it do that ?
<mripard>
the driver refuses to, or the transfer never happens (or reports an error?)
physis has quit [Ping timeout: 252 seconds]
<RSpliet>
the transfer doesn't finish... in the NAND driver I wait 10s before timing out, and it consistently times out when I try those kind of transfers
<RSpliet>
but that shouldn't prevent it from working now
flyhorse has joined #linux-sunxi
<RSpliet>
mripard: doing a diff on our configs, the first thing I notice is that yours mentions U-boot 2015.07-rc1. Did you forward-port the gitlab branch to 2015.07-rc1? or might you be in the wrong branch?
flyhorse_tHPox has quit [Read error: Connection reset by peer]
<RSpliet>
I expected it to be 2015.04
<mripard>
I applied your patches on top of sunxi/next
<mripard>
it looks like it has all the introduction patches
<mripard>
from daniel
<mripard>
and I needed some features from there
gianMOD has joined #linux-sunxi
<RSpliet>
ok, I expected sunxi-common.h to be a mess after applying my patches on top of Daniels, which is why I postponed the rebase a little
<RSpliet>
your log indicates CONFIG_SPL_NAND_SUPPORT is not defined... I used to just do that in sunxi-common.h under the condition that CONFIG_NAND_SUNXI and CONFIG_NAND_SUNXI_GPC_PORTS are defined (the latter which comes from sun5i.h)
<NiteHawk>
wens: it's definitely related to the usage of a 64-bit lbaint_t - without CONFIG_SYS_64BIT_LBA the error goes away
paulk-collins has joined #linux-sunxi
arossdotme has quit [Ping timeout: 252 seconds]
<wens>
iirc there was another __div64 error some while ago, so i switched my toolchain to softfp for u-boot
<NiteHawk>
wens: http://pastebin.com/QxZbGx5U - you're probably right on track, there's "bpabi.o", "_divdi3.o" and "_udivdi3.o"
<NiteHawk>
so i'd have to pick softfp or go for "multilib"?
<NiteHawk>
is there a specific reason u-boot has to enforce the softfloat abi? https://google.com/search?q=u-boot+hardfloat lists numerous similar issues across a variety of platforms
<mripard>
because you don't want to use hardfloat?
<NiteHawk>
it's not available to u-boot? i mean: the hardware has it, why not use it?
<mripard>
you don't know if the hardware has it
<mripard>
it's exactly the same argument than for the kernel
<mripard>
all the platforms supported don't have an FPU
<mripard>
so you can't use floating point instructions
<NiteHawk>
ok, keeping it 'universal' is a reasonable argument. if i understand that right, that means i need a softfloat toolchain or at least "multilib" to be able to link successfully?
<mripard>
I'm using a softfloat one and it works
<mripard>
a multilib one might work if it has softfloat support
<wens>
not sure if the Makefiles will take a hardfloat default multilib toolchain
<NiteHawk>
the Makefiles / build process seems fine. it's just a linking problem related to libgcc.a not matching the expected calling convention
flyhorse has joined #linux-sunxi
flyhorse_klvFI has quit [Read error: Connection reset by peer]
<NiteHawk>
https://patchwork.ozlabs.org/patch/425213/ describes another, very similar issue. if i understand it correctly, the "right" way to fix this would be to avoid introducing FP calculations in the first place, using stuf like "do_div()"?
avph has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
ddc has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
reinforce has joined #linux-sunxi
kaspter has quit [Ping timeout: 276 seconds]
hipboi has left #linux-sunxi ["Leaving"]
<RSpliet>
mripard: IS_ENABLED checks for the configuration option to be y or m. The define is neither of those values.
<RSpliet>
so in sunxi-common.h, please replace #define CONFIG_SPL_NAND_SUPPORT with #define CONFIG_SPL_NAND_SUPPORT y
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
physis has joined #linux-sunxi
physis has quit [Ping timeout: 276 seconds]
arossdotme has joined #linux-sunxi
flyhorse_WbeZU has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
pmattern has joined #linux-sunxi
mmarker has joined #linux-sunxi
mmarker has joined #linux-sunxi
flyhorse has joined #linux-sunxi
flyhorse_WbeZU has quit [Read error: Connection reset by peer]
adj_ has quit [Quit: Leaving]
ddc has quit [Quit: Page closed]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
Net147 has joined #linux-sunxi
gianMOD_ has joined #linux-sunxi
cubeast has quit [Quit: Leaving]
gianMOD_ has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
physis has joined #linux-sunxi
<RSpliet>
hrmphrrrmm.... UBI is not quite suitable for DMA-enabled devices
<bbrezillon>
RSpliet: well, supporting DMA was on my TODO list, but I'm glag you had a look at it :-)
<RSpliet>
bbrezillon: it comes with the big bad "but" that UBI isn't ready for it currently
<bbrezillon>
yes
<bbrezillon>
I know
<bbrezillon>
I though about modifying the MTD API to be able to pass a sg list
<bbrezillon>
but that's intrusive
<bbrezillon>
and you'll have to modify UBI anyway
<RSpliet>
you do... I guess altering MTD only makes sense if you want to aim for async copies
<bbrezillon>
RSpliet: hm, using kzalloc to allocate a whole block
<RSpliet>
it's probably a better idea to rely on the cma for that?
<bbrezillon>
yes, it would be better than using kzalloc
<RSpliet>
heh, I didn't expect the UBI changes to make it to upstream
<bbrezillon>
RSpliet: yep, or at least not such a simple replacement ;-), but still, this is interesting to have some results with when using the DMA engine
paulk-collins has quit [Ping timeout: 258 seconds]
khuey is now known as khuey|away
slopez has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
simosx has joined #linux-sunxi
<bbrezillon>
RSpliet: hehe, you send your new version before I could answer your question :-)
<RSpliet>
ah right... yeah, that's an option
<RSpliet>
not sure what the preferred method for that log is tbh, if I have to replicate it every time I send a new one, I'd rather store it in my git history
philippe_fouquet has quit [Remote host closed the connection]
philippe_fouquet has joined #linux-sunxi
<bbrezillon>
RSpliet: oh come on, a simple copy/paste each time you send a new version is not such a pain :-)
Netlynx has joined #linux-sunxi
<RSpliet>
it's manual labour, therefore error prone ;-) I like lynxeye's proposal
<MY123>
libv, do you recommend any particuliar A80 device?
<MY123>
(all of them that I see now have the binary blobs issue)
<MY123>
even for pre-boot
<libv>
MY123: why ask me, and not the channel in general?
<bbrezillon>
RSpliet: yep, or you can do what Lucas suggested
<RSpliet>
lynxeye == Lucas
<MY123>
libv, as you maintain the Wiki and I see near zero A80 devices there
<bbrezillon>
RSpliet: ok
<libv>
MY123: i have not done extensive wiki work in a while, and i have not worked my A80 hw yet
<bbrezillon>
RSpliet: I wasn't aware of that solution. And it keeps the changelog in the git history ?
<RSpliet>
I haven't tried it, but I assume it does
<RSpliet>
then again... isn't that precisely what you don't want?
<RSpliet>
it's a conflict of interest basically :-P
<MY123>
$linaro
<bbrezillon>
RSpliet: yes, so if it's not kept in the history you'll just loose the information each time you commit
<MY123>
there is not the Banana Pi shouting in it :-)
<libv>
bbrezillon: i am curious, what did lucas suggest? --amend or 'r' in rebase -i?
<bbrezillon>
libv: he suggested to add a "---" line so that you can add your changelog after that line and it should appear in you commit message
<bbrezillon>
RSpliet: I tested it, and it doesn't work for me :-/. I'm probably doing something wrong though
philippe_fouquet has quit [Remote host closed the connection]
<MY123>
Why is there the CONFIDENTIAL mark in the Allwinner H3 datasheet (linux-sunxi.org)
<MY123>
?
<libv>
ah, so no existing automatic trick, just manual work and foresight :)
<bbrezillon>
RSpliet: my bad: it works, and it's kept in the history ;-)
diego71 has quit [Ping timeout: 272 seconds]
paulk-collins has joined #linux-sunxi
diego71 has joined #linux-sunxi
prz has quit [Remote host closed the connection]
domidumont has quit [Read error: Connection reset by peer]
avph has quit [Ping timeout: 245 seconds]
awe00 has quit [Ping timeout: 246 seconds]
avph has joined #linux-sunxi
physis has joined #linux-sunxi
bonbons has joined #linux-sunxi
techn has joined #linux-sunxi
avph has quit [Ping timeout: 256 seconds]
physis has quit [Ping timeout: 276 seconds]
avph has joined #linux-sunxi
kaspter has quit [Ping timeout: 252 seconds]
domidumont has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
khuey|away is now known as khuey
gianMOD has joined #linux-sunxi
orly_owl has quit [Ping timeout: 252 seconds]
VargaD has quit [Ping timeout: 264 seconds]
leviathancn has joined #linux-sunxi
orly_owl has joined #linux-sunxi
VargaD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
VargaD has quit [Ping timeout: 252 seconds]
VargaD has joined #linux-sunxi
techn_ has joined #linux-sunxi
techn_ has quit [Read error: Connection reset by peer]
techn has quit [Ping timeout: 256 seconds]
techn has joined #linux-sunxi
simosx has quit [Quit: Leaving]
domidumont has quit [Ping timeout: 246 seconds]
ricardocrudo has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 264 seconds]
reinforce has joined #linux-sunxi
gianMOD has joined #linux-sunxi
domidumont has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
techn_ has joined #linux-sunxi
techn has quit [Ping timeout: 256 seconds]
adj_ has quit [Quit: Leaving]
gianMOD has quit [Remote host closed the connection]
flyhorse_BKCTX has quit [Read error: Connection reset by peer]
flyhorse has joined #linux-sunxi
domidumont has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
diego_r has quit [Ping timeout: 250 seconds]
gianMOD has joined #linux-sunxi
FDCX_ has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
physis has joined #linux-sunxi
physis has quit [Remote host closed the connection]
physis has joined #linux-sunxi
Dodger78 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 255 seconds]
<Dodger78>
how is it possible to boot cb4 without uboot ?
<Dodger78>
im sick of waiting for a working uboot for mainline :-)
<TheLinuxBug>
can't you just use the sunxi uboot ?
<TheLinuxBug>
not sure you have to use mainline
<Dodger78>
im going for 4.1 4.2 kernels from hansg branch , there i cant use the sunxi uboot or not ?
<Dodger78>
i can see that kernelci is testing those new kernels , but how ???
adj_ has joined #linux-sunxi
<TheLinuxBug>
I don't think the uboot you choose dictates the kernel you want to use
<TheLinuxBug>
as long as uboot loads the kernel shouldn't be an issue
<TheLinuxBug>
per my experience
<TheLinuxBug>
could be wrong...?
<TheLinuxBug>
but thats for sure what I would test
<Dodger78>
afaik the cubietech uboots are using different initializations and therefore you cant use mainline kernels . or am i wrong ? at least for cubietruck this was the case
<TheLinuxBug>
Hmm
<TheLinuxBug>
tbh I haven't tried with anthing not A10/A20
<TheLinuxBug>
so unfortunately I can not tell you for sure
<TheLinuxBug>
With A10/A20 I have never had issues using sunxi uboot and mainline kernel
physis has quit [Remote host closed the connection]
physis has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 264 seconds]
Seppoz_nowork has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
iamfrankenstein1 has quit [Quit: iamfrankenstein1]