Hi I am trying to bring up Zoom3 board with android-2.6.35 kernel. 1. android-2.6.35 kernel is downloaded from omapzoom git server.
Kernel(top of the tree): # git clone git://git.omapzoom.org/kernel/omap.git android-2.6.35 # cd android-2.6.35 # git checkout -b p-android-omap-2.6.35 --track origin/p-android- omap-2.6.35 2. We have used ‘android_zoom3_defconfig’ to build the kernel. 3. The following bootargs used for booting: setenv bootargs 'console=ttyS3,115200n8 root=/dev/mmcblk0p2 rw rootdelay=1 init=/init omap_vout_mod.vid1_static_vrfb_alloc=y omap_vout_mod.video1_numbuffers=6 omapfb.vram=0:4M' setenv 'mmcinit 0;fatload mmc 0 0x81c00000 uImage;bootm 0x81c00000’ 4. We stuck at the ‘Uncompressing Linux... done, booting the kernel.’ while booting. Please find the below log for reference. ## Booting image at 81c00000 ... Image Name: Linux-2.6.35.7-00711-g52de3da-di Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3455848 Bytes = 3.3 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. 5. We made the following changes to enable early debugging in ‘android_zoom3_defconfig’. a. CONFIG_DEBUG_LL=Y b. CONFIG_EARLY_PRINTK=Y c. CONFIG_CMDLINE="root=/dev/nfs nfsroot=192.168.0.1:/home/user/ buildroot ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0:tgt:eth0:off rw console=ttyS3,115200n8 debug earlyprintk". 6. As we put some logs it is clear that it stuck inside of rest init. Inside rest_init, it creates new kernel thread “kernel_init”. Code flow, do_basic_setup-->driver_init-->cpu_dev_init. It is consistently failing at cpu_dev_init. Parallels it is also going through scheduler and keeps looping the task khelper. Please find the below log: EPK drivers/base/init.c 25 devtmpfs_init() EPK drivers/base/init.c 27 devices_init() EPK drivers/base/init.c 29 buses_init() EPK drivers/base/init.c 31 classes_init() EPK drivers/base/init.c 33 firmware_init() EPK drivers/base/init.c 35 hypervisior_init() EPK kernel/kmod.c 408 INSIDE CALL_USERMODEHELPER_EXEC EPK kernel/kmod.c 423 wait = 0 , kmod_thread= 0 task = swapper EPK kernel/kmod.c 439 WAITING FOR COMPLETION CPU ID = 0 The Prev task is: swapper [1] The current task_last is: khelper [6] after need_resched_nonpreemptible.. after need_resched.. CPU ID = 0 The Prev task is: khelper [6] The current task_last is: khelper [6] after need_resched_nonpreemptible.. after need_resched.. CPU ID = 0 The Prev task is: khelper [6] The current task_last is: khelper [7] EPK: kmod_thread of khelper CPU ID = 0 The Prev task is: khelper [7] The current task_last is: khelper [6] after need_resched_nonpreemptible.. after need_resched.. CPU ID = 0 The Prev task is: khelper [6] The current task_last is: swapper [1] after need_resched_nonpreemptible.. after need_resched.. EPK kernel/kmod.c 441 WAIT COMPLETION DONE EPK drivers/base/init.c 41 platform_bus_init() EPK drivers/base/init.c 45 system_init() EPK drivers/base/cpu.c 253 Entering cpu_dev_init() EPK kernel/kmod.c 408 INSIDE CALL_USERMODEHELPER_EXEC EPK kernel/kmod.c 423 wait = 0 , kmod_thread= 0 task = swapper EPK kernel/kmod.c 439 WAITING FOR COMPLETION CPU ID = 0 The Prev task is: swapper [1] The current task_last is: khelper [6] after need_resched_nonpreemptible.. after need_resched.. CPU ID = 0 The Prev task is: khelper [6] The current task_last is: khelper [7] after need_resched_nonpreemptible.. Can anybody suggest how to solve the problem? Thanks Subhash -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting