U-boot fails for khadas-edge -v

Vivek Jaiswal vjaiswal at cinemo.com
Thu Mar 7 12:22:38 CET 2024


Hello U-boot Team,
I am using the u-boot for Khadas Edge-v rk3399 rockchip:  https://github.com/khadas/u-boot/tree/khadas-edges-v2017.09-release-v1.0.0?tab=readme-ov-file
And I am using configuration file : https://github.com/khadas/u-boot/blob/khadas-edges-v2017.09-release-v1.0.0/configs/rk3399_defconfig
After creating the .wic image using tutorial: https://github.com/JeffyCN/meta-rockchip/tree/kirkstone?tab=readme-ov-file#v-supporting-new-machine
I flashed the image inside the khadas edge-v rk3399  device.
device : https://www.khadas.com/product-page/edge-v

But the boot did not happened , please check the URART log below
Complete logs : ​[https://res-geo.cdn.office.net/assets/mail/file-icon/png/txt_16x16.png]UART_Error.log.txt<https://cinemo0-my.sharepoint.com/:t:/g/personal/vjaiswal_cinemo_com/EROkL0gZZWRHkGvBlvJ06BkBr6t_CogVryC7mAQ6nyx_xg>


Call trace
-------------------
x0 : 0000000008300000 x1 : 0000000000000000
x2 : 0000000000000000 x3 : 0000000000000000
x4 : 0000000000172e10 x5 : 0000000000000001
x6 : 0000000000000008 x7 : 0000000000000008
x8 : 00000000f3c45278 x9 : 0000010000000000
x10: 00000000ffffffd0 x11: 0000000000000006
x12: 000000000001869f x13: 00000000f3c451bc
x14: 0000000008300000 x15: 0000000000000002
x16: 00000000f5cb4098 x17: 0000000000df3404
x18: 00000000f3c49cf0 x19: 0000000000000400
x20: 00000000f5d5fef0 x21: 0000000000000000
x22: 0000000000000004 x23: 00000000f3c45488
x24: 00000000f3c45488 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000400
x28: 0000000000000000 x29: 00000000f3c452e0


Call trace:
  PC:   [< ffffffff0a7ae008 >]
  LR:   [< 002020bc >]

Stack:
        [< ffffffff0a7ae008 >]
        [< 00218ea0 >]
        [< 00218960 >]
        [< 002287d0 >]
        [< 002294a4 >]
        [< 00208324 >]
        [< 0022dd84 >]
        [< 00216c10 >]
        [< 00216dc4 >]
        [< 00216514 >]
        [< 00216ac8 >]
        [< 00216dc4 >]
        [< 002164d8 >]
        [< 0022d2a8 >]
        [< 00217464 >]
        [< 00214f3c >]
        [< 00217ab8 >]
        [< 0028ebd8 >]
        [< 00217d08 >]
        [< 00201b10 >]
-------------------

when I try to run the "./scripts.stacktrace.sh dump.txt". Following was the output.
I don't understand what is the error and what does "C:   [< ffffffff0a7ae008 >]" means.

-------------------------------------------------------
$ ./u-boot/scripts/stacktrace.sh ../tempDir/dump_clean.txt

SYMBOL File: ./build/tmp/work/rockchip_rk3399_khadas_edge_v-poky-linux/u-boot-rockchip/1_2017.09-r0/build/u-boot.sym

Call trace:
  C:   [< ffffffff0a7ae008 >]
  do_bootm_linux+0x5c/0x74

Stack:
  boot_selected_os+0x48/0x80]
  do_bootm_states+0x8d0/0x950
  android_bootloader_boot_kernel+0x15c/0x250
  android_bootloader_boot_flow+0x2a0/0x2a4
  do_boot_android+0xd0/0xf8
  cmd_process+0xdc/0x10c
  run_list_real+0x6e4/0x728
  parse_stream_outer+0x170/0x66c
  parse_string_outer+0xcc/0xe4
  run_list_real+0x59c/0x728
  parse_stream_outer+0x170/0x66c
  parse_string_outer+0x90/0xe4
  run_command_list+0x50/0x90
  autoboot_command+0x40/0x114
  main_loop+0x58/0x68
  run_main_loop+0xc/0x10
  initcall_run_list+0x58/0x94
  board_init_r+0x20/0x24
  relocation_return+0x4/0x0

PC Surrounding Instructions:
-------------------------------------------------------
Best Regards
Vivek Jaiswal


More information about the U-Boot mailing list