Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


software:oowow:how-to:format-usb-flash-as-oowow-dump-storage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:oowow:how-to:format-usb-flash-as-oowow-dump-storage [2023/03/06 23:44]
hyphop
software:oowow:how-to:format-usb-flash-as-oowow-dump-storage [2023/03/08 22:56] (current)
hyphop [Format USB-flash as oowow dump storage]
Line 1: Line 1:
 +~~tag> OOWOW howto usb-flash format~~
 ====== Format USB-flash as oowow dump storage ====== ====== Format USB-flash as oowow dump storage ======
  
 [[:OOWOW:]] Dump storage can use: ''ext4'' or ''exfat'' file systems. [[:OOWOW:]] Dump storage can use: ''ext4'' or ''exfat'' file systems.
  
-```sh ext4 format  +<WRAP important > 
-mkfs.ext4 -L MY_DISK /dev/sda+Please be careful with disk formatted as ''vfat'', this variant have 4G file size limitation, and not suitable for big dump images.  ''vfat'' formatted disks not recommended for oowow usage. 
 +</WRAP> 
 + 
 +<WRAP info > 
 +OOWOW sd images, also can works as USB image, in this cases oowow dump storage will be created automatically on same disk as 2nd partition. 
 + 
 +Another situation if OOWOW works as embedded service from onboard SPI Flash, and current topic about this   
 +  
 +</WRAP> 
 + 
 +===== Format usb-storage on remote linux PC side  ===== 
 + 
 +Whole disk variants: 
 + 
 +```sh ext4 format whole disk 
 +sudo mkfs.ext4 -L MY_DISK /dev/sdX
 ``` ```
  
-WIP:+```sh exfat format whole disk 
 +sudo mkfs.exfat -n MY_DISK /dev/sdX 
 +``` 
 + 
 +<WRAP tip > 
 +Please replace ''/dev/sdX'' to actual device name!  
 +</WRAP> 
 + 
 +Partitions variants**preferred** 
 + 
 +```sh exfat format 1st partition 
 + 
 +echo -e "label:dos\n\n part1 : start=2048, type=7\n" | sudo sfdisk /dev/sdX 
 +sudo mkfs.exfat -n MY_DISK /dev/sdX1 
 + 
 +``` 
 + 
 +===== Format usb-storage inside OOWOW  ===== 
 + 
 +<WRAP tip > 
 +Formatting inside OOWOW is a easiest way, USB storage will be formatted as ''exfat'', and will be fully compatible for any usage! 
 +</WRAP> 
 + 
 +__ Main Menu => Advanced => Format USB user storage disk __ 
  
Last modified: 2023/03/06 23:44 by hyphop