- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need help loading/booting to Linux on our custom Arria 10 board. We are trying to boot to Linux following the instructions on RocketBoards website found here:
https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10#Arria_10_SoC_45_Run_U_45Boot_from_Debugger
Specifically, I am following the instructions for loading U-boot using the command line version of the Arm Development Studio debugger. I can get U-boot successfully loaded following those instructions, but the goal is to boot to Linux. Because our QSPI flash is not functional on the board, the plan was to perform a network boot of Linux following the RocketBoards instructions for that operation. Unfortunately, we found that the ethernet component on our board is not functional and cannot be fixed easily. So now, we must resort to booting to Linux over the JTAG port using the debugger. The question I have is - what mods do I need to make to the debugger script of the RocketBoards instructions, that loads/boots U-boot successfully, to continue on and load/boot to Linux. I have included the contents of that debugger script for reference below. I have all of the boot image files ready.
Thanks,
Richard
############# Debugger Script Begin
# initialize system
stop
wait 5s
reset
stop
wait 5s
set trust-ro-sections-for-opcodes off
# load spl and run up until the warm reset
restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000
symbol-file u-boot-socfpga/spl/u-boot-spl
set \$PC = \$ENTRYPOINT
thbreak *0x0
# ← stop script here if you need to debug first pass of SPL
continue
wait 60s
# load spl again and run up until spl_boot_device
restore u-boot-socfpga/spl/u-boot-spl-dtb.bin binary 0xFFE00000
symbol-file u-boot-socfpga/spl/u-boot-spl
set \$PC = \$ENTRYPOINT
thbreak *0x0
thbreak spl_boot_device
# ← stop script here if you need to debug second pass of SPL
continue
wait 60s
# load u-boot and run up to board_init_r
delete
loadfile u-boot-socfpga/u-boot
start
wait
restore u-boot-socfpga/u-boot.dtb binary &_end
thbreak relocate_code
continue
wait 60s
symbol-file u-boot-socfpga/u-boot ((gd_t*)\$r9)->reloc_off
thbreak board_init_r
continue
wait 60s
# ← stop script here if you need to debug U-Boot
continue
############# Debugger Script End
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R_G,
I think can refer to this document for your reference to perform linux kernel debugging:
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R_G,
I will close the thread and transition it to community support if there is no further question.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi R_G,
I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thanks.
Regards,
Aik Eu

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page