 
					
				
		
 
					
				
		
 Pavel
		
			Pavel
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Look at the Section 4.4.15.9.4 of NXP SDK 2.0-1703 documentation:
https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
This Section contains command sequence for SD deployment using ext2load.
Use similar command sequence for NAND deployment.
The ext2load is used for loading kernel, FS and dtb from the ext2 file system to the SDRAM and start Linux from the SDRAM.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
 Pavel
		
			Pavel
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Look at the Chapter 7.8.2 of NXP SDK 2.0-1703 documentation:
https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf
Find the "Special MTD partition DTS" and "Boot up the board" in this chapter
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
 
					
				
		
Hi Pavel,
I refered the NXP SDK 2.0-1703 documentation for mounting the JFFS2 filesytem NAND flash. In the kernel logs could see the mtd partitions for NAND.
 
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAH4), 512MiB, page size: 2048, OOB size: 64 
Bad block table found at page 262080, version 0x01 
Bad block table found at page 262016, version 0x01 
5 cmdlinepart partitions found on MTD device fff800000.flash 
Creating 5 MTD partitions on "fff800000.flash": 
0x000000000000-0x000000300000 : "uboot" 
0x000000300000-0x000000800000 : "kernel" 
0x000000800000-0x000000820000 : "dtb" 
0x000000820000-0x000006820000 : "fs" 
0x000006820000-0x000020000000 : "user" 
fsl,ifc-nand fff800000.nand: IFC NAND device at 0xfff800000, bank 0 
fsl_espi ffe110000.spi: master is unqueued, this is deprecated 
m25p80 spi32766.0: n25q512ax3 (65536 Kbytes) 
fsl_espi ffe110000.spi: at 0x80000800801a6000 (irq = 53) 
libphy: Fixed MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed 
libphy: Freescale XGMAC MDIO Bus: probed
Now I need to program kernel,dtb to NAND flash, but couldn't trace out NAND Flash memory map in any document for T2080RDB
Found out only following mapping
Start        End        Definition    Size 
0x000000    0x0FFFFF    U-Boot img    1MB  (2 blocks) 
0x100000    0x17FFFF    U-Boot env    512KB (1 block) 
0x180000    0x1FFFFF    FMAN ucode    512KB (1 block) 
0x200000    0x27FFFF    CS4315 ucode    512KB (1 block) 
Regards,
Pushpa
 
					
				
		
Is there a way to flash kernel,FS,dtb to NAND flash memory?
Regards,
Pushpa
