Part Number: TMDSIDK574
Other Parts Discussed in Thread: AM5746, AM5748
Tool/software: TI C/C++ Compiler
Hello.
I want to perform SPIBoot with TMDSIDK574, but a kernel panic message is displayed during booting and booting does not complete.
Reference materials
downloads.ti.com/.../Foundational_Components_Kernel_Drivers.html
downloads.ti.com/.../Foundational_Components_U-Boot.html
procedure
1. SD boot execution
2. Write zImage file to mtd5
flash_erase /dev/mtd5 0 0
dd if=/boot/zImage of=/dev/mtd5
3.Write am574x-idk.dtb file to mtd2
flash_erase /dev/mtd2 0 0
dd if=/boot/am574x-idk.dtb of=/dev/mtd2
4.HW reset execution
5.Suspend during SD boot and start command line
U-Boot # mmc rescan
U-Boot # fatload mmc 0 $ {loadaddr} MLO
U-Boot # sf probe 0
U-Boot # sf erase 0x00000 0x100000
U-Boot # sf write $ {loadaddr} 0x00000 $ {filesize}
U-Boot # fatload mmc 0 $ {loadaddr} u-boot.img
U-Boot # sf write $ {loadaddr} 0x40000 $ {filesize}
6. Load kernel and DTB file and execute SPIBoot
U-Boot # sf read $ {loadaddr} 0x1e0000 0x800000
U-Boot # sf read $ {fdtaddr} 0x140000 0x80000
U-Boot # setenv bootargs console = $ {console} root = / dev / mtdblock5 rootfstype = jffs2
U-Boot # bootz $ {loadaddr}-$ {fdtaddr}