Thread (20 messages) 20 messages, 2 authors, 2020-03-25

Re: [PATCH v3 00/10] Introduce NVIDIA Tegra Partition Table

From: Dmitry Osipenko <digetx@gmail.com>
Date: 2020-03-23 19:44:20
Also in: linux-mmc, linux-tegra, lkml

23.03.2020 21:07, Michał Mirosław пишет:
On Mon, Mar 23, 2020 at 07:34:21PM +0300, Dmitry Osipenko wrote:
quoted
Some NVIDIA Tegra devices have GPT entry at a wrong location and others may
even not have it at all. So either a custom workaround for GPT parsing or
TegraPT support is needed for those devices if we want to support them in
upstream kernel. The former solution was already rejected [1], let's try
the latter.
[...]

Hi Dmitry,

This amusing use of whole-device offsets in the TegraPT makes it take
a lot of hacks to support it. Have you considered to first join the MMC
hardware partitions using DM and its linear target and only then processing
the partition table dividing just the merged device?
Hello Michał,

Thank you very much for the suggestion! I had a thought about that and
it's not apparent to me how to determine when the joining needs to be
done and when not.

The joining shouldn't be done for devices that aren't booting from eMMC
because then the alt GPT entry will be found on a joined block device
and this shouldn't happen.

Actually, maybe we could create a new MMC device-tree property, telling
that the joining needs to be performed. Perhaps this indeed could result
in a less hackery, I'll give it a try and see how it goes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help