[PATCH v3 2/2] spl: mmc: Pass eMMC HW partition 7 through
Tom Rini
trini at konsulko.com
Wed Apr 5 02:01:33 CEST 2023
On Wed, Apr 05, 2023 at 01:09:35AM +0200, Pali Rohár wrote:
> On Wednesday 05 April 2023 01:03:49 Marek Vasut wrote:
> > On 4/5/23 00:44, Pali Rohár wrote:
> > > On Wednesday 05 April 2023 00:33:02 Marek Vasut wrote:
> > > > On 4/5/23 00:16, Pali Rohár wrote:
> > > > > On Wednesday 05 April 2023 00:11:17 Marek Vasut wrote:
> > > > > > On 4/4/23 21:25, Pali Rohár wrote:
> > > > > > > On Tuesday 04 April 2023 20:05:15 Marek Vasut wrote:
> > > > > > > > The eMMC HW partition 0 and 7 both mean USER HW partition.
> > > > > > >
> > > > > > > This is not truth!
> > > > > >
> > > > > > Can you please provide further details to back your claim ?
> > > > >
> > > > > Yes, see a patch with explanation which I meanwhile sent:
> > > > > https://patchwork.ozlabs.org/project/uboot/patch/20230404202805.8523-1-pali@kernel.org/
Please note that I'm not sure the comments in this patch are a correct
reflection of what the code does, or is supposed to be doing. I need to
go and study everything there again.
> > > > This very much adds a comment that looks like the content of the second
> > > > paragraph of my reply, see below.
> > > >
> > > > It is a good thing you mention the aforementioned patch, since exactly one
> > > > line past the changes you implemented is the following piece of code:
> > > >
> > > > https://source.denx.de/u-boot/u-boot/-/blob/master/common/spl/spl_mmc.c#L382
> > > >
> > > > "
> > > > int default_spl_mmc_emmc_boot_partition(struct mmc *mmc)
> > > > ...
> > > > part = (mmc->part_config >> 3) & PART_ACCESS_MASK;
> > > > if (part == 7)
> > > > part = 0;
> > > > "
> > > >
> > > > Which maps 7 to 0 .
> > > >
> > > > > > This kind of screaming feedback with zero additional information is
> > > > > > worthless, sorry. Before you proceed with any further replies, please have a
> > > > > > look at JEDEC JESD84-B51 section 7.4.69 PARTITION_CONFIG Bit[5:3]
> > > > > > BOOT_PARTITION_ENABLE , this is what is being discussed here. Value 1/2 is
> > > > > > either BOOT HW partition, value 0/7 is treated as USER HW partition by the
> > > > > > boot code.
> > > >
> > > > Please read the paragraph above, I do not see any reply to it and I think
> > > > that might put the conversation back on track.
> > >
> > > I have read it and the reply with explanation is already there in my
> > > first email and also in the linked email.
> > >
> > > What you have written above in not truth.
> >
> > Very well, I think I will defer further judgement to the MMC maintainer and
> > stop participating in this thread. Constructive feedback is welcome.
>
> I see that this is your standard trolling reaction for a very long time
> if you do not have any relevant argument; or when you are lazy to read
> replies from other people.
That's uncalled for and rude, Pali. If you don't have anything further
to add, technically, there's no need nor justification for such
language.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230404/aa23c853/attachment.sig>
More information about the U-Boot
mailing list