博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
脚本_文件合成
阅读量:4286 次
发布时间:2019-05-27

本文共 679 字,大约阅读时间需要 2 分钟。

#!/bin/bash #function : Synthetic file#[ -n "$1" ] || {
echo ""; echo "usage:"; echo " $0 ubootfile uImagefile fsfile"; echo " e.g." echo " ./mkboot.sh u-boot.bin rooffs.jffs2"; echo ""; exit 1; }[ -n "$2" ] || {
echo ""; echo "usage:"; echo " $0 ubootfile uImagefile fsfile"; echo " e.g." echo " ./mkboot.sh u-boot.bin rooffs.jffs2"; echo ""; exit 1; }[ -n "$3" ] || {
echo ""; echo "usage:"; echo " $0 ubootfile uImagefile fsfile"; echo " e.g." echo " ./mkboot.sh u-boot.bin rooffs.jffs2"; echo ""; exit 1; }dd if=$1 of=uboot bs=1M conv=syncdd if=$2 of=kernel bs=4M conv=synccat uboot kernel $3 > Imagerm uboot kernel

##参考

转载地址:http://mvigi.baihongyu.com/

你可能感兴趣的文章
Linux内核分析-2/时间片轮转多道程序
查看>>
Linux内核分析-4/5/系统调用
查看>>
c/c++常见关键字
查看>>
C++内存地址分配和内存区划分简介
查看>>
C++数值交换
查看>>
指针数组、数组指针、函数指针、指针函数
查看>>
float,double在内存中的存储方式
查看>>
int main(int argc,char* argv[])详解
查看>>
C++打印地址
查看>>
ARM处理器比较:A8/A9
查看>>
ARM处理器工作模式
查看>>
ARM处理器寄存器
查看>>
汇编语言学习
查看>>
ARM寻址方式
查看>>
uboot工作流程分析
查看>>
不錯的技術論壇
查看>>
GDB 常用參數
查看>>
pthread man page
查看>>
Linux 如何修改 root 密碼
查看>>
nc 傳輸
查看>>