Hi Yiping,
Still no luck. it just hand after loading device tree.
=> printenv
bootcmd=run bootcmd${bootsource}
bootdelay=3
baudrate=115200
loads_echo=1
autoload=no
rootpath=/opt/nfsroot
loadaddr=1000000
setbootargs=setenv bootargs console=ttyS0,${baudrate}
bootcmdprd=watchdog 0; bootp; tftpboot ${loadaddr} t5310-bringup.multi; run setbootargs; bootm ${loadaddr}
disable_nand=yes
initrd_high=20000000
reset_unknown=1
watchdogboot=30
watchdogos=110
disable_rollback=0
stop_posterr=0
rootfs_loadaddr=8000000
test_and_recover=if test ${disable_rollback} = 0; then run recover_flash; fi
check_images=vpdget SERIAL && imcksum e1580000 $rootfs_loadaddr ROOTFS_SIZE ROOTFS_CKSUM && imcksum e0180000 ${loadaddr} OS_SIZE OS_CKSUM
recover_flash=echo Recovering flash ; imgselect.s swap ; reset
bootcmdrecover=run recover_flash
bootcmdflash=echo Booting from flash... ; run check_images && watchdog ${watchdogos} both && boothv ${loadaddr}; run test_and_recover
bootcmddiag=imcksum e4380000 $loadaddr DIAG_SIZE DIAG_CKSUM && watchdog ${watchdogos} && run setbootargs && bootm ${loadaddr}; run test_and_recover
bootcmdnet=watchdog ${watchdogos}; bootp && tftpboot ${loadaddr} ${bootfile} && run setbootargs && bootm ${loadaddr}
stoponposterr=test ${postresult} = 0 || test ${stop_posterr} = 0
early_cmd=watchdog ${watchdogboot}; run stoponposterr
bootsource=flash
clear_env=protect off all; erase e0100000 +40000
clear_config=protect off all; erase e6b80000 +1400000
uboot_flash_update=protect off all && erase e0000000 +80000 && cp.b ${fileaddr} e0000000 ${filesize}
ethaddr=00:A0:A5:81:6F:22
serial#=9009187384
hvbootargs0=linux0:console=ttyS0,${baudrate} macaddr=${ethaddr}
hvbootargs1=linux1:console=ttyS0,${baudrate} macaddr=${ethaddr}
hvbootargs=baudrate=${baudrate}
filesize=327111
fileaddr=1000000
ipaddr=192.168.10.120
serverip=192.168.10.1
eth1addr=00:A0:A5:81:6F:23
eth2addr=00:A0:A5:81:6F:24
stdin=serial
stdout=serial
stderr=serial
ethact=eTSEC1
postresult=0
ramboot=setenv bootargs root=/dev/ram rw console=ttyS0,115200 ramdisk_size=1000000;tftp 0x4000000 rootfs.ext2.gz.u-boot;tftp 0x1000000 uImage;tftp 0x3000000 kontron.dtb;bootm 0x1000000 0x4000000 0x3000000
Environment size: 2088/16379 bytes
=> run ramboot
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.120
Filename 'rootfs.ext2.gz.u-boot'.
Load address: 0x4000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############################################
done
Bytes transferred = 9224384 (8cc0c0 hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.120
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
###############################
done
Bytes transferred = 3305745 (327111 hex)
Speed: 100, full duplex
Using eTSEC1 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.120
Filename 'kontron.dtb'.
Load address: 0x3000000
Loading: #
done
Bytes transferred = 8128 (1fc0 hex)
WARNING: adjusting available memory to 30000000
## Booting kernel at 01000000 ...
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 04000000 ...
Image Name: P2020 Ramdisk
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 9224320 Bytes = 8.8 MB
Load Address: 04000000
Entry Point: 04000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 03000000
Booting using the fdt blob at 0x3000000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 1f733000, end 1ffff080 ... OK
Loading Device Tree to 00ffb000, end 00ffffbf ... OK