Hi Android Experts,

I am trying to run android-2.6.32 kernel on zoom2 board. I downloaded
the froyo code but facing problem with kernel panic when init is
executed.

I downloaded kernel from <git clone 
git://android.git.kernel.org/kernel/common.git>.
I checked out 2.6.32. The kernel are available at other repositories
also, but they give a number of file missing for zoom2 configuration,
and does not get built.
It is the reason I downloaded kernel from  
git://android.git.kernel.org/kernel/common.git.
and perform the following steps

1. configured for zoom2_defconfig, and built it.
2. Enable the android specific cofiguraion. I got this list from
documentation/android.txt.
3. built the froyo frame work. read init.rc from ti/init_omapzoom2.rc
dir
4. disable TLS_REGISTER.

But the kernel panics. I googled for this. and found following
solution for this problem

1. Disable TLS_REGISTER, as bionic libc does not support this register
2. check for boot args for kernel
3. stop most of the services frm init.rc

I have appiled these all suggestion, but could not get any positive
response.

Please suggest me anything, I have a kind of blocked at this point.
any suggestion will certainly help me. Please let me kn ow if any
other information is needed..
thanks in advance.

-Alok


PS: Please find the log here..

Starting kernel ...

Linux version 2.6.32.9-g049a746-dirty (root@infva03391) (gcc version
4.2.3 (Sourcery G++ Lite 2008q1-126)) #8 PREEMPT Mon Jan 17 14:51:24
IST 2
011
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP Zoom2 board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 ES3.1
SRAM: Mapped pa 0x40200000 to va 0xe3000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on. Total pages:
65024
Kernel command line: console=ttyS3,115200n8 root=/dev/nfs rw
rootdelay=1 ip=dhcp nfsroot=172.17.44.59:/home/alok/root,nolock
mem=256M init=/ini
t videoout=omap24xxvout omap_vout.video1_numbuffers=4
omap_vout.vid1_static_vrfb_alloc=y omapfb.vram="0:4M"
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254720KB available (3844K code, 768K data, 140K init, 0K
highmem)
Hierarchical RCU implementation.
NR_IRQS:402
clock: init parent: could not find regval 0 for clock dpll2_fck
clock: Could not find fieldval 0 for clock dpll2_fck parent core_ck
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
clock: Could not find fieldval 0 for clock dpll2_fck parent core_ck
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
OMAP DMA hardware revision 4.0
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
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
MUX: setup N28_3430_MMC1_CLK (0xd8002144): 0x0000 -> 0x0118
MUX: setup AE2_3430_MMC2_CLK (0xd8002158): 0x0101 -> 0x0118
MUX: setup AG5_3430_MMC2_CMD (0xd800215a): 0x0101 -> 0x0118
MUX: setup AH5_3430_MMC2_DAT0 (0xd800215c): 0x0101 -> 0x0118
MUX: setup AH4_3430_MMC2_DAT1 (0xd800215e): 0x011c -> 0x0118
MUX: setup AG4_3430_MMC2_DAT2 (0xd8002160): 0x0009 -> 0x0118
MUX: setup AF4_3430_MMC2_DAT3 (0xd8002162): 0x0109 -> 0x0118
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VMMC2: 1850 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs Jan 17 2011 13:36:00 Installing.
msgmni has been set to 498
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
serial8250.3: ttyS3 at MMIO 0x10000000 (irq = 262) is a ST16654
console [ttyS3] enabled
brd: module loaded
loop: module loaded
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=ffffffff:
01, irq=-1)
net eth0: MAC Address: 00:08:ee:03:8c:63
usbmon: debugfs is not available
i2c /dev entries driver
Driver for 1-wire Dallas network protocol.
cpuidle: using governor ladder
cpuidle: using governor menu
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'
logger: created 64K log 'log_system'
Advanced Linux Sound Architecture Driver Version 1.0.21.
ALSA device list:
No soundcards found.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
mmc0: host does not support reading read-only switch. assuming write-
enable.
mmc0: new high speed SD card at address 0007
mmcblk0: mmc0:0007 SD2GB 1.80 GiB
mmcblk0: p1 p2
mmc1: new high speed MMC card at address 0001
mmcblk1: mmc1:0001 STM16G 14.8 GiB
mmcblk1: unknown partition table
net eth0: SMSC911x/921x identified at 0xd085c000, IRQ: 318
Sending DHCP requests .., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.17.44.54
IP-Config: Complete:
device=eth0, addr=172.17.44.54, mask=255.255.255.0, gw=172.17.44.1,
host=172.17.44.54, domain=, nis-domain=(none),
bootserver=0.0.0.0, rootserver=172.17.44.59, rootpath=
Waiting 1sec before mounting root device...
Looking up port of RPC 100003/2 on 172.17.44.59
Looking up port of RPC 100005/1 on 172.17.44.59
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing init memory: 140K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to