riptidewave93 / LEDE-MR33

Bringup for the Cisco Meraki MR33 Access Point on LEDE
70 stars 7 forks source link

Issue with build script ... #9

Closed jebuskrust closed 6 years ago

jebuskrust commented 6 years ago

Forgive me because I'm not amazing at opkg.

I've gone ahead and built my first custom build using your build tools. Literally was just a ./build modify select ipq806x and add /dev/mem support.

1 - I've flashed it.. (But could easily revert if i have to)

    root@OpenWrt:~# uname -a
    Linux OpenWrt 4.9.77 #0 SMP Sun Jan 28 07:53:50 2018 armv7l GNU/Linux

    This is a good sign.

    root@OpenWrt:/dev# ls mem -l
    crw-------    1 root     root        1,   1 Jan  1  1970 mem
    root@OpenWrt:/dev#

2 - (4.9.77) Kernel modules arent installed.. I built the packages too which are located here.. (https://github.com/jebuskrust/openwrt-packages-ipq806x)

    root@OpenWrt:/lib/modules# ls -l
    drwxr-xr-x    2 root     root          1362 May 15 12:31 4.14.37

(lsmod doesnt show anything obviously because no kernel modules are installed looks like perhaps they are set to be built into the kernel and not separate so shouldnt matter)

Anyway 3 - Edited /etc/opkg.conf 4 - Added arch arm_cortex-a15_neon-vfpv4 10

(which is listed in the manifest's heres an example )

   Package: fstools
   Version: 2018-01-13-18090d97-1
   Depends: libc, ubox, ubi-utils
   Source: package/system/fstools
   License: GPL-2.0
   Section: base
   Maintainer: John Crispin <john@phrozen.org>
   Architecture: arm_cortex-a15_neon-vfpv4
   Installed-Size: 15525
   Filename: fstools_2018-01-13-18090d97-1_arm_cortex-a15_neon-vfpv4.ipk
   Size: 16230
   SHA256sum: 4f0d8aebf82bfe9d525255c7690db351634195f113f357e132185b3a2ab45981
   Description:  OpenWrt filesystem tools

5 - Put my build key in -> /etc/opkg/keys/ 6 - Updated /etc/opkg/distfeeds.conf to include the following feeds:

   src/gz openwrt_core https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/targets/ipq806x/generic/packages
    src/gz openwrt_base https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/base
    src/gz openwrt_luci https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/luci
    src/gz openwrt_packages https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/packages
    src/gz openwrt_routing https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/routing
    src/gz openwrt_telephony https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/telephony

However... The issue that i'm facing is that when i opkg update... This is all i see.

    Package procd version 2018-03-28-dfb68f85-1 has no valid architecture, ignoring.
    Package ubusd version 2018-01-16-5bae22eb-1 has no valid architecture, ignoring.
    Package libustream-openssl version 2018-04-30-527e7002-3 has no valid architecture, ignoring.
    Package kmod-usb3 version 4.14.37-1 has no valid architecture, ignoring.
    Package firewall version 2018-05-14-b45e162e-1 has no valid architecture, ignoring.
    Package kmod-nf-ipt version 4.14.37-1 has no valid architecture, ignoring.
    Package libuci version 2018-03-24-5d2bf09e-1 has no valid architecture, ignoring.
    ..... etc pages upon pages of this 

Also, Signature check's pass for the dist feeds.

    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/targets/ipq806x/generic/packages/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_core
    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/targets/ipq806x/generic/packages/Packages.sig
    Signature check passed.
    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_base
    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
    Signature check passed.
    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
    Updated list of available packages in /var/opkg-lists/openwrt_luci
    Downloading https://raw.githubusercontent.com/jebuskrust/openwrt-packages-ipq806x/master/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
    Signature check passed.
    ...etc

I guess i'm doing it wrong? Did I miss something when I ran ./build modify by chance?

Everything is here.. https://github.com/jebuskrust/openwrt-packages-ipq806x

jebuskrust commented 6 years ago

nm figured it out