Hello Dears,
I am new to android development and also first time working on Linux.
I am having a very strange problem. I googled the problem but not
found any solutions.
I am trying to update Android Package from SD Card. For this purpose i
have successfully updated u-boot.bin, zimage, ramdisk-uboot.img and
userdata.img. Now when i try to update system.img from sd card its
updates normal without any error. but when i boot it struck. Please
guid me i am pasting my dnw messages here so plz take a look and help
U-Boot 1.3.4 (Aug 17 2010 - 16:42:45) for SMDK6410
CPU: S3C6410@666MHz
Fclk = 666MHz, Hclk = 133MHz, Pclk = 66MHz, Uclk = 48MHz,
Serial = CLKUART (ASYNC Mode)
Board: SMDK6410
DRAM: 256 MB
Flash: 0 kB
============= s3c_lcd_logo 6666===================
======== SYSC_GetClkInform ==============
g_APLL=666, g_MPLL=266, g_ARMCLK=666, g_HCLK=133, g_PCLK=66
======= Display_TD028TTEC1 ==========
============ LCD_InitTD028TTEC1_RGB ==============
========= LCD_InitDISPC ==========
===== uClkVal = 9
===== uClkDir=1
===uHSz=800, uVSz=480
======= LCD_Backligh_On =========
OneNAND: *** Warning - No valid OneNAND BBM data found.
256 MB
*** Warning - using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
OneNAND read: device 0 offset 600000, size 300000 addr 50008000...
3145728 bytes read: OK
OneNAND read: device 0 offset 900000, size 100000 addr 50800000...
1048576 bytes read: OK
Boot with zImage
do not support this address : 50008000
get_format
-------- 1 --------
## Loading init Ramdisk from Legacy Image at 50800000 ...
Image Name: ramdisk
Created: 2010-08-30 5:33:25 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 160426 Bytes = 156.7 kB
Load Address: 50800000
Entry Point: 50800040
Verifying Checksum ... OK
Starting kernel ...
Uncompressing
Linux.................................................................................................................................
done, booting the kernel.
[ 0.000000] Linux version 2.6.29 (root@guo-desktop) (gcc version
4.3.1 (for S3C64XX Samsung Electronics AP Development Team) ) #234 Sat
Aug 21 00:27:42 HKT 2010
[ 0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6
(ARMv7), cr=00c5387f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing
instruction cache
[ 0.000000] Machine: SMDK6410
[ 0.000000] Ignoring unrecognised tag 0x00000000
[ 0.000000] Ignoring unrecognised tag 0x41001099
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU S3C6410 (id 0x36410101)
[ 0.000000] S3C Clocks, (c) 2004 Simtec Electronics
[ 0.000000] S3C64XX: PLL settings, A=666000000, M=266000000,
E=48000000
[ 0.000000] S3C64XX: HCLKx2=266000000, HCLK=133000000,
PCLK=66500000
[ 0.000000] mout_apll: source is fout_apll (1), rate is 666000000
[ 0.000000] mout_epll: source is fout_epll (1), rate is 48000000
[ 0.000000] mout_mpll: source is mpll (1), rate is 266000000
[ 0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[ 0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[ 0.000000] mmc_bus: source is dout_mpll (1), rate is 133000000
[ 0.000000] usb-host-bus: source is mout_epll (0), rate is 48000000
[ 0.000000] lcd: source is dout_mpll (1), rate is 133000000
[ 0.000000] uclk1: source is dout_mpll (1), rate is 33250000
[ 0.000000] spi_epll: source is mout_epll (0), rate is 48000000
[ 0.000000] spi_epll: source is mout_epll (0), rate is 48000000
[ 0.000000] sclk_audio0: source is mout_epll (0), rate is 48000000
[ 0.000000] sclk_audio1: source is mout_epll (0), rate is 48000000
[ 0.000000] sclk_audio2: source is mout_epll (0), rate is 48000000
[ 0.000000] irda-bus: source is mout_epll (0), rate is 48000000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 51816
[ 0.000000] Kernel command line: console=ttySAC0,115200
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000401] Console: colour dummy device 80x30
[ 0.000526] console [ttySAC0] enabled
[ 0.180602] Dentry cache hash table entries: 32768 (order: 5,
131072 bytes)
[ 0.189168] Inode-cache hash table entries: 16384 (order: 4, 65536
bytes)
[ 0.213717] Memory: 204MB = 204MB total
[ 0.213775] Memory: 201728KB available (3684K code, 917K data, 164K
init)
[ 0.219485] Calibrating delay loop... 665.19 BogoMIPS (lpj=1662976)
[ 0.330469] Mount-cache hash table entries: 512
[ 0.332558] CPU: Testing write buffer coherency: ok
[ 0.339705] net_namespace: 520 bytes
[ 0.342419] NET: Registered protocol family 16
[ 0.346651] ----------------------power on ----- power key
[ 0.366029] S3C6410 Power Management, (c) 2008 Samsung Electronics
[ 0.366756] S3C6410: Initialising architecture
[ 0.371232] S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung
Electronics
[ 0.378250] Total 32 DMA channels will be initialized.
[ 0.425349] bio: create slab <bio-0> at 0
[ 0.434820] cfg80211: Calling CRDA to update world regulatory
domain
[ 0.436054] cfg80211: calling CRDA failed - unable to update world
regulatory domain, using static definition
[ 0.452854] NET: Registered protocol family 2
[ 0.453192] IP route cache hash table entries: 2048 (order: 1, 8192
bytes)
[ 0.459602] TCP established hash table entries: 8192 (order: 4,
65536 bytes)
[ 0.466507] TCP bind hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.472400] TCP: Hash tables configured (established 8192 bind
8192)
[ 0.478245] TCP reno registered
[ 0.481861] NET: Registered protocol family 1
[ 0.486601] checking if image is initramfs... it is
[ 0.564879] Freeing initrd memory: 156K
[ 0.565987] S3C PWM Driver, (c) 2006-2007 Samsung Electronics
[ 0.569283] NetWinder Floating Point Emulator V0.97 (double
precision)
[ 0.587642] ashmem: initialized
[ 0.589232] yaffs Aug 19 2010 07:07:05 Installing.
[ 0.590190] msgmni has been set to 395
[ 0.601531] alg: No test for stdrng (krng)
[ 0.601736] io scheduler noop registered
[ 0.603903] io scheduler anticipatory registered (default)
[ 0.609520] io scheduler deadline registered
[ 0.613840] io scheduler cfq registered
[ 0.618318] S3C_LCD clock got enabled :: 133.000 Mhz
[ 0.630081] LCD TYPE :: LTE480WV will be initialized
[ 0.757564] Window[0] - FB1: map_video_memory: clear
ff000000:00177000
[ 0.764450] FB1: map_video_memory: dma=5c600000
cpu=ff000000 size=00177000
[ 0.766786] Window[0] - FB2: map_video_memory: clear
ff0bb800:000bb800
[ 0.773288] FB2: map_video_memory: dma=5c6bb800
cpu=ff0bb800 size=000bb800
[ 0.796850] Console: switching to colour frame buffer device 100x30
[ 0.809016] fb0: s3cfb frame buffer device
[ 0.820874] Window[1] - FB1: map_video_memory: clear
ff177000:00177000
[ 0.828509] FB1: map_video_memory: dma=5c800000
cpu=ff177000 size=00177000
[ 0.830840] Window[1] - FB2: map_video_memory: clear
ff232800:000bb800
[ 0.837346] FB2: map_video_memory: dma=5c8bb800
cpu=ff232800 size=000bb800
[ 0.846006] fb1: s3cfb frame buffer device
[ 0.849821] SMDK board LCD Backlight Device Driver (c) 2008 Samsung
Electronics
[ 0.857452] Registered led device: lcd-backlight
[ 1.483732] S3C64XX ADC driver, (c) 2007 Samsung Electronics
[ 1.483971] ADC platform data read
[ 1.488384] S3C64XX ADC driver successfully probed !
[ 1.492944] s3c64xx-uart.0: s3c_serial0 at MMIO 0x7f005000 (irq =
16) is a S3C64XX
[ 1.501548] s3c64xx-uart.1: s3c_serial1 at MMIO 0x7f005400 (irq =
20) is a S3C64XX
[ 1.508932] s3c64xx-uart.2: s3c_serial2 at MMIO 0x7f005800 (irq =
24) is a S3C64XX
[ 1.516620] s3c64xx-uart.3: s3c_serial3 at MMIO 0x7f005c00 (irq =
28) is a S3C64XX
[ 1.546370] brd: module loaded
[ 1.557657] loop: module loaded
[ 1.558363] nbd: registered device at major 43
[ 1.585368] pmem: 1 init
[ 1.586870] pmem_render: 0 init
[ 1.588253] pmem_stream: 0 init
[ 1.589812] pmem_stream2: 0 init
[ 1.593212] pmem_preview: 0 init
[ 1.596351] pmem_picture: 0 init
[ 1.599488] pmem_jpeg: 0 init
[ 1.603085] PPP generic driver version 2.4.2
[ 1.607009] PPP Deflate Compression module registered
[ 1.610524] PPP BSD Compression module registered
[ 1.616249] PPP MPPE Compression module registered
[ 1.619821] NET: Registered protocol family 24
[ 1.624412] PPPoL2TP kernel driver, V1.0
[ 1.628283] STRIP: Version 1.3A-STUART.CHESHIRE (unlimited
channels)
[ 1.634568] libertas_sdio: Libertas SDIO driver
[ 1.639038] libertas_sdio: Copyright Pierre Ossman
[ 1.644423] Linux video capture interface: v2.00
[ 1.650942] S3C G2D Init : Done
[ 1.651634] S3C G3D Driver, (c) 2007-2009 Samsung Electronics
[ 1.658859] s3c_g3d version : 0x1050000
[ 1.661288] G3D_RESERVED_MEM_SIZE : 32 MB
[ 1.665221] G3D_CHUNK_SIZE : 2 MB
[ 1.668450] G3D_CHUNK_NUM : 16 (UI_CHUNK:5)
[ 1.672661] 0 th virt_addr = 0xce000000, phy_addr = 0x5e000000
[ 1.678465] 1 th virt_addr = 0xce200000, phy_addr = 0x5e200000
[ 1.684268] 2 th virt_addr = 0xce400000, phy_addr = 0x5e400000
[ 1.690087] 3 th virt_addr = 0xce600000, phy_addr = 0x5e600000
[ 1.695885] 4 th virt_addr = 0xce800000, phy_addr = 0x5e800000
[ 1.701716] 5 th virt_addr = 0xcea00000, phy_addr = 0x5ea00000
[ 1.707513] 6 th virt_addr = 0xcec00000, phy_addr = 0x5ec00000
[ 1.713320] 7 th virt_addr = 0xcee00000, phy_addr = 0x5ee00000
[ 1.719121] 8 th virt_addr = 0xcf000000, phy_addr = 0x5f000000
[ 1.724933] 9 th virt_addr = 0xcf200000, phy_addr = 0x5f200000
[ 1.730743] 10 th virt_addr = 0xcf400000, phy_addr = 0x5f400000
[ 1.736640] 11 th virt_addr = 0xcf600000, phy_addr = 0x5f600000
[ 1.742530] 12 th virt_addr = 0xcf800000, phy_addr = 0x5f800000
[ 1.748426] 13 th virt_addr = 0xcfa00000, phy_addr = 0x5fa00000
[ 1.754321] 14 th virt_addr = 0xcfc00000, phy_addr = 0x5fc00000
[ 1.760217] 15 th virt_addr = 0xcfe00000, phy_addr = 0x5fe00000
[ 1.766779] S3C6400 MFC Driver, (c) 2007 Samsung Electronics
[ 1.776085] S3C6400 MFC driver module init OK.
[ 1.776142] S3C PostProcessor Driver v3.12, (c) 2009 Samsung
Electronics
[ 1.784878] S3C JPEG Driver, (c) 2007 Samsung Electronics
[ 1.790433] S3C CMM Driver, (c) 2008 Samsung Electronics
[ 1.796176] Muxed OneNAND 256MB 1.8V 16-bit (0x40)
[ 1.870080] *** Warning - No valid OneNAND BBM data found.
[ 1.870146] Creating 7 MTD partitions on "onenand":
[ 1.874802] 0x0000000c0000-0x000000100000 : "misc"
[ 1.883919] 0x000000100000-0x000000600000 : "recovery"
[ 1.898412] 0x000000600000-0x000000900000 : "kernel"
[ 1.908022] 0x000000900000-0x000000a00000 : "ramdisk"
[ 1.913334] 0x000000a00000-0x000005100000 : "system"
[ 2.064050] 0x000005100000-0x000009000000 : "cache"
[ 2.198282] 0x000009000000-0x000010000000 : "userdata"
[ 2.434734] [S3C USB-OTG MODE] : DMA
[ 2.437233] [ADB_UMS] string_dev = S3C6410_Android
[ 2.437546] mass_storage_function_add
[ 2.443343] android_usb gadget: Number of LUNs=1
[ 2.445903] adb_function_add
[ 2.449902] android_usb gadget: Android Composite USB, version: Aug
19 2010
[ 2.455740] android_usb gadget: android_usb ready
[ 2.460329] Registered gadget driver 'android_usb'
[ 2.467340] mice: could not register psaux device, error: -16
[ 2.470837] mice: PS/2 mouse device common for all mice
[ 2.476090]
[ 2.476103] +++CheckCryptoSecurity
[ 2.476111]
[ 2.476115]
[ 2.483821] GPIO-149 autorequested
[ 2.487180] GPIO-148 autorequested
[ 2.525353] --------------------------
[ 2.525368]
[ 2.525372]
[ 2.525376]
[ 2.525380]
[ 2.525384]
[ 2.525388] CryptoSecurityPASSES<6>
[ 2.533945] --------------------------<6>input: s3c-keypad as /
class/input/input0
[ 2.543052] s3c-keypad Initialized
[ 2.545869] S3C GPIO Keypad Driver
[ 2.548874] S3C TouchScreen got loaded successfully : 12 bits
[ 2.555770] input: S3C TouchScreen as /class/input/input1
[ 2.563241] ====== bma150_sensor_init
[ 2.564891] input: bma150-sensor as /class/input/input2
[ 2.591031] BMA150 Sensor I2C 3 Wire Mode [rd = 0x00]
[ 2.592728] BMA150 Sensor Chip version [0.0]
[ 2.596487] BMA150 Sensor Chip ID [0]
[ 2.600214] HardKernel-C100 BMA150 Sensor driver initialized!! Ver
1.0
[ 2.605771] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[ 2.610623] s3c2410_rtc: tick irq 34, alarm irq 92
[ 2.615361] s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
[ 2.624143] s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as
rtc0
[ 2.628021] s3c_bat_init
[ 2.630199] smdk6410-battery smdk6410-battery: s3c_bat_probe
[ 2.638423] ======== OK to register power supply
[ 2.640426] ======== s3c_cable_changed_isr
[ 2.644763] ======== POWER_SUPPLY_HEALTH_OVERHEAT
[ 2.649487] smdk6410-battery smdk6410-battery:
s3c_cable_check_status: Unhealth battery state!
[ 2.659069] smdk6410-battery smdk6410-battery:
s3c_cable_check_status: Unhealth battery state!
[ 2.667541] sdhci: Samsung S3C6410 SD/MMC driver
[ 2.671253] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000
Hz)
[ 2.677603] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000
Hz)
[ 2.684148] s3c-sdhci s3c-sdhci.1: clock source 2: hsmmc (133000000
Hz)
[ 2.691552] Registered led device: mmc0
[ 2.695250] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1]
using DMA
[ 2.701689] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133000000
Hz)
[ 2.708110] s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133000000
Hz)
[ 2.714672] s3c-sdhci s3c-sdhci.2: clock source 2: hsmmc (133000000
Hz)
[ 2.722110] Registered led device: mmc1
[ 2.735933] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.2]
using DMA
[ 2.742229] logger: created 64K log 'log_main'
[ 2.743373] logger: created 256K log 'log_events'
[ 2.747605] logger: created 64K log 'log_radio'
[ 2.752799] Advanced Linux Sound Architecture Driver Version
1.0.18a.
[ 2.763520] No device for DAI s3c64xx-ac97
[ 2.764426] WM9713/WM9714 SoC Audio Codec 0.15
[ 2.768136] asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
[ 2.867202] ALSA device list:
[ 2.867248] #0: SMDK6400 (WM9713)
[ 2.868251] IPv4 over IPv4 tunneling driver
[ 2.873466] GRE over IPv4 tunneling driver
[ 2.877751] TCP cubic registered
[ 2.879462] NET: Registered protocol family 17
[ 2.884236] 802.1Q VLAN Support v1.8 Ben Greear
<
gre...@candelatech.com>
[ 2.890716] All bugs added by David S. Miller <
da...@redhat.com>
[ 2.896770] lib80211: common routines for IEEE802.11 drivers
[ 2.902389] VFP support v0.3: implementor 41 architecture 1 part 20
variant b rev 5
[ 2.914557] s3c2410-rtc s3c2410-rtc: setting system clock to
2000-10-30 13:05:32 UTC (972911132)
[ 2.918851] Freeing init memory: 164K
[ 2.931694] [s3c_udc_cable_connect]
[ 2.931753] android_usb gadget: high speed config #1: UMS Only (Not
debugging mode)
[ 3.178390] mmc0: new high speed SD card at address b368
[ 3.182870] mmcblk0: mmc0:b368 5 238 MiB
[ 3.183316] mmcblk0: p1
[ 4.198398] init: cannot open '/initlogo.rle'
[ 4.231340] yaffs: dev is 32505860 name is "mtdblock4"
[ 4.231389] yaffs: passed flags ""
[ 4.234231] yaffs: Attempting MTD mount on 31.4, "mtdblock4"
[ 4.690920] Partially written block 415 detected
[ 4.691530] yaffs tragedy: Bad object type, -134250497 != 15, for
object 268173311 at chunk 26622 during scan
[ 4.701151] yaffs tragedy: Bad object type, -16908289 != 15, for
object 201064447 at chunk 26619 during scan
[ 4.710586] yaffs tragedy: Bad object type, -33281 != 15, for
object 268435199 at chunk 26617 during scan
[ 4.720101] yaffs tragedy: Bad object type, -20545 != 15, for
object 268435455 at chunk 26615 during scan
[ 4.729845] yaffs tragedy: Bad object type, -1 != 15, for object
266305535 at chunk 26613 during scan
[ 4.738506] yaffs tragedy: Bad object type, -136314882 != 13, for
object 260045821 at chunk 26612 during scan
[ 4.748391] yaffs tragedy: Bad object type, -9 != 15, for object
268423125 at chunk 26611 during scan
[ 4.757581] yaffs tragedy: Bad object type, -1073741921 != 13, for
object 268435454 at chunk 26610 during scan
[ 4.767544] yaffs tragedy: Bad object type, -1025 != 14, for object
268434173 at chunk 26609 during scan
[ 4.776991] yaffs tragedy: Bad object type, -257 != 13, for object
234881023 at chunk 26608 during scan
[ 4.787300] yaffs: dev is 32505860 name is "mtdblock4"
[ 4.790908] yaffs: passed flags "xattr,check=no"
[ 4.795463] yaffs: Bad mount option "xattr"
[ 4.801929] yaffs: dev is 32505862 name is "mtdblock6"
[ 4.804701] yaffs: passed flags ""
[ 4.808146] yaffs: Attempting MTD mount on 31.6, "mtdblock6"
[ 5.546647] yaffs_read_super: isCheckpointed 0
[ 5.551865] yaffs: dev is 32505861 name is "mtdblock5"
[ 5.551914] yaffs: passed flags ""
[ 5.554757] yaffs: Attempting MTD mount on 31.5, "mtdblock5"
[ 5.978809] yaffs_read_super: isCheckpointed 0
[ 5.992999] init: cannot find '/system/bin/sh', disabling 'console'
[ 5.993706] init: cannot find '/system/bin/servicemanager',
disabling 'servicemanager'
[ 6.003380] init: cannot find '/system/bin/vold', disabling 'vold'
[ 6.007836] init: cannot find '/system/bin/debuggerd', disabling
'debuggerd'
[ 6.014881] init: cannot find '/system/bin/rild', disabling 'ril-
daemon'
[ 6.021639] init: cannot find '/system/bin/app_process', disabling
'zygote'
[ 6.028477] init: cannot find '/system/bin/mediaserver', disabling
'media'
[ 6.035316] init: cannot find '/system/bin/dbus-daemon', disabling
'dbus'
[ 6.042077] init: cannot find '/system/bin/installd', disabling
'installd'
[ 6.048926] init: cannot find '/system/bin/keystore', disabling
'keystore'
[ 6.061653] [adb_function_enable] adb_function => (enabled)