ZynqMP boot: no messages from SPL other than "Debug uart enabled"

Michal Simek michal.simek at xilinx.com
Thu Mar 12 13:06:24 CET 2020


On 12. 03. 20 13:01, Major A wrote:
> Hi Michal,
> 
>> export DEVICE_TREE=...
>> should cause that CONFIG_DEFAULT_DEVICE_TREE will remain assigned to
>> zcu100 but SPL/u-boot proper will be using zcu102.
>>
>> You can check it by looking at build folder ls spl/board/xilinx/zynqmp/
>> where you see which psu_init was used (recommend to make mrproper before
>> you check this to remove old builds)
> 
> OK, that seems to be the case.

then simply change that CONFIG_DEFAULT_DEVICE_TREE to
zynqmp-zcu102-rev1.1 and check that files.

> 
>> You should look at this.
>>          configurations {
>>                  default = "config_17";
>>
>>                  config_17 {
>>                          description = "zynqmp-zcu102-rev1.1";
>>                          firmware = "atf";
>>                          loadables = "uboot";
>>                          fdt = "fdt_17";
>>                  };
> 
> That's what SHOULD be there, but it isn't.  "default" points to
> "config_1", not 17.  Why?  And how do I change this (sorry for my
> ignorance, but editing the file and rebuilding u-boot doesn't work
> because the file gets overwritten)?

And here should be default setup properly.

Try to use bash if you don't use it.

And logic is done via arch/arm/mach-zynqmp/mkimage_fit_atf.sh script

94 [ "x$(basename $dtname .dtb)" = "x${DEVICE_TREE}" ] && DEFAULT=$cnt

Thanks,
Michal


More information about the U-Boot mailing list