• +rtkxxpart_init() - drivers/mtd/rtkxxpart.c
  • ++register_mtd_parser() - drivers/mtd/mtdparts.c
  • ----------------------------
  • m25p_probe() - drivers/mtd/devices/m25p80.c
  • +mtd_device_parse_register() - drivers/mtd/mtdcore.c
  • ++parse_mtd_partitions() - drivers/mtd/mtdparts.c
  • +++parse_fn() - drivers/mtd/mtdparts.c
  • ===rtkxxpart_parse() - drivers/mtd/rtkxxpart.c
  • *** 根據 rtl819x_parts 來切 partition
  • *** 1st partition 大小為 CONFIG_RTL_ROOT_IMAGE_OFFSET.
  • *** 2nd partition 大小為 RTK_FLASH_SIZE-CONFIG_RTL_ROOT_IMAGE_OFFSET.
  • ++add_mtd_partitions() - drivers/mtd/mtdparts.c
  • +++add_mtd_device() - drivers/mtd/mtdcore.c

CONFIG_RTL_ROOT_IMAGE_OFFSET

  • Machine selection
  • +System Configuration
  • ++root image offset in flash

RTK_FLASH_SIZE

  • Machine selection
  • +System Configuration
  • ++Size of Flash

.................

  • +rtk_nand_profile() - drivers/mtd/rtk_nand_sd.c
  • ++mtd_device_parse_register() - drivers/mtd/mtdcore.c
  • +++parse_mtd_partitions() - drivers/mtd/mtdparts.c
  • ++++get_partition_parser() - drivers/mtd/mtdparts.c
  • +++add_mtd_partitions() - drivers/mtd/mtdparts.c
  • ++++allocate_partition() - drivers/mtd/mtdparts.c
創作者介紹

邱小新の工作筆記

台南小新 發表在 痞客邦 PIXNET 留言(0) 人氣()