<Guest22>
Can anyone tell me how can I bring uboot to print debug messages from a file let's say fec_mxc.c? I have tried by adding 1) #debug 2)#define LOG_DEBUG in the file and kconfig to be CONFIG_LOG_MAX_LEVEL=9. However I am getting debug messages printed out. I have tried with other files as well e.g. with bootp.c. It never prints me anything on console.
<Guest22>
Can anyone please help me with this regards
<LeSpocky>
guest22: add '#define DEBUG' on top of the file and then adapt console log levels
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
___nick___ has joined #u-boot
___nick___ has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 252 seconds]
Guest71 has joined #u-boot
Guest71 has quit [Client Quit]
slobodan has joined #u-boot
<sjg1>
mrkiko: marex: It should not 'fail to request the gpio if mtk pinctrl is not inited at dm_probe() time'. Why does it fail? Can that be fixed?
<Guest22>
LeSpocky it doesn't help me. I have //#undef DEBUG
<Guest22>
#define DEBUG in fec_mex.c
<Guest22>
and CONFIG_LOG_MAX_LEVEL=7 in kconfig
goliath has joined #u-boot
<LeSpocky>
guest22: there's a difference between CONFIG_LOGLEVEL and CONFIG_LOG_MAX_LEVEL and CONFIG_LOG_DEFAULT_LEVEL, you should also consider CONFIG_LOG and CONFIG_LOG_CONSOLE and maybe you should read https://docs.u-boot.org/en/latest/develop/logging.html again
ukky has quit [Quit: rebooting]
<Guest22>
LeSpocky thank you very much
Guest22 has quit [Quit: Client closed]
Guest27 has joined #u-boot
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #u-boot
ukky has joined #u-boot
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #u-boot
<marex>
Tartarus: hey so why are we not generating checksum into fitImage config node with mkimage -f auto ?
<marex>
we only generate checksum for images, but not for the config node
<Tartarus>
I guess the silly question would be did you manually checksum and compare with the file?
<Tartarus>
like crc32 $addr $filesize vs rhash -C /local/file
<Sout_>
which version of crc32 :P (fun with crypto and math)
___nick___ has quit [Ping timeout: 260 seconds]
___nick___ has joined #u-boot
<dormito>
it seems the issue was sillier. previous version (&| builds) of u-boot "bootm", when given no args, would use the correct argument to find the image (I THINK it was loadaddr), but this build seems to have been looking elsehwere.