[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e97c45d8-42cc-fa38-957f-1d32e400d253@gmail.com>
Date: Wed, 19 Feb 2020 19:36:32 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Ard Biesheuvel <ard.biesheuvel@...aro.org>
Cc: Jens Axboe <axboe@...nel.dk>, Davidlohr Bueso <dave@...olabs.net>,
Colin Cross <ccross@...roid.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Michał Mirosław <mirq-linux@...e.qmqm.pl>,
David Heidelberg <david@...t.cz>,
Peter Geis <pgwipeout@...il.com>,
linux-efi <linux-efi@...r.kernel.org>,
linux-tegra@...r.kernel.org, linux-block@...r.kernel.org,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] partitions/efi: Add 'gpt_sector' kernel cmdline
parameter
19.02.2020 19:26, Ard Biesheuvel пишет:
> On Wed, 19 Feb 2020 at 17:25, Dmitry Osipenko <digetx@...il.com> wrote:
>>
>> The gpt_sector=<sector> causes the GPT partition search to look at the
>> specified sector for a valid GPT header if the GPT is not found at the
>> beginning or the end of block device.
>>
>> In particular this is needed for NVIDIA Tegra consumer-grade Android
>> devices in order to make them usable with the upstream kernel because
>> these devices use a proprietary / closed-source partition table format
>> for the EMMC and it's impossible to change the partition's format. Luckily
>> there is a GPT table in addition to the proprietary table, which is placed
>> in uncommon location of the EMMC storage and bootloader passes the
>> location to kernel using "gpt gpt_sector=<sector>" cmdline parameters.
>>
>> This patch is based on the original work done by Colin Cross for the
>> downstream Android kernel.
>>
>> Cc: Colin Cross <ccross@...roid.com>
>> Signed-off-by: Dmitry Osipenko <digetx@...il.com>
>
> Which block device is this parameter applied to?
All available devices.
Powered by blists - more mailing lists