UUC source code and initramfs

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

UUC source code and initramfs

跳至解决方案
3,284 次查看
emilmyhrman
Contributor IV

Hello,

I'm trying to find the source code for UUC for creating an intramfs for MFGTool, does anyone here know where it is found?

Also, I can't find any information on how to build the initramfs that is used by MFGTool, is there any special requirements for it? Could the recovery.img from Android build be used (assuming UUC binary is included in it)?

标签 (2)
1 解答
2,116 次查看
PeterChan
NXP Employee
NXP Employee

Hello Emil,

You can run the following command to get the UUC source code.

./ltib -m prep -p uuc.spec

The initramfs image can be generated by running "./ltib -m config" and choose "initramfs" at "Target Image Generation".

--- Target Image Generation

   Options --->

        --- Choose your root filesystem image type

        Target image: (initramfs) --->

Regards,

Peter

在原帖中查看解决方案

7 回复数
2,116 次查看
emilmyhrman
Contributor IV

Thanks for the help. Was unable to build ltib on ubuntu, but I found the uuc source so that's fine.

0 项奖励
2,116 次查看
xixiguohan
Contributor II

Hi Emil,

Could you share me how to customize my own initramfs that can be used by MFGTool?

Best Regards

xixiguo

0 项奖励
2,116 次查看
emilmyhrman
Contributor IV

I believe there is a build target when using Yocto that will build the root filesystem used by MfgTool. I don't remember what it's called, you could search/ask the community here and someone probably knows.

Some starting points I found:

https://community.nxp.com/thread/384595 

Freescale Yocto Project main page 

FSL Community BSP 

good luck :smileyhappy:

0 项奖励
2,116 次查看
xixiguohan
Contributor II

Thank you Emil, I have solved my problem. I got the uuc source code from github. I customized my own rootfs. It works well.

Best Regards

xixiguo

0 项奖励
2,116 次查看
georgereimer
Contributor I

That's great. Would you mind sharing with us where you found it?

thankx

0 项奖励
2,116 次查看
emilmyhrman
Contributor IV
0 项奖励
2,117 次查看
PeterChan
NXP Employee
NXP Employee

Hello Emil,

You can run the following command to get the UUC source code.

./ltib -m prep -p uuc.spec

The initramfs image can be generated by running "./ltib -m config" and choose "initramfs" at "Target Image Generation".

--- Target Image Generation

   Options --->

        --- Choose your root filesystem image type

        Target image: (initramfs) --->

Regards,

Peter