Other Parts Discussed in Thread: TPS65217, AM3517
Tool/software: Linux
I running the Kernel version 4.9.28 and uboot 2017.1 in the custom board which design is similar to beagle-bone black, kernel is not booting. U-boot is booting with some warnings, kindly check the logs stated below.
U-Boot SPL 2017.01-00319-g7752743-dirty (Sep 22 2017 - 10:28:50)
tps65217: Set UVLO
Trying to boot from MMC1
spl: falcon_args_file not set in environment, falling back to default
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
U-Boot 2017.01-00319-g7752743-dirty (Sep 22 2017 - 10:28:50 +0530)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 1:1 **
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Error: usb_ether address not set.
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
3051 bytes read in 154 ms (18.6 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
I tried running below commands to boot zimage:
=> run mmcboot
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
3051 bytes read in 154 ms (18.6 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
=> go 0x80200000
## Starting application at 0x80200000 ...
undefined instruction
pc : [<801ff000>] lr : [<80200004>]
reloc pc : [<60aac000>] lr : [<60aad004>]
sp : 9df32d78 ip : 0000001c fp : 00000002
r10: 9ffa0b58 r9 : 9df32ed8 r8 : 9df360c8
r7 : 9ff5450d r6 : 00000002 r5 : 80200000 r4 : 9df360cc
r3 : 80200000 r2 : 9df360cc r1 : 9df360cc r0 : 00000001
Flags: nzCv IRQs off FIQs on Mode SVC_32
Resetting CPU ...
resetting ...
=> printenv arch=arm baudrate=115200 board=htouch board_name=htouch boot_fdt=try bootargs=console=ttyO0,115200n8 vt.global_cursor_default=0 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait bootcmd=run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcboot;run nandboot; bootcount=1 bootdelay=2 bootdir=/boot bootenv=uEnv.txt bootfile=zImage bootpart=0:2 console=ttyO0,115200n8 cpu=armv7 devnum=0 devtype=mmc dfu_alt_info=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 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os-ima1 dfu_alt_info_emmc=rawemmc raw 0 3751936 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 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os1 dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000 ethact=cpsw ethaddr=d0:ff:50:0b:c7:51 fdt_high=0xffffffff fdtaddr=0x80F80000 fdtfile=htouch.dtb fileaddr=80200000 filesize=583e0 gatewayip=192.168.1.1 importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize ipaddr=192.168.1.101 loadaddr=0x80200000 loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv} loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile} loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype} mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Ru; mmcdev=0 mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot loa; mmcroot=/dev/mmcblk0p2 ro 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; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr} nfsopts=nolock optargs=vt.global_cursor_default=0 ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype} ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M ramrootfstype=ext2 rdaddr=0x81000000 rootpath=/export/rootfs serverip=192.168.1.100 soc=am33xx spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype} spibusno=0 spiimgsize=0x362000 spiroot=/dev/mtdblock4 rw spirootfstype=jffs2 spisrcaddr=0xe0000 static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off stderr=ns16550_serial stdin=ns16550_serial stdout=ns16550_serial usbnet_devaddr=d0:ff:50:0b:c7:51 vendor=hetronic ver=U-Boot 2017.01-00319-g7752743-dirty (Sep 22 2017 - 10:28:50 +0530) Environment size: 3426/131067 bytes