Hi,

As from above comment, we should take care of init.rc services.

However above problem was resolved with few modifications in init.rc
file.

1. In init.rc file, made the changes related to permissions: 'ro'
should be changed to 'rw'.

   96
<     mount yaffs2 mtd@system /system ro remount
    mount yaffs2 mtd@system /system rw remount

   102
<     mount rootfs rootfs / ro remount
   mount rootfs rootfs / rw remount

2. Console services in init.rc should be execute as a root user. we
need to make sure as a root.
change 'user shell'  'as user root'.

service console /system/bin/sh
    console
    disabled
    user shell
    group log

3. Give the chmod 777 permissions to entire rootfs folder.
4. Need to take care while using MLO accoding to blaze board version.

Regards,
Srinivas.

On Apr 19, 5:33 pm, Oblivious <md.oblivi...@gmail.com> wrote:
> Please could you add some details for the solutions ?
> Regards
>
> On Mar 16, 5:03 am, Hamilton Vera <hamilton.lis...@gmail.com> wrote:
>
> > Hi there.
>
> > Make sure that your partition schema and init file are correctly configured.
>
> > []'s
>
> > Hamilton Vera
>
> > On Tue, Mar 15, 2011 at 8:52 AM, Srinivas Yedla <srinivasy...@gmail.com> 
> > wrote:
> > > Hi ,
>
> > > Iam trying to bring up the OMAP blaze board(ES 2.1 GP) with
> > > Gingerbread Android. But while booting the kernel iam repeatedly
> > > getting the below error and screen is not coming up.
>
> > > Please let me know do i need to add something ?
>
> > > Details of Board used:
>
> > > OS Kernel: Linux® 2.6.35
> > > Android: Gingerbread public project
> > > L27.INC1.GB-ENG-1_OMAP4_GingerBread_ES2
> > > Reference hardware platform: Blaze ES2.1-GP
> > > Build Host OS: Ubuntu
>
> > > Boot args:
>
> > > setenv bootargs console=ttyO2,115200n8 mem=456M@0x80000000
> > > mem=512M@0xA0000000 root=/dev/mmcblk1p2 rw rootdelay=2 init=/init
> > > vram="10M" omapfb.vram="0:4M"
> > > setenv bootcmd 'mmcinit 0; fatload mmc 0 0x80000000 uImage;bootm
> > > 80000000'
> > > saveenv
> > > run bootcmd
>
> > > LOGS:
>
> > > --------------
>
> > > Texas Instruments X-Loader 1.41 (Mar  8 2011 - 13:10:38)
> > > mmc read: Invalid size
> > > Starting OS Bootloader from MMC/SD1 ...
>
> > > U-Boot 1.1.4-L27.10.2~38 (Mar  8 2011 - 13:10:01)
>
> > > Load address: 0x80e80000
> > > DRAM:  1024 MB
> > > Flash:  0 kB
> > > In:    serial
> > > Out:   serial
> > > Err:   serial
> > > Net:   KS8851SNL
> > > Hit any key to stop autoboot:  0
> > > mmc read: Invalid size
>
> > > 3133700 bytes read
> > > ## Booting image at 80000000 ...
> > >   Image Name:   Linux-2.6.35.7-00166-gd92ad95-di
> > >   Image Type:   ARM Linux Kernel Image (uncompressed)
> > >   Data Size:    3133636 Bytes =  3 MB
> > >   Load Address: 80008000
> > >   Entry Point:  80008000
> > >   Verifying Checksum ... OK
> > > OK
>
> > > Starting kernel ...
>
> > > Uncompressing Linux... done, booting the kernel.
> > > Linux version 2.6.35.7-00166-gd92ad95-dirty (srinivas@sunil-desktop)
> > > (gcc versio
> > > n 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #2 SMP PREEMPT Tue Mar 8
> > > 15:52:30 IST 2
> > > 011
> > > CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7f
> > > CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
> > > Machine: OMAP4430 4430SDP board
> > > Memory policy: ECC disabled, Data cache writealloc
> > > ***********************
> > > OMAP4430 ES2.1 type(GP)
> > > id-code  (3b95c02f)
> > > Die-id   (7B8A0003-00000000-0A6CAEA7-03012)
> > > Prod-id  (0001B95C-000300F0)
> > > ***********************
> > > SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x100000
> > > FIXME: omap44xx_sram_init not implemented
> > > Reserving 10485760 bytes SDRAM for VRAM
> > > PERCPU: Embedded 7 pages/cpu @c192b000 s5568 r8192 d14912 u65536
> > > pcpu-alloc: s5568 r8192 d14912 u65536 alloc=16*4096
> > > pcpu-alloc: [0] 0 [0] 1
> > > Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
> > > 245760
> > > Kernel command line: console=ttyO2,115200n8 mem=456M@0x80000000
> > > mem=512M@0xA0000
> > > 000 root=/dev/mmcblk1p2 rw rootdelay=2 init=/init vram="10M"
> > > omapfb.vram="0:4M"
> > > PID hash table entries: 4096 (order: 2, 16384 bytes)
> > > Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
> > > Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> > > Memory: 456MB 256MB 256MB = 968MB total
> > > Memory: 965104k/965104k available, 26128k reserved, 262144K highmem
> > > Virtual kernel memory layout:
> > >    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> > >    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
> > >    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
> > >    vmalloc : 0xf0800000 - 0xf8000000   ( 120 MB)
> > >    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> > >    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> > >    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> > >      .init : 0xc0008000 - 0xc0044000   ( 240 kB)
> > >      .text : 0xc0044000 - 0xc0620000   (6000 kB)
> > >      .data : 0xc0620000 - 0xc06758e0   ( 343 kB)
> > > SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2,
> > > Nodes=1
> > > Hierarchical RCU implementation.
> > >        RCU-based detection of stalled CPUs is disabled.
> > >        Verbose stalled-CPUs detection is disabled.
> > > NR_IRQS:388
> > > omap_hwmod: sys_32k_ck: missing clockdomain for sys_32k_ck.
> > > omap_hwmod: l3_div_ck: missing clockdomain for l3_div_ck.
> > > omap_hwmod: dpll_mpu_m2_ck: missing clockdomain for dpll_mpu_m2_ck.
> > > omap_hwmod: dmic: resetting
> > > omap_hwmod: dss_dsi1: cannot be enabled (3)
> > > omap_hwmod: dss_dsi2: cannot be enabled (3)
> > > omap_hwmod: dss_hdmi: cannot be enabled (3)
> > > omap_hwmod: dss_rfbi: cannot be enabled (3)
> > > omap_hwmod: dss_venc: cannot be enabled (3)
> > > omap_hwmod: ipu: failed to reset in 10000 usec
> > > omap_hwmod: mailbox: resetting
> > > omap_hwmod: omap-mcpdm-dai: cannot be enabled (3)
> > > omap_hwmod: mcspi1: resetting
> > > omap_hwmod: mcspi2: resetting
> > > omap_hwmod: mcspi3: resetting
> > > omap_hwmod: mcspi4: resetting
> > > omap_hwmod: mmc1: resetting
> > > omap_hwmod: mmc2: resetting
> > > omap_hwmod: mmc3: resetting
> > > omap_hwmod: mmc4: resetting
> > > omap_hwmod: mmc5: resetting
> > > omap_hwmod: timer3: resetting
> > > omap_hwmod: timer4: resetting
> > > omap_hwmod: timer5: resetting
> > > omap_hwmod: timer6: resetting
> > > omap_hwmod: timer7: resetting
> > > omap_hwmod: timer8: resetting
> > > omap_hwmod: timer9: resetting
> > > omap_hwmod: timer11: resetting
> > > GPMC revision 6.0
> > > SmartReflex CLASS3 initialized
> > > OMAP clockevent source: GPTIMER1 at 32768 Hz
> > > Console: colour dummy device 80x30
> > > Calibrating delay loop... 2013.49 BogoMIPS (lpj=7864320)
> > > pid_max: default: 32768 minimum: 301
> > > Mount-cache hash table entries: 512
> > > CPU: Testing write buffer coherency: ok
> > > Calibrating local timer...
> > > 50.00MHz.
> > > L310 cache controller enabled
> > > l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x1e470000
> > > CPU1: Booted secondary processor
> > > Brought up 2 CPUs
> > > SMP: Total of 2 processors activated (4010.18 BogoMIPS).
> > > devtmpfs: initialized
> > > regulator: core version 0.5
> > > NET: Registered protocol family 16
> > > EMIF0 is enabled with IRQ142
> > > EMIF1 is enabled with IRQ143
> > > OMAP GPIO hardware version 0.1
> > > omap_mux_init: Add partition: #1: core, flags: 2
> > > omap_mux_init: Add partition: #2: wkup, flags: 2
> > > Reprogramming LPDDR2 timingsto 400000000 Hz
> > > omap_disp_led_init: Configuring as one display LED
> > > _omap_mux_init_gpio: Could not set gpio4
> > > Configured modem_ipc: n/a
> > > Modem HSI not detected
> > > res->start = 49022000
> > > res->start = 49024000
> > > res->start = 49026000
> > > res->start = 48096000
> > > OMAP DMA hardware revision 0.0
> > > dma dma.0: System DMA registered
> > > HSI: device registered
> > > bio: create slab <bio-0> at 0
> > > usbcore: registered new interface driver usbfs
> > > usbcore: registered new interface driver hub
> > > usbcore: registered new device driver usb
> > > i2c_omap i2c_omap.1: bus 1 rev4.0 at 400 kHz
> > > Skipping twl internal clock init and using bootloader value (unknown
> > > osc rate)
> > > twl6030: PIH (irq 39) chaining IRQs 368..387
> > > twl6030_usb twl6030_usb: Initialized TWL6030 USB module
> > > regulator: VMMC: 1200 <--> 3000 mV at 3000 mV normal standby
> > > regulator: VPP: 1800 <--> 2500 mV at 1900 mV normal standby
> > > regulator: VUSIM: 1200 <--> 2900 mV at 1800 mV normal standby
> > > regulator: VANA: 2100 mV normal standby
> > > regulator: VCXIO: 1800 mV normal standby
> > > regulator: VDAC: 1800 mV normal standby
> > > regulator: VUSB: 3300 mV normal standby
> > > regulator: VAUX1_6030: 1000 <--> 3000 mV at 2800 mV normal standby
> > > regulator: VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby
> > > regulator: VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby
> > > i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
> > > i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
> > > i2c_omap i2c_omap.4: bus 4 rev4.0 at 400 kHz
> > > Advanced Linux Sound Architecture Driver Version 1.0.23.
> > > Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
> > > Bluetooth: Core ver 2.15
> > > NET: Registered protocol family 31
> > > Bluetooth: HCI device and connection manager initialized
> > > Bluetooth: HCI socket layer initialized
> > > Switching to clocksource timer-32k
> > > musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
> > > musb_hdrc musb_hdrc: USB OTG mode controller at fc0ab000 using DMA,
> > > IRQ 124
> > > NET: Registered protocol family 2
> > > IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
> > > TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
> > > TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
> > > TCP: Hash tables configured (established 131072 bind 65536)
> > > TCP reno registered
> > > UDP hash table entries: 512 (order: 2, 16384 bytes)
> > > UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> > > NET: Registered protocol family 1
> > > RPC: Registered udp transport module.
> > > RPC: Registered tcp transport module.
> > > RPC: Registered tcp NFSv4.1 backchannel transport module.
> > > ipu-power ipu0: Test of writing to the device message log,done from
> > > ipu_pm_init
> > > ipu-power initialized ipu, major: 251, minor: 0
> > > sdp4430_wifi_init: start
> > > omap-iommu omap-iommu.0: ducati registered
> > > omap-iommu omap-iommu.1: tesla registered
> > > iovmm-omap initialized ducati, major: 250, base-minor: 0
> > > iovmm-omap initialized tesla, major: 250, base-minor: 1
> > > omap-remoteproc omap-remoteproc.0: omap_rproc_probe: adding rproc
> > > tesla
> > > omap-remoteproc omap-remoteproc.0: omap-rproc initialized tesla,
> > > major: 249, bas
> > > e-minor: 0
> > > omap-remoteproc omap-remoteproc.1: omap_rproc_probe: adding rproc
> > > ducati-proc0
> > > omap-remoteproc
>
> ...
>
> read more »

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

Reply via email to