Other Parts Discussed in Thread: BEAGLEBOARD-X15, PMP
Tool/software: Linux
We are developing a product based on the AM5728 EVM. We are trying to get u-boot to run from FLASH. We are using an ISSI is25lq016 connected to the QSPI-4 of the processor.
The product boots from from SD card and we are using the same image to program the FLASH part.
We can get SPL to load and display, but it stops at that point. I suspect we may be using the wrong location in FLASH for the main u-boot image.
Following the instructions at:
The following process is used to load the FLASH part:
sf probe
sf erase 0 0x200000
load mmc 0 0x82000000 /boot/MLO
sf write 0x82000000 0x00000 0x20000
load mmc 0 0x82000000 /boot/u-boot.img
sf write 0x82000000 0x40000 0xBA000
The part is successfully programmed and when we attempt to boot we see the SPL start:
U-Boot SPL 2017.01-00020-g986edbf-dirty (Oct 19 2017 - 15:22:08)
DRA752-GP ES2.0
Trying to boot from SPISF: Macronix/ISSI check SR Quad bit
SF: Macronix/ISSI SR Quad bit set
** Bad device mmc 0 **
Using default environment
but then nothing.
Here is a snap shot of the programming sequence:
=> sf probe
SF: Macronix/ISSI check SR Quad bit
SF: Macronix/ISSI SR Quad bit set
SF: Detected is25lq016 with page size 256 Bytes, erase size 64 KiB, total 2 MiB, mapped at 5c000000
=> sf erase 0 0x200000
SF: 2097152 bytes @ 0x0 Erased: OK
=> load mmc 0 0x82000000 /boot/MLO
105736 bytes read in 28 ms (3.6 MiB/s)
=> sf write 0x82000000 0x00000 0x20
device 0 offset 0x0, size 0x20
SF: 32 bytes @ 0x0 Written: OK
=> load mmc 0 0x82000000 /boot/u-boot.img
751784 bytes read in 62 ms (11.6 MiB/s)
=> sf write 0x82000000 0x40000 0xBA000
device 0 offset 0x40000, size 0xba000
SF: 761856 bytes @ 0x40000 Written: OK
MLO and u-boot.img are copies of the MLO and u-boot.img that we can boot successfully with on the SD card.
Successful SD card boot looks like:
U-Boot SPL 2017.01-00020-g986edbf-dirty (Oct 19 2017 - 15:22:08)
DRA752-GP ES2.0
Trying to boot from MMC1
** Unable to use mmc 0:1 for loading the env **
Using default environment
U-Boot 2017.01-00020-g986edbf-dirty (Oct 19 2017 - 15:22:08 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
** Unable to use mmc 0:1 for loading the env **
Using default environment
Reset USB hubs
Setup USB hubs
Reset PCIe 1
FLASH status register: 0x00000040 ret: 0
FLASH JEDEC: 0x0040159d ret: 0
Display setup
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw
Press SPACE to abort autoboot in 2 seconds
=>
Any suggestions would be greatly appreciated. Thanks in advance!