romsize in naftpapp

HiI’m using netos63_gnu + netos63gnu_patch with ConnectMe. In ftp_init_flash_download() of naftpapp.c ------------------------------------------ #ifdef BSP_ARM9 romsize = customizeGetCSSize(…); #else romsize = customizeGetCSSize(…); #endif ------------------------------------------ romsize is 1610241024. but, it muse be 210241024 on my ConnectMe. so, I delete above part and insert belows after sectors and sectorSizes decided. ------------------------------------------ romsize = 0; int i; for (i = 0; i < sectors; i++) { romsize += sectorSizes[i]; } ------------------------------------------ now, romsize is 210241024. Thanks. koki