嵌入式开发者社区

标题: AM5728使用SD卡启动arm程序不成功 [打印本页]

作者: 随风吟    时间: 2018-9-6 16:21
标题: AM5728使用SD卡启动arm程序不成功
sd卡按操作格式化fat32模式、将sd_card_files里的MLO复制到SD卡,然后复制LED测试的app到sd卡,插到开发板上,将开发板的拨码开关置为01000,上电,串口打印信息如下,程序没有启动、而且led没有闪烁:
U-Boot 2016.05-g2cdaef6 (Nov 21 2017 - 09:04:05 +0800)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
I2C:   ready
DRAM:  1 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc1:1 **
Using default environment

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
** First descriptor is NOT a primary desc on 0:1 **
switch to partitions #0, OK
mmc0 is current device
** First descriptor is NOT a primary desc on 0:1 **
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
** First descriptor is NOT a primary desc on 0:1 **
switch to partitions #0, OK
mmc0 is current device
** First descriptor is NOT a primary desc on 0:1 **
SD/MMC found on device 0
** No partition table - mmc 0 **
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
** File not found /boot/zImage **


作者: czs----Tronlong    时间: 2018-9-6 21:08
您好,

        您用的是哪个开发板?操作的是哪个例程?我们AM5728平台目前是没有提供裸机例程的。
作者: 随风吟    时间: 2018-9-6 21:20
有的吧,我们用的是TL5728_EasyEVM那块开发板,你们发的资料中,有基于CCS的RTOS例程开发文档里面。里面有讲通过SD卡复制MLO文件以及app,来跑程序的。
作者: czs----Tronlong    时间: 2018-9-7 11:47
您好,这个案例在重新整理的资料中还未正式对外发布。
针对这个问题,您需要将sd_card_files里的MLO文件替换掉原来的MLO文件,我们这边测试正常,结果如下图:


作者: 随风吟    时间: 2018-9-7 12:12
你好,我是按手册中的操作,将sd_card_files里的mlo文件复制过去的。sd卡的东西应该都是正确的,但是还是没看到想看到的结果啊。打印出来的信息如前面所示,想问一下原因是什么?
作者: czs----Tronlong    时间: 2018-9-8 17:16
需要替换掉原来的MLO文件,从你的打印信息来看,并没有替换掉原来的MLO文件
作者: 随风吟    时间: 2018-9-13 10:13
czs----Tronlong 发表于 2018-9-8 17:16
需要替换掉原来的MLO文件,从你的打印信息来看,并没有替换掉原来的MLO文件 ...

我是按操作找的MLO文件呀。。能不能给我发一个正确的MLO文件




欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4