I am bringing-up a custom am1808 board (silicon rev. 2.0 ROM d800k006) configured to boot from NAND 8-bit.
The NAND is a Micron MT29F1G08ABADAWP-IT:D
#0: NAND 128MiB 3.3V 8-bit (Micron) pagesize: 2048, buswidth: 8,
blocksize: 131072, blocks: 1024
Through JTAG debugger I am able to write an AIS binary (ubl) to block 1 of the NAND.
When setting the board to boot from NAND I am getting error 'Peripheral Open Failed'
0xffff0700: 00010500
At this point I've halted the processor and attempt accessing the NAND, to see if RBL has things set correctly:
> mwb 0x62000010 0x90
> mwb 0x62000008 0x20
> mdb 0x62000000 4
0x62000000: 4f 4e 46 49
Everything appears to be set correctly. I am able to access the NAND on CS3 and issue a 'READ ID' command, notice the device is 'ONFI' compliant.
I ported the GEL files from here: http://processors.wiki.ti.com/index.php/OMAP-L1x_Debug_Gel_Files to our JTAG tool
Here are the results:
---------------------------------------------
| BOOTROM Info |
---------------------------------------------
ROM ID: d800k006
Silicon Revision 2.0
Boot Mode: NAND 8, 24 MHz or 12 MHz input clock
ROM Status Code: 5
Description: Peripheral Open Failed
---------------------------------------------
| Device Information |
---------------------------------------------
DEV_INFO_00 = 1c14018
DEV_INFO_01 = 1c1401c
DEV_INFO_02 = 1c14020
DEV_INFO_03 = 1c14024
DEV_INFO_04 = 1c14028
DEV_INFO_05 = 1c1402c
DEV_INFO_06 = 1c14010
DEV_INFO_07-DEV_INFO_08-DEV_INFO_09-DEV_INFO_10-DEV_INFO_11-DEV_INFO_12 = 1-0-12664844-1-8-3092
DEV_INFO_13,DEV_INFO_14,DEV_INFO_15,DEV_INFO_16 = 20,0,1280,224
-----
DEV_INFO_17 = 1c12004
DEV_INFO_18 = 1c12008
DEV_INFO_19 = 00000
-----
DEV_INFO_20 = 11700008
DEV_INFO_21 = 1170000c
DEV_INFO_22 = fffd0008
DEV_INFO_23 = fffd000c
DEV_INFO_24 = 1c14008
DEV_INFO_25 = 1c1400c
DEV_INFO_06 = 1c14010
DEV_INFO_26 = 1c14014
Any Ideas of what to try next?