Format eMMC in EXT3
I want to write in Linux Image at eMMC.
Therefore I was going to format eMMC in EXT3 form,
but the following messages were displayed and did not get along well.
Please tell me how I should format it.
root@h3ulcb:/mnt# fdisk /dev/mmcblk0 Device contains neither a valid DOS partition table, nor Sun, SGI, OSF or GPT dl Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that the previous content won't be recoverable. The number of cylinders for this disk is set to 238592. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): d No partition is defined yet! Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-238592, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-238592, default 238592): Using de2 Command (m for help): p Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes 4 heads, 16 sectors/track, 238592 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 238592 7634936 83 Linux Command (m for help): t Selected partition 1 Hex code (type L to list codes): 83 Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table [ 1039.079522] mmcblk0: p1 root@h3ulcb:/mnt# mkfs.ext3 /dev/mmcblk0 -sh: mkfs.ext3: command not found root@h3ulcb:/mnt# ls /sbin/mkfs.ext* ls: cannot access '/sbin/mkfs.ext*': No such file or directory
I think that you need to add a package.
Ex) Add the following to build/conf/local.conf IMAGE_INSTALL_append = " e2fsprogs"
For details, please refer to Yocto manual.
Thank you very much for having you teach it.
I try it. I report the result some other time.
You do not have permission to edit this page, for the following reasons:
- The action you have requested is limited to users in the group: Users.
- You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.
You can view and copy the source of this page.
Return to Thread:Talk:R-Car/Boards/Yocto-Gen3/Format eMMC in EXT3/reply (3).