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.

PROCESSOR-SDK-AM64X: u-boot changes to save environment values to root fs in eMMC

Part Number: PROCESSOR-SDK-AM64X

Hi, I have my TMDS64GPEVM set up with tiboot3.bin, tispl.bin and u-boot.img in OSPI and the Linux root fs in eMMC. The eMMC partiton is shown below:

mmc partitoin

I havent been able to update the environment values after flashing the eMMC with the Linux rfs.

I have looked around and found that the am64x_evm_a53_defconfig has CONFIG_ENV_IS_IN_FAT=y and CONFIG_ENV_FAT_DEVICE_AND_PART="1:1" enabled to save env values to FAT partition in SD card.

Since I am looking to save the env values in eMMC, I have commented out the same and added the following:

CONFIG_ENV_IS_IN_EXT4=y
CONFIG_ENV_EXT4_INTERFACE="mmc"
CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1"
CONFIG_ENV_EXT4_FILE="/boot/uEnv.txt"

But this throws the following error while trying to build u-boot:

aarch64-linux-gnu-ld.bfd: env/built-in.o: in function `env_export':
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/common.c:211: undefined reference to `hexport_r'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/common.c:211:(.text.env_export+0x38): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `hexport_r'
aarch64-linux-gnu-ld.bfd: env/built-in.o: in function `env_ext4_save':
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:65: undefined reference to `ext4fs_set_blk_dev'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:65:(.text.env_ext4_save+0x6c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_set_blk_dev'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:67: undefined reference to `ext4fs_mount'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:67:(.text.env_ext4_save+0x74): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_mount'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:73: undefined reference to `ext4fs_write'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:73:(.text.env_ext4_save+0xb0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_write'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:75: undefined reference to `ext4fs_close'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:75:(.text.env_ext4_save+0xb8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_close'
aarch64-linux-gnu-ld.bfd: env/built-in.o: in function `env_ext4_load':
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:110: undefined reference to `ext4fs_set_blk_dev'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:110:(.text.env_ext4_load+0x80): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_set_blk_dev'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:112: undefined reference to `ext4fs_mount'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:112:(.text.env_ext4_load+0x88): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_mount'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:118: undefined reference to `ext4_read_file'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:118:(.text.env_ext4_load+0xd4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4_read_file'
aarch64-linux-gnu-ld.bfd: /processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:120: undefined reference to `ext4fs_close'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/env/ext4.c:120:(.text.env_ext4_load+0xdc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ext4fs_close'
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/scripts/Makefile.spl:419: recipe for target 'spl/u-boot-spl' failed
make[2]: *** [spl/u-boot-spl] Error 1
/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/Makefile:1833: recipe for target 'spl/u-boot-spl' failed
make[1]: *** [spl/u-boot-spl] Error 2
make[1]: Leaving directory '/processor_sdk_linux_am64x_07_03_01_006/board-support/u-boot-2020.01+gitAUTOINC+e995ed0ec1-ge995ed0ec1/out/a53'
Makefile:167: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2

