Hi,
Le mardi 29 novembre 2011 17:23:14, Jo-Philipp Wich a écrit :
> Hi.
>
> You must pick the target which matches your board, it is used across
> various placing, ranging from optimization flag settings to package
> architecture fields. The correct one for the LifeBox would be the
> brcm63xx target.
Not all Livebox are based on Broadcom BCM63xx, so in that case he would need
to create a new one, e.g: fusiv.
Thomas, you know that you need a toolchain which does not emit any patented
MIPS instructions to work on Lexra/Fusiv CPUs, right?
>
> As far as I can see it in my local test it does indeed build the
> external kernel, but applies the version from target/linux/$arch
> /Makefile to it.
>
> Example:
>
> $ cat
> /home/jow/devel/openwrt/trunk/build_dir/linux-brcm63xx/linux-2.6.39.4/00-R
> EADME-FT.txt
>
> To build the linux kernel, extract the archive, and cd
> into linux-2.6.15, then run the following commands:
>
> export PATH="/path/to/mips-linux-uclibc/bin:${PATH}"
> mkdir build-dir
> cd build-dir
> cp ../.config .
> mkdir -p include/linux
> cp ../include/linux/autoconf.h include/linux
> make -C .. O="$(pwd)"
> make -C .. O="$(pwd)" INSTALL_MOD_PATH="$(pwd)/modules" modules_install
> mips-linux-uclibc-objcopy -O binary vmlinux vmlinuz
>
> The resulting kernel is the file vmlinuz, to be found in
> the directory build-dir. The modules will be found in the
> modules/ sub-directory.
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
--
Florian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel