Clean install on armStoneMX8MP board

  • Hello everyone.


    I have an armStoneMX8MP board with an old version on Linux. I've checking the docs, but I can't find a (safe) way or guide to erase emmc and then install Linux using provided install.scr. Given that I'm not familirized with the command mmc erase, I'd link to know which steps I should follow to safe erase the mmc memory so install.scr can install the new Linux version.


    These are the parameters of my emmc installation.


    armStoneMX8MP # mmc list

    FSL_SDHC: 0 (eMMC)

    FSL_SDHC: 2


    armStoneMX8MP # mmc dev 0

    switch to partitions #0, OK

    mmc0(part 0) is current device


    armStoneMX8MP # mmc part

    Partition Map for MMC device 0 -- Partition Type: DOS

    Part Start Sector Num Sectors UUID Type

    1 16384 180224 f2102fb4-01 0c Boot

    2 196608 1483430 f2102fb4-02 83


    armStoneMX8MP # mmc info

    Device: FSL_SDHC

    Manufacturer ID: 15

    OEM: 100

    Name: 8GTF4

    Bus Speed: 52000000

    Mode: MMC High Speed (52MHz)

    Rd Block Len: 512

    MMC version 5.1

    High Capacity: Yes

    Capacity: 7.3 GiB

    Bus Width: 8-bit

    Erase Group Size: 512 KiB

    HC WP Group Size: 8 MiB

    User Capacity: 7.3 GiB WRREL

    Boot Capacity: 4 MiB ENH

    RPMB Capacity: 512 KiB ENH

    Boot area 0 is not write protected

    Boot area 1 is not write protected

    armStoneMX8MP #


    root@fsimx8mp:~# uname -a

    Linux fsimx8mp 5.15.71-F+S #1 SMP PREEMPT Fri Sep 1 08:07:36 UTC 2023 aarch64 GNU/Linux


    Thanks in advance.

  • Hi mlm ,


    Do you have your USB-Stick ready with the newest release (file: emmc-fsimx8mp.sysimg) and the install.scr?

    insert your usb-stick and just enter:
    => update.install


    this will overwrite the EMMC-User-Data with a new Image Layout including GPT-Table and all the new Partitions.

    A Erase of the MMC should not be necessary.

    I also would recommend to update U-Boot with the release version.

    If you realy want to erase the emmc to trigger the update with install.scr automatically, then you can erase the GPT-Table


    => mmc dev 0

    => mmc erase 0 0x40

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.