[U-Boot] can i in u-boot partition a device and format it in fat ?

Hi,
i had a look at the u-boot cmd's. I can read/write a file from/to a dos partition but I didn't find a command for partitioning and formatting a device.
Pls ,I need help in this context
Mit freundlichen Grüßen / Best regards
Sabri Altunbas (DC-IA/EAH2)
Tel. +49 (0) 6062/78-526 Fax +49 (0) 6062/78-771

Dear "Altunbas Sabri (DC-IA/EAH2)",
In message EADA2943BAC14C4AB625A3550A3BE9800966D80DBE@SI-MBX04.de.bosch.com you wrote:
i had a look at the u-boot cmd's. I can read/write a file from/to a dos par tition but I didn't find a command for partitioning and formatting a device.
No, you cannot (at least not unless you are willing to manually build the boot sector using "mw" commands and then writing it to the drive). Boot an OS for this purpose...
Best regards,
Wolfgang Denk

Hi Altunbas,
Hi,
i had a look at the u-boot cmd's. I can read/write a file from/to a dos partition but I didn't find a command for partitioning and formatting a device.
It is possible with "gpt" command (please look into the Samsung's Trats board). This allows for GPT restoration/setting (and it is already at mainline).
Another option is to use "ums" command. It "floats" on the mailing list for some time. With this command you can export eMMC device via usb and format with standard linux tools?
Pls ,I need help in this context
Mit freundlichen Grüßen / Best regards
Sabri Altunbas (DC-IA/EAH2)
Tel. +49 (0) 6062/78-526 Fax +49 (0) 6062/78-771
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (3)
-
Altunbas Sabri (DC-IA/EAH2)
-
Lukasz Majewski
-
Wolfgang Denk