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
stikonas has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 260 seconds]
vicencb has quit [Quit: Leaving.]
field^Zzz3 has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 246 seconds]
field^Zzz4 has joined #linux-rockchip
field^Zzz3 has quit [Ping timeout: 244 seconds]
solarsparq has joined #linux-rockchip
vstehle has joined #linux-rockchip
ldevulder_ is now known as ldevulder
nlhowell has joined #linux-rockchip
midnight has quit [Ping timeout: 244 seconds]
midnight has joined #linux-rockchip
vicencb has joined #linux-rockchip
lkcl__ has quit [Ping timeout: 260 seconds]
lkcl__ has joined #linux-rockchip
<topi`> it seems this board is dissimilar from radxa rock2. It uses a RK808 regulator instead of Active Semi act8846
<topi`> let's see if any rk3288 boards out there in the mainline kernel are using rk808...
stikonas has joined #linux-rockchip
<robmur01> topi`: yes, if anything the RK808 version of the RK3288 reference design is more common than the ACT8846 one
<robmur01> if you have a vendor DTB, it shouldn't be massively difficult to reverse-engineer the differences - other than chromebooks, most boards don't deviate *too* much from the reference design
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
kevery1 is now known as kevery
<DuClare> topi`: You're buying more boards? :P
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
<topi`> DuClare: just for a customer...
<topi`> robmur01: yeah, I already found out the rk3288-evb-rk808 dtsi, trying to use that as a template
<topi`> the vendor supplied Android kernel tree is from 2014, so it's going to be out of date at least for some parts
<topi`> e.g. the rk_sdmmc.c is nowadays called dw_mmc-rockchip.c
<topi`> I'm not going to even pretend that a .dts made for a 2014 kernel would work out of the box.
<topi`> it's just sad that the vendors in Embedded system space are content with using 3.x kernels in year 2020.
<robmur01> sure, it won't work, but it'll still describe GPIOs, regulators, etc in a recognisable way that you can base a new DT on ;)
<topi`> i'm trying to get the basic stuff working first. sdmmc, gmac, usb etc
<topi`> the end user will install these in a headless way anyway
<DuClare> I'm using 5.4.x
<topi`> most rockchip things are in a very good shape in 5.x kernels
<topi`> it was a bit riskier back in 2015 :)
<robmur01> my favourite trick is to build the EVB/generic TV box DTBs from the 4.4/3.10/whatever BSP branch, then diff the vendor DTB against those - usually the changes turn out to be minimal
nlhowell has quit [Ping timeout: 256 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
<topi`> ERROR (phandle_references): /vcc-host-regulator: Reference to non-existent node or label "host_vbus_drv"
<topi`> ok, I still need to work on this :)
<topi`> I guess I'll go with rk3288-evb's defconfig and see if there are missing bits in the kernel
<topi`> hmm... there is no rockchip_defconfig ... maybe go with multi_v7_defconfig?
<topi`> I wonder if I could re-use this vendor shipped U-boot...
<topi`> U-Boot 2014.10-RK3288-10-00002-gd05b65d (Sep 10 2018 - 11:01:57) V1.000, Build: jenkins-rockchip-Android-rk3288_officialbuild_m61
<topi`> it just needs to load zImage and pass on the DTB in r2, right?
<topi`> Hit any key to stop autoboot: 0
<topi`> it seems the timer has been set to count to 0 ... is there any way to break this boot_
<robmur01> you can hack it, but it's barely worth the bother - the BSP U-Boot has virtually no useful commands built in
<robmur01> you need to package everything up with the magic image headers and flash them to the special places defined by the horrible parameters.txt mechanism
<topi`> so, I can't load a modern kernel with it?
<topi`> OK, good to know.
<topi`> I'll start building a 2020 u-boot
<topi`> does u-boot somehow benefit from the .dtb file from kernel?
<robmur01> you can, it's just a massive pain in the bum to get to the point of being able to do so :)
<topi`> I had a SDcard that boots on the Radxa Rock2, and it almost booted on this rk3288 board as well. It just couldn't enable the VCC for sdcard or usb.
<topi`> (which naturally is because the pm is from a rk808)
<robmur01> for legacy Android flow, IIRC it expects rk-kernel.dtb in a "resource" image
<robmur01> for mainline, just load the DTB you want from wherever
<topi`> I'm not interested in android, so I'll just forget this
<topi`> this board has SPI, the endgame would be to flash a proper U-boot on the spi.
<topi`> btw, I just noticed I have 200 days uptime on my rk3399 "workstation"!
<topi`> (it's a Rockpro64 board)
<topi`> 11:40:10 up 219 days, 18:59, 2 users, load average: 0.16, 0.35, 0.45
<topi`> still running the legacy 4.4.171 kernel for rk3399
<robmur01> for readymade RK808-based images you could try Tinker Board stuff
<topi`> that's a good idea
<topi`> I'll just flash a Tinker image on Sd and see how far it goes
<topi`> contrary to popular belief, there *is* a community around Rockchip, after all :)
<topi`> unfortunately, Scaleway is ending their ARM64 node support and I need to migrate. But where? The only other offering ARM64 nodes is AWS.
<topi`> and AWS is expensive
<robmur01> I know nothing about cloudy stuff, but I believe packet.net are another Arm-based provider
<mps> yes, packet
<topi`> let's check the pricing
<mps> they give alpine linux some resources for arm development
<topi`> you could rent a 32-core Ampere eMAG, but I guess that's not cheap
<topi`> unless folks on IRC would like to share it :) make 16 slices with kvm
<stikonas> topi`: long uptimes these days are a bad idea...
<stikonas> my uptime on rockpro64 is 3 days
<stikonas> uname -r
<stikonas> 5.8.9-gentoo-gnu
<topi`> stikonas: yes, an updated kernel would be nicer
<topi`> but it seems that, even when using graphics/gpu, 4.x kernels on rk3399 are rock stable
<topi`> although, I'm not 100% sure this is using panfrost...
<stikonas> well, I'm using vanilla kernel, so for rockpro that means 5.4 or later
<stikonas> 4.x does not have panfrost
<topi`> midgard_kbase 655360 3
<topi`> it must be this, then
<stikonas> lsmod lists panfrost 61440 3 here
<stikonas> so your kernel is probably running proprietary driver...
<topi`> it does seem so
<stikonas> tainted...
<topi`> should upgrade to a 5.x kernel
<mps> panfrost is still buggy on my rk3399 gru-kevin, unusable with X
<stikonas> X? who still uses X here...
<topi`> X was all the rage 25 years ago :)
<mps> huh, I don't like to switch to wayland
<stikonas> I switched to Plasma Wayland in 2018...
<topi`> "if it can't run xterm, it's useless" :)
<stikonas> you can run xterm on XWayland :)
<topi`> that's a hack
<stikonas> well, if you are offering to port xterm to wayland...
<mps> st term, awesomeWM, no systemd, no udev and no other bloats
<topi`> I guess Plasma == KDE, or what is it called nowadays?
<mps> trying to get rid of dbus also
<stikonas> topi`: KDE is now community, we release libraries (KDE Frameworks), Desktop (Plasma) and various apps
<stikonas> mps: what's wrong with dbus?
<mps> design
<stikonas> sockets between each app doesn't scale...
<mps> dbus is designed on old rpc ideas
warpme_ has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
<mps> and, btw, dbus code is buggy
<DuClare> but I like my long uptimes :(
<mps> one of my server had over 1200 days of uptime, about 4-5 years ago
<DuClare> 3:19PM up 1474 days, 48 mins, 7 users, load averages: 0.09, 0.11, 0.08
<mps> nice :)
<topi`> isn't dbus written in C? everything that's written in C, will be exploited at some stage.
<topi`> we have modern tools, like Rust, so use them for god's sake
<mps> no, C is not problem, coders attitude are problem
<topi`> C is a glorified assembly language
<topi`> I liked assembly coding when I was 16, because "it was cool". not so today.
<mps> rust tries to be better c++ and nothing more
<topi`> I don't think it relates to c++ - it goes straight past the object-oriented paradigm to offer something more modern
<mps> imo, C is still best
<topi`> but yeah, it's a difficult beast to tacke
<topi`> you're entitled to your opinion. I'm not going to give up the progress computer science has had these last 10-20 years
<topi`> argh, the old Scaleway ARM node is *still* compiling my kernel
<topi`> it takes more than 2 hours probably
<topi`> I have a spare rk3288 box lying there, maybe I should hook it with some SATA drive to make it an armv7 compile box.
<mps> well, I hear every few years that some new lang will 'kill' C, and I'm listening this about three decades :)
<robmur01> at least a new language kills C++ every few years, it's just a shame that said new language is still C++
kevery has quit [Ping timeout: 264 seconds]
kevery has joined #linux-rockchip
<DuClare> I'd just cross-compile on a real computer, not some arm toy :P
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
Net147 has joined #linux-rockchip
<robmur01> DuClare: nah, cross-compiling sucks, just build ARMv7 stuff in a chroot on a fat arm64 box :P
* robmur01 waits patiently for an Altra, even though the eMAG is perfectly tolerable...
mias has joined #linux-rockchip
ela724 has joined #linux-rockchip
<ela724> hi , i am trying to interface GREY sensor (Y8) with rk3399 . our sensor successfully streaming out GREY (which we verified with other platforms)
<ela724> here i am facing issue "rkisp1: CIF_ISP_PIC_SIZE_ERROR (0x00000001)" , when i configure input and output formats of ISP with Y8 640x480
<ela724> after so much of above error , i am getting ISP frame complete for single capture ! . which is also not proper data.
<ela724> any advice would be helpfull
<ela724> thanks in advance
drg has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
drg has quit [Remote host closed the connection]
ela724 has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
kaspter has quit [Quit: kaspter]
mias has quit [Quit: Konversation terminated!]
afaerber has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 is now known as kevery
afaerber has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 244 seconds]
anarsoul|2 is now known as anarsoul
vicencb has quit [Quit: Leaving.]
cyteen has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vicencb has joined #linux-rockchip
field^Zzz4 has quit [Ping timeout: 264 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
stikonas_ has joined #linux-rockchip
stikonas has quit [Ping timeout: 272 seconds]
stikonas_ is now known as stikonas
topi` has quit [Ping timeout: 246 seconds]
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 260 seconds]
vicencb has quit [Quit: Leaving.]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery