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
pozzoni has quit [Ping timeout: 258 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 264 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 264 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 258 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 264 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 250 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 250 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 264 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
<wens> naobsd: is there a v2 of the vpu series?
pozzoni has joined #linux-rockchip
<wens> not much activity... on those
pozzoni has quit [Ping timeout: 250 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 258 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 272 seconds]
pozzoni has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
pozzoni has quit [Ping timeout: 272 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 250 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 264 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 272 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 272 seconds]
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 260 seconds]
<ayaka> naobsd, thanks, then I just need to make sure it works on gstreamer
<ayaka> naobsd, I don't care whether the kernel or u-boot is mainline or not, current goal is not here
<ayaka> but I wish I would use a version of kernel and u-boot is closed to the mainline
<ayaka> I could sumbit my patches into mainline easily
pozzoni has joined #linux-rockchip
pozzoni has quit [Ping timeout: 258 seconds]
pozzoni has joined #linux-rockchip
<naobsd> ayaka: then mainline u-boot/linux will be better, but
<naobsd> I'm not sure _reload_ ver. works or it needs some work
<naobsd> ayaka: you can try this at first http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip;hb=HEAD#l88
<naobsd> http://dl.linux-rockchip.org/rockchip/u-boot/v2016.03/firefly/ this is compiled binary for firefly original
<ayaka> naobsd, maybe I just need to modify some part of dts
<ayaka> naobsd, by the way, how to erase the bootloader in emmc?
<naobsd> you can try sd boot by "rkflashtool b 3" before erasing emmc
<naobsd> abiut
<naobsd> about erasing, run "dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1" on firefly will work
<ayaka> so I should boot into emmc first and erase the first 1MBytes of emmc
<ayaka> then try boot from sdcard
<naobsd> it might be possible to erase emmc by PC tool, but sometimes it might not work well
<ayaka> I will have review about the dts first
<naobsd> you can try sd boot before erasing emmc
<ayaka> I am a little a afraid of using usb otg, I broken hardware the last time I use samsung board
<naobsd> ah, well, bs=4M count=1 might be better to erase everything for boot
<naobsd> ah, it will erase serialno too
<naobsd> there is a way to write everything include serialno, but it might be better to make backup of 1st 4MB
<naobsd> anyway, you can try sd boot, 1. enter loader mode, 2. run rkflashtool b 3,
<ayaka> yes, I see
<naobsd> sorry, I'm walking now, later
<ayaka> thank you
<naobsd> ah sorry, 4MB might be minimum
<naobsd> 1MB may not be enough
<naobsd> I can't calculate for now ;)
<ayaka> anyway I could boot the u-boot from sdcard now
<ayaka> I can't care about size this time, I just erase the first 1MB is enough to make 1st bootloader ignore the emmc right?
<naobsd> probably no, 4MB should be right size
<naobsd> well, I can explain more later, but not now
<ayaka> yes I tried, 1MBytes won't work but 4MBytes would, I am always waiting here
d has joined #linux-rockchip
d has quit [Client Quit]
<naobsd> if u-boot binary for original works, you can try mainline linux
<naobsd> u-boot uses very common/core units only, difference between original and reload might be ignored
<naobsd> ayaka: can you access sd card on mainline u-boot?
<naobsd> fat and/or ext fs should be supported in that binary
<ayaka> naobsd, yes, but not using the exactly mainline u-boot, just the forked version
<ayaka> well, I am not plan to write kernel into a filesystem
<ayaka> I just want to write it to raw or it would be loaded slowly
<naobsd> you want tftp?
<ayaka> not just write it to sdcard with some offset
<naobsd> ah
<ayaka> I am not newbie in embeded, but just newbie to rockchip
<naobsd> personally I don't feel fs is so slow
<ayaka> it would be interested to add net supported in u-boot
<ayaka> I tried put the kernel in sdcard in an ext2 partition in exynos4412
<naobsd> hehe, sometimes experienced developer wants too much from u-boot
<ayaka> it would cost me more than 2 seconds to load it into memory then boot it
<ayaka> but if just raw way, it would be done in less 1 second
<naobsd> well, there is patch for network support... it might be in HEAD?
<ayaka> let me have check, I won't just it would difficult, it is just GMAC PHY driver
<naobsd> it's dwc gmac
<naobsd> I don't know about phy on reload
<ayaka> that would be better, dwc IP core have been widely supported in u-boot
<naobsd> yes
<ayaka> samsung also use it in emmc
<naobsd> emmc/sd is dwc too
<naobsd> usb is dwc2
<ayaka> ok, u-boot seems support the dwc gmac
<naobsd> RK platform support is in mainline now?
<ayaka> why not, the dts file is in the mainline for a long time
<ayaka> I choose the firefly just because I saw it in the kernel and u-boot
<ayaka> and the other two board are not sold in taobao
<naobsd> dts in u-boot is from kernel
<naobsd> code is not from kernel
<naobsd> I'm talking about network support
<ayaka> naobsd, I think the support for designware is in u-boot
<ayaka> drivers/net/designware.c the log shows that it is merged in 2015
<ayaka> but I think I need a phy driver
<naobsd> I'm talking about RK platform support
<naobsd> I'm very sure that patch is available long time
<naobsd> but it was not merged at March at least
<ayaka> then I am not sure now
<ayaka> anyway if it is not, I could submit a patch
<ayaka> naobsd, ok, the net is not supported by u-boot
<ayaka> the better news is the phy chip rtl8211 is supported in u-boot, then I only need to add a driver for it
cnxsoft has quit [Read error: Connection reset by peer]
<ayaka> naobsd, thank you
cosm has quit [Quit: Leaving]
betheynyx has quit [Ping timeout: 276 seconds]
cnxsoft has joined #linux-rockchip
<mmind00> ayaka naobsd: please see https://git.collabora.com/cgit/user/sjoerd/u-boot.git/log/?h=combined/u-boot-radxa-rock-2 for uboot networking (should do both rock2 as well as firefly)
sunilmohan has quit [Ping timeout: 252 seconds]
sunilmohan has joined #linux-rockchip
leming has quit [Ping timeout: 244 seconds]
<ayaka> mmind00, thank you
JohnDoe_71Rus has joined #linux-rockchip
<ayaka> then I don't need to write the syscon driver for rockchip
<ayaka> mmind00, hi I just rebase your patches, would you mind I send those patches to rockchip?
vickycq has quit [Ping timeout: 260 seconds]
vickycq has joined #linux-rockchip
<mmind00> ayaka: not sure what you're talking about ... they're patches from Sjoerd and why would you want to send them to Rockchip? :-) ... instead you try see if they were submitted to the mainline uboot list and if so see if they need additional work
<ayaka> mmind00, oh, I though you are the author
<ayaka> actually it need some work to work on currently u-boot, fix some compiling error
<ayaka> oh my God, what I have done, I can't make the sdcard boot anymore
<ayaka> maybe I remove sdcard on power brick the board
cnxsoft has quit [Quit: cnxsoft]
<ayaka> the binary from firefly would works
<ayaka> I replace my u-boot spi with firefly binary, it would works
[74]HELLth has quit [Remote host closed the connection]
betheynyx has joined #linux-rockchip
leming has joined #linux-rockchip
ayaka_ has joined #linux-rockchip
nnnn20430_ has joined #linux-rockchip
afaerber has quit [*.net *.split]
ayaka has quit [*.net *.split]
nnnn20430 has quit [*.net *.split]
ayaka_ is now known as ayaka
nnnn20430_ is now known as nnnn20430
afaerber has joined #linux-rockchip
<naobsd> ayaka: patches are already submitted https://patchwork.ozlabs.org/project/uboot/list/?submitter=64677&state=*&q=&archive=both&delegate=
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
sunilmohan has quit [Ping timeout: 240 seconds]
sunilmohan has joined #linux-rockchip
nighty has quit [Ping timeout: 276 seconds]