利用UBIFS挂载Android文件系统

内核选项需要修改的地方

1)Device Drivers  
--->Memory Technology Device (MTD) support  
--->UBI - Unsorted block images  
--->Enable UBI

2)File systems  
--->Miscellaneous filesystems  
--->UBIFS file system support

解压ubi.tar.gz中的命令,放入已有文件系统系统(nfs或者cramfs)

下载地址http://www.armfans.net/viewthread.php?tid=2318&extra=page%3D1&frombbs=1

执行
1)./flash_eraseall /dev/mtd3

格式化Nand的第三分区
我们分了200MB以上,作为主分区使用
Erasing 128 Kibyte @ 5240000 -- 33 % complete.
Skipping bad block at 0x05260000
Erasing 128 Kibyte @ f220000 -- 98 % complete.
Skipping bad block at 0x0f240000
Erasing 128 Kibyte @ f5e0000 -- 99 % complete.


2)./ubiattach /dev/ubi_ctrl -m 3

将第三分区附着至ubi0上
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: empty MTD device detected
UBI: create volume table (copy #1)
UBI: create volume table (copy #2)
UBI: attached mtd3 to ubi0
UBI: MTD device name:            "UBIfs"
UBI: MTD device size:            246 MiB
UBI: number of good PEBs:        1966
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     0
UBI: available PEBs:             1943
UBI: total number of reserved PEBs: 23
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 0/0
UBI: background thread "ubi_bgt0d" started, PID 58
UBI device number 0, total 1966 LEBs (253661184 bytes, 241.9 MiB), available 1943 LEBs (250693632 bytes, 239.1 MiB), LEB size 129024 bytes (126.0 KiB)


3)mdev -s

如果使用mdev,系统不会自动创建/dev/ubi0节点


4)./ubimkvol /dev/ubi0 -N rootfs -s 200MiB

将ubi0分200MB出来作为rootfs用
Volume ID 0, size 1626 LEBs (209793024 bytes, 200.1 MiB), LEB size 129024 bytes (126.0 KiB), dynamic, name "rootfs", alignment 1


5)mount -t ubifs ubi0_0 /mnt

将分出的分区挂载至mnt目录
UBIFS: default file-system created
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   208373760 bytes (203490 KiB, 198 MiB, 1615 LEBs)
UBIFS: journal size:       10450944 bytes (10206 KiB, 9 MiB, 81 LEBs)
UBIFS: media format:       4 (latest is 4)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 5182151 bytes (5060 KiB)


6)tar -xvf android.tar -C mnt

解压android文件系统,如果压缩了请用-jxvf
data/
default.prop
dev/
init
init.goldfish.rc
init.rc
init.smdk6410.rc
proc/
sbin/
sbin/adbd
sys/
system/
system/framework/
system/framework/svc.jar
system/framework/core.jar
system/framework/input.jar
system/framework/pm.jar
system/framework/android.policy.jar
system/framework/android.test.runner.jar
system/framework/am.jar
system/framework/ime.jar
system/framework/bmgr.jar
system/framework/framework-res.apk
system/framework/framework-tests.jar
system/framework/framework.jar
system/framework/monkey.jar
system/framework/services.jar
system/framework/javax.obex.jar
system/framework/ext.jar
system/default.prop
system/xbin/
system/xbin/daemonize
system/xbin/cpueater
system/xbin/showmap
system/xbin/tcpdump
system/xbin/latencytop
system/xbin/crasher
system/xbin/su
system/xbin/netserver
system/xbin/check-lost+found
system/xbin/sqlite3
system/xbin/dexdump
system/xbin/showslab
system/xbin/dbus-monitor
system/xbin/procmem
system/xbin/nc
system/xbin/scp
system/xbin/btool
system/xbin/ssh
system/xbin/opcontrol
system/xbin/timeinfo
system/xbin/librank
system/xbin/oprofiled
system/xbin/procrank
system/xbin/dbus-send
system/xbin/strace
system/xbin/add-property-tag
system/xbin/netperf
system/lib/
system/lib/libstagefright.so
system/lib/libm.so
system/lib/libGLESv1_CM.so
system/lib/libomx_mp3dec_sharedlibrary.so
system/lib/libaudiopolicygeneric.so
system/lib/libaudioflinger.so
system/lib/libterm.so
system/lib/libpvrtsptunicast_streaming.so
system/lib/libwebcore.so
system/lib/libjni_latinime.so
system/lib/libsysutils.so
system/lib/libdrm1.so
system/lib/libsrec_jni.so
system/lib/libopencore_mp4local.so
system/lib/libreference-ril.so
system/lib/libstdc++.so
system/lib/libpixelflinger.so
system/lib/libcameraservice.so
system/lib/libopencore_download.so
system/lib/libc_debug.so
system/lib/libicui18n.so
system/lib/libopencore_player.so
system/lib/libicuuc.so
system/lib/libomx_amrenc_sharedlibrary.so
system/lib/liblog.so
system/lib/libsystem_server.so
system/lib/libpvoma1passthru.so
system/lib/libthread_db.so
system/lib/libEGL.so
system/lib/libopencore_mp4localreg.so
system/lib/libdrm1_jni.so
system/lib/libcutils.so
system/lib/libexpat.so
system/lib/libsoundpool.so
system/lib/libomx_m4venc_sharedlibrary.so
system/lib/libnativehelper.so
system/lib/libopencore_author.so
system/lib/libFFTEm.so
system/lib/libpvrtsptunicast_streamingreg.so
system/lib/libomx_sharedlibrary.so
system/lib/libssl.so
system/lib/libopencore_rtsp.so
system/lib/libxml2wbxml.so
system/lib/libc.so
system/lib/libomx_amrdec_sharedlibrary.so
system/lib/libui.so
system/lib/libsurfaceflinger.so
system/lib/libreference-cdma-sms.so
system/lib/libopencore_streaming.so
system/lib/libwbxml_jni.so
system/lib/libomx_avcenc_sharedlibrary.so
system/lib/libvorbisidec.so
system/lib/libpvrtspunicast_streamingreg.so
system/lib/libz.so
system/lib/libbinder.so
system/lib/libnetutils.so
system/lib/libutils.so
system/lib/libcrypto.so
system/lib/libGLESv2.so
system/lib/libacc.so
system/lib/libmedia_jni.so
system/lib/libaudio.so
system/lib/libskia.so
system/lib/libpvrtspunicast_streaming.so
system/lib/libexif.so
system/lib/libjni_pinyinime.so
system/lib/libopencore_downloadreg.so
system/lib/libril.so
system/lib/hw/
system/lib/hw/acoustics.default.so
system/lib/hw/alsa.default.so
system/lib/hw/gralloc.default.so
system/lib/hw/sensors.goldfish.so
system/lib/libsqlite.so
system/lib/libopencore_common.so
system/lib/libskiagl.so
system/lib/libandroid_servers.so
system/lib/libwpa_client.so
system/lib/invoke_mock_media_player.so
system/lib/egl/
system/lib/egl/libGLES_android.so
system/lib/libasound.so
system/lib/libstagefright_omx.so
system/lib/libttssynthproxy.so
system/lib/libaudiopolicy.so
system/lib/libhardware.so
system/lib/libaes.so
system/lib/libopencore_streamingreg.so
system/lib/libmediaplayerservice.so
system/lib/libdl.so
system/lib/libandroid_runtime.so
system/lib/libttspico.so
system/lib/libdbus.so
system/lib/libhardware_legacy.so
system/lib/libicudata.so
system/lib/libsonivox.so
system/lib/libmedia.so
system/lib/libomx_avcdec_sharedlibrary.so
system/lib/libdvm.so
system/lib/libomx_aacdec_sharedlibrary.so
system/lib/libemoji.so
system/lib/libomx_m4vdec_sharedlibrary.so
system/lib/libctest.so
system/lib/libopencore_net_support.so
system/lib/libpagemap.so
system/build.prop
system/bin/
system/bin/watchprops
system/bin/date
system/bin/dmesg
system/bin/wipe
system/bin/rm
system/bin/chat
system/bin/id
system/bin/dhcpcd
system/bin/monkey
system/bin/umount
system/bin/servicemanager
system/bin/dumpsys
system/bin/wpa_supplicant
system/bin/getevent
system/bin/schedtest
system/bin/vmstat
system/bin/vold
system/bin/cat
system/bin/mount
system/bin/getprop
system/bin/applypatch
system/bin/iptables
system/bin/ioctl
system/bin/iftop
system/bin/renice
system/bin/schedtop
system/bin/rild
system/bin/qemu-props
system/bin/dd
system/bin/sleep
system/bin/installd
system/bin/netcfg
system/bin/netstat
system/bin/dumpstate
system/bin/ps
system/bin/alsa_ctl
system/bin/surfaceflinger
system/bin/flash_image
system/bin/dalvikvm
system/bin/mtpd
system/bin/logcat
system/bin/app_process
system/bin/top
system/bin/showlease
system/bin/fsck_msdos
system/bin/ln
system/bin/df
system/bin/gdbserver
system/bin/keystore
system/bin/sync
system/bin/input
system/bin/printenv
system/bin/ime
system/bin/system_server
system/bin/hd
system/bin/lsmod
system/bin/log
system/bin/start
system/bin/logwrapper
system/bin/dexopt
system/bin/mv
system/bin/sdutil
system/bin/pppd
system/bin/ping
system/bin/stop
system/bin/bmgr
system/bin/applypatch_static
system/bin/smd
system/bin/newfs_msdos
system/bin/kill
system/bin/linker
system/bin/qemud
system/bin/recovery
system/bin/check_prereq
system/bin/route
system/bin/chown
system/bin/svc
system/bin/cmp
system/bin/debuggerd
system/bin/chmod
system/bin/updater
system/bin/radiooptions
system/bin/mediaserver
system/bin/wpa_cli
system/bin/keystore_cli
system/bin/dumpcrash
system/bin/dbus-daemon
system/bin/bugreport
system/bin/pm
system/bin/am
system/bin/gzip
system/bin/ls
system/bin/alsa_amixer
system/bin/bootanimation
system/bin/toolbox
system/bin/setprop
system/bin/ifconfig
system/bin/sendevent
system/bin/rmmod
system/bin/alsa_aplay
system/bin/setconsole
system/bin/insmod
system/bin/sh
system/bin/racoon
system/bin/rmdir
system/bin/dvz
system/bin/notify
system/bin/reboot
system/bin/service
system/bin/mkdir
system/system.prop
system/media/
system/media/audio/
system/media/audio/ui/
system/media/audio/ui/KeypressDelete.ogg
system/media/audio/ui/KeypressSpacebar.ogg
system/media/audio/ui/Effect_Tick.ogg
system/media/audio/ui/VideoRecord.ogg
system/media/audio/ui/KeypressStandard.ogg
system/media/audio/ui/camera_click.ogg
system/media/audio/ui/KeypressReturn.ogg
system/media/audio/notifications/
system/media/audio/notifications/CaffeineSnake.ogg
system/media/audio/notifications/Heaven.ogg
system/media/audio/notifications/Beat_Box_Android.ogg
system/media/audio/notifications/OnTheHunt.ogg
system/media/audio/notifications/Highwire.ogg
system/media/audio/notifications/Tinkerbell.ogg
system/media/audio/notifications/DearDeer.ogg
system/media/audio/notifications/TaDa.ogg
system/media/audio/notifications/DontPanic.ogg
system/media/audio/notifications/KzurbSonar.ogg
system/media/audio/notifications/F1_New_MMS.ogg
system/media/audio/notifications/F1_New_SMS.ogg
system/media/audio/notifications/F1_MissedCall.ogg
system/media/audio/notifications/Voila.ogg
system/media/audio/alarms/
system/media/audio/alarms/Alarm_Beep_01.ogg
system/media/audio/alarms/Alarm_Beep_02.ogg
system/media/audio/alarms/Alarm_Beep_03.ogg
system/media/audio/alarms/Alarm_Rooster_02.ogg
system/media/audio/alarms/Alarm_Classic.ogg
system/media/audio/alarms/Alarm_Buzzer.ogg
system/media/audio/ringtones/
system/media/audio/ringtones/VeryAlarmed.ogg
system/media/audio/ringtones/RomancingTheTone.ogg
system/media/audio/ringtones/InsertCoin.ogg
system/media/audio/ringtones/CaribbeanIce.ogg
system/media/audio/ringtones/OrganDub.ogg
system/media/audio/ringtones/BentleyDubs.ogg
system/media/audio/ringtones/GameOverGuitar.ogg
system/media/audio/ringtones/FriendlyGhost.ogg
system/media/audio/ringtones/Ring_Synth_02.ogg
system/media/audio/ringtones/Noises2.ogg
system/media/audio/ringtones/Ring_Classic_02.ogg
system/media/audio/ringtones/Noises1.ogg
system/media/audio/ringtones/NewPlayer.ogg
system/media/audio/ringtones/Ring_Synth_04.ogg
system/media/audio/ringtones/MildlyAlarming.ogg
system/media/audio/ringtones/Ring_Digital_02.ogg
system/media/audio/ringtones/Noises3.ogg
system/media/audio/ringtones/TwirlAway.ogg
system/media/audio/ringtones/SpringyJalopy.ogg
system/media/audio/ringtones/World.ogg
system/media/audio/ringtones/BirdLoop.ogg
system/media/audio/ringtones/CurveBall.ogg
system/media/audio/ringtones/LoopyLounge.ogg
system/media/audio/ringtones/CrazyDream.ogg
system/media/audio/ringtones/SitarVsSitar.ogg
system/media/audio/ringtones/Growl.ogg
system/media/audio/ringtones/BeatPlucker.ogg
system/media/audio/ringtones/EtherShake.ogg
system/media/audio/ringtones/DreamTheme.ogg
system/media/audio/ringtones/LoveFlute.ogg
system/media/audio/ringtones/Terminated.ogg
system/media/audio/ringtones/MidEvilJaunt.ogg
system/app/
system/app/PinyinIME.apk
system/app/Calculator.apk
system/app/HTMLViewer.apk
system/app/DownloadProvider.apk
system/app/Music.apk
system/app/DrmProvider.apk
system/app/Provision.apk
system/app/ContactsProvider.apk
system/app/Contacts.apk
system/app/Email.apk
system/app/GoogleSearch.apk
system/app/Term.apk
system/app/PackageInstaller.apk
system/app/SpareParts.apk
system/app/ApplicationsProvider.apk
system/app/LatinIME.apk
system/app/CalendarProvider.apk
system/app/TelephonyProvider.apk
system/app/FileManager-1.1.0.apk
system/app/UserDictionaryProvider.apk
system/app/PicoTts.apk
system/app/Development.apk
system/app/SettingsProvider.apk
system/app/TtsService.apk
system/app/Launcher.apk
system/app/SoundRecorder.apk
system/app/GlobalSearch.apk
system/app/AlarmClock.apk
system/app/Settings.apk
system/app/HiApkMarket_1.5.apk
system/app/MediaProvider.apk
system/app/Browser.apk
system/etc/
system/etc/dbus.conf
system/etc/ppp/
system/etc/ppp/ip-up-vpn
system/etc/dhcpcd/
system/etc/dhcpcd/dhcpcd-hooks/
system/etc/dhcpcd/dhcpcd-hooks/95-configured
system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf
system/etc/dhcpcd/dhcpcd-hooks/01-test
system/etc/dhcpcd/dhcpcd.conf
system/etc/dhcpcd/dhcpcd-run-hooks
system/etc/init.smdk6410.sh
system/etc/vold.conf
system/etc/hosts
system/etc/bookmarks.xml
system/etc/asound.conf
system/etc/pvplayer.cfg
system/etc/apns-conf.xml
system/etc/init.goldfish.sh
system/etc/wifi/
system/etc/wifi/wpa_supplicant.conf
system/etc/security/
system/etc/security/otacerts.zip
system/etc/security/cacerts.bks
system/etc/NOTICE.html.gz
system/etc/event-log-tags
system/etc/permissions/
system/etc/permissions/required_hardware.xml
system/etc/permissions/platform.xml
system/usr/
system/usr/keychars/
system/usr/keychars/qwerty2.kcm.bin
system/usr/keychars/qwerty.kcm.bin
system/usr/keychars/gpio-keys.kcm.bin
system/usr/srec/
system/usr/srec/config/
system/usr/srec/config/en.us/
system/usr/srec/config/en.us/baseline8k.par
system/usr/srec/config/en.us/grammars/
system/usr/srec/config/en.us/grammars/VoiceDialer.g2g
system/usr/srec/config/en.us/g2p/
system/usr/srec/config/en.us/g2p/en-US-ttp.data
system/usr/srec/config/en.us/baseline.par
system/usr/srec/config/en.us/models/
system/usr/srec/config/en.us/models/generic11.lda
system/usr/srec/config/en.us/models/generic11_m.swimdl
system/usr/srec/config/en.us/models/generic8_f.swimdl
system/usr/srec/config/en.us/models/generic11_f.swimdl
system/usr/srec/config/en.us/models/generic8.lda
system/usr/srec/config/en.us/models/generic8_m.swimdl
system/usr/srec/config/en.us/models/generic.swiarb
system/usr/srec/config/en.us/dictionary/
system/usr/srec/config/en.us/dictionary/basic.ok
system/usr/srec/config/en.us/dictionary/cmu6plus.ok.zip
system/usr/srec/config/en.us/dictionary/enroll.ok
system/usr/srec/config/en.us/baseline11k.par
system/usr/share/
system/usr/share/alsa/
system/usr/share/alsa/pcm/
system/usr/share/alsa/pcm/surround71.conf
system/usr/share/alsa/pcm/side.conf
system/usr/share/alsa/pcm/dsnoop.conf
system/usr/share/alsa/pcm/modem.conf
system/usr/share/alsa/pcm/dmix.conf
system/usr/share/alsa/pcm/center_lfe.conf
system/usr/share/alsa/pcm/surround51.conf
system/usr/share/alsa/pcm/rear.conf
system/usr/share/alsa/pcm/front.conf
system/usr/share/alsa/pcm/default.conf
system/usr/share/alsa/pcm/surround50.conf
system/usr/share/alsa/pcm/dpl.conf
system/usr/share/alsa/pcm/surround40.conf
system/usr/share/alsa/pcm/iec958.conf
system/usr/share/alsa/pcm/surround41.conf
system/usr/share/alsa/cards/
system/usr/share/alsa/cards/aliases.conf
system/usr/share/alsa/alsa.conf
system/usr/share/bmd/
system/usr/share/bmd/RFFspeed_501.bmd
system/usr/share/bmd/RFFstd_501.bmd
system/usr/share/zoneinfo/
system/usr/share/zoneinfo/zoneinfo.idx
system/usr/share/zoneinfo/zoneinfo.version
system/usr/share/zoneinfo/zoneinfo.dat
system/usr/keylayout/
system/usr/keylayout/gpio-keys.kl
system/usr/keylayout/qwerty.kl
system/usr/keylayout/AVRCP.kl
system/fonts/
system/fonts/DroidSerif-BoldItalic.ttf
system/fonts/DroidSans.ttf
system/fonts/DroidSerif-Regular.ttf
system/fonts/DroidSansMono.ttf
system/fonts/DroidSerif-Bold.ttf
system/fonts/DroidSansFallback.ttf
system/fonts/DroidSans-Bold.ttf
system/fonts/DroidSerif-Italic.ttf

7)umount /mnt

卸载分区

8)set bootargs console=ttySAC0 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs mem=128MB init=/init

重设u-boot的bootargs,设置ubi0为引导分区,执行init,启动android系统。

================================================================================================

Uncompressing Linux................................................................................................................................................................. done, booting the kernel.
Linux version 2.6.29 (kyon@SEP4020.Linux) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #182 Wed Apr 14 13:58:04 CST 2010
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDK6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is fout_epll (1), rate is 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x506a0000
s3c64xx: 6291456 bytes SDRAM reserved for mfc at 0x50ea0000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttySAC0 ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs mem=128MB init=/init
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 109724KB available (4660K code, 872K data, 156K init)
SLUB: Genslabs=10, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 668 bytes
NET: Registered protocol family 16
Usb Host CLK enable! 2009 by Rockie 
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
yaffs Apr 1 2010 17:09:46 Installing. 
msgmni has been set to 214
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: LTE480WV will be initialized
Window[0] - FB1: map_video_memory: clear ffc00000:0007f800
            FB1: map_video_memory: dma=57980000 cpu=ffc00000 size=0007f800
Window[0] - FB2: map_video_memory: clear ffc3fc00:0003fc00
            FB2: map_video_memory: dma=579bfc00 cpu=ffc3fc00 size=0003fc00
