Skip to contentSkip to conversation

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

DISCUSSION Chan Kim 2 participants 2 messages May 28, 2023 – Jun 1, 2023

lore
Share & tools
lore

Chan Kim

author
#0 lore raw

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

#1 lore raw

Hi Chan,

Quoted 9 lines · Chan Kim

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.

Quoted 7 lines

Thank you.

Chan Kim

Regards,
Simon