From 51ceb85d691fba256244970e35edc7b50b14acb5 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 30 Aug 2024 14:06:15 +0200 Subject: [PATCH] Print FDT before booting in U-Boot --- lagarto-ox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 39b87be..ae7ffc4 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -315,7 +315,7 @@ xtrace=yes bootargs=root=/dev/ram0 loglevel=7 debug rw earlycon=sbi console=hvc0 rdinit=/preinit init=${init} ramdisk_size=$(stat --format %s $(readlink -f ${initrd})) - bootcmd=booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr} + bootcmd=fdt print; booti \''${kernel_addr_r} \''${ramdisk_addr_r}:\''${ramdisk_size} \''${fdtcontroladdr} EOF '';