[U-Boot] fatload from eMMC general purpose partition

Andreas Naumann dev at andin.de
Mon Jul 28 16:35:25 CEST 2014


Hi,

>
> Could you share exact output from your console?
>




below follows some linux console output from writing some file to a gp- 
and a user data partion (foo/bar). After that trying to see that file 
from U-Boot...:

[root]# ls /dev/mmcblk3*
/dev/mmcblk3
/dev/mmcblk3boot1
/dev/mmcblk3gp0p1
/dev/mmcblk3p1
/dev/mmcblk3rpmb
/dev/mmcblk3boot0
/dev/mmcblk3gp0
  /dev/mmcblk3gp1


Rest of User Data Area
mount /dev/mmcblk3p1 /media/usb0/
touch /media/usb0/foo
umount /media/usb0/

General purpose patition
[root]# mount /dev/mmcblk3gp0p1  /media/usb0/
[root]# touch /media/usb0/bar
[root]# umount /media/usb0/

Start u-boot

Rest of User Data Area
U-Boot =>fatls mmc 2:1 /
         0   foo

1 file(s), 0 dir(s)

U-Boot =>fatls mmc 2:2 /
** Invalid partition 2 **
U-Boot =>fatls mmc 2:3 /
** Invalid partition 3 **
U-Boot =>fatls mmc 2:4 /
** Invalid partition 4 **
U-Boot =>fatls mmc 2:5 /
** Invalid partition 5 **
U-Boot =>fatls mmc 2:6 /
** Invalid partition 6 **
U-Boot =>fatls mmc 2:7 /
** Invalid partition 7 **
U-Boot =>fatls mmc 2:8 /
** Invalid partition 8 **
U-Boot =>fatls mmc 2:9 /
** Invalid partition 9 **
U-Boot =>fatls mmc 2:a /
** Invalid partition 10 **
U-Boot =>fatls mmc 2:b /
** Invalid partition 11 **
U-Boot =>fatls mmc 2:c /
** Invalid partition 12 **
U-Boot =>fatls mmc 2:d /
** Invalid partition 13 **
U-Boot =>fatls mmc 2:e /
** Invalid partition 14 **
U-Boot =>fatls mmc 2:f /
** Invalid partition 15 **

Where to find bar ?

regards,
Andreas


More information about the U-Boot mailing list