Dear all
we are trying the Nandboot mode in our customized board
Details of Hardware
Processor : Dm8168
Nand Flash : MT29F8G16ABACAWP-IT:C (Page Size:4096 Spare/OOB:224).
In gpmc Interface using CS0.
Boot Switch details : Nand mode 10010(BOOT Mode 4:0)
ISSUE: Nand boot mode is not working (Observation: No boot-up prints on console)
This are the following queries:
1: Could you please tell us DM8168 ROM boot Code supports the Page_size = 4096 Bytes and Spare_size = 224 Bytes ?
2: Does ROM boot code has an intelligence to get the page size details and spare size details from the nand device when power-on the board ?
3: Will ROM boot Code check for the bad block in nand device ?
4: If ROM code is capable of checking for the bad block, then up to how many bad blocks it will check and read the data from the nand device ?
5: Is Soft ECC supported by ROM Code ?
Below are the information extracted from the TRM for the behaviour of ROM code:
---------------------------------TRM Details regarding ROM code---------------------------------------------
The NAND flash memory is not XIP and requires shadowing before the code can be executed. The
features include:
• GPMC as the communication interface
• Device from 512Mbit (64 MByte)
• ×8 and ×16 bus width
• Support for large page size (2048 bytes + 64 spare bytes) or very large page size 4096 bytes + 128 /
218 spare bytes)
• CE don’t care devices only
• Single Level Cell (SLC) and Multiple Level Cell (MLC) devices
• Device Identification based on ONFI or ROM table
• ECC correction : 8 bits/sector for most devices (16b/sector for devices with large spare area)
• GPMC timings adjusted for NAND access
• 55 MHz GPMC clock
• Device connected to CS0
• Wait pin signal WAITPIN0 connected to NAND BUSY output
• Four physical blocks are searched for an image. The block size depends on device.
The initialization routine for NAND devices consists in three parts: GPMC initialization, device detection
with parameters determination and finally bad block detection.
------------------------------------END----------------------------------------------------------------------
Please let us know your suggestions on the above mentioned queries
Any input from the forum members would be highly appreciated.
Thanks
Narthan S