Searched refs:partition_id (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | ota_port.c | 45 int partition_id =5; in ota_set_user_bootinfo() local 54 partition_id = MTD_PART_ID_KERNEL2; in ota_set_user_bootinfo() 56 partition_id = MTD_PART_ID_KERNEL; in ota_set_user_bootinfo() 59 snprintf(dev_str, 15, "/dev/mtdblock%d", partition_id); in ota_set_user_bootinfo() 80 partition_id = MTD_PART_ID_KERNEL; in ota_set_user_bootinfo() 82 partition_id = MTD_PART_ID_KERNEL2; in ota_set_user_bootinfo() 85 snprintf(dev_str, 15, "/dev/mtdblock%d", partition_id); in ota_set_user_bootinfo() 110 partition_id = MTD_PART_ID_KERNEL2; in ota_set_user_bootinfo() 112 partition_id = MTD_PART_ID_KERNEL; in ota_set_user_bootinfo() 113 printf("rollback partition[%d]\r\n", partition_id); in ota_set_user_bootinfo() [all …]
|
/AliOS-Things-master/components/ota/hal/ |
A D | ota_hal_vfs_plat.c | 40 int partition_id =boot_part; in ota_hal_init() local 46 partition_id = MTD_PART_ID_KERNEL2; in ota_hal_init() 48 partition_id = MTD_PART_ID_KERNEL; in ota_hal_init() 49 OTA_LOG_I("update partition %d\r\n", partition_id); in ota_hal_init() 50 snprintf(dev_str, 15, "/dev/mtdblock%d", partition_id); in ota_hal_init() 57 tmp_part_info = &mtd_partitions[partition_id]; in ota_hal_init() 316 int partition_id; in ota_hal_read() local 318 partition_id = MTD_PART_ID_KERNEL2; in ota_hal_read() 320 partition_id = MTD_PART_ID_KERNEL; in ota_hal_read() 322 boot_part = partition_id; in ota_hal_read() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | flash.c | 454 hal_partition_t partition_id = 0; in hal_flash_info_get() local 458 partition_id = bes_get_operate_partition(in_partition); in hal_flash_info_get() 459 if (partition_id < 0) { in hal_flash_info_get() 463 logic_partition = (hal_logic_partition_t *)&hal_partitions[partition_id]; in hal_flash_info_get()
|
Completed in 6 milliseconds