I am having am335x based custom board. with 4.9.28 kernel on buildroot.
Right now we are migrating to yocto and build a custom image for Beagleboneblack which is based on am335x processor with 4.14.54 kernel.
I am trying to load yocto 4.15.54 kernel zimage on custom board with uboot. Now i am getting fallowing error.
U-Boot SPL 2013.10 (Apr 27 2018 - 10:48:10)
ALC enable_board_pin_mux
Init SDRAM using EEPROM Params
Could not probe the base board expander; something fundamentally wrong on the I2C bus
Could not probe the base board EEPROM; something fundamentally wrong on the I2C bus
reading u-boot.img
reading u-boot.img
U-Boot 2013.10 (Apr 27 2018 - 10:48:10)
I2C: ready
DRAM: 128 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Change rotary switches to 911 to enter Recovery Mode
i2c_read: error waiting for addr ACK (status=0x116)
Rotary Switch Setting is 1534
start delay
delay over
CAN1_TX gpio set to 1
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
mmc1(part 0) is current device
Saving Environment to MMC...
Writing to MMC(1)... done
** File not found /boot/zImage.4.14.54 **
--WARN: Cannot load the zImage.4.9.28--
Here is the printenv of the uboot.
printenv
ACTIVE_SLOT=ROOTFS_A
BOOT_A_LEFT=0
BOOT_B_LEFT=10
ROOTFS_A_VALID=NO
ROOTFS_B_VALID=YES
UPGRADE_STATE=0
actualslotA=actual_slot=ROOTFS_A
actualslotB=actual_slot=ROOTFS_B
arch=arm
baudrate=115200
board=pic6
board_name=pic6_alc
bootargs=console=ttyO0,115200n8 loginShell=allow earlyprintk user_debug=0 loginShell=allow rootflags=data=ordered,journal_checksum,cA
bootcmd=run mmc_boot
bootdelay=3
bootdir=/boot
bootfile=zImage.4.14.54
bootpart=1:5
check_boot_count=test -n "${ACTIVE_SLOT}" || setenv ACTIVE_SLOT ROOTFS_A; test -n "${BOOT_A_LEFT}" || setenv BOOT_A_LEFT 10; test -n
cpu=armv7
default_bootargs=console=ttyO0,115200n8 loginShell=allow earlyprintk user_debug=0 loginShell=allow rootflags=data=ordered,journal_cht
eth1addr=b0:d5:cc:4d:f3:f4
ethact=cpsw
ethaddr=b0:d5:cc:4d:f3:f2
fdtaddr=0x80F80000
fdtfile=pic6_4.9.28_j7_ccn_j10_modbus_j8_modbus.dtb
filesize=a031
loadaddr=0x80200000
loadfdt=if load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} ; then echo INFO: loaded ${fdtfile};else echo WARNING: loading defa;
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
mmc_boot=mmc dev 1; if mmc rescan;then run check_boot_count; run mmc_load_kernel_dtb; else echo mmc1 not found; fi
mmc_load_kernel_dtb=if run loadimage; then echo --loading zImage.4.9.28 done--;run mmcloados;else echo --WARN: Cannot load the zImag;
mmcboot=mmc dev 1; if mmc rescan; then echo SD/MMC found on device 1;if run loadimage; then run mmcloados;fi;fi;
mmcdev=1
mmcloados=if run loadfdt; then echo --loaded pic6 dtb done-- ; bootz 0x80200000 - 0x80F80000; else echo WARNING: Cannot load the pic;
rootpartA=root=/dev/mmcblk0p5
rootpartB=root=/dev/mmcblk0p10
serverip=192.168.7.2
soc=am33xx
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=b0:d5:cc:4d:f3:f4
vendor=ti
ver=U-Boot 2013.10 (Apr 27 2018 - 10:48:10)
Environment size: 3033/131067 bytes
I just changed the u-boot env variable loadaddr to 0x82000000. with this change i am getting same error image not found.