Changes between Version 2 and Version 3 of linux/blockdev


Ignore:
Timestamp:
11/29/2017 07:08:06 PM (6 years ago)
Author:
Ryan Erbstoesser
Comment:

add mmcblk0 section

Legend:

Unmodified
Added
Removed
Modified
  • linux/blockdev

    v2 v3  
    5050}}}
    5151
     52=== mmcblk0 Imaging ===
     53
     54If the Desktop/Laptop being used to flash the microSD device shows up as /dev/mmcblk0 then it will act slightly different than the standard storage device (/dev/sda).
     55
     56Follow the below example and adjust as necessary:
     57{{{
     58DEVICE=/dev/mmcblk0
     59printf "2048,,L,,\n" | sudo sfdisk --force --unit S ${DEVICE}
     60sudo mkfs.ext4 ${DEVICE}p1
     61sudo mount ${DEVICE}p1 /mnt/disk
     62sudo tar -C /mnt/disk -xvf rootfs.tar.bz2
     63sudo umount /mnt/disk
     64}}}
    5265
    5366=== Imaging from U-Boot ===