We are using customised TI – SITARA series processor (AM3352ZCZ80, 750MHz)
processor board for our project and built MLO and Uboot.img with “arm-linux-gnueabihf-” cross compiler.
We installed this cross compiler with the help of apt-get in Ubuntu. Not using TI released SDK for building.
The current working board having Uboot-2016.03 and Kernel-4.1.11. Now we are trying to upgrade the Uboot to 2021.04 and Kernel to 5.4.y.
Issue :
At booting process, SPL reaches jump_to_image_no_args(&spl_image) and hanging in image_entry().
The below is working and Non working Boot logs for your reference.
Working Uboot Log - Uboot 2016.03:
U-Boot SPL 2016.03 (Jun 23 2021 - 18:20:50)
^^^^ sms spl_board_init - boot-common ^^^^^
^^^^ SMS CONFIG_SPL_NAND_SUPPORT needs to start gpmc_init- source boot-common ^^^^
^^^^ SMS Calls gpmc_init- source mem-common ^^^^
^^^ SMS defined(CONFIG_NAND) || defined(CONFIG_CMD_NAND) - GPMC INIT ^^^^^
^^^^ sms line no 136 in mem-common source ^^^^^
^^^^ sms CONFIG_SPL_I2C_SUPPORT - boot-common ^^^^^
^^^^ sms spl CONFIG_HW_WATCHDOG - boot-common ^^^^^
^^^^ sms spl CONFIG_AM33XX - boot-common ^^^^^
^^^sms AM33xx spl board init in board.c from ARCh/ARM ^^^
^^^^^ SMS CONFIG_SYS_SPL_MALLOC_START
^^^^^^spl maaloc start : 0x80a80000
spl maaloc size : 0x1000000
^^^^ SMS CONFIG_SPL_BUILD enabled ^^^^^^
SPL: Print all boot devices
SPL: Boot device 5
SPL: Boot device 0
SPL: Boot device 0
SPL: Boot device 0
SPL: Boot device 0
Trying to boot from NAND
~~~~~~ sms nand boot device : 5 ~~~~~
spl: nand - using hw ecc
nand: selected OMAP_ECC_BCH8_CODE_HW
^^^^^^ SMS Trying to Load U-boot, spl_nand_load_element Function ^^^^^^
^^^^^^ SMS Inside spl_nand_load_element ^^^^^
^^^^^^ Ret value of nand_spl_load_image fun : 0 ^^^^^
^^^^^ this pay load image ^^^^^^
spl: payload image: U-Bo load addr: 0x807fffc0 size: 333344
Name : U-Bo
OS : 17 1155747840
Load Address : 0x807fffc0
Entry Point : 0x80800000
Size : 333344
Flag : 0
^^^^^^ Ret value of nand_spl_load_image fun After Parsing : 0 ^^^^^
Jumping to U-Boot
loaded - jumping to U-Boot...^^^^^ Jumping to Image No Args ^^^^^^
^^^^^ SMS Inside jump_to_image_no_args Function -source boot-common ^^^^^^^^
image OMAP_SRAM_SCRATCH_BOOT_PARAMS : 0x4030b824
SRAM_SCRATCH_SPACE_ADDR : 0X4030b800
image boot params: 0x4030cdcc
image entry point: 0x80800000
initcall: 8082cff9
U-Boot 2016.03 (Jun 23 2021 - 18:20:50 +0530)
initcall: 8080b805
U-Boot code: 80800000 -> 80848A60 BSS: -> 808525D8
initcall: 8080b69d
initcall: 8080b709
Watchdog enabled
initcall: 8080b6e3
initcall: 8080b829
~~~~~sms i2c init calls ~~~~~ source board_f
I2C: ready
initcall: 8080b6ed
~~~~~ sms announce dram init source board_f ~~~~~~~~
DRAM: initcall: 80800741
^^^^^ sms dram init calls - source emif4^^^
^^^^^ sms dram init calls ram size ^^^
Non Working Uboot Log : Uboot-2021.04 :
U-Boot SPL 2021.04 (Jun 18 2021 - 20:34:50 +0530)
^^^^ sms spl_board_init - boot-common ^^^^^
^^^^ SMS CONFIG_SPL_NAND_SUPPORT needs to start gpmc_init- source boot-common ^^^^
^^^^ SMS Calls gpmc_init- source mem-common ^^^^
^^^^ sms CONFIG_SPL_I2C_SUPPORT - boot-common ^^^^^
^^^^ sms spl CONFIG_HW_WATCHDOG - boot-common ^^^^^
^^^^ sms spl CONFIG_AM33XX - boot-common ^^^^^
^^^sms AM33xx spl board init in board.c from ARCh/ARM ^^^
^^^^^ SMS CONFIG_SYS_SPL_MALLOC_START
^^^^^^spl maaloc start : 0x80a80000
spl maaloc size : 0x1000000
^^^^ SMS CONFIG_SPL_BUILD enabled
^^^^^^SPL: Print all boot devices
SPL: Boot device 5
SPL: Boot device 0
SPL: Boot device 0
SPL: Boot device 0
SPL: Boot device 0
Trying to boot from NAND
^^^^^^ SMS Jumped into spl_nand_load_image Funtion ^^^^^^^
^^^^^^ SMS Trying to Load U-boot spl_nand_load_element Function ^^^^^^
^^^^^^ Ret value of nand_spl_load_image fun After Parsing : 0 ^^^^^
^^^ Loader Load Image Ret : 0 ^^^^^
^^^ SMS Inside IF Condition SPL BOOT LIST IS: 5 ^^^^
^^^^^ Jumping to Image No Args ^^^^^^
^^^^^ SMS jump_to_image_no_args Fun source boot-common ^^^^^
image OMAP_SRAM_SCRATCH_BOOT_PARAMS : 0x4030b424
SRAM_SCRATCH_SPACE_ADDR : 0x4030b400
image boot params: 0x4030cdcc
image entry point: 0x80800000
attached is some boot , non boot logs for your reference.