#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
partition@80000 {
label = "ATF";
reg = <0x80000 0x0040000>;
+ read-only;
};
partition@c0000 {
- label = "Bootloader";
+ label = "uboot";
reg = <0xc0000 0x0080000>;
+ read-only;
};
partition@140000 {
- label = "Config";
+ label = "uboot-env";
reg = <0x140000 0x0080000>;
+ read-only;
};
partition@1c0000 {
- label = "Factory";
+ label = "factory";
reg = <0x1c0000 0x0040000>;
+ read-only;
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
partition@2200000 {
- label = "User_data";
+ label = "reserved";
reg = <0x2200000 0x4000000>;
};
};
#size-cells = <1>;
partition@0 {
- label = "Preloader";
+ label = "preloader";
reg = <0x00000 0x0080000>;
read-only;
};
partition@80000 {
label = "ATF";
reg = <0x80000 0x0040000>;
+ read-only;
};
partition@c0000 {
- label = "Bootloader";
+ label = "uboot";
reg = <0xc0000 0x0080000>;
+ read-only;
};
partition@140000 {
- label = "Config";
+ label = "uboot-env";
reg = <0x140000 0x0080000>;
+ read-only;
};
partition@1c0000 {
- label = "Factory";
+ label = "factory";
reg = <0x1c0000 0x0040000>;
+ read-only;
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
partition@2200000 {
- label = "User_data";
+ label = "reserved";
reg = <0x2200000 0x4000000>;
};
};
};
partition@200000 {
- label = "Kernel";
+ label = "firmware";
reg = <0x200000 0x2000000>;
};
esac
}
-PART_NAME=Kernel
+PART_NAME=firmware
platform_check_image() {
local board=$(board_name)
CONFIG_MTD_SPI_NAND=y
CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_SPLIT_FIRMWARE=y
-CONFIG_MTD_SPLIT_FIRMWARE_NAME="Kernel"
CONFIG_MTD_SPLIT_FIT_FW=y
CONFIG_MTD_SPLIT_UIMAGE_FW=y
# CONFIG_MTK_AAL_SUPPORT is not set