This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] TDA4VH: EMMC BOOT0 booting from Linux Space

Part Number: TDA4VH

Tool/software:

Q1:How can I program bootloader binaries including tiboot3.bin, tispl.bin and u-boot.img to either mmcblk0boot0 or mmcblk0boot1 at linux space instead of u-boot space?

Q2:In addition, how can I control which boot partition to use at linux space instead of  u-boot space such as setting partconf and bootbus?

Regards

Gokul

  • HI Gokul,

    Q1:How can I program bootloader binaries including tiboot3.bin, tispl.bin and u-boot.img to either mmcblk0boot0 or mmcblk0boot1 at linux space instead of u-boot space?

    > echo 0 > /sys/block/mmcblk0boot0/force_ro
    >dd if=/dev/zero of=/dev/mmcblk0boot0
    >dd if=/run/media/BOOT-mmcblk1p1/tiboot3.bin of=/dev/mmcblk0boot0 seek=0
    >dd if=/run/media/BOOT-mmcblk1p1/tispl.bin of=/dev/mmcblk0boot0 seek=1024
    >dd if=/run/media/BOOT-mmcblk1p1/u-boot.img of=/dev/mmcblk0boot0 seek=5120

    NOTE: Ensure that the partconf value is set to boot0 once the above command is executed to boot from boot0.

    >mmc extcsd write 179 0x48 /dev/mmcblk0
    >mmc extcsd write 177 0x02 /dev/mmcblk0

    Sets the boot partition to UDA:

    >mmc extcsd write 179 0x78 /dev/mmcblk0
    >mmc extcsd write 177 0x02 /dev/mmcblk0

    >echo 0 > /sys/block/mmcblk0boot0/force_ro
    >dd if=/dev/zero of=/dev/mmcblk0boot0
    >dd if=/run/media/BOOT-mmcblk1p1/tiboot3.bin of=/dev/mmcblk0boot0 seek=0
    >dd if=/run/media/BOOT-mmcblk1p1/tispl.bin of=/dev/mmcblk0boot0 seek=1024
    >dd if=/run/media/BOOT-mmcblk1p1/u-boot.img of=/dev/mmcblk0boot0 seek=5120