source: JEDEC STANDARD Embedded Multi-Media Card (eMMC) Electrical Standard (5.1)
basic setup sequence (using SYNOPSYS emmc VIP as card)
host_init -> card_init -> block_write -> block_read
card_init:
CMD1(SEND_IF_OP_COND) -> CMD2(ALL_SEND_CID) -> CMD3(SET_RELATIVE_ADDR) -> CMD7(SELECT/DESELECT_CARD) -> host change clk freq -> setting EXT_CSD register using CMD6(SWITCH)