![](https://seccdn.libravatar.org/avatar/eeee970188aaff5989ec40df8a5a46d9.jpg?s=120&d=mm&r=g)
Le 09/03/2016 23:44, Alexander Graf a écrit :
On 03/09/2016 10:53 PM, Guillaume Gardet wrote:
Le 09/03/2016 22:41, Alexander Graf a écrit :
On 09.03.16 22:38, Guillaume Gardet wrote:
Le 09/03/2016 18:19, Alexander Graf a écrit :
Am 09.03.2016 um 18:02 schrieb Freek de Kruijf <freek@opensuse.org>:
I need more guidance here. I assume printenv needs to given on the RPi2 system. How can I give that command on a system that does not boot. U-boot comes up, right? In U-boot, press space to get a command prompt. On that prompt, type "printenv" :) Alex, for RPi1, u-boot.bin differs between 1st boot and 2nd boot! Maybe it is the same here. How is it possible?
Replacing broken u-boot by working one fixed the boot for me. Can you dig out of rpm where the different versions come from? Maybe there's a typo in the efi enablement patches.
Well, in fact it was a 2016.03-rc2 (working) and a 2016.03-rc3 (broken).
I think the problem is u-boot tries to boot EFI partition for Raspberry Pi. On 1st boot, 1st partition is hidden and after, 1st parition is labelled EFI.
Upstream u-boot (latest GIT) is working, so I guess it is a problem with your EFI patches. ;)
Could have a look, please?
It really was just a missing 0-terminator. Thanks for catching this before the patches went into U-Boot :).
I'll send a u-boot sr shortly.
Alex
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index c0f8f35..50a8371 100644 --- a/include/config_distro_bootcmd.h +++ b/include/config_distro_bootcmd.h @@ -125,7 +125,7 @@ "efi/boot/"BOOTEFI_NAME"; " \ "run boot_efi_binary; " \ "echo EFI LOAD FAILED: continuing...; " \ - "fi; " + "fi; \0" #define SCAN_DEV_FOR_EFI "run scan_dev_for_efi;" #else
Thanks for the fix! I accepted your SR to Base:System/u-boot. It is on the way to Factory. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org