AnsweredAssumed Answered

customzie initramfs for mfgtool

Question asked by xixiguo han on Jul 9, 2017
Latest reply on Jul 12, 2017 by xixiguo han

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

Outcomes