mindboards / ev3sources

LEGO MINDSTORMS EV3 source code
http://botbench.com/blog/2013/07/31/lego-mindstorms-ev3-source-code-available/
443 stars 178 forks source link

I tried getting these updated files (Linux kernel and U-Boot) from LEGO customer support recently. Supposedly they are working on making these available, but it is a slow process. #43

Open qiux7hyun opened 3 years ago

qiux7hyun commented 3 years ago

I tried getting these updated files (Linux kernel and U-Boot) from LEGO customer support recently. Supposedly they are working on making these available, but it is a slow process.

Originally posted by @dlech in https://github.com/mindboards/ev3sources/issues/42#issuecomment-415775397

do you get the sources , Would you mind to send me a note, when you got the sources?

dlech commented 3 years ago

Nope, still waiting. I think @JakubVanek hasn't had any luck either.

JakubVanek commented 3 years ago

Yep, I tried to obtain the source code for 1.10E firmware version in March 2020, but I wasn't successful with that. ~Some older kernel/u-boot revisions are available in the extended repository though, and I believe the EV3os.tar.bz2 archive mentioned in #42 is present in the latest 1.09 sources as the file open_first/lmsfs_with_telnet.tar.bz2.~ Nevermind, EV3os.tar.bz2 should have contained the updated source code of kernel and u-boot, this is not available anywhere AFAIK.

mrdc commented 1 month ago

Nevermind, EV3os.tar.bz2 should have contained the updated source code of kernel and u-boot

Hi, any update on this? I’ve made 2 kernel modules (from different sources) for Edimax Un7811 v2 (which is not supported by original firmwares), but it’s builded for the old 1.04/1.05 firmware. So, I’m not sure that it will work on the latest 1.09H/1.10E (will test later). BTW looks like 1.09H and 1.10E have minimal differences: the first is for Home Edition (31313 set) and the second for Education (45544 set).

JakubVanek commented 1 month ago

Hi, I unfortunately do not remember LEGO giving me any feedback apart from that they were aware of the issue. However, I wouldn't rule out that some update got lost in my inbox, so I don't really know what is the current status of this.

mrdc commented 1 month ago

Hi, I unfortunately do not remember LEGO giving me any feedback apart from that they were aware of the issue. However, I wouldn't rule out that some update got lost in my inbox, so I don't really know what is the current status of this.

Hi, thanks. Then I’ll try to compile the latest source code using the old kernel we have. Uboot tools, mkimage etc are installed separately, so I think only the kernel can affect the building process. Diff shouldn’t be too large between 1.09 and 1.05 which we have.

mrdc commented 1 month ago

Well, I've made some tests: it fails to build but overall looks not bad :D v109D uses the same kernel & uboot versions as v105D (at least it stated in build files). Errors when building the kernel:

drivers/net/wireless/b43/main.c:3752: error: 'struct ieee80211_key_conf' has no member named 'alg'
drivers/net/wireless/b43/main.c:3753: error: 'ALG_WEP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:3753: error: (Each undeclared identifier is reported only once
drivers/net/wireless/b43/main.c:3753: error: for each function it appears in.)
drivers/net/wireless/b43/main.c:3759: error: 'ALG_TKIP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:3762: error: 'ALG_CCMP' undeclared (first use in this function)
drivers/net/wireless/b43/main.c:4399: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4400: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4401: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4402: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4403: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4410: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4414: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4415: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4416: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4436: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4441: error: dereferencing pointer to incomplete type
drivers/net/wireless/b43/main.c:4582: error: unknown field 'get_tx_stats' specified in initializer
drivers/net/wireless/b43/main.c:4906: error: 'IEEE80211_HW_NOISE_DBM' undeclared (first use in this function)
net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:42: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:50: error: dereferencing pointer to incomplete type
net/mac80211/driver-ops.h:78: error: too many arguments to function 'local->ops->prepare_multicast'
net/mac80211/driver-ops.h:125: error: too few arguments to function 'local->ops->update_tkip_key'
net/mac80211/driver-ops.h:132: error: too few arguments to function 'local->ops->hw_scan'
net/mac80211/driver-ops.h:204: error: 'const struct ieee80211_ops' has no member named 'get_tx_stats'
net/mac80211/rate.h:49: error: 'IEEE80211_TX_INTFL_RCALGO' undeclared (first use in this function)
net/mac80211/rate.h:49: error: (Each undeclared identifier is reported only once
net/mac80211/rate.h:49: error: for each function it appears in.)
net/mac80211/rate.h:80: error: too few arguments to function 'ref->ops->rate_update'
net/mac80211/main.c:261: error: implicit declaration of function 'ieee80211_stop_tx_ba_cb'
net/mac80211/main.c:267: error: implicit declaration of function 'ieee80211_start_tx_ba_cb'