ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
System_Error has quit [Ping timeout: 276 seconds]
System_Error has joined #linux-rockchip
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-rockchip
manawyrm has quit [Ping timeout: 268 seconds]
samueldr has quit [Ping timeout: 268 seconds]
samueldr has joined #linux-rockchip
manawyrm has joined #linux-rockchip
kevery has joined #linux-rockchip
stikonas has quit [Ping timeout: 240 seconds]
macc24 has quit [Ping timeout: 256 seconds]
macc24 has joined #linux-rockchip
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-rockchip
<wens> mort: support for Fibocom devices was added to qmi_wwan.c around v4.20. Maybe you should backport the commit?
<wens> mort: AFAICT, option gives you a tty to control the modem using AT commands. qmi_wwan.c gives you a network device for network access. you need both.
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
mriesch_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mriesch has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
System_Error has quit [Ping timeout: 276 seconds]
camus1 has joined #linux-rockchip
camus has quit [Ping timeout: 256 seconds]
camus1 is now known as camus
stikonas has joined #linux-rockchip
kevery has quit [Quit: kevery]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
lurchi_ is now known as lurchi__
Rathann has joined #linux-rockchip
<Net147> if I boot RK3399 with U-Boot 2022.01 TPL, then reboot to maskrom with "mw 0xff320300 0xef08a53c; sleep 1; reset" from U-Boot, then "rkdeveloptool db rk3399_loader_v1.22.119.bin" from computer connected to RK3399 using USB-C cable, it hangs when trying to do soft reset. any ideas?
<Net147> using LPDDR4
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
<Belgin[m]> robmur01: I just realized my question wasn't clear. I am interested in where in volatile memory does the bootrom load the SPL from spi, emmc or wherever.
<Belgin[m]> But thanks for this link. It will be useful.
<robmur01> ah, indeed I missed the crucial significance of "at" :)
<Belgin[m]> Also, I realized yesterday, the bootrom only loads exactly what it needs, which is the SPL, and maybe the third stage bootloader if some option is enabled in the SPL. I was under the impression that it loads the whole SPI chip, but it probably doesn't.
<Belgin[m]> robmur01: lol
<Belgin[m]> So i would have implement the SPI protocol in my code to get the rest of the bios chip loaded
<robmur01> I'd guess at somewhere near the beginning of DRAM - it ought to be fairly simple to hack U-Boot to dump the PC and/or some symbol addresses early on (before relocation) to get a fair idea
<robmur01> yeah, if you've got other stuff which isn't inside the loader image itself I think you're on your own (at least as far as convincing U-Boot to load it for you, maybe)
<Belgin[m]> Thank you for the information!
<Belgin[m]> According to this https://github.com/trini/u-boot/blob/master/doc/README.rockchip "The boot ROM loads image to 0xff704000 which is in the internal SRAM. The SRAM
<Belgin[m]> starts at 0xff700000 and extends to 0xff718000 where we put the stack."
<Belgin[m]> i am guessing dram initialization is up to the later stage bootloaders
<robmur01> ah, I was assuming 1st-stage being the IDB loader in SRAM (which is really tight) that initialises DRAM and then loads the full-featured 2nd-stage there. As an end-user I don't see much point in counting the boot ROM. Or it's the 0th stage because as we all know numbering starts at 0 :D
kevery has joined #linux-rockchip
chewitt has joined #linux-rockchip
kevery has quit [Quit: kevery]
stikonas has quit [Ping timeout: 268 seconds]
stikonas has joined #linux-rockchip
Rayyan has quit [Remote host closed the connection]
Rayyan has joined #linux-rockchip
Rathann has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
stikonas has quit [Ping timeout: 268 seconds]
stikonas has joined #linux-rockchip
Rathann has joined #linux-rockchip
macc24 has quit [Ping timeout: 256 seconds]
lurchi_ is now known as lurchi__
vagrantc has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
robmur01 has quit [Read error: Connection reset by peer]
robmur01 has joined #linux-rockchip
warpme___ has joined #linux-rockchip
System_Error has joined #linux-rockchip
Rathann has quit [Ping timeout: 240 seconds]
UndrWater_ has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
warpme___ has quit [Quit: Connection closed for inactivity]