Other Parts Discussed in Thread: SK-AM62B-P1, SK-AM62-LP
Tool/software:
Hi,
I am Woking on a custom AM623 board with GPMC-NAND.
NAND Flash Part Number is MT29F2G08ABBGAH4-IT:G
I have followed below forum link to compile and download the binaries.
I have done the following procedure:
1) compiled tiboot3.bin tispl.bin u-boot.img as per the forum mentioned above
2) For testing purpose, I used this tiboot3.bin with SK-AM62B-P1 (just make sure the binary is proper and working condition). The EVK boot logs added below
U-Boot SPL 2024.04-dirty (Jan 11 2025 - 16:37:13 +0530)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
SPL initial stack usage: 13392 bytes
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
This is what I expected. At the time of reset tiboot3 is started to work (some print is coming) but getting error due to NAND unavailability in the EVK
3) In next step I have flashed the same binary to the Custom board GPMC-NAND flash (0x00 and 0x400000 locations). and verified binaries using u-boot "cmp" commands
4) Also verified the BOOTMODE using below command
=> md.w 0x43000030 1
43000030: 045b
5) Reset the board, but no message is coming through the serial UART. But still I can able to boot with DFU
In my understanding I have flashed tiboot3 to the NAND but due to some unknown reason, processor not able to load and boot form the GPMC-NAND and it goes to backup boot mode (DFU).
6) For the further analysis I have tried to read the ROM code "Warning/Error logs" (TRM Section 5.8) using the DFU loaded u-boot. And it is showing some values, but I didn't get any idea of how to decode this log.
=> md.b 0x43c3e680 0x200
43c3e680: fe 82 80 41 d6 00 00 00 82 4e 41 4e 00 00 00 00 ...A.....NAN....
43c3e690: e3 04 00 00 00 00 00 00 fe 82 80 41 40 02 00 00 ...........A@...
43c3e6a0: 83 4e 41 4e 00 00 00 00 e7 04 00 00 00 00 00 00 .NAN............
43c3e6b0: 50 82 80 41 70 01 00 00 04 00 00 00 00 00 00 00 P..Ap...........
43c3e6c0: e9 04 00 00 00 00 00 00 e5 81 80 41 df 0a 00 00 ...........A....
43c3e6d0: ff ff ff ff 00 00 00 00 ef 04 00 00 00 00 00 00 ................
43c3e6e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e6f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e710: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e7f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
43c3e870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
My Questions is:
1) How to decode ROM code "Warning/Error logs" mentioned in the (TRM Section 5.8)?
2) We are using a 2 plane NAND for this booting purpose. And "AM62x Sitara Errata (Rev. F)" document mentioned "2372 — ROM doesn't support select multi-plane addressing schemes in Serial NAND boot". Is it applicable to GPMC parallel NAND Booting?