<RSpliet>
these patches should still mostly apply on 3.19, and if you then properly define your MTD in the device tree you're good to go
<jackdaniel>
ops
<RSpliet>
(or 4.0, or 4.1rc3 for that matter...)
reinforce has joined #linux-sunxi
<jackdaniel>
I'm not sure if mtd driver for u-boot would fit in spl
<RSpliet>
jackdaniel: it has to :-P
<philippe_fouquet>
ok the best way that i work on mdt device
<jackdaniel>
dma driver (I'm Daniel btw) is smaller then full nand handling from u-boot
<RSpliet>
philippe_fouquet: I'm not sure what you mean with "work on", but I am succesfully using the driver as I posted 7 lines up
<RSpliet>
jackdaniel: ah hey! good to know you hang around here too :-) well, yes, a full NAND driver for SPI might be too big, all it needs to do is load U-boot from a known location using known hardware settings
paulk-collins has quit [Ping timeout: 264 seconds]
<jackdaniel>
:-)
<RSpliet>
then again, if it's an SPI for a NAND target, wouldn't it be easier to rip out MMC support during build?
<jackdaniel>
mmc is disabled for spl
<jackdaniel>
on abovementioned patchset - it locks on initialization if enabled
<RSpliet>
jackdaniel: btw, what method are you using to write U-boot into NAND?
<jackdaniel>
I boot kernel ^_^
<jackdaniel>
from mmc°
<RSpliet>
hehe, yeah, that's my approach too
<RSpliet>
but for some reason BROM refuses to load my mostly-unmodified "u-boot-sunxi-with-spl.bin" (flashwritten into NAND)
<jackdaniel>
I have special initramfs for that
<jackdaniel>
RSpliet: does your kernel support randomization?
<jackdaniel>
it's crucial
<RSpliet>
jackdaniel: yes it does!
<RSpliet>
I took the git patches from bbrezillon to support ECC and randomisation
<jackdaniel>
and you flash it to /dev/mtd0 ?
<RSpliet>
*and* /dev/mtd1
<jackdaniel>
weird, and w/o modifications it just works?
<jackdaniel>
yes, I saw this and I have these mails
<jackdaniel>
this address isn't actual tough
<jackdaniel>
I've found Yassin's work hard to put in spl
khuey has joined #linux-sunxi
<bbrezillon>
it's not meant to be included in the SPL
<bbrezillon>
but maybe we could share bits between the SPL and the full implementation
fucxy has joined #linux-sunxi
<bbrezillon>
If I'm correct, this is how other platforms are doing
<jackdaniel>
yes, but as far as I understand this driver programms nand directly
<jackdaniel>
and it's ortoghonal to dma interface, which handles it by itself
<bbrezillon>
do you really need DMA ?
lukas2511 has quit [Ping timeout: 276 seconds]
fest has quit [Ping timeout: 276 seconds]
lukas2511 has joined #linux-sunxi
fest has joined #linux-sunxi
<bbrezillon>
or maybe you're using because it's simpler, and thus requires less code
<jackdaniel>
basically is what this driver is, it doesn't know anything about nand, programms only address, randomization, ram base etc, and says: get it
<jackdaniel>
s/is/it is/
heffer has quit [Remote host closed the connection]
heffer has joined #linux-sunxi
bonbons has joined #linux-sunxi
flyhorse_YqdtO has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
afaerber_ has joined #linux-sunxi
awe00 has joined #linux-sunxi
afaerber has quit [Ping timeout: 272 seconds]
domidumont has joined #linux-sunxi
domidumont has joined #linux-sunxi
awe00 has quit [Ping timeout: 272 seconds]
specing is now known as angry_specing
flyhorse has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
flyhorse has joined #linux-sunxi
flyhorse_YqdtO has quit [Ping timeout: 240 seconds]
philippe_fouquet has quit [Remote host closed the connection]
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
lemonzest has quit [Ping timeout: 276 seconds]
lemonzest has joined #linux-sunxi
flyhorse_COUCV has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
physis has quit [Remote host closed the connection]
flyhorse has joined #linux-sunxi
flyhorse_COUCV has quit [Read error: Connection reset by peer]
vetkat has joined #linux-sunxi
arossdotme has quit [Ping timeout: 264 seconds]
Netlynx has quit [Quit: Leaving]
arossdotme has joined #linux-sunxi
mrnuke has quit [Remote host closed the connection]
mrnuke has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
physis has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
flyhorse_BYZhl has joined #linux-sunxi
flyhorse has quit [Read error: Connection reset by peer]
paulk-aldrin has quit [Remote host closed the connection]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
domidumont has quit [Ping timeout: 246 seconds]
lemonzest has quit [Quit: Leaving]
bonbons has quit [Quit: Leaving]
sehraf has quit [Read error: Connection reset by peer]
Andy_D has quit [Ping timeout: 244 seconds]
fredy has quit [Excess Flood]
lerc has quit [Ping timeout: 272 seconds]
fredy has joined #linux-sunxi
Andy_D has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]