From: Chuck R. <shi...@ro...> - 2008-12-09 18:52:30
|
Hi Will, Thanks for the hints, but unfortunately I am using buildroot (r1630), not OE. I've searched my entire gumstix-buildroot tree, but there is no *.tar.gz image file being built for the root filesystem, just the rootfs.arm_nofpu.jffs2 file, and I have no idea what a .jffs2 file is or how to turn it into a unix filesystem on my MMC card. Apparently, just placing the .jffs2 file onto the 2nd partition isn't sufficient. Thx, Chuck On Dec 9, 2008, at 9:45 AM, William Voorhees wrote: > Hi Chuck, > I've been working on getting a basix board to boot from an SD card for > quite some time, with unfortunately no luck. However I think I can > help you out with your question. Specifically I believe the file that > you are looking for can be found at: > ~/gumstix/gumstix-oe/tmp/deploy/glibc/images/gumstix-custom-<basix/ > verdex>/gumstix-basic-image-gumstix-custom-basix.tar.gz > > untaring this file into your ext2 partition should produce the rootfs > that you want. Alternatively you could do a loopback mount of the > jffs2 image and get the files that away, but since the buildbake > system makes this tarball it's probably the easiest route. > > -Will > > P.S. If I'm wrong someone should tell me! > > On Mon, Dec 8, 2008 at 4:24 PM, Chuck Randall <shi...@ro... > > wrote: >> I can't figure out how to install the rootfs filesystem onto the >> second partition of my MMC card so I can boot from it. I'm following >> the instructions given at: http://www.gumstix.net/User/view/User-how-to-s/Booting-from-microSD/SD/MMC/110.html >> >> I have a 1GB MMC card with 2 partitions: >> 1 FAT16 (type 6) 40MB >> gumstix-factory.script 332 bytes >> uimage 992496 bytes >> 2 Linux (ext2) 960MB >> rootfs 9649540 bytes >> >> Trying to boot, I get: >> . . . >> Booting from mmc/microSD... >> . . . >> Waiting 1sec before mounting root device... >> No filesystems could mount root, tried: >> Kernel panic - not syncing: VFS: unable to mount root fs on unknown- >> block(0,0) >> >> I think this doesn't boot correctly because I have placed the >> "rootfs.arm_nofpu.jffs2" file onto the second partition as a simple >> file, not as a filesystem. What is the Linux way to install the >> rootfs >> file contents onto the second partition? Is there some sort of >> unpacking necessary? >> >> The gumstix web site says, "Eventually you will want to build your >> own >> kernel and rootfs images, but until the process is documented you can >> use pre-built images ... Download and extract the following tarball >> to >> the ext2 partition: www.sakoman.net/oe/mmc-boot/rootfs-mmc.tar.gz" >> >> When untarred, that rootfs-mmc.tar.gz file contains a unix >> filesystem, >> not a single "rootfs" file like I have. How did they make that >> tarball? >> >> What am I missing here? >> >> Thx, >> Chuck >> >> >> ------------------------------------------------------------------------------ >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >> Nevada. >> The future of the web can't happen without you. Join us at MIX09 >> to help >> pave the way to the Next Web now. Learn more and register at >> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |