From: Tom Rini Date: Wed, 12 Mar 2014 15:33:18 -0400 Subject: [U-Boot] [PATCH] Add support for offset of a filesystem within a block-device In-Reply-To: <5320B2DB.1030203@petermaier.org> References: <1394112635-21016-1-git-send-email-oe5hpm@oevsv.at> <20140312160823.GS16805@bill-the-cat> <53209704.303@petermaier.org> <20140312190021.GV16805@bill-the-cat> <5320B2DB.1030203@petermaier.org> Message-ID: <20140312193318.GW16805@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 12, 2014 at 08:17:47PM +0100, Hannes Petermaier wrote: > Good idea, i've also thougt about this way .... > but what happens in case of OS is going to re-partitioning the drive > (flash), delete all partitions (dummy-part also) an puts the first > (new) partition behind the part-table (vxWorks can handle up to four > partitions and we give end-user the possibility to create/delete > partitions) ? First partition becomes laying over U-Boot @ 384k (and > some other stuff which may be stored there). > To prevent this case we would have to modify "fdisk" of vxWorks, > which i would like to prevent because this is a common part of OS > and would affect all mass-storage. > With my solution, OS never can see/delete any other (dummy) > partitiion - it has always "a normal drive" accessible. Since this is really eMMC, mark SPL/U-Boot as protected? I'd swear such a thing is allowed, but I've just been looking at QSPI things recently not eMMC so I might have some mental mismatch. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: