1. 程式人生 > >jffs2檔案系統的製作以及移植

jffs2檔案系統的製作以及移植

[ [email protected] yangzheng ]# boot

NANDread: device 0 offset 0x100000, size 0x27c800

 2607104 bytes read: OK

##Booting kernel from Legacy Image at 30008000 ...

   Image Name:  Linux Kernel

   Created:     2013-06-05   3:24:43 UTC

   Image Type:  ARM Linux Kernel Image (uncompressed)

   Data Size:   2605420 Bytes = 2.5 MiB

   Load Address: 30008000

   Entry Point: 30008040

   Verifying Checksum ... OK

   XIP Kernel Image ... OK

OK

OS entrypoint: 30008040

Imageentry point=30008040

Startingkernel ...

UncompressingLinux... done, booting the kernel.

Linuxversion 3.0.0 ([email protected]) (gccversion 4.5.4 (Buildroot 2012.08) ) #6 Wed Jun 5 11:24:39 CST 2013

CPU:ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177

CPU: VIVTdata cache, VIVT instruction cache

Machine:SMDK2440

Memorypolicy: ECC disabled, Data cache writeback

CPU S3C2440A(id 0x32440001)

S3C24XX Clocks, Copyright 2004 SimtecElectronics

S3C244X: core 405.000 MHz, memory 101.250MHz, peripheral 50.625 MHz

CLOCK:Slow mode (1.500 MHz), fast, MPLL on, UPLL on

Built 1zonelists in Zone order, mobility grouping on. Total pages: 16256

Kernelcommand line: noinitrd root=/dev/mtdblock4 rootfstype=jffs2 init=/linuxrcconsole=ttyS0,115200

PID hashtable entries: 256 (order: -2, 1024 bytes)

Dentrycache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cachehash table entries: 4096 (order: 2, 16384 bytes)

Memory:64MB = 64MB total

Memory:59488k/59488k available, 6048k reserved, 0K highmem

Virtualkernel memory layout:

    vector : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap : 0xfff00000 - 0xfffe0000   ( 896kB)

    DMA    : 0xffc00000 - 0xffe00000   (   2 MB)

    vmalloc : 0xc4800000 - 0xf6000000   ( 792 MB)

    lowmem : 0xc0000000 - 0xc4000000   (  64 MB)

    modules : 0xbf000000 - 0xc0000000   (  16MB)

      .init : 0xc0008000 - 0xc002e000   ( 152 kB)

      .text : 0xc002e000 - 0xc04f0000  (4872 kB)

      .data : 0xc04f0000 - 0xc051fb20  ( 191 kB)

       .bss : 0xc051fb44 - 0xc054bfa0   ( 178 kB)

NR_IRQS:85

irq:clearing pending ext status 00080000

irq:clearing subpending status 00000003

irq:clearing subpending status 00000002

Console:colour dummy device 80x30

console[ttyS0] enabled

Calibratingdelay loop... 201.52 BogoMIPS (lpj=503808)

pid_max:default: 32768 minimum: 301

Mount-cachehash table entries: 512

CPU:Testing write buffer coherency: ok

gpiochip_add:gpios 288..303 (GPIOK) failed to register

gpiochip_add:gpios 320..334 (GPIOL) failed to register

gpiochip_add:gpios 352..353 (GPIOM) failed to register

NET:Registered protocol family 16

S3C Power Management, Copyright 2004Simtec Electronics

S3C2440: Initialising architecture

S3C2440: IRQ Support

S3C24XX DMA Driver, Copyright 2003-2006Simtec Electronics

DMAchannel 0 at c4804000, irq 33

DMAchannel 1 at c4804040, irq 34

DMAchannel 2 at c4804080, irq 35

DMAchannel 3 at c48040c0,irq 36

S3C244X: Clock Support, DVS off

s3c-adc s3c24xx-adc: attached adc driver

bio:create slab <bio-0> at 0

SCSIsubsystem initialized

usbcore:registered new interface driver usbfs

usbcore:registered new interface driver hub

usbcore:registered new device driver usb

s3c-i2cs3c2440-i2c: slave address 0x10

s3c-i2cs3c2440-i2c: bus frequency set to 98 KHz

s3c-i2cs3c2440-i2c: i2c-0:S3C I2C adapter

AdvancedLinux Sound Architecture Driver Version 1.0.24.

cfg80211:Calling CRDA to update world regulatory domain

NET:Registered protocol family 2

