Error: max_leb_cnt too low

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error: max_leb_cnt too low

8,024 Views
chandramills
Contributor I

NOTE: Executing mklibs_optimize_image ...
DEBUG: Executing shell function mklibs_optimize_image
DEBUG: Shell function mklibs_optimize_image finished
NOTE: The image creation groups are: [['tar', 'ext2', 'jffs2', 'ubi']]
NOTE: Running image creation script for tar: /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-flash/1.0-r0/temp/create_image.tar ...
NOTE: Running image creation script for ext2: /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-flash/1.0-r0/temp/create_image.ext2 ...
NOTE: Running image creation script for jffs2: /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-flash/1.0-r0/temp/create_image.jffs2 ...
NOTE: Running image creation script for ubi: /opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-flash/1.0-r0/temp/create_image.ubi ...
ERROR: Error: The image creation script '/opt/QorIQ-SDK-V1.8-20150619-yocto/build_b4860qds-64b_release/tmp/work/b4860qds_64b-fsl-linux/fsl-image-flash/1.0-r0/temp/create_image.ubi' returned 255:
Error: max_leb_cnt too low (53183 needed)
WARNING: exit code 255 from a shell command.

DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

0 Kudos
1 Reply

4,454 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Chandra Mills,

please reduce your filesystem size or modify -c parameter in meta-fsl-ppc/conf/machine/include/qoriq-default-settings.inc

The default is as the following.

MKUBIFS_ARGS ??= "-m 512 -e 15360 -c 12000"

 

-c specifies maximum file-system size in logical eraseblocks; this means that it will be possible to use the resulting file-system on volumes up to this size (less or equivalent).

Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos