Other Parts Discussed in Thread: PMP
Tool/software: Linux
Hi,
We developed a custom board with AM5718 processor and using ti-processor-sdk-linux-am57xx-evm-05.02.00.10. I the process of flashing eMMC we have made it into 2 partitions and loaded customized kernal and dtb file, but when we tried to boot from eMMC it has entered into u-boot prompt without any interruption.
And in the below mentioned log we have also added print env for the eMMC, could you suggest us whether we have to bother about any parameters regarding eMMC printenv or is there any problem.
U-Boot SPL 2015.07-00080-g4523775-dirty (Feb 11 2017 - 11:54:05)
DRA722 ES1.0
U-Boot SPL 2015.07-00080-g4523775-dirty (Feb 11 2017 - 11:54:05)
DRA722 ES1.0
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
ti_i2c_eeprom_init failed 1
U-Boot 2015.07-00080-g4523775-dirty (Feb 11 2017 - 11:54:05 +0530)
CPU : DRA722 ES1.0
Board: AM571x II2C: ready
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
** Bad device mmc 0 **
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: <ethaddr> not set. Validating first E-fuse MAC
**********Auto Negotiation Available******cpsw
Hit any key to stop autoboot: 0
WARNING: Could not determine device tree to use
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
3811680 bytes read in 336 ms (10.8 MiB/s)
** File not found /boot/undefined **
Booting from mmc1 ...
Card did not respond to voltage select!
** Bad device mmc 0 **
Kernel image @ 0x82000000 [ 0x000000 - 0x3a2960 ]
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot#
U-Boot# printenv
arch=arm
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
board=am57xx
board_name=am57xx
bootargs=console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw mem=512M rootfstype=ext4 rootwait root=PARTUUID= rw rootfstype=ext4 rootwait
bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting in;
bootdelay=1
bootdir=/boot
bootenvfile=uEnv.txt
bootfile=zImage
bootm_size=0x10000000
bootpart=1:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw mem=512M rootfstype=ext4 rootwait
cpu=armv7
dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-1
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x1
dfu_alt_info_qspi=MLO raw 0x0 0x010000;MLO.backup1 raw 0x010000 0x010000;MLO.backup2 raw 0x020000 0x010000;MLO.backup3 raw 0x030000 0x010000;0
dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
dfu_bufsiz=0x10000
dofastboot=0
envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run l;
ethact=cpsw
ethaddr=5c:f8:21:3d:51:2a
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtfile=undefined
filesize=3a2960
findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.
finduuid=part uuid mmc 0:2 uuid
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr
loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run loadfdt; echo Booting from mm;
mmcdev=1
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4 rootwait
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
netloadfdt=tftp ${fdtaddr} ${fdtfile}
netloadimage=tftp ${loadaddr} ${bootfile}
nfsopts=nolock
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
ramdisk_addr_r=0x88080000
rdaddr=0x88080000
rootpath=/export/rootfs
scsidevs=0
soc=omap5
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usbtty=cdc_acm
vendor=ti
ver=U-Boot 2015.07-00080-g4523775-dirty (Feb 11 2017 - 11:54:05 +0530)
vram=16M
Environment size: 4630/65532 bytes
U-Boot#
Thanks.
P. Venkata Prasad.