Thread history

From Talk:R-Car/Boards/Yocto-Gen3
Viewing a history listing
Jump to: navigation, search
Time User Activity Comment
23:43, 9 October 2017 Kazu (talk | contribs)

New reply created

(Reply to Format eMMC in EXT3)
16:22, 9 October 2017 Kazu (talk | contribs)

New reply created

(Reply to Format eMMC in EXT3)
23:55, 5 October 2017 Ygohda (talk | contribs)

New reply created

(Reply to Format eMMC in EXT3)
16:20, 5 October 2017 Kazu (talk | contribs)

New thread created

 

hello.
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
16:20, 5 October 2017

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.

23:55, 5 October 2017

Thank you very much for having you teach it.
I try it. I report the result some other time.

16:22, 9 October 2017
 

Thanks to you, I was able to format eMMC.
And I was able to write in Linux image at eMMC.

23:43, 9 October 2017