diff options
-rw-r--r-- | classes/image_type_tezi.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 0ef1427..8c03ae1 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -163,6 +163,7 @@ def rootfs_tezi_emmc(d, distro=False): }), OrderedDict({ "name": "mmcblk0boot0", + "erase": True, "content": { "filesystem_type": "raw", "rawfiles": bootpart_rawfiles @@ -193,6 +194,11 @@ def rootfs_tezi_rawnand(d, distro=False): } } }) + env = OrderedDict({ + "name": "u-boot-env", + "erase": True, + "content": {} + }) rootfs = { "name": "rootfs", @@ -255,7 +261,7 @@ def rootfs_tezi_rawnand(d, distro=False): "ubivolumes": ubivolumes }) - return [uboot1, uboot2, ubi] + return [uboot1, uboot2, env, ubi] def rootfs_tezi_json(d, flash_type, flash_data, json_file, uenv_file): import json |