Cyclone V Linux Boot: FDT and ATAGS support not compiled in - hanging

Hello I am following this guide on building a system with u-boot loading the FPGA and then booting the kernel on Cyclone V.

I was able to follow the directions almost exactly except that I cannot find this commit in linux-socfpga ffea805b5209e0e6ad8645217f5ab742455a066b
I am using the most up-to-date version, branch origin/socfpga-5.5.

When I go to boot the kernel, I get the following message.

reading zImage
5074992 bytes read in 267 ms (18.1 MiB/s)
fatload - load binary file from a dos filesystem

Usage:
fatload [<dev[:part]> [ [ [bytes [pos]]]]]
- Load binary file ‘filename’ from ‘dev’ on ‘interface’
to address ‘addr’ from dos filesystem.
‘pos’ gives the file position to start loading from.
If ‘pos’ is omitted, 0 is used. ‘pos’ requires ‘bytes’.
‘bytes’ gives the size to load. If ‘bytes’ is 0 or omitted,
the load stops on end of file.
If either ‘pos’ or ‘bytes’ are not aligned to
ARCH_DMA_MINALIGN then a misaligned buffer warning will
be printed and performance will suffer for the load.
mmc - MMC sub system

Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
mmc hwpartition [args…] - does hardware partitioning
arguments (sizes in 512-byte blocks):
[user [enh start cnt] [wrrel {on|off}]] - sets user data area attributes
[gp1|gp2|gp3|gp4 cnt [enh] [wrrel {on|off}]] - general purpose partition
[check|set|complete] - mode, complete set partitioning completed
WARNING: Partitioning is a write-once setting once it is set to complete.
Power cycling is required to initialize partitions after set to complete.
mmc setdsr - set DSR register value

Kernel image @ 0x1000000 [ 0x000000 - 0x4d7030 ]
FDT and ATAGS support not compiled in - hanging

ERROR ### Please RESET the board

My script matches the same u-boot script in the user guide with the exception of some name changes to match the names of my files. Any ideas?

I did not copy the file exactly. I copied new lines that appear due to the way the guide was posted in the editor.

 # set kernel boot arguments, then boot the kernel
setenv mmcboot 'setenv bootargs mem=1024M console=ttyS0,115200 root=${mmcroot} rw rootwait; bootz
${loadaddr} - ${fdtaddr}';

# load linux kernel image and device tree to memory
setenv mmcload 'mmc rescan; ${mmcloadcmd} mmc 0:${mmcloadpart} ${loadaddr} ${bootimage}; ${mmcloadcmd}
mmc 0:${mmcloadpart} ${fdtaddr} ${fdtimage}'

There should be no newlines in each of the two commands.

There was some problem with building the kernel when I built it as far as I remember. Why don’t you use a precompiled Linux kernel, that’s easy and it saves a lot of time.

What if I need to add customizations? I am going to need v4l2 support.