ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
naoki has joined #linux-rockchip
kevery has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
Tenkawa has quit [Quit: Was I really ever here?]
camus has quit [Ping timeout: 255 seconds]
stikonas has quit [Ping timeout: 265 seconds]
camus has joined #linux-rockchip
indy_ has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 265 seconds]
epoll has quit [Ping timeout: 264 seconds]
epoll has joined #linux-rockchip
Rathann has joined #linux-rockchip
ldevulder has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Ping timeout: 265 seconds]
warpme has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Tenkawa has joined #linux-rockchip
naoki has quit [Quit: naoki]
Net147 has quit [Ping timeout: 246 seconds]
Net147_ has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
TheEldest has joined #linux-rockchip
<macromorgan> anybody have rk3588 working on mainline U-Boot? I can get it to start, but it takes a crap with "DRAM init failed: -19". Tested with different TPL stages and different A-TF binaries to no avail.
<Tenkawa> Let me check mine
<Tenkawa> I have a few but I think they are all vendor uboot
<Tenkawa> Yeah I just confirmed our images ( 3588 and 3588s ) are all vendor still
<macromorgan> damn
<macromorgan> okay, trying to do mainline and getting stuck there. Can't see an obvious error.
<macromorgan> I can confirm this is explicitly where it fails with the -19 error: https://source.denx.de/u-boot/u-boot/-/blob/master/arch/arm/mach-rockchip/sdram.c#L202
<Tenkawa> Yeah we are running into something similar with Radxa E25 based on the Rock CM3
<Tenkawa> debug trace seems to indicate it can't read the mmc
<Tenkawa> It tries to boot the kernel then the mmc can't be found.
<Tenkawa> We did discover today one more offset it might need in its dd write
<Tenkawa> its a gpt unlike most
<Tenkawa> RK3568 aren't difficult usually (I have an Odroid-M1) but this one is unique.. and two of us are trying to remotely debug it for a third person
<Kwiboo> macromorgan: my wip branch at https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx should have pretty decent rk35xx support now, my boards can boot from sd, emmc and/or spi
<Kwiboo> working on final touches on a rk3588 emmc series, will re-test the pushed branch on my rock 5b board
<Kwiboo> macromorgan: -19 is ENODEV, is your build missing ram driver, do you have SPL_RAM=y
<macromorgan> I do, I'm chasing down what I think the issue is now
<Kwiboo> if you are using u-boot master branch or v2023.04-rc4 it is missing important props in device tree
<Tenkawa> Kwiboo: whats your reference board you are using to run with?
<Tenkawa> I use a Rock5 here for the 3588 and Khadas Edge2 for the 3588s I will be eventually wanting to be moving to move to mainline once they can
<Kwiboo> I only have a rock-5b 8gb for rk3588 and for rk356x: rock-3a/3c, odroid-m1 and quartz64-a/b
<macromorgan> Kwiboo: I'm pretty sure that's exactly it... that's what I'm testing now
<Tenkawa> well... good news.. I have the 2 listed above. and a M1 and N2L
<Tenkawa> so I will definitely want to test that out when it is ready
<Tenkawa> I am working more and more nowadays on USB/NVMe and single file boot from eMMC/microsd to main media without full chainload
vagrantc has joined #linux-rockchip
<Kwiboo> cool, my efforts with u-boot will probably stop soon, once main boot from sd/emmc/spi is working, network/usb/nvme from u-boot is not on my radar, I want to move on to linux kernel :-)
<Tenkawa> Kernel is my background..
<Tenkawa> I've been doing "something" in various forms on different sbcs after I was a build engineer since the late 90's
<Tenkawa> I'm currently spending a lot of time between RK35* builds/tuning and RISC-V
<Kwiboo> nice, my plan back in early january was to upstream my old libreelec hdmi and media linux patches, fell down in a u-boot rabbit hole instead
<Kwiboo> I have not event started linux on my rk3588 board, only u-boot proper :-)
<Tenkawa> I hear ya
<Tenkawa> I am part of a 2 person project for a custom sbc imager so we build a lot of new configs
<Kwiboo> I mostly play with sbcs and linux/u-boot development for fun on my off time
<Kwiboo> btw, with my u-boot wip branch I could boot rock 5b from sd, emmc and spi, will try to ready emmc patches for mail list now
stikonas has joined #linux-rockchip
<Tenkawa> Yeah this a hobby for me now (I'm out of the industry now as a job)
Tenkawa has quit [Quit: Was I really ever here?]
Rathann has quit [Ping timeout: 256 seconds]