Currently when none of CONFIG_NET_DSA_TAG_DSA, CONFIG_NET_DSA_TAG_EDSA and
CONFIG_NET_DSA_TAG_TRAILER is defined, we get following compilation warnings:
net/dsa/slave.c:51:12: warning: 'dsa_slave_init' defined but not used [-Wunused-function]
net/dsa/slave.c:60:12: warning: 'dsa_slave_open' defined but not used [-Wunused-function]
net/dsa/slave.c:98:12: warning: 'dsa_slave_close' defined but not used [-Wunused-function]
net/dsa/slave.c:116:13: warning: 'dsa_slave_change_rx_flags' defined but not used [-Wunused-function]
net/dsa/slave.c:127:13: warning: 'dsa_slave_set_rx_mode' defined but not used [-Wunused-function]
net/dsa/slave.c:136:12: warning: 'dsa_slave_set_mac_address' defined but not used [-Wunused-function]
net/dsa/slave.c:164:12: warning: 'dsa_slave_ioctl' defined but not used [-Wunused-function]
Earlier approach to fix this was discussed here:
lkml.org/lkml/2012/10/29/549
This is another approach to fix it. This is done by some changes in config
options, which make more sense than the earlier approach. As, atleast one
tagging option must always be selected for using net/dsa/ infrastructure, this
patch selects NET_DSA from tagging configs instead of having it as an selectable
config.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
I am resending it as the earlier thread is lost somewhere in Maintainers mailbox
:)
drivers/net/dsa/Kconfig | 1 -
net/dsa/Kconfig | 16 +++++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index dd151d5..96eae22 100644
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
@@ -1,5 +1,4 @@
menu "Distributed Switch Architecture drivers"
- depends on NET_DSA
config NET_DSA_MV88E6XXX
tristate
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index 9c09f6e..3588e54 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -1,5 +1,5 @@
config NET_DSA
- tristate "Distributed Switch Architecture support"
+ tristate
default n
depends on NETDEVICES && !S390
select PHYLIB
@@ -8,19 +8,21 @@ config NET_DSA
the Distributed Switch Architecture.
-if NET_DSA
+menu "Distributed Switch Architecture support"
# tagging formats
config NET_DSA_TAG_DSA
- bool
+ bool "Original DSA packet tagging format"
+ select NET_DSA
default n
config NET_DSA_TAG_EDSA
- bool
+ bool "Ethertype DSA packet tagging format"
+ select NET_DSA
default n
config NET_DSA_TAG_TRAILER
- bool
+ bool "Trailer DSA packet tagging format"
+ select NET_DSA
default n
-
-endif
+endmenu
--
1.7.12.rc2.18.g61b472e
https://wiki.linaro.org/projects/big.LITTLE.MP
big.LITTLE MP v12 has been built:
http://lists.linaro.org/pipermail/linaro-dev/2012-November/014490.html
Roadmap Cards
==============
http://cards.linaro.org/browse/CARD-190
No change from last status
QA
======
The paperwork for the TC2 board that has been stuck in customs in India and
it's release is hopefully imminent. This also coincides with some cleared
blockages for the QA team and the hardware coming on line in the lab. This
means our QA efforts can proceed much more efficiently.
Other efforts
============
On big.LITTLE MP kernel branch Vincent has finally found and patched the
root cause of a bug in the scheduler that generates spurious wake up of
idle CPU. He has spent some time to discuss the fix for the inclusion of
packing small tasks patches in the master branch, and is preparing the next
version of packing small tasks but i would like to come with figures for
real use case like mp3.
Mathieu is concentrating on benchmarking: being able to run same benchmark
with IKS MP and a15 to start comparing things.
--
David Zinman, Project Manager
Linaro.org | Open source software for ARM SoCs
--
David Zinman, Project Manager
Linaro.org | Open source software for ARM SoCs
There is no need to do cpufreq_get_cpu() and cpufreq_put_cpu() for drivers that
don't support getavg() routine.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
drivers/cpufreq/cpufreq.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 85df538..f552d5f 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -1511,12 +1511,14 @@ int __cpufreq_driver_getavg(struct cpufreq_policy *policy, unsigned int cpu)
{
int ret = 0;
+ if (!(cpu_online(cpu) && cpufreq_driver->getavg))
+ return 0;
+
policy = cpufreq_cpu_get(policy->cpu);
if (!policy)
return -EINVAL;
- if (cpu_online(cpu) && cpufreq_driver->getavg)
- ret = cpufreq_driver->getavg(policy, cpu);
+ ret = cpufreq_driver->getavg(policy, cpu);
cpufreq_cpu_put(policy);
return ret;
--
1.7.12.rc2.18.g61b472e
From: "hongbo.zhang" <hongbo.zhang(a)linaro.com>
the greater-than symbol ">" in if state isn't valid and a file named "0" will
be created in this case, "-gt" should be used instead.
Signed-off-by: hongbo.zhang <hongbo.zhang(a)linaro.com>
---
include/thermal_functions.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/thermal_functions.sh b/include/thermal_functions.sh
index 5b60698..f385ec1 100644
--- a/include/thermal_functions.sh
+++ b/include/thermal_functions.sh
@@ -42,7 +42,7 @@ check_valid_temp() {
local descr="'$zone_name'/'$file' ='$temp_val'"
log_begin "checking $descr"
- if [ $temp_val > 0 ]; then
+ if [ $temp_val -gt 0 ]; then
log_end "pass"
return 0
fi
--
1.8.0
Hello everybody
This time I want to post some information and questions about binary
blobs situation on Exynos5 devices. It means Samsung Chromebook and
Andale Board (I do not have data about other Exynos5 powered devices).
Chromebook ships with Chromium OS and under it has working OpenGL ES and
OpenMAX based video acceleration. I was able to play 1080p YouTube
videos both on internal and external screen without any slowdown.
But under normal GNU/Linux systems (Debian, Fedora, OpenSUSE, Ubuntu)
there is none of it...
We got OpenGL ES running by copying libmali and all symlinks pointing to
it (lib{EGL,GLES} etc) and taking care of /dev/mali* permissions. But we
can not make packages with it for our distibutions because of lack of
any license for it. Normal "this is proprietary binary, do not hack it
etc but you can distribute it freely" kind of license will be enough.
Android binaries for OpenGL ES are available for Andale Board. GNU/Linux
ones can be extracted from Chromebook recovery image (363MB download
extracting to ~1GB file). But lack of license anyway.
I know that we have ARM Ltd. people here, same with Samsung - maybe
someone can tell us what is going on in this area?
Other thing is video acceleration. I do not know is there a source for
it available or not. This is area where I do not have knowledge needed
to get it running. All I know is that Exynos5 itself is able to play
480p DivX encoded movie - did not yet tried 720p or 1080p ones but do
not think it will make it on it own.
-------- Original Message --------
Subject: Re: Fwd: trouble using wifi on Linaro Ubuntu for Pandaboard
Date: Sun, 18 Nov 2012 22:13:57 -0800 (PST)
From: Alex Stefanescu <stefanescu(a)rice.edu>
Reply-To: Alex Stefanescu <stefanescu(a)rice.edu>
To: Andy Green <andy.green(a)linaro.org>
Thank you for the reply.
It worked!
--
Alex Stef
------------------------------------------------------------------------
*From:* Andy Green <andy.green(a)linaro.org>
*To:* Fathi Boudra <fathi.boudra(a)linaro.org>
*Cc:* Alex Stefanescu <stefanescu(a)rice.edu>; linaro-dev
<linaro-dev(a)lists.linaro.org>
*Sent:* Sunday, November 18, 2012 9:21 PM
*Subject:* Re: Fwd: trouble using wifi on Linaro Ubuntu for Pandaboard
On 11/18/12 16:24, the mail apparently from Fathi Boudra included:
> Wrong mailing list, forwarding lo linaro-dev
>
> ---------- Forwarded message ----------
> From: Alex Stefanescu <stefanescu(a)rice.edu <mailto:stefanescu@rice.edu>>
> Date: 18 November 2012 02:09
> Subject: trouble using wifi on Linaro Ubuntu for Pandaboard
>
> Hello,
>
> I'm having trouble connecting to wifi on the Linaro Ubuntu releases
> for the Pandaboard. I've tried with both 12.10 and 12.09 releases,
> which are listed to have passed the wifi test.
...
> I'm using Pandaboard with OMAP4430 and wl1271 wlan chipset.
>
> I've also tried running wpa_supplicant manually to connect to both the
> same open network, or another one secured with WPA2 (I used the
> wpa_supplicant.conf from an Android phone so I'm pretty sure it was
> correct) and I have the same issue. There is also a wpa_supplicant
> always running in the background, does it matter?
Yes you can't have two wpa_supplicants fighting over the state of the
same wireless interface.
The "by hand" method for the WPA2 network -->
# service network-manager stop
# wpa_passphrase "Rice Visitor" > /etc/wpa_supplicant/wpa_supplicant.conf
(type the AP passphrase and enter)
# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf &
(should associate after a second or two)
# dhclient wlan0
At that point you should have an IP on wlan0, default route and DNS
configured and workable.
For unencrypted AP "by hand", you don't use wpa_supplicant.
# service network-manager stop
# killall wpa_supplicant
# iwlist wlan0 scan
(find your AP, use its info below)
# ifconfig wlan0 up
# iwconfig wlan0 essid "Unencypted AP Name"
# iwconfig wlan0 chan 11
# iwconfig wlan0 ap 00:1F:12:34:56:78
(check if associated)
# iwconfig
wlan0 IEEE 802.11abgn ESSID:"Unencrypted AP Name"
Mode:Managed Frequency:2.462 GHz Access Point:
00:1F:12:34:56:78
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=40/70 Signal level=-70 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:2 Missed beacon:0
# dhclient wlan0
Again your connection should have DNS, route and be workable.
If you're missing some of these commands make sure you have dhcp3-client
and wireless-tools packages.
-Andy
-- Andy Green | TI Landing Team Leader
Linaro.org │ Open source software for ARM SoCs | Follow Linaro
http://facebook.com/pages/Linaro/155974581091106 -
http://twitter.com/#!/linaroorg - http://linaro.org/linaro-blog