From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Thu, 12 Mar 2020 13:06:24 +0100 Subject: ZynqMP boot: no messages from SPL other than "Debug uart enabled" In-Reply-To: References: <0f9a6b47-110c-c2f8-ec40-72106ed3272d@xilinx.com> <77460fd1-f86d-fd53-66af-28d16fe395a1@gmail.com> <4fcae7a6-1156-d868-3463-424368cf7b7f@xilinx.com> <69846a06-7085-70dd-bde1-95abf870cd73@gmail.com> Message-ID: <87728a7f-42b5-8e3b-d5a1-5fced9d7601a@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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