IP routecache hash table entries: 1024 (order: 0, 4096 bytes)

TCPestablished hash table entries: 2048 (order: 2, 16384 bytes)

TCP bindhash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hashtables configured (established 2048 bind 2048)

TCP reno registered

UDP hashtable entries: 256 (order: 0, 4096 bytes)

UDP-Litehash table entries: 256 (order: 0, 4096 bytes)

NET:Registered protocol family 1

RPC:Registered named UNIX socket transport module.

RPC:Registered udp transport module.

RPC:Registered tcp transport module.

RPC:Registered tcp NFSv4.1 backchannel transport module.

NetWinderFloating Point Emulator V0.97 (extended precision)

NTFSdriver 2.1.30 [Flags: R/W].

JFFS2version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

msgmnihas been set to 116

ioscheduler noop registered

ioscheduler deadline registered

ioscheduler cfq registered (default)

Console:switching to colour frame buffer device 60x34

fb0: s3c2410fb frame buffer device

s3c2440-uart.0: ttyS0 at MMIO 0x50000000(irq = 70) is a S3C2440

s3c2440-uart.1: ttyS1 at MMIO 0x50004000(irq = 73) is a S3C2440

s3c2440-uart.2: ttyS2 at MMIO 0x50008000(irq = 76) is a S3C2440

brd:module loaded

loop:module loaded

at24 0-0050:65536 byte 24c512EEPROM, writable, 128 bytes/write

S3C24XX NAND Driver, (c) 2004 SimtecElectronics

s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=329ns

s3c24xx-nand s3c2440-nand: NAND soft ECC

NANDdevice: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)

Scanningdevice for bad blocks

Baderaseblock 421 at 0x0000034a0000

Baderaseblock 1177 at 0x000009320000

Baderaseblock 1727 at 0x00000d7e0000

Creating11 MTD partitions on "NAND":

0x000000000000-0x000000100000: "mtdblock0 u-boot 1MB"

0x000000100000-0x000000500000: "mtdblock1 kernel 4MB"

0x000000500000-0x000000f00000 : "mtdblock2 ramdisk10MB"

0x000000f00000-0x000001e00000 :"mtdblock3 cramfs 15MB"

0x000001e00000-0x000004600000: "mtdblock3 jffs2 40MB"

0x000004600000-0x000006e00000: "mtdblock4 yaffs2 40MB"

0x000006e00000-0x000009600000: "mtdblock5 ubifs 40MB"

0x000009600000-0x000009700000: "mtdblock6 info 1MB"

0x000009700000-0x00000bf00000: "mtdblock7 apps 40MB"

0x00000bf00000-0x00000e700000: "mtdblock8 data 40MB"

0x00000e700000-0x000010000000: "mtdblock9 backup 25MB"

PPPgeneric driver version 2.4.2

PPPDeflate Compression module registered

PPP BSDCompression module registered

PPP MPPECompression module registered

NET:Registered protocol family 24

dm9000Ethernet Driver, V1.31

eth0: dm9000a at c4864300,c4866304 IRQ 51 MAC:08:00:3e:26:0a:6b(chip)

usbcore:registered new interface driver rt2800usb

ohci_hcd:USB 1.1 'Open' Host Controller (OHCI) Driver

s3c2410-ohci s3c2410-ohci: S3C24XXOHCI

s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned busnumber 1

s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000

usb usb1:New USB device found, idVendor=1d6b, idProduct=0001

usb usb1:New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1:Product: S3C24XXOHCI

usb usb1:Manufacturer: Linux 3.0.0 ohci_hcd

usb usb1:SerialNumber: s3c24xx

hub1-0:1.0: USB hub found

hub1-0:1.0: 2 ports detected

InitializingUSB Mass Storage driver...

usbcore:registered new interface driver usb-storage

USB MassStorage support registered.

usbcore:registered new interface driver usbserial

usbserial:USB Serial Driver core

USBSerial support registered for ch341-uart

usbcore:registered new interface driver ch341

USBSerial support registered for FTDI USB Serial Device

usbcore:registered new interface driver ftdi_sio

ftdi_sio:v1.6.0:USB FTDI Serial Converters Driver

USBSerial support registered for GSM modem (1-port)

usbcore:registered new interface driver option

option: v0.7.2:USBDriver for GSM modems

USBSerial support registered for pl2303

usbcore:registered new interface driver pl2303

pl2303:Prolific PL2303 USB to serial adaptor driver

