Differences in kernel configuration
Hello all,
How come I don't get the same options if I do this from the buildroot directory:
make ARCH=ppc menuconfig
(with the [Kernel][Run make ARCH=$(ARCH) xconfig before build] activated)
And this:
cd ./project_build_ppc/genepy/linux-2.6.24; make ARCH=ppc xconfig
In particular, in the 2nd case I have an option for [Processor][IBM 4xx options][Machine type] available for Xilinx-ML403 which is missing in the first case
linux-2.6.24 $ grep XIL .config
# CONFIG_XILINX_ML300 is not setCONFIG_XILINX_ML403=yCONFIG_XILINX_VIRTEX_4_FX=yCONFIG_XILINX_VIRTEX=y
# CONFIG_XILINX_SYSACE is not set
buildroot $ grep XIL project_build_ppc/genepy/linux-2.6.24/.config CONFIG_XILINX_VIRTEX_GENERIC_BOARD=y CONFIG_XILINX_VIRTEX=yCONFIG_XILINX_VIRTEX_II_PRO=y CONFIG_XILINX_VIRTEX_4_FX=y
# CONFIG_XILINX_SYSACE is not set
I've also heard that there can be discrepancies between using xconfig and menuconfig, so is it possible to tell the main 'make' to use the kernel's menuconfig instead of its xconfig. I did search the main makefile without success.
Signature · 2 lines
Guillaume Dargaud http://www.gdargaud.net/
Quoted 29 lines · Guillaume Dargaud
Hello all,
How come I don't get the same options if I do this from the buildroot directory:
make ARCH=ppc menuconfig
(with the [Kernel][Run make ARCH=$(ARCH) xconfig before build] activated)And this:
cd ./project_build_ppc/genepy/linux-2.6.24; make ARCH=ppc xconfigIn particular, in the 2nd case I have an option for [Processor][IBM 4xx options][Machine type] available for Xilinx-ML403 which is missing in the first case
linux-2.6.24 $ grep XIL .config
#CONFIG_XILINX_ML300is not setCONFIG_XILINX_ML403=yCONFIG_XILINX_VIRTEX_4_FX=yCONFIG_XILINX_VIRTEX=y
#CONFIG_XILINX_SYSACEis not setbuildroot $ grep XIL project_build_ppc/genepy/linux-2.6.24/.config
CONFIG_XILINX_VIRTEX_GENERIC_BOARD=yCONFIG_XILINX_VIRTEX=yCONFIG_XILINX_VIRTEX_II_PRO=yCONFIG_XILINX_VIRTEX_4_FX=y
#CONFIG_XILINX_SYSACEis not set
Quoted 2 lines
I've also heard that there can be discrepancies between using xconfig and menuconfig, so is it possible to tell the main 'make' to use the kernel's
xconfig and menuconfig should result in the same .config, IIRC.
Apart from that you want to read
docs/README
for the reliable way to configure your kernel.
HTH,
[Buildroot] Wrong compiling commands ?
Hello all,
sorry if I ask a lot of newbie questions here, but 12 years since my last embedded work on totally different architectures (TI), I have a hard time getting back in the game.
The more I look at what is going on, the more I think things are just plain wrong. Look at the invocation to compile uClibc:
$ make ARCH=ppc
[...]
/usr/bin/make MAKE="/usr/bin/make -j1" -C
/home/guinevere/buildroot/toolchain_build_ppc/uClibc-0.9.29 \
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="/usr/bin/gcc" \
all
[...]
Finishing with a whole bunch of errors...
Shouldn't there be a CROSS=something in there ? And some path for PREFIX ?Thanks
Signature · 2 lines
Guillaume Dargaud http://www.gdargaud.net/