ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
stikonas_ has quit [Ping timeout: 246 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
Danct12 has joined #linux-rockchip
kevery has joined #linux-rockchip
rajkosto has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
Tenkawa has quit [Quit: Was I really ever here?]
macromorgan has quit [Read error: Connection reset by peer]
hexdump0815 has quit [Ping timeout: 256 seconds]
macromorgan has joined #linux-rockchip
hexdump0815 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
lurchi__ has joined #linux-rockchip
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
shoragan[m] has quit [Quit: Bridge terminating on SIGTERM]
amstan has quit [Quit: Bridge terminating on SIGTERM]
LinuxHackerman has quit [Quit: Bridge terminating on SIGTERM]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
Undef[m] has quit [Quit: Bridge terminating on SIGTERM]
csrpi[m] has quit [Quit: Bridge terminating on SIGTERM]
vulpes2[m] has quit [Quit: Bridge terminating on SIGTERM]
rajkosto has quit [Read error: Connection reset by peer]
Rathann has joined #linux-rockchip
ldevulder has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas_ is now known as stikonas
amstan has joined #linux-rockchip
psydroid has joined #linux-rockchip
LinuxHackerman has joined #linux-rockchip
shoragan[m] has joined #linux-rockchip
csrpi[m] has joined #linux-rockchip
Undef[m] has joined #linux-rockchip
stikonas has quit [Ping timeout: 240 seconds]
Rathann|Mobile has joined #linux-rockchip
vulpes2[m] has joined #linux-rockchip
Rathann|Mobile has quit [Ping timeout: 260 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 265 seconds]
Rathann has quit [Ping timeout: 268 seconds]
Tenkawa has joined #linux-rockchip
kevery has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
ldevulder_ is now known as ldevulder
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Daanct12 has joined #linux-rockchip
Daaanct12 has quit [Read error: Connection reset by peer]
Daaanct12 has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 246 seconds]
kevery has quit [Ping timeout: 246 seconds]
Daaanct12 has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
Danct12 has quit [Quit: WeeChat 3.8]
kevery has joined #linux-rockchip
<lvrp16> has anyone worked with RK3328 SPI boot? I can't seem to get the brom to pick up the TPL. I have tried 0 offset and 0x8000 offset with nothing on UART, the same TPL (before mkimage) works on MMC
<lvrp16> the rockchip rst says 0 but this claims it's 0x8000 https://github.com/MarcinWad/RK3328_Uboot_SPI
kevery has quit [Ping timeout: 246 seconds]
Danct12 has joined #linux-rockchip
vagrantc has joined #linux-rockchip
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
Danct12 has quit [Ping timeout: 240 seconds]
Danct12 has joined #linux-rockchip
Undef[m] has left #linux-rockchip [#linux-rockchip]
Undef[m] has joined #linux-rockchip
vagrantc has quit [Ping timeout: 246 seconds]
vagrantc has joined #linux-rockchip
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #linux-rockchip
psydroid has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
<macromorgan> lvrp16: try offset 0x10000
<macromorgan> that's the correct offset anyway for px30/rk3326
<lvrp16> hmm that seems to be using SFC which RK3328 does not have. I flashed the prebuilt in indeed it's at 0x8000, might be something wrong with my TPL build. thanks!
matthias_bgg has quit [Quit: Leaving]
<lvrp16> I figured out why. RK3328 does not have the 2K/4K bug as the other SoCs so binman does it incorrectly when calling mkimage.
<Kwiboo> lvrp16: interesting, I thought all rk33 had that issue, I added a redefined mkimage node to use rksd for rk3568 and rk3588, see https://patchwork.ozlabs.org/project/uboot/patch/20230422012309.402799-9-jonas@kwiboo.se/ maybe that should be reworked
<lvrp16> Kwiboo: seems like they fixed the IP since RK3328 came out half a year after RK3399. Must have found it in validation and fixed it.
<lvrp16> I spent 3 days scratching my head until i started dumping the precompiled TPLs
<lvrp16> now just the USB 2 issue left "Bus usb@ff5c0000: ehci_generic usb@ff5c0000: Failed to get clocks (ret=-19)"
<lvrp16> Kwiboo: your patch for offset applies to RK3328, so RK3328 is the same as RK35xx
<lvrp16> RK3368 might warrant a test as well
<Kwiboo> good to know, that workaround seemed better when there was just two that had fixed bootrom, guess it could be fixed in rkspi format handler instead
<Kwiboo> was working on some usb patches the other day, but got confused why usb3 was not working on my rk3328, was it always broken/not working in u-boot mainline?
stikonas has quit [Read error: Connection reset by peer]
<lvrp16> Kwiboo: my USB 3.0 works correctly on Renegade. There's a bunch of crude in the device trees that I removed and sync'ed with Linux. https://github.com/libre-computer-project/libretech-u-boot/commit/de55e26030d5988a159c2c116d03dcbd01c4dc9f
stikonas has joined #linux-rockchip
<lvrp16> gadget does not work at all
<lvrp16> If you get the EHCI fixed, please let me know how :D
<lvrp16> but the rkspi stuff should be fixed in the tool rather than the dt. however, we need to pass the SoC into the tool.
<Kwiboo> thanks good to know, also cleaned some of those xhci nodes up, had ehci working not xhci on my rock64, will give it a test on my renegade later
<lvrp16> here's my tree for renegade so you don't have to start from scratch: https://github.com/libre-computer-project/libretech-u-boot/commits/v2023.04/roc-rk3328-cc
<Kwiboo> trm for rk3228h does mention "Clear USB2.0 only mode setting (bit 3 of register GRF_USB3PHY0/1_CON0 in Chapter GRF)" for usb3, something to look into later :-)
ldevulder has quit [Quit: Leaving]
<lvrp16> ok, if you need rk3328 trm p2 lmk
<Kwiboo> thanks, will take a look at your u-boot tree later
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__