Received: from list by lists.gnu.org with archive (Exim 4.71) id 1chIn5-0006sg-V2 for mharc-grub-devel@gnu.org; Fri, 24 Feb 2017 11:32:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chIn4-0006pW-2L for grub-devel@gnu.org; Fri, 24 Feb 2017 11:32:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chIn0-0005tb-SS for grub-devel@gnu.org; Fri, 24 Feb 2017 11:32:18 -0500 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:33073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chIn0-0005tI-Ki for grub-devel@gnu.org; Fri, 24 Feb 2017 11:32:14 -0500 Received: by mail-lf0-x236.google.com with SMTP id l12so11021698lfe.0 for ; Fri, 24 Feb 2017 08:32:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=J784pYEkDPVIa/WfcMBl9VQznxQRweAFxHpIHr75lcg=; b=Hh5WX8SGpk9qolB2KgSLBddZ5sRvNNMIKwR+Vw8Wxl1FLARMGtb2+0NXVXnPZiBxxU Kto58euPu/wLy8ddNDK9LqGWFs5No3GGMv5WZex0DLuceDCg2WATNn5sLL/VxMmKpO7k Csz1j0No+fnQTG0MR6HPx8zcRiP/h3IHEKRmiE7Umb/ejO53k88JsC1cqGOOQrPQ5MX7 XeoSla8ILAWijbaBfrYwiBf/r/JZFRWp4TMjg7TRzh9TyaGW6fYBdVeHQ2U1Yd7LIpHF Pp37NLR8ey1HJUIRKFHRt1cqKFvli6HkT1RvSfWS80p6G/UjpJsIuJW925BmcBzKv62F hzww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=J784pYEkDPVIa/WfcMBl9VQznxQRweAFxHpIHr75lcg=; b=QpAcsLOSKuaF47E0845QzyEakOtUjzTHVj/8YOT3Opx/4JCSOBNwW3UdK1NpN5Xv/5 EuZLG5CElS1cDHabPSfzRcuRqyUw5pRtF2/b/Qt8FXqj7O9m/GAHGg42CFmz4stM189K UB3plg1Pi8nOorlzyUSDgS2849f4q6ubu3AcQW2PIOw9PqdtxGR5Ka8xmnRd/x3OR5UE UoMkA+znBWcXHUC690IVGeTd/LGZoyuVO2f6WN+dFB2L5Z5b6tmYylWunZWTt6L1n4DU C8B3AiwKEhTQxLPblMAMHHTOnrzTXcrTYDhoNzoBiZplpev+GWOGS6UD+UXHCNzArIeA df8w== X-Gm-Message-State: AMke39kFQQdTFi1rPr0BsozUk8S4YKzDwTOCEsYxTl83JIOwE8XnOx42wWryL7BPX1o8HQ== X-Received: by 10.46.80.89 with SMTP id v25mr906199ljd.117.1487953932936; Fri, 24 Feb 2017 08:32:12 -0800 (PST) Received: from [192.168.1.6] (ppp109-252-90-129.pppoe.spdop.ru. [109.252.90.129]) by smtp.gmail.com with ESMTPSA id g100sm8821844lji.67.2017.02.24.08.32.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 08:32:12 -0800 (PST) Subject: Re: Loading DSDT table using 'acpi' or some memory write command? To: The development of GNU GRUB References: <1736729449.4676062.1487865639993.ref@mail.yahoo.com> <1736729449.4676062.1487865639993@mail.yahoo.com> From: Andrei Borzenkov Message-ID: Date: Fri, 24 Feb 2017 19:32:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1736729449.4676062.1487865639993@mail.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2017 16:32:19 -0000 23.02.2017 19:00, Nando Eva пишет: > Hi grub-devel, I'm endeavouring to pre-load a modified DSDT table > using grub2. The syntax I've tried being as shown below, after which > I chainload to Win10. This being done on a Dell E6540 with Win10 and > grub 2.02 (or older.. tried many versions, same result). > > acpi /efi/dsdt.amlacpi --load-table dsdt /efi/dsdt.amlchainloader > /efi/Boot/bootx64.efi Then I do 'acpidump -b' to peruse the DSDT > table. In all cases, it remains the same system BIOS one, not my > modified /efi/dsdt.aml one. > > I've also set 'set debug=all' and can see grub2 is reading my > modified dsdt file and doing memory writes. So two questions: 1. Is > 'acpi' not capable of loading a DSDT table for use with Win10? It is supposed to do it. Could you test with explicit "acpi -(1|2)" to force either version 1 or version 2 of tables. > 2. if that is the case, is there some 'memload' or 'writefromfile' > type command where I give a memory address and a file which grub2 > can then write? The idea is simply to replace the existing DSDT at > it's address with one given by the file of same size or smaller. > Thank you,Nando >