Any help is much appreciated Slight smile

  • There's an earlier e2e post on "saveenv" to eMMC on AM57xx device.
    e2e.ti.com/.../am5718-saveenv-error-when-booting-emmc
    Will you have a look at it to see if it helps on your setup?

  • Thank you for the reply

    I have already commented "CONFIG_ENV_IS_IN_FAT" in the am64x_evm_a53_defconfig file.

    Further more, just to check if that change alone works, I have removed the additional 4 entries that I have added for saving it in eMMC. This builds the u-boot without the "saveenv" command. I am guessing there might be some version changes between the two cases.

  • Hi Abin,
    I tested using SDK 7.3.0 on AM64x EVM, and I'm attaching the two log files for your reference:
    - am6_7.3.0_eMMC_booting.txt: booting from eMMC
    - am6_7.3.0_MMC_booting.txt: booting from MMC
    From two log files, it looks like "saveenv" is saving to eMMC.
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK

    Have you tried SDK 7.3.0?
    www.ti.com/.../07.03.00.02
    Best,
    -Hong

  • attaching two log files.

    U-Boot SPL 2020.01-g2781231a33 (Apr 08 2021 - 07:28:07 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC1
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
    NOTICE:  BL31: Built : 04:30:52, Apr  8 2021
    
    U-Boot SPL 2020.01-g2781231a33 (Apr 08 2021 - 04:42:14 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-g2781231a33 (Apr 08 2021 - 04:42:14 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK
    => 

    U-Boot SPL 2020.01-g2781231a33 (Apr 08 2021 - 07:28:07 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
    NOTICE:  BL31: Built : 04:30:52, Apr  8 2021
    
    U-Boot SPL 2020.01-g2781231a33 (Apr 08 2021 - 04:42:14 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-g2781231a33 (Apr 08 2021 - 04:42:14 +0000)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK
    => 

  • I am using the am64x_07.03.01.006 SDK. The v07.03.00.02 from the shared link is not getting downloaded. I am still able to download the v07.03.01.006 though.

    Could you kindly check if it works in the newer version ?

    Also could you share the changed defconfig so that I can check if I have missed anything ?

  • Hi Abin,
    I tested using SDK 7.3.1, and it seems there's difference on "saveenv" from SDK 7.3.0
    I made a quick change on SDK 7.3.1 (in attachment), and I'm attaching the two log files with the new changes:
    - am6_7.3.1_env_eMMC_booting.txt: booting from eMMC
    - am6_7.3.1_env_MMC_booting.txt: booting from MMC

    I'm checking with internal release team on your reported issue of downloading SDK 7.3.0, and will keep you posted.
    Best,
    -Hong

    diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x_evm_a53_defconfig
    index c35a280001..21a25f7b2a 100644
    --- a/configs/am64x_evm_a53_defconfig
    +++ b/configs/am64x_evm_a53_defconfig
    @@ -63,8 +63,7 @@ CONFIG_MULTI_DTB_FIT=y
     CONFIG_SPL_MULTI_DTB_FIT=y
     CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
     CONFIG_DEFAULT_DEVICE_TREE="k3-am642-evm"
    -CONFIG_ENV_IS_IN_FAT=y
    -CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
    +CONFIG_ENV_IS_IN_MMC=y
     CONFIG_NET_RANDOM_ETHADDR=y
     CONFIG_DM=y
     CONFIG_SPL_DM=y
    diff --git a/configs/am64x_evm_r5_defconfig b/configs/am64x_evm_r5_defconfig
    index 74a4ad82e0..2cccc9ca19 100644
    --- a/configs/am64x_evm_r5_defconfig
    +++ b/configs/am64x_evm_r5_defconfig
    @@ -64,7 +64,6 @@ CONFIG_OF_CONTROL=y
     CONFIG_SPL_OF_CONTROL=y
     CONFIG_DEFAULT_DEVICE_TREE="k3-am642-r5-evm"
     CONFIG_ENV_IS_IN_MMC=y
    -CONFIG_ENV_IS_NOWHERE=y
     CONFIG_SPL_MULTI_DTB_FIT=y
     CONFIG_SPL_OF_LIST="k3-am642-r5-evm k3-am642-r5-sk"
     CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
    

    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:43:11 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 13396 bytes
    Trying to boot from MMC1
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 14:41:43, May 28 2021
    
    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    not found for dev mux
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK
    => 

    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:43:11 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 13396 bytes
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 14:41:43, May 28 2021
    
    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    not found for dev mux
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK
    => 

  • Thanks . With these changes I was able to save the env in eMMC.

    Just to make things clear, could you share where the updated env gets stored ?

    With these changes (CONFIG_ENV_IS_IN_EXT4=y, CONFIG_ENV_EXT4_INTERFACE="mmc", CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1", CONFIG_ENV_EXT4_FILE="/boot/uEnv.txt") I was trying to instruct u-boot to change env and save to uEnv.txt in the /boot of the Linux partition. With the new u-boot changes I cant seem to find where this is saved in the eMMC.

  • Hi Abin,
    I'm attaching the log file I captured running the following u-boot cmds from eMMC booting using SDK 7.3.1 on AM64x EVM.

    pri vendor
    setenv vendor ti_test
    pri vendor
    saveenv
    reset
    pri vendor

    where "saveenv" cmd saves environment variables to eMMC boot0 partition starting @0x3400 (refer to "eMMC layout" in software-dl.ti.com/.../UG-Memory.html
    For testing purpose, reading u-boot environment variables using u-boot cmds is listed below (also in the attached log file):

    mmc dev 0 1
    mmc read ${loadaddr} 0x3400 0x100
    md.b ${loadaddr} 0xd00

    Best,

    -Hong

    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:43:11 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 13396 bytes
    Trying to boot from MMC1
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 14:41:43, May 28 2021
    
    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    not found for dev mux
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => pri vendor
    vendor=ti
    => setenv vendor ti_test
    => pri vendor
    vendor=ti_test
    => saveenv
    Saving Environment to MMC... Writing to MMC(0)... OK
    => reset
    resetting ...�
    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:43:11 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    SPL initial stack usage: 13396 bytes
    Trying to boot from MMC1
    Loading Environment from MMC... OK
    init_env from device 9 not supported!
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):2021.00.003-dirty
    NOTICE:  BL31: Built : 14:41:43, May 28 2021
    
    U-Boot SPL 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Trying to boot from MMC1
    
    
    U-Boot 2020.01-00016-ge995ed0ec1-dirty (Jul 01 2021 - 17:40:32 -0500)
    
    SoC:   AM64X SR1.0
    Model: Texas Instruments AM642 EVM
    Board: AM64-GPEVM rev E2
    DRAM:  2 GiB
    not found for dev mux
    MMC:   sdhci@fa10000: 0, sdhci@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000
    Hit any key to stop autoboot:  2  0 
    => pri vendor
    vendor=ti_test
    => pri
    arch=arm
    args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am64x
    board_name=am64x_gpevm
    board_rev=E2
    board_serial=0136
    board_software_revision=01
    boot=mmc
    boot_fdt=try
    bootcmd=run findfdt; run envboot; run init_${boot}; run get_kern_${boot}; run get_fdt_${boot}; run run_kern
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=1:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    cpu=armv8
    default_device_tree=k3-am642-evm.dtb
    dtboaddr=0x89000000
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=70:f1:0f:76:ff:0d
    eth2addr=70:f1:0f:76:ff:0e
    ethaddr=f4:84:4c:f9:59:eb
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fdef7918
    findfdt=setenv name_fdt ${default_device_tree};setenv fdtfile ${name_fdt}
    finduuid=part uuid mmc ${bootpart} uuid
    get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
    get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr};done;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_mmc=run args_all args_mmc
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados;fi;fi;fi;
    mmcdev=1
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    mtdids=nor0=fc40000.spi.0
    mtdparts=mtdparts=fc40000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern)
    name_kern=Image
    partitions=name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rd_spec=-
    rdaddr=0x88080000
    run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
    scriptaddr=0x80000000
    serial#=0000000000000136
    soc=k3
    stderr=serial@2800000
    stdin=serial@2800000
    stdout=serial@2800000
    vendor=ti_test
    
    Environment size: 3084/131068 bytes
    => mmc dev 0 1
    switch to partitions #1, OK
    mmc0(part 1) is current device
    => mmc read ${loadaddr} 0x3400 0x100
    
    MMC read: dev # 0, block # 13312, count 256 ... 256 blocks read: OK
    => md.b ${loadaddr} 0xd00
    82000000: 3f 63 28 ed 61 72 63 68 3d 61 72 6d 00 61 72 67    ?c(.arch=arm.arg
    82000010: 73 5f 61 6c 6c 3d 73 65 74 65 6e 76 20 6f 70 74    s_all=setenv opt
    82000020: 61 72 67 73 20 65 61 72 6c 79 63 6f 6e 3d 6e 73    args earlycon=ns
    82000030: 31 36 35 35 30 61 2c 6d 6d 69 6f 33 32 2c 30 78    16550a,mmio32,0x
    82000040: 30 32 38 30 30 30 30 30 20 24 7b 6d 74 64 70 61    02800000 ${mtdpa
    82000050: 72 74 73 7d 00 61 72 67 73 5f 6d 6d 63 3d 72 75    rts}.args_mmc=ru
    82000060: 6e 20 66 69 6e 64 75 75 69 64 3b 73 65 74 65 6e    n finduuid;seten
    82000070: 76 20 62 6f 6f 74 61 72 67 73 20 63 6f 6e 73 6f    v bootargs conso
    82000080: 6c 65 3d 24 7b 63 6f 6e 73 6f 6c 65 7d 20 24 7b    le=${console} ${
    82000090: 6f 70 74 61 72 67 73 7d 20 72 6f 6f 74 3d 50 41    optargs} root=PA
    820000a0: 52 54 55 55 49 44 3d 24 7b 75 75 69 64 7d 20 72    RTUUID=${uuid} r
    820000b0: 77 20 72 6f 6f 74 66 73 74 79 70 65 3d 24 7b 6d    w rootfstype=${m
    820000c0: 6d 63 72 6f 6f 74 66 73 74 79 70 65 7d 00 62 61    mcrootfstype}.ba
    820000d0: 75 64 72 61 74 65 3d 31 31 35 32 30 30 00 62 6f    udrate=115200.bo
    820000e0: 61 72 64 3d 61 6d 36 34 78 00 62 6f 61 72 64 5f    ard=am64x.board_
    820000f0: 6e 61 6d 65 3d 61 6d 36 34 78 5f 67 70 65 76 6d    name=am64x_gpevm
    82000100: 00 62 6f 61 72 64 5f 72 65 76 3d 45 32 00 62 6f    .board_rev=E2.bo
    82000110: 61 72 64 5f 73 65 72 69 61 6c 3d 30 31 33 36 00    ard_serial=0136.
    82000120: 62 6f 61 72 64 5f 73 6f 66 74 77 61 72 65 5f 72    board_software_r
    82000130: 65 76 69 73 69 6f 6e 3d 30 31 00 62 6f 6f 74 3d    evision=01.boot=
    82000140: 6d 6d 63 00 62 6f 6f 74 5f 66 64 74 3d 74 72 79    mmc.boot_fdt=try
    82000150: 00 62 6f 6f 74 63 6d 64 3d 72 75 6e 20 66 69 6e    .bootcmd=run fin
    82000160: 64 66 64 74 3b 20 72 75 6e 20 65 6e 76 62 6f 6f    dfdt; run envboo
    82000170: 74 3b 20 72 75 6e 20 69 6e 69 74 5f 24 7b 62 6f    t; run init_${bo
    82000180: 6f 74 7d 3b 20 72 75 6e 20 67 65 74 5f 6b 65 72    ot}; run get_ker
    82000190: 6e 5f 24 7b 62 6f 6f 74 7d 3b 20 72 75 6e 20 67    n_${boot}; run g
    820001a0: 65 74 5f 66 64 74 5f 24 7b 62 6f 6f 74 7d 3b 20    et_fdt_${boot}; 
    820001b0: 72 75 6e 20 72 75 6e 5f 6b 65 72 6e 00 62 6f 6f    run run_kern.boo
    820001c0: 74 64 65 6c 61 79 3d 32 00 62 6f 6f 74 64 69 72    tdelay=2.bootdir
    820001d0: 3d 2f 62 6f 6f 74 00 62 6f 6f 74 65 6e 76 66 69    =/boot.bootenvfi
    820001e0: 6c 65 3d 75 45 6e 76 2e 74 78 74 00 62 6f 6f 74    le=uEnv.txt.boot
    820001f0: 6d 5f 73 69 7a 65 3d 30 78 31 30 30 30 30 30 30    m_size=0x1000000
    82000200: 30 00 62 6f 6f 74 70 61 72 74 3d 31 3a 32 00 62    0.bootpart=1:2.b
    82000210: 6f 6f 74 73 63 72 69 70 74 3d 65 63 68 6f 20 52    ootscript=echo R
    82000220: 75 6e 6e 69 6e 67 20 62 6f 6f 74 73 63 72 69 70    unning bootscrip
    82000230: 74 20 66 72 6f 6d 20 6d 6d 63 24 7b 6d 6d 63 64    t from mmc${mmcd
    82000240: 65 76 7d 20 2e 2e 2e 3b 20 73 6f 75 72 63 65 20    ev} ...; source 
    82000250: 24 7b 6c 6f 61 64 61 64 64 72 7d 00 63 6f 6e 73    ${loadaddr}.cons
    82000260: 6f 6c 65 3d 74 74 79 53 32 2c 31 31 35 32 30 30    ole=ttyS2,115200
    82000270: 6e 38 00 63 70 75 3d 61 72 6d 76 38 00 64 65 66    n8.cpu=armv8.def
    82000280: 61 75 6c 74 5f 64 65 76 69 63 65 5f 74 72 65 65    ault_device_tree
    82000290: 3d 6b 33 2d 61 6d 36 34 32 2d 65 76 6d 2e 64 74    =k3-am642-evm.dt
    820002a0: 62 00 64 74 62 6f 61 64 64 72 3d 30 78 38 39 30    b.dtboaddr=0x890
    820002b0: 30 30 30 30 30 00 65 6e 76 62 6f 6f 74 3d 6d 6d    00000.envboot=mm
    820002c0: 63 20 64 65 76 20 24 7b 6d 6d 63 64 65 76 7d 3b    c dev ${mmcdev};
    820002d0: 20 69 66 20 6d 6d 63 20 72 65 73 63 61 6e 3b 20     if mmc rescan; 
    820002e0: 74 68 65 6e 20 65 63 68 6f 20 53 44 2f 4d 4d 43    then echo SD/MMC
    820002f0: 20 66 6f 75 6e 64 20 6f 6e 20 64 65 76 69 63 65     found on device
    82000300: 20 24 7b 6d 6d 63 64 65 76 7d 3b 69 66 20 72 75     ${mmcdev};if ru
    82000310: 6e 20 6c 6f 61 64 62 6f 6f 74 73 63 72 69 70 74    n loadbootscript
    82000320: 3b 20 74 68 65 6e 20 72 75 6e 20 62 6f 6f 74 73    ; then run boots
    82000330: 63 72 69 70 74 3b 65 6c 73 65 20 69 66 20 72 75    cript;else if ru
    82000340: 6e 20 6c 6f 61 64 62 6f 6f 74 65 6e 76 3b 20 74    n loadbootenv; t
    82000350: 68 65 6e 20 65 63 68 6f 20 4c 6f 61 64 65 64 20    hen echo Loaded 
    82000360: 65 6e 76 20 66 72 6f 6d 20 24 7b 62 6f 6f 74 65    env from ${boote
    82000370: 6e 76 66 69 6c 65 7d 3b 72 75 6e 20 69 6d 70 6f    nvfile};run impo
    82000380: 72 74 62 6f 6f 74 65 6e 76 3b 66 69 3b 69 66 20    rtbootenv;fi;if 
    82000390: 74 65 73 74 20 2d 6e 20 24 75 65 6e 76 63 6d 64    test -n $uenvcmd
    820003a0: 3b 20 74 68 65 6e 20 65 63 68 6f 20 52 75 6e 6e    ; then echo Runn
    820003b0: 69 6e 67 20 75 65 6e 76 63 6d 64 20 2e 2e 2e 3b    ing uenvcmd ...;
    820003c0: 72 75 6e 20 75 65 6e 76 63 6d 64 3b 66 69 3b 66    run uenvcmd;fi;f
    820003d0: 69 3b 66 69 3b 00 65 74 68 31 61 64 64 72 3d 37    i;fi;.eth1addr=7
    820003e0: 30 3a 66 31 3a 30 66 3a 37 36 3a 66 66 3a 30 64    0:f1:0f:76:ff:0d
    820003f0: 00 65 74 68 32 61 64 64 72 3d 37 30 3a 66 31 3a    .eth2addr=70:f1:
    82000400: 30 66 3a 37 36 3a 66 66 3a 30 65 00 65 74 68 61    0f:76:ff:0e.etha
    82000410: 64 64 72 3d 66 34 3a 38 34 3a 34 63 3a 66 39 3a    ddr=f4:84:4c:f9:
    82000420: 35 39 3a 65 62 00 66 64 74 5f 61 64 64 72 5f 72    59:eb.fdt_addr_r
    82000430: 3d 30 78 38 38 30 30 30 30 30 30 00 66 64 74 61    =0x88000000.fdta
    82000440: 64 64 72 3d 30 78 38 38 30 30 30 30 30 30 00 66    ddr=0x88000000.f
    82000450: 64 74 63 6f 6e 74 72 6f 6c 61 64 64 72 3d 66 64    dtcontroladdr=fd
    82000460: 65 66 37 39 31 38 00 66 69 6e 64 66 64 74 3d 73    ef7918.findfdt=s
    82000470: 65 74 65 6e 76 20 6e 61 6d 65 5f 66 64 74 20 24    etenv name_fdt $
    82000480: 7b 64 65 66 61 75 6c 74 5f 64 65 76 69 63 65 5f    {default_device_
    82000490: 74 72 65 65 7d 3b 73 65 74 65 6e 76 20 66 64 74    tree};setenv fdt
    820004a0: 66 69 6c 65 20 24 7b 6e 61 6d 65 5f 66 64 74 7d    file ${name_fdt}
    820004b0: 00 66 69 6e 64 75 75 69 64 3d 70 61 72 74 20 75    .finduuid=part u
    820004c0: 75 69 64 20 6d 6d 63 20 24 7b 62 6f 6f 74 70 61    uid mmc ${bootpa
    820004d0: 72 74 7d 20 75 75 69 64 00 67 65 74 5f 66 64 74    rt} uuid.get_fdt
    820004e0: 5f 6d 6d 63 3d 6c 6f 61 64 20 6d 6d 63 20 24 7b    _mmc=load mmc ${
    820004f0: 62 6f 6f 74 70 61 72 74 7d 20 24 7b 66 64 74 61    bootpart} ${fdta
    82000500: 64 64 72 7d 20 24 7b 62 6f 6f 74 64 69 72 7d 2f    ddr} ${bootdir}/
    82000510: 24 7b 6e 61 6d 65 5f 66 64 74 7d 00 67 65 74 5f    ${name_fdt}.get_
    82000520: 66 69 74 5f 6d 6d 63 3d 6c 6f 61 64 20 6d 6d 63    fit_mmc=load mmc
    82000530: 20 24 7b 62 6f 6f 74 70 61 72 74 7d 20 24 7b 61     ${bootpart} ${a
    82000540: 64 64 72 5f 66 69 74 7d 20 24 7b 62 6f 6f 74 64    ddr_fit} ${bootd
    82000550: 69 72 7d 2f 24 7b 6e 61 6d 65 5f 66 69 74 7d 00    ir}/${name_fit}.
    82000560: 67 65 74 5f 6b 65 72 6e 5f 6d 6d 63 3d 6c 6f 61    get_kern_mmc=loa
    82000570: 64 20 6d 6d 63 20 24 7b 62 6f 6f 74 70 61 72 74    d mmc ${bootpart
    82000580: 7d 20 24 7b 6c 6f 61 64 61 64 64 72 7d 20 24 7b    } ${loadaddr} ${
    82000590: 62 6f 6f 74 64 69 72 7d 2f 24 7b 6e 61 6d 65 5f    bootdir}/${name_
    820005a0: 6b 65 72 6e 7d 00 67 65 74 5f 6f 76 65 72 6c 61    kern}.get_overla
    820005b0: 79 5f 6d 6d 63 3d 66 64 74 20 61 64 64 72 65 73    y_mmc=fdt addres
    820005c0: 73 20 24 7b 66 64 74 61 64 64 72 7d 3b 66 64 74    s ${fdtaddr};fdt
    820005d0: 20 72 65 73 69 7a 65 20 30 78 31 30 30 30 30 30     resize 0x100000
    820005e0: 3b 66 6f 72 20 6f 76 65 72 6c 61 79 20 69 6e 20    ;for overlay in 
    820005f0: 24 6e 61 6d 65 5f 6f 76 65 72 6c 61 79 73 3b 64    $name_overlays;d
    82000600: 6f 3b 6c 6f 61 64 20 6d 6d 63 20 24 7b 62 6f 6f    o;load mmc ${boo
    82000610: 74 70 61 72 74 7d 20 24 7b 64 74 62 6f 61 64 64    tpart} ${dtboadd
    82000620: 72 7d 20 24 7b 62 6f 6f 74 64 69 72 7d 2f 24 7b    r} ${bootdir}/${
    82000630: 6f 76 65 72 6c 61 79 7d 20 26 26 20 66 64 74 20    overlay} && fdt 
    82000640: 61 70 70 6c 79 20 24 7b 64 74 62 6f 61 64 64 72    apply ${dtboaddr
    82000650: 7d 3b 64 6f 6e 65 3b 00 69 6d 70 6f 72 74 62 6f    };done;.importbo
    82000660: 6f 74 65 6e 76 3d 65 63 68 6f 20 49 6d 70 6f 72    otenv=echo Impor
    82000670: 74 69 6e 67 20 65 6e 76 69 72 6f 6e 6d 65 6e 74    ting environment
    82000680: 20 66 72 6f 6d 20 6d 6d 63 24 7b 6d 6d 63 64 65     from mmc${mmcde
    82000690: 76 7d 20 2e 2e 2e 3b 20 65 6e 76 20 69 6d 70 6f    v} ...; env impo
    820006a0: 72 74 20 2d 74 20 24 7b 6c 6f 61 64 61 64 64 72    rt -t ${loadaddr
    820006b0: 7d 20 24 7b 66 69 6c 65 73 69 7a 65 7d 00 69 6e    } ${filesize}.in
    820006c0: 69 74 5f 6d 6d 63 3d 72 75 6e 20 61 72 67 73 5f    it_mmc=run args_
    820006d0: 61 6c 6c 20 61 72 67 73 5f 6d 6d 63 00 6b 65 72    all args_mmc.ker
    820006e0: 6e 65 6c 5f 61 64 64 72 5f 72 3d 30 78 38 32 30    nel_addr_r=0x820
    820006f0: 30 30 30 30 30 00 6c 6f 61 64 61 64 64 72 3d 30    00000.loadaddr=0
    82000700: 78 38 32 30 30 30 30 30 30 00 6c 6f 61 64 62 6f    x82000000.loadbo
    82000710: 6f 74 65 6e 76 3d 66 61 74 6c 6f 61 64 20 6d 6d    otenv=fatload mm
    82000720: 63 20 24 7b 6d 6d 63 64 65 76 7d 20 24 7b 6c 6f    c ${mmcdev} ${lo
    82000730: 61 64 61 64 64 72 7d 20 24 7b 62 6f 6f 74 65 6e    adaddr} ${booten
    82000740: 76 66 69 6c 65 7d 00 6c 6f 61 64 62 6f 6f 74 73    vfile}.loadboots
    82000750: 63 72 69 70 74 3d 6c 6f 61 64 20 6d 6d 63 20 24    cript=load mmc $
    82000760: 7b 6d 6d 63 64 65 76 7d 20 24 7b 6c 6f 61 64 61    {mmcdev} ${loada
    82000770: 64 64 72 7d 20 62 6f 6f 74 2e 73 63 72 00 6c 6f    ddr} boot.scr.lo
    82000780: 61 64 66 64 74 3d 6c 6f 61 64 20 24 7b 64 65 76    adfdt=load ${dev
    82000790: 74 79 70 65 7d 20 24 7b 62 6f 6f 74 70 61 72 74    type} ${bootpart
    820007a0: 7d 20 24 7b 66 64 74 61 64 64 72 7d 20 24 7b 62    } ${fdtaddr} ${b
    820007b0: 6f 6f 74 64 69 72 7d 2f 24 7b 66 64 74 66 69 6c    ootdir}/${fdtfil
    820007c0: 65 7d 00 6c 6f 61 64 69 6d 61 67 65 3d 6c 6f 61    e}.loadimage=loa
    820007d0: 64 20 24 7b 64 65 76 74 79 70 65 7d 20 24 7b 62    d ${devtype} ${b
    820007e0: 6f 6f 74 70 61 72 74 7d 20 24 7b 6c 6f 61 64 61    ootpart} ${loada
    820007f0: 64 64 72 7d 20 24 7b 62 6f 6f 74 64 69 72 7d 2f    ddr} ${bootdir}/
    82000800: 24 7b 62 6f 6f 74 66 69 6c 65 7d 00 6d 6d 63 62    ${bootfile}.mmcb
    82000810: 6f 6f 74 3d 6d 6d 63 20 64 65 76 20 24 7b 6d 6d    oot=mmc dev ${mm
    82000820: 63 64 65 76 7d 3b 20 64 65 76 6e 75 6d 3d 24 7b    cdev}; devnum=${
    82000830: 6d 6d 63 64 65 76 7d 3b 20 73 65 74 65 6e 76 20    mmcdev}; setenv 
    82000840: 64 65 76 74 79 70 65 20 6d 6d 63 3b 20 69 66 20    devtype mmc; if 
    82000850: 6d 6d 63 20 72 65 73 63 61 6e 3b 20 74 68 65 6e    mmc rescan; then
    82000860: 20 65 63 68 6f 20 53 44 2f 4d 4d 43 20 66 6f 75     echo SD/MMC fou
    82000870: 6e 64 20 6f 6e 20 64 65 76 69 63 65 20 24 7b 6d    nd on device ${m
    82000880: 6d 63 64 65 76 7d 3b 69 66 20 72 75 6e 20 6c 6f    mcdev};if run lo
    82000890: 61 64 69 6d 61 67 65 3b 20 74 68 65 6e 20 72 75    adimage; then ru
    820008a0: 6e 20 61 72 67 73 5f 6d 6d 63 3b 20 69 66 20 74    n args_mmc; if t
    820008b0: 65 73 74 20 24 7b 62 6f 6f 74 5f 66 69 74 7d 20    est ${boot_fit} 
    820008c0: 2d 65 71 20 31 3b 20 74 68 65 6e 20 72 75 6e 20    -eq 1; then run 
    820008d0: 72 75 6e 5f 66 69 74 3b 20 65 6c 73 65 20 72 75    run_fit; else ru
    820008e0: 6e 20 6d 6d 63 6c 6f 61 64 6f 73 3b 66 69 3b 66    n mmcloados;fi;f
    820008f0: 69 3b 66 69 3b 00 6d 6d 63 64 65 76 3d 31 00 6d    i;fi;.mmcdev=1.m
    82000900: 6d 63 6c 6f 61 64 6f 73 3d 69 66 20 74 65 73 74    mcloados=if test
    82000910: 20 24 7b 62 6f 6f 74 5f 66 64 74 7d 20 3d 20 79     ${boot_fdt} = y
    82000920: 65 73 20 7c 7c 20 74 65 73 74 20 24 7b 62 6f 6f    es || test ${boo
    82000930: 74 5f 66 64 74 7d 20 3d 20 74 72 79 3b 20 74 68    t_fdt} = try; th
    82000940: 65 6e 20 69 66 20 72 75 6e 20 6c 6f 61 64 66 64    en if run loadfd
    82000950: 74 3b 20 74 68 65 6e 20 62 6f 6f 74 7a 20 24 7b    t; then bootz ${
    82000960: 6c 6f 61 64 61 64 64 72 7d 20 2d 20 24 7b 66 64    loadaddr} - ${fd
    82000970: 74 61 64 64 72 7d 3b 20 65 6c 73 65 20 69 66 20    taddr}; else if 
    82000980: 74 65 73 74 20 24 7b 62 6f 6f 74 5f 66 64 74 7d    test ${boot_fdt}
    82000990: 20 3d 20 74 72 79 3b 20 74 68 65 6e 20 62 6f 6f     = try; then boo
    820009a0: 74 7a 3b 20 65 6c 73 65 20 65 63 68 6f 20 57 41    tz; else echo WA
    820009b0: 52 4e 3a 20 43 61 6e 6e 6f 74 20 6c 6f 61 64 20    RN: Cannot load 
    820009c0: 74 68 65 20 44 54 3b 20 66 69 3b 20 66 69 3b 20    the DT; fi; fi; 
    820009d0: 65 6c 73 65 20 62 6f 6f 74 7a 3b 20 66 69 3b 00    else bootz; fi;.
    820009e0: 6d 6d 63 72 6f 6f 74 66 73 74 79 70 65 3d 65 78    mmcrootfstype=ex
    820009f0: 74 34 20 72 6f 6f 74 77 61 69 74 00 6d 74 64 69    t4 rootwait.mtdi
    82000a00: 64 73 3d 6e 6f 72 30 3d 66 63 34 30 30 30 30 2e    ds=nor0=fc40000.
    82000a10: 73 70 69 2e 30 00 6d 74 64 70 61 72 74 73 3d 6d    spi.0.mtdparts=m
    82000a20: 74 64 70 61 72 74 73 3d 66 63 34 30 30 30 30 2e    tdparts=fc40000.
    82000a30: 73 70 69 2e 30 3a 35 31 32 6b 28 6f 73 70 69 2e    spi.0:512k(ospi.
    82000a40: 74 69 62 6f 6f 74 33 29 2c 32 6d 28 6f 73 70 69    tiboot3),2m(ospi
    82000a50: 2e 74 69 73 70 6c 29 2c 34 6d 28 6f 73 70 69 2e    .tispl),4m(ospi.
    82000a60: 75 2d 62 6f 6f 74 29 2c 32 35 36 6b 28 6f 73 70    u-boot),256k(osp
    82000a70: 69 2e 65 6e 76 29 2c 32 35 36 6b 28 6f 73 70 69    i.env),256k(ospi
    82000a80: 2e 65 6e 76 2e 62 61 63 6b 75 70 29 2c 35 37 30    .env.backup),570
    82000a90: 38 38 6b 40 38 6d 28 6f 73 70 69 2e 72 6f 6f 74    88k@8m(ospi.root
    82000aa0: 66 73 29 2c 32 35 36 6b 28 6f 73 70 69 2e 70 68    fs),256k(ospi.ph
    82000ab0: 79 70 61 74 74 65 72 6e 29 00 6e 61 6d 65 5f 6b    ypattern).name_k
    82000ac0: 65 72 6e 3d 49 6d 61 67 65 00 70 61 72 74 69 74    ern=Image.partit
    82000ad0: 69 6f 6e 73 3d 6e 61 6d 65 3d 72 6f 6f 74 66 73    ions=name=rootfs
    82000ae0: 2c 73 74 61 72 74 3d 30 2c 73 69 7a 65 3d 2d 2c    ,start=0,size=-,
    82000af0: 75 75 69 64 3d 24 7b 75 75 69 64 5f 67 70 74 5f    uuid=${uuid_gpt_
    82000b00: 72 6f 6f 74 66 73 7d 00 70 78 65 66 69 6c 65 5f    rootfs}.pxefile_
    82000b10: 61 64 64 72 5f 72 3d 30 78 38 30 31 30 30 30 30    addr_r=0x8010000
    82000b20: 30 00 72 61 6d 64 69 73 6b 5f 61 64 64 72 5f 72    0.ramdisk_addr_r
    82000b30: 3d 30 78 38 38 30 38 30 30 30 30 00 72 64 5f 73    =0x88080000.rd_s
    82000b40: 70 65 63 3d 2d 00 72 64 61 64 64 72 3d 30 78 38    pec=-.rdaddr=0x8
    82000b50: 38 30 38 30 30 30 30 00 72 75 6e 5f 6b 65 72 6e    8080000.run_kern
    82000b60: 3d 62 6f 6f 74 69 20 24 7b 6c 6f 61 64 61 64 64    =booti ${loadadd
    82000b70: 72 7d 20 24 7b 72 64 5f 73 70 65 63 7d 20 24 7b    r} ${rd_spec} ${
    82000b80: 66 64 74 61 64 64 72 7d 00 73 63 72 69 70 74 61    fdtaddr}.scripta
    82000b90: 64 64 72 3d 30 78 38 30 30 30 30 30 30 30 00 73    ddr=0x80000000.s
    82000ba0: 65 72 69 61 6c 23 3d 30 30 30 30 30 30 30 30 30    erial#=000000000
    82000bb0: 30 30 30 30 31 33 36 00 73 6f 63 3d 6b 33 00 73    0000136.soc=k3.s
    82000bc0: 74 64 65 72 72 3d 73 65 72 69 61 6c 40 32 38 30    tderr=serial@280
    82000bd0: 30 30 30 30 00 73 74 64 69 6e 3d 73 65 72 69 61    0000.stdin=seria
    82000be0: 6c 40 32 38 30 30 30 30 30 00 73 74 64 6f 75 74    l@2800000.stdout
    82000bf0: 3d 73 65 72 69 61 6c 40 32 38 30 30 30 30 30 00    =serial@2800000.
    82000c00: 76 65 6e 64 6f 72 3d 74 69 5f 74 65 73 74 00 00    vendor=ti_test..
    82000c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000c90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000ca0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000cb0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000cc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000cd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000ce0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    82000cf0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    => 

  • Thanks for the update .

    I will update the thread as resolved. Thanks for the support Slight smile