Has anyone succeeded in building and running a minimal boot loader - just a FSBL and u-boot? I've tried everything I can think of, which admittedly may not be much.
I enabled debug output in the FSBL project, so I can see I'm getting as far as this:
Xilinx First Stage Boot Loader
Release 2016.1 Feb 27 2017-12:16:06
Devcfg driver initialized
Silicon Version 3.1
Boot mode is SD
SD: rc= 0
SD Init Done
Flash Base Address: 0xE0100000
Reboot status register: 0x60400000
Multiboot Register: 0x0000C000
Image Start Address: 0x00000000
Partition Header Offset:0x00000C80
Partition Count: 2
Partition Number: 1
Header Dump
Image Word Len: 0x0001D093
Data Word Len: 0x0001D093
Partition Word Len:0x0001D093
Load Addr: 0x04000000
Exec Addr: 0x04000000
Partition Start: 0x000065D0
Partition Attr: 0x00000010
Partition Checksum Offset: 0x00000000
Section Count: 0x00000001
Checksum: 0xF7FA2615
Application
Handoff Address: 0x04000000
In FsblHookBeforeHandoff function
SUCCESSFUL_HANDOFF
FSBL Status = 0x1
And that's (literally) all she wrote. It took adding the ".elf" extension to the u-boot executable to change the Handoff Address from 0x00000000 to 0x4000000, but that's about all the progress I've made.
I want u-boot to load the device-tree info from the filesystem, rather than having it compiled into BOOT.bin.
Any ideas?
Thanks,
-Nick