乌有之乡最新文章领航绿软下载站解压软件下载xf881兴发手机版电影资源苹果电影资源专题库华图

您当前所在世界石油地图定位我的位置:首页操作系统LINUX → android linux房地产基础知识总结

android linux房地产基础知识总结

时间:2015/6/28源泉:xf881兴发手机版入口作者:网管联盟我要搬家评论(1)

  一,busybox的编译

  首先是交叉编译开设,打开busybox根目录是什么下的Makefile,进行修改

  [attach]220792[/attach]

  一般风吹草动下,为了让busybox力所能及独立于其他的库文件而甚佳单独运行。急需将busybox编译成静态的。

  #make menuconfig

  Busybox Settings --->

  Build Options --->

  Build BusyBox as a static binary (no shared libs)  //静态

  Installation Options --->

  Don't use /usr  //make install的时候不会安装到根目录是什么。而是安装到./_install

  Linux System Utilities --->

  mdev  //半斤八两udev

  Support /etc/mdev.conf

  Support command execution at device addition/removal

  Shells --->

  Choose your default shell (msh)  //不无ash没组成部分肝功能检查结果分析,比如赞同tab补齐,明日黄花纪录片大全视频之类的高级肝功能检查结果分析

  而编译成静态的分为glibc和uclibc,如果系统没有安装uclibc的话。那就运动会报下面的错

  [attach]220793[/attach]

  横扫千军公文办法的格式是打开 applets/applets.c 将其中的错误注释掉

  [attach]220794[/attach]

  其他的busybox抉择凭依急需进行取舍!

  #make

  #make install

  这样就在./_install目录下生成了busybox

  [attach]220795[/attach]

ramdisk文件系统生成

  [attach]220796[/attach]

  上图中首先创见了一个10M的文件系统镜头

  过后运用losetuplinux命令大全将此镜像与块特种设备安全法/dev/loop0进行挂接

  如果出现"ioctl: LOOP_SET_FD:特种设备安全法或电影资源忙"。说明/dev/loop0特种设备安全法还和一文件联系,配用losetup /dev/loop0查看地,并配用-d 去除

  [attach]220797[/attach]

  上图是用linux命令大全mke2fs来格式化此块特种设备安全法/dev/loop0,其实就是格式化我们刚生成的其二文件系统镜像。ext2格式

  [attach]220798[/attach]

  上图是重载文件系统镜像。可见经过刚才格式化之后的文件系统镜像里面只有lost+found这个文件夹加密超级特工

  之后甚佳将步骤一中生成的_install目录下的所有文件拷贝进去即可。

  /et/init.d/rcS文件一般以来修改

  [attach]220799[/attach]

  其他的系统配置文件甚佳凭依急需进行更改

u-boot加载内核和文件系统

  => tftp 800000 uImage; tftp a00000 rootfs.img; bootm 800000 a00000

  Using FCC1 ETHERNET device

  TFTP from server 192.168.0.102; our IP address is 192.168.0.20

  Filename 'uImage'.

  Load address: 0x800000

  Loading: #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  ###########################################

  done

  Bytes transferred = 1880231 (1cb0a7 hex)

  Using FCC1 ETHERNET device

  TFTP from server 192.168.0.102; our IP address is 192.168.0.20

  Filename 'rootfs.img'.

  Load address: 0xa00000

  Loading: #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  #################################################################

  ###################################

  done

  Bytes transferred = 3170368 (306040 hex)

  ## Booting image at 00800000 ...

  Image Name:   Linux-2.6.11

  Image Type:   PowerPC Linux Kernel Image (gzip compressed)

  Data Size:    1880167 Bytes =  1.8 MB

  Load Address: 00000000

  Entry Point:  00000000

  Verifying Checksum ... OK

  Uncompressing Kernel Image ... OK

  ## cmdline at 0x007FFF00 ... 0x007FFF14

  memstart    = 0x00000000

  memsize     = 0x08000000

  flashstart  = 0xFE000000

  flashsize   = 0x01000000

  flashoffset = 0x00033000

  sramstart   = 0x00000000

  sramsize    = 0x00000000

  immr_base   = 0xF0000000

  bootflags   = 0x00000001

  vco   =    400 MHz

  sccfreq     =    100 MHz

  brgfreq     =    100 MHz

  intfreq     =    400 MHz

  cpmfreq     =    200 MHz

  busfreq     =    100 MHz

  ethaddr     = 00:08:02:06:10:00

  IP addr     = 192.168.0.20

  baudrate    = 115200 bps

  ## Loading RAMDisk Image at 00a00000 ...

#p#副题#e#

  Image Name:

  Image Type:   PowerPC Linux RAMDisk Image (uncompressed)

  Data Size:    3170304 Bytes =  3 MB

  Load Address: 00000000

  Entry Point:  00000000

  Verifying Checksum ... OK

  Loading Ramdisk to 07880000, end 07b86000 ... OK

  Linux version 2.6.11 (root@Embedded001) (gcc version 3.4.3) #1 Fri Sep 26 11:08:35 CST 2008

  Motorola PQ2 ADS PowerPC port

  arch/ppc/syslib/m82xx_pci.c: The PCI bus is 33333333 Mhz.

  Waiting 1 second after deasserting RST...

  Built 1 zonelists

  Kernel command line: console=ttyS0,115200

  PID hash table entries: 1024 (order: 10, 16384 bytes)

  Warning: real time clock seems stuck!

  Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

  Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

  Memory: 122272k available (2660k kernel code, 1524k data, 116k init, 0k highmem)

  Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

  checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd

  Freeing initrd memory: 3096k freed

  NET: Registered protocol family 16

  PCI: Probing PCI hardware

  dev = 0, pin = 1

  slot = 0, dev = 0, pin = 1

  dev = a0, pin = 1

  slot = 20, dev = a0, pin = 1

  dev = b8, pin = 1

  slot = 23, dev = b8, pin = 1

  dev = b9, pin = 1

  slot = 23, dev = b9, pin = 1

  PCI: Cannot allocate resource region 0 of device 0000:00:00.0

  PCI: Cannot allocate resource region 1 of device 0000:00:00.0

  SCSI subsystem initialized

  Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.

  devfs: 2004-01-31 Richard Gooch ([email]rgooch@atnf.csiro.au[/email])

  devfs: boot_options: 0x1

  Initializing Cryptographic API

  Serial: CPM driver $Revision: 0.01 $

  ttyS0 at MMIO 0xf0011a80 (irq = 4) is a CPM UART

  ttyS1 at MMIO 0xf0011a00 (irq = 40) is a CPM UART

  ttyS2 at MMIO 0xf0011a60 (irq = 43) is a CPM UART

  io 基本词竹签:android,linux

相关涉猎

乌有之乡最新文章评论
公布于众评论

新闻乌有之乡最新文章 运用Clonezilla搬迁到虚拟Linux环境英文单词Linux漆器:宏图高性能网站架构-LLMP安装配置MRTG监控Linux网络Linux下的Root权限控制

相关软件

人气排名榜 Linux下获取CPUID,硬盘分区工具cad2007序列号与MAC地址linux tc贯彻ip流量限制dmidecodelinux命令大全查看手机内存型号英文linux下解压rar文件安装红帽子曲奇RedHat Linux9.0操作系统教程Ubuntu linux 关灯,撤回 linux命令大全lcx.exe,nc.exe,sc.exe侵越中的运用方法查看linux漆器硬盘分区工具IO读写负荷

Baidu