CONFIG_SPL_BUILD seems to be not defined in my u-boot-spl program.. why?

Dear u-boot experts,
While analyzing u-boot-spl program on qemu arm64 virtual machine, I'm seems the program counter skips part of a code and it seems the reason is that CONFIG_SPL_BUILD is not defined. But I'm running spl/u-boot-spl and the spl/u-boot.cfg file contains 'CONFIG_SPL_BUILD=1'. In what case can this happen? Any comment will be deeply appreciated. Thank you.
Chan Kim

Hi Chan,
On Sun, 28 May 2023 at 06:40, Chan Kim ckim@etri.re.kr wrote:
Dear u-boot experts,
While analyzing u-boot-spl program on qemu arm64 virtual machine, I'm seems the program counter skips part of a code and it seems the reason is that CONFIG_SPL_BUILD is not defined. But I'm running spl/u-boot-spl and the spl/u-boot.cfg file contains 'CONFIG_SPL_BUILD=1'. In what case can this happen? Any comment will be deeply appreciated.
Which part of the code does it skip?
You really have not provided enough information for anyone to give you an opinion. You could include a console log, what debugging you have tried, which U-Boot board and version you are building, any local patches you have.
Thank you.
Chan Kim
Regards, Simon
participants (2)
-
Chan Kim
-
Simon Glass