On Sat, Jun 27, 2015 at 6:41 AM,  <[email protected]> wrote:
> Can I clarify/sanity check this one please?
>
>
>
> As of the January (or thereabouts) timeframe, u-boot has been patched so
> that it now checks the SD card first then eMMC? (Evidence would strongly
> suggest this is the case J ), irrespective of boot-switch …
>
>
>
> i.e. we’ve got something like this  (obviously assumes a recently flashed
> board)
>
>
>
> Power => eMMC MLO => eMMC u-boot
>
> If (sdcard)
>
>    Load image+dtb  from sd/boot
>
> Else
>
>       Load image+dtb  from emmc/boot

if (sdcard)
   if ((partition 1)/uEnv.txt && uenvcmd != "")
      run uenvccmd (aka old eMMC mode..)
   fi
   if ((partition 1) /boot.scr)
      run boot.scr
   fi
   if ((partition 1) /boot/boot.scr)
      run /boot/boot.scr
   fi

   for ( 1 -> 7)
   if ((partition x) /boot/uEnv.txt && uname_r != NULL)
     uname_boot
   fi
else if (eMMC)
   if ((partition 1)/uEnv.txt && uenvcmd != "")
      run uenvccmd (aka old eMMC mode..)
   fi
   if ((partition 1) /boot.scr)
      run boot.scr
   fi
   if ((partition 1) /boot/boot.scr)
      run /boot/boot.scr
   fi

   for ( 1 -> 7)
   if ((partition x) /boot/uEnv.txt && uname_r != NULL)
     uname_boot
   fi
else
   u-boot ums mode... (eMMC is shared as /dev/sdX on pc over usb)
fi

> Which leads me to 1 other point: presumably u-boot is still set to look for
> /boot on the 2nd partition which is why we are still all formatting SD cards
> with a little bit of FAT32?

the "only" reason it's fat16, is for windows users to copy files from
the 100Mb "fat" partition.  Right now it serves "no" other purpose..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to