From: Craig H. <cr...@hu...> - 2004-09-07 18:46:37
|
I should remove that gumstix_defconfig file -- it's actually *not* used. The way the buildroot thing build the kernel is a little funky, and makes it hard to actually do work on the kernel -- I've been meaning to fix it, but have become used to my workarounds (which aren't a lot of work). For now, here's what happens: The make/linux.mk script will download the linux kernel from kernels.org and untar it. Then it applies all the patches sources/kernel_patches/[0-9]{3}-gumstix-*, then it copies sources/linux.config into the build tree, and runs make oldconfig. So the config it uses is the one in sources/linux.config, not the gumstix_defconfig one. When I'm playing with the kernel, and rebuilding it, I generally cd into the build_arm/linux* directory and use make ARCH=arm menuconfig to edit the config, then make ARCH=arm CROSS_COMPILE=arm-linux- to build. if arm-linux-* isn't in your path, you'll need to either specify the full path, or add it to your default path. Once I have a stable config, I then copy .config back to ../../sources/linux.config C On Sep 7, 2004, at 8:55 AM, Kim Hendrikse wrote: >> My guess is that you have to change craigs >> patch, if you build-root again. Are you just >> compiling the kernel alone? > > I let it rebuild everything that was necessary. i.e. simply make at > the top > level. The patch is a little confusing. It seems to make a file called > > build_arm/linux-2.6.9-rc1-gum/arch/arm/configs/gumstix_defconfig > > However, this file does indeed contain the CONFIG_PPP=y line. > But when the kernel actually compiles, the file > > build_arm/linux-2.6.7-gnalm0-gum0-craig/.config > > file doesn't contain the CONFIG_PPP=y line. Running pppd on the > stix first said I needed to make /dev/ppp. I did that. Now it says the > kernel doesn't support PPP. It's not clear what I'm doing wrong. I > downloaded > a fresh svn checkout and modified sources/linux.config before any > first compile, same thing. > > - Kim > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |