文档详情

manufacturing tool v2 linux or android firmware development guide制造工具V2Linux或Android固件开发指南.pdf

发布:2025-03-02约1.82万字共10页下载文档
文本预览下载声明

ManufacturingToolV2(MFGTool2)Linuxor

AndroidFirmwareDevelopmentGuide

Contents

HowtoConfigureU-BootandKernelImageforMFG.2

U-Boot:2

Kernel:3

HowtoGenerateU-BootandKernelImageforMFG3

PleaserefertotheBSPUserGuide,chapterBuildManufacturingFirmware.3

HowtoAddUUCintoRootfsforMFGTool.4

MFGLinuxStructureDemonstration4

HowtoConfigureU-BootandKernelImageforMFG.

U-Boot:

1.AddMfgtoolconfigurationheaderfilein:${u_boot_root}\include\configs

Thefilenameshouldalignwithexistingconfigurationfilename.Ex.mx6q_sabresd.hisused

togeneratenormalU-Bootandmx6q_sabresd_mfg.hisusedtogeneratetheU-Bootfor

MFGToolfirmware.

Generally,youcancreateitfromtheexistingconfigurationfile.

ThefollowingMACROSmustbedefined:

#defineCONFIGMFG

#defineCONFIG_CMDLINE_TAG

#defineCONFIG_REVISION_TAG

#defineCONFIGSETUPMEMORYTAGS

#defineCONFIGINITRDTAG

#defineCONFIG_BOOTDELAY0

#defineCONFIG_BOOTARGSconsole=ttymxc0,115200\

rdinit=/linuxrc

#defineCONFIG_BOOTCOMMANDbootm00x10c00000

;0istheloadaddressofthekernelimage.Itneesdtobechangedaccording

toyourspecificplatformmemoryconfiguration.

;0x10c00000istheinitrdaddress.Itneedstobechangedaccordingtoyourspecific

platformmemoryconfiguration.

#defineCONFIG_ENV_IS_NOWHERE1;avoidreadingU-Bootcommandfromstorage.

Ifanewbsp

显示全部
相似文档