Hi,
Sorry for the late replay.
This problem has been resolved.
It was occurring because of the boot argument problem.
If we do a setenv and saveenv of mmcargs including init=/init, it will take 
init file.

On Wednesday, July 16, 2014 1:24:36 PM UTC+5:30, Vishveshwar wrote:
>
> On Tuesday, July 8, 2014 11:23:00 AM UTC+5:30, deepak vijay wrote:
>>
>> Hello all,
>>
>> I am new to andorid and I am trying to port android 4.4.3_r1 to am43xx 
>> platform.
>> I used am335x JB release as a reference.
>>
>> The kernel version that I am using is 3.12.10, and I applied all the 
>> android patches that is applied on 3.10 linux kernel to my kernel.
>>
>> And also I am able to add a new device (with reference of am335x 
>> directory in am335x JB release) to the device directory for am43xx and 
>> build it successfully.
>>
>> The bootargs is given below 
>>  
>> *bootargs=console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M 
>> root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init ip=off*
>> *fdtfile=am437x-gp-evm.dtb*
>> *bootcmd=mmc rescan ; fatload mmc 0 0x80F80000 am437x-gp-evm.dtb; fatload 
>> mmc 0 81000000 uImage ; bootm 80F80000 - 81000000*
>> *uenvcmd=boot*
>>
>>
>> And while booting I am getting the following problem.
>>
>> Please help me to solve this.
>>
>>
>> Starting kernel ...
>>
>> [    0.000000] Booting Linux on physical CPU 0x0
>> [    0.000000] Initializing cgroup subsys cpu
>> [    0.000000] Initializing cgroup subsys cpuacct
>> [    0.000000] Linux version 3.12.10-ti2013.12.01 
>> (mistral@mistral-Veriton-Series) (gcc version 4.6.x-go4
>> [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), 
>> cr=10c53c7d
>> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
>> instruction cache
>> [    0.000000] Machine: Generic AM43 (Flattened Device Tree), model: TI 
>> AM437x gp EVM
>> [    0.000000] cma: CMA: reserved 24 MiB at ae000000
>> [    0.000000] Memory policy: ECC disabled, Data cache writeback
>> [    0.000000] CPU: All CPU(s) started in SVC mode.
>> [    0.000000] AM437x ES1.0 (sgx neon )
>> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on. 
>>  Total pages: 259856
>> [    0.000000] Kernel command line: console=ttyO0,115200n8 
>> root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwat
>> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
>> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 
>> bytes)
>> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 
>> bytes)
>> [    0.000000] Memory: 1002844K/1045504K available (5763K kernel code, 
>> 565K rwdata, 1916K rodata, 349K i)
>> [    0.000000] Virtual kernel memory layout:
>> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>> [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
>> [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
>> [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
>> [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
>> [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
>> [    0.000000]       .text : 0xc0008000 - 0xc078805c   (7681 kB)
>> [    0.000000]       .init : 0xc0789000 - 0xc07e06d0   ( 350 kB)
>> [    0.000000]       .data : 0xc07e2000 - 0xc086f4c0   ( 566 kB)
>> [    0.000000]        .bss : 0xc086f4c0 - 0xc08a9de8   ( 235 kB)
>> [    0.000000] NR_IRQS:16 nr_irqs:16 16
>> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
>> [    0.000000] GIC CPU mask not found - kernel will fail to boot.
>> [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
>> [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps 
>> every 178956ms
>> [    0.000000] OMAP clocksource: timer1 at 24000000 Hz
>> [    0.000000] Console: colour dummy device 80x30
>> [    0.000612] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
>> [    0.119484] pid_max: default: 32768 minimum: 301
>> [    0.119689] Security Framework initialized
>> [    0.119813] Mount-cache hash table entries: 512
>> [    0.129908] Initializing cgroup subsys debug
>> [    0.129969] Initializing cgroup subsys freezer
>> [    0.130090] CPU: Testing write buffer coherency: ok
>> [    0.131035] Setting up static identity map for 0xc05a6910 - 0xc05a6980
>> [    0.131274] L310 cache controller enabled
>> [    0.131314] l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x7e030000, 
>> Cache size: 262144 kB
>> [    0.132653] devtmpfs: initialized
>> [    0.136301] VFP support v0.3: implementor 41 architecture 3 part 30 
>> variant 9 rev 4
>> [    0.201285] omap_hwmod: dss_dispc: cannot be enabled for reset (3)
>> [    0.204570] omap_hwmod: dss_rfbi: cannot be enabled for reset (3)
>> [    0.205701] pinctrl core: initialized pinctrl subsystem
>> [    0.207099] regulator-dummy: no parameters
>> [    0.210728] NET: Registered protocol family 16
>> [    0.215128] DMA: preallocated 256 KiB pool for atomic coherent 
>> allocations
>> [    0.218914] cpuidle: using governor ladder
>> [    0.218934] cpuidle: using governor menu
>> [    0.235208] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT 
>> exist in dt!
>> [    0.236899] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
>> [    0.239082] OMAP GPIO hardware version 0.1
>> [    0.254282] omap-gpmc 50000000.gpmc: GPMC revision 6.0
>> [    0.254313] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
>> [    0.255126] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT 
>> exist in dt!
>> [    0.257642] platform ocp2scp.0: FIXME: clock-name 'fck' DOES NOT exist 
>> in dt!
>> [    0.258012] platform ocp2scp.1: FIXME: clock-name 'fck' DOES NOT exist 
>> in dt!
>> [    0.258406] platform 48380000.omap_dwc3_1: FIXME: clock-name 'fck' 
>> DOES NOT exist in dt!
>> [    0.258810] platform 483c0000.omap_dwc3_2: FIXME: clock-name 'fck' 
>> DOES NOT exist in dt!
>> [    0.259196] platform 4832a000.dss: FIXME: clock-name 'fck' DOES NOT 
>> exist in dt!
>> [    0.259714] platform 4832a400.dispc: FIXME: clock-name 'fck' DOES NOT 
>> exist in dt!
>> [    0.260436] platform 4832a800.rfbi: FIXME: clock-name 'fck' DOES NOT 
>> exist in dt!
>> [    0.265670] No ATAGs?
>> [    0.265715] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 
>> watchpoint registers.
>> [    0.265730] hw-breakpoint: maximum watchpoint size is 4 bytes.
>> [    0.300164] bio: create slab <bio-0> at 0
>> [    0.320362] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine 
>> driver
>> [    0.321774] vmmcsd_fixed: 3300 mV 
>> [    0.322562] wlan-en-regulator: 1800 mV 
>> [    0.323159] evm_v3p3: 3300 mV 
>> [    0.327676] vgaarb: loaded
>> [    0.329564] SCSI subsystem initialized
>> [    0.331582] usbcore: registered new interface driver usbfs
>> [    0.331839] usbcore: registered new interface driver hub
>> [    0.332138] usbcore: registered new device driver usb
>> [    0.333647] omap_i2c 44e0b000.i2c: could not find pctldev for node 
>> /pinmux@44e10800/pinmux_i2c0_pins,e
>> [    0.333690] platform 44e0b000.i2c: Driver omap_i2c requests probe 
>> deferral
>> [    0.333727] omap_i2c 4802a000.i2c: could not find pctldev for node 
>> /pinmux@44e10800/i2c1_pins, deferre
>> [    0.333746] platform 4802a000.i2c: Driver omap_i2c requests probe 
>> deferral
>> [    0.334129] media: Linux media interface: v0.10
>> [    0.334387] Linux video capture interface: v2.00
>> [    0.334812] pps_core: LinuxPPS API ver. 1 registered
>> [    0.334826] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
>> Rodolfo Giometti <[email protected]>
>> [    0.335011] PTP clock support registered
>> [    0.338653] Switched to clocksource timer1
>> [    0.363853] NET: Registered protocol family 2
>> [    0.364789] TCP established hash table entries: 8192 (order: 4, 65536 
>> bytes)
>> [    0.365131] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
>> [    0.365305] TCP: Hash tables configured (established 8192 bind 8192)
>> [    0.365687] TCP: reno registered
>> [    0.365706] UDP hash table entries: 512 (order: 1, 8192 bytes)
>> [    0.365760] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
>> [    0.366114] NET: Registered protocol family 1
>> [    0.366804] RPC: Registered named UNIX socket transport module.
>> [    0.366821] RPC: Registered udp transport module.
>> [    0.366829] RPC: Registered tcp transport module.
>> [    0.366836] RPC: Registered tcp NFSv4.1 backchannel transport module.
>> [    0.368228] NetWinder Floating Point Emulator V0.97 (double precision)
>> [    0.369387] PM: Loading am335x-pm-firmware.binbounce pool size: 64 
>> pages
>> [    0.536222] VFS: Disk quotas dquot_6.5.2
>> [    0.536322] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
>> [    0.537145] NFS: Registering the id_resolver key type
>> [    0.537269] Key type id_resolver registered
>> [    0.537281] Key type id_legacy registered
>> [    0.537330] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red 
>> Hat, Inc.
>> [    0.537548] msgmni has been set to 1484
>> [    0.539982] NET: Registered protocol family 38
>> [    0.540050] io scheduler noop registered
>> [    0.540060] io scheduler deadline registered
>> [    0.540091] io scheduler cfq registered (default)
>> [    0.541332] omap-ocp2scp ocp2scp.0: invalid resource
>> [    0.541385] omap-ocp2scp: probe of ocp2scp.0 failed with error -22
>> [    0.542018] omap-ocp2scp ocp2scp.1: invalid resource
>> [    0.542058] omap-ocp2scp: probe of ocp2scp.1 failed with error -22
>> [    0.546410] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 
>> size 796
>> [    0.556082] OMAP DSS rev 2.0
>> [    0.561932] connector-hdmi connector.8: failed to find video source
>> [    0.561981] platform connector.8: Driver connector-hdmi requests probe 
>> deferral
>> [    0.590862] Console: switching to colour frame buffer device 100x30
>> [    0.606007] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
>> [    0.609858] omap_uart 44e09000.serial: No clock speed specified: using 
>> default:48000000
>> [    0.610310] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 104, 
>> base_baud = 3000000) is a OMAP UART0
>> [    1.401154] console [ttyO0] enabled
>> [    1.407286] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
>> [    1.428016] brd: module loaded
>> [    1.438545] loop: module loaded
>> [    1.448925] mtdoops: mtd device (mtddev=name/number) must be supplied
>> [    1.461779] usbcore: registered new interface driver asix
>> [    1.467866] usbcore: registered new interface driver ax88179_178a
>> [    1.474637] usbcore: registered new interface driver cdc_ether
>> [    1.481127] usbcore: registered new interface driver r815x
>> [    1.487264] usbcore: registered new interface driver smsc95xx
>> [    1.493606] usbcore: registered new interface driver net1080
>> [    1.499888] usbcore: registered new interface driver cdc_subset
>> [    1.506432] usbcore: registered new interface driver zaurus
>> [    1.512650] usbcore: registered new interface driver cdc_ncm
>> [    1.519483] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
>> [    1.526447] ehci-pci: EHCI PCI platform driver
>> [    1.531532] ehci-omap: OMAP-EHCI Host Controller driver
>> [    1.538570] usbcore: registered new interface driver cdc_wdm
>> [    1.544959] usbcore: registered new interface driver usb-storage
>> [    1.553125] mousedev: PS/2 mouse device common for all mice
>> [    1.561043] input: matrix_keypad.10 as 
>> /devices/matrix_keypad.10/input/input0
>> [    1.573200] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc 
>> as rtc0
>> [    1.582328] i2c /dev entries driver
>> [    1.587649] vpfe-capture 48326000.vpfe: v4l2 device registered
>> [    1.594053] vpfe-capture 48326000.vpfe: Asynchronous subdevice 
>> registration
>> [    1.601629] vpfe-capture 48326000.vpfe: AM437x ISIF is registered with 
>> vpfe.
>> [    1.610015] vpfe-capture 48328000.vpfe: v4l2 device registered
>> [    1.616251] vpfe-capture 48328000.vpfe: Asynchronous subdevice 
>> registration
>> [    1.623877] vpfe-capture 48328000.vpfe: AM437x ISIF is registered with 
>> vpfe.
>> [    1.631757] Driver for 1-wire Dallas network protocol.
>> [    1.640937] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 
>> sec
>> [    1.649868] device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) 
>> initialised: [email protected]
>> [    1.661446] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:25
>> [    1.668970] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:24
>> [    1.709457] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:3
>> [    1.716620] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:2
>> [    1.723889] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
>> [    1.769296] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:7
>> [    1.776458] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:4
>> [    1.866083] mmc0: host does not support reading read-only switch. 
>> assuming write-enable.
>> [    1.880261] mmc0: new high speed SDHC card at address e624
>> [    1.887188] mmcblk0: mmc0:e624 SU04G 3.69 GiB 
>> [    1.893560] ledtrig-cpu: registered to indicate activity on CPUs
>> [    1.902171] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:36
>> [    1.909986]  mmcblk0: p1 p2
>> [    1.913453] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
>> [    1.921441] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
>> [    1.934831] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
>> [    1.941274] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:5
>> [    1.948551] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:6
>> [    1.957409] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
>> [    1.963967] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:33
>> [    1.972371] edma-dma-engine edma-dma-engine.0: allocated channel for 
>> 0:34
>> [    1.983640] usbcore: registered new interface driver usbhid
>> [    1.989663] usbhid: USB HID core driver
>> [    1.994964] ashmem: initialized
>> [    1.999184] logger: created 256K log 'log_main'
>> [    2.004551] logger: created 256K log 'log_events'
>> [    2.010113] logger: created 256K log 'log_radio'
>> [    2.015477] logger: created 256K log 'log_system'
>> [    2.025298] oprofile: no performance counters
>> [    2.030713] oprofile: using timer interrupt.
>> [    2.035684] TCP: cubic registered
>> [    2.039294] Initializing XFRM netlink socket
>> [    2.044022] NET: Registered protocol family 17
>> [    2.049144] NET: Registered protocol family 15
>> [    2.053989] 8021q: 802.1Q VLAN Support v1.8
>> [    2.058580] Key type dns_resolver registered
>> [    2.064204] cpu cpu0: cpu0 regulator not ready, retry
>> [    2.069884] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests 
>> probe deferral
>> [    2.078793] ThumbEE CPU extension supported.
>> [    2.094848] vdd_core: 920 <--> 1140 mV at 1100 mV 
>> [    2.103427] vdd_mpu: 920 <--> 1375 mV at 1100 mV 
>> [    2.110795] DCDC3: at 1500 mV 
>> [    2.118426] LDO1: 1800 mV 
>> [    2.122875] ov2659 0-0030: ov2659_probe: debug: 0
>> [    2.159717] ov2659 0-0030: Sensor detection failed (3030, 0)
>> [    2.165837] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
>> [    2.175733] sii9022 1-003b: sil9022 HDMI Chip version = b0
>> [    2.183706] ov2659 1-0030: ov2659_probe: debug: 0
>> [    2.221625] ov2659 1-0030: Found OV2656 sensor
>> [    2.229098] vpfe-capture 48326000.vpfe: v4l2 sub device ov2659 
>> registered
>> [    2.237004] vpfe-capture 48326000.vpfe: video device registered as 
>> video0
>> [    2.244313] vpfe-capture 48326000.vpfe: vpfe0 capture driver 
>> initialized
>> [    2.251634] vpfe-capture 48326000.vpfe: sd[0]->entity is ed460e10
>> [    2.258162] vpfe-capture 48326000.vpfe: video_dev->entity is ed2d7000
>> [    2.265049] vpfe-capture 48326000.vpfe: source_pad:0 source->num_pads:1
>> [    2.272110] vpfe-capture 48326000.vpfe: sink_pad:0 sink->num_pads:1
>> [    2.279258] ov2659 1-0030: ov2659 sensor driver registered !!
>> [    2.285459] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
>> [    2.358673] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
>> [    2.365184] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
>> [    2.372747] libphy: 4a101000.mdio: probed
>> [    2.377044] davinci_mdio 4a101000.mdio: phy[0]: device 
>> 4a101000.mdio:00, driver unknown
>> [    2.386717] Detected MACID = 34:b1:f7:30:ed:c5
>> [    2.394572] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 
>> 00:00:00 UTC (946684800)
>> [    2.451242] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
>> mode. Opts: (null)
>> [    2.460069] VFS: Mounted root (ext4 filesystem) on device 179:2.
>> [    2.467868] devtmpfs: mounted
>> *[    2.473024] Freeing unused kernel memory: 348K (c0789000 - c07e0000)*
>> *[    2.483202] Kernel panic - not syncing: No init found.  Try passing 
>> init= option to kernel. See Linux.*
>>
>>
> Check if 'init' is really present in /dev/mmcblk0p2 and is executable.
>
> -Vishveshwar
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to