ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
stikonas has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery has joined #linux-rockchip
kevery1 has quit [Ping timeout: 265 seconds]
kilobyte_ch has quit [Ping timeout: 240 seconds]
kilobyte_ch has joined #linux-rockchip
kilobyte_ch has quit [Ping timeout: 265 seconds]
kevery1 has joined #linux-rockchip
archetyp` has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
archetyp has quit [Ping timeout: 256 seconds]
kilobyte_ch has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
lurchi_ has quit [Ping timeout: 245 seconds]
archetyp` has quit [Quit: Leaving]
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
shoragan has quit [Excess Flood]
shoragan has joined #linux-rockchip
eballetbo has joined #linux-rockchip
unkraut has quit [Ping timeout: 264 seconds]
camus1 has joined #linux-rockchip
camus has quit [Ping timeout: 260 seconds]
camus1 is now known as camus
stikonas has joined #linux-rockchip
matthias_bgg 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
kevery has quit [Ping timeout: 250 seconds]
kevery1 is now known as kevery
stikonas has quit [Ping timeout: 265 seconds]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<macromorgan> yay, I'm not seeing any major regressions for the PX30 in the 5.16 kernel (5.15 and 5.14 both broke the DSI panel while in RC status)!
<macc24> macromorgan: o/
<mort> macromorgan: you're playing with a px30? I have one of those too which I would reeeeally like to be on a newer kernel than rockchip's official 4.4 kernel
<macc24> mort: odroid go advance/super?
<mort> nah, this is some custom board
<macc24> 21th december i'll make a release for rk3326 handhelds that uses a kernel with more-or-less complete hardware support
<mort> ...which, yes, does provide challenges when there are kernel patches to add support for other pieces of hardware on the board
<macc24> EXCEPT esp8089
<mort> how big are the differences between the rk3326 and the px30?
<macc24> one missing vop and frequency
<robmur01> also missing ethernet IIRC
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
<macc24> right
<macc24> arch/arm64/boot/dts/rockchip/rk3326.dtsi
<macc24> i don't see it disabled there
<macc24> s/disabled/deleted/
<robmur01> feel free to send a patch ;)
* macc24 pokes mmind00
<macc24> not my job™
<mmind00> macc24: there is always the "patches welcome" mantra :-P
archetyp has joined #linux-rockchip
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
<mmind00> interesting rk3326 really doesn't seem to have ethernet - never realized that
bitbang has quit [Quit: Ping timeout (120 seconds)]
bitbang has joined #linux-rockchip
<macc24> mmind00: ever seen rk3326 device with ethernet? :{
<macc24> :P
<mmind00> macc24: the only rk3326-device I have is that Odroid Go ;-)
<macc24> mmind00: well i mean... *looks at her rk3326 devices* those seem popular
<mmind00> :-D
<mort> you could presumably find (or at least make) an rk3336 device with ethernet
<mort> I mean the raspberry pi had ethernet well before they used a soc with ethernet support
Rathann has joined #linux-rockchip
<mmind00> mort: the point here was that the px30 does have a gmac controller on the soc, where its rk3326 cousin does not
<mmind00> mort: with my just now realizing that this is another of the differences they have
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
kevery1 is now known as kevery
Rathann has quit [Remote host closed the connection]
as2334 has joined #linux-rockchip
<dvergatal> mmind00: i have 3.15.0 up and running
<mmind00> dvergatal: hee, congrats
<dvergatal> mmind00: guess what was the proble? you won't believe it
<dvergatal> problem*
* mmind00 is listening :-)
<dvergatal> u-boot 2022.1-r2
<dvergatal> i have switched to 2020.1 and everything is ok and turned off ASNR in OPTEE
<dvergatal> something wrong is with the serial
<dvergatal> in newest u-boot because i'm using uart for debbuging my rk3399 board and the outpu sometimes was and sometimes not it was really random
<dvergatal> mmind00: thx
<dvergatal> btw. i wonder is it the problem with make_fit_atf.py script or with the uboot itself
<dvergatal> because there are two changes between master and 2020.1 tag yours and Heinrich
<dvergatal> i need to investigate it
<as2334> I completely erased the nand flash of my rk3126 device but rkdeveloptool still lists it as "loader" - does that make sense?
<robmur01> IIRC if you do an "erase" from the USB tools it refuses to actually touch the loader
<robmur01> same way you can't just flash it directly and have to faff around with the "ul" command and packing images with magic headers
macromorgan has quit [Ping timeout: 264 seconds]
<as2334> robmur01 ahh, that sounds possible. So the write-lba and read-lba functions are somehow lying? Because the flash reads as empty. On a related note, I haven't been able to find the IDBlock (the 512 bytes rc4 encrypted chunk that the boot rom supposedly searches for in flash/sd/spi)
<as2334> (and eMMC)
<as2334> robmur01 thanks, have to take a look at that, although I've found their docs to be somewhat cryptic
<robmur01> key point being that sometimes "0" is actually 0x2000
<robmur01> once your setup gets to the point where you can reliably "recover" as far as booting to U-Boot with UMS or Linux with dd, life gets easier :)
* robmur01 is very glad that RK3328 and RK3399 got there some time ago
<as2334> robmur01 ah, I have to try that. I tried to run boot code that I put at sectors 0 and 64 of the flash and it didn't work. I managed to get into maskrom mode by shorting the CE of the flash chip, but then reading/writing to flash didn't work (yes I did remove the short after it booted). I didn't experiment too much with that cause I think I'm likely to fry the nand chip.
<robmur01> yeah, if you have to work with the miniloader and downstream U-Boot, I reckon on-board eMMC/NAND is safest either completely blank, or with just the loader and a U-Boot SPL configured to prefer loading 2nd-stage U-Boot from SD (AFAIK the downstream configs do tend to default to that, at least that's what I remember from my earliest adventures with RK3288)
<robmur01> oh, the cycle of "short eMMC pins to get back to maskrom, reflash vendor Android image to get usable U-Boot and kernel back, reboot, re-copy and dd upstream U-Boot image, reboot again and hope..." :)
<as2334> robmur01 just to see if got this right. If the board is in "loader" mode that means the bootrom is running firmware it read off the nand flash, although even though the nand flash appears empty.
<robmur01> yup, AFAIK if it's not in maskrom mode, then it presumably must have found enough of the idbloader and U-Boot to run and get into rockusb mode, at which point it tends to do the sneaky offset trick to prevent itself being replaced without a properly packed "firmware" image
<as2334> ahhh ok
macc24 has quit [Quit: The Lounge - https://thelounge.chat]
<as2334> so now I have something new to test. Thanks a lot =)
anarsoul has quit [Ping timeout: 246 seconds]
anarsoul has joined #linux-rockchip
macromorgan has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
macc24 has joined #linux-rockchip
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
lkcl has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-rockchip
warpme__ has quit [Quit: Connection closed for inactivity]
lurchi__ is now known as lurchi_