So, what does actually NAND contain?
String from SYSTC320.DBK contain text from diagnostic menu (which is accessible by pressing D+M)
And I don't understand where diagnostic menu code exists. Can it be duplicated in PROM and NAND?
Yes, it is duplicated or nearly duplicated. D+M is NAND diag, Fn+D+M is ROM diag. ROM diag works even with corrupted NAND.
PROM and NAND memory map on Sharp Zaurus SL-C3200
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(it is known to be different from all other models including SL-C3100)
PROM
====
8 MiB PROM Read only memory for production models, NOR flash for
pre-production models.
PROM BOOTLOADER "ROM"
-------------------------------
address 0x00000000, size 0x00140000
contents: Bootloader.
PROM MTD0 "Filesystem" "ROM DATA"
--------------------------------------------
address 0x00140000, size 0x006b0000
contents: EN-JP dictionary database.
NAND
====
128MiB NAND flash, erase size 0x00020000
NAND MTD1 "smf" "BOOT"
------------------------------
address 0x00000000, size 0x00700000
address 0x00000000, size 0x00040000 MAINTE
0x48000 0x4000 VERBLOCK
0x70000 0x4000 MVRBLOCK
address 0x00040000, size 0x00040000 NAND bootloader
Values from SL-6000:
0x00040000 AdjValue
0020020 ffff ffff ffff ffff ffff ffff 5554 4843
0020040 80ec 3d87 70dc 3dbc ffee ffff fff0 ffff
0020060 ffff ffff ffff ffff 4850 4441 0000 0000
0x00044000 BootFlag ff
0x00048000 Version *
names of MTD sections
positions of sections
checksums
0x0004c000 Clock 0000000 0425 1971 82b1 4660
0x00050000 ROMount ff
0x00054000 RWMount ff
0x00058000 RSV_58
0x0005c000 RSV_5C
0x00060000 PartitionInfo1 *
0x00064000 PartitionInfo2 *
0x00068000 Model *
0x0006c000 RSV_6C
0x00070000 MVersion *
master version
checksums of mtd sections
0x00074000 RSV_74
0x00078000 RSV_78
* verified for SL-C3200
0x000e0000 DATA standard kernel
Values from param_version:
0x00000000 Mainte "MAINTE" "MAINTE.BIN"
1. 00000000-00040000
0x00040000 Parameter Area
0x0007c000 NAND Diag "DIAG" "NANDDIAG.BIN"
2. 00080000-000e0000
0x000e0000 Zimage 2 "KERNEL2" "ZIMAGE.BIN+INITRD.BIN"
3. 00220000-0035c000
4. 00360000-00680000
0x00220000 Zimage 1 "KERNEL1" "ZIMAGE.BIN+INITRD.GZ"
5. 000e0000-0021c000
6. 07000000-03100000 (i. e. FSRO)
0x00360000 Initrd 2 "FLSYS2" "INITFS.BIN"
7. 03200000-08000000 (i. e. FSRW)
0x00700000 "ROFLSYS?" "PARAMINF.BI"
8. 00060000-0006c000
NAND MTD2 RO JFFS2 file system "root" "FSRO"
-------------------------------------------------------
address 0x00700000, size 0x02b00000
NAND MTD3 RW JFFS2 file system "home" "FSRW"
---------------------------------------------------------
address 0x03200000, size 0x04e00000