ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
nasuga has quit [Ping timeout: 248 seconds]
vagrantc has quit [Quit: leaving]
kaspter has joined #linux-rockchip
nighty- has joined #linux-rockchip
nasuga has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
kaspter1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
kaspter1 is now known as kaspter
cnxsoft has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Client Quit]
kaspter has joined #linux-rockchip
cosm has quit [Ping timeout: 240 seconds]
cosm has joined #linux-rockchip
BenG83 has quit [Ping timeout: 248 seconds]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 248 seconds]
nasuga has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-rockchip
vstehle has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
aalm has quit [Quit: xyz 1.9]
aalm has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
fireglow has quit [Quit: Gnothi seauton; Veritas vos liberabit]
ayaka has quit [Ping timeout: 255 seconds]
ayaka has joined #linux-rockchip
afaerber has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
libv_ is now known as libv
fireglow has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-rockchip
<sunxi_fan> ky
<aalm> mmind00, same here, only 1,2,3 and 5 did apply out of 6, not bored enough to do it by hand atm.
phinxy has joined #linux-rockchip
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
BenG83 has quit [Ping timeout: 252 seconds]
phinxy has quit [Quit: Leaving]
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
libv_ has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
libv_ has quit [Ping timeout: 260 seconds]
wzyy2 has quit [Ping timeout: 248 seconds]
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
libv_ is now known as libv
nasuga has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
nighty- has joined #linux-rockchip
jelly has quit [Ping timeout: 264 seconds]
jelly-home has joined #linux-rockchip
afaerber has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
wzyy2 has quit [Quit: Konversation terminated!]
libv_ is now known as libv
akaizen has quit [Quit: Textual IRC Client: www.textualapp.com]
nasuga has quit [Ping timeout: 248 seconds]
cnxsoft has quit [Quit: cnxsoft]
JohnDoe_71Rus has joined #linux-rockchip
akaizen has joined #linux-rockchip
kloczek has quit [Ping timeout: 240 seconds]
nasuga has joined #linux-rockchip
jelly-home is now known as jelly
afaerber has quit [Remote host closed the connection]
LongWork has quit [Ping timeout: 248 seconds]
LongWork has joined #linux-rockchip
vagrantc has joined #linux-rockchip
nasuga has quit [Ping timeout: 240 seconds]
aalm has quit [Quit: xyz 1.9]
BenG83 has joined #linux-rockchip
kloczek has joined #linux-rockchip
nasuga has joined #linux-rockchip
LargePrime has quit [Remote host closed the connection]
<topi`> anyone got the Firefly-RK3399?
<topi`> is it worth acquiring? I mean, can I run mainline on it and does it support most of the HW interfaces (we can forget 3D)
<topi`> the rk3399 looks a really solid chip from Rockchip
<Ke> what is your purpose
<Ke> I think someone just testified that linux-4.14-rc1 had broken frequency scaling and you are stuck with 200MHz on the a72 cores
<topi`> build a server afarm
<topi`> :)
<topi`> I'm thinking of designing a mainboard that can accommodate 4x Firefly-RK3399 Core SOMs each with their own ethernet. Shared power lines.
<topi`> (reset lines not shared ;)
<vagrantc> well, 4.14-rc1 *does* do frequency scaling on the a53 cores, which is better than before
<vagrantc> topi`: mainline support is coming along for the firefly-rk3399, but still in development
<topi`> vagrantc: it's not the first time there has been regressions with DFVS stuff :)
phinxy has joined #linux-rockchip
phinxy has quit [Changing host]
phinxy has joined #linux-rockchip
<Ke> my grievance is that the board is very brickable contrary to firefly's docs, the hw disable for the emmc is absurdly bad, but that would not be your problem
<topi`> how can you brick it? I thought you could always boot the RK3399 in maskrom mode?
<vagrantc> if it allowed reading from the microSD before the eMMC ... that would be a good start
<Ke> that's the hw disable for emmc
<topi`> ah... I see a potential problem there :)
<vagrantc> if it works well enough that it doesn't enter maskrom mode
<Ke> anyway, you can zero the emmc and always boot from the SD
<topi`> this is something I tried to do with the batch of Hummingboards we have
<vagrantc> had the same issue with the firefly-rk3288 a while back, too
<topi`> I could not disable the eMMC so it would always boot from the invalid bootloader.
<vagrantc> Ke: if you trust that you have a working microSD ...
<Ke> also you can always backup boot, if you get a spi flash
<vagrantc> there's a bit of a leap of faith there...
<Ke> vagrantc: I don't get what you mean?
<topi`> too many microSDs are crappy
<topi`> I think SPI flash would be the most reliable way to boot
<vagrantc> Ke: if you disable the eMMC, you have no way of testing that it will boot until you've already disabled eMMC
<topi`> and there is usually enough flash to hold the entire UBOOT
<vagrantc> Ke: so it's a leap of faith to wipe the eMMC
<topi`> let's see, what other options do I have? RK3399 is one of the very few easily available chips that has decently fast cores *and* working PCIe
<topi`> the Qualcomm stuff I skip, overpriced and probably difficult to get TRMs
<beeble> topi`: i could recommend you a rk3399 som that has a emmc disable pin on it's edge connector
<beeble> but also spi nor
<beeble> if you are looking for that
<topi`> I would skip the eMMC and mount all filesystems using network block devices (nbd)
<beeble> however you like it, you can disable the boot source :)
<topi`> but at some point probably the most expensive part will be providing enough network bandwidth for such a cluster
<topi`> I have all these crazy ideas in my head
<topi`> but I've always wanted to start my own business, the crazier the idea the better
<vagrantc> speaking of working pcie, i don't see anything on the pci bus ... but that might just be a misconfiguration on my part
<beeble> pcie is working with mainline
<beeble> i can verify that
<vagrantc> built as a module or built-in?
<beeble> built-in
* vagrantc always builds modular configs, so that it can be pushed to debian
<Ke> topi`: also rk3288 had broken virtualization, not sure if that is some rockchip thing
<topi`> Ke: it's difficult to get it right ;) do you mean it could not enter hypervisor mode at all?
<Ke> open source boot on rk3399 was reported to be limited to 2G of RAM also or something
<Ke> or perhaps just u-boot boot
<topi`> oh, that's a terrible limit. 4G should be the standard ram these days
<vagrantc> beeble: which kernel configuration options does it use?
<Ke> topi`: I wouldn't worry about that raminit, unless you are really in hurry
<topi`> compile any modern C++ project these days, and you'll see why 2G is not enough
<beeble> vagrantc: but i run into some gen2 5gb issue. but have to look into that and hadn't time yet
<Ke> I think actually there is opensource raminit for rk3399, as there is libre boot for chromebook kevin
<vagrantc> i've got 4gb of ram working on the firefly-rk3399 using mainline u-boot 2017.09
<beeble> vagrantc: CONFIG_PCIE_ROCKCHIP
<Ke> vagrantc: direct u-boot without the mini-bootloader thing=?
<vagrantc> beeble: hrm... i've got CONFIG_PCIE_ROCKCHIP=y
<vagrantc> Ke: using miniloader; haven't tested ATF yet due to the aformentioned issue with trusting eMMC boot
<Ke> I think the miniloader is closed source and does the raminit, right?
<beeble> Ke: 4gb is just a dual rank issue, will be fixed in some time
<beeble> Ke: for u-boot mainline
<vagrantc> lspci should show at least show the pcie bus, even if nothing's plugged in, no?
<Ke> yes, I noted that also myself
<beeble> vagrantc: take a look at your dmesg output. what does it say about link training?
<vagrantc> [ 21.709794] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
<vagrantc> [ 21.711319] rockchip-pcie: probe of f8000000.pcie failed with error -110
<vagrantc> so it tried, at least
<topi`> yeah, if you get -110 then there's definitely no pcie bus
<beeble> also check your pinctrl in the dts. what pcie_clkreqn does it use. should be _cpm
<vagrantc> tis was with v4.14-rc1 ...
<beeble> topi`: for your bandwith issue, mv88E6390x or similar
<vagrantc> &pcie0 { ... pinctrl-0 = <&pcie_clkreqn_cpm>;
muvlon has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<beeble> Ke: miniloader is closed source. but uboot ram init does not really have any limit except that it was done for the hardware available at the moment
<beeble> Ke: 4GB boards are in the pipeline, so support will pop up soon latest
<Ke> anyway, afaik chromebooks have open source raminit
<Ke> so there is code
<beeble> it is really no issue. uboot has eveything and its a designware controller
<beeble> just have to do it :)
<beeble> there was just no pressure to do it for more then 2gb at the moment
<Ke> I'd mostly love some knowledge on what format the soc botos etc
<Ke> there seem to be only commands in example scripts, some of which are open source
<beeble> mkimage supports boot image creation for rk3399
<beeble> included in uboot
* vagrantc really needs to test the u-boot SPL for firefly-rk3399
<Ke> that is for the very first bootloader, right?
<vagrantc> it's what initializes the ram if you don't use miniloader ... i think
* vagrantc still doesn't understand what arm-trusted-firmware actually does
<beeble> spl does dram init and loads uboot proper
<beeble> (it does more hardware initalization actually but thats not that important)
<beeble> it also loads the atf
<beeble> and the cortex m0 firmware
<Ke> beeble: is it just me, or did the bootup complexity go one rocket science up from arm32?
<beeble> Ke: so just look at uboot. rk3399 is blob free except mali
<Ke> yes, yes
<beeble> it got a bit more complex due the execution levels
<Ke> they do still refer to blobs in docs though, I guess it's moderately reasonablo workaround to help paople...
<Ke> but off to sleep
<beeble> Ke: http://git.denx.de/?p=u-boot.git;a=blob;f=board/theobroma-systems/puma_rk3399/README;h=f67dfb451ffd36745a5209a83459a8337134b75d;hb=HEAD howto for blob free
<Ke> I saw rkbin, but I guess only rkdeveloptool is used
<Ke> you have been very helpful =o)
<Ke> now I only have to wait 30 days for the spi flash to see, if my unit is completely broken
<beeble> loader.bin is currently used for flashing via maskrom. but that can be done by uboot too. just a bit of code missing that will also follow
<Ke> I think external flashing is the thing I like the most
<Ke> that howto looks like I could boot from spi nor without miniloader, is that true?
<Ke> sorry SD card
<beeble> yes
libv_ has joined #linux-rockchip
<beeble> sdcard, emmc and nor works without miniloader
<Ke> I think I'll try that out tomorrow
libv has quit [Ping timeout: 260 seconds]
<amstan> Ke, beeble: that's not what the libreboot guys will want you to believe
<beeble> amstan: why that? bsd license of atf not libre enough?
<amstan> i don't understand it either
<beeble> or was it mit?
<beeble> nit sure atm
<amstan> but they didn't like coreboot on chromebooks, so they convinced a lot of people to switch to libreboot
<amstan> even though i've never seen a blob there either
<beeble> i don't really have a lot if coreboot knowledge as i always prefered uboot
<beeble> and i still don't own a chromebook
<beeble> but christmas is comming :)
<beeble> somehow i'm feeling like these phone keys are getting smaller every day
<beeble> or it's getting colder
beeble has quit [Remote host closed the connection]
beeble has joined #linux-rockchip
beeble has quit [Quit: Lost terminal]
afaerber has joined #linux-rockchip
beeble has joined #linux-rockchip
LargePrime has joined #linux-rockchip
m0nt3 has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
MoeIcenowy has joined #linux-rockchip
pozzoni has joined #linux-rockchip
muvlon has quit [Quit: Leaving]
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
nasuga has quit [Ping timeout: 240 seconds]
dianders has joined #linux-rockchip
libv has joined #linux-rockchip
m0nt3 has quit [Ping timeout: 252 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
nasuga has joined #linux-rockchip
lurchi__ is now known as lurchi_
nighty- has quit [Quit: Disappears in a puff of smoke]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
irsol has quit [Remote host closed the connection]
nasuga has quit [Ping timeout: 240 seconds]
irsol has joined #linux-rockchip
lurchi_ is now known as lurchi__
m0nt3 has joined #linux-rockchip
lurchi__ is now known as lurchi_
BenG83 has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
vagrantc has quit [Quit: leaving]