mousedev:PS/2 mouse device common for all mice

samsung-tss3c2440-ts: driverattached, registering input device

input: S3C24XX TouchScreen as/devices/virtual/input/input0

S3C24XX RTC, (c) 2004,2006 SimtecElectronics

s3c-rtc s3c2410-rtc: rtc disabled, re-enabling

s3c-rtc s3c2410-rtc: rtc core: registered s3c as rtc0

i2c /dev entries driver

s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ

usbcore:registered new interface driver usbhid

usbhid:USB HID core driver

S3C24XX_UDA134X SoC Audio driver

UDA134XSoC Audio Codec

asoc:uda134x-hifi <-> s3c24xx-iismapping ok

ALSAdevice list:

  #0: S3C24XX_UDA134X

Netfiltermessages via NETLINK v0.30.

nf_conntrackversion 0.5.0 (929 buckets, 3716 max)

ctnetlinkv0.93: registering with nfnetlink.

xt_time:kernel timezone is -0000

ip_set:protocol 6

IPVS:Registered protocols (TCP, UDP, AH, ESP)

IPVS:Connection hash table configured (size=4096, memory=32Kbytes)

IPVS:Creating netns size=1008 id=0

IPVS:ipvs loaded.

IPVS:[rr] scheduler registered.

IPVS:[wrr] scheduler registered.

IPVS:[lc] scheduler registered.

IPVS:[wlc] scheduler registered.

IPVS:[lblc] scheduler registered.

IPVS: [lblcr]scheduler registered.

IPVS:[dh] scheduler registered.

IPVS:[sh] scheduler registered.

IPVS:[sed] scheduler registered.

IPVS:[nq] scheduler registered.

ip_tables:(C) 2000-2006 Netfilter Core Team

ipt_CLUSTERIP:ClusterIP Version 0.8 loaded successfully

arp_tables:(C) 2002 David S. Miller

TCP cubicregistered

NET:Registered protocol family 17

lib80211:common routines for IEEE802.11 drivers

Registeringthe dns_resolver key type

s3c-rtc s3c2410-rtc: setting system clock to 2047-03-2108:01:22 UTC (2436768082)

usb 1-1:new full speed USB device number 2 using s3c2410-ohci

usb 1-1:New USB device found, idVendor=05e3, idProduct=0606

usb 1-1:New USB device strings: Mfr=1, Product=2, SerialNumber=0

usb 1-1:Product: USB Hub 2.0

hub1-1:1.0: USB hub found

hub1-1:1.0: 4 ports detected

VFS:Mounted root (jffs2 filesystem) on device 31:4.

Freeinginit memory: 152K

dm9000dm9000.0: eth0: link down

dm9000dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1

Copyright(C) 2013 yangzheng<[email protected]>

rootlogin: root

>: ls

apps     data    etc      info     lib     mnt      root     sys     usr

bin      dev     haha     init     linuxrc proc     sbin     tmp     var

>:

>:

相關推薦

jffs2檔案系統製作移植

——————————————————————————————————————— 主機作業系統:Centos 6.7交叉編譯器環境:arm-linux-gcc-4.5.4 開發板平臺: FL2440 Linux核心版本: linux-3.0 製作檔案系統型別:JFFS2郵箱

cramfs檔案系統製作移植(二)

[ [email protected] ]# bootm ## Booting kernel from Legacy Image at 30008000 ...    Image Name:   Linux Kernel    Created:      2013-04-23  12:05:15

jffs2檔案系統製作

U-Boot 2010.09-00000-g1a87d59 (Jun 01 2011 - 21:21:30) Modified by guowenxue for s3c2440/s3c2410 board. DRAM:  64 MiB Flash: 1 MiB NAND:  256 MiB In:    se

ramdisk檔案系統製作移植

[ [email protected] ]# pri bbl=nand erase 0 100000;tftp 30008000 u-boot-$cpu.bin;nand write 30008000 0 $filesize norbbl=erase bank 1;tftp 30008000 u-b

jffs2檔案系統製作(適用於spi nor flash)

mkfs.jffs2: Usage: mkfs.jffs2 [OPTIONS] Make a JFFS2 file system image from an existing directory tree Options: -p, --pad[=SIZE]       用16進位制來表示所要輸出檔案的大小,也

NFS檔案系統製作移植

**************************************************************************************************

jffs2檔案系統製作以及移植

[ [email protected] yangzheng ]# boot NANDread: device 0 offset 0x100000, size 0x27c800  2607104 bytes read: OK ##Booting kernel from Legacy Image a

