Jumping to U-boot / Image entry point: 0x1780_0000
Damien KIRK
damien.kirk at magia-diagnostics.com
Mon Apr 25 18:40:18 CEST 2022
Hello everyone !
I've started working on porting uboot from a custom version on 2017.03 to 2022.04, for a board based on NXP i.MX6D/Q. My build system is Yocto kirkstone.
I've managed to get SPL running, and configured the RAM following the .cfg file that was present before:
...
/* DDR IO TYPE */
DATA 4 0x020e0798 0x000C0000 // IOMUXC_SW_PAD_CTL_GRP_DDR_TYPE
DATA 4 0x020e0758 0x00000000
...
Then, I've got the SPL loading U-boot proper in DRAM at address 0x1780_0000 (as I've seen done in other i.MX6 boards).
Problem is... nothing happens after "Jumping to U-boot" and "image entry point: 0x17800000". I've not been able to get any debug from U-boot proper :-/
What I've done so far for the debug:
Added a lot of debug messages (had a little trouble with the MMC init).
I've hexdump'ed my u-boot.img file, both head and tail, and checked the corresponding registers at addresses 0x177f_ffc0 and 0x1782_65d0. They do correspond.
Enabled the DEBUG_UART config.
Added a method with puts(...) as the first thing to run in the initialization list of common/board_f.c
Tried to reduce my U-boot proper board .c file to a minimum.
Added a debug message after the image_entry() call from jump_to_image_no_args(...) => I do not see that message.
Has anyone encountered this situation ?
It looks to me as if the jump point does not contain an instruction, could this possible ?
Attaching the SPL log that I'm able to get.
Thanks for any help !
Damien KIRK
U-Boot SPL 2022.04+fslc+gf885198273 (Apr 05 2022 - 14:46:25 +0000)
SPL: End of magia-codex-spl board_init (libcommon)
>>SPL: board_init_r()
using memory lx-lx for malloc()
spl_init
Trying to boot from MMC1
fsl_esdhc_initialize
...
...
hdr read sector 8a, count=1
SPL: payload image: U-Boot 2022.04+fslc+gf885198273 � load addr: 0x177fffc0 size: 157220
i_o_s = 0, spl_i->o = 0, mmc->r_bl_l = 200
i_offset = 0
iss = 134, splis = 26624, mmcrbll = 200
read 134 sectors to 177fffc0
sector 8a, count 134
Jumping to U-Boot...
first register content 0x56190527
register content 0x37a54f33
register content 0x41564c62
register content 0xe4650200
register content 0x8017
register content 0x8017
register content 0xfcc1bb90
register content 0x50211
register content 0x6f422d55
-----------
register content 0x17
register content 0x17820c14
register content 0x17
register content 0x17820c44
register content 0x17
register content 0x0
register content 0x0
register content 0x0
image entry point: 0x17800000
More information about the U-Boot
mailing list