MFGTool u-boot compilation

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

MFGTool u-boot compilation

1,434 Views
manjunathjoshi
Contributor V

Hello All,

Can anybody help me out how i am supposed to build u-boot for MFGTool. I am using imx-3.10.17-1.0.0 MFGTool from freescale download site.

I tried using default firmware. It looks like our board has 2GB DDR configuration. Hence MfgTool has created lot of headaches. There is no consistency in flashing. It stops at several places and boom. That's it. It doesn't go further.

If somebody has seen similar inconsistency please let me know, It is a huge blocking issue in our project.

I tried the ways explained in V2 and V1 folders in Documentation section but were useless. The u-boot was not at all pushed which means it never was loaded into the initial boot memory.. I don't know what is the problem there.

I want to build u-boot of our configuration for MfgTool. Is that possible? Somebody said to have LTIB set up to build the u-boot.bin but i don't think that's the solution.

Please help me!!!!!!!

Regards,

Manju

0 Kudos
2 Replies

554 Views
jimmychan
NXP TechSupport
NXP TechSupport

6.2 Manufacturing Tool, MFGTool

One way to place an image on a device is to use the Manufacturing Tool, MFGTool. The recipes used to build a

manufacturing tool image are linux-imx-mfgtool and u-boot-mfgtool.

To build a manufacturing image do the following -

$ bitbake fsl-image-mfgtool-initramfs

A manufacturing tool kernel is built using the imx_v7_mfg_defconfig while the default kernel is built by using the

imx_v7_defconfig.

0 Kudos

554 Views
manjunathjoshi
Contributor V

Hello jimmychan,

I am sorry for the delayed reply. I tried what you mentioned above. I get the following error.

manjunath@manjunath-joshi-desktop:~/fsl-arm-yocto-bsp/build_initramfs$ bitbake fsl-image-mfgtool-initramfs

Parsing recipes: 100% |########################################################################################################################################################################| Time: 00:01:21

Parsing of 1398 .bb files complete (0 cached, 1398 parsed). 1826 targets, 101 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION        = "1.22.0"

BUILD_SYS         = "i686-linux"

NATIVELSBSTRING   = "Ubuntu-12.04"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "imx6qsabresd"

DISTRO            = "poky"

DISTRO_VERSION    = "1.6.2"

TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"

TARGET_FPU        = "vfp-neon"

meta             

meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"

meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"

meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"

meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"

meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"

NOTE: Preparing runqueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: Function failed: do_install (log file is located at /home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_install.2305)

ERROR: Logfile of failure stored in: /home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_install.2305

Log data follows:

| DEBUG: Executing python function package_get_auto_pr

| DEBUG: Python function package_get_auto_pr finished

| DEBUG: Executing shell function do_install

| NOTE: make -j 2 DEPMOD=echo INSTALL_MOD_PATH=/home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image modules_install

|   INSTALL drivers/i2c/algos/i2c-algo-pca.ko

|   INSTALL crypto/tcrypt.ko

|   INSTALL drivers/i2c/algos/i2c-algo-pcf.ko

|   INSTALL drivers/input/evbug.ko

|   INSTALL drivers/input/mouse/psmouse.ko

|   INSTALL drivers/input/serio/serport.ko

|   INSTALL drivers/media/platform/mxc/capture/adv7180_tvin.ko

|   INSTALL drivers/media/platform/mxc/capture/csi_v4l2_capture.ko

|   INSTALL drivers/media/platform/mxc/capture/fsl_csi.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_bg_overlay_sdc.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_csi_enc.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_fg_overlay_sdc.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_prp_enc.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_still.ko

|   INSTALL drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera_mipi.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5642_camera.ko

|   INSTALL drivers/media/usb/gspca/gspca_main.ko

|   INSTALL drivers/media/usb/uvc/uvcvideo.ko

|   INSTALL drivers/media/v4l2-core/videobuf2-vmalloc.ko

|   INSTALL drivers/mxc/mlb/mxc_mlb150.ko

|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_core.ko

|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko

