Skip to content
Snippets Groups Projects
Commit cf3a8017 authored by Clemens Terasa's avatar Clemens Terasa
Browse files

mmc: Use the eMMC mmcblk0 mapping

With commit
https://github.com/torvalds/linux/commit/fa2d0aa96941e8dc347e49a04c75468e3002ee20
cherry-picked to out current kernel the aliasing works as it worked for
previous linux ports, namely the eMMC equipped on the iMX6 Garz & Fricke
boards is mapped to mmcblk0.

Thus use this mmcblk0 mapping to refer to the eMMC.

BCS 746-000100
parent 2962e14c
No related branches found
No related tags found
1 merge request!28mmc: Use the eMMC mmcblk0 mapping
Pipeline #16757 passed with stages
in 15 minutes and 39 seconds
# Only load linux image as it also contains the configured devicetree attached
load linuximage
exec "console=ttymxc0,115200 root=/dev/mmcblk1p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M loglevel=6"
exec "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M loglevel=6"
......@@ -547,7 +547,7 @@ CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set
CONFIG_CMDLINE="console=ttymxc0,115200 root=/dev/mmcblk1p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M"
CONFIG_CMDLINE="console=ttymxc0,115200 root=/dev/mmcblk0p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M"
CONFIG_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_CMDLINE_EXTEND is not set
# CONFIG_CMDLINE_FORCE is not set
......
......@@ -547,7 +547,7 @@ CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is not set
CONFIG_CMDLINE="console=ttymxc0,115200 root=/dev/mmcblk1p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M"
CONFIG_CMDLINE="console=ttymxc0,115200 root=/dev/mmcblk0p3 rootflags=data=journal rootwait rootfstype=ext4 cma=128M"
CONFIG_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_CMDLINE_EXTEND is not set
# CONFIG_CMDLINE_FORCE is not set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment