Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2022.07 is OUT / Merge Window is OPEN, -next is CLOSED / Release v2022.10 is scheduled for 3 October 2022 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
apritzel_ has quit [Ping timeout: 240 seconds]
qschulz has quit [Remote host closed the connection]
qschulz has joined #u-boot
camus has joined #u-boot
tsraoien has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
tsraoien has quit [Ping timeout: 240 seconds]
umbramalison has quit [Quit: %So long and thanks for all the fish%]
umbramalison has joined #u-boot
thopiekar_ has joined #u-boot
thopiekar has quit [Killed (erbium.libera.chat (Nickname regained by services))]
thopiekar_ is now known as thopiekar
mmu_man has quit [Ping timeout: 260 seconds]
vagrantc has quit [Quit: leaving]
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
thopiekar has quit [Ping timeout: 255 seconds]
sukbeom has quit [Quit: WeeChat 3.5]
thopiekar has joined #u-boot
mkennedy has joined #u-boot
mkennedy is now known as hurricos
<hurricos> I have a JTAG driving an mpc85xx board. I don't have NOR, only NAND; I'm trying to undertsand the separation between SPL, TPL and main u-boot.
<hurricos> I ask this because I think I can do everything SPL and TPL do using the JTAG (RAM init, mostly)
<hurricos> I'm trying to read config variables to understand where TPL loads the main u-boot, and what configuration it sets (e.g. where does it set CCSRBAR, and how can I tell)?
<hurricos> I'm trying to more generally understand how SPL to u-boot hand-off is done, too. Nothing special about TPL, it's just used because mpc85xx has init issues
<hurricos> I think that once I understand enough of this, I will be able to run minimal code that I've compiled, at which point I can trace my way to a more complete understanding
<hurricos> it's just that as it stands I can't do that, because there is zero documentation for booting from RAM :(
<hurricos> The JTAG in question is a BDI2000, which I've gotten comfortable with tonight
<hurricos> The board is a P1020-based one. I have gotten RAM init working great :^)
<hurricos> Just not in u-boot.
<hurricos> Not that that matters.
<hurricos> Is SYS_LOAD_ADDR the default address that U-boot tries to get copied to, or the default address that U-boot tries to copy what it's booting to?
<hurricos> Thanks to boot/Kconfig, it's SYS_TEXT_BASE.
<hurricos> Oh, that'd explain my issue. My RAM isn't quite right.
persmule has quit [Remote host closed the connection]
sukbeom has joined #u-boot
Patater has quit [Ping timeout: 276 seconds]
apritzel_ has joined #u-boot
apritzel_ has quit [Ping timeout: 272 seconds]
GNUtoo has quit [Remote host closed the connection]
flyback has quit [Ping timeout: 272 seconds]
GNUtoo has joined #u-boot
flyback has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
mmu_man has joined #u-boot
<sjg1> apalos: Yes Tom is right, should probe the rand device, not the TPM. Since the rand device is a child of the TPM, the TPM will be probed automatically
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #u-boot
Xeroine has joined #u-boot
apritzel_ has joined #u-boot
Xeroine has quit [Ping timeout: 255 seconds]
<hramrach> hurricos: nm u-boot | grep \\\<_start should give you the place to load and execute u-boot.bin
apritzel_ has quit [Ping timeout: 272 seconds]
Xeroine has joined #u-boot
gsz has joined #u-boot
tsraoien has joined #u-boot
Jacmet_ has quit [Ping timeout: 260 seconds]
davlefou has joined #u-boot
davlefou_ has joined #u-boot
rm has joined #u-boot
vagrantc has joined #u-boot
gsz has quit [Quit: leaving]
apritzel_ has joined #u-boot
tsraoien has quit [Ping timeout: 272 seconds]
darkapex has quit [Ping timeout: 240 seconds]
rm has left #u-boot [Leaving]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
tsraoien has joined #u-boot
davlefou_ has quit [Ping timeout: 276 seconds]
davlefou has quit [Ping timeout: 276 seconds]
Patater has joined #u-boot
<hramrach> how do you debug DM?
<hramrach> Apparently the probe function of a driver never gets called after a patch, and I have no idea why
<marex> hramrach: printf() ?
<marex> hramrach: probably coz the driver is not used ?
<hramrach> why would it not be used anymore?
<marex> I have no idea, I don't even know what problem you have, on what platform, ...
<marex> the details are not present here
<hramrach> what is 'used' anyway?
<marex> like something needs the driver services
<marex> remember, u-boot DM uses lazy probing of drivers
<hramrach> what does it mean 'needs'?
<hramrach> is a pmic driver not 'needed' ?
<marex> maybe
<marex> if nothing needs to configure the pmic, like enable/disable/reconfigure regulators on it, it might very well be not needed
GNUtoo has quit [Ping timeout: 268 seconds]
<hramrach> it cannot be found by uclass, either. is that expected for 'not needed' driver?
GNUtoo has joined #u-boot
<hramrach> maybe it's its child driver that cannot be found, not the pmic directly
<marex> maybe it would be good if you provided further details ?
<hramrach> can't reboot after ad607512f5757f4485968efd5bcf2c0245a8a235 anymore
<hramrach> the commit adds a sysreset driver but before the commit walk does find a sysreset, and after it does not
<hramrach> and the pmic probe routine prints PMIC: RK808 (with a trailing space which is seen in the output) before and not after
Xeroine has quit [Ping timeout: 240 seconds]
Gravis has quit [Quit: Murdered]
<marex> hramrach: is rk8xx_sysreset_request() called at all ?
<marex> hramrach: what does grep SYSRESET .config print ?
Gravis has joined #u-boot
<hramrach> rk8xx_sysreset_request is never called, it would be called from walk and it does not find any sysreset uclass
<hramrach> device
fastru has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
hanetzer has quit [Quit: WeeChat 3.5]
hanetzer has joined #u-boot
fastru has left #u-boot [#u-boot]
hanetzer has quit [Quit: WeeChat 3.5]
hanetzer has joined #u-boot
<marex> hramrach: and if you run 'dm tree' on u-boot shell, do you see rk8xx_sysreset in the tree ?
apritzel_ has quit [Ping timeout: 244 seconds]