Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ciJUs-0005yp-Ks for mharc-grub-devel@gnu.org; Mon, 27 Feb 2017 06:29:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciJUq-0005wS-1J for grub-devel@gnu.org; Mon, 27 Feb 2017 06:29:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciJUm-0003DE-2l for grub-devel@gnu.org; Mon, 27 Feb 2017 06:29:40 -0500 Received: from nm30-vm6.bullet.mail.gq1.yahoo.com ([98.136.216.197]:53887) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciJUl-0003Cr-QG for grub-devel@gnu.org; Mon, 27 Feb 2017 06:29:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1488194973; bh=7/GQDdO/fyX2hB2fI6W06YfLZXYwAr3ZwueXSEGzOgA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=eqMtsHaor3eXDeUGr4DLw+Wl86Fdi5mjimh7n+BT/MMibUX2UlBp6gg58i0pZ79sXw2FETbnUxsr5Qfc7sdymiGjuSwr6usFthiC3/rUZEiZ9XhF4pvd7Pqu2xIN4WsO9NXmmGNG4VdYaXi2U2r03TGk+4kzfFR/4y8AranhO/ZaFTnDzsFxQAm2hHJ0ehQAWRIgbgwSajTZ9nDNHd6VnL1yr5EUF0pvIOUQbg22manFS6uM7CHw1d1J/4inJobctFHda6pDY54JcxUKJaCyY/rbxlNGtkY25dZGTOlmN/lM1RqVsTy+gUAnOB6iII5p9LS4v6tFwimYot1mmA+WBg== Received: from [216.39.60.184] by nm30.bullet.mail.gq1.yahoo.com with NNFMP; 27 Feb 2017 11:29:33 -0000 Received: from [98.137.12.224] by tm20.bullet.mail.gq1.yahoo.com with NNFMP; 27 Feb 2017 11:29:33 -0000 Received: from [127.0.0.1] by omp1032.mail.gq1.yahoo.com with NNFMP; 27 Feb 2017 11:29:33 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 850656.92362.bm@omp1032.mail.gq1.yahoo.com X-YMail-OSG: 65JW6y8VM1nQhCY5ZBjAttQ06cr.99r5xr0_cKO2Obs8SGhHgaoYxqhPNxlTjXP 8DNyVIg5WJXCCuhbpHVKXAdrgFwijeTtI8hOpKQsdBd2IrNNS8QR_qhhwT.9FANrGmujdeV6i3jB R9rtl7Aktfeh0pPjNUyrKvHv4Y8NfXbVs56CvP9mQ2pVESEIEgUPL9jbFzI.drZ5OP7a0KofQiE_ 2KH_LmIyhLmERD53EGSPsP5ORIz8aIBBsDmU2kq5NysJefDpUdxl0Ago9TfVShMY2UUxk0qWr4Du FayQSfJA1Mn5EgBnEj5VUU9m2H_YC8R7jJs.MWUMGwuIxkdE1gbfmKhVUebJR3BYsXt1PijKS..2 ZEWcNxKiNY.VYTsSf.IyOvRJ9q7fs8fP0ZHucbskvJNz8ir3DczXGJKEjnwyXsO8p751m.XzBhf9 yejChfqBIE2p.VscuOWEIUjXzWD_C5RjXswL.w38qf6n3DE9v20W9osljZj_7ndxOHt91tJdidLB e7KHNnfJx.mRktjSoQVerRjW87g9OvGUf8iNsTjhCkqrNcII- Received: from jws300053.mail.gq1.yahoo.com by sendmailws111.mail.gq1.yahoo.com; Mon, 27 Feb 2017 11:29:33 +0000; 1488194973.462 Date: Mon, 27 Feb 2017 11:29:33 +0000 (UTC) From: Nando Eva Reply-To: Nando Eva To: "grub-devel@gnu.org" Message-ID: <229125734.2281203.1488194973248@mail.yahoo.com> In-Reply-To: <1736729449.4676062.1487865639993@mail.yahoo.com> References: <1736729449.4676062.1487865639993.ref@mail.yahoo.com> <1736729449.4676062.1487865639993@mail.yahoo.com> Subject: Re: Loading DSDT table using 'acpi' or some memory write command? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2281202_854382183.1488194973246" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 98.136.216.197 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: Mon, 27 Feb 2017 11:29:41 -0000 ------=_Part_2281202_854382183.1488194973246 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable @Andrei Borzenkov, I've confirmed that any of the following do not alter th= e Win10 DSDT table across numerous Macbooks and my Dell E6540. acpi dsdt.amlacpi --load-only dsdt dsdt.amlacpi -2 dsdt.aml Followed by: chainloader /efi/Microsoft/Boot/bootmgfw.efi Clover has a DSDT override function and using it works on my Dell E6540. Ho= wever it does it by writing to the UEFI firmware volume, which for Macbooks= , has had one test instance of bricking the system.=20 Any chance of a simple=C2=A0 'load_dsdt [file]' command that acquires the i= n-memory DSDT table address, checks it's size, then overwrites it with the = file name specified if it's the same size or smaller?=C2=A0=20 Or some function to write a file to a memory location like 'write_byte'. Ma= ybe 'write_file'? Thank you,Nando =20 On Friday, 24 February 2017, 3:00, Nando Eva wrot= e: =20 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 bei= ng done on a Dell E6540 with Win10 and grub 2.02 (or older.. tried many ver= sions, 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=3Dall' and can see grub2 is reading my modified ds= dt file and doing memory writes. So two questions: 1. Is 'acpi' not capable of loading a DSDT table for use with Win10? 2. if that is the case, is there some 'memload' or 'writefromfile' type com= mand where I give a memory address and a file which grub2 can then write? T= he idea is simply to replace the existing DSDT at it's address with one giv= en by the file of same size or smaller. Thank you,Nando =20 ------=_Part_2281202_854382183.1488194973246 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
@Andrei Borzenkov, I've confirmed that any of t= he following do not alter the Win10 DSDT table across numerous Macbooks and= my Dell E6540.

<= /div>
acpi dsdt.aml=
acpi --load-= only dsdt dsdt.aml
acpi -2 dsdt.aml

Followed by:
chainloader /efi/Microsoft/Boot/bootmgfw.efi

Clover has a DSDT override function and using it works on my Dell= E6540. However it does it by writing to the UEFI firmware volume, which fo= r Macbooks, has had one test instance of bricking the system.

Any chance of a simple  'loa= d_dsdt [file]' command that acquires the in-memory DSDT table address, chec= ks it's size, then overwrites it with the file name specified if it's the s= ame size or smaller? 

Or some funct= ion to write a file to a memory location like 'write_byte'. Maybe 'write_fi= le'?

Thank you,
Nando


On Friday, 24 February 2017, 3:00, Nando Eva <nando4eva@ymail.com>= wrote:


Hi grub-devel,

I'm endeavour= ing to pre-load a modified DSDT table using grub2. The syntax I've tried be= ing 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 r= esult).

acpi /efi/dsdt.aml
acpi --load-table dsdt /= efi/dsdt.aml
chainloader /efi/Boot/bootx64.efi

Then I d= o 'acpidump -b' to peruse the DSDT table. In all cases, it=20 remains the same system BIOS one, not my modified /efi/dsdt.aml one.

I've also set 'set debug=3Dall' and can see grub2 is reading m= y modified dsdt file and doing memory writes.

So two questio= ns:

1. Is 'acpi' not capable of loading a DSDT table for use= with Win10?

2. if that is the case, is there some 'memload'= or 'writefromfile' type command where I give a memory address and a file w= hich 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





------=_Part_2281202_854382183.1488194973246--