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.
Tool/software: Linux
I have a AM5718 custom board. The board has QSPI boot options.
(0b000110 : First device SD / Second device QSPI_1)
we had it working in u-boot 2018 in linux SDK 05.00.00.15
SPI boot is not working properly . we are facing following errors
Below is a QSPI flash boot failure log.
U-Boot SPL 2018.01 (Dec 26 2018 - 15:52:46)
DRA722-GP ES2.0
Trying to boot from SPI
Invalid bus 0 (err=-19)
Failed to initialize SPI flash at 0:0 (error -19)
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
But, After booting to the SD card, the spi flash will work normally when the sf probe is used.
Below is sf probe log after SD boot.
U-Boot SPL 2018.01 (Dec 26 2018 - 11:16:35)
DRA722-GP ES2.0
Trying to boot from MMC1
no pinctrl state for default mode
no pinctrl state for default mode
*** Warning - bad CRC, using default environment
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2018.01 (Dec 26 2018 - 11:16:35 +0900)
CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
HUR-BOOT>
HUR-BOOT> sf probe
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c000000
Q: Why does spi probe fail in spl_spi_load_image function in spl_spi.c?
/*
* Load U-Boot image from SPI flash into RAM
*/
flash = spi_flash_probe(CONFIG_SF_DEFAULT_BUS,
CONFIG_SF_DEFAULT_CS,
CONFIG_SF_DEFAULT_SPEED,
CONFIG_SF_DEFAULT_MODE);
if (!flash) {
printf("SPI probe failed. Bus:%d, CS:%d, Speed:%d, mode:%d\n", CONFIG_SF_DEFAULT_BUS ,CONFIG_SF_DEFAULT_CS, CONFIG_SF_DEFAULT_SPEED, CONFIG_SF_DEFAULT_MODE);
return -ENODEV;
}
Best regards,
John Kim.
Hi Pavel,
Below is the contents of the log with DEBUG enabled.
U-Boot SPL 2018.01 (Jan 02 2019 - 10:46:46)
DRA722-GP ES2.0
omap24_i2c_findpsc: speed [kHz]: 100 psc: 0x17 sscl: 0xd ssch: 0xf
Trying to boot from SPI
malloc_simple: size=e, ptr=36, limit=100000: 81f00028
uclass_find_device_by_seq: 0 0
- -1 -1 'qspi@4b300000'
- not found
uclass_find_device_by_seq: 1 0
- -1 -1 'qspi@4b300000'
- not found
Invalid bus 0 (err=-19)
SPI probe failed. Bus:0, CS:0, Speed:76800000, mode:0
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Regards,
John
Yohan Kim said:I tried slowly from 1 to 10 MHz, but the problem was not solved.
Was there activity observed on the bus? Was it at the expected frequency? What could you see happening, i.e. is there any data transfer in either direction? if we see what is happening on the interface that would likely give us a big hint as to the underlying issue.
Yohan Kim said:According to the link below, does AM57xx not support QSPI boot?
e2e.ti.com/.../743093
That means it isn't an officially supported feature of our Processor SDK Linux distribution. However, I've seen other customers get it working, so I know it is feasible. It's just a matter of figuring out what is happening in your system.
The pin-mux registers would be a good start before we look much deeper. And I would keep the frequency slow (10 MHz) until we get things working. You can speed it up later once things are functional.
Thank you for your reply.
1. After a bad boot run am57xx-boot.dss
CTRL_CORE_BOOTSTRAP = 0x00008106 * sysboot15 = 1, internal pulldown enabled at boot (recommended for GPMC NOR boot) * XIP/NAND BOOTDEVICESIZE = 8-bit * XIP/NAND MUXCS0DEVICE = Non-muxed * XIP/NAND BOOTWAITEN, wait pin not monitored * SPEEDSELECT = 20 MHz * QSPI offset = 64KB * SD -> QSPI_1 Current tracing vector, word 1 = 0x0010009f * Bit 0: [Boot] Passed the public reset vector * Bit 1: [Boot] Entered main function * Bit 2: [Boot] Running after the cold reset * Bit 3: [Boot] Main booting routine entered * Bit 4: [Memory boot] Memory booting started * Bit 7: [Boot] GP header found * Bit 20: [Boot] Configuration header found Current tracing vector, word 2 = 0x40001000 * Bit 12: [Memory boot] Memory booting trial (first block) * Bit 30: [Boot] Jumping to Initial Software Current tracing vector, word 3 = 0x00000420 * Bit 5: [Memory boot] Memory booting device SD * Bit 10: [Memory boot] Memory booting device QSPI_1 Current tracing vector, word 4 = 0x01000000 * Bit 24: [MMC/SD] SD card detected PBIAS configuration is 1.8V Cold reset tracing vector, word 1 = 0x00000000 Cold reset tracing vector, word 2 = 0x00000000 Cold reset tracing vector, word 3 = 0x00000000 Cold reset tracing vector, word 4 = 0x00000000 Current copy of the PRM_RSTST register (reset reasons) = 0x00000001 * Bit 0 : GLOBAL_COLD_RST PRM_RSTST = 0x00000001 * Bit 0 : GLOBAL_COLD_RST
2 ~3 : am57xx-pinmux.dss. File not found. Can I replace it with am57xx-padconf.dss?
2: After a bad boot run am57xx-padconf.dss
PadConf AM571x_SR2.0_SR1.0 0x4a003400 0x0005000f 0x4a003404 0x0005000f 0x4a003408 0x0005000f 0x4a00340c 0x0005000f 0x4a003410 0x0005000f 0x4a003414 0x0005000f 0x4a003418 0x0005000f 0x4a00341c 0x0005000f 0x4a003420 0x0005000f 0x4a003424 0x0005000f 0x4a003428 0x0005000f 0x4a00342c 0x0005000f 0x4a003430 0x0005000f 0x4a003434 0x0005000f 0x4a003438 0x0005000f 0x4a00343c 0x0005000f 0x4a003440 0x0005000f 0x4a003444 0x0005000f 0x4a003448 0x0005000f 0x4a00344c 0x0005000f 0x4a003450 0x0005000f 0x4a003454 0x0005000f 0x4a003458 0x0005000f 0x4a00345c 0x00050106 0x4a003460 0x00050106 0x4a003464 0x00050106 0x4a003468 0x0005000f 0x4a00346c 0x0005000f 0x4a003470 0x0005000f 0x4a003474 0x00050101 0x4a003478 0x00060101 0x4a00347c 0x00060101 0x4a003480 0x00060101 0x4a003484 0x00060101 0x4a003488 0x00010101 0x4a00348c 0x00060001 0x4a003490 0x00060001 0x4a003494 0x00060001 0x4a003498 0x00060001 0x4a00349c 0x00060001 0x4a0034a0 0x00060001 0x4a0034a4 0x00060001 0x4a0034a8 0x00060001 0x4a0034ac 0x00060001 0x4a0034b0 0x00060001 0x4a0034b4 0x0001000e 0x4a0034b8 0x00010101 0x4a0034bc 0x00010101 0x4a0034c0 0x0005000e 0x4a0034c4 0x0001000e 0x4a0034c8 0x0001000e 0x4a0034cc 0x0001000e 0x4a0034d0 0x0001000e 0x4a0034d4 0x0001000e 0x4a0034d8 0x0009000e 0x4a003554 0x0005000f 0x4a003558 0x0006000e 0x4a00355c 0x0006000e 0x4a003560 0x0006000e 0x4a003564 0x0001000e 0x4a003568 0x0004000f 0x4a00356c 0x0004000f 0x4a003570 0x0005000f 0x4a003574 0x0004000f 0x4a003578 0x0004000f 0x4a00357c 0x0004000f 0x4a003580 0x0004000f 0x4a003584 0x0004000f 0x4a003588 0x0004000f 0x4a00358c 0x0004000f 0x4a003590 0x0005000f 0x4a003594 0x0005000f 0x4a003598 0x00000103 0x4a00359c 0x00000103 0x4a0035a0 0x00000103 0x4a0035a4 0x00000103 0x4a0035a8 0x00000103 0x4a0035ac 0x00000103 0x4a0035b0 0x00040103 0x4a0035b4 0x00040103 0x4a0035b8 0x00060103 0x4a0035bc 0x00060103 0x4a0035c0 0x00060103 0x4a0035c4 0x00060103 0x4a0035c8 0x0004000f 0x4a0035cc 0x0004000f 0x4a0035d0 0x0001000e 0x4a0035d4 0x0004000f 0x4a0035d8 0x0004000f 0x4a0035dc 0x0004000f 0x4a0035e0 0x0004000f 0x4a0035e4 0x0004000f 0x4a0035e8 0x0004000f 0x4a0035ec 0x0004000f 0x4a0035f0 0x0004000f 0x4a0035f4 0x0004000f 0x4a0035f8 0x0004000f 0x4a0035fc 0x0004000f 0x4a003600 0x0004000f 0x4a003604 0x0004000f 0x4a003608 0x0004000f 0x4a00360c 0x0004000f 0x4a003610 0x0004000f 0x4a003614 0x0004000f 0x4a003618 0x0004000f 0x4a00361c 0x0004000f 0x4a003620 0x0004000f 0x4a003624 0x0004000f 0x4a003628 0x0004000f 0x4a00362c 0x0004000f 0x4a003630 0x0004000f 0x4a003634 0x0004000f 0x4a003638 0x0004000f 0x4a00363c 0x00080000 0x4a003640 0x000d0000 0x4a003644 0x0004000f 0x4a003648 0x0005000f 0x4a00364c 0x0005000f 0x4a003650 0x00000100 0x4a003654 0x00000100 0x4a003658 0x00000100 0x4a00365c 0x00000100 0x4a003660 0x00000100 0x4a003664 0x00000100 0x4a003668 0x00040100 0x4a00366c 0x00040100 0x4a003670 0x00060100 0x4a003674 0x00060100 0x4a003678 0x00060100 0x4a00367c 0x00060100 0x4a003680 0x0005000f 0x4a003684 0x0005000f 0x4a003688 0x00020002 0x4a00368c 0x00020002 0x4a003690 0x00060000 0x4a003694 0x0004000b 0x4a003698 0x0004000b 0x4a00369c 0x0001000e 0x4a0036a0 0x0005000f 0x4a0036a4 0x0000000b 0x4a0036a8 0x000d000b 0x4a0036ac 0x0005000e 0x4a0036b0 0x0005000e 0x4a0036b4 0x000e000b 0x4a0036b8 0x000e000b 0x4a0036bc 0x0004000f 0x4a0036c0 0x0005000e 0x4a0036c4 0x0001000e 0x4a0036c8 0x0001000e 0x4a0036cc 0x0001000e 0x4a0036d0 0x0001000e 0x4a0036d4 0x000a000b 0x4a0036d8 0x000a000b 0x4a0036dc 0x000a000b 0x4a0036e0 0x000a000b 0x4a0036e4 0x000a000b 0x4a0036e8 0x000e000b 0x4a0036ec 0x000c000b 0x4a0036f0 0x000c000b 0x4a0036f4 0x0004000b 0x4a0036f8 0x000c000b 0x4a0036fc 0x0004000f 0x4a003700 0x0004000f 0x4a003704 0x0004000f 0x4a003708 0x0004000f 0x4a00370c 0x000c000b 0x4a003710 0x000c000b 0x4a003714 0x0001000e 0x4a003718 0x0002000e 0x4a00371c 0x0001000e 0x4a003720 0x0001000e 0x4a003724 0x0004000b 0x4a003728 0x000c000b 0x4a00372c 0x000e000b 0x4a003730 0x000e000b 0x4a003734 0x00050004 0x4a003738 0x00050004 0x4a00373c 0x0004000f 0x4a003740 0x0005000f 0x4a003744 0x00050004 0x4a003748 0x00050004 0x4a00374c 0x0005000f 0x4a003750 0x0005000f 0x4a003754 0x00060000 0x4a003758 0x00060000 0x4a00375c 0x00060000 0x4a003760 0x00060000 0x4a003764 0x00060000 0x4a003768 0x00060000 0x4a00376c 0x000d000e 0x4a003770 0x000d000e 0x4a003774 0x0006000b 0x4a003778 0x0002000b 0x4a00377c 0x0002000b 0x4a003780 0x0002000b 0x4a003784 0x0002000b 0x4a003788 0x0002000b 0x4a00378c 0x0006000b 0x4a003790 0x0004000b 0x4a003794 0x0004000b 0x4a003798 0x0004000b 0x4a00379c 0x0004000b 0x4a0037a0 0x0004000b 0x4a0037a4 0x0001000e 0x4a0037a8 0x0001000e 0x4a0037ac 0x0001000e 0x4a0037b0 0x0001000e 0x4a0037b4 0x0001000e 0x4a0037b8 0x00040006 0x4a0037bc 0x000d0006 0x4a0037c0 0x0005000e 0x4a0037c4 0x0005000e 0x4a0037c8 0x0005000e 0x4a0037cc 0x0005000f 0x4a0037d0 0x00020000 0x4a0037d4 0x00020000 0x4a0037e0 0x00050000 0x4a0037e4 0x00010000 0x4a0037e8 0x0001000e 0x4a0037ec 0x0001000e 0x4a0037f0 0x00050004 0x4a0037f4 0x00010004 0x4a0037f8 0x00050002 0x4a0037fc 0x00010001 0x4a003800 0x00050000 0x4a003804 0x00050000 0x4a003808 0x00050001 0x4a00380c 0x00050001 0x4a003818 0x0001000f 0x4a003824 0x0001000f 0x4a003828 0x00010000 0x4a00382c 0x00010000 0x4a003830 0x00060000 0x4a003834 0x000e0000 0x4a003838 0x00020000 0x4a00383c 0x00060000 0x4a003840 0x00050000 0x4a003844 0x00020000 0x4a003848 0x00050000 0x4a00384c 0x00050000 0x4a00385c 0x00010000 0x4a003860 0x00000000 0x4a003864 0x00010000
3. After a good boot run am57xx-padconf.dss
PadConf AM571x_SR2.0_SR1.0 0x4a003400 0x0005000f 0x4a003404 0x0005000f 0x4a003408 0x0005000f 0x4a00340c 0x0005000f 0x4a003410 0x0005000f 0x4a003414 0x0005000f 0x4a003418 0x0005000f 0x4a00341c 0x0005000f 0x4a003420 0x0005000f 0x4a003424 0x0005000f 0x4a003428 0x0005000f 0x4a00342c 0x0005000f 0x4a003430 0x0005000f 0x4a003434 0x0005000f 0x4a003438 0x0005000f 0x4a00343c 0x0005000f 0x4a003440 0x0005000f 0x4a003444 0x0005000f 0x4a003448 0x0005000f 0x4a00344c 0x0005000f 0x4a003450 0x0005000f 0x4a003454 0x0005000f 0x4a003458 0x0005000f 0x4a00345c 0x00050106 0x4a003460 0x00050106 0x4a003464 0x00050106 0x4a003468 0x0005000f 0x4a00346c 0x0005000f 0x4a003470 0x0005000f 0x4a003474 0x00050101 0x4a003478 0x00060101 0x4a00347c 0x00060101 0x4a003480 0x00060101 0x4a003484 0x00060101 0x4a003488 0x00010101 0x4a00348c 0x00060001 0x4a003490 0x00060001 0x4a003494 0x00060001 0x4a003498 0x00060001 0x4a00349c 0x00060001 0x4a0034a0 0x00060001 0x4a0034a4 0x00060001 0x4a0034a8 0x00060001 0x4a0034ac 0x00060001 0x4a0034b0 0x00060001 0x4a0034b4 0x0001000e 0x4a0034b8 0x00010101 0x4a0034bc 0x00010101 0x4a0034c0 0x0005000e 0x4a0034c4 0x0001000e 0x4a0034c8 0x0001000e 0x4a0034cc 0x0001000e 0x4a0034d0 0x0001000e 0x4a0034d4 0x0001000e 0x4a0034d8 0x0009000e 0x4a003554 0x0005000f 0x4a003558 0x0006000e 0x4a00355c 0x0006000e 0x4a003560 0x0006000e 0x4a003564 0x0001000e 0x4a003568 0x0004000f 0x4a00356c 0x0004000f 0x4a003570 0x0005000f 0x4a003574 0x0004000f 0x4a003578 0x0004000f 0x4a00357c 0x0004000f 0x4a003580 0x0004000f 0x4a003584 0x0004000f 0x4a003588 0x0004000f 0x4a00358c 0x0004000f 0x4a003590 0x0005000f 0x4a003594 0x0005000f 0x4a003598 0x00000103 0x4a00359c 0x00000103 0x4a0035a0 0x00000103 0x4a0035a4 0x00000103 0x4a0035a8 0x00000103 0x4a0035ac 0x00000103 0x4a0035b0 0x00040103 0x4a0035b4 0x00040103 0x4a0035b8 0x00060103 0x4a0035bc 0x00060103 0x4a0035c0 0x00060103 0x4a0035c4 0x00060103 0x4a0035c8 0x0004000f 0x4a0035cc 0x0004000f 0x4a0035d0 0x0001000e 0x4a0035d4 0x0004000f 0x4a0035d8 0x0004000f 0x4a0035dc 0x0004000f 0x4a0035e0 0x0004000f 0x4a0035e4 0x0004000f 0x4a0035e8 0x0004000f 0x4a0035ec 0x0004000f 0x4a0035f0 0x0004000f 0x4a0035f4 0x0004000f 0x4a0035f8 0x0004000f 0x4a0035fc 0x0004000f 0x4a003600 0x0004000f 0x4a003604 0x0004000f 0x4a003608 0x0004000f 0x4a00360c 0x0004000f 0x4a003610 0x0004000f 0x4a003614 0x0004000f 0x4a003618 0x0004000f 0x4a00361c 0x0004000f 0x4a003620 0x0004000f 0x4a003624 0x0004000f 0x4a003628 0x0004000f 0x4a00362c 0x0004000f 0x4a003630 0x0004000f 0x4a003634 0x0004000f 0x4a003638 0x0004000f 0x4a00363c 0x00080000 0x4a003640 0x000d0000 0x4a003644 0x0004000f 0x4a003648 0x0005000f 0x4a00364c 0x0005000f 0x4a003650 0x00000100 0x4a003654 0x00000100 0x4a003658 0x00000100 0x4a00365c 0x00000100 0x4a003660 0x00000100 0x4a003664 0x00000100 0x4a003668 0x00040100 0x4a00366c 0x00040100 0x4a003670 0x00060100 0x4a003674 0x00060100 0x4a003678 0x00060100 0x4a00367c 0x00060100 0x4a003680 0x0005000f 0x4a003684 0x0005000f 0x4a003688 0x00020002 0x4a00368c 0x00020002 0x4a003690 0x00060000 0x4a003694 0x0004000b 0x4a003698 0x0004000b 0x4a00369c 0x0001000e 0x4a0036a0 0x0005000f 0x4a0036a4 0x0000000b 0x4a0036a8 0x000d000b 0x4a0036ac 0x0005000e 0x4a0036b0 0x0005000e 0x4a0036b4 0x000e000b 0x4a0036b8 0x000e000b 0x4a0036bc 0x0004000f 0x4a0036c0 0x0005000e 0x4a0036c4 0x0001000e 0x4a0036c8 0x0001000e 0x4a0036cc 0x0001000e 0x4a0036d0 0x0001000e 0x4a0036d4 0x000a000b 0x4a0036d8 0x000a000b 0x4a0036dc 0x000a000b 0x4a0036e0 0x000a000b 0x4a0036e4 0x000a000b 0x4a0036e8 0x000e000b 0x4a0036ec 0x000c000b 0x4a0036f0 0x000c000b 0x4a0036f4 0x0004000b 0x4a0036f8 0x000c000b 0x4a0036fc 0x0004000f 0x4a003700 0x0004000f 0x4a003704 0x0004000f 0x4a003708 0x0004000f 0x4a00370c 0x000c000b 0x4a003710 0x000c000b 0x4a003714 0x0001000e 0x4a003718 0x0002000e 0x4a00371c 0x0001000e 0x4a003720 0x0001000e 0x4a003724 0x0004000b 0x4a003728 0x000c000b 0x4a00372c 0x000e000b 0x4a003730 0x000e000b 0x4a003734 0x00050004 0x4a003738 0x00050004 0x4a00373c 0x0004000f 0x4a003740 0x0005000f 0x4a003744 0x00050004 0x4a003748 0x00050004 0x4a00374c 0x0005000f 0x4a003750 0x0005000f 0x4a003754 0x00060000 0x4a003758 0x00060000 0x4a00375c 0x00060000 0x4a003760 0x00060000 0x4a003764 0x00060000 0x4a003768 0x00060000 0x4a00376c 0x000d000e 0x4a003770 0x000d000e 0x4a003774 0x0006000b 0x4a003778 0x0002000b 0x4a00377c 0x0002000b 0x4a003780 0x0002000b 0x4a003784 0x0002000b 0x4a003788 0x0002000b 0x4a00378c 0x0006000b 0x4a003790 0x0004000b 0x4a003794 0x0004000b 0x4a003798 0x0004000b 0x4a00379c 0x0004000b 0x4a0037a0 0x0004000b 0x4a0037a4 0x0001000e 0x4a0037a8 0x0001000e 0x4a0037ac 0x0001000e 0x4a0037b0 0x0001000e 0x4a0037b4 0x0001000e 0x4a0037b8 0x00040006 0x4a0037bc 0x000d0006 0x4a0037c0 0x0005000e 0x4a0037c4 0x0005000e 0x4a0037c8 0x0005000e 0x4a0037cc 0x0005000f 0x4a0037d0 0x00020000 0x4a0037d4 0x00020000 0x4a0037e0 0x00050000 0x4a0037e4 0x00010000 0x4a0037e8 0x0001000e 0x4a0037ec 0x0001000e 0x4a0037f0 0x00050004 0x4a0037f4 0x00010004 0x4a0037f8 0x00050002 0x4a0037fc 0x00010001 0x4a003800 0x00050000 0x4a003804 0x00050000 0x4a003808 0x00050001 0x4a00380c 0x00050001 0x4a003818 0x0001000f 0x4a003824 0x0001000f 0x4a003828 0x00010000 0x4a00382c 0x00010000 0x4a003830 0x00060000 0x4a003834 0x000e0000 0x4a003838 0x00020000 0x4a00383c 0x00060000 0x4a003840 0x00050000 0x4a003844 0x00020000 0x4a003848 0x00050000 0x4a00384c 0x00050000 0x4a00385c 0x00010000 0x4a003860 0x00000000 0x4a003864 0x00010000
Regards,
John
John,
Sorry for any confusion on the script naming. Yes, the am57xx-padconf.dss script was the correct one to run. That is a brand new script to help with diagnosing issues, and between the time I posted and the time you ran it, there were some minor updates to the naming and directory structure!
I diff'd the good/bad rd1 files and they were identical. So whatever it is that's different does not appear to be pin-mux related. I should note however that at the moment the script does not look at the Manual I/O configurations. It probably should. Can you post your mux_data.h file so I can have a look at the structures?
Are you able to put a scope on the board to look at the QSPI interface in the good and bad scenario? I'm wondering if there's any difference in frequency, signal integrity, etc.
Brad
Hi Brad,
below is my pimux code.
// QSPI Pinmux M1 is QSPI
{GPMC_A18, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_a18.qspi1_sclk */
{GPMC_A13, (M1 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_a13.qspi1_rtclk */
{GPMC_CS2, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_cs2.qspi1_cs0 */
{GPMC_A16, (M1 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* gpmc_a16.qspi1_d0 */
{GPMC_A17, (M1 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* gpmc_a17.qspi1_d1 */
{GPMC_A14, (M1 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* gpmc_a14.qspi1_d3 */
{GPMC_A15, (M1 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* gpmc_a15.qspi1_d2 */
I will check QSPI's CS, Data line with the scope.
I have question
If the am57xx series does not support QSPI boot, is this issue an H / W issue? Or is this a S / W issue?
Many people want to boot QSPI.
But there is no obvious solution.
I changed spi mode 3 in u-boot.
am57xx_evm.h -> #define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
spi_flash.h -> # define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
-----------------------------boot log-------------------------
U-Boot SPL 2018.01 (Jan 16 2019 - 13:46:44)
DRA722-GP ES2.0
Trying to boot from SPI
Invalid bus 0 (err=-19)
SPI probe failed. Bus:0, CS:0, Speed:76800000, mode:3
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
below is QSPI scope screenshot.
C1(yellow) : QSPI clock
C2(pink) : QSPI CS0
C3(blue): QSPI D0
C4(green): QSPI D1
I have changed as follows.
in am57xx-idk-common.dtsi
&qspi {
u-boot,dm-spl;
status = "okay";
spi-max-frequency = <76800000>;
m25p80@0 {
compatible = "s25fl256s","spi-flash";
spi-max-frequency = <76800000>;
reg = <0>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
#address-cells = <1>;
#size-cells = <1>;
...
...
...
the problem was not solved.
Please add this to include/configs/am57xx_evm.h (or corresponding header file for your board):
#defined DEBUG
You should get a much more verbose output from u-boot and perhaps that will give some clues as to what sort of issue you're having.
I already posted that in the previous replies.
---------------------------------------------------------------------------------------------------------
Jan 1, 2019 1:50 PM
In reply to Pavel Botev:
Hi Pavel,
Below is the contents of the log with DEBUG enabled.
U-Boot SPL 2018.01 (Jan 02 2019 - 10:46:46)
DRA722-GP ES2.0
omap24_i2c_findpsc: speed [kHz]: 100 psc: 0x17 sscl: 0xd ssch: 0xf
Trying to boot from SPI
malloc_simple: size=e, ptr=36, limit=100000: 81f00028
uclass_find_device_by_seq: 0 0
- -1 -1 'qspi@4b300000'
- not found
uclass_find_device_by_seq: 1 0
- -1 -1 'qspi@4b300000'
- not found
Invalid bus 0 (err=-19)
SPI probe failed. Bus:0, CS:0, Speed:76800000, mode:0
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
---------------------------------------------------------------------------------------------------------
Below is the contents of the log with "u-boot,dm-spl;" added.
U-Boot SPL 2018.01-svn56 (Jan 21 2019 - 09:12:36)
DRA722-GP ES2.0
omap24_i2c_findpsc: speed [kHz]: 100 psc: 0x17 sscl: 0xd ssch: 0xf
Trying to boot from SPI
malloc_simple: size=e, ptr=36, limit=100000: 81f00028
uclass_find_device_by_seq: 0 0
- -1 -1 'qspi@4b300000'
- not found
uclass_find_device_by_seq: 1 0
- -1 -1 'qspi@4b300000'
- not found
Invalid bus 0 (err=-19)
SPI probe failed. Bus:0, CS:0, Speed:76800000, mode:3
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Hi Pavel,
I tried remove and trying the below,
The problem was not solved.
// QSPI (FPGA)
//PMC_CS3, (M1 | PIN_OUTPUT | MANUAL_MODE)}, /* gpmc_cs3.qspi1_cs1 */
1. the latest u-boot boot log with debug enabled
U-Boot SPL 2018.01-svn56 (Jan 24 2019 - 09:38:17)
DRA722-GP ES2.0
omap24_i2c_findpsc: speed [kHz]: 100 psc: 0x17 sscl: 0xd ssch: 0xf
Trying to boot from SPI
malloc_simple: size=e, ptr=36, limit=100000: 81f00028
uclass_find_device_by_seq: 0 0
- -1 -1 'qspi@4b300000'
- not found
uclass_find_device_by_seq: 1 0
- -1 -1 'qspi@4b300000'
- not found
Invalid bus 0 (err=-19)
SPI probe failed. Bus:0, CS:0, Speed:76800000, mode:3
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
2. your u-boot .config file
# # Automatically generated file; DO NOT EDIT. # U-Boot 2018.01 Configuration # CONFIG_CREATE_ARCH_SYMLINK=y # CONFIG_ARC is not set CONFIG_ARM=y # CONFIG_M68K is not set # CONFIG_MICROBLAZE is not set # CONFIG_MIPS is not set # CONFIG_NDS32 is not set # CONFIG_NIOS2 is not set # CONFIG_PPC is not set # CONFIG_SANDBOX is not set # CONFIG_SH is not set # CONFIG_X86 is not set # CONFIG_XTENSA is not set CONFIG_SYS_ARCH="arm" CONFIG_SYS_CPU="armv7" CONFIG_SYS_SOC="omap5" CONFIG_SYS_VENDOR="ti" CONFIG_SYS_BOARD="am57xx" CONFIG_SYS_CONFIG_NAME="am57xx_evm" # # ARM architecture # CONFIG_HAS_VBAR=y CONFIG_HAS_THUMB2=y CONFIG_ARM_ASM_UNIFIED=y CONFIG_ARM_ERRATA_798870=y CONFIG_CPU_V7=y CONFIG_SYS_ARM_ARCH=7 CONFIG_SYS_CACHE_SHIFT_6=y CONFIG_SYS_CACHELINE_SIZE=64 # CONFIG_ARM_SMCCC is not set # CONFIG_SEMIHOSTING is not set CONFIG_SYS_THUMB_BUILD=y CONFIG_SPL_SYS_THUMB_BUILD=y # CONFIG_SYS_L2CACHE_OFF is not set # CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set # CONFIG_ARM_CORTEX_CPU_IS_UP is not set CONFIG_USE_ARCH_MEMCPY=y CONFIG_SPL_USE_ARCH_MEMCPY=y CONFIG_USE_ARCH_MEMSET=y CONFIG_SPL_USE_ARCH_MEMSET=y # CONFIG_ARM64_SUPPORT_AARCH32 is not set # CONFIG_ARCH_AT91 is not set # CONFIG_TARGET_EDB93XX is not set # CONFIG_TARGET_ASPENITE is not set # CONFIG_TARGET_GPLUGD is not set # CONFIG_ARCH_DAVINCI is not set # CONFIG_KIRKWOOD is not set # CONFIG_ARCH_MVEBU is not set # CONFIG_TARGET_DEVKIT3250 is not set # CONFIG_TARGET_WORK_92105 is not set # CONFIG_TARGET_APF27 is not set # CONFIG_TARGET_APX4DEVKIT is not set # CONFIG_TARGET_XFI3 is not set # CONFIG_TARGET_M28EVK is not set # CONFIG_TARGET_MX23EVK is not set # CONFIG_TARGET_MX28EVK is not set # CONFIG_TARGET_MX23_OLINUXINO is not set # CONFIG_TARGET_BG0900 is not set # CONFIG_TARGET_SANSA_FUZE_PLUS is not set # CONFIG_TARGET_SC_SPS_1 is not set # CONFIG_ORION5X is not set # CONFIG_TARGET_SPEAR300 is not set # CONFIG_TARGET_SPEAR310 is not set # CONFIG_TARGET_SPEAR320 is not set # CONFIG_TARGET_SPEAR600 is not set # CONFIG_TARGET_STV0991 is not set # CONFIG_TARGET_X600 is not set # CONFIG_TARGET_IMX31_PHYCORE is not set # CONFIG_TARGET_IMX31_PHYCORE_EET is not set # CONFIG_TARGET_MX31ADS is not set # CONFIG_TARGET_MX31PDK is not set # CONFIG_TARGET_WOODBURN is not set # CONFIG_TARGET_WOODBURN_SD is not set # CONFIG_TARGET_FLEA3 is not set # CONFIG_TARGET_MX35PDK is not set # CONFIG_ARCH_BCM283X is not set # CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set # CONFIG_TARGET_VEXPRESS_CA5X2 is not set # CONFIG_TARGET_VEXPRESS_CA9X4 is not set # CONFIG_TARGET_BCM23550_W1D is not set # CONFIG_TARGET_BCM28155_AP is not set # CONFIG_TARGET_BCMCYGNUS is not set # CONFIG_TARGET_BCMNSP is not set # CONFIG_TARGET_BCMNS2 is not set # CONFIG_ARCH_EXYNOS is not set # CONFIG_ARCH_S5PC1XX is not set # CONFIG_ARCH_HIGHBANK is not set # CONFIG_ARCH_INTEGRATOR is not set # CONFIG_ARCH_KEYSTONE is not set CONFIG_ARCH_OMAP2PLUS=y # CONFIG_ARCH_MESON is not set # CONFIG_ARCH_MX25 is not set # CONFIG_ARCH_MX7ULP is not set # CONFIG_ARCH_MX7 is not set # CONFIG_ARCH_MX6 is not set CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" # CONFIG_ARCH_MX5 is not set # CONFIG_ARCH_QEMU is not set # CONFIG_ARCH_RMOBILE is not set # CONFIG_TARGET_S32V234EVB is not set # CONFIG_ARCH_SNAPDRAGON is not set # CONFIG_ARCH_SOCFPGA is not set # CONFIG_ARCH_SUNXI is not set # CONFIG_TARGET_TS4600 is not set # CONFIG_ARCH_VF610 is not set # CONFIG_ARCH_ZYNQ is not set # CONFIG_ARCH_ZYNQMP is not set # CONFIG_TEGRA is not set # CONFIG_TARGET_VEXPRESS64_AEMV8A is not set # CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set # CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM is not set # CONFIG_TARGET_VEXPRESS64_JUNO is not set # CONFIG_TARGET_LS2080A_EMU is not set # CONFIG_TARGET_LS2080A_SIMU is not set # CONFIG_TARGET_LS1088AQDS is not set # CONFIG_TARGET_LS2080AQDS is not set # CONFIG_TARGET_LS2080ARDB is not set # CONFIG_TARGET_LS2081ARDB is not set # CONFIG_TARGET_HIKEY is not set # CONFIG_TARGET_POPLAR is not set # CONFIG_TARGET_LS1012AQDS is not set # CONFIG_TARGET_LS1012ARDB is not set # CONFIG_TARGET_LS1012AFRDM is not set # CONFIG_TARGET_LS1088ARDB is not set # CONFIG_TARGET_LS1021AQDS is not set # CONFIG_TARGET_LS1021ATWR is not set # CONFIG_TARGET_LS1021AIOT is not set # CONFIG_TARGET_LS1043AQDS is not set # CONFIG_TARGET_LS1043ARDB is not set # CONFIG_TARGET_LS1046AQDS is not set # CONFIG_TARGET_LS1046ARDB is not set # CONFIG_TARGET_H2200 is not set # CONFIG_TARGET_ZIPITZ2 is not set # CONFIG_TARGET_COLIBRI_PXA270 is not set # CONFIG_ARCH_UNIPHIER is not set # CONFIG_STM32 is not set # CONFIG_ARCH_STI is not set # CONFIG_ARCH_ROCKCHIP is not set # CONFIG_TARGET_THUNDERX_88XX is not set # CONFIG_ARCH_ASPEED is not set # CONFIG_TI_SECURE_DEVICE is not set CONFIG_SYS_TEXT_BASE=0x80800000 CONFIG_TI_I2C_BOARD_DETECT=y CONFIG_EEPROM_BUS_ADDRESS=0 CONFIG_EEPROM_CHIP_ADDRESS=0x50 CONFIG_TI_COMMON_CMD_OPTIONS=y CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SYS_MALLOC_F_LEN=0x2000 # CONFIG_OMAP34XX is not set # CONFIG_OMAP44XX is not set CONFIG_OMAP54XX=y # CONFIG_TI814X is not set # CONFIG_TI816X is not set # CONFIG_AM43XX is not set # CONFIG_AM33XX is not set CONFIG_SYS_MPUCLK=500 CONFIG_DRA7XX=y # CONFIG_TARGET_CL_SOM_AM57X is not set # CONFIG_TARGET_CM_T54 is not set # CONFIG_TARGET_OMAP5_UEVM is not set # CONFIG_TARGET_DRA7XX_EVM is not set CONFIG_TARGET_AM57XX_EVM=y CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC=31219 # # Voltage Domain OPP selections # CONFIG_DRA7_MPU_OPP_NOM=y # CONFIG_DRA7_DSPEVE_OPP_NOM is not set # CONFIG_DRA7_DSPEVE_OPP_OD is not set CONFIG_DRA7_DSPEVE_OPP_HIGH=y # CONFIG_DRA7_IVA_OPP_NOM is not set # CONFIG_DRA7_IVA_OPP_OD is not set CONFIG_DRA7_IVA_OPP_HIGH=y # CONFIG_DRA7_GPU_OPP_NOM is not set # CONFIG_DRA7_GPU_OPP_OD is not set CONFIG_DRA7_GPU_OPP_HIGH=y CONFIG_CONS_INDEX=3 CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y # CONFIG_SPL_DRIVERS_MISC_SUPPORT is not set CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_SPL_NAND_SUPPORT is not set CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y # CONFIG_SPL_WATCHDOG_SUPPORT is not set CONFIG_IDENT_STRING="" CONFIG_SPL_STACK_R_ADDR=0x82000000 CONFIG_SPL_FAT_SUPPORT=y CONFIG_ARMV7_LPAE=y # CONFIG_CMD_DEKBLOB is not set # CONFIG_CMD_HDMIDETECT is not set # # ARM debug # # CONFIG_DEBUG_LL is not set CONFIG_DEFAULT_DEVICE_TREE="am571x-idk" CONFIG_SMBIOS_PRODUCT_NAME="" # CONFIG_DEBUG_UART is not set # CONFIG_AHCI is not set # # General setup # CONFIG_LOCALVERSION="" CONFIG_LOCALVERSION_AUTO=y CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_DISTRO_DEFAULTS is not set CONFIG_SYS_MALLOC_F=y CONFIG_SPL_SYS_MALLOC_F_LEN=0x2000 CONFIG_TPL_SYS_MALLOC_F_LEN=0x2000 CONFIG_EXPERT=y CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y # CONFIG_TOOLS_DEBUG is not set # CONFIG_PHYS_64BIT is not set # # Boot images # CONFIG_ANDROID_BOOT_IMAGE=y CONFIG_FIT=y CONFIG_FIT_ENABLE_SHA256_SUPPORT=y # CONFIG_FIT_SIGNATURE is not set # CONFIG_FIT_VERBOSE is not set # CONFIG_FIT_BEST_MATCH is not set CONFIG_SPL_FIT=y # CONFIG_SPL_FIT_SIGNATURE is not set CONFIG_SPL_LOAD_FIT=y # CONFIG_SPL_FIT_IMAGE_POST_PROCESS is not set CONFIG_SPL_FIT_SOURCE="" CONFIG_SPL_FIT_GENERATOR="" CONFIG_OF_BOARD_SETUP=y # CONFIG_OF_SYSTEM_SETUP is not set # CONFIG_OF_STDOUT_VIA_ALIAS is not set CONFIG_SYS_EXTRA_OPTIONS="EMMC_BOOT" CONFIG_ARCH_FIXUP_FDT_MEMORY=y # # API # # CONFIG_API is not set # # Boot timing # # CONFIG_BOOTSTAGE is not set CONFIG_BOOTSTAGE_RECORD_COUNT=30 CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5 CONFIG_BOOTSTAGE_STASH_ADDR=0 CONFIG_BOOTSTAGE_STASH_SIZE=0x1000 # # Boot media # # CONFIG_NAND_BOOT is not set # CONFIG_ONENAND_BOOT is not set CONFIG_QSPI_BOOT=y # CONFIG_SATA_BOOT is not set CONFIG_SD_BOOT=y CONFIG_SPI_BOOT=y CONFIG_BOOTDELAY=2 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard" # CONFIG_USE_BOOTCOMMAND is not set # # Console # # CONFIG_CONSOLE_RECORD is not set CONFIG_LOGLEVEL=4 CONFIG_SPL_LOGLEVEL=4 # CONFIG_SILENT_CONSOLE is not set # CONFIG_PRE_CONSOLE_BUFFER is not set # CONFIG_CONSOLE_MUX is not set # CONFIG_SYS_CONSOLE_IS_IN_ENV is not set # CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set # CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_SYS_STDIO_DEREGISTER is not set # # Logging # # CONFIG_LOG is not set # CONFIG_SPL_LOG is not set CONFIG_DEFAULT_FDT_FILE="" CONFIG_VERSION_VARIABLE=y CONFIG_BOARD_LATE_INIT=y CONFIG_DISPLAY_CPUINFO=y CONFIG_DISPLAY_BOARDINFO=y # # Start-up hooks # # CONFIG_ARCH_EARLY_INIT_R is not set # CONFIG_ARCH_MISC_INIT is not set CONFIG_BOARD_EARLY_INIT_F=y # # Security support # CONFIG_HASH=y # # SPL / TPL # CONFIG_SUPPORT_SPL=y CONFIG_SPL=y CONFIG_SPL_BOARD_INIT=y # CONFIG_SPL_BOOTROM_SUPPORT is not set CONFIG_SPL_RAW_IMAGE_SUPPORT=y CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y # CONFIG_TPL_SYS_MALLOC_SIMPLE is not set CONFIG_SPL_STACK_R=y CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x100000 CONFIG_SPL_SEPARATE_BSS=y CONFIG_SPL_DISPLAY_PRINT=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set # CONFIG_SPL_CRC32_SUPPORT is not set # CONFIG_SPL_MD5_SUPPORT is not set # CONFIG_SPL_SHA1_SUPPORT is not set # CONFIG_SPL_SHA256_SUPPORT is not set # CONFIG_SPL_FIT_IMAGE_TINY is not set # CONFIG_SPL_CPU_SUPPORT is not set # CONFIG_SPL_CRYPTO_SUPPORT is not set # CONFIG_SPL_HASH_SUPPORT is not set CONFIG_SPL_DMA_SUPPORT=y CONFIG_SPL_ENV_SUPPORT=y # CONFIG_SPL_SAVEENV is not set # CONFIG_SPL_ETH_SUPPORT is not set CONFIG_SPL_EXT_SUPPORT=y # CONFIG_SPL_FPGA_SUPPORT is not set CONFIG_SPL_I2C_SUPPORT=y # CONFIG_SPL_MMC_WRITE is not set # CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT is not set # CONFIG_SPL_MTD_SUPPORT is not set # CONFIG_SPL_MUSB_NEW_SUPPORT is not set # CONFIG_SPL_NET_SUPPORT is not set # CONFIG_SPL_NO_CPU_SUPPORT is not set # CONFIG_SPL_NOR_SUPPORT is not set # CONFIG_SPL_XIP_SUPPORT is not set # CONFIG_SPL_ONENAND_SUPPORT is not set CONFIG_SPL_OS_BOOT=y # CONFIG_SPL_PCI_SUPPORT is not set # CONFIG_SPL_PCH_SUPPORT is not set # CONFIG_SPL_POST_MEM_SUPPORT is not set CONFIG_SPL_POWER_SUPPORT=y # CONFIG_SPL_RAM_SUPPORT is not set # CONFIG_SPL_RTC_SUPPORT is not set # CONFIG_SPL_SATA_SUPPORT is not set CONFIG_SPL_THERMAL=y # CONFIG_SPL_USB_HOST_SUPPORT is not set # CONFIG_SPL_USB_GADGET_SUPPORT is not set # CONFIG_SPL_YMODEM_SUPPORT is not set # # Command line interface # CONFIG_CMDLINE=y CONFIG_HUSH_PARSER=y CONFIG_SYS_PROMPT="HUR-BOOT> " # # Autoboot options # CONFIG_AUTOBOOT=y # CONFIG_AUTOBOOT_KEYED is not set # # FASTBOOT # # # Commands # # # Info commands # CONFIG_CMD_BDI=y # CONFIG_CMD_CONFIG is not set # CONFIG_CMD_CONSOLE is not set # CONFIG_CMD_CPU is not set # CONFIG_CMD_LICENSE is not set # # Boot commands # CONFIG_CMD_BOOTD=y CONFIG_CMD_BOOTM=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_BOOTEFI=y CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y # CONFIG_CMD_BOOTEFI_HELLO is not set # CONFIG_CMD_BOOTEFI_SELFTEST is not set # CONFIG_CMD_BOOTMENU is not set CONFIG_CMD_ELF=y CONFIG_CMD_FDT=y CONFIG_CMD_GO=y CONFIG_CMD_RUN=y # CONFIG_CMD_IMI is not set # CONFIG_CMD_IMLS is not set CONFIG_CMD_XIMG=y # CONFIG_CMD_POWEROFF is not set CONFIG_CMD_SPL=y CONFIG_CMD_SPL_NAND_OFS=0 CONFIG_CMD_SPL_WRITE_SIZE=0x2000 # CONFIG_CMD_THOR_DOWNLOAD is not set # CONFIG_CMD_ZBOOT is not set # # Environment commands # # CONFIG_CMD_ASKENV is not set CONFIG_CMD_EXPORTENV=y CONFIG_CMD_IMPORTENV=y CONFIG_CMD_EDITENV=y # CONFIG_CMD_GREPENV is not set CONFIG_CMD_SAVEENV=y CONFIG_CMD_ENV_EXISTS=y # CONFIG_CMD_ENV_CALLBACK is not set # CONFIG_CMD_ENV_FLAGS is not set # # Memory commands # CONFIG_CMD_CRC32=y # CONFIG_CRC32_VERIFY is not set CONFIG_CMD_EEPROM=y # CONFIG_CMD_EEPROM_LAYOUT is not set # CONFIG_LOOPW is not set # CONFIG_CMD_MD5SUM is not set CONFIG_CMD_MEMINFO=y CONFIG_CMD_MEMORY=y # CONFIG_CMD_MEMTEST is not set # CONFIG_CMD_MX_CYCLIC is not set # CONFIG_CMD_SHA1SUM is not set # CONFIG_CMD_STRINGS is not set # # Compression commands # # CONFIG_CMD_LZMADEC is not set # CONFIG_CMD_UNZIP is not set # CONFIG_CMD_ZIP is not set # # Device access commands # # CONFIG_CMD_ARMFLASH is not set # CONFIG_CMD_CLK is not set # CONFIG_CMD_DEMO is not set # CONFIG_CMD_DFU is not set CONFIG_CMD_DM=y # CONFIG_CMD_FDC is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_FPGA is not set # CONFIG_CMD_FPGAD is not set # CONFIG_CMD_FUSE is not set CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_RANDOM_UUID=y CONFIG_CMD_GPT_RENAME=y # CONFIG_CMD_IDE is not set # CONFIG_CMD_IO is not set # CONFIG_CMD_IOTRACE is not set CONFIG_CMD_I2C=y CONFIG_CMD_LOADB=y CONFIG_CMD_LOADS=y CONFIG_CMD_MMC=y # CONFIG_CMD_NAND is not set # CONFIG_CMD_MMC_SPI is not set # CONFIG_CMD_ONENAND is not set CONFIG_CMD_PART=y # CONFIG_CMD_PCI is not set # CONFIG_CMD_PCMCIA is not set # CONFIG_CMD_READ is not set # CONFIG_CMD_SATA is not set # CONFIG_CMD_SAVES is not set # CONFIG_CMD_SDRAM is not set CONFIG_CMD_SF=y # CONFIG_CMD_SF_TEST is not set # CONFIG_CMD_SPI is not set # CONFIG_CMD_TSI148 is not set # CONFIG_CMD_UNIVERSE is not set # CONFIG_CMD_USB is not set # CONFIG_CMD_USB_SDP is not set # CONFIG_CMD_USB_MASS_STORAGE is not set # # Shell scripting commands # CONFIG_CMD_ECHO=y CONFIG_CMD_ITEST=y CONFIG_CMD_SOURCE=y # CONFIG_CMD_SETEXPR is not set # # Network commands # CONFIG_CMD_NET=y # CONFIG_CMD_TFTPPUT is not set # CONFIG_CMD_TFTPSRV is not set # CONFIG_CMD_RARP is not set CONFIG_CMD_DHCP=y # CONFIG_CMD_PXE is not set CONFIG_CMD_NFS=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y # CONFIG_CMD_CDP is not set # CONFIG_CMD_SNTP is not set # CONFIG_CMD_DNS is not set # CONFIG_CMD_LINK_LOCAL is not set # CONFIG_CMD_ETHSW is not set # # Misc commands # CONFIG_CMD_BMP=y # CONFIG_CMD_BSP is not set # CONFIG_CMD_BKOPS_ENABLE is not set # CONFIG_CMD_CACHE is not set # CONFIG_CMD_DISPLAY is not set # CONFIG_CMD_LED is not set # CONFIG_CMD_DATE is not set CONFIG_CMD_TIME=y # CONFIG_CMD_GETTIME is not set CONFIG_CMD_MISC=y # CONFIG_CMD_TIMER is not set # CONFIG_CMD_QFW is not set # CONFIG_CMD_TERMINAL is not set CONFIG_CMD_UUID=y # # TI specific command line interface # CONFIG_CMD_DDR3=y # # Power commands # CONFIG_CMD_PMIC=y # CONFIG_CMD_REGULATOR is not set # # Security commands # # CONFIG_CMD_AES is not set # CONFIG_CMD_BLOB is not set # CONFIG_CMD_HASH is not set # # Firmware commands # # # Filesystem commands # # CONFIG_CMD_BTRFS is not set # CONFIG_CMD_EXT2 is not set CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y # CONFIG_CMD_FS_UUID is not set # CONFIG_CMD_JFFS2 is not set # CONFIG_CMD_MTDPARTS is not set # CONFIG_CMD_REISER is not set # CONFIG_CMD_SCSI is not set # CONFIG_CMD_ZFS is not set # # Debug commands # # CONFIG_CMD_BEDBUG is not set # CONFIG_CMD_DIAG is not set # CONFIG_CMD_KGDB is not set # CONFIG_CMD_LOG is not set # CONFIG_CMD_TRACE is not set # CONFIG_CMD_UBI is not set # # Partition Types # CONFIG_PARTITIONS=y # CONFIG_MAC_PARTITION is not set # CONFIG_SPL_MAC_PARTITION is not set CONFIG_DOS_PARTITION=y CONFIG_SPL_DOS_PARTITION=y CONFIG_ISO_PARTITION=y CONFIG_SPL_ISO_PARTITION=y # CONFIG_AMIGA_PARTITION is not set # CONFIG_SPL_AMIGA_PARTITION is not set CONFIG_EFI_PARTITION=y CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=128 CONFIG_EFI_PARTITION_ENTRIES_OFF=0 # CONFIG_SPL_EFI_PARTITION is not set CONFIG_PARTITION_UUIDS=y # CONFIG_SPL_PARTITION_UUIDS is not set # CONFIG_PARTITION_TYPE_GUID is not set CONFIG_SUPPORT_OF_CONTROL=y CONFIG_DTC=y # # Device Tree Control # CONFIG_OF_CONTROL=y # CONFIG_OF_BOARD_FIXUP is not set CONFIG_SPL_OF_CONTROL=y # CONFIG_OF_LIVE is not set CONFIG_OF_SEPARATE=y # CONFIG_OF_EMBED is not set # CONFIG_OF_BOARD is not set CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk am574x-idk" # CONFIG_MULTI_DTB_FIT is not set # CONFIG_SPL_MULTI_DTB_FIT is not set CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clocks clock-names interrupt-parent" # CONFIG_SPL_OF_PLATDATA is not set CONFIG_MKIMAGE_DTC_PATH="dtc" # # Environment # # CONFIG_ENV_IS_NOWHERE is not set # CONFIG_ENV_IS_IN_EEPROM is not set # CONFIG_ENV_IS_IN_FAT is not set # CONFIG_ENV_IS_IN_FLASH is not set CONFIG_ENV_IS_IN_MMC=y # CONFIG_ENV_IS_IN_NAND is not set # CONFIG_ENV_IS_IN_NVRAM is not set # CONFIG_ENV_IS_IN_ONENAND is not set # CONFIG_ENV_IS_IN_REMOTE is not set # CONFIG_ENV_IS_IN_SPI_FLASH is not set # CONFIG_ENV_IS_IN_UBI is not set CONFIG_NET=y # CONFIG_NET_RANDOM_ETHADDR is not set # CONFIG_NETCONSOLE is not set CONFIG_NET_TFTP_VARS=y CONFIG_BOOTP_PXE_CLIENTARCH=0x15 CONFIG_BOOTP_VCI_STRING="U-Boot.armv7" # # Device Drivers # # # Generic Driver Options # CONFIG_DM=y CONFIG_SPL_DM=y CONFIG_DM_WARN=y # CONFIG_DM_DEBUG is not set CONFIG_DM_DEVICE_REMOVE=y CONFIG_DM_STDIO=y CONFIG_DM_SEQ_ALIAS=y # CONFIG_SPL_DM_SEQ_ALIAS is not set CONFIG_REGMAP=y # CONFIG_SPL_REGMAP is not set CONFIG_SYSCON=y # CONFIG_DEVRES is not set CONFIG_SIMPLE_BUS=y CONFIG_SPL_SIMPLE_BUS=y CONFIG_OF_TRANSLATE=y # CONFIG_SPL_OF_TRANSLATE is not set CONFIG_DM_DEV_READ_INLINE=y # CONFIG_ADC is not set # CONFIG_ADC_EXYNOS is not set # CONFIG_ADC_SANDBOX is not set # CONFIG_SARADC_ROCKCHIP is not set # CONFIG_SATA is not set CONFIG_LIBATA=y CONFIG_SCSI_AHCI=y # # SATA/SCSI device support # # CONFIG_DWC_AHSATA is not set # CONFIG_FSL_SATA is not set # CONFIG_MVSATA_IDE is not set # CONFIG_SATA_MV is not set # CONFIG_SATA_SIL is not set # CONFIG_SATA_SIL3114 is not set # CONFIG_BLK is not set # CONFIG_BLOCK_CACHE is not set # CONFIG_IDE is not set # # Boot count support # # CONFIG_BOOTCOUNT is not set # # Clock # # CONFIG_CLK is not set # CONFIG_CPU is not set # # Hardware crypto devices # # CONFIG_FSL_CAAM is not set # CONFIG_SYS_FSL_SEC_BE is not set # CONFIG_SYS_FSL_SEC_LE is not set # # Demo for driver model # # CONFIG_DM_DEMO is not set # # DFU support # # # DMA Support # # CONFIG_DMA is not set # CONFIG_TI_EDMA3 is not set # # FPGA support # # CONFIG_FPGA_ALTERA is not set # CONFIG_FPGA_SOCFPGA is not set # CONFIG_FPGA_XILINX is not set # # GPIO Support # CONFIG_DM_GPIO=y # CONFIG_ALTERA_PIO is not set # CONFIG_DWAPB_GPIO is not set # CONFIG_AT91_GPIO is not set # CONFIG_ATMEL_PIO4 is not set # CONFIG_INTEL_BROADWELL_GPIO is not set # CONFIG_INTEL_ICH6_GPIO is not set # CONFIG_IMX_RGPIO2P is not set # CONFIG_HSDK_CREG_GPIO is not set # CONFIG_LPC32XX_GPIO is not set # CONFIG_MSM_GPIO is not set CONFIG_OMAP_GPIO=y # CONFIG_CMD_PCA953X is not set # CONFIG_PCF8575_GPIO is not set # CONFIG_ROCKCHIP_GPIO is not set # CONFIG_CMD_TCA642X is not set # CONFIG_TEGRA_GPIO is not set # CONFIG_TEGRA186_GPIO is not set # CONFIG_VYBRID_GPIO is not set # CONFIG_DM_74X164 is not set # CONFIG_DM_PCA953X is not set # CONFIG_MPC85XX_GPIO is not set # # I2C support # CONFIG_DM_I2C=y # CONFIG_DM_I2C_COMPAT is not set # CONFIG_I2C_SET_DEFAULT_BUS_NUM is not set # CONFIG_DM_I2C_GPIO is not set # CONFIG_SYS_I2C_FSL is not set # CONFIG_SYS_I2C_DW is not set # CONFIG_SYS_I2C_INTEL is not set # CONFIG_SYS_I2C_IMX_LPI2C is not set CONFIG_SYS_I2C_OMAP24XX=y # CONFIG_SYS_I2C_ROCKCHIP is not set # CONFIG_SYS_I2C_MVTWSI is not set CONFIG_SYS_I2C_BUS_MAX=5 # CONFIG_I2C_MUX is not set # CONFIG_DM_KEYBOARD is not set # CONFIG_CROS_EC_KEYB is not set # # LED Support # # CONFIG_LED is not set # CONFIG_SPL_LED is not set # CONFIG_LED_STATUS is not set # # Mailbox Controller Support # # CONFIG_DM_MAILBOX is not set # # Memory Controller drivers # # # Multifunction device drivers # CONFIG_MISC=y # CONFIG_ALTERA_SYSID is not set # CONFIG_ATSHA204A is not set # CONFIG_ROCKCHIP_EFUSE is not set # CONFIG_CROS_EC is not set # CONFIG_DS4510 is not set # CONFIG_FSL_SEC_MON is not set # CONFIG_MXC_OCOTP is not set # CONFIG_NUVOTON_NCT6102D is not set # CONFIG_PWRSEQ is not set # CONFIG_PCA9551_LED is not set # CONFIG_WINBOND_W83627 is not set # CONFIG_I2C_EEPROM is not set # CONFIG_SPL_I2C_EEPROM is not set # # MMC Host controller Support # CONFIG_MMC=y CONFIG_MMC_WRITE=y # CONFIG_MMC_BROKEN_CD is not set CONFIG_DM_MMC=y CONFIG_SPL_DM_MMC=y # CONFIG_ARM_PL180_MMCI is not set CONFIG_MMC_QUIRKS=y CONFIG_MMC_HW_PARTITIONING=y CONFIG_MMC_IO_VOLTAGE=y # CONFIG_SPL_MMC_IO_VOLTAGE is not set CONFIG_MMC_UHS_SUPPORT=y # CONFIG_MMC_HS200_SUPPORT is not set # CONFIG_SPL_MMC_HS200_SUPPORT is not set CONFIG_MMC_VERBOSE=y # CONFIG_SPL_MMC_TINY is not set # CONFIG_MMC_DW is not set # CONFIG_MMC_MXC is not set # CONFIG_MMC_MXS is not set # CONFIG_MMC_PCI is not set CONFIG_MMC_OMAP_HS=y # CONFIG_MMC_SDHCI is not set # CONFIG_FTSDC010 is not set # # MTD Support # # CONFIG_MTD is not set # CONFIG_MTD_NOR_FLASH is not set # CONFIG_NAND is not set # # SPI Flash Support # CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SF_DUAL_FLASH=y # CONFIG_SPI_FLASH_ATMEL is not set # CONFIG_SPI_FLASH_EON is not set # CONFIG_SPI_FLASH_GIGADEVICE is not set # CONFIG_SPI_FLASH_MACRONIX is not set CONFIG_SPI_FLASH_SPANSION=y # CONFIG_SPI_FLASH_STMICRO is not set # CONFIG_SPI_FLASH_SST is not set CONFIG_SPI_FLASH_WINBOND=y CONFIG_SPI_FLASH_USE_4K_SECTORS=y # CONFIG_SPI_FLASH_DATAFLASH is not set # CONFIG_SPI_FLASH_MTD is not set # # UBI support # # CONFIG_MTD_UBI is not set # CONFIG_BITBANGMII is not set # CONFIG_MV88E6352_SWITCH is not set CONFIG_PHYLIB=y # CONFIG_MV88E61XX_SWITCH is not set # CONFIG_PHYLIB_10G is not set # CONFIG_PHY_AQUANTIA is not set # CONFIG_PHY_ATHEROS is not set # CONFIG_PHY_BROADCOM is not set # CONFIG_PHY_CORTINA is not set # CONFIG_PHY_DAVICOM is not set # CONFIG_PHY_ET1011C is not set # CONFIG_PHY_LXT is not set # CONFIG_PHY_MARVELL is not set # CONFIG_PHY_MESON_GXL is not set CONFIG_PHY_MICREL=y CONFIG_PHY_MICREL_KSZ90X1=y # CONFIG_PHY_MICREL_KSZ8XXX is not set # CONFIG_PHY_MSCC is not set # CONFIG_PHY_NATSEMI is not set # CONFIG_PHY_REALTEK is not set # CONFIG_PHY_SMSC is not set # CONFIG_PHY_TERANETICS is not set # CONFIG_PHY_TI is not set # CONFIG_PHY_VITESSE is not set # CONFIG_PHY_XILINX is not set # CONFIG_PHY_FIXED is not set CONFIG_DM_ETH=y CONFIG_NETDEVICES=y CONFIG_PHY_GIGE=y # CONFIG_ALTERA_TSE is not set # CONFIG_BCM_SF2_ETH is not set # CONFIG_DWC_ETH_QOS is not set # CONFIG_E1000 is not set # CONFIG_ETH_DESIGNWARE is not set # CONFIG_ETHOC is not set # CONFIG_FTMAC100 is not set # CONFIG_MACB is not set # CONFIG_RGMII is not set # CONFIG_RTL8139 is not set # CONFIG_RTL8169 is not set # CONFIG_SMC911X is not set # CONFIG_SUN7I_GMAC is not set # CONFIG_SUN4I_EMAC is not set # CONFIG_SUN8I_EMAC is not set # CONFIG_PCI is not set # # PHY Subsystem # CONFIG_PHY=y # CONFIG_SPL_PHY is not set # CONFIG_NOP_PHY is not set CONFIG_PIPE3_PHY=y # CONFIG_OMAP_USB2_PHY is not set # CONFIG_MVEBU_COMPHY_SUPPORT is not set # # Pin controllers # # CONFIG_PINCTRL is not set # CONFIG_SPL_PINCTRL is not set # # Power # # # Power Domain Support # # CONFIG_POWER_DOMAIN is not set CONFIG_DM_PMIC=y CONFIG_PMIC_CHILDREN=y CONFIG_SPL_PMIC_CHILDREN=y # CONFIG_PMIC_ACT8846 is not set # CONFIG_PMIC_AS3722 is not set # CONFIG_DM_PMIC_PFUZE100 is not set # CONFIG_DM_PMIC_MAX77686 is not set # CONFIG_DM_PMIC_MAX8998 is not set # CONFIG_PMIC_MAX8997 is not set # CONFIG_PMIC_PM8916 is not set # CONFIG_PMIC_RK8XX is not set # CONFIG_PMIC_S2MPS11 is not set # CONFIG_DM_PMIC_SANDBOX is not set # CONFIG_PMIC_S5M8767 is not set # CONFIG_PMIC_RN5T567 is not set # CONFIG_PMIC_TPS65090 is not set CONFIG_PMIC_PALMAS=y # CONFIG_PMIC_LP873X is not set # CONFIG_PMIC_LP87565 is not set # CONFIG_POWER_MC34VR500 is not set # CONFIG_DM_PMIC_TPS65910 is not set CONFIG_DM_REGULATOR=y # CONFIG_SPL_DM_REGULATOR is not set # CONFIG_REGULATOR_PWM is not set # CONFIG_DM_REGULATOR_FIXED is not set # CONFIG_DM_REGULATOR_GPIO is not set CONFIG_DM_REGULATOR_PALMAS=y CONFIG_DM_REGULATOR_PBIAS=y # CONFIG_DM_PWM is not set # CONFIG_PWM_SANDBOX is not set # CONFIG_RAM is not set # # Remote Processor drivers # # # Reset Controller Support # # CONFIG_DM_RESET is not set # # Real Time Clock # # CONFIG_DM_RTC is not set # CONFIG_RTC_S35392A is not set # CONFIG_SCSI is not set # # Serial drivers # CONFIG_BAUDRATE=115200 CONFIG_REQUIRE_SERIAL_CONSOLE=y CONFIG_SERIAL_PRESENT=y CONFIG_SPL_SERIAL_PRESENT=y CONFIG_DM_SERIAL=y # CONFIG_SERIAL_RX_BUFFER is not set CONFIG_SPL_DM_SERIAL=y # CONFIG_TPL_DM_SERIAL is not set # CONFIG_DEBUG_UART_SKIP_INIT is not set # CONFIG_ALTERA_JTAG_UART is not set # CONFIG_ALTERA_UART is not set # CONFIG_ATMEL_USART is not set # CONFIG_FSL_LPUART is not set # CONFIG_MVEBU_A3700_UART is not set # CONFIG_NULLDEV_SERIAL is not set CONFIG_SYS_NS16550=y # CONFIG_MSM_SERIAL is not set # CONFIG_PXA_SERIAL is not set # # Sound support # # CONFIG_SOUND is not set # # SPI Support # CONFIG_DM_SPI=y # CONFIG_ALTERA_SPI is not set # CONFIG_CADENCE_QSPI is not set # CONFIG_DESIGNWARE_SPI is not set # CONFIG_EXYNOS_SPI is not set # CONFIG_FSL_DSPI is not set # CONFIG_ICH_SPI is not set # CONFIG_MVEBU_A3700_SPI is not set # CONFIG_ROCKCHIP_SPI is not set # CONFIG_TEGRA114_SPI is not set # CONFIG_TEGRA20_SFLASH is not set # CONFIG_TEGRA20_SLINK is not set # CONFIG_TEGRA210_QSPI is not set # CONFIG_XILINX_SPI is not set # CONFIG_SOFT_SPI is not set # CONFIG_FSL_ESPI is not set # CONFIG_FSL_QSPI is not set # CONFIG_ATCSPI200_SPI is not set CONFIG_TI_QSPI=y CONFIG_OMAP3_SPI=y # # SPMI support # # CONFIG_SPMI is not set # # System reset device drivers # # CONFIG_SYSRESET is not set # CONFIG_SYSRESET_SYSCON is not set # CONFIG_SYSRESET_WATCHDOG is not set CONFIG_DM_THERMAL=y CONFIG_TI_DRA7_THERMAL=y # # Timer Support # # CONFIG_TIMER is not set # # TPM support # # CONFIG_USB is not set # # Graphics support # CONFIG_DM_VIDEO=y # CONFIG_BACKLIGHT_GPIO is not set CONFIG_VIDEO_BPP8=y CONFIG_VIDEO_BPP16=y CONFIG_VIDEO_BPP32=y CONFIG_VIDEO_ANSI=y CONFIG_CONSOLE_NORMAL=y # CONFIG_CONSOLE_ROTATION is not set # CONFIG_CONSOLE_TRUETYPE is not set # CONFIG_SYS_WHITE_ON_BLACK is not set # CONFIG_NO_FB_CLEAR is not set # # TrueType Fonts # # CONFIG_VIDCONSOLE_AS_LCD is not set # CONFIG_VIDEO_VESA is not set # CONFIG_VIDEO_LCD_ANX9804 is not set # CONFIG_VIDEO_LCD_SSD2828 is not set # CONFIG_VIDEO_MVEBU is not set # CONFIG_I2C_EDID is not set # CONFIG_DISPLAY is not set # CONFIG_ATMEL_HLCD is not set # CONFIG_VIDEO_ROCKCHIP is not set # CONFIG_VIDEO_STM32 is not set # CONFIG_VIDEO_TEGRA20 is not set # CONFIG_VIDEO_TEGRA124 is not set # CONFIG_VIDEO_BRIDGE is not set CONFIG_CONSOLE_SCROLL_LINES=1 # CONFIG_LCD is not set # CONFIG_VIDEO_SIMPLE is not set CONFIG_VIDEO_DT_SIMPLEFB=y # # Watchdog Timer Support # # CONFIG_BCM2835_WDT is not set # CONFIG_OMAP_WATCHDOG is not set # CONFIG_ULP_WATCHDOG is not set # CONFIG_WDT is not set # CONFIG_PHYS_TO_BUS is not set # # File systems # # CONFIG_FS_BTRFS is not set # CONFIG_FS_CBFS is not set CONFIG_FS_FAT=y # CONFIG_FAT_WRITE is not set CONFIG_FS_FAT_MAX_CLUSTSIZE=65536 # CONFIG_FS_JFFS2 is not set # CONFIG_FS_CRAMFS is not set # CONFIG_YAFFS2 is not set # # Library routines # # CONFIG_BCH is not set # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set # CONFIG_DYNAMIC_CRC_TABLE is not set CONFIG_HAVE_PRIVATE_LIBGCC=y CONFIG_USE_PRIVATE_LIBGCC=y CONFIG_SYS_HZ=1000 # CONFIG_USE_TINY_PRINTF is not set # CONFIG_PANIC_HANG is not set CONFIG_REGEX=y # CONFIG_LIB_RAND is not set # CONFIG_SPL_TINY_MEMSET is not set # CONFIG_TPL_TINY_MEMSET is not set # CONFIG_BITREVERSE is not set # CONFIG_CMD_DHRYSTONE is not set # # Security support # # CONFIG_AES is not set # CONFIG_RSA is not set # CONFIG_TPM is not set # # Hashing Support # CONFIG_SHA1=y CONFIG_SHA256=y # CONFIG_SHA_HW_ACCEL is not set CONFIG_MD5=y # # Compression Support # # CONFIG_LZ4 is not set # CONFIG_LZMA is not set # CONFIG_LZO is not set # CONFIG_SPL_LZO is not set # CONFIG_SPL_GZIP is not set # CONFIG_ERRNO_STR is not set CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_SPL_OF_LIBFDT=y # CONFIG_FDT_FIXUP_PARTITIONS is not set # # System tables # CONFIG_GENERATE_SMBIOS_TABLE=y CONFIG_SMBIOS_MANUFACTURER="" CONFIG_EFI_LOADER=y # CONFIG_UNIT_TEST is not set
3. You latest version of DTS and mux_data.h files
/* * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include "am57xx-industrial-grade.dtsi" / { aliases { rtc0 = &tps659038_rtc; rtc1 = &rtc; }; chosen { stdout-path = &uart2; /* sootoo23 - uart change origin: &uart3; */ }; vmain: fixedregulator-vmain { compatible = "regulator-fixed"; regulator-name = "VMAIN"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-always-on; regulator-boot-on; }; v3_3d: fixedregulator-v3_3d { compatible = "regulator-fixed"; regulator-name = "V3_3D"; vin-supply = <&smps9_reg>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; vtt_fixed: fixedregulator-vtt { /* TPS51200 */ compatible = "regulator-fixed"; regulator-name = "vtt_fixed"; vin-supply = <&v3_3d>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; leds-iio { status = "disabled"; compatible = "gpio-leds"; led-out0 { label = "out0"; gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out1 { label = "out1"; gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out2 { label = "out2"; gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out3 { label = "out3"; gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out4 { label = "out4"; gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out5 { label = "out5"; gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out6 { label = "out6"; gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>; default-state = "off"; }; led-out7 { label = "out7"; gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>; default-state = "off"; }; }; }; &dra7_pmx_core { dcan1_pins_default: dcan1_pins_default { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */ DRA7XX_CORE_IOPAD(0x37d4, PIN_INPUT_PULLUP | MUX_MODE0) /* dcan1_rx */ >; }; dcan1_pins_sleep: dcan1_pins_sleep { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */ DRA7XX_CORE_IOPAD(0x37d4, MUX_MODE15 | PULL_UP) /* dcan1_rx.off */ >; }; }; &i2c1 { status = "okay"; clock-frequency = <400000>; tps659038: tps659038@58 { compatible = "ti,tps659038"; reg = <0x58>; interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH &dra7_pmx_core 0x418>; #interrupt-cells = <2>; interrupt-controller; ti,system-power-controller; ti,palmas-override-powerhold; tps659038_pmic { compatible = "ti,tps659038-pmic"; smps12-in-supply = <&vmain>; smps3-in-supply = <&vmain>; smps45-in-supply = <&vmain>; smps6-in-supply = <&vmain>; smps7-in-supply = <&vmain>; smps8-in-supply = <&vmain>; smps9-in-supply = <&vmain>; ldo1-in-supply = <&vmain>; ldo2-in-supply = <&vmain>; ldo3-in-supply = <&vmain>; ldo4-in-supply = <&vmain>; ldo9-in-supply = <&vmain>; ldoln-in-supply = <&vmain>; ldousb-in-supply = <&vmain>; ldortc-in-supply = <&vmain>; regulators { smps12_reg: smps12 { /* VDD_MPU */ regulator-name = "smps12"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; }; smps3_reg: smps3 { /* VDD_DDR EMIF1 EMIF2 */ regulator-name = "smps3"; regulator-min-microvolt = <1350000>; regulator-max-microvolt = <1350000>; regulator-always-on; regulator-boot-on; }; smps45_reg: smps45 { /* VDD_DSPEVE on AM572 */ /* VDD_IVA + VDD_DSP on AM571 */ regulator-name = "smps45"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; }; smps6_reg: smps6 { /* VDD_GPU */ regulator-name = "smps6"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1250000>; regulator-always-on; regulator-boot-on; }; smps7_reg: smps7 { /* VDD_CORE */ regulator-name = "smps7"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <1150000>; regulator-always-on; regulator-boot-on; }; smps8_reg: smps8 { /* 5728 - VDD_IVAHD */ /* 5718 - N.C. test point */ regulator-name = "smps8"; }; smps9_reg: smps9 { /* VDD_3_3D */ regulator-name = "smps9"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; ldo1_reg: ldo1 { /* VDDSHV8 - VSDMMC */ /* NOTE: on rev 1.3a, data supply */ regulator-name = "ldo1"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; }; ldo2_reg: ldo2 { /* VDDSH18V */ regulator-name = "ldo2"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldo3_reg: ldo3 { /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */ regulator-name = "ldo3"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldo4_reg: ldo4 { /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/ regulator-name = "ldo4"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; /* LDO5-8 unused */ ldo9_reg: ldo9 { /* VDD_RTC */ regulator-name = "ldo9"; regulator-min-microvolt = <840000>; regulator-max-microvolt = <1160000>; regulator-always-on; regulator-boot-on; }; ldoln_reg: ldoln { /* VDDA_1V8_PLL */ regulator-name = "ldoln"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; ldousb_reg: ldousb { /* VDDA_3V_USB: VDDA_USBHS33 */ regulator-name = "ldousb"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-boot-on; }; ldortc_reg: ldortc { /* VDDA_RTC */ regulator-name = "ldortc"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; regulator-boot-on; }; regen1: regen1 { /* VDD_3V3_ON */ regulator-name = "regen1"; regulator-boot-on; regulator-always-on; }; regen2: regen2 { /* Needed for PMIC internal resource */ regulator-name = "regen2"; regulator-boot-on; regulator-always-on; }; }; }; tps659038_rtc: tps659038_rtc { compatible = "ti,palmas-rtc"; interrupt-parent = <&tps659038>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; wakeup-source; }; tps659038_pwr_button: tps659038_pwr_button { compatible = "ti,palmas-pwrbutton"; interrupt-parent = <&tps659038>; interrupts = <1 IRQ_TYPE_EDGE_FALLING>; wakeup-source; ti,palmas-long-press-seconds = <12>; }; tps659038_gpio: tps659038_gpio { compatible = "ti,palmas-gpio"; gpio-controller; #gpio-cells = <2>; }; extcon_usb2: tps659038_usb { compatible = "ti,palmas-usb-vid"; ti,enable-vbus-detection; ti,enable-id-detection; /* ID & VBUS GPIOs provided in board dts */ }; }; tpic2810: tpic2810@60 { compatible = "ti,tpic2810"; reg = <0x60>; gpio-controller; #gpio-cells = <2>; }; }; &i2c5 { status = "okay"; clock-frequency = <200000>; }; &mcspi3 { status = "okay"; ti,pindir-d0-out-d1-in; sn65hvs882: sn65hvs882@0 { compatible = "pisosr-gpio"; gpio-controller; #gpio-cells = <2>; reg = <0>; spi-max-frequency = <1000000>; spi-cpol; }; }; /* sootoo23 - 171207: UART1 Define - HMI Console */ &uart1 { status = "okay"; interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, <&dra7_pmx_core 0x3e0>; }; /*sootoo23 - 170302: UART2,9 Define*/ &uart2 { status = "okay"; }; &uart3 { status = "okay"; interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH &dra7_pmx_core 0x248>; }; &uart9 { status = "okay"; }; &rtc { status = "okay"; ext-clk-src; }; &mac { status = "okay"; dual_emac; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rgmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rgmii"; dual_emac_res_vlan = <2>; }; &usb2_phy1 { phy-supply = <&ldousb_reg>; }; &usb2_phy2 { phy-supply = <&ldousb_reg>; }; &usb1 { dr_mode = "host"; }; &usb2 { dr_mode = "peripheral"; }; &mmc1 { status = "okay"; vmmc-supply = <&v3_3d>; vqmmc-supply = <&ldo1_reg>; bus-width = <4>; cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &mmc2 { status = "okay"; vmmc-supply = <&v3_3d>; bus-width = <8>; ti,non-removable; max-frequency = <96000000>; no-1-8-v; /delete-property/ mmc-hs200-1_8v; }; &dcan1 { status = "okay"; pinctrl-names = "default", "sleep", "active"; pinctrl-0 = <&dcan1_pins_sleep>; pinctrl-1 = <&dcan1_pins_sleep>; pinctrl-2 = <&dcan1_pins_default>; }; &qspi { u-boot,dm-spl; status = "okay"; spi-max-frequency = <76800000>; m25p80@0 { compatible = "s25fl256s","spi-flash"; spi-max-frequency = <76800000>; reg = <0>; spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; #address-cells = <1>; #size-cells = <1>; /* MTD partition table. * The ROM checks the first four physical blocks * for a valid file to boot and the flash here is * 64KiB block size. */ partition@0 { label = "QSPI.SPL"; reg = <0x00000000 0x000040000>; //256K }; partition@1 { label = "QSPI.u-boot"; reg = <0x000040000 0x00100000>; //1MB }; partition@2 { label = "QSPI.env"; reg = <0x000140000 0x000040000>; //256K }; partition@3 { label = "QSPI.dtb"; reg = <0x00180000 0x000040000>; //256K }; partition@4 { label = "QSPI.kernel"; reg = <0x001C0000 0x00400000>; //4MB }; partition@5 { label = "QSPI.app"; reg = <0x005C0000 0x0F00000>; //16MB }; }; };
/* * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1/; #include "dra72x.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> #include "am57xx-idk-common.dtsi" #include "dra72x-mmc-iodelay.dtsi" / { model = "TI AM5718 IDK"; compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x40000000>; }; leds { compatible = "gpio-leds"; cpu0-led { label = "status0:red:cpu0"; gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "cpu0"; }; usr0-led { label = "status0:green:usr"; gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; default-state = "off"; }; heartbeat-led { label = "status0:blue:heartbeat"; gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "heartbeat"; }; #if 0 usr1-led { label = "status1:red:usr"; gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>; default-state = "off"; }; usr2-led { label = "status1:green:usr"; gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; default-state = "off"; }; #endif mmc0-led { label = "status1:blue:mmc0"; gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "mmc0"; }; }; }; &omap_dwc3_2 { extcon = <&extcon_usb2>; }; &extcon_usb2 { id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; }; &mailbox5 { status = "okay"; mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { status = "okay"; }; mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { status = "okay"; }; }; &mailbox6 { status = "okay"; mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { status = "okay"; }; }; &pcie1_rc { status = "okay"; gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; }; &pcie1_ep { gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; }; &mmc1 { pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_hs>; pinctrl-2 = <&mmc1_pins_sdr12>; pinctrl-3 = <&mmc1_pins_sdr25>; pinctrl-4 = <&mmc1_pins_sdr50>; pinctrl-5 = <&mmc1_pins_ddr50_rev20 &mmc1_iodelay_ddr50_conf>; pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; }; &mmc2 { pinctrl-names = "default", "hs", "ddr_1_8v"; pinctrl-0 = <&mmc2_pins_default>; pinctrl-1 = <&mmc2_pins_hs>; pinctrl-2 = <&mmc2_pins_ddr_rev20 &mmc2_iodelay_ddr_conf>; };
4. How exactly you flash MLO/u-boot.img in QSPI flash? Please provide the log during flashing.
1. sf probe
SF: Detected s25fl256s_64k with page size 256 Bytes, erase size 64 KiB, total 32 MiB, mapped at 5c000000
2. MLO Write log
Filename 'MLO'.
Load address: 0x82000000
Loading: #######################
2.8 MiB/s
done
Bytes transferred = 114886 (1c0c6 hex)
SF: 262144 bytes @ 0x0 Erased: OK
device 0 offset 0x0, size 0x1c0c6
SF: 114886 bytes @ 0x0 Written: OK
3. u-boot Write log
Filename 'u-boot.img'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
############################################################
2.9 MiB/s
done
Bytes transferred = 968400 (ec6d0 hex)
SF: 1048576 bytes @ 0x40000 Erased: OK
device 0 offset 0x40000, size 0xec6d0
SF: 968400 bytes @ 0x40000 Written: OK
I tried the following changes, but the problem was not resolved.
#
# Generic Driver Options
#
CONFIG_DM=y
CONFIG_SPL_DM=y
CONFIG_DM_WARN=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_DEVICE_REMOVE=y
CONFIG_DM_STDIO=y
CONFIG_DM_SEQ_ALIAS=y
CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_REGMAP=y
CONFIG_SPL_REGMAP=y
CONFIG_SYSCON=y
CONFIG_SPL_SYSCON=y
# CONFIG_DEVRES is not set
CONFIG_SIMPLE_BUS=y
CONFIG_SPL_SIMPLE_BUS=y
CONFIG_OF_TRANSLATE=y
# CONFIG_SPL_OF_TRANSLATE is not set
I just tried tried this:
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index ea94f7c6d7..954a58e9c9 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -42,6 +42,11 @@ CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc
CONFIG_ENV_IS_IN_MMC=y
CONFIG_DM=y
CONFIG_SPL_DM=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_REGMAP=y
+CONFIG_SPL_REGMAP=y
+CONFIG_SYSCON=y
+CONFIG_SPL_SYSCON=y
CONFIG_SCSI_AHCI=y
# CONFIG_BLK is not set
CONFIG_DFU_MMC=y
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index cf5cacd2f6..17387edd33 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -15,6 +15,7 @@
#include <environment/ti/dfu.h>
#include <linux/sizes.h>
+#define DEBUG 1
#define CONFIG_IODELAY_RECALIBRATION
#define CONFIG_NR_DRAM_BANKS 2
My AM572x IDK no longer has the issue you showed. It doesn't boot all the way up, but it runs through all of MLO. I get pages and pages of output, though here is the end of what I see:
Jumping to U-Boot
loaded - jumping to U-Boot...
image entry point: 0x80800000
So it seems like I'm pretty close at this point. I think those configuration options are a step in the correct direction.
The contents of config file of PDK 03.01 in which QSPI startup is working normally are as follows.
PDK: ti-processor-sdk-linux-rt-am 57 x x - evm - 03.01.00.06
U-Boot: u-boot-2016.05
#
# Generic Driver Options
#
CONFIG_DM=y
CONFIG_DM_WARN=y
CONFIG_DM_DEVICE_REMOVE=y
CONFIG_DM_STDIO=y
CONFIG_DM_SEQ_ALIAS=y
# CONFIG_SPL_DM_SEQ_ALIAS is not set
# CONFIG_REGMAP is not set
# CONFIG_SPL_REGMAP is not set
# CONFIG_DEVRES is not set
CONFIG_SIMPLE_BUS=y
CONFIG_OF_TRANSLATE=y
Perhaps the Generic Driver Options SPL setting may not be relevant.
I just tested using Linux SDK 5.01. Here was the exact patch I applied to u-boot:
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index ea94f7c6d7..4483c7de87 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -42,6 +42,12 @@ CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc
CONFIG_ENV_IS_IN_MMC=y
CONFIG_DM=y
CONFIG_SPL_DM=y
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_REGMAP=y
+CONFIG_SPL_REGMAP=y
+CONFIG_SYSCON=y
+CONFIG_SPL_SYSCON=y
+CONFIG_SPL_OF_TRANSLATE=y
CONFIG_SCSI_AHCI=y
# CONFIG_BLK is not set
CONFIG_DFU_MMC=y
After rebuilding MLO and u-boot.img, I booted from an SD card using the default binaries. My MLO and u-boot.img were in a directory called /mnt/scratch/qspi. I flashed them to the QSPI like this:
root@am57xx-evm:~# flash_erase /dev/mtd0 0 0
Erasing 64 Kibyte @ 6400030000 -- -1 % complete
root@am57xx-evm:~# flash_erase /dev/mtd1 0 0
Erasing 64 Kibyte @ 64000f0000 -- -1 % complete
root@am57xx-evm:~# dd if=/mnt/scratch/qspi/MLO of=/dev/mtd0
232+1 records in
232+1 records out
root@am57xx-evm:~# dd if=/mnt/scratch/qspi/u-boot.img of=/dev/mtd1
1950+1 records in
1950+1 records out
I then powered down the board, removed the SD card, and powered back up. I can get to u-boot prompt:
U-Boot SPL 2018.01-00446-g12bf022392 (Jan 30 2019 - 20:45:10)
DRA752-GP ES2.0
Trying to boot from SPI
no pinctrl state for default mode
no pinctrl state for default mode
*** Warning - bad CRC, using default environment
U-Boot 2018.01-00446-g12bf022392 (Jan 30 2019 - 20:45:10 -0600)
CPU : DRA752-GP ES2.0
Model: TI AM5728 IDK
Board: AM572x IDK REV 1.3B
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
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:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
=>