From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Sun, 19 Feb 2017 20:45:55 +0100 Subject: [U-Boot] [PATCH 1/8] arm: socfpga: Add distro boot to socfpga common header In-Reply-To: <1487466604.6396.29.camel@gmail.com> References: <1487451108-4277-1-git-send-email-dwesterg@gmail.com> <1487451108-4277-2-git-send-email-dwesterg@gmail.com> <60b20eb9-0625-b2eb-712c-df75cb993c66@denx.de> <1487460588.6396.18.camel@gmail.com> <1487466604.6396.29.camel@gmail.com> Message-ID: <20170219194555.GA16718@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi! > > > > > ?/* Environment for SDMMC boot */ > > > > > ?#if defined(CONFIG_ENV_IS_IN_MMC) && !defined(CONFIG_ENV_OFFSET) > > > > > -#define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */ > > > > > -#define CONFIG_ENV_OFFSET 512 /* just after the > > > > > MBR > > > > > */ > > > > > +#define CONFIG_SYS_MMC_ENV_DEV 0 /* > > > > > device 0 > > > > > */ > > > > > +#define CONFIG_ENV_OFFSET (34*512)/* just after the GPT > > > > > */ ... > I actually dont believe this will cause much of an issue. the env is placed > immediately after the partition table. ?I know this size fits between the > table and the typical location of the first partition without issue. Hmm. It is not immediately after partition table (==MBR), it is at sector 34. Now, by changing size you already break the setups, so moving it back to sector 1 does not help much, but can you explain? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: