(-u@-h -W-# )在移植根文件系統(tǒng)時的處理方法_第1頁
(-u@-h -W-# )在移植根文件系統(tǒng)時的處理方法_第2頁
(-u@-h -W-# )在移植根文件系統(tǒng)時的處理方法_第3頁
(-u@-h -W-# )在移植根文件系統(tǒng)時的處理方法_第4頁
(-u@-h -W-# )在移植根文件系統(tǒng)時的處理方法_第5頁
已閱讀5頁,還剩33頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

精品文檔-下載后可編輯([\u@\h\W]\#)在移植根文件系統(tǒng)時的處理方法

    現(xiàn)在我們經(jīng)常會用busybox生成根文件系統(tǒng),可是根文件系統(tǒng)起來以后命令行提示符只有一個“#”號,沒有像linux發(fā)行版那樣是[user@hostnamecurrentpath]#,那么我們這里就說說如何讓我們的根文件系統(tǒng)按這個方式顯示。

要修改命令行提示符,首先我們需要知道一個環(huán)境變量PS1,我們可以查看bash的幫助文檔查看關(guān)于PS1的說明:

bash有兩級命令提示符,我們這里說的是級,這缺省的提示符是字符“$”(超級用戶是“#”),我們可以通過修改PS1修改這個提示符,格式為:

PS1=“commandlist”

命令列表有很多參數(shù)如下:

\!顯示該命令的歷史記錄編號。

\#顯示當(dāng)前命令的命令編號。

\$顯示$符作為提示符,如果用戶是root的話,則顯示#號。

\\顯示反斜杠。

\d顯示當(dāng)前日期。

\h顯示主機(jī)名。

\n打印新行。

\nnn顯示nnn的八進(jìn)制值。

\s顯示當(dāng)前運行的shell的名字。

\t顯示當(dāng)前時間。

\u顯示當(dāng)前用戶的用戶名。

\W顯示當(dāng)前工作目錄的名字。

\w顯示當(dāng)前工作目錄的路徑

我們查看我們發(fā)行版linux中的PS1.

$echoecho$PS1

[\u@\h\W]\$

看了發(fā)行版是如何顯示命令行提示符,那么我們再看一下為什么我們做的根文件系統(tǒng)只顯示一個#,用busybox生成的根文件系統(tǒng)使用的是ash,我們看下busybox中關(guān)于ash的文件。

在busybox-1.15.4/shell/ash.h中有這樣的語句

/*

*PS1dependsonuid

*/

#ifENABLE_FEATURE_EDITING&&ENABLE_FEATURE_EDITING_FANCY_PROMPT

vps1.text=“PS1=\\w\\$”;

#else

if(!geteuid())

vps1.text=“PS1=#”;

#endif

結(jié)合上面PS1參數(shù)我們可以看出在busybox生成的根文件系統(tǒng)中可能出現(xiàn)兩種顯示方式,一種是“currentpath$”另一種是“#”這兩種顯示在較老的版本中都有。

按照上面的方法修改我們的根文件系統(tǒng)中的命令行提示符。首先我們需要修改buxybox中配置,添加如下兩個選項:

BusyboxSettings>

BusyboxLibraryTuning>

[*]Usernamecompletion

[*]Fancyshellprompts

如果不選擇上面兩項,文件系統(tǒng)是不是別PS1這個環(huán)境變量的參數(shù)的。

創(chuàng)建/etc/hostname添加如下內(nèi)容(我們的主機(jī)名):

farsight

修改/etc/init.d/rcS添加如下內(nèi)容(導(dǎo)入主機(jī)名配置文件):

/bin/hostname–F/etc/hostname

修改根文件系統(tǒng)中/etc/profile文件添加如下內(nèi)容:

HOSTNAM=`/bin/hostname`

PS1=`[\u@\h\W]\#`

exportPS1HOSTNAME

創(chuàng)建/etc/passwd添加如下內(nèi)容:

root:x:0:0:root:/root:/bin/sh

這個時候我們重新啟動我們的開發(fā)板會發(fā)現(xiàn)命令行提示符已經(jīng)是我們想要的那種現(xiàn)實了:

[root@farsight/etc]#

給出我的實驗過程的打印信息

SLUB:Genslabs=11,HWalign=32,Order=0-3,MinObjects=0,CPUs=1,Nodes=1

HierarchicalRCUimplementation.

RCU-baseddetectionofstalledCPUsisdisabled.

Verbosestalled-CPUsdetectionisdisabled.

NR_IRQS:85

irq:clearingsubpendingstatus00000002

Console:colourdummydevice80x30

console[ttySAC0]enabled

Calibratingdelayloop…201.93BogoMIPS(lpj=504832)

pid_max:default:32768minimum:301

Mount-cachehashtableentries:512

CPU:Testingwritebuffercoherency:ok

NET:Registeredprotocolfamily16

MINI2440:Optionstringmini2440=0tb

MINI2440:'t'ignored,touchscreennotcompiledin

MINI2440:LCD[0:240x320]1:800x4802:1024x768

S3C2440:Initialisingarchitecture

S3C2440:IRQSupport

S3C24XXDMADriver,Copyright2003-2006SimtecElectronics

DMAchannel0atc4808000,irq33

DMAchannel1atc4808040,irq34

DMAchannel2atc4808080,irq35

DMAchannel3atc48080c0,irq36

S3C244X:ClockSupport,DVSoff

bio:createslab<bio-0>at0

usbcore:registerednewinterfacedriverusbfs

usbcore:registerednewinterfacedriverhub

usbcore:registerednewdevicedriverusb

s3c-i2cs3c2440-i2c:slaveaddress0x10

s3c-i2cs3c2440-i2c:busfrequencysetto98KHz

s3c-i2cs3c2440-i2c:i2c-0:S3CI2Cadapter

AdvancedLinuxSoundArchitectureDriverVersion1.0.23.

NET:Registeredprotocolfamily2

IProutecachehashtableentries:1024(order:0,4096bytes)

TCPestablishedhashtableentries:2048(order:2,16384bytes)

TCPbindhashtableentries:2048(order:1,8192bytes)

TCP:Hashtablesconfigured(established2048bind2048)

TCPrenoregistered

UDPhashtableentries:256(order:0,4096bytes)

UDP-Litehashtableentries:256(order:0,4096bytes)

NET:Registeredprotocolfamily1

RPC:Registeredudptransportmodule.

RPC:Registeredtcptransportmodule.

RPC:RegisteredtcpNFSv4.1backchanneltransportmodule.

JFFS2version2.2.(NAND)漏2001-2006RedHat,Inc.

ROMFSMTD(C)2007RedHat,Inc.

msgmnihasbeensetto118

ioschedulernoopregistered

ioschedulerdeadlineregistered

ioschedulercfqregistered(default)

Console:switchingtocolourframebufferdevice60x53

fb0:s3c2410fbframebufferdevice

s3c2440-uart.0:s3c2410_serial0atMMIO0x50000000(irq=70)isaS3C2440

s3c2440-uart.1:s3c2410_serial1atMMIO0x50004000(irq=73)isaS3C2440

s3c2440-uart.2:s3c2410_serial2atMMIO0x50008000(irq=76)isaS3C2440

brd:moduleloaded

at240-0050:1024byte24c08EEPROM(writable)

S3C24XXNANDDriver,(c)2004SimtecElectronics

s3c24xx-nands3c2440-nand:Tacls=1,9nsTwrph0=329ns,Twrph1=219ns

s3c24xx-nands3c2440-nand:NANDsoftECC

NANDdevice:ManufacturerID:0xec,ChipID:0x76(SamsungNAND64MiB3,3V8-bit

Creating4MTDpartitionson“nand”:

0x000000000000-0x000000050000:“u-boot”

0x000000050000-0x000000060000:“u-boot-env”

0x000000060000-0x000000560000:“kernel”

0x000000560000-0x000004000000:“root”

UBI:attachingmtd3toubi0

UBI:physicaleraseblocksize:  16384bytes(16KiB)

UBI:logicaleraseblocksize:   15872bytes

UBI:smallestflashI/Ounit:   512

UBI:subsize:             256

UBI:VIDheaderoffset:         256(aligned256)

UBI:dataoffset:               512

UBI:max.sequencenumber:      1307

UBI:attachedmtd3toubi0

UBI:MTDdevicename:           “root”

UBI:MTDdevicesize:           58MiB

UBI:numberofgoodPEBs:       3752

UBI:numberofbadPEBs:        0

UBI:max.allowedvolumes:      92

UBI:wear-levelingthreshold:   4096

UBI:numberofinternalvolumes:1

UBI:numberofuservolumes:    1

UBI:availablePEBs:            0

UBI:totalnumberofreservedPEBs:3752

UBI:numberofPEBsreservedforbadPEBhandling:37

UBI:max/meanerasecounter:4/1

UBI:imagesequencenumber: 0

UBI:backgroundthread“ubi_bgt0d”started,PID677

dm9000EthernetDriver,V1.31

dm9000dm9000:eth%d:InvalidethernetMACaddress.Pleasesetusingifconfig

eth0:dm9000eatc4886300,c488a304IRQ51MAC:00:00:00:00:00:00(chip)

ohci_hcd:USB1.1'Open'HostController(OHCI)Driver

s3c2410-ohcis3c2410-ohci:S3C24XXOHCI

s3c2410-ohcis3c2410-ohci:newUSBbusregistered,assignedbusnumber1

s3c2410-ohcis3c2410-ohci:irq42,iomem0x49000000

hub1-0:1.0:USBhubfound

hub1-0:1.0:2portsdetected

usbcore:registerednewinterfacedriverlibusual

s3c2440-usbgadgets3c2440-usbgadget:S3C2440:increasingFIFOto128bytes

mice:PS/2mousedevicecommonforallmice

input:gpio-keysas/devices/platform/gpio-keys/input/input0

S3C24XXRTC,(c)2004,2006SimtecElectronics

s3c-rtcs3c2410-rtc:rtcdisabled,re-enabling

s3c-rtcs3c2410-rtc:rtccore:registereds3casrtc0

i2c/deventriesdriver

S3C2410WatchdogTimer,(c)2004SimtecElectronics

s3c2410-wdts3c2410-wdt:watchdoginactive,resetdisabled,irqenabled

cpuidle:usinggovernorladder

sdhci:SecureDigitalHostControllerInterfacedriver

sdhci:Copyright(c)PierreOssman

s3c-sdis3c2440-sdi:powereddown.

s3c-sdis3c2440-sdi:mmc0-usingpio,swSDIOIRQ

usbcore:registerednewinterfacedriverhiddev

usbcore:registerednewinterfacedriverusbhid

usbhid:USBHIDcoredriver

NodeviceforDAIUDA134X

NodeviceforDAIs3c24xx-i2s

S3C24XX_UDA134XSoCAudiodriver

UDA134XSoCAudioCodec

asoc:UDA134X<->s3c24xx-i2smappingok

ALSAdevicelist:

#0:S3C24XX_UDA134X(UDA134X)

TCPcubicregistered

NET:Registeredprotocolfamily17

Registeringthedns_resolverkeytype

s3c-rtcs3c2410-rtc:settingsystemclockto2000-05-1301:01:51UTC(958179711)

UBIFS:recoveryneeded

UBIFS:recoverycompleted

UBIFS:mountedUBIdevice0,volume0,name“rootfs”

UBIFS:filesystemsize:  58440704bytes(57071KiB,55MiB,3682LEBs)

UBIFS:journalsize:      8110592bytes(7920KiB,7MiB,511LEBs)

UBIFS:mediaformat:      w4/r0(latestisw4/r0)

UBIFS:defaultcompressor:lzo

UBIFS:reservedforroot: 0bytes(0KiB)

VFS:Mountedroot(ubifsfilesystem)ondevice0:13.

Freeinginitmemory:136K

/etc/init.d/rcS:line20:tarp:notfound

ifconfig:SIOCSIFFLAGS:Cannotassignrequestedaddress

ln:tty0:Fileexists

PleasepressEntertoactivatethisconsole.

[\u@\h\W]\#

[\u@\h\W]\#

[\u@\h\W]\#

[\u@\h\W]\#tftpubifs11.img

BusyBoxv1.13.3(2010-06-0422:52:32CST)multi-callbinary

Usage:tftp[OPTION]…HOST[PORT]

Transferafilefrom/totftpserver

Options:

-lFILELocalFILE

-rFILERemoteFILE

-g     Getfile

-p     Putfile

-bSIZETransferblocksofSIZEoctets

[\u@\h\W]\#tftpubifs11.img

U-Boot2010.06-rc1-00073-g54841ab-dirty(Jan102011-17:27:06)

DRAM: 64MiB

Flash:2MiB

NAND: 64MiB

In:   serial

Out:  serial

Err:  serial

Net:  dm9000

archtype:1999

Hitanykeytostopautoboot: 0

[mini2440]#

[mini2440]#

[mini2440]#tftpubifs11.img

dm9000i/o:0x20000300,id:0x90000a46

DM9000:runningin16bitmode

MAC:08:00:3e:26:0a:5b

operatingatunknown:0mode

Usingdm9000device

TFTPfromserver0;ourIPaddressis

Filename'ubifs11.img'.

Loadaddress:0x30008000

Loading:T#################################################################

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

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

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

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

done

Bytestransferred=4094976(3e7c00hex)

[mini2440]#ubiwrite0x30008000rootfs0x3e7c00

mtdpartsvariablenotset,see'helpmtdparts'

Error,noUBIdevice/partitionselected!

[mini2440]#mtdpart

mtdpartsvariablenotset,see'helpmtdparts'

nopartitionsdefined

defaults:

mtdids :nand0=nandflash0

mtdparts:mtdparts=nandflash0:320k@0(uboot),64k(params),5m(kernel),-(root)

[mini2440]#mtdpartdefault

[mini2440]#mtdpart

devicenand0<nandflash0>,#parts=4

#:name               size           offset         mask_flags

0:uboot              0x00050000     0x00000000     0

1:params             0x00010000     0x00050000     0

2:kernel             0x00500000     0x00060000     0

3:root               0x03aa0000     0x00560000     0

activepartition:nand0,0-(uboot)0x00050000@0x00000000

defaults:

mtdids :nand0=nandflash0

mtdparts:mtdparts=nandflash0:320k@0(uboot),64k(params),5m(kernel),-(root)

[mini2440]#nanderaseroot

NANDerase:device0offset0x560000,size0x3aa0000

Erasingat0x3ffc00000000000--  0%complete.

OK

[mini2440]#ubipartroot

Creating1MTDpartitionson“nand0”:

0x5600003304698c-0x400000000000000:“<NULL>”

UBI:attachingmtd1toubi0

UBI:physicaleraseblocksize:  16384bytes(16KiB)

UBI:logicaleraseblocksize:   15872bytes

UBI:smallestflashI/Ounit:   512

UBI:subsize:             256

UBI:VIDheaderoffset:         256(aligned256)

UBI:dataoffset:               512

UBI:emptyMTDdevicedetected

UBI:createvolumetable(copy#1)

UBI:createvolumetable(copy#2)

UBI:attachedmtd1toubi0

UBI:MTDdevicename:           “mtd=3”

UBI:MTDdevicesize:           249108103168MiB

UBI:numberofgoodPEBs:       3752

UBI:numberofbadPEBs:        0

UBI:max.allowedvolumes:      92

UBI:wear-levelingthreshold:   4096

UBI:numberofinternalvolumes:1

UBI:numberofuservolumes:    0

UBI:availablePEBs:            3711

UBI:totalnumberofreservedPEBs:41

UBI:numberofPEBsreservedforbadPEBhandling:37

UBI:max/meanerasecounter:1/0

[mini2440]#ubicreaterootfs

Creatingdynamicvolumerootfsofsize58900992

[mini2440]#tftpubifs22.img

dm9000i/o:0x20000300,id:0x90000a46

DM9000:runningin16bitmode

MAC:08:00:3e:26:0a:5b

operatingatunknown:0mode

Usingdm9000device

TFTPfromserver0;ourIPaddressis

Filename'ubifs22.img'.

Loadaddress:0x30008000

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

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

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

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

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

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

       done

Bytestransferred=20808192(13d8200hex)

[mini2440]#ubiwrite0x30008000roofs0x13d8200

roofsvolumenotfound

[mini2440]#mtdpart

devicenand0<nandflash0>,#parts=4

#:name               size           offset         mask_flags

0:uboot              0x00050000     0x00000000     0

1:params             0x00010000     0x00050000     0

2:kernel             0x00500000     0x00060000     0

3:root               0x03aa0000     0x00560000     0

activepartition:nand0,0-(uboot)0x00050000@0x00000000

defaults:

mtdids :nand0=nandflash0

mtdparts:mtdparts=nandflash0:320k@0(uboot),64k(params),5m(kernel),-(root)

[mini2440]#ubiwrite0x30008000rootfs0x13d8200

Volume“rootfs”foundatvolumeid0

[mini2440]#boot

NANDread:device0offset0x60000,size0x500000

5242880bytesread:OK

##BootingkernelfromLegacyImageat30008000…

ImageName:  LinuxKernelImage

Created:     2011-01-18  6:56:00UTC

ImageType:  ARMLinuxKernelImage(uncompressed)

DataSize:   2218728Bytes=2.1MiB

LoadAddress:30008000

EntryPoint: 30008040

VerifyingChecksum…OK

XIPKernelImage…OK

OK

Startingkernel…

UncompressingLinux…done,bootingthekernel.

Linuxversion(root@songzi)(gccversion4.4.3(ctng-1.6.1))#5TueJa

n1814:50:35CST2011

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

CPU:VIVTdatacache,VIVTinstructioncache

Machine:MINI2440

Memorypolicy:ECCdisabled,Datacachewriteback

CPUS3C2440A(id0x32440001)

S3C24XXClocks,Copyright2004SimtecElectronics

S3C244X:core405.000MHz,memory101.250MHz,peripheral50.625MHz

CLOCK:Slowmode(1.500MHz),fast,MPLLon,UPLLon

Built1zonelistsinZoneorder,mobilitygroupingon. Totalpages:16256

Kernelcommandline:ubi.mtd=3root=ubi0:rootfsconsole=ttySAC0,115200mem=64Mr

ootfstype=ubifsrw

PIDhashtableentries:256(order:-2,1024bytes)

Dentrycachehashtableentries:8192(order:3,32768bytes)

Inode-cachehashtableentries:4096(order:2,16384bytes)

Memory:64MB=64MBtotal

Memory:60440k/60440kavailable,5096kreserved,0Khighmem

Virtualkernelmemorylayout:

vector :0xffff0000-0xffff1000  (  4kB)

fixmap :0xfff00000-0xfffe0000  (896kB)

DMA    :0xffc00000-0xffe00000  (  2MB)

vmalloc:0xc4800000-0xe0000000  (440MB)

lowmem :0xc0000000-0xc4000000  ( 64MB)

modules:0xbf000000-0xc0000000  ( 16MB)

.init:0xc0008000-0xc002a000  (136kB)

.text:0xc002a000-0xc03f4000  (3880kB)

.data:0xc040c000-0xc042dc80  (136kB)

SLUB:Genslabs=11,HWalign=32,Order=0-3,MinObjects=0,CPUs=1,Nodes=1

HierarchicalRCUimplementation.

RCU-baseddetectionofstalledCPUsisdisabled.

Verbosestalled-CPUsdetectionisdisabled.

NR_IRQS:85

irq:clearingsubpendingstatus00000003

irq:clearingsubpendingstatus00000002

Console:colourdummydevice80x30

console[ttySAC0]enabled

Calibratingdelayloop…201.93BogoMIPS(lpj=504832)

pid_max:default:32768minimum:301

Mount-cachehashtableentries:512

CPU:Testingwritebuffercoherency:ok

NET:Registeredprotocolfamily16

MINI2440:Optionstringmini2440=0tb

MINI2440:'t'ignored,touchscreennotcompiledin

MINI2440:LCD[0:240x320]1:800x4802:1024x768

S3C2440:Initialisingarchitecture

S3C2440:IRQSupport

S3C24XXDMADriver,Copyright2003-2006SimtecElectronics

DMAchannel0atc4808000,irq33

DMAchannel1atc4808040,irq34

DMAchannel2atc4808080,irq35

DMAchannel3atc48080c0,irq36

S3C244X:ClockSupport,DVSoff

bio:createslab<bio-0>at0

usbcore:registerednewinterfacedriverusbfs

usbcore:registerednewinterfacedriverhub

usbcore:registerednewdevicedriverusb

s3c-i2cs3c2440-i2c:slaveaddress0x10

s3c-i2cs3c2440-i2c:busfrequencysetto98KHz

s3c-i2cs3c2440-i2c:i2c-0:S3CI2Cadapter

AdvancedLinuxSoundArchitectureDriverVersion1.0.23.

NET:Registeredprotocolfamily2

IProutecachehashtableentries:1024(order:0,4096bytes)

TCPestablishedhashtableentries:2048(order:2,16384bytes)

TCPbindhashtableentries:2048(order:1,8192bytes)

TCP:Hashtablesconfigured(established2048bind2048)

TCPrenoregistered

UDPhashtableentries:256(order:0,4096bytes)

UDP-Litehashtableentries:256(order:0,4096bytes)

NET:Registeredprotocolfamily1

RPC:Registeredudptransportmodule.

RPC:Registeredtcptransportmodule.

RPC:RegisteredtcpNFSv4.1backchanneltransportmodule.

JFFS2version2.2.(NAND)漏2001-2006RedHat,Inc.

ROMFSMTD(C)2007RedHat,Inc.

msgmnihasbeensetto118

ioschedulernoopregistered

ioschedulerdeadlineregistered

ioschedulercfqregistered(default)

Console:switchingtocolourframebufferdevice60x53

fb0:s3c2410fbframebufferdevice

s3c2440-uart.0:s3c2410_serial0atMMIO0x50000000(irq=70)isaS3C2440

s3c2440-uart.1:s3c2410_serial1atMMIO0x50004000(irq=73)isaS3C2440

s3c2440-uart.2:s3c2410_serial2atMMIO0x50008000(irq=76)isaS3C2440

brd:moduleloaded

at240-0050:1024byte24c08EEPROM(writable)

S3C24XXNANDDriver,(c)2004SimtecElectronics

s3c24xx-nands3c2440-nand:Tacls=1,9nsTwrph0=329ns,Twrph1=219ns

s3c24xx-nands3c2440-nand:NANDsoftECC

NANDdevice:ManufacturerID:0xec,ChipID:0x76(SamsungNAND64MiB3,3V8-bit

Creating4MTDpartitionson“nand”:

0x000000000000-0x000000050000:“u-boot”

0x000000050000-0x000000060000:“u-boot-env”

0x000000060000-0x000000560000:“kernel”

0x000000560000-0x000004000000:“root”

UBI:attachingmtd3toubi0

UBI:physicaleraseblocksize:  16384bytes(16KiB)

UBI:logicaleraseblocksize:   15872bytes

UBI:smallestflashI/Ounit:   512

UBI:subsize:             256

UBI:VIDheaderoffset:         256(aligned256)

UBI:dataoffset:               512

UBI:max.sequencenumber:      1294

UBI:attachedmtd3toubi0

UBI:MTDdevicename:           “root”

UBI:MTDdevicesize:           58MiB

UBI:numberofgoodPEBs:       3752

UBI:numberofbadPEBs:        0

UBI:max.allowedvolumes:      92

UBI:wear-levelingthreshold:   4096

UBI:numberofinternalvolumes:1

UBI:numberofuservolumes:    1

UBI:availablePEBs:            0

UBI:totalnumberofreservedPEBs:3752

UBI:numberofPEBsreservedforbadPEBhandling:37

UBI:max/meanerasecounter:4/1

UBI:imagesequencenumber: 0

UBI:backgroundthread“ubi_bgt0d”started,PID677

dm9000EthernetDriver,V1.31

eth0:dm9000eatc4886300,c488a304IRQ51MAC:08:00:3e:26:0a:5b(chip)

ohci_hcd:USB1.1'Open'HostController(OHCI)Driver

s3c2410-ohcis3c2410-ohci:S3C24XXOHCI

s3c2410-ohcis3c2410-ohci:newUSBbusregistered,assignedbusnumber1

s3c2410-ohcis3c2410-ohci:irq42,iomem0x49000000

hub1-0:1.0:USBhubfound

hub1-0:1.0:2portsdetected

usbcore:registerednewinterfacedriverlibusual

s3c2440-usbgadgets3c2440-usbgadget:S3C2440:increasingFIFOto128bytes

mice:PS/2mousedevicecommonforallmice

input:gpio-keysas/devices/platform/gpio-keys/input/input0

S3C24XXRTC,(c)2004,2006SimtecElectronics

s3c-rtcs3c2410-rtc:rtcdisabled,re-enabling

s3c-rtcs3c2410-rtc:rtccore:registereds3casrtc0

i2c/deventriesdriver

S3C2410WatchdogTimer,(c)2004SimtecElectronics

s3c2410-wdts3c2410-wdt:watchdoginactive,resetdisabled,irqenabled

cpuidle:usinggovernorladder

sdhci:SecureDigitalHostControllerInterfacedriver

sdhci:Copyright(c)PierreOssman

s3c-sdis3c2440-sdi:powereddown.

s3c-sdis3c2440-sdi:mmc0-usingpio,swSDIOIRQ

usbcore:registerednewinterfacedriverhiddev

usbcore:registerednewinterfacedriverusbhid

usbhid:USBHIDcoredriver

NodeviceforDAIUDA134X

NodeviceforDAIs3c24xx-i2s

S3C24XX_UDA134XSoCAudiodriver

UDA134XSoCAudioCodec

asoc:UDA134X<->s3c24xx-i2smappingok

ALSAdevicelist:

#0:S3C24XX_UDA134X(UDA134X)

TCPcubicregistered

NET:Registeredprotocolfamily17

Registeringthedns_resolverkeytype

s3c-rtcs3c2410-rtc:settingsystemclockto2000-05-1301:17:00UTC(958180620)

UBIFS:mountedUBIdevice0,volume0,name“rootfs”

UBIFS:filesystemsize:  58440704bytes(57071KiB,55MiB,3682LEBs)

UBIFS:journalsize:      8110592bytes(7920KiB,7MiB,511LEBs)

UBIFS:mediaformat:      w4/r0(latestisw4/r0)

UBIFS:defaultcompressor:lzo

UBIFS:reservedforroot: 0bytes(0KiB)

VFS:Mountedroot(ubifsfilesystem)ondevice0:13.

Freeinginitmemory:136K

/etc/init.d/rcS:line20:tarp:notfound

eth0:linkup,100Mbps,full-duplex,lpa0x45E1

ln:tty0:Fileexists

PleasepressEntertoactivatethisconsole.

[root@songzi/]#

[root@songzi/]#

[root@songzi/]#ls

bin     etc     lib     mnt     root    sys     tty0

dev     fs      linuxrc proc    sbin    tmp     usr

[root@songzi/]#ls

bin     etc     lib     mnt     root    sys     tty0

dev     fs      linuxrc proc    sbin    tmp     usr

[root@songzi/]#?

-/bin/sh:?:notfound

[root@songzi/]#cdusr/

[root@songzi/usr]#ls

bin        button     helloworld listview   pda_kero

bmpbkgnd   dialogbox  listbox    local      sbin

[root@songzi/usr]#./helloworld

IAL:Doesnotfin

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論