See #24 for update
1. Download the following archive and unzip.
https://drive.google.com/file/d/0B9Z_Kp … sp=sharing
2. Run
./preparebuild.sh
3. After a while a menuconfig dialog comes up
3.1. Select Lantiq, XRX200, o2 Box 6431 / Arcadyan VGV7510KW22 (NOR)
3.2. Advanced configuration options, Toolchain Options, C Library implementation
--> Select "Use (e)glibc"
This is because asterisk does not load modules with musl library
3.3. Select the extra packages:
kmod-fs-ext4
kmod-usb-storage
luci
asterisk18
asterisk18-app-stack
asterisk18-chan-lantiq
asterisk18-chan-local
asterisk18-codec-alaw
3.4. Exit menuconfig
4. Run make
cd openwrt
make -jX (X is the number of available cpu threads)
5. Compiling fails
You have to patch the DSL drivers Makefile.am for glibc toolchain.
See https://dev.openwrt.org/ticket/21343
Replace all "-Bstatic -dn -static" entries in Makefile.am to "-Bstatic -dn"
Call make -jX again
6. After this you will get
bin/lantiq-glibc/openwrt-lantiq-xrx200-VGV7510KW22NOR-squashfs.image
7. Copy this file to /tmp dir (with scp) on the box with running OpenWRT (NOR Version!)
and call
sysupgrade /tmp/openwrt-lantiq-xrx200-VGV7510KW22NOR-squashfs.image
on the box
8. After rebooting you should hear a tone with a connected phone
9. You need a working extensions.conf to make calls, see #10, #12, #13
(Last edited by stefan-koch on 10 Jan 2017, 23:41)