public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  fatload from eMMC general purpose partition
@ 2014-07-28 11:38 Andreas Naumann
  2014-07-28 12:38 ` Lukasz Majewski
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Naumann @ 2014-07-28 11:38 UTC (permalink / raw)
  To: u-boot

Hi,

using an eMMC I want to load uImage and dtb from a general purpose 
partition (since these can be configured as pSLC independent of the user 
data area).
 From the kernel I can format and access the GP-partition, in my case 
mkfs.vfat. However, U-Boots fatload/extload on the GP-partition do not 
work or maybe I just give the wrong parameters. Is this implemented at 
all, any hints?


Regards

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] fatload from eMMC general purpose partition
  2014-07-28 11:38 [U-Boot] fatload from eMMC general purpose partition Andreas Naumann
@ 2014-07-28 12:38 ` Lukasz Majewski
  2014-07-28 14:35   ` Andreas Naumann
  0 siblings, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2014-07-28 12:38 UTC (permalink / raw)
  To: u-boot

Hi Andreas,

> Hi,
> 
> using an eMMC I want to load uImage and dtb from a general purpose 
> partition (since these can be configured as pSLC independent of the
> user data area).
>  From the kernel I can format and access the GP-partition, in my case 
> mkfs.vfat. However, U-Boots fatload/extload on the GP-partition do
> not work or maybe I just give the wrong parameters. Is this
> implemented at all, any hints?

As far as I remember the FAT related directories are working correctly
with some our boards.

Could you share exact output from your console?

> 
> 
> Regards
> 
> Andreas



-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] fatload from eMMC general purpose partition
  2014-07-28 12:38 ` Lukasz Majewski
@ 2014-07-28 14:35   ` Andreas Naumann
  2015-04-24 15:58     ` harsha kiran
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Naumann @ 2014-07-28 14:35 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] fatload from eMMC general purpose partition
  2014-07-28 14:35   ` Andreas Naumann
@ 2015-04-24 15:58     ` harsha kiran
  0 siblings, 0 replies; 4+ messages in thread
From: harsha kiran @ 2015-04-24 15:58 UTC (permalink / raw)
  To: u-boot

Hi Andreas,

I am facing a similar problem not able to access the GP partitions from
uboot. Did you have any luck accessing these partitions??

Thanks,
Harsha



--
View this message in context: http://u-boot.10912.n7.nabble.com/fatload-from-eMMC-general-purpose-partition-tp185166p212395.html
Sent from the U-Boot mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-24 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 11:38 [U-Boot] fatload from eMMC general purpose partition Andreas Naumann
2014-07-28 12:38 ` Lukasz Majewski
2014-07-28 14:35   ` Andreas Naumann
2015-04-24 15:58     ` harsha kiran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox