From: Neil Armstrong <narmstrong@baylibre.com>
To: Andreas Fenkart <afenkart@gmail.com>, linux-amlogic@lists.infradead.org
Cc: krzysztof.michonski@digitalstrom.com
Subject: Re: amlogic mmc_partitions support
Date: Mon, 14 Jan 2019 11:00:04 +0100 [thread overview]
Message-ID: <1d699426-5744-5149-f136-66db54b87056@baylibre.com> (raw)
In-Reply-To: <CALtMJECdszQv+ZqbPv9dfq2QbogVJMfth+fNL40pgwh0_RtbCw@mail.gmail.com>
Hi Andreas,
On 14/01/2019 10:54, Andreas Fenkart wrote:
> Hi,
>
> What is a feasible way to port the vendor supplied
> drivers/amlogic/mmc/emmc_partitions.c into something that could be
> mainlined? My thought is to create a custom block/partition/amlogic.c
> driver. Would that have a chance to be included in mainline?
Basically, Amlogic uses the eMMC main partition as a MTD devices and uses a
custom DT partition scheme to export named MTD partitions to user-space.
They don't use any "standard" partitions schemes on the eMMC main HW partition.
Mainline will never support DT-defined MMC partitions, and will never support
a MTD indirection to a MMC HW partition either.
You can try to implement something similar using FUSE, but it won't be simple.
>
> Anybody else that tries to support the existing amlogic partition
> format, not the implementation, as is. I want to upgrade the kernel
> via fw upgrade on existing installations, but not touch the u-boot nor
> the formatting.
Some people forward ported it, and is available on some git repos around the
Khadas VIM support.
Neil
>
> /Andi
>
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic
>
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2019-01-14 10:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 9:54 amlogic mmc_partitions support Andreas Fenkart
2019-01-14 10:00 ` Neil Armstrong [this message]
2019-01-14 14:35 ` Peter Korsgaard
2019-01-14 14:46 ` Neil Armstrong
2019-01-14 14:42 ` Andreas Fenkart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1d699426-5744-5149-f136-66db54b87056@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=afenkart@gmail.com \
--cc=krzysztof.michonski@digitalstrom.com \
--cc=linux-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).