From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7684C433F5 for ; Mon, 18 Oct 2021 22:23:05 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 539D060F57 for ; Mon, 18 Oct 2021 22:23:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 539D060F57 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id D908A40492; Mon, 18 Oct 2021 22:23:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XIkLP78t0lVO; Mon, 18 Oct 2021 22:23:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3A32D4049B; Mon, 18 Oct 2021 22:23:03 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BBFF31BF39C for ; Mon, 18 Oct 2021 22:23:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id A3E8D40155 for ; Mon, 18 Oct 2021 22:23:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zX51qfd9_agV for ; Mon, 18 Oct 2021 22:23:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by smtp2.osuosl.org (Postfix) with ESMTPS id 157854012B for ; Mon, 18 Oct 2021 22:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1634595776; bh=OftHErMyx/D/XWiw30/VLfH460zh7Zcc6qnErbpNTm4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=N2PP1YiWHf3iQA5ML8aXdDGvu+CKXrbN9TZ/xMeZQ5hsuBGlOLyactcOTa0AIPIqF RiLh5PcU7E+XBdbC61hW1f6PMB80RNbilqS0VoS+N52em/nILhv1BL0BPlmccEu30Z MiB8c+wYEirX4Jt+andozHefcnFQ75qR5MmjUugk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost ([62.216.209.59]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N63Ra-1mnLVA1SdU-016O6d; Tue, 19 Oct 2021 00:22:56 +0200 Date: Tue, 19 Oct 2021 00:22:55 +0200 From: Peter Seiderer To: "Walter, Stefan" Message-ID: <20211019002255.165e5e00@gmx.net> In-Reply-To: References: <20211007235019.51751a53@gmx.net> <20211008192555.6dbd67d2@gmx.net> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-suse-linux-gnu) MIME-Version: 1.0 X-Provags-ID: V03:K1:wTp3n2YIX4vL0hVdk3s8S/3KoSfQBaLM3Qh2AK8oofpLTOZvpgs aFrc3A/rJHvDHpWkZzsuxQo+2NxW6DFx/zCzNBEFlofqvzssTNmpOb/jzemiXISWMOCeSm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Yuzlud0IkebgzlgoQsSIgWMLqSsx3xJ3Tks5UOT rmYlVY4NusT1zz2D/olj6lG4FvZVH/PQ8xYJRmHY973W1BbTK7eFvL0Vtd794pIOMVBUDaFk7 1NG8yqwkgSZkKbOA7d9y8hkkUyd/SMc4x/E5HKS+2/eE8RuB3MiJRr/D2NprmU+qCYXlmSd8l VaEkVoThypDAmk= Subject: Re: [Buildroot] Boot process stuck at "GRUB loading.." since 2021.02.1 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "buildroot@buildroot.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Hello Stefan, On Mon, 11 Oct 2021 17:29:19 +0000, "Walter, Stefan" wrote: > Hi, > > > > Maybe try to 'bisect' the problem as you mentioned it worked before > > > 2021.02.1 (did you test 2021.02.0?), not much grub related patches in > > > between... > > > > Buildroot 2021.02(.0) does boot, the following releases on the 2021.02.x > > branch don't. I just tested 2021.08 with the same configuration file, and it > > doesn't boot, either. > > > > I haven't actually bisected, yet, but looking at the commit log, ... > > > > > e840f2d469 boot/grub2: Backport 2021/03/02 securify fixes > > > > ...this looks like the most likely culprit, because it's the only commit to > > boot/grub2 I see that makes any changes to the GRUB sources between > > 2021.02 and 2021.02.1. > > I can now confirm that this is the commit that introduced the problem. What baffles me is that you say you have a working configuration using GRUB and i386. Could you send it to me or try mine for comparison? Can you try instead of your original /path/to/buildroot-sdk/host/bin/grub-mkimage \ --config=grub_early.cfg \ --directory=/path/to/buildroot-sdk/host/lib/grub/i386-pc \ -o ./genimage_input_tmp/grub_core.img \ --format=i386-pc \ --prefix==/boot/grub \ biosdisk part_msdos ext2 normal linux configfile the following one (makes the difference here for me with the qemu test): /path/to/buildroot-sdk/host/bin/grub-mkimage \ --config=grub_early.cfg \ --directory=/path/to/buildroot-sdk/build/grub2-2.04/build-i386-pc/grub-core \ -o ./genimage_input_tmp/grub_core.img \ --format=i386-pc \ --prefix==/boot/grub \ biosdisk part_msdos ext2 normal linux configfile Note the --directory change from the '.../host/lib/grub/i386-pc' (installed) directory to '.../build/grub2-2.04/build-i386-pc/grub-core' build directory (as the original buildroot grub2 install step uses to create images/grub.img... Suspect the host/lib/grub/i386-pc provided modules are from the build/host-grub2-2.04 build (instead of the build/grub2-2.04 for the target) and therefore without the '-Os' fix (or they are mangled during the install step)... Regards, Peter > > Best regards, > Stefan _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot