Forum Discussion
>>>May I know what you meant by "concatenate spl+spl+spl + helloworld bin file"?
I means the steps in uboot Makefile, see bellow (cat xxx)
----------------------------------------------------
ifneq ($(CONFIG_ARCH_SOCFPGA),)
quiet_cmd_socboot = SOCBOOT $@
cmd_socboot = cat spl/u-boot-spl.sfp spl/u-boot-spl.sfp \
spl/u-boot-spl.sfp spl/u-boot-spl.sfp \
u-boot.img > $@ || rm -f $@
u-boot-with-spl.sfp: spl/u-boot-spl.sfp u-boot.img FORCE
$(call if_changed,socboot)
endif
----------------------------------------------------
>>>Have you tried running a simple hello world example? Was there any issue with that?
I tried EDS/19.1/embedded/examples/software/Altera-SoCFPGA-HelloWorld-Baremetal-GNU.
It can run from DS-5/Eclips, and print "Hello Tim"
But it is not what I want. I want to run from an SD card and print the message on UART. The App runs in DS-5/Eclips and print on a faked App console (not the UART terminal)
>>>It looks like you boot logs reports an unsupported OS image, which I suspect the this has something to do with the image itself maybe it is corrupted or not supported, I am unsure.
Unsupported OS is okay, because my image is not Uboot standard image and not a Linux OS image too.
The message in may helloworld main can be printed through UART which means my image is loaded correctly and the main/print is called correctly also
Now my problem is that it looks the system gets reset, and repeats 4 times. After a power cycle, I get 4 "hello world" message.