From: Joshua W. P. <Jos...@uk...> - 2006-06-26 18:50:52
|
I believe I did erase all the memory before flashing. Here is the list of c= ommands I used to do the reflashing: mmcinit protect off all protect on 1:0-1 fatload mmc 1 a2000000 rootfs_arm_nofpu.jffs2 erase all cp.b a2000000 40000 ${filesize} I checked in the build_arm_nofpu/root/bin directory, and there are only two= executables: busybox and lsmod. Do you have any idea why this is? Could = I simply use subversion to redownload the latest buildroot and try again? Come to think of it, when making the kernel image (typing make from gumstix= buildroot after cross-compiling from linux-2.6.15gum) the last message i= s "hostname: Host name lookup failure" when defining the BUILD_HOSTNAME v= ariable. Do you suppose that this jffs2 image has not been created succes= sfully? - Josh -----Original Message----- From: "Dave Hylands" <dhy...@gm...> To: Jos...@uk..., "General mailing list for gumstix users." <gu= mst...@li...> Date: Mon, 26 Jun 2006 10:32:25 -0700 Subject: Re: [Gumstix-users] kernel panic - no init found Hi Josh, On 6/26/06, Joshua Warren Priestley <Jos...@uk...> wrote: > I searched the archives for this problem, but I couldn't seem to find any= solutions. I recently reflashed the linux system on my gumstix, and when= I boot the kernel, I hit a "Kernel panic - not syncing: No init found. T= ry passing init=3D option to kernel" error. Currently my bootargs environ= ment variable is "console=3DttyS0,115200n8 root=3D1f01 rootfstype=3Djffs2= " however I've tried appending " init=3D/sbin/init" and " init=3D/bin/sh"= , which were two init parameters I was able to find on the u-boot page. B= oth of these result in a "Failed to execute <filename>. Attempting defaul= ts..." error, followed by the same kernel panic message. The new linux im= age is version 2.6.15. > > Does anyone know why I'm getting this error? Sounds like something is wonky with the file system. Do you have an XM card? Did you erase all of memory before downloading (and not just the firt 4 Mb)? In your buildroot, what do you see in the build_arm_nofpu/root directory? (check in bin to make sure that there is an sh and that busybox also exists. sh should be soft-linked to busybox. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |