ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
Tenkawa has joined #linux-rockchip
<Jmabsd> Tenkawa: ey
<Tenkawa> greetings
<Jmabsd> Tenkawa: updated you in PM
<Jmabsd> Summary is PinePhone Pro almost works fine in OpenBSD heh
<Jmabsd> Tenkawa: reading my summary paste, any thoughts?
<Jmabsd> i think it sounds like ~3 small to medium size issues but still not so far from goal
<Tenkawa> yeah thats not too bad f
<Tenkawa> s/f//
<Tenkawa> made big progress today on the M1 too
<Tenkawa> Linux m1 4.19.223 #2 SMP Sat Apr 23 20:15:17 EDT 2022 aarch64 GNU/Linux
<Tenkawa> oops
<Tenkawa> didnt get the second line
<Tenkawa> /dev/nvme0n1p2 on / type ext4 (rw,noatime,nodiratime)
<Jmabsd> :+1:
<Tenkawa> native debian now
<Tenkawa> not ubuntu
<Jmabsd> Tenkawa,psydroid,*: A technical mistake with the PinePhone Pro is they used eMMC instead of a single chip NVME
<Jmabsd> Such a huge performance difference
<Tenkawa> yeah this thing flies
<Jmabsd> Tenkawa: The M1?
<Tenkawa> even for only being quadcore
<Tenkawa> 8gb of ram helps a lot
<Jmabsd> great. yeah exactly RAM helps.
<Jmabsd> by the way, I realized today that the Radxa Rock4 is really nicely made - they made a very smart heatsink
<Jmabsd> that is actually the top of its chassis. very smart.
<Tenkawa> I think we found the dts changes needed to push the cpu more too
kevery has joined #linux-rockchip
<Jmabsd> Tenkawa: great.
camus has joined #linux-rockchip
<Tenkawa> I've bumped the kernel 4 point releases forward so far... taking it slow
<Jmabsd> Tenkawa: you are bringing support to Linux?
<Tenkawa> independently
<Tenkawa> 2 of us do it as a hobby then contribute what we find back
<Tenkawa> we already have a lot in the RPI world
<Tenkawa> I do a lot of testing and design more than coding
<Tenkawa> my background was in administration (unix/dba/networking)
vagrantc has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
Tenkawa has quit [Quit: Was I really ever here?]
<Jmabsd> Tenkawa: ok lovely
Jmabsd has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
matthias_bgg has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 260 seconds]
matthias_bgg has joined #linux-rockchip
Jmabsd has joined #linux-rockchip
Jmabsd has quit [Changing host]
Jmabsd has joined #linux-rockchip
psydroid4 has joined #linux-rockchip
<Jmabsd> robmur01,psydroid,(later) Tenkawa,*: Okay so there was a lot of discussion with four OpenBSD people about the PinePhone Pro. at least three of them have the PPP already. there was some unclarity about which U-Boot version actually works, and I think they sorted that now. i think it looks like they may get PMIC support sorted next 7 days. the biggest hurdle seems to be the graphics - both MIPI and eDP don't work right now.
<Jmabsd> also nice to learn the modem is linked via USB, and the WIFI is linked via SDMMC (SDIO).
<clarity> meow
<Jmabsd> clarity: ?
stikonas has joined #linux-rockchip
f476 has quit [Ping timeout: 276 seconds]
f476 has joined #linux-rockchip
f476_ has joined #linux-rockchip
f476 has quit [Ping timeout: 246 seconds]
f476_ has quit [Ping timeout: 246 seconds]
f476 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
f476 has quit [Read error: Connection reset by peer]
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
f476 has joined #linux-rockchip
indy has quit [Ping timeout: 240 seconds]
indy has joined #linux-rockchip
Rathann has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<Jmabsd> Guys does anyone of you have Matrix, @martijn:brixit.nl is the author of the U-Boot support for PinePhone Pro, can you check if he is around
Tenkawa has joined #linux-rockchip
<mps> Jmabsd: I don't see anyone with this name in u-boot with name
<mps> git log I mean
<mps> but I see `./arch/arm/dts/sun50i-a64-pinephone.dtsi:// Copyright (C) 2020 Martijn Braam <martijn@brixit.nl>`
<Jmabsd> mps: sec
<mps> I know him on alpine IRC channels
<Jmabsd> Making an Internet search for "martijn [PATCH] rockchip: Add initial support for the PinePhone Pro" brought me this:
<Jmabsd> It contains two RockChip specific patches in total of which this is one https://github.com/tekkamanninja/uboot-tools/blob/main/uboot-tools.spec#L26-L27
<Jmabsd> (This is the original repo I'd guess)
<Jmabsd> Also they had not bothered to write PinePhone Pro as supported in the changelog on the bottom, only PinePhone non-pro.
<Jmabsd> This is almost the same repo?: https://github.com/nemomobile-ux/uboot-pinephonepro
<Jmabsd> mps: cool!
<Jmabsd> mps: can you ping him and just say, some community guys emailed him about which U-Boot patch/version works best for PinePhone Pro, can he email back
<mps> Jmabsd: you can join pmOS irc dev channel and he is probably there
<Jmabsd> email went to martijn@brixit.nl
<Jmabsd> mps: which channel name and network?
<Jmabsd> mps: #postmarketos , nickname?
<mps> look at their site, I forgot which one
<Jmabsd> * Topic for #postmarketos set by martijnbraam!~martijnbr@2a00:bba0:120c:9f00:7afa:53ac:c867:e339 (Wed May 19 16:45:39 2021)
<Jmabsd> oh. he has been on Libera.
<mps> martijnbram is his nick usually
<Jmabsd> OFTC i see
<Jmabsd> mps: great ok have pinged him
<Jmabsd> double a in nickname
<Jmabsd> this should reach him now indeed
* mps can't remember writing properly in these languages
<Jmabsd> hmmmmmm!
<Jmabsd> mps,*: martijn writes: You shouldn't be dealing with u-boot. The current devices should be flashed with tow-boot first, and new devices will come with tow-boot from the factory
<Jmabsd> so you can just boot it as an UEFI system my u-boot stuff is outdated, use tow-boot
<Jmabsd> it's continued development of that patch :)
<Jmabsd> there's a MR in postmarketOS for switching to uefi booting on the ppp, that's the best reference I guess
<Jmabsd> mps: I have never even heard about tow-boot
<mps> Jmabsd: tow-boot is derived from u-boot
<Jmabsd> mps: any idea why he moved over his effort to tow-boot?
<mps> but u-boot works for me on allwinner A64 and rk3399 in UEFI mode
<Jmabsd> and he says tow-boot gives "UEFI" = ?
<Jmabsd> what's the point with tow-boot
<mps> to repeat, u-boot have uefi for some time
<Jmabsd> cool
<CounterPillow> u-boot's efi interface is incomplete if I recall correctly
<Jmabsd> CounterPillow: any feature you could need on PPP?
<CounterPillow> I don't know, sorry.
<CounterPillow> But I think it's the reason why the BSDs prefer porting edkII to platforms they want to boot on.
<Jmabsd> he says:
<Jmabsd> <martijnbraam> We've finally convinced pine64 to ship a bootloader on the SPI chip of the pinephone pro so there's a consistent booting interface
<Jmabsd> <martijnbraam> there's no display support yet though
<Jmabsd> <martijnbraam> the hardware boot order of the rk3399 is very annoying, it's quite easy to brick the ppp by having a broken loader on eMMC because then it won't try SD booting anymore
<Jmabsd> <Jmabsd> you can push a particular button when booting the PPP, and that will cause it to boot off the microSD??
<Jmabsd> <martijnbraam> and there's stuff set-up so the tow-boot on the SPI can be updated with fwupd
<Jmabsd> <martijnbraam> so that's why there's nice and verified binary releases for tow-boot for the SPI
<Jmabsd> <Jmabsd> just more standardised, ok.
<CounterPillow> nice
<Jmabsd> CounterPillow,mps: okay here is the whole discussion with Martijn https://pastebin.com/xmJx0Atv
<Jmabsd> passed it on to the OpenBSD devs. He pointed out that tow-boot contains very comprehensive patches for supporting PinePhone Pro.
<Jmabsd> the internal graphics do not work yet however.
<Jmabsd> CounterPillow,mps,jakllsch,psydroid,robmur01: Okay the people I have talked to today tell me that implementing support for MIPI graphics output both in U-Boot (Tow-Boot) or OpenBSD may be so difficult, require so specialized knowledge, that it may simply never happen. And, same for OpenBSD support for the displayport over USBC external graphics on the PPP. Just in case you have any further insight, feel free to share.
<mps> Jmabsd: graphic or text console
<Jmabsd> mps: either ='-(
<mps> long time passed from time when I worked on this
<Jmabsd> mps: too few people know how to command the RK3399 to output framebuffer/graphics/text console to the MIPI interface.
<mps> I have no idea how it works on current hardware
<Jmabsd> i can contribute a small donation for someone to have a look
<mps> but shouldn't the mipi interface have some standard way to do this
<Jmabsd> mps,*: the thing is the PinePhone Pro is the best open computing smartphone today
<Jmabsd> i think it is worth it to make it work, esp if it's a small effort only.
<Jmabsd> perhaps the same logics are recycled to RK3588 later?
<mps> I don't have time in last years for such work
lurchi_ is now known as lurchi__
<Jmabsd> mps: if you dove in could you implement such a thing?
<mps> Jmabsd: 'dove'?
<Jmabsd> mps: MIPI&displayport on OpenBSD
<Jmabsd> dove+
<Jmabsd> dove?
<mps> what 'dove' means?
<mps> except dove bird ofc
<diederik> past tense of 'dive in'?
<mps> ah
<Tenkawa> mps: also can be current.. not just past
<Tenkawa> its just a term
<mps> thank you both
<Tenkawa> but yes
<Tenkawa> that
<mps> Jmabsd: ok, I don't have time to dove in it
<Jmabsd> dive
<Tenkawa> well I have this Odroid-M1 up to 4.19.233 currently
<Tenkawa> it really runs well on its hardware
<Tenkawa> they put a very nice nvme interface on there
<Tenkawa> devicetree is still a bit shaky
<mps> my big mistake was to accept to be distro developer, I wasted a lot of free time for little benefit to me personally
<Tenkawa> mps: tried that a long time ago in the 90's....
<mps> and I lost a lot not working on system programming
<Tenkawa> I fortunately had a lot of enthusiastic coders at the time
<mps> eh, life is strange endeavor
lurchi__ is now known as lurchi_
lurchi_ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-rockchip
ldevulder is now known as ldevulderVacatio
vagrantc has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
Tenkawa has quit [Quit: Was I really ever here?]
<Jmabsd> mps: which distro?
<mps> Jmabsd: what?
<Jmabsd> mps: you were a distro developer/maintainer for which Linux or other OS distribution?
<mps> ah yes, I forgot what I wrote above :) alpine linux
<mps> Jmabsd: and I'm still theer
<mps> s/theer/there/
<Jmabsd> cool ok
* psydroid is not a Linux or BSD distro or kernel developer
<mps> and it is still best distro for me
<mps> though not good but bearable
<psydroid> do you use it for your desktop too?
<mps> psydroid: ofc
<mps> from small SBCs, big servers and desktops
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-rockchip
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
SallyAhaj_ has joined #linux-rockchip
SallyAhaj has quit [Ping timeout: 272 seconds]
Rathann has quit [Ping timeout: 240 seconds]
SallyAhaj_ has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
matthias_bgg has quit [Quit: Leaving]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
Rathann has joined #linux-rockchip
Jmabsd has quit [Ping timeout: 260 seconds]
Jmabsd has joined #linux-rockchip
Jmabsd has quit [Quit: Leaving]
Jmabsd has joined #linux-rockchip
psydroid4 has quit [Ping timeout: 272 seconds]
Rathann has quit [Remote host closed the connection]
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
stikonas has quit [Ping timeout: 248 seconds]
dvergatal has quit [Ping timeout: 250 seconds]