On 4/28/21 11:25 PM, Mittal, Anuj wrote:
>
>> -----Original Message-----
>> From: [email protected] <[email protected]> On Behalf 
>> Of
>> Tony Battersby
>> Sent: Tuesday, April 27, 2021 03:07 AM
>> To: [email protected]
>> Subject: [yocto] Hardknott: grub immediately reboots
>>
>> After upgrading from Dunfell (YP 3.1) to Hardknott (YP 3.3), our firmware was
>> unable to boot.  Our target hardware is x86-64 booting in legacy BIOS mode 
>> using
>> grub on a variety of motherboards and CPUs.  The grub menu would never show 
>> up;
>> instead it would reboot immediately, leading to an endless reboot loop.
>>
>> I have two different workarounds.  Create a bbappend file for grub, and do 
>> one of the
>> following two things:
>>
>> 1) Add the following line:
>>
>> CFLAGS_remove = "-O2"
> I think we should probably remove this. That's what Fedora also seems to be 
> doing so Os is used.
>
> https://src.fedoraproject.org/rpms/grub2/blob/rawhide/f/grub.macros#_19
>
> and what grub configure expects:
>
> https://git.savannah.gnu.org/cgit/grub.git/tree/configure.ac#n41
>
> Thanks,
>
> Anuj

I have opened a Yocto bug here:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14367

Tony

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53322): https://lists.yoctoproject.org/g/yocto/message/53322
Mute This Topic: https://lists.yoctoproject.org/mt/82386472/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to