新购买了一套TMDXIDK5718,官网上下载了SDK,文件是ti-processor-sdk-android-am57xx-evm-04.02.00.09-Linux-x86-Install.bin, 然后通过statted guide(processors.wiki.ti.com/…/Processor_SDK_Android_Getting_Started_Guide)操作,一直未能成功。请各位帮忙看看是什么原因,谢谢!
第5步Run the Setup Script,串口信息如下:
zhubinbin@zhubinbin-VirtualBox:~/ti-processor-sdk-android-am57xx-evm-04.02.00.09$ sudo ./setup.sh
Just a simple wrapper over the fastboot.sh to set the appropriate paths.
——————————————————————————–"
This step will set up minicom (serial communication application) for
SDK development
For boards that contain a USB-to-Serial converter on the board such as:
* BeagleBone
* Beaglebone Black
* AM335x EVM-SK
* AM57xx EVM
* K2H, K2L, and K2E EVMs
the port used for minicom will be automatically detected. By default Ubuntu
will not recognize this device. Setup will add a udev rule to
/etc/udev/ so that from now on it will be recognized as soon as the board is
plugged in.
For other boards, the serial will defualt to /dev/ttyS0. Please update based
on your setup.
——————————————————————————–
NOTE: If your using any of the above boards simply hit enter
and the correct port will be determined automatically at a
later step. For all other boards select the serial port
that the board is connected to.
Which serial port do you want to use with minicom?
[ /dev/ttyUSB0 ]
Copied existing /home/zhubinbin/.minirc.dfl to /home/zhubinbin/.minirc.dfl.old
Configuration saved to /home/zhubinbin/.minirc.dfl. You can change it further from inside
minicom, see the Software Development Guide for more information.
——————————————————————————–
——————————————————————————–
This step will set up the u-boot variables for booting the EVM.
——————————————————————————–
——————————————————————————–
Would you like to create a minicom script to configure the board (y/n)?
[ y ] y
Successfully wrote /home/zhubinbin/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/setupBoard.minicom
Detecting connection to board… /dev/ttyUSB2
——————————————————————————–
Would you like to run the setup script now (y/n)?
Please connect the USB and USB/serial cables as described in the Quick Start
Guide. Once answering 'y' on the prompt below, you will have 300 seconds to
connect the board and power cycle it before the setup times out.
After successfully executing this script, your EVM will be set up. After power
cycling the board, you will be able to connect to it by executing 'minicom -w'
or by using the 'adb' utility. If you prefer a windows host, you can set up
Tera Term as explained in the Software Developer's Guide.
[ y ] y
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Jan 1 2014, 17:13:19.
Port /dev/ttyUSB2, 10:10:56
Press CTRL-A Z for help on special keys
U-Boot SPL 2016.05-g6f6aaabf5a (Dec 23 2017 – 13:14:49)
DRA722-GP ES2.0
Trying to boot from MMC1
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
no pinctrl for hs200_1_8v
reading args
spl_load_image_fat_os: error reading image args, err – -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g6f6aaabf5a (Dec 23 2017 – 13:14:49 -0500)
CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV 1.3B
DRAM: 1 GiB
MMC: mmc@4809c000: fail to find sdr104 mode FDT_ERR_NOTFOUND
no pinctrl for sdr104
mmc@4809c000: fail to find ddr50 mode FDT_ERR_NOTFOUND
no pinctrl for ddr50
mmc@4809c000: fail to find sdr50 mode FDT_ERR_NOTFOUND
no pinctrl for sdr50
mmc@4809c000: fail to find sdr25 mode FDT_ERR_NOTFOUND
no pinctrl for sdr25
mmc@4809c000: fail to find sdr12 mode FDT_ERR_NOTFOUND
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'
at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/arch/arm/cpu/
armv7/omap-common/utils.c:199/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices…
Found 0 device(s).
Net: eth0: ethernet@48484000
Hit any key to stop autobo 0
=>env default -f -a
## Resetting to default environment
=>setenv partitions ${partitions_android}
=>setenv bootpart 0:1
=>setenv rootpart 0:2
=>setenv bootdir
=>setenv devtype mmc
=>setenv finduuid 'part uuid ${devtype} ${rootpart} uuid'
=>setenv optargs ${bootargs}
=>setenv dofastboot 1
=>saveenv
Saving Environment to MMC…
Writing to MMC(1)… done
=>reset
resetting …
U-Boot SPL 2016.05-g6f6aaabf5a (Dec 23 2017 – 13:14:49)
DRA722-GP ES2.0
Trying to boot from MMC1
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
no pinctrl for hs200_1_8v
reading args
spl_load_image_fat_os: error reading image args, err – -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g6f6aaabf5a (Dec 23 2017 – 13:14:49 -0500)
CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV 1.3B
DRAM: 1 GiB
MMC: mmc@4809c000: fail to find sdr104 mode FDT_ERR_NOTFOUND
no pinctrl for sdr104
mmc@4809c000: fail to find ddr50 mode FDT_ERR_NOTFOUND
no pinctrl for ddr50
mmc@4809c000: fail to find sdr50 mode FDT_ERR_NOTFOUND
no pinctrl for sdr50
mmc@4809c000: fail to find sdr25 mode FDT_ERR_NOTFOUND
no pinctrl for sdr25
mmc@4809c000: fail to find sdr12 mode FDT_ERR_NOTFOUND
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'
at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/arch/arm/cpu/
armv7/omap-common/utils.c:199/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices…
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
Boot fastboot requested, resetting dofastboot …
Saving Environment to MMC…
Writing to redundant MMC(1)… done
Booting into fastboot …
/home/zhubinbin/ti-processor-sdk-android-am57xx-evm-04.02.00.09
You can manually run minicom in the future with this setup script using:
$ minicom -S /home/zhubinbin/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/setupBoard.minicom
——————————————————————————–
Fastboot: ./fastboot
Image location: /home/zhubinbin/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/
No device detected. Please ensure that fastboot is running on the target device
ti-processor-sdk-android-am57xx-evm-04.02.00.09-Linux-x86-Install.bin
Shine:
试试sudo ./fastboot.sh
user5295502:
回复 Shine:
谢谢支持!执行了 sudo ./fastboot.sh
打印如下:
zhubinbin@zhubinbin-VirtualBox:~/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin$ sudo ./fastboot.sh
Fastboot: ./fastboot
Image location: ./
No device detected. Please ensure that fastboot is running on the target device从之前串口的输出信息来看,fastboot也没有启动。
Shine:
回复 user5295502:
换个usb口试试。
user5295502:
谢谢支持! 试过了,没什么变化。
user5295502:
您帮忙看看SD中文件对不对,SD卡有两个分区。
Shine:
回复 user5295502:
感谢分享解决方法!