<naobsd>
if you prefer u-boot source in SDK, arch timer init patch should be applied easily
<naobsd>
does marsboard have eMMC? is there any rk3066 board with eMMC?
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 272 seconds]
<Astralix1>
good morning and a merry christmas
<ganbold_>
naobsd: yeah, better try in linux maybe
<Astralix1>
I have a question about rockk1 and server image... I am not sure if I hadn't read hhere about the problem...
<Astralix1>
I us a lubuntu prebuild image as a server image for rock1
<Astralix1>
I added and configured samba and mediatomb
<Astralix1>
However, mediatomb is just on standby.
<Astralix1>
Now I copied large ammounts of files via samba and every time I do that, after several Gb of data copied, the network speed drops to very low and the rock is not reachable anymore
Astralix1 has quit [Read error: Connection reset by peer]
Astralix has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 252 seconds]
dlezcano has quit [Quit: Leaving]
levd1 has quit [Ping timeout: 240 seconds]
dlezcano has joined #linux-rockchip
BorgCuba has joined #linux-rockchip
<BorgCuba>
mmind00, I tested your patch. it WORKS! thank you very much/good work. Here is the bootlog, just in case: http://pastebin.com/j8HCQ0Si
<naobsd>
oh I noticed there is marsboard with PX2
<jmcneill>
morning
<jmcneill>
naobsd, thanks for the updated u-boot. just tried it, and no luck (I must have missed something)
<naobsd>
I guess there is no gpio to control USB power on X7 :)
<jmcneill>
you seemed so certain that it wouldn't work at all :-)
<naobsd>
btw I'll be busy for a while for another thing
<jmcneill>
Now that I can boot a kernel, I should be good to go. Thanks a bunch.
<naobsd>
:)
<naobsd>
if you can please try rkflashtool too, you can send kernel onto RAM
<naobsd>
it should work on NetBSD
<jmcneill>
I'm on Windows
<naobsd>
ah
<naobsd>
well
<naobsd>
I guess rkflashtool should work on little-endian NetBSD/arm
<naobsd>
;)
<jmcneill>
Ended up installing a Linux VM for this. Hoping to have a u-boot that can load a kernel from fat partition so I can ditch it.
<naobsd>
sdmmc driver in rk u-boot is somewhat special, it doesn't use standard u-boot interface
<naobsd>
but sdmmc controller is designware, it should be supported in upstream u-boot
field^Mop has joined #linux-rockchip
<naobsd>
or it may be supported in rk u-boot too, I need to check it
<naobsd>
sorry, I have to leave for a while
<naobsd>
later
<jmcneill>
np, thanks
pacopad has joined #linux-rockchip
<pacopad>
Hi guys, i got network performance problem with rk3288 ethernet under linux and android
<pacopad>
is there a bug with gmac kernel ?
<pacopad>
gmac driver sorry
cnxsoft has quit [Ping timeout: 258 seconds]
eebrah_ has joined #linux-rockchip
eebrah_ has quit [Client Quit]
eebrah has quit [Remote host closed the connection]
eebrah has joined #linux-rockchip
BorgCuba has quit [Quit: leaving]
<naobsd>
back
eebrah has quit [Quit: Lost terminal]
<naobsd>
let's retry mainline patch for rk3066...
<jmcneill>
do you know if anyone is writing an mmc driver for netbsd?
<jmcneill>
btw I implemented radxa_reset (using a9wdt) but i get inconsistent panics on subsequent boots, something must be not reinitialized properly by uboot
<naobsd>
on Linux, reset should be done by CRU +0x100 GLB_SRST_FST register
<jmcneill>
wasn't in the rk3188 trm, but watchdog reset should work properly too
<jmcneill>
the reset via a9 watchdog actually worked, it was just booting the kernel after reset that didn't
<naobsd>
"If config 0xfdb9, it will generate first global software reset." in PX2 TRM
<jmcneill>
ah forgot to check there, thanks
<jmcneill>
can I convince you to check in port-rockchip to netbsd cvs?
<jmcneill>
would make my life a lot easier :)
<jmcneill>
i'm working on mmc driver btw
<naobsd>
in branch? main trunk?
<jmcneill>
trunk yeah
<jmcneill>
maybe the only thing I would change is renaming arch/evbarm/radxa to something more generic
<naobsd>
yes, agree
<naobsd>
rockchip or rk3188
<jmcneill>
are you able to share a kernel with rk3188 and rk3066 ?
<karlp>
so, say I've got a branch based on v3.16.6, and I want to bring it up to 3.18.1 (latest stable) andit only has one commit on tp of 3.16.6, what's the best way of doing that? with branches at work, I'd justdo "git rebase v3.18.1" but this is getting merge conflcits inthings not in my patch, is saving a patch file and checking out a clean branch really the best way?
<naobsd>
jmcneill: current code doesn't have rk3188 specific code yet, it boots on rk3066 too
<jmcneill>
ah great
<jmcneill>
arch/evbarm/rockchip or arch/evbarm/rk works for me then
<naobsd>
jmcneill: but some units around core are different e.g. GRF, TIMER,
<naobsd>
some peripherals are same e.g. USB, MMC
<jmcneill>
can you detect at runtime?
<naobsd>
probably yes. there is some code in RK Linux 3.0 kernel like as is_rk3188()/is_rk3066()
<jmcneill>
need to figure out how to detect ram size too (this is a 2GB board)
<jmcneill>
too many distractions, must focus on mmc for now :)
<jmcneill>
you said it is a generic designware module?
<naobsd>
0x10100000+0x27f[0-f] should have some kind of RK SoC id
<naobsd>
well
<naobsd>
it's dw mmc but some rockchip mod
<jmcneill>
I'll put it in dev/ic anyway, we can #ifdef away the rockchip specific parts later if needed.
<naobsd>
I'm not sure mmc works without clock and power support
<naobsd>
but I guess it may work when "boot from SD" case
<jmcneill>
yep :)
<jmcneill>
do you know what the sdmmc input clock is?
<naobsd>
clock thing is too difficult for me.... I can see some things in PX2 TRM, but I think CRU should be different between PX2(RK3066) and RK3188...
<jmcneill>
would you like to import the code or should I?
<naobsd>
jmcneill: I'm not NetBSD developer!
<jmcneill>
oh, why not? :)
<naobsd>
jmcneill: I'm not sure why ;)
<naobsd>
jmcneill: @tokudahiroshi on twitter agreed to import
<jmcneill>
saw that, thanks
<jmcneill>
I guess I'll import it then
<naobsd>
I see, thank you
ChanServ has quit [shutting down]
ChanServ has joined #linux-rockchip
<pacopad>
anyone ?
cnxsoft has joined #linux-rockchip
pacopad has quit [Quit: pacopad]
mrcan_ has quit [Read error: Connection reset by peer]
<naobsd>
mmind00: oh I forgot to mention "tested with linux-next next-20141226"
mrcan_ has joined #linux-rockchip
<naobsd>
mmind00: anyway it works
<naobsd>
hmm
<naobsd>
u-boot rk30/31 probably passes ATAG info, then if ATAG support is enabled in linux mainline, memory size in dts/dtb is ignored, compiled memory size info (64MB or so) is used :(
<naobsd>
but if ATAG support is enabled, ramdisk on boot/recovery partition can be mounted...
<naobsd>
I have to sleep...
FreezingCold has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
dlezcano has quit [Ping timeout: 265 seconds]
dlezcano has joined #linux-rockchip
nighty^ has joined #linux-rockchip
field^Mop has quit [Ping timeout: 245 seconds]
Avagetto has joined #linux-rockchip
Avagetto1 has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 244 seconds]
Avagetto has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 244 seconds]
Avagetto2 has quit [Ping timeout: 265 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 265 seconds]
Avagetto has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 256 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 258 seconds]
Avagetto2 has quit [Ping timeout: 256 seconds]
Avagetto has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 258 seconds]
Avagetto has quit [Ping timeout: 258 seconds]
Avagetto has joined #linux-rockchip
Avagetto2 has quit [Ping timeout: 252 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 252 seconds]
Avagetto has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 244 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 245 seconds]
Avagetto3 has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 245 seconds]
Avagetto has joined #linux-rockchip
Avagetto2 has quit [Ping timeout: 245 seconds]
Avagetto3 has quit [Ping timeout: 245 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto3 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 244 seconds]
Avagetto1 has quit [Ping timeout: 244 seconds]
Avagetto2 has quit [Ping timeout: 244 seconds]
Avagetto has joined #linux-rockchip
Avagetto3 has quit [Ping timeout: 244 seconds]
akaizen has quit [Ping timeout: 245 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 265 seconds]
Avagetto has joined #linux-rockchip
Avagetto2 has joined #linux-rockchip
Avagetto1 has quit [Ping timeout: 255 seconds]
Avagetto1 has joined #linux-rockchip
Avagetto has quit [Ping timeout: 255 seconds]
Avagetto1 has quit [Client Quit]
Avagetto2 has quit [Ping timeout: 258 seconds]
akaizen has joined #linux-rockchip
lerc has quit [Remote host closed the connection]
FreezingCold has quit [Ping timeout: 256 seconds]
lerc has joined #linux-rockchip
markm_ has joined #linux-rockchip
markm_ has quit [Ping timeout: 245 seconds]
rz2k has joined #linux-rockchip
markm_ has joined #linux-rockchip
rz2k has quit []
nighty^ has quit [Quit: Disappears in a puff of smoke]