Tool/software: Linux
Hello,
I'd like to run SPI boot with AM335x GP-EVM without SD card slot because my target board doesn't have SD card slot. I'm using PSDK-Linux v4.0.0.
I built MLO.byteswap and u-boot.img using am335x_evm_spiboot_defconfig and wrote them to the SPI flash with StarterWare's SPI flash writer program.
http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Booting_And_Flashing#Booting_Via_SPI
It looks like u-boot is working fine, but I've failed to start Kernel. To writie Kernel to SPI flash and enter "run spiboot", it stops at "Starting kernel ...".
I guess some u-boot environment variables are not appropriate. 'spiimgsize' is 0x362000, but the zImage by TFTP is 0x36d548. What should I set for 'spiimgsize'?
Also, since 'spisrcaddr' is 0xe0000, is it for the following erase command better to enter {$spisrcaddr} instead of 80000?
http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide#Writing_to_SPI_from_U-Boot
I attached bootlog. Please give me some advice. I hope information about preparing dtb and targetfs to SPI flash too.
Regards,
Kazu
I hope information about dtb, targetfs too.