Hi Jose, Can you check your build_image.py? Suppose "partition_size" should be set before it is used. For example: https://github.com/Seinlin/platform_build/blob/583929fee564268612ebb41b59aee5a3df0b157e/tools/releasetools/build_image.py#L138
-- Kai-Zhen Li (Seinlin) Mozilla Taiwan ----- Original Message ----- From: "Jose Vidal" <[email protected]> To: [email protected] Sent: Monday, April 28, 2014 10:27:02 PM Subject: [b2g] The UBIFS format on NAND flash memory Hi everyone, I'm porting B2G on freescale device with the next features: 1. Android JB 4.2.2 r1 2. CPU iMX6 3. GPU Vivante. The NAND flash have Ubifs format, so, I needed create the images using Ubifs format. I'm using the next patch to platform/build https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e After the patch, I have a error message during build process: =========== Target userdata fs image: out/target/product/var_som_mx6q/userdata.img Traceback (most recent call last): File "./build/tools/releasetools/build_image.py", line 193, in <module> main(sys.argv[1:]) File "./build/tools/releasetools/build_image.py", line 187, in main if not BuildImage(in_dir, image_properties, out_file): File "./build/tools/releasetools/build_image.py", line 78, in BuildImage build_command.append(str(int(prop_dict["partition_size"])/int(253952))) KeyError: 'partition_size' make: *** [out/target/product/var_som_mx6q/userdata.img] Error 1 make: *** Waiting for unfinished jobs.... =================== Any idea how I can solve this error ? Thanks in advance, Regards, Jose _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
