Hi Deva,

Changes made and no differences seen from retest.

I am wondering whether I have to change access right (chmod) to the
root files (in the images) or not?

Regards

David

On 24 Mar, 17:58, Deva R <r.deva...@gmail.com> wrote:
> have you modified init.rc from the prebuilt package?
>
> root file system and especially '/system' is gone for toss, after
> mounting yaffs file system to '/'
>
> NAND yaffs file system is mounted in your init.rc, and it should be
> like below sequence.. to set '/system' and '/data' properly..
>
> mount yaffs2 m...@system /system
> mount yaffs2 m...@system /system ro remount
> mount yaffs2 m...@userdata /data nosuid nodev
> mount yaffs2 m...@cache /cache nosuid nodev
>
> if any issue there in mounting, services that are to be run after
> parsing init.rc will fail, as you see in the log..
>
>
>
> On Wed, Mar 24, 2010 at 3:18 PM, david <dajun.c...@gmail.com> wrote:
> > Problem seen in running Android Eclair (prebuild images from Samsung)
> > on an SMDK6410:
>
> > ===========================================================================­======
>
> > U-BOOT# nand read 50008000 600000 300000;nand read 50800000 900000
> > 100000;bootm 50008000 50800000
>
> > NAND read: device 0 offset 0x6291456, size 0x3145728
>
> >  3145728 bytes read: OK
>
> > NAND read: device 0 offset 0x9437184, size 0x1048576
>
> >  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-02-12   5:54:20 UTC
>
> >   Image Type:   ARM Linux RAMDisk Image (uncompressed)
>
> >   Data Size:    159996 Bytes = 156.2 kB
>
> >   Load Address: 50800000
>
> >   Entry Point:  50800000
>
> >   Verifying Checksum ... OK
>
> > Starting kernel ...
>
> > Uncompressing
> > Linux......................................................................­........................................................
> > done, booting the kernel.
>
> > [    0.000000] Linux version 2.6.29 (hsk...@hskang-desktop) (gcc
> > version 4.3.1 (for S3C64XX Samsung Electronics AP Development Team) )
> > #1 Fri Feb 12 14:20:27 KST 2010
> > [    0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6
> > (ARMv7), cr=00c5307f
> > [    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=532000000, M=532000000,
> > E=24000000
> > [    0.000000] S3C64XX: HCLKx2=266000000, HCLK=133000000,
> > PCLK=66500000
> > [    0.000000] mout_apll: source is fout_apll (1), rate is 532000000
> > [    0.000000] mout_epll: source is fout_epll (1), rate is 24000000
> > [    0.000000] mout_mpll: source is mpll (1), rate is 532000000
> > [    0.000000] mmc_bus: source is dout_mpll (1), rate is 266000000
> > [    0.000000] mmc_bus: source is dout_mpll (1), rate is 266000000
> > [    0.000000] mmc_bus: source is dout_mpll (1), rate is 266000000
> > [    0.000000] usb-host-bus: source is mout_epll (0), rate is 24000000
> > [    0.000000] lcd: source is dout_mpll (1), rate is 266000000
> > [    0.000000] uclk1: source is dout_mpll (1), rate is 66500000
> > [    0.000000] spi_epll: source is mout_epll (0), rate is 24000000
> > [    0.000000] spi_epll: source is mout_epll (0), rate is 24000000
> > [    0.000000] sclk_audio0: source is mout_epll (0), rate is 24000000
> > [    0.000000] sclk_audio1: source is mout_epll (0), rate is 24000000
> > [    0.000000] sclk_audio2: source is mout_epll (0), rate is 24000000
> > [    0.000000] irda-bus: source is mout_epll (0), rate is 24000000
> > [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
> > Total pages: 21336
> > [    0.000000] Kernel command line: console=ttySAC0,115200
> > [    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
> > [    0.000446] Console: colour dummy device 80x30
> > [    0.000614] console [ttySAC0] enabled
> > [    0.180467] Dentry cache hash table entries: 16384 (order: 4, 65536
> > bytes)
> > [    0.187935] Inode-cache hash table entries: 8192 (order: 3, 32768
> > bytes)
> > [    0.202454] Memory: 84MB = 84MB total
> > [    0.202516] Memory: 80276KB available (3588K code, 946K data, 152K
> > init)
> > [    0.208181] Calibrating delay loop... 132.71 BogoMIPS (lpj=331776)
> > [    0.320602] Mount-cache hash table entries: 512
> > [    0.322427] CPU: Testing write buffer coherency: ok
> > [    0.329687] net_namespace: 520 bytes
> > [    0.332209] NET: Registered protocol family 16
> > [    0.352160] S3C6410 Power Management, (c) 2008 Samsung Electronics
> > [    0.352920] S3C6410: Initialising architecture
> > [    0.357242] S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung
> > Electronics
> > [    0.364523] Total 32 DMA channels will be initialized.
> > [    0.373121] GPIO-155 autorequested
> > [    0.373166] GPIO-156 autorequested
> > [    0.376394] GPIO-157 autorequested
> > [    0.379593] GPIO-158 autorequested
> > [    0.383012] GPIO-159 autorequested
> > [    0.386380] GPIO-129 autorequested
> > [    0.389734] GPIO-130 autorequested
> > [    0.393139] GPIO-131 autorequested
> > [    0.439668] bio: create slab <bio-0> at 0
> > [    0.453902] NET: Registered protocol family 2
> > [    0.454251] IP route cache hash table entries: 1024 (order: 0, 4096
> > bytes)
> > [    0.460754] TCP established hash table entries: 4096 (order: 3,
> > 32768 bytes)
> > [    0.467000] TCP bind hash table entries: 4096 (order: 2, 16384
> > bytes)
> > [    0.473216] TCP: Hash tables configured (established 4096 bind
> > 4096)
> > [    0.479289] TCP reno registered
> > [    0.482845] NET: Registered protocol family 1
> > [    0.487722] checking if image is initramfs... it is
> > [    0.593806] Freeing initrd memory: 156K
> > [    0.594752] S3C PWM Driver, (c) 2006-2007 Samsung Electronics
> > [    0.598249] NetWinder Floating Point Emulator V0.97 (double
> > precision)
> > [    0.611245] ashmem: initialized
> > [    0.613900] yaffs Feb 12 2010 14:19:57 Installing.
> > [    0.614035] msgmni has been set to 157
> > [    0.619048] alg: No test for stdrng (krng)
> > [    0.621637] io scheduler noop registered
> > [    0.625444] io scheduler anticipatory registered (default)
> > [    0.630831] io scheduler deadline registered
> > [    0.635277] io scheduler cfq registered
> > [    0.639642] S3C_LCD clock got enabled :: 266.000 Mhz
> > [    0.650071] LCD TYPE :: LTE480WV will be initialized
> > [    0.777005] Window[0] - FB1: map_video_memory: clear
> > ff000000:00177000
> > [    0.782868]             FB1: map_video_memory: dma=54e00000
> > cpu=ff000000 size=00177000
> > [    0.785842] Window[0] - FB2: map_video_memory: clear
> > ff0bb800:000bb800
> > [    0.792339]             FB2: map_video_memory: dma=54ebb800
> > cpu=ff0bb800 size=000bb800
> > [    0.813949] Console: switching to colour frame buffer device 100x30
> > [    0.826209] fb0: s3cfb frame buffer device
> > [    0.838044] Window[1] - FB1: map_video_memory: clear
> > ff177000:00177000
> > [    0.844575]             FB1: map_video_memory: dma=55000000
> > cpu=ff177000 size=00177000
> > [    0.846901] Window[1] - FB2: map_video_memory: clear
> > ff232800:000bb800
> > [    0.853398]             FB2: map_video_memory: dma=550bb800
> > cpu=ff232800 size=000bb800
> > [    0.862111] fb1: s3cfb frame buffer device
> > [    0.865960] SMDK board LCD Backlight Device Driver (c) 2008 Samsung
> > Electronics
> > [    0.873533] Registered led device: lcd-backlight
> > [    1.494304] lp: driver loaded but no devices found
> > [    1.494364] S3C64XX ADC driver, (c) 2007 Samsung Electronics
> > [    1.499432] ADC platform data read
> > [    1.503606] S3C64XX ADC driver successfully probed !
> > [    1.508967] ppdev: user-space parallel port driver
> > [    1.512588] s3c64xx-uart.0: s3c_serial0 at MMIO 0x7f005000 (irq =
> > 16) is a S3C64XX
> > [    1.521544] s3c64xx-uart.1: s3c_serial1 at MMIO 0x7f005400 (irq =
> > 20) is a S3C64XX
> > [    1.529078] s3c64xx-uart.2: s3c_serial2 at MMIO 0x7f005800 (irq =
> > 24) is a S3C64XX
> > [    1.536741] s3c64xx-uart.3: s3c_serial3 at MMIO 0x7f005c00 (irq =
> > 28) is a S3C64XX
> > [    1.566775] brd: module loaded
> > [    1.578258] loop: module loaded
> > [    1.578434] pmem: 1 init
> > [    1.580269] pmem_render: 0 init
> > [    1.582690] pmem_stream: 0 init
> > [    1.585924] pmem_stream2: 0 init
> > [    1.588946] pmem_preview: 0 init
> > [    1.592360] pmem_picture: 0 init
> > [    1.595561] pmem_jpeg: 0 init
> > [    1.598833] Linux video capture interface: v2.00
> > [    1.610145] Request irq 35 for codec
> > [    1.610214] Request irq 36 for preview
> > [    1.614018] S3C FIMC v3.0
> > [    1.616930]  S3C G2D  Init : Done
> > [    1.617725] S3C G3D Driver, (c) 2007-2009 Samsung Electronics
> > [    1.625220] s3c_g3d version : 0x1050000
> > [    1.627273] G3D_RESERVED_MEM_SIZE : 24 MB
> > [    1.631307] G3D_CHUNK_SIZE : 2 MB
> > [    1.634540] G3D_CHUNK_NUM : 12 (UI_CHUNK:4)
> > [    1.638813] 0 th virt_addr = 0xc6800000, phy_addr = 0x56800000
> > [    1.644567] 1 th virt_addr = 0xc6a00000, phy_addr = 0x56a00000
> > [    1.650366] 2 th virt_addr = 0xc6c00000, phy_addr = 0x56c00000
> > [    1.656169] 3 th virt_addr = 0xc6e00000, phy_addr = 0x56e00000
> > [    1.661971] 4 th virt_addr = 0xc7000000, phy_addr = 0x57000000
> > [    1.667778] 5 th virt_addr = 0xc7200000, phy_addr = 0x57200000
> > [    1.673589] 6 th virt_addr = 0xc7400000, phy_addr = 0x57400000
> > [    1.679394] 7 th virt_addr = 0xc7600000, phy_addr = 0x57600000
> > [    1.685211] 8 th virt_addr = 0xc7800000, phy_addr = 0x57800000
> > [    1.691010] 9 th virt_addr = 0xc7a00000, phy_addr = 0x57a00000
> > [    1.696837] 10 th virt_addr = 0xc7c00000, phy_addr = 0x57c00000
> > [    1.702723] 11 th virt_addr = 0xc7e00000, phy_addr = 0x57e00000
> > [    1.709261] S3C6400 MFC Driver, (c) 2007 Samsung Electronics
> > [    1.719156] S3C6400 MFC driver module init OK.
> > [    1.719215] S3C
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to