Other Parts Discussed in Thread: AM3358
Hi,
I am porting u-boot from 2016 to 2020 for my custom board based on AM3358. Now I am booting kernel 5.10 with my new u-boot 2020.01 version (emmc boot)but it was stopping at Starting Kernel and no logs are coming up. I am attaching my config file and include/configs/am335x.h files. Please refer and give me any suggestions.
Thanks & Regards,
Jyothi.
##These are needed to be compliant with Angstrom's 2013.06.20 u-boot.
loadaddr=0x82000000
fdtaddr=0x88000000
rdaddr=0x88080000
fdtfile=am335x-bonegreen-wireless-ml5.dtb
uSD_interface=0
uSD_rootfspart=2
backup_interface=1
backup_rootfspart=6
uname_r=5.10.153-gc384a4b071
cmdline=coherent_pool=1M cape_universal=enable
##These are needed to be compliant with Debian 2014-05-14 u-boot.
loadkern=\
if load mmc ${mmcinterface}:${rootfspart} ${loadaddr} /boot/zImage-${uname_r}; \
then #echo debug: [Kernel from partition - ${mmcinterface}:${rootfspart}]; \
else setenv mmcinterface ${backup_interface}; \
setenv rootfspart ${backup_rootfspart}; \
echo debug: [Kernel -NOT- found loading from - ${mmcinterface}:${rootfspart}]; \
load mmc ${mmcinterface}:${rootfspart} ${loadaddr} /boot/zImage-${uname_r}; \
fi
loadxfdt= \
if load mmc ${mmcinterface}:${rootfspart} ${fdtaddr} /boot/${fdtfile}; \
then \
echo debug: [DTB loaded from ${mmcinterface}:${rootfspart}]; \
else \
setenv mmcinterface ${backup_interface}; \
setenv rootfspart ${backup_rootfspart}; \
echo debug: [DTB -NOT- found, switching to - ${mmcinterface}:${rootfspart}]; \
echo debug :[reload kernel from other partition]; \
run loadximage; \
fi
check_dtb=if test -n ${dtb}; then setenv fdtfile ${dtb};fi
loadall=run check_dtb; run loadkern; run loadxfdt;
#mmcargs=setenv bootargs console=tty0 ${optargs} ${cape_disable} ${cape_enable} root=/dev/mmcblk${mmcinterface}p${linux_backup_rootfs} rootfstype=${mmcrootfstype} ${cmdline} panic=1 fsck.mode=force fsck.repair=yes
mmcargs=setenv bootargs console=ttyS0,115200n8 earlyprintk console=tty0 mem=256M ${optargs} ${cape_disable} ${cape_enable} cma=48M root=/dev/mmcblk${mmcinterface}p${linux_backup_rootfs} rootfstype=${mmcrootfstype} ${cmdline} panic=1
uenvcmd=if mmc dev 0; then \
echo debug [uSD]; \
setenv mmcinterface ${uSD_interface}; setenv rootfspart ${uSD_rootfspart}; \
setenv linux_backup_rootfs ${uSD_rootfspart}; \
fi; \
echo =---debug: About to boot from --- ${mmcinterface}p${rootfspart} -----====; \
run loadall; \
run mmcargs; \
bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr};
debug_envcmd=if mmc dev 0; then \
echo debug [uSD]; \
echo debug: [Fariya mmcinterface and linux_backuo_rootfs values are ${mmcinterface} ${uSD_rootfspart} ${linux_backup_rootfs}]; \
setenv mmcinterface ${uSD_interface}; setenv rootfspart ${uSD_rootfspart}; \
setenv linux_backup_rootfs ${uSD_rootfspart}; \
fi; \
echo =---debug: yes did it here. About to boot from --- ${mmcinterface}p${rootfspart} -----====; \
run loadall; \
echo Ran loadall here; \
run debugargs; \
bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr};