mfgtool with Buildroot - how to question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mfgtool with Buildroot - how to question

2,501 次查看
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

标签 (5)
0 项奖励
回复
2 回复数

1,803 次查看
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 项奖励
回复

1,803 次查看
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 项奖励
回复