mfgtool with Buildroot - how to question

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

mfgtool with Buildroot - how to question

1,591 Views
brankokaraklaji
Contributor I

Hi all,

In our company we prefer Buildroot over yocto. For now yocto is to painful for customization, also, disk space hungry and time consuming.

We successfully built different images with Builroot, including customized or stocked u-boot/kernel/initramfs, etc...

But we are not able to build working mfgtool initramfs? How to do that?

We need answers on:
What are additional CONFIG's we need to turn on in Linux kernel?

What are additional applications/commands needed in userspace?

Or maybe someone could point us to where to look differences in Yocto tool?

Any help appreciated.

Branko

Labels (5)
0 Kudos
2 Replies

893 Views
art
NXP Employee
NXP Employee

As an example, just download some of the MFGtool packages, e.g. the following one:

https://www.nxp.com/webapp/Download?colCode=IMX6_L3.14.52_MFG_TOOL&appType=license&location=null&Par...

It should contain all required scripts/documentation.


Have a great day,
Artur

0 Kudos

893 Views
gary_bisson
Senior Contributor III

Hi Branko,

You are right on time, my patch that adds the imx-uuc package has just been accepted to Buildroot:

imx-uuc: new package · buildroot/buildroot@6a8b948 · GitHub

You can either use the master branch or cherry-pick the patch above to your current Buildroot source.

In order to build an image that works with the MFGTools you need to add this UUC package plus a couple of mkfs tools. Here is my testing MFG configuration:

BR2_arm=y

BR2_cortex_a9=y

BR2_ARM_ENABLE_NEON=y

BR2_ARM_ENABLE_VFP=y

BR2_ARM_FPU_NEON=y

BR2_TOOLCHAIN_EXTERNAL=y

BR2_PACKAGE_DOSFSTOOLS=y

BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y

BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y

BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y

BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y

BR2_PACKAGE_E2TOOLS=y

BR2_PACKAGE_EXFAT=y

BR2_PACKAGE_EXFAT_UTILS=y

BR2_PACKAGE_F2FS_TOOLS=y

BR2_PACKAGE_MMC_UTILS=y

BR2_PACKAGE_MTD=y

BR2_PACKAGE_MTD_MKFSJFFS2=y

BR2_PACKAGE_MTD_MKFSUBIFS=y

BR2_PACKAGE_MTD_MTDPART=y

BR2_PACKAGE_NTFS_3G=y

BR2_PACKAGE_NTFS_3G_NTFSPROGS=y

BR2_PACKAGE_FREESCALE_IMX=y

BR2_PACKAGE_IMX_UUC=y

BR2_PACKAGE_PARTED=y

BR2_TARGET_ROOTFS_CPIO=y

BR2_TARGET_ROOTFS_CPIO_GZIP=y

BR2_TARGET_ROOTFS_CPIO_UIMAGE=y

# BR2_TARGET_ROOTFS_TAR is not set

Regards,

Gary

0 Kudos