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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1A75C0015E for ; Mon, 24 Jul 2023 14:52:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE7AA86776; Mon, 24 Jul 2023 16:52:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="XYNu2DKJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF54F8677D; Mon, 24 Jul 2023 16:52:22 +0200 (CEST) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6BB60866DC for ; Mon, 24 Jul 2023 16:52:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-77acb04309dso261777239f.2 for ; Mon, 24 Jul 2023 07:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690210337; x=1690815137; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ThC2ib4k78ybcChVKxH/nq+27Cmzu10khhxm+BlUS7M=; b=XYNu2DKJBUrgw41JlgvjX8EVJGo+/L6S3SX4pH+xsUqb0pzSG2mDBcnBPnnrhjXj2t KBNWwh4jNYLBCGovAh5KKnHSspobkX298DSKQE3/xX9YWGWm/LWdTYXVbOj0LYnABYfi mj5HDk3XsVy1R3na3HlEtsvEBAv+HmUZh9+jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690210337; x=1690815137; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ThC2ib4k78ybcChVKxH/nq+27Cmzu10khhxm+BlUS7M=; b=VYG6SzlkANRBvPzdEo3chLdN8A6z2O33H12EWyWlLlghcOcafiZ4Aevx9uw0xILDEq nu0MF6j9XQgHsyEzOauxZZhRlOYxvThmAxbHQJdd+TFUipd18O36Cd+ujgM6TnNtI1V7 6VWQu2f7608pOlgULLLPu33F9MD09s0i1XaLVDBD26+bHFmVO7lb/h0Yd8B/by5tsX3L LX3Ss3lKPdPq/0HjEE88sKieZtC17CR7At4vY4pIe0rT24qMgEQCsAB+8Cx4LgBSur8J Ou+bg5FraxsopU8u6Ua8aSUG33aHKQT5YzDW8NYNe1tDjkfIQgC4vJxTCR5ybWLB9mqM mpiQ== X-Gm-Message-State: ABy/qLaFadHaV9DcMkrdWKBH2ngp/uDd/DE3zQk8bxQQ46qGei1DmyWQ +UR5sVNRs1+UFqiowcsmDF7XMBsPWq8DChhGtIs= X-Google-Smtp-Source: APBJJlGQUxud88apNTyJwDjiQ096tB49x4+PS5eo45VSHbTIHShqnJYm9UunXGADbEczr0F9d//13w== X-Received: by 2002:a5d:9b95:0:b0:787:34d:f1ea with SMTP id r21-20020a5d9b95000000b00787034df1eamr139794iom.8.1690210336733; Mon, 24 Jul 2023 07:52:16 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n12-20020a5d824c000000b007862c74cec6sm3462225ioo.1.2023.07.24.07.52.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 07:52:16 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Bin Meng , Simon Glass , Anatolij Gustschin , Balamanikandan Gunasundar , Dario Binacchi , Devarsh Thakkar , Mayuresh Chitale , Michal Suchanek , Nikhil M Jain , Ovidiu Panait , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Patrice Chotard , Patrick Delaunay , Paul Barker , Peng Fan , Rasmus Villemoes , Soeren Moch , Stefan Roese , Sughosh Ganu , Svyatoslav Ryhel , Troy Kisky , Ye Li Subject: [PATCH 0/9] x86: Fixes for distro booting Date: Mon, 24 Jul 2023 08:51:56 -0600 Message-ID: <20230724145210.304917-1-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This series collects together various fixes found whn testing out booting of distros using QEMU on x86. Together they improve functionality, but it is not perfect yet. Some notes are included as to the current state. Simon Glass (9): x86: spl: Drop unwanted debug() video: Tidy up Makefile rule for video x86: Run QEMU machine setup in SPL Revert "x86: Switch QEMU over to use the bochs driver" board_f: Fix corruption of relocaddr x86: Correct copying of BIOS mode information video: Add a Kconfig option for SPL video handoff x86: Enable useful options for qemu-86 x86: Update qemu documentation arch/x86/cpu/qemu/Kconfig | 2 +- arch/x86/cpu/qemu/qemu.c | 2 +- arch/x86/include/asm/qemu.h | 14 +++++ arch/x86/lib/bios.c | 2 +- arch/x86/lib/spl.c | 4 +- common/board_f.c | 4 +- configs/qemu-x86_64_defconfig | 4 ++ configs/qemu-x86_defconfig | 12 +++++ doc/board/emulation/qemu-x86.rst | 88 ++++++++++++++++++++++++++++++-- drivers/Makefile | 4 +- drivers/video/Kconfig | 10 ++++ drivers/video/video-uclass.c | 2 +- include/vesa.h | 4 +- 13 files changed, 137 insertions(+), 15 deletions(-) create mode 100644 arch/x86/include/asm/qemu.h -- 2.41.0.487.g6d72f3e995-goog