Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHello,
I am trying to convert the preloader from ELF to .hex to boot the HPS of a Cyclone V from the FPGA. (cf https://rocketboards.org/foswiki/documentation/bootfromfpga140 ), with a DE10-nano board. However, I got warnings : Warning (113015): Width of data items in "preloader.hex" is greater than the memory width. Wrapping data items to subsequent addresses. Found 1148 warnings, reporting 10 So according to this thread, I ned to make match my memory data port width ( 8bit) with the record length. I do not have a mem_init.mk file on my computer, just a makefile to compile the preloader. The command to convert to hex file is : arm-altera-eabi-objcopy -O ihex --adjust-vma -0xc0000000 uboot-socfpga/spl/u-boot-spl preloader.hex I am using Quartus 17.1. is there is a argument I can use for arm-altera-eabi-objcopy to set up this record length ? The website https://manned.org/arm-none-eabi-objcopy lists and explain the command, but the only one I saw is interleave-width and it do not seem solve my problem. Could you help me please ? Regards, Neudorf.