Add below two variables in conf/local.conf, the value is just for sample and 
might need change.

MKUBIFS_ARGS = " -m 512 -e 15360 -c 3600 "
UBINIZE_ARGS = " -p 16KiB -m 512 -s 512 "


Best Regards,

Zhenhua

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of DAMARLA Satya Swaroop
Sent: Thursday, June 27, 2013 3:04 PM
To: yocto@yoctoproject.org
Subject: [yocto] First UBI build

Hi Guys,

I had great success and actually feel yocto with building images. Now I want to 
run the image from the flash drive and trying to build a UBIFS but I get 
strange errors which I didnot get when I am building a normal tar.gz file for 
the SDCARD. The error is as follows... Can you guys please tell me what is the 
new stuff I had to add to overcome this issue?

| Size after prelinking 276884.
| Error: min. I/O unit was not specified (use -h for help)
| ERROR: Function failed: do_rootfs (log file is located at 
/home/damarla/openYocto/poky/buildSmartCPU/tmp/work/smartcpu-untersberg-linux-gnueabi/rootfs-smartcpu/1.0-r0/temp/log.do_rootfs.13924)
ERROR: Task 7 
(/home/damarla/openYocto/poky/meta-skidata/recipes-smartcpu/images/rootfs-smartcpu.bb<http://rootfs-smartcpu.bb>,
 do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5188 tasks of which 4394 didn't need to be rerun 
and 1 failed.
No currently running tasks (5187 of 5189)

Summary: 1 task failed:
  
/home/damarla/openYocto/poky/meta-skidata/recipes-smartcpu/images/rootfs-smartcpu.bb<http://rootfs-smartcpu.bb>,
 do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Cheers.
Sati
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to