From: ken s. <ken...@gm...> - 2006-12-05 15:28:15
|
On 12/5/06, Gordon Dobie <gor...@ee...> wrote: > I am trying to get the tutorial on the Wiki to work, but am having some > issues - http://docwiki.gumstix.org/Root_filesystems (Sorry > I am fairly new to Linux and the Gumstix!) > > > > The plan is to boot a 4mB flash basix from the MMC, but I am having trouble > getting it to work. > > > > 1. Firstly I gather you need to recompile the kernel after "Enable drivers > required in the kernel". I tried just entering these lines into a shell, > then doing: > > cd <gumstix-buildroot> > cd build_arm_nofpu > cd linux-<the version of linux you're using> > make ARCH=arm CROSS_COMPILE=`pwd`/../staging_dir/bin/arm-linux- > cd <gumstix-builtroot> > make > > > I left out - make ARCH=arm > CROSS_COMPILE=`pwd`/../staging_dir/bin/arm-linux- > menuconfig, is this correct? > this is correct. you must build the entire toolchain and buildroot first: make defconfig make then the steps above. > > 2. To change Busybox, I used "make menuconfig" and "make" in the busybox > folder. Then "make" in the buildroot folder. > you should specify the architecture here, then let buildroot's make handle it: in busybox dir - make ARCH=arm menuconfig then in <gumstix-buildroot> dir make > > 3. For "Prepare the initramfs image" > > I take it I need to run "chmod +x init", to make the file executable, is > this correct? yes, it does need to be executable > > My current version, loads the image, and the ramdisk.img, but is unable to > mount the mmc to /mnt/mmc, then can't mount the rootfs. It hangs at a > kernal panic warning. > posting the boot messages will give a better idea of where it is going off track. --- ken |