From: Wolfgang Denk Date: Thu, 05 Jun 2008 00:05:47 +0200 Subject: [U-Boot-Users] fat32 w/o parition table? (a.k.a VBR instead of MBR) In-Reply-To: Your message of "Thu, 08 May 2008 16:33:55 EDT." <1998.1210278835@mini> Message-ID: <20080604220547.3A4BA247CC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, in message <1998.1210278835@mini> you wrote: > > After some user complaints about not being able to fatls micro > sd cards which were formatted by Windows XP, I felt compelled to > make the following change (to u-boot 1.1.6, which I know is ancient, > but looking at the git tree, the latest doesn't handle it either near > as I can tell. > > Just curious if anyone has any thoughts. > > In the latest code, it seems like checking the partition table first > is dangerous as a VBR might looks like it has a partition table (but it > would be bogus) > > Some documents suggest checking the first 3 bytes of the block for the > branch instructions. The idea being that an MBR with a valid partition > table won't have the branch. voodoo, I know... Strangely enough, this message seems to have received no feedback at all. So what do we do about this? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Leave bigotry in your quarters; there's no room for it on the bridge. -- Kirk, "Balance of Terror", stardate 1709.2