GithubHelp home page GithubHelp logo

Comments (10)

wilson6405 avatar wilson6405 commented on August 22, 2024 1

Hi, I encounter the same failed, but I can't figure out how do you solved.
Do you mean disable the libmraa in menuconfig?
But I can't disable it. Thanks!

from linkit-smart-7688-feed.

Victoriouszh avatar Victoriouszh commented on August 22, 2024 1

okay, i see why you can't solve it.

Here are all of my steps:

  1. Rename the kernel to a version that works: 
    To workaround, you could just rename the following two files
    mt_wifi.ko_3.18.36_all ---> mt_wifi.ko_3.18.44_all
    mt_wifi.ko_3.18.36 ---> mt_wifi.ko_3.18.44
    This can make the compile pass.

then continue the build process. (V=99)

then another issues comes up:

  1. You need to disable libmraa in make menuconfig. It is selected by other packages so you have to disable them first. I deselect:
    Global build settings->Compile with support for patented functionality
    Libraries->IoT->libupm
    Libraries->libmraa
    It compiles fine then

then continue the build Process (V=99)

the next thing that you then encounter is, that the ftp link for to download the kernel does not work anymore. what you do is: trough your ubuntu, go to files/openwrt/scripts then double click download.pl

Now you need to edit it a tiny bit: you simply copy the code from servalproject/openwrt@a378338, and paste it into your code.
delete row 177 to 184 and paste the new code in.

Make V=99

After that it should be working.

from linkit-smart-7688-feed.

wilson6405 avatar wilson6405 commented on August 22, 2024 1

After download libmraa-0.8.0-70600dece4138b0c0dbaff42f57828f1559cd840.tar.gz
I build and flash successfully.

from linkit-smart-7688-feed.

jasonrock21 avatar jasonrock21 commented on August 22, 2024 1

I ran into the same issues, plus an additional since LEDE merged with OpenWRT.
Appreciate your efforts to create a path towards a resolution.

Here's my additional issue: OpenWRT archived chaos calmer and therefore Step 2 did not work.

Replace Step 2 with this to ensure you're working with Chaos Calmer with kernel 3.18.44 based on the Readme node about LinkIt supporting 3.18.21 ~ 3.18.44:

$ git clone https://github.com/openwrt/chaos_calmer openwrt
$ git checkout c170d84bbe08e0f049c99d3f376aae170a36458e

Next obtain libmraa-0.8.0-70600dece4138b0c0dbaff42f57828f1559cd840.tar.gz
Place it in ~/openwrt/dl folder
There are several who have it in their forked repo like NuxNuxLi
Though, I believe the official one is here and would need to be renamed before running make

from linkit-smart-7688-feed.

wilson6405 avatar wilson6405 commented on August 22, 2024

Thanks for replying.

  1. I use this command back to openwrt 3.18.44 kernel version to solve this issue.
$ git checkout c170d84bbe08e0f049c99d3f376aae170a36458e
  1. Now I encounter this issue
Submodule path 'doxyport': checked out 'db3e1a6eb8677d3166d90d82c3068689803ce547'
warning: unable to rmdir doxyport: Directory not empty
M	doxygen2jsdoc
Note: checking out '70600dece4138b0c0dbaff42f57828f1559cd840'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 70600de... mraa: update to version 0.8.0
fatal: reference is not a tree: 9cc90b7976252b2d14b7956230c5870097e1f008
Unable to checkout '9cc90b7976252b2d14b7956230c5870097e1f008' in submodule path 'doxygen2jsdoc'
Makefile:51: recipe for target '/home/wilson/bointec/MTK/openwrt/dl/libmraa-0.8.0-70600dece4138b0c0dbaff42f57828f1559cd840.tar.gz' failed

Disable mraa is the only way to solve this issue?
I see the warning above seem that can't download "libmraa-0.8.0-70600dece4138b0c0dbaff42f57828f1559cd840.tar.gz"
Where can I download it?

  1. I had done it before build.

from linkit-smart-7688-feed.

Victoriouszh avatar Victoriouszh commented on August 22, 2024

like i said in my initial post. i'm what they call a n00b trying to solve the issues by my self, and would gladly accept help from anyone too. i believe, there must be a better way to solve this issue. but i couldn't find anything nor am i able to fix that problem. i simply told you what i did to make it build and to make it work for me. aldo it still does not work for my purpose. i have massive issues with libavahi daemon.

On the other hand, there is mediatek labs who is promising us, to have a working board with drivers and dependencies for openwrt, to do simple iot or wifi speaker stuff and such. i wonder why no one of them is checking out these issues.

but back to your issues you have there.

  1. have you tried removing this folder manually? rm -rf foldername

  2. this could be maybe helpful: https://stackoverflow.com/questions/2155887/git-submodule-head-reference-is-not-a-tree-error

Let me know if it helped and what you did. would only make me learn some more :)

from linkit-smart-7688-feed.

wilson6405 avatar wilson6405 commented on August 22, 2024

Hi Victoriouszh,

I follow your steps to disable the libmraa and build successfully.
But the orange led(WiFi led) still lit up.
Doesn't mean that fail? I had waited for 30 mins.

from linkit-smart-7688-feed.

Victoriouszh avatar Victoriouszh commented on August 22, 2024

how did you flash that firmware?

from linkit-smart-7688-feed.

wilson6405 avatar wilson6405 commented on August 22, 2024

I had tried both webUI and USB driver but it still can't flash.
Only downloading from mediatek labs can flash in it.

I am following developer guide to build.

from linkit-smart-7688-feed.

Victoriouszh avatar Victoriouszh commented on August 22, 2024

i will try that again, and i'l try it your way.... give me some time.

from linkit-smart-7688-feed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.