Le 30/11/2011 22:56, Florian Fainelli a écrit :
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.
About the router, it's actually a bbox2, with an Adi (Ikanos) Fusiv 160
The wireless is based on an Atheros 5212.
I don't know about the ethernet (which is the one I'm gonna use since I
don't need wifi)
SDRAM size: 64Mb
FLASH size: 16Mb
CPU revision is: 6836c400
cat /proc/cpuinfo returns:
system type : ADI Fusiv Core
processor: 0
cpu model : Lexra LX4189 V0.0
BogoMIPS : 199.47
tlb_entries : 64
So, indeed, there doesn't seem to be a good target for it.
I found a .config file mentioning ikanos as target
http://test.ninux.org/%7Eclaudyus/alice_agif/config_owrt_060211, so
I've asked to developers if they've got the /target/linux/ikanos files
http://forum.zibri.org/t181p105-openwrt-sull-agif#4057 (you need to
register to see the forum...).
Thomas, you know that you need a toolchain which does not emit any patented
MIPS instructions to work on Lexra/Fusiv CPUs, right?
About the toolchain, I'm hoping the one found at www.livebox-floss.com
is alright, since the kernel source .config file mentions the LX4189.
The site is down at the moment, but you can find a partial mirror at
http://zoobab.dyndns.org/bbox2/mirrors/livebox-opensource.com/
And the .config file includes CONFIG_MIPS_PATENTFREE=y
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.
I don't really understand the lines
make -C .. O=$(pwd)
make -C .. O=$(pwd) INSTALL_MOD_PATH=$(pwd)/modules modules_install
I just did a make in the linux dir and then the
mips-linux-uclibc-objcopy -O binary vmlinux vmlinuz
I've just read that the guys from the zibri.org forum have managed to
make OpenWrt run on it
http://forum.zibri.org/t181p105-openwrt-sull-agif#4064.
The ethernet seems to be not working yet, but that should be fixable,
even if it's with the binary modules.
Thanks to both of you for your help.
Hopefully, I'm now gonna be able to work on the Thomson 706 wl port.
Regards,
Thomas
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel