ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
chris2 has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
cnxsoft has joined #linux-rockchip
Guest52034 has quit [Ping timeout: 240 seconds]
c0d3z3r0 has joined #linux-rockchip
sunilmohan has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
pulser_ has joined #linux-rockchip
levd1 has joined #linux-rockchip
eebrah_ has joined #linux-rockchip
libv_ has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
xcasex has quit [Ping timeout: 246 seconds]
eebrah has quit [Ping timeout: 246 seconds]
libv has quit [Ping timeout: 246 seconds]
tlwoerner has quit [Ping timeout: 246 seconds]
pulser has quit [Ping timeout: 246 seconds]
maz has quit [Ping timeout: 246 seconds]
case1 has joined #linux-rockchip
maz has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
Eddie has joined #linux-rockchip
Eddie is now known as Guest17079
Guest17079 has quit [Client Quit]
eebrah_ is now known as eebrah
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
paulk-leonov has joined #linux-rockchip
premoboss has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
paulk-leonov has quit [Ping timeout: 260 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
libv_ is now known as libv
cnxsoft1 has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
lvrp16_ has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
dianders_ has joined #linux-rockchip
norris_ has joined #linux-rockchip
c0d3z3r0_ has joined #linux-rockchip
case1 has quit [Quit: WeeChat 1.0.1]
nighty-- has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 250 seconds]
dianders has quit [Ping timeout: 250 seconds]
norris has quit [Ping timeout: 250 seconds]
lvrp16 has quit [Ping timeout: 250 seconds]
c0d3z3r0 has quit [Ping timeout: 250 seconds]
ojn has quit [Ping timeout: 250 seconds]
nighty- has quit [Ping timeout: 250 seconds]
afaerber has quit [Ping timeout: 250 seconds]
nighty has quit [Ping timeout: 250 seconds]
ssvb has quit [Ping timeout: 250 seconds]
cnxsoft1 is now known as cnxsoft
dianders_ is now known as dianders
ssvb has joined #linux-rockchip
xcasex has joined #linux-rockchip
norris_ is now known as norris
afaerber has joined #linux-rockchip
lvrp16_ is now known as lvrp16
c0d3z3r0_ is now known as c0d3z3r0
c0d3z3r0 is now known as Guest1703
arnd has quit [Ping timeout: 276 seconds]
ojn has joined #linux-rockchip
arnd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
levd1 is now known as levd
GekkePrutser has quit [Ping timeout: 260 seconds]
GekkePrutser has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 seconds]
levd1 is now known as levd
nighty-_ has quit [Quit: leaving]
nighty- has joined #linux-rockchip
Aussie_matt has joined #linux-rockchip
nighty has joined #linux-rockchip
levd1 has joined #linux-rockchip
nighty has quit [Remote host closed the connection]
levd has quit [Ping timeout: 246 seconds]
levd1 is now known as levd
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
Aussie_matt has quit [Read error: Connection reset by peer]
levd has quit [Ping timeout: 260 seconds]
marcr has joined #linux-rockchip
<marcr> rockchip uses some weird nand layout ... pages order is scrambled and info about how it is scrambled is encoded in the beginning of the nand (DNAN starting blocks i think)
<marcr> without more info about that ... working nand driver is unusable
erc has quit []
<marcr> btw: rkflashtool command "i" reads raw nand flash (without magic pages scrambling)
<mmind00> marcr: yep, Rk uses some strange flash translation table ... personally I'd think this should just get scrapped and stuff like UBI used instead (aka dropping old stuff on the nand)
<mmind00> marcr: is your nand driver usable otherwise now? last time we spoke you were pretty pessimistic
<topi`> mmind00: so is it basically impossible to boot RK from NAND? thus, necessitating either the SD card or the eMMC.
<marcr> mmind00: it is in early stage (not all nand compatible i think, lack of proper timing setup and other stuff)
<mmind00> topi`: I think the bootloader itself sits in a special region
<topi`> we (meaning, our team) developed the UBIFS back in those days of the Nokia N900
<topi`> folks were disappointed of JFFS2 perf and something better was needed
<mmind00> topi`: what I meant was it looks like marcr has some preliminary nand driver, of course without the ftl-part Rockchip has on top (nand-noob here, stuff may be inaccurate)
<mmind00> topi`: so if the bootloader itself is not using the ftl (which I guess should be true), it should be possible to use UBI instead of the super-secret Rockchip FTL on top of the nand
<marcr> bootloader uses this translation table to read and write kernel
<mmind00> marcr: which in turn just means, you also need the new nand driver in uboot as well :-P
<marcr> mmind: yes
<marcr> mmind00: yes
<topi`> mmind00: correct, you need a translation layer on top of raw NAND
<marcr> mmind00: uboot on rk platforms is first stage bootloader ? or it is loaded by some binary blob?
<topi`> although I do lack the experience of FTL, what I did at Nokia was some porting work on the OMAP NAND driver.
<topi`> marcr: I think there is some secret first stage loader that will then load UBOOT from its fixed location
<mmind00> marcr: both actually ... legacy uboot from Rockchip itself uses a binary blob that inits the ram and loads uboot (or even older rkloader thingy) ... mainline uboot supporting rk3288 and rk3036 right now uses the spl of uboot as first-stage loader
<topi`> is there any security in the RK boot process? I mean, do you need a signed 1st stage boot?
<topi`> I mean 2nd stage
<mmind00> topi`: as I said above, on socs where mainline uboot got ported to (rk3036 and rk3288), even the first-stage loader is open
<topi`> in OMAP, there was sophisticated code in the bootROM of that device that was able to verify the signature of the boot blob
<topi`> oh, that's cool
<mmind00> topi`: as far as I know there is the possibility of doing some sort of signature checking, but so far I haven't encountered a board that actually used it (nor any documentation on it)
<marcr> mmind00: what is spl?
<topi`> marcr: the part that setups DRAM and loads UBOOT there
<mmind00> marcr: aka minimal setup that runs in the on-chip sram to allow access to ram and mass storage ... (http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/mach-rockchip/Makefile see difference between regular and spl build)
cnxsoft has quit [Quit: cnxsoft]
<marcr> perfect solution would be to rockchip give us the source of their driver :) this way we would not lost info about bad blocks on nand
<topi`> the bad block mechanism on the Nokia N900 was simple. Numbering starts from block 0 and if 1 is bad, then it's skipped in the enumeration process
<topi`> can't remember where the badblocks info was stored. It was a bitfield.
<marcr> topi`: factory badblock usualy in oob area, but rockchip blobs uses diffrent aproach (older layout : https://github.com/trlsmax/rk3188_kernel_tinyastro/blob/master/drivers/mtd/nand/rk29_nand.c#L353)
<topi`> yeah OOB area, I remember that :)
<topi`> funny why Rockchip had to reinvent the wheel
<marcr> i think that they tried to maximize the lifetime of the nand ... but i'm not certain
marcr has quit [Quit: Page closed]
afaerber has quit [Quit: Ex-Chat]
afaerber has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
afaerber has quit [Ping timeout: 250 seconds]
afaerber has joined #linux-rockchip
erc has joined #linux-rockchip
premoboss has quit [Quit: Sto andando via]
fireglow has quit [Ping timeout: 260 seconds]
fireglow has joined #linux-rockchip
paulk-collins has joined #linux-rockchip
daniels has quit [Ping timeout: 260 seconds]
daniels has joined #linux-rockchip
commiecam has joined #linux-rockchip
commiecam has quit [Quit: Page closed]
rory096 has joined #linux-rockchip
rory096 has joined #linux-rockchip
JohnDoe6 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 252 seconds]
xcasex has quit [Quit: WeeChat 1.0.1]
JohnDoe6 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
afaerber has quit [Quit: Ex-Chat]
xcasex has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
afaerber has joined #linux-rockchip
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-rockchip
paulk-collins has quit [Quit: Leaving]
nighty-- has quit [Quit: Disappears in a puff of smoke]
sunxi_fan has quit [Ping timeout: 260 seconds]
sunxi_fan has joined #linux-rockchip
rory096 has quit [Ping timeout: 252 seconds]