embeded/odroid2016. 10. 7. 23:54
emmc만 설치

$ dmesg | grep -i mmc

[    0.000000] Kernel command line: console=tty1 console=ttySAC1,115200 mem=2047M console=tty1 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootwait ro mem=2047M

[    0.220869] LDO4 VDDQ_MMC2_2V8: 2800 mV

[    0.222273] LDO5 VDDQ_MMC1_1V8: 1800 mV

[    0.241058] vddq_emmc_1V8: 1800 <--> 3000 mV at 1800 mV

[    0.243880] vddf_emmc_2V85: 2850 mV

[    2.634026] s3c-sdhci exynos4-sdhci.2: clock source 2: mmc_busclk.2 (440000000 Hz)

[    2.634090] mmc0: no vqmmc regulator found

[    2.634098] mmc0: no vmmc regulator found

[    2.771135] mmc0: SDHCI controller on samsung-hsmmc [exynos4-sdhci.2] using ADMA

[    2.785178] dw_mmc dw_mmc: Using internal DMA controller.

[    2.821138] DWMMC: Div 2 = 130

[    2.821165] dw_mmc dw_mmc: Version ID is 240a

[    2.821172] dw_mmc dw_mmc: DW MMC controller at irq 109, 32 bit host data width, 128 deep fifo

[    2.878679] mmc_host mmc1: Bus speed (slot 0) = 104000000Hz (slot req 400000Hz, actual 400000HZ div = 130)

[    2.942993] mmc1: BKOPS_EN bit is not set

[    2.944129] DWMMC: Div 2 = 1

[    2.944138] mmc_host mmc1: Bus speed (slot 0) = 104000000Hz (slot req 52000000Hz, actual 52000000HZ div = 1)

[    2.944535] mmc1: new high speed DDR MMC card at address 0001

[    2.944855] mmcblk0: mmc1:0001 008G92 7.28 GiB

[    2.945022] mmcblk0boot0: mmc1:0001 008G92 partition 1 4.00 MiB

[    2.945191] mmcblk0boot1: mmc1:0001 008G92 partition 2 4.00 MiB

[    2.945348] mmcblk0rpmb: mmc1:0001 008G92 partition 3 512 KiB

[    2.946209]  mmcblk0: p1 p2

[    2.947708]  mmcblk0boot1: unknown partition table

[    2.948758]  mmcblk0boot0: unknown partition table

[    3.314930] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.897127] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro


$ mount

/dev/mmcblk0p2 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro)

proc on /proc type proc (rw,noexec,nosuid,nodev)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

none on /sys/fs/cgroup type tmpfs (rw)

none on /sys/kernel/debug type debugfs (rw)

udev on /dev type devtmpfs (rw,mode=0755)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,mode=1777)

tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)

none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)

none on /run/shm type tmpfs (rw,nosuid,nodev)

none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)

/dev/mmcblk0p1 on /boot type vfat (rw,nosuid,nodev,flush,umask=000)

systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)

gvfsd-fuse on /run/user/105/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lightdm)

 


emmc + sd

$ dmesg | grep -i mmc

[    0.000000] Kernel command line: console=tty1 console=ttySAC1,115200 mem=2047M console=tty1 console=ttySAC1,115200n8 root=/dev/mmcblk0p2 rootwait ro mem=2047M

[    0.220690] LDO4 VDDQ_MMC2_2V8: 2800 mV

[    0.222102] LDO5 VDDQ_MMC1_1V8: 1800 mV

[    0.240017] vddq_emmc_1V8: 1800 <--> 3000 mV at 1800 mV

[    0.242803] vddf_emmc_2V85: 2850 mV

[    2.647631] s3c-sdhci exynos4-sdhci.2: clock source 2: mmc_busclk.2 (440000000 Hz)

[    2.647693] mmc0: no vqmmc regulator found

[    2.647701] mmc0: no vmmc regulator found

[    2.789691] mmc0: SDHCI controller on samsung-hsmmc [exynos4-sdhci.2] using ADMA

[    2.797797] dw_mmc dw_mmc: Using internal DMA controller.

[    2.829744] dw_mmc dw_mmc: Version ID is 240a

[    2.832713] mmc0: new high speed SDHC card at address aaaa

[    2.833008] mmcblk0: mmc0:aaaa SU16G 14.8 GiB

[    2.834180]  mmcblk0: p1 p2