Console: switching to colour frame buffer device 60x34
fb0: s3cfb frame buffer device
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
dm9000 Ethernet Driver
dm9000_probe()eth%d: con201 Invalid ethernet MAC address. using default config, Please set using ifconfig
eth0 (dm9000_con201): not using net_device_ops yet
eth0: dm9000 at f7200300,f7200304 IRQ 108 MAC: 00:e0:4a:bc:15:e7
usbcore: registered new interface driver zd1211rw
usbcore: registered new interface driver zd1201
Linux video capture interface: v2.00
V4L-Driver for Vision CPiA based cameras v1.2.3
Since in-kernel colorspace conversion is not allowed, it is disabled by default now. Users should fix the applications in case they don't work without conversion reenabled by setting the 'colorspace_conv' module parameter to 1
USB driver for Vision CPiA based cameras v1.2.3
usbcore: registered new interface driver cpia
cpia2: V4L-Driver for Vision CPiA2 based cameras v2.0.0
usbcore: registered new interface driver cpia2
gspca: main v2.4.0 registered
usbcore: registered new interface driver zc3xx
zc3xx: registered
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
s3c_mfc_memmap_databuf: virtual address of data buffer = 0xc0fb6000
address of segment_info=c148c400, address of commit_info =c1496040
s3c_mfc_init_hw: downloading firmware into bitprocessor
s3c_mfc_get_firmware_ver: GET_FW_VER command was issued
s3c_mfc_get_firmware_ver: GET_FW_VER => 0xf202, 0x130e
s3c_mfc_get_firmware_ver: BUSY_FLAG => 0
S3C6400 MFC Driver, (c) 2007 Samsung Electronics
S3C PostProcessor Driver v3.12, (c) 2009 Samsung Electronics
s3c_g2d_probe called
s3c_g2d_probe Success
S3C G2D Init : Done
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Creating 4 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000200000 : "Bootloader"
0x000000200000-0x000000500000 : "Kernel"
0x000000500000-0x000000a00000 : "cramfs"
0x000000a00000-0x000010000000 : "UBIfs"
UBI: attaching mtd3 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
s3c-nand: ECC uncorrectable error detected
UBI: attached mtd3 to ubi0
UBI: MTD device name:            "UBIfs"
UBI: MTD device size:            246 MiB
UBI: number of good PEBs:        1966
UBI: number of bad PEBs:         2
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             317
UBI: total number of reserved PEBs: 1649
UBI: number of PEBs reserved for bad PEB handling: 19
UBI: max/mean erase counter: 2/1
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000
UBI: background thread "ubi_bgt0d" started, PID 32
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: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.29 ohci_hcd
usb usb1: SerialNumber: s3c24xx
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
mice: PS/2 mouse device common for all mice
gpio keys driver.
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C Touchscreen driver, (c) 2008 Samsung Electronics
S3C TouchScreen got loaded successfully : 12 bits
input: S3C TouchScreen as /devices/virtual/input/input1
Android Fake Battery Driver 2009 @SEU
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c sdhci probe
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Advanced Linux Sound Architecture Driver Version 1.0.18a.
ASoC version 0.13.2
WM9713/WM9714 SoC Audio Codec 0.15
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SD01G 968 MiB 
mmcblk0:
ALSA device list:
#0: SMDK6400 (WM9713)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   208373760 bytes (203490 KiB, 198 MiB, 1615 LEBs)
UBIFS: journal size:       10450944 bytes (10206 KiB, 9 MiB, 81 LEBs)
UBIFS: media format:       4 (latest is 4)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 5182151 bytes (5060 KiB)
VFS: Mounted root (ubifs filesystem) on device 253:1.
Freeing init memory: 156K
Warning: unable to open an initial console.
init: cannot open '/initlogo.rle'
sh: can't access tty; job control turned off
# logcatIRQ 74/AC97 PCM Stereo out: IRQF_DISABLED is not guaranteed on shared IRQs
&
# I/DEBUG   (   46): debuggerd: Apr 1 2010 18:13:08
I/vold    (   45): Android Volume Daemon version 2.0
I/vold    (   45): New MMC card 'SD01G' (serial 541208664) added @ /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:e624
I/vold    (   45): Detected FAT filesystem in partition table
I/vold    (   45): Disk (blkdev 179:0), 1984000 secs (968 MB) 0 partitions
I/vold    (   45): New blkdev 179.0 on media SD01G, media path /devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:e624, Dpp 0
I/vold    (   45): Evaluating dev '/devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:e624/block/mmcblk0' for mountable filesystems for '/sdcard'
I/vold    (   45): Aborting start of /sdcard (bootstrap = 1)
I/vold    (   45): Volmgr not ready to handle device
D/vold    (   45): Bootstrapping complete
D/AndroidRuntime(   48): 
D/AndroidRuntime(   48): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值