Compiling openwrt for WPJ342 fails

  1. 6 months ago

    I try to compile openwrt for WPJ342.
    I am following the instructions, given at:
    using Designated Driver, because the stable distribution does
    not support this router.
    I am using Ubuntu 16.04.
    I get the following error message when running make -j1 V=s

    make[3]: Entering directory '/home/ufechner/openwrt/openwrt/feeds/luci/modules/luci-base'
    install -d -m0755 /bin
    install -m0755 src/po2lmo /bin/po2lmo
    install: cannot create regular file '/bin/po2lmo': Permission denied
    Makefile:45: recipe for target '/home/ufechner/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/host/stamp/.luci-base_installed' failed
    make[3]: *** [/home/ufechner/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/host/stamp/.luci-base_installed] Error 1
    make[3]: Leaving directory '/home/ufechner/openwrt/openwrt/feeds/luci/modules/luci-base'
    package/Makefile:196: recipe for target 'package/feeds/luci/luci-base/host/compile' failed
    make[2]: *** [package/feeds/luci/luci-base/host/compile] Error 2
    make[2]: Leaving directory '/home/ufechner/openwrt/openwrt'
    package/Makefile:193: recipe for target '/home/ufechner/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile' failed
    make[1]: *** [/home/ufechner/openwrt/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile] Error 2
    make[1]: Leaving directory '/home/ufechner/openwrt/openwrt'
    /home/ufechner/openwrt/openwrt/include/ recipe for target 'world' failed
    make: *** [world] Error 2

    Any idea how to fix this?

    Best regards:

    Uwe Fechner

  2. Winston

    4 Nov 2016 Moderator

    Hello Uwe,

    Could you try Chaos Calmer please? It does support the WPJ342 router.

    More updated flash instructions can be found here:

    1. Set your PC to Go into the loader mode of the board.

    2. Put the OpenWrt firmware image file at

    This can be achieved by running the Tftpd32 program in the same directory as the firmware file.

    3. Execute the following commands in the serial console e.g. PuTTY

     tftpboot 0x80500000 openwrt-15.05-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin
     erase 0x9f030000 +$filesize
     cp.b $fileaddr 0x9f030000 $filesize



or Sign Up to reply!