Giter Site home page Giter Site logo

mindboards / ev3sources Goto Github PK

View Code? Open in Web Editor NEW
437.0 437.0 177.0 259.25 MB

LEGO MINDSTORMS EV3 source code

Home Page: http://botbench.com/blog/2013/07/31/lego-mindstorms-ev3-source-code-available/

XSLT 0.01% C 91.27% Shell 0.29% TeX 0.01% Scala 0.01% Vim Script 0.01% Perl 0.08% Assembly 2.31% Objective-C 0.34% C++ 5.52% Objective-C++ 0.01% Python 0.02% Awk 0.01% UnrealScript 0.01% JavaScript 0.01% Erlang 0.01% OpenEdge ABL 0.10% Scilab 0.01% ASP 0.01% IDL 0.04%

ev3sources's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ev3sources's Issues

Weird state of ev3sources repository

I did a fresh checkout of the ev3sources repository to my Mac, and am puzzled by the state of the repository:

$ git clone [email protected]:mindboards/ev3sources.git ev3sources
$ cd ev3sources
$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#   modified:   extra/linux-03.20.00.13/Documentation/IO-mapping.txt
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter/xt_CONNMARK.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter/xt_DSCP.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter/xt_MARK.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter/xt_RATEEST.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter/xt_TCPMSS.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter_ipv4/ipt_ECN.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter_ipv4/ipt_TTL.h
#   modified:   extra/linux-03.20.00.13/include/linux/netfilter_ipv6/ip6t_HL.h
#   modified:   extra/linux-03.20.00.13/net/ipv4/netfilter/ipt_ECN.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_CONNMARK.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_DSCP.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_HL.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_MARK.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_RATEEST.c
#   modified:   extra/linux-03.20.00.13/net/netfilter/xt_TCPMSS.c
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libip6t_HL.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libipt_ECN.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libipt_TTL.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_CONNMARK.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_DSCP.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_MARK.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_RATEEST.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_SET.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_TCPMSS.so
#   modified:   extra/linux-devkit/arm-none-linux-gnueabi/usr/libexec/xtables/libxt_TOS.so
#   modified:   lms2012/lms2012/doc/html/PWMModule.html
#   modified:   lms2012/lmssrc/TEST/CVS/Entries
#   modified:   lms2012/lmssrc/TEST/CVS/Repository
#   modified:   lms2012/lmssrc/TEST/TEST/CVS/Entries
#   modified:   lms2012/lmssrc/TEST/TEST/CVS/Repository
#   modified:   lms2012/lmssrc/TEST/update
#
no changes added to commit (use "git add" and/or "git commit -a")

$ git --version
git version 1.8.3.4

If I try to git checkout -- extra/linux-03.20.00.13/Documentation/IO-mapping.txt, for example, it will leave a lowercase io-mapping.txt file in the modified state, which I cannot seem to remove.

kernel default configuration

I would like to enable support for the WNA1000M wifi adapter, way smaller than the WNA1100, which is based on a Realtek chip. The main problem is that the ‘rtl8192cu’ driver handling this chip was not part of the 2.6.33-rc4 kernel.

TI has an released and updated DaVinci SDK (3.22.00.02) that is based on a 3.3.0, that contains it. Can I rely on the ‘da850_omapl138_defconfig’ target to create an initial kernel config file, or is there something special to select for EV3 ? (maybe some patches too…)

Support for TL-WN725N v2 wi-fi nano dongle

A week ago, I bought it and was very upset when I realized that it is not supported by original firmware. Yesterday I succesfully finished the implementation of support for this dongle. The question is: how can I reflect what I did to achieve the result?

Encourage people to use forks instead of branches?

I noticed that you've started encouraging people to use their own branches for personal modifications instead of the master branch. This is a great idea, but could me improved upon by encouraging the use of forks.

How forks work, is anyone can click on the Fork button at the top of the page, and it creates a copy of the repository under their own account. They can then modify things as they see fit. If they think that their changes should be pushed to the main repo, they can submit a pull request for discussion.

Proposed Update to README.md

I'm proposing updating the README.md file with the following paragraph after Item No. 1. This is posted here since I haven't forked the repository and don't want to commit it before getting consensus on this.

Things you will need

  • A Linux (virtual) installation. I used Ubuntu 13.04 on VMware Workstation, but I am sure other combinations also work.

    The reason for the Linux installation requirement is due to the case-sensitive filenames used by the Linux kernel source repository. Attempting to clone the source repository to a non-case sensitive file system such as Mac OSX HFS+ or Windows FAT would result in a corrupted repository.

  • Eclipse. I used Helios Service Release 1, but I know more recent versions will also work.

...

Can not format SD card

