mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
Daanct12 has joined #linux-rockchip
lorenzb has quit [Quit: Gateway shutdown]
lorenzb has joined #linux-rockchip
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-rockchip
erg has quit [Remote host closed the connection]
linkmauve has quit [Ping timeout: 256 seconds]
Livio has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
Livio has quit [Ping timeout: 255 seconds]
raster has joined #linux-rockchip
System_Error has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.2.2]
Daanct12 has joined #linux-rockchip
Daanct12 has quit [Client Quit]
Daanct12 has joined #linux-rockchip
mripard has quit [Remote host closed the connection]
Daanct12 has quit [Ping timeout: 255 seconds]
Daanct12 has joined #linux-rockchip
tlwoerner has quit [Ping timeout: 256 seconds]
linkmauve has joined #linux-rockchip
<Kwiboo> naoki: I recently sent out an initial device tree for zero-3w/3e at https://lore.kernel.org/all/20240415150349.2207075-1-jonas@kwiboo.se/ and was planning on including them as different targets in mainline U-Boot
<Kwiboo> the different wifi cards used could probably be handled using overlays or similar, I could not find any mainline driver for aic8800 so I skipped everything regarding wifi/bt in the initial patch
<Kwiboo> also have an initial device tree for rock-3c inbound, that one also only include emmc, sdmmc, spi flash, gmac, hdmi, pcie, pmic and usb
<Kwiboo> naoki: btw, is the downstream limiting to 1080p on hdmi due to bad gpu performance at higher resolution or something else?, console framebuffer works great on my 1440p monitor, will verify 4k resolutions later
<naoki> I think I saw 1080p limit patch somewhere in our kernel tree, but I don't know why it's required. I'll ask it later. for mainline, there is no reason to limit it if it works on your side :)
psydroid has joined #linux-rockchip
mriesch has quit [Remote host closed the connection]
amazingfate has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 256 seconds]
Daanct12 has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
anarsoul has quit [Quit: ZNC 1.8.2 - https://znc.in]
anarsoul has joined #linux-rockchip
naoki has quit [Quit: naoki]
mriesch has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
dsimic has quit [Ping timeout: 240 seconds]
dsimic has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Livio has joined #linux-rockchip
Livio has quit [Ping timeout: 255 seconds]
Daanct12 has quit [Quit: WeeChat 4.2.2]
vagrantc has joined #linux-rockchip
vagrantc has quit [Client Quit]
<kilobyte_ch> I'm trying to use rkdeveloptool to flash a PX30 Board. Somehow the tool most of the time hangs. On `rkdeveloptool db loader.bin` it hangs forever in `Downloading bootloader...`. I maybe have a 1/100 chance to get past it. Any idea what this could be?
<qschulz> kilobyte_ch: it would probably help to have the console of the device when this happens. The loader usually prints stuff (1500000 bauds by default IIRC)
<kilobyte_ch> qschulz: it prints this, looks like loading the loader works. https://paste.debian.net/1314264/
<kilobyte_ch> Sometimes I get past loading the loader and can execute `sudo rkdeveloptool gpt parameter`. But then it hangs with `Writing gpt...`.
<kilobyte_ch> hmm, changed usb port and it worked immediately. Maybe thats already the solution.
<qschulz> kilobyte_ch: can you check what it prints when you get paste the db step?
<kilobyte_ch> qschulz: sure, with the other usb port it also worked directly now on the second db operation: https://paste.debian.net/1314266/
<kilobyte_ch> Another question, somehow I don't see anything about U-Boot via UART2. Any idea why this might be? With the Rockchip PX30 Mini EVB I see stuff about U-Boot with the same Image. https://paste.debian.net/1314267/
<robmur01> heh, reminds me of forgetting to switch on the main power with my RK3288 box - it managed to back-power itself from the OTG port enough to boot to maskrom mode, but then eMMC activity tended to draw too much and brown out :)
<qschulz> kilobyte_ch: which board with which version of U-Boot
<kilobyte_ch> qschulz: I'm running yocto with meta-rockchip. So this one https://github.com/JeffyCN/meta-rockchip/blob/master/recipes-bsp/u-boot/u-boot-rockchip.bb
<kilobyte_ch> It is built for px30 evb board. When running it on the evb, I get u-boot output. But on the custom board I've got not. I'm connected to UART2 of the PX30.
<kilobyte_ch> Linux console works fine though.
<kilobyte_ch> Not sure if there is some sort of OTP settings in the SoC or a Crystal which could be missing or something like that which could cause such a difference.
<qschulz> kilobyte_ch: PX30 is well supported upstream, I would recommend using upstream U-Boot and kernel for that?
<qschulz> kilobyte_ch: is it the same mux for UART2 controller on your custom board than the evb?
<kilobyte_ch> qschulz: What do you mean in terms of mux? It is connected to the same Pins of the SoC.
<qschulz> kilobyte_ch: uart2_m0/uart2_m1 that kind of things
<qschulz> but if they are the same pins on the SoC then it isn't this
<kilobyte_ch> Both connect to AA17 and AA18
<qschulz> Do you see absolutely nothing on the console after the TPL or still a few thing (e.g. SPL)? Rockchip's U-Boot does some very weird stuff around DTB in U-Boot
<qschulz> it loads some image from some specific partition and then use the DTB from a kernel image there instead of the one in U-Boot binary
<qschulz> There's support for the EVB in U-Boot upstream, would recommend to go with that instead
raster has quit [Quit: Gettin' stinky!]
<qschulz> https://git.yoctoproject.org/meta-rockchip/ is community maintained, though there aren't any machine conf file for the OX30 mini evb yet but that can be arranged ;)
<kilobyte_ch> This is what I get over serial: https://paste.debian.net/1314267/
<qschulz> FWIW, we use the kirkstone branch for a PX30 product of ours, so it works on some level (though with a custom upstream-ish U-Boot)
<kilobyte_ch> I will try the commuinity maintained versions later, first I need to get the Hardware kind of working on that hardware.
<qschulz> kilobyte_ch: did you try other baudrates as well? e.g. 115200 ?
kevery has joined #linux-rockchip
<qschulz> kilobyte_ch: having had to bring up two RK3588 devices on Rockchip's U-Boot, I would NEVER try to do a bring up on this anymoire if I had a choice with an upstream board
<kilobyte_ch> qschulz: just tried with 9600 and 115200, don't see more with it
<qschulz> I did the bring up of our module directly on upstream (2022.10)
<qschulz> (our PX30 module)
<kilobyte_ch> It is very weird that this works on the PX30 Mini EVB. I'm using the same devicetree/image.
<kilobyte_ch> Need to check the schematic again if something obvious is different.
<qschulz> yeah that kinda seems odd
Stat_headcrabed has joined #linux-rockchip
vagrantc has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
stikonas has joined #linux-rockchip
psydroid has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
kevery has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #linux-rockchip
macromorgan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
macromorgan has joined #linux-rockchip
raster has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
Hypfer has quit [Quit: The Lounge - https://thelounge.github.io]
Hypfer has joined #linux-rockchip
Livio has joined #linux-rockchip
kevery has quit [Quit: kevery]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
psydroid has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
stikonas has quit [Read error: Connection reset by peer]
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-rockchip
Livio has quit [Ping timeout: 272 seconds]
digetx has quit [Ping timeout: 255 seconds]
digetx has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
naoki has joined #linux-rockchip
smaeul has quit [Ping timeout: 260 seconds]
smaeul has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]