Hi all,
I'm stuck. Yocto suddenly stopped creating the .sdcard files both with bitbake command and via hob. I was playing with the image size and free space settings in hob when it stopped.. I set them back (64 and 0), but still no .sdcard file is being generated. u-boot, ext3 and uImage are being updated.
I tried fsl-image-gui and core-image-sato. I have one layer that patches the kernel - adds my VID/PID to USB Serial CP210x driver .c file, also using a frag.cfg file to edit a few kernel CONFIG_ line - all for USB serial support, this works.
I have Sabre-SDB/imx6sabresd, ubuntu 12.04 x64.. what else you need to know? I think I setup yocto with dylan, but I'm not sure.. what should I use ?
Any ideas? Anyway to get this back to the default as it was when installed? I tried -c clean on core-image-sato. I'd rather not re-install everything... and recompile everything.
Thanks,
Steve
解決済! 解決策の投稿を見る。
it should be:
IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
I think you can remove all hob stuff if you are not planning to use HOB. Is there any special reason using HOB besides its GUI nature?
Leo
I wonder if HOB changed a setting on local.conf, so please post it. Have you done other changes on the base layers? run repo status on the base folder (../build).
Leo
Thanks Leo,
build$ repo status
project sources/meta-fsl-arm/ (*** NO BRANCH ***)
-m recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
-- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc.old
-- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc.orig
-- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_1.1.0.bb.old
-d recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-sfp.bb
-- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-sfp.bb.orig
-- recipes-graphics/mesa/mesa_9.1.6.bbappend.orig
-m recipes-kernel/linux/linux-imx_3.0.35.bb
-- recipes-kernel/linux/linux-imx_3.0.35.bb.orig
project sources/poky/ (*** NO BRANCH ***)
-m meta/recipes-graphics/mesa/mesa-gl_9.1.6.bb
-d meta/recipes-graphics/mesa/mesa_git.bb
I had to do a lot to gpu-viv-mx6q and mesa just to get hob to allow me to build an image. I built several .sdcards after those changes, so I don't think they are responsible for .sdcard not being created. In linux-imx, I removed patch 0005 - Multitouch something in an attempt to get my MCIMX28LCD touchscreen working on the imx6 sabre-sdb (no luck).
Here's local.conf:
MACHINE ??= 'imx6qsabresd'
DISTRO ?= 'poky'
#PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K"
CONF_VERSION = "1"
BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'
#DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = ""
#added by hob
BBFILES += "${TOPDIR}/recipes/images/*.bb"
#added by hob
PACKAGE_CLASSES = "package_rpm "
#added by hob
DL_DIR = "/home/scuba/fsl-community-bsp/downloads/"
#added by hob
SSTATE_DIR = "/home/scuba/fsl-community-bsp/build/sstate-cache"
#added by hob
SSTATE_MIRRORS = ""
#added by hob
INCOMPATIBLE_LICENSE = ""
#added by hob
SDKMACHINE = "x86_64"
#added by hob
http_proxy = ""
#added by hob
https_proxy = ""
#added by hob
ftp_proxy = ""
#added by hob
all_proxy = ""
#added by hob
CVS_PROXY_HOST = ""
#added by hob
CVS_PROXY_PORT = ""
#added by hob
IMAGE_ROOTFS_SIZE = "65536"
#added by hob
IMAGE_EXTRA_SPACE = "0"
#added by hob
TOOLCHAIN_BUILD = "False"
#added by hob
IMAGE_FSTYPES = "ext3 tar.bz2"
#added by hob
enable_proxy = "False"
#added by hob
use_same_proxy = "False"
#added by hob
IMAGE_ROOTFS_EXTRA_SPACE = "0"
Can I remove anything #added by hob?
I'm able to manually add uImage /ext3 to the SD card, but it would be nice to get the .sdcard files working again, and I'm curious what went wrong.
Thanks,
Steve
it should be:
IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
I think you can remove all hob stuff if you are not planning to use HOB. Is there any special reason using HOB besides its GUI nature?
Leo
Thanks! That fixed it.
I wanted to try hob for managing packages. I'm new to Yocto and not exactly sure how to add/remove packages from the config files yet. Have experience on the imx28 and LTIB - so I may want to try to build an imx28 image and hob seemed an easier way to jump between platforms. Running bitbake seems a bit faster tho and I tend to use it more. I do like Yocto compared with LTIB. It's easier to work on the kernel when you have to try dozens of things before finding a solution.
Steve