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.

关于最新版SDK PROCESSOR-SDK-LINUX-AM335X 04_00_00_04的去掉EEPROM的问题

Other Parts Discussed in Thread: AM3354, TPS65217

背景是我们公司要开发一个基于AM3354的控制系统芯片是ZCZ100,目前我们用的是PROCESSOR-SDK-LINUX-AM335X  04_00_00_04的SDK进行修改,并且应用到系统中。目前我想要让SDK的程序跑到自己的板子上,因为我的板卡本身没有使用哪个EEPROM作为板卡的Board ID.我采用的方式是,利用SDK的镜像直接烧写SD卡,然后我编译完新的MLO 和u-boot.img 替换原来镜像的文件。然后uboot做了简单更改如下:

原函数:

static inline int board_is_bone_lt(void)

{

return board_ti_is("A335BNLT");

}
更改后:

static inline int board_is_bone_lt(void)
{
//return board_ti_is("A335BNLT");
board_ti_is("A335BNLT");
return 1;
}
然后烧写进SD卡,运行如下:

U-Boot SPL 2017.01-00319-g7752743-dirty (Sep 20 2017 - 05:59:58)
version yuye 1.01-------------------------------
testapp2-------------------------------
testapp3-------------------------------
TPS65217_CHIP_PM start-------------------------------------------
TPS65217_CHIP_PM-------------------------------------------
mpu_clk_____________________OK
mpu_clk_____________________OK1
mpu_clk_____________________OK5
Trying to boot from MMC1
reading uboot.env

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

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01-00319-g7752743-dirty (Sep 20 2017 - 05:59:58 -0700)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

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

<ethaddr> not set. Validating first E-fuse MAC
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3589776 bytes read in 365 ms (9.4 MiB/s)
39304 bytes read in 57 ms (672.9 KiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8fff3000, end 8ffff987 ... OK


Starting kernel ...

然后就停止在这里了,我目前用的测试板卡硬件是beagleboneblack,然后把EEPROM焊掉。如果焊回来可以正常启动,但是去掉的话每次都会停在这里。也测试了BOOTM等先关函数没有发现什么异常。请大神帮忙分析一下。