如何使用编译生成的release搭建nfs boot环境
2011-03-07 21:58
676 查看
sudo mount -t cramfs -oloop rootfs_cramfs.stb225_nand.bin /home/cnh01994/nfsroot/rootfs_stb225
然后copy auImage.stb225_nand到tftp目录,并且改名为load的kernal文件.
如果你使用其他的目录来做nfs的root,那么你可以打断原来的rootfs_stb225的链接,使它指向你自己的目录。使用完以后使用如下命令恢复rootfs_stb225到你的project指定目录
prjmake control sub=rootfs.nfsexport 如果你记不住命令,那么你可以执行prjmake control sub=rootfs.系统会列出来所有有关的命令如下:
=*=*=*=*=*=*=*=*=*=*=*= START stb225/control/pnx8335-stb225-le =*=*=*=*=*=*=*=*=*=*=*=
make - rootfs cpu=pnx8335-stb225 env=stb225/control/pnx8335-stb225-le
make[1]: Entering directory `/home/cnh01994/ccm_wa/H264/stb225'
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:27: including this file
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:43: Setting LNXEXAPPS to appCabotCVD
Make-targets for rootfs:
make rootfs.help
make rootfs.clean
make rootfs.init
make rootfs.create
make rootfs.nfsexport
make rootfs.realclean
make rootfs.copy
rootfs.realclean - Remove your $ROOTFS tree
rootfs.init - Create a new $ROOTFS tree
rootfs.createcramfs - Create a CRAMFS File Image of the current $ROOTFS
rootfs.createsquashfs - Create a SQUASHFS File Image of the current $ROOTFS
rootfs.createyaffs2 - Create a YAFFS2 File Image of the current $ROOTFS
rootfs.createjffs2 - Create a JFFS2 File Image of the current $ROOTFS
rootfs.createtgz - Create a tar archive the current $ROOTFS
rootfs.backup - Copy $ROOTFS to $ROOTFS.backup (useful before running rootfs.trim)
rootfs.manifest - Create $ROOTFS.manifest
rootfs.trim - Trim files from $ROOTFS to make it suitable for a JFFS2 image
See files /home/cnh01994/ccm_wa/H264/stb225/src/rootfs/*.trim.txt
rootfs.stats - Prints various statistics about $ROOTFS
make[1]: Leaving directory `/home/cnh01994/ccm_wa/H264/stb225'
同样的对于kernal image,你可以使用prjmake control sub=linux.install来恢复project的kernal文件到tftp目录,同样你也可以使用prjmake control sub=linux来查看相关命令如下:
=*=*=*=*=*=*=*=*=*=*=*= START stb225/control/pnx8335-stb225-le =*=*=*=*=*=*=*=*=*=*=*=
make - linux cpu=pnx8335-stb225 env=stb225/control/pnx8335-stb225-le
make[1]: Entering directory `/home/cnh01994/ccm_wa/H264/stb225'
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:27: including this file
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:43: Setting LNXEXAPPS to appCabotCVD
Make-targets for linux:
make linux.help
make linux.clean
make linux.untar
make linux.patch
make linux.config
make linux.make
make linux.modules.make
make linux.kernel.make
make linux.int.modules.make
make linux.ext.modules.make
make linux.install
make linux.makeemu
make linux.modules.make - Makes all loadable kmodules
make linux.int.modules.make - Makes loadable kmodules that are internal to $KSRC
make linux.ext.modules.make - Makes loadable kmodules that are external to $KSRC
make linux.htmldocs - Runs make htmldocs in $KSRC
# To view linux.htmldocs, run: - htmlview $KSRC/Documentation/DocBook/index.html
make linux.mandocs - Runs make mandocs in $KSRC
make linux.pdfdocs - Runs make pdfdocs in $KSRC
make linux.psdocs - Runs make psdocs in $KSRC
make linux.xmldocs - Runs make xmldocs in $KSRC
make linux.menuconfig - Runs make menuconfig to update $KSRC/.config
make linux.oldconfig - Runs make oldconfig to update $KSRC/.config
make linux.meldconfig - Runs: meld on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.diffconfig - Runs: "diff ${DIFFCONFIG_OPTS}" on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.udiffconfig - Runs: "diff -u" on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.updconfig - Updates /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config from $KSRC/.config
linux source .config file - /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config
linux build .config file - build_STBcvd_NANDflash_HDdecoding_trace/packages/linux-2.6.24.7_nxp/.config
make linux.externaltree.help - Show help on using external KSRC tree
make[1]: Leaving directory `/home/cnh01994/ccm_wa/H264/stb225'
本文出自 “叶落花开” 博客,请务必保留此出处http://wb127.blog.51cto.com/2232662/508814
然后copy auImage.stb225_nand到tftp目录,并且改名为load的kernal文件.
如果你使用其他的目录来做nfs的root,那么你可以打断原来的rootfs_stb225的链接,使它指向你自己的目录。使用完以后使用如下命令恢复rootfs_stb225到你的project指定目录
prjmake control sub=rootfs.nfsexport 如果你记不住命令,那么你可以执行prjmake control sub=rootfs.系统会列出来所有有关的命令如下:
=*=*=*=*=*=*=*=*=*=*=*= START stb225/control/pnx8335-stb225-le =*=*=*=*=*=*=*=*=*=*=*=
make - rootfs cpu=pnx8335-stb225 env=stb225/control/pnx8335-stb225-le
make[1]: Entering directory `/home/cnh01994/ccm_wa/H264/stb225'
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:27: including this file
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:43: Setting LNXEXAPPS to appCabotCVD
Make-targets for rootfs:
make rootfs.help
make rootfs.clean
make rootfs.init
make rootfs.create
make rootfs.nfsexport
make rootfs.realclean
make rootfs.copy
rootfs.realclean - Remove your $ROOTFS tree
rootfs.init - Create a new $ROOTFS tree
rootfs.createcramfs - Create a CRAMFS File Image of the current $ROOTFS
rootfs.createsquashfs - Create a SQUASHFS File Image of the current $ROOTFS
rootfs.createyaffs2 - Create a YAFFS2 File Image of the current $ROOTFS
rootfs.createjffs2 - Create a JFFS2 File Image of the current $ROOTFS
rootfs.createtgz - Create a tar archive the current $ROOTFS
rootfs.backup - Copy $ROOTFS to $ROOTFS.backup (useful before running rootfs.trim)
rootfs.manifest - Create $ROOTFS.manifest
rootfs.trim - Trim files from $ROOTFS to make it suitable for a JFFS2 image
See files /home/cnh01994/ccm_wa/H264/stb225/src/rootfs/*.trim.txt
rootfs.stats - Prints various statistics about $ROOTFS
make[1]: Leaving directory `/home/cnh01994/ccm_wa/H264/stb225'
同样的对于kernal image,你可以使用prjmake control sub=linux.install来恢复project的kernal文件到tftp目录,同样你也可以使用prjmake control sub=linux来查看相关命令如下:
=*=*=*=*=*=*=*=*=*=*=*= START stb225/control/pnx8335-stb225-le =*=*=*=*=*=*=*=*=*=*=*=
make - linux cpu=pnx8335-stb225 env=stb225/control/pnx8335-stb225-le
make[1]: Entering directory `/home/cnh01994/ccm_wa/H264/stb225'
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:27: including this file
/home/cnh01994/ccm_wa/H264/design_in/CVD/etc/design_in_control_cpu_linux.mk:43: Setting LNXEXAPPS to appCabotCVD
Make-targets for linux:
make linux.help
make linux.clean
make linux.untar
make linux.patch
make linux.config
make linux.make
make linux.modules.make
make linux.kernel.make
make linux.int.modules.make
make linux.ext.modules.make
make linux.install
make linux.makeemu
make linux.modules.make - Makes all loadable kmodules
make linux.int.modules.make - Makes loadable kmodules that are internal to $KSRC
make linux.ext.modules.make - Makes loadable kmodules that are external to $KSRC
make linux.htmldocs - Runs make htmldocs in $KSRC
# To view linux.htmldocs, run: - htmlview $KSRC/Documentation/DocBook/index.html
make linux.mandocs - Runs make mandocs in $KSRC
make linux.pdfdocs - Runs make pdfdocs in $KSRC
make linux.psdocs - Runs make psdocs in $KSRC
make linux.xmldocs - Runs make xmldocs in $KSRC
make linux.menuconfig - Runs make menuconfig to update $KSRC/.config
make linux.oldconfig - Runs make oldconfig to update $KSRC/.config
make linux.meldconfig - Runs: meld on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.diffconfig - Runs: "diff ${DIFFCONFIG_OPTS}" on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.udiffconfig - Runs: "diff -u" on /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config and $KSRC/.config
make linux.updconfig - Updates /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config from $KSRC/.config
linux source .config file - /home/cnh01994/ccm_wa/H264/stb225/src/open/linux/configs/linux-2.6.24.7_nxp.stb225.config
linux build .config file - build_STBcvd_NANDflash_HDdecoding_trace/packages/linux-2.6.24.7_nxp/.config
make linux.externaltree.help - Show help on using external KSRC tree
make[1]: Leaving directory `/home/cnh01994/ccm_wa/H264/stb225'
本文出自 “叶落花开” 博客,请务必保留此出处http://wb127.blog.51cto.com/2232662/508814
相关文章推荐
- 如何使用编译生成的release搭建nfs boot环境
- 从头搭建imx6ull开发环境(uboot、内核编译及烧入、mfgtools详细使用方法)
- 【imx6ul】从头搭建imx6ul开发环境(uboot、内核编译及烧入、mfgtools详细使用方法)
- 转-【CTF环境搭建之】如何使用Jadx反编译软件
- 如何使用efi toolkit搭建编译efi app的环境
- 从头搭建imx6ul开发环境(uboot、内核编译及烧入、mfgtools详细使用方法)
- 转-【CTF环境搭建之】如何使用Android反编译软件
- sqlite使用总结(一)搭建编译与使用环境
- Ubuntu(Linux)使用Eclipse搭建C/C++编译环境
- 嵌入式软件开发培训笔记——ARM架构Linux系统下交叉编译环境搭建、NFS、TFTP服务配置及Nandflash的读写
- 在Linux下如何使用GCC编译程序、简单生成静态库及动态库。
- arm-linux-gcc 安装和使用(交叉编译环境搭建)
- 在Linux下如何使用GCC编译程序、简单生成静态库及动态库
- 如何在Windows平台使用VS搭建C++/Lua的开发环境
- 关于libevent的环境搭建和编译使用问题
- 如何使用Spring Boot从0到1搭建一个Java后台(一)
- 在Linux下如何使用GCC编译程序、简单生成 静态库及动态库
- ubuntu9.10使用第一天(教育网直通车+源修改+C++编译环境搭建+输入法安装)
- 基于windows下使用CMake和VS2013编译OpenCV的环境搭建
- 如何在 Windows 恢复环境中使用 Bootrec.exe 工具解决和修复 Windows Vista 中的启动问题