imsherlock55 has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
<imsherlock>
hi all! I'm working on a new platform based on the RK3399 SoC using LPDDR4. I was using the miniloader provided by Rockchip with U-Boot 2019.07 and Linux 5.2, all of which was working.
<imsherlock>
but now I'm attempting to move to U-Boot 2019.10-rc4 so that we can remove miniloader, and use the TPL+SPL
<imsherlock>
at this point I'm able to get U-Boot up and running, and at one point I had the Kernel loading but with segfaults. Now I can't even get the Kernel to run. It just hangs at "Starting Kernel"
<imsherlock>
I
<imsherlock>
I'm thinking it has something to do with the LPDDR timings, but I haven't had much experience in debugging DDR before
<imsherlock>
does anyone have an idea of what actually might be happening? Or how I can probe the issue further
imsherlock has quit [Ping timeout: 240 seconds]
imsherlock has joined #linux-rockchip
field^Mop has quit [Ping timeout: 246 seconds]
<stikonas>
imsherlock: I ocasionally get segfaults and failure to boot on rockpro64 too (uses lpddr4 too)
<stikonas>
it could be just that code still has some bugs
<stikonas>
although more often than segfault, I get eMMC errors
<imsherlock>
stikonas: what versions of u-boot and linux are you running? was there a point when the code was stable?
<stikonas>
imsherlock: I am running latest git u-boot and latest stable linux
<stikonas>
and I was only able to get it working a few weeks ago, I never had a completely stable build yet
<stikonas>
sometimes it just boots, sometimes I need to click reset button maybe 10 times to boot
<stikonas>
imsherlock: btw, slightly unrelated question, have you tried HDMI in u-boot?
<stikonas>
somehow it doesn't work... possibly related to device tree files in u-boot
<imsherlock>
stikonas: no, haven't tried HDMI in u-boot
<stikonas>
no problem...
<stikonas>
for now I have a serial cable...
<imsherlock>
serial cables are an embedded developers best friend :)
<stikonas>
yeah, but if HDMI works in u-boot
<stikonas>
then it would make serial cable much less necessary