In format_sdcard.sh file, when fdisk command is run(70th line of format_sdcard.sh), fdisk.cmd file is passed as argument.
In fdisk.cmd file, it seems that initial sector is configured 1(10th line of fdisk.cmd), but initial sector is not always 1(for example, default: 2048).
Perhaps you shoud modify line feed in 10th line of fdisk.cmd to configure default parameter.

Is it possible to reverse engineer wifi and bluetooth protocols from the source code?

I am web programmer with no knowledge in embedded system.

I quite interested in knowing network protocols of ev3 so that I can write customised program to control my robots remotely. Searching docs for two days, I can not find any docs. If you know any existing docs plz plz let me know. If there isn't, any possibility to reverse engineer it from the source tree?

WNA1100 support in the kernel

In the default kernel config file, CONFIG_ATH_COMMON is set, but it seems that there is no support for AR9271 based devices, as CONFIG_ATH9K_HTC is not set.

Should I set it manually or is the WNA1100 supported by another driver?

Can not make modules in linux kernel

It seems that ath drivers were backported from a more recent kernel. As a result, there are other wifi drivers which no longer compile. Those drivers are however enabled as module in the configuration.
What could be done? Find where the ath changes come from, and fix the backport.

Build script for firmware are fragile

The build scripts found in lms2012/open_first are very fragile and have little or no error checking at any stage of the build process.
I propose we migrate them to an actual build system such as make or ant and use targets for each part that the build system is dependent on.
The buildmod scripts found in each of the lms2012/d_* folders are a good example of this as well.

Missing kernel modules

I've compiled the newest sources of EV3 firmware and while boot, the console (port1) says some kernel modules are missing and EV3 is shutting down.
What do you need to say me what is wrong?

Error Build Project in Eclipse

I tried to follow the instructions on git. I have done the "Import Eclipse" step. Then I did "Project / Build all" and it came up "Error 127 and Error 2"
IMG_20221017_215201

I am on vacation

Peeps,

I am on vacation at the moment and am not able to go through all these issues and pull requests. @bungeshea , could you look at them and merge them if they're good?

The Wifi mini dongle hit list - see #18 #19 #25 for example

Given the awkwardness of cables / bluetooth / full sized dongles, it would be a very good thing to have support for more Wifi dongle types in an official build.

I have recently purchased" yet another" mini Wifi Dongle - the Editmax EW-7811Un

lsusb on my 64-bit Debian machines gives me:

Bus 002 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

I have downloaded the .bin from the location noted in #25
https://wiki.qut.edu.au/display/cyphy/EV3+EDIMAX+EW-7811Un
and this worked fine. It's a massive difference.

Having looked at the code changes, I think we could perhaps improve them to

  • either employ a configuration based list of supported devices
  • choose the "best 3" and simply bundle support for those into the code

I've been too lazy^H^H^H^Hbusy to delve into how to build a full .bin file as per the link, but let me offer my services to code up a solution and to test on the dongles I do have.
Where I could do with some guidance is how you would prefer to implement updates to the lms code and how to deliver any new required chipset drivers .

firmware sources out of date?

As most of the files are uploaded 4 -5 years ago I tried to compile the firmware from Lego's latest firmware sources from here. Unfortunately an archive named EV3os.tar.bz2 is missing in this package, which seems to cover all sources from the ev3sources/extra folder. I assume there must have been changes to these files more recently, as some additional hardware support has been added, e.g. for the Edimax WiFi stick.

If my assumption is right: Does anyone know, where I can get the missing archive? Or is anyone able to update the files of this repository? Or are they still up to date?

Thanks in advance for any kind of support!

How can I refresh the firmware on linux?

I like to download my firmware on the ev3's flash memory. I set my ev3 in updating mode and can discover them with my linux PC. How can I write the firmware to the ev3?

Problems at script build_kernel

I started to work with your ev3source. I'm working with an virtual Ubuntu environment and I try to compile the kernel, but unfortunately I've got an error. It seems to be an firmware library linkage within an compilling process. I'll append an picture of the build-script for the bug-research. May it's only a lack of understanding the right sequence of your scripts in the open-first-folder. I thank you for your cooperation and looking forward to your responses to this issue.

It would be great, if you could
bildschirmfoto 2013-08-08 um 16 42 09
add an user-guit how to put the kernel on an EV3.

Can not make kernel

Hello,

I'm trying to make the kernel, but it doesn't work. I can make lms2012,modules, programs, u-boot, doc and clean. If I starting to make the kernel I've got an error by the creation of advansys.c. I'll hope you can help me.
bildschirmfoto 2013-09-06 um 11 32 03
bildschirmfoto 2013-09-06 um 11 33 06
I'm currently working with the Ubuntu v. 12.03
bildschirmfoto 2013-09-06 um 11 40 56

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.