I want use 2048 page size for YAFFS2

when I mount nandsim, I only use 512 byte size.

 

Dmesg show this log

 

[66146.601080] NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 8MiB 1,8V 8-bit)

[66146.601099] flash size: 8 MiB

[66146.601103] page size: 512 bytes

[66146.601104] OOB area size: 16 bytes

[66146.601106] sector size: 8 KiB

[66146.601108] pages number: 16384

[66146.601110] pages per sector: 16

[66146.601112] bus width: 8

[66146.601113] bits in sector size: 13

[66146.601115] bits in page size: 9

[66146.601117] bits in OOB size: 4

[66146.601119] flash size with OOB: 8448 KiB

[66146.601121] page address bytes: 3

[66146.601123] sector address bytes: 2

[66146.601125] options: 0x62

[66146.643073] Scanning device for bad blocks

 

How to change nand device for 2048 page

Plz teach me how to change¡¦.

 

Thank you everyone