customzie initramfs for mfgtool

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

customzie initramfs for mfgtool

1,421 Views
xixiguohan
Contributor II

Hi all,

I use imx6 based hardware, and want to customize my own uboot/kernel/initramfs for mfgtool.

Refer to the document Manufacturing Tool V2 Linux or Android Firmware Development Guide V2.doc, I built the uboot with CONFIG_MFG configured, kernel with CONFIG_FSL_UTP configured.

I got UUC source code from GitHub - NXPmicro/imx-uuc: A Daemon wait for Freescale/NXP mfgtools host's command  , and built UUC, made install it in my rootfs, then made initramfs.

But when I used mfgtool to load the images, it didn't work:

mount: mounting none on /sys failed: Device or resource busy
mount: mounting none on /proc failed: Device or resource busy
mount: mounting none on /dev failed: Device or resource busy
mount: mounting none on /sys/kernel/config failed: No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1': No such file or directory
can't cd to /sys/kernel/config/usb_gadget/g1/
mkdir: can't create directory 'strings/0x409': No such file or directory
can't create strings/0x409/serialnumber: nonexistent directory
can't create strings/0x409/manufacturer: nonexistent directory
can't create strings/0x409/product: nonexistent directory
mkdir: can't create directory 'configs/c.1': No such file or directory
can't create configs/c.1/MaxPower: nonexistent directory
mkdir: can't create directory 'functions/mass_storage.1': No such file or directory
ln: configs/c.1/: No such file or directory
./uuccfg.sh: line 25: can't create functions/mass_storage.1/lun.0/file: nonexistent directory
Starting UTP
uuc 0.5 [built Jul 10 2017 05:10:06]
UTP: Waiting for device to appear

It was blocked here. Does anyone know the problem?

Best Regards

xixiguo

0 Kudos
3 Replies

841 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Which version  BSP are you using?

Have a nice day

Rita

0 Kudos

841 Views
xixiguohan
Contributor II

Hi Rita,

I customized my own images based on yocto bsp.

Does this error mean that my usb gadget doesn't work?

Regards

xixiguo

0 Kudos

841 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You may not run right firmware for mfgtool. Could you tell us which verison BSP are you using? Using Yocto Project and bibake mfgtool-linux-imx for kernel firmware and bitbake u-boot-mfgtool for uboot firmware.

0 Kudos