cramfs檔案系統製作以及移植

[ [email protected] yangzheng ]# boot NANDread: device 0 offset 0x100000, size 0x27d800  2611200 bytes read: OK ##Booting kernel from Legacy Image at

Linux核心移植和根檔案系統製作(詳細步驟精講)

start_kernel是所有 Linux 平臺進入系統核心初始化後的入口函式,它主要完成剩餘的與硬體平臺相關的初始化工作,在進行一系列與核心相關的初始化後,呼叫第一個使用者程序-init 程序並等待使用者程序的執行,這樣整個 Linux 核心便啟動完畢。該函式所做的具體工作有:呼叫 setup_arch

檔案系統製作(cramfs,jffs2)及busybox編譯

1.cramfs製作 cramfs-1.1.tar.gz >mkcramfs rootfs root.cramfs 2.jffs2製作 下載:mtd-utils-1.5.0.tar.bz2 》cd mtd-utils-1.5.0 >make >make

Linux-2.6.32.2核心在mini2440上的移植(四)---根檔案系統製作(1)

ROMFS MTD (C) 2007 Red Hat, Inc.msgmni has been set to 109 alg: No test for stdrng (krng) io scheduler noop registered io scheduler anticipatory registered

LINUX移植——根檔案系統製作(一)

上一篇文章當中,說了說怎樣搭建nfs伺服器的過程,這也是製作根檔案系統前必須的準備工作,當然也可以用其他方法,但從除錯的角度來說,還是nfs最適合了。這篇文章咱們正式開始製作根檔案系統,主要內容如下:

【原創】Linux 系統移植日誌----jffs2檔案系統定製

【原創】Linux 系統移植日誌—-jffs2檔案系統定製 DATE:2011-9-13 目標: 熟練u-boot、linux系統、檔案系統的優化裁剪;精通系統移植;精通linux系統、檔案系統、uboot原理等。 第一天,嘗試在AT91SAM9

arm-linux移植手記(四)基於busybox1.16.0的根檔案系統製作

    參考《Mini2440_Linux移植開發實戰指南.pdf》中的“使用 Busybox 構建檔案系統”,還是有些問題,我自己的為主要原因。詳細的檔案系統的介紹與理解,自己搜尋檢視相關資料吧,我這裡僅是記錄操作步驟與遇到的問題。指南手冊可以在我的資源中下載。環境介紹:

Hadoop分散式檔案系統搭建以及基本操作

1. 環境搭建 jdk-1.8 jdk下載地址 export JAVA_HOME = /usr/lib/java/jdk1.7.0_21 export PATH =$JAVA_HOME/bin:$PATH hadoop-2.7.3 hadoop各個版本

Linux根檔案系統製作與各種掛載方式的實現

Linux根檔案系統的製作 什麼是檔案系統 計算機的檔案系統是一種儲存和組織計算機資料的方法,它使得對其訪問和查詢變得容易,檔案系統使用檔案和樹形目錄的抽象邏輯概念代替了硬碟和光碟等物理裝置使用資料塊的概念,使用者使用檔案系統來儲存資料不必關心資料實際儲存在硬碟(或者光碟)的地址為多少的資料

cpio命令與檔案系統製作

嵌入式開發過程中的檔案系統製作,往往是使用已經定製好的目錄及檔案進行製作,下面以實際的例子進行說明: 假設當前目錄為rootdir,目錄結構如下: [email protected]:~# tree -L 2 rootdir rootdir |-- dev |--

cramfs根檔案系統製作啟動總結

cramfs啟動根檔案系統 Cramfs:Compressed ROM File System   Cramfs是Linux的創始人 Linus Torvalds參與開發的一種只讀的壓縮檔案系統。它也基於MTD驅動程式。   cramfs擁有以下一些特性:  採用實時解壓

cramfs檔案系統製作

參考:http://blog.csdn.net/liukun321/article/details/7256456 1、首先配置核心,開啟對cramfs的支援:  File systems  --->[*] Miscellaneous filesystems  ---

嵌入式Linux-根檔案系統1_如何移植busybox和動態共享庫

一.busybox 編譯/安裝busybox,生成/bin、/sbin、/usr/bin、/usr/sbin目錄 這些目錄下儲存的主要是常用命令的二進位制檔案。有了busyb,就不需要自己編寫這幾百個常用命令的源程式,而是直接呼叫。     &nb