[    2.834691] DWMMC: Div 2 = 130

[    2.834701] mmc_host mmc1: Bus speed (slot 0) = 104000000Hz (slot req 400000Hz, actual 400000HZ div = 130)

[    2.880667] dw_mmc dw_mmc: DW MMC controller at irq 109, 32 bit host data width, 128 deep fifo

[    2.936544] mmc1: BKOPS_EN bit is not set

[    2.941863] DWMMC: Div 2 = 1

[    2.945985] mmc_host mmc1: Bus speed (slot 0) = 104000000Hz (slot req 52000000Hz, actual 52000000HZ div = 1)

[    2.954911] mmc1: new high speed DDR MMC card at address 0001

[    2.955279] mmcblk1: mmc1:0001 008G92 7.28 GiB

[    2.955453] mmcblk1boot0: mmc1:0001 008G92 partition 1 4.00 MiB

[    2.955615] mmcblk1boot1: mmc1:0001 008G92 partition 2 4.00 MiB

[    2.955785] mmcblk1rpmb: mmc1:0001 008G92 partition 3 512 KiB

[    2.956597]  mmcblk1: p1 p2

[    2.958141]  mmcblk1boot1: unknown partition table

[    2.959250]  mmcblk1boot0: unknown partition table

[    3.457432] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    5.307527] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro 


$ mount

/dev/mmcblk0p2 on / type ext4 (rw,noatime,nodiratime,errors=remount-ro)

proc on /proc type proc (rw,noexec,nosuid,nodev)

none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)

none on /sys/fs/cgroup type tmpfs (rw)

none on /sys/kernel/debug type debugfs (rw)

udev on /dev type devtmpfs (rw,mode=0755)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,mode=1777)

tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)

none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)

none on /run/shm type tmpfs (rw,nosuid,nodev)

none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)

/dev/mmcblk0p1 on /media/boot type vfat (rw,nosuid,nodev,flush,umask=000)

systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)

gvfsd-fuse on /run/user/1001/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=odroid)

/dev/mmcblk1p1 on /media/odroid/BOOT type vfat (rw,nosuid,nodev,uid=1001,gid=1001,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)


음... sd보다 emmc가 우선되는거 아니었나?

둘다 꽂고 하니까 sd가 우선으로 켜지네?


+

U/U2/U3는 부트 방법을 선택할 방법이 없으며, 만약  eMMC를 처음 시도하고 eMMC가 찾아지지 않으면  SDCard로 부팅을 시도한다?

엥?!?!? 말이랑 결과랑 다른데?



ODROID-U/U2/U3


On ODROID-U/U2/U3 There's no method to select the boot media. It will attempt first a eMMC boot if eMMC isn't found it will attempt the SDCard Boot


[링크 : http://odroid.com/dokuwiki/doku.php?id=en:exynos4412bootsequence]



+

2016.10.09


암만해도 희한하게.. 왜 sd 카드가 mmcblk0으로 잡히고 eMMC가 mmcblk1으로 잡히지?

그래도 포맷을 완전히 하고 나서 켜니 켜지긴 하네.. 저번에는 머가 문제였지?

$ dmesg | grep mmcblk

[    2.833262] mmcblk0: mmc0:0007 SL16G 14.4 GiB

[    2.838533]  mmcblk0: p1

[    2.931688] mmcblk1: mmc1:0001 008G92 7.28 GiB

[    2.931856] mmcblk1boot0: mmc1:0001 008G92 partition 1 4.00 MiB

[    2.932050] mmcblk1boot1: mmc1:0001 008G92 partition 2 4.00 MiB

[    2.932236] mmcblk1rpmb: mmc1:0001 008G92 partition 3 512 KiB

[    2.933152]  mmcblk1: p1 p2

[    2.934582]  mmcblk1boot1: unknown partition table

[    2.935609]  mmcblk1boot0: unknown partition table

[    3.350821] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)

[    4.036336] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro 


'embeded > odroid' 카테고리의 다른 글

odroid UART 1.8V ㅠㅠ  (0) 2016.10.08
odroid U3 8GB eMMC datasheet  (0) 2016.10.08
odroid u3 와 eMMC 테스트  (0) 2016.10.07
eMMC 부트 파티션 구조(micron)  (0) 2016.10.07
odroid eMMC 8GB 지름  (0) 2016.10.07
Posted by 구차니