refactor romfs_list, origin routine is too long.
fix index count bug
cat finish.