[Buildroot] How to flash eMMC
Arnout Vandecappelle
arnout at mind.be
Thu Sep 1 21:11:43 UTC 2016
[Please avoid top-posting and writing HTML mails.]
On 01-09-16 19:14, yoda zhong wrote:
> Thank you for your opinion.
>
>
>
> Following is the related kernel log. But I’m not sure where I should copy
>
> boot/* and rootfs/* of microSD to.
Well, you said you wanted to flash an SD image, so I assumed you were talking
about the sdcard.img generated by board/beaglebone/post-image.sh. As explained
in board/beaglebone/readme.txt, you just write that to the SD or MMC card with
dd. Based on the kernel log below, in your case it would be:
dd if=sdcard.img of=/dev/mmcblk1
>
>
>
> [ 1.735984] mmc0: host does not support reading read-only switch, assuming
> write-enable
>
> [ 1.751294] mmc0: new high speed SDHC card at address aaaa
This is the SD card (see how it says 'SDHC card' ?)
>
> [ 1.762798] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
>
> [ 1.774493] mmc1: new high speed MMC card at address 0001
And this is the eMMC (maybe 'MMC card' is a hint?)
Regards,
Arnout
>
> [ 1.783724] mmcblk0: p1 p2
>
> [ 1.806009] mmcblk1: mmc1:0001 MMC04G 3.60 GiB
>
> [ 1.812103] mmcblk1boot0: mmc1:0001 MMC04G partition 1 2.00 MiB
>
> [ 1.828636] mmcblk1boot1: mmc1:0001 MMC04G partition 2 2.00 MiB
>
> [ 1.876569] mmcblk1: p1
>
> [ 1.921456] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode.
> Opts: (null)
>
> [ 1.930280] VFS: Mounted root (ext4 filesystem) on device 179:2.
>
> [ 1.950790] devtmpfs: mounted
>
> [ 1.956266] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
>
> [ 2.113623] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
>
>
>
> Following is the related dev list.
>
>
>
> mmcblk0
>
> mmcblk0p1
>
> mmcblk0p2
>
> mmcblk1
>
> mmcblk1boot0
>
> mmcblk1boot1
>
> mmcblk1p1
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
More information about the buildroot
mailing list