|   INSTALL drivers/usb/gadget/g_ether.ko

|   INSTALL drivers/usb/gadget/g_mass_storage.ko

|   INSTALL drivers/usb/gadget/g_serial.ko

|   INSTALL drivers/usb/gadget/g_zero.ko

|   INSTALL drivers/usb/gadget/libcomposite.ko

|   INSTALL drivers/usb/gadget/u_serial.ko

|   INSTALL drivers/usb/gadget/usb_f_acm.ko

|   INSTALL drivers/usb/gadget/usb_f_obex.ko

|   INSTALL drivers/usb/gadget/usb_f_serial.ko

|   INSTALL drivers/usb/gadget/usb_f_ss_lb.ko

|   INSTALL fs/binfmt_misc.ko

|   INSTALL fs/configfs/configfs.ko

|   INSTALL fs/fat/msdos.ko

|   INSTALL fs/isofs/isofs.ko

|   INSTALL fs/nls/nls_iso8859-15.ko

|   INSTALL fs/udf/udf.ko

|   INSTALL lib/crc-ccitt.ko

|   INSTALL lib/crc-itu-t.ko

|   INSTALL lib/crc7.ko

|   INSTALL sound/core/snd-hwdep.ko

|   INSTALL lib/libcrc32c.ko

|   INSTALL sound/core/snd-rawmidi.ko

|   INSTALL sound/usb/snd-usb-audio.ko

|   INSTALL sound/usb/snd-usbmidi-lib.ko

|   DEPMOD  3.10.17-1.0.1_ga+gdac46dc

| 0 blocks

| NOTE: make -j 2 -C /home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel CC=arm-poky-linux-gnueabi-gcc  -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld.bfd   clean _mrproper_scripts

| make: Entering directory `/home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel'

|   HOSTCC  scripts/basic/fixdep

|   HOSTCC  scripts/kconfig/conf.o

|   HOSTCC  scripts/kconfig/zconf.tab.o

|   HOSTLD  scripts/kconfig/conf

| scripts/kconfig/conf --silentoldconfig Kconfig

| make: Leaving directory `/home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel'

| make: Entering directory `/home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel'

|   CLEAN   .

|   CLEAN   arch/arm/kernel

|   CLEAN   firmware

|   CLEAN   kernel

|   CLEAN   lib

|   CLEAN   usr

|   CLEAN   arch/arm/boot/compressed

|   CLEAN   arch/arm/boot/dts

|   CLEAN   arch/arm/boot

|   CLEAN   drivers/tty/vt

|   CLEAN   scripts/basic

|   CLEAN   scripts/dtc

|   CLEAN   scripts/genksyms

|   CLEAN   scripts/kconfig

|   CLEAN   scripts/mod

|   CLEAN   scripts

|   CLEAN   drivers/video/logo

| make: Leaving directory `/home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel'

| NOTE: make -j 2 imx6q-sabresd.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd.dtb' is up to date.

| NOTE: make -j 2 imx6q-sabresd-ldo.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd-ldo.dtb' is up to date.

| NOTE: make -j 2 imx6q-sabresd-hdcp.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: `arch/arm/boot/dts/imx6q-sabresd-hdcp.dtb' is up to date.

| NOTE: make -j 2 imx6q-sabresd-enetirq.dtb

|   CC      scripts/mod/devicetable-offsets.s

|   GEN     scripts/mod/devicetable-offsets.h

|   HOSTCC  scripts/mod/file2alias.o

|   HOSTLD  scripts/mod/modpost

| make[1]: *** No rule to make target `arch/arm/boot/dts/imx6q-sabresd-enetirq.dtb'.  Stop.

| make: *** [imx6q-sabresd-enetirq.dtb] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/manjunath/fsl-arm-yocto-bsp/build_initramfs/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_install.2305)

ERROR: Task 68 (/home/manjunath/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_install) failed with exit code '1'

NOTE: Tasks Summary: Attempted 696 tasks of which 687 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

Summary: 1 task failed:

  /home/manjunath/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_install

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

0 Kudos