Hello TI support,
At the moment, am625x-sk guideline didn't guide for booting OSPI device.
How can I do it.
My board using S28HS02GT device, I flash tiboot3.bin into the flash device but couldn't boot from NOR.
Can you help me.
Brian
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello TI support,
At the moment, am625x-sk guideline didn't guide for booting OSPI device.
How can I do it.
My board using S28HS02GT device, I flash tiboot3.bin into the flash device but couldn't boot from NOR.
Can you help me.
Brian
Thanks
Hi Brian,
I tested u-boot OSPI flashing & booting using AM62x SDK8.3 on TI AM62x-SK board.
1. u-boot OSPI flashing from SD boot
Please refer to the e2e, and note the updated OSPI offsets for tispl.bin and u-boot.img
e2e.ti.com/.../4112086
2. u-boot OSPI flashing with USB dfu-util
I'm attaching three log files in attachments for your reference:
- am62_8.3_u-boot_dfu_ospi_host.log: u-boot OSPI flashing with "dfu-util" log on host
- am62_8.3_u-boot_dfu_ospi_target.txt: u-boot OSPI flashing with "dfu-util" log on target
- am62_8.3_u-boot_ospi_boot.txt: u-boot OSPI boot log on target
Best,
-Hong
sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build_dfu$ sudo dfu-util -l dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org Found DFU: [0451:6165] ver=0200, devnum=18, cfg=1, intf=0, alt=1, name="SocId", serial="01.00.00.00" Found DFU: [0451:6165] ver=0200, devnum=18, cfg=1, intf=0, alt=0, name="bootloader", serial="01.00.00.00" sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build_dfu$ sudo dfu-util -R -a bootloader -D tiboot3.bin dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 512 Copying data from PC to DFU device Download [=========================] 100% 345807 bytes Download done. state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! dfu-util: can't detach Resetting USB to switch back to runtime mode sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build_dfu$ sudo dfu-util -R -a tispl.bin -D tispl.bin dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 892468 bytes Download done. state(7) = dfuMANIFEST, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build_dfu$ sudo dfu-util -R -a u-boot.img -D u-boot.img dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #1 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 861336 bytes Download done. state(7) = dfuMANIFEST, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! Resetting USB to switch back to runtime mode sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build_dfu$ cd ../u-boot_build sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build$ sudo dfu-util -l dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=5, name="rootfs", serial="0000000000000073" Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=4, name="sysfw.itb", serial="0000000000000073" Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=3, name="u-boot-env", serial="0000000000000073" Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=2, name="u-boot.img", serial="0000000000000073" Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=1, name="tispl.bin", serial="0000000000000073" Found DFU: [0451:6165] ver=0223, devnum=23, cfg=1, intf=0, alt=0, name="tiboot3.bin", serial="0000000000000073" sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build$ sudo dfu-util -a tiboot3.bin -D tiboot3.bin dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #0 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 335447 bytes Download done. state(7) = dfuMANIFEST, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build$ sudo dfu-util -a tispl.bin -D tispl.bin dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #1 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 892468 bytes Download done. state(7) = dfuMANIFEST, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build$ sudo dfu-util -a u-boot.img -D u-boot.img dfu-util 0.8 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2014 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to dfu-util@lists.gnumonks.org dfu-util: Invalid DFU suffix signature dfu-util: A valid DFU suffix will be required in a future dfu-util release!!! Opening DFU capable USB device... ID 0451:6165 Run-time device DFU version 0110 Claiming USB DFU Interface... Setting Alternate Setting #2 ... Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 0110 Device returned transfer size 4096 Copying data from PC to DFU device Download [=========================] 100% 861336 bytes Download done. state(7) = dfuMANIFEST, status(0) = No error condition is present state(2) = dfuIDLE, status(0) = No error condition is present Done! sitara@sitara-Latitude-E6410:~/am6/am62_sdk8.3_gp/board-support/u-boot_build$
U-Boot SPL 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 17:41:08 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') Trying to boot from DFU ############################################DOWNLOAD ... OK Ctrl+C to exit ... Loading Environment from MMC... *** Warning - No MMC card found, using default environment init_env from device 10 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.6(release):08.03.00.003-dirty NOTICE: BL31: Built : 16:35:46, May 30 2022 U-Boot SPL 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 17:40:00 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') Trying to boot from DFU ####DOWNLOAD ... OK Ctrl+C to exit ... U-Boot 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 17:40:00 -0500) SoC: AM62X SR1.0 Model: Texas Instruments AM625 SK EEPROM not available at 0x50, trying to read at 0x51 Board: AM62-SKEVM rev E2 DRAM: 2 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 2 0 => md.l 0x43000030 1 43000030: 00000053 S... => setenv dfu_alt_info ${dfu_alt_info_ospi} => pri dfu_alt_info dfu_alt_info=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x680000 0x020000;sysfw.itb raw 0x6c0000 0x100000;rootfs raw 0x800000 0x3800000 => dfu 0 sf 0:0 SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB ##DOWNLOAD ... OK Ctrl+C to exit ... ####DOWNLOAD ... OK Ctrl+C to exit ... ####DOWNLOAD ... OK Ctrl+C to exit ...
U-Boot SPL 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 18:15:44 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') Trying to boot from SPI Loading Environment from MMC... *** Warning - No MMC card found, using default environment Starting ATF on ARM64 core... NOTICE: BL31: v2.6(release):08.03.00.003-dirty NOTICE: BL31: Built : 16:35:46, May 30 2022 U-Boot SPL 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 18:14:41 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') Trying to boot from SPI U-Boot 2021.01-00002-g77bcc61-dirty (Jun 23 2022 - 18:14:41 -0500) SoC: AM62X SR1.0 Model: Texas Instruments AM625 SK EEPROM not available at 0x50, trying to read at 0x51 Board: AM62-SKEVM rev E2 DRAM: 2 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 2 0 => md.l 0x43000030 1 43000030: 00000273 s... =>