UUC source code and initramfs

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

UUC source code and initramfs

Jump to solution
3,892 Views
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)?

Labels (2)
1 Solution
2,724 Views
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

View solution in original post

7 Replies
2,724 Views
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 Kudos
Reply
2,724 Views
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 Kudos
Reply
2,724 Views
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 Kudos
Reply
2,724 Views
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 Kudos
Reply
2,724 Views
georgereimer
Contributor I

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

thankx

0 Kudos
Reply
2,724 Views
emilmyhrman
Contributor IV
0 Kudos
Reply
2,725 Views
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