Can someone explain why uboot copies the initrd and device tree data to
higher memory when we boot panda with a dtb? I'm assuming there's a
reason, but it seems a problematic thing to do (potentially even without
>3/4GB SDRAM present).
-dl
Currently, ramp_delay variable is used uninitialzed in
max8997_set_voltage_ldobuck which gets called through
regulator_register calls.
To fix the problem, in max8997_pmic_probe, ramp_delay initialization
code is moved before calls to regulator_register.
Cc: Liam Girdwood <lrg(a)ti.com>
Cc: Mark Brown <broonie(a)opensource.wolfsonmicro.com>
Cc: MyungJoo Ham <myungjoo.ham(a)samsung.com>
Cc: Kyungmin Park <kyungmin.park(a)samsung.com>
Cc: Samuel Ortiz <sameo(a)linux.intel.com>
Signed-off-by: Tushar Behera <tushar.behera(a)linaro.org>
---
drivers/regulator/max8997.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c
index 10d5a1d..0fc7b8c 100644
--- a/drivers/regulator/max8997.c
+++ b/drivers/regulator/max8997.c
@@ -1124,6 +1124,10 @@ static __devinit int max8997_pmic_probe(struct platform_device *pdev)
0x3f);
}
+ /* Misc Settings */
+ max8997->ramp_delay = 10; /* set 10mV/us, which is the default */
+ max8997_write_reg(i2c, MAX8997_REG_BUCKRAMP, (0xf << 4) | 0x9);
+
for (i = 0; i < pdata->num_regulators; i++) {
const struct voltage_map_desc *desc;
int id = pdata->regulators[i].id;
@@ -1148,10 +1152,6 @@ static __devinit int max8997_pmic_probe(struct platform_device *pdev)
}
}
- /* Misc Settings */
- max8997->ramp_delay = 10; /* set 10mV/us, which is the default */
- max8997_write_reg(i2c, MAX8997_REG_BUCKRAMP, (0xf << 4) | 0x9);
-
return 0;
err:
for (i = 0; i < max8997->num_regulators; i++)
--
1.7.4.1
Hello,
Month ago, during 11.05 release testing, we had a case when Pandaboard
didn't boot with one particular build and one particular card, while
worked well with with other combinations.
During this test cycle, I hit similar conditions, which I however was
able to trace to the following: if at the moment of reset/boot, there's
a cable connected from Panda USB OTG (small) connector to host, it
won't boot from SD. The D2 LED will light for about a second, then both
will be off. Nothing is output on serial. As soon as you unplug cable
from the host, all boots again.
I'm not sure if this is a known condition, but guessed I'd share it.
--
Best Regards,
Paul
How significant is the cache maintenance over head?
It depends, the eMMC are much faster now
compared to a few years ago and cache maintenance cost more due to
multiple cache levels and speculative cache pre-fetch. In relation the
cost for handling the caches have increased and is now a bottle neck
dealing with fast eMMC together with DMA.
The intention for introducing non-blocking mmc requests is to minimize the
time between a mmc request ends and another mmc request starts. In the
current implementation the MMC controller is idle when dma_map_sg and
dma_unmap_sg is processing. Introducing non-blocking mmc request makes it
possible to prepare the caches for next job in parallel to an active
mmc request.
This is done by making the issue_rw_rq() non-blocking.
The increase in throughput is proportional to the time it takes to
prepare (major part of preparations is dma_map_sg and dma_unmap_sg)
a request and how fast the memory is. The faster the MMC/SD is
the more significant the prepare request time becomes. Measurements on U5500
and Panda on eMMC and SD shows significant performance gain for large
reads when running DMA mode. In the PIO case the performance is unchanged.
There are two optional hooks pre_req() and post_req() that the host driver
may implement in order to move work to before and after the actual mmc_request
function is called. In the DMA case pre_req() may do dma_map_sg() and prepare
the dma descriptor and post_req runs the dma_unmap_sg.
Details on measurements from IOZone and mmc_test:
https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req
Changes since v7:
* rebase on mmc-next, on top of Russell's updated error handling.
* Clarify description of mmc_start_req()
* Resolve compile without CONFIG_DMA_ENIGNE issue for mmci
* Add mmc test to measure how performance is affected by sg length
* Add missing wait_for_busy in mmc_test non-blocking test. This call got lost
in v4 of this patchset when refactoring mmc_start_req.
* Add sub-prefix (core block queue) to relevant patches.
Per Forlin (12):
mmc: core: add non-blocking mmc request function
omap_hsmmc: add support for pre_req and post_req
mmci: implement pre_req() and post_req()
mmc: mmc_test: add debugfs file to list all tests
mmc: mmc_test: add test for non-blocking transfers
mmc: mmc_test: test to measure how sg_len affect performance
mmc: block: add member in mmc queue struct to hold request data
mmc: block: add a block request prepare function
mmc: block: move error code in issue_rw_rq to a separate function.
mmc: queue: add a second mmc queue request member
mmc: core: add random fault injection
mmc: block: add handling for two parallel block requests in
issue_rw_rq
drivers/mmc/card/block.c | 505 ++++++++++++++++++++++++-----------------
drivers/mmc/card/mmc_test.c | 491 ++++++++++++++++++++++++++++++++++++++--
drivers/mmc/card/queue.c | 184 ++++++++++------
drivers/mmc/card/queue.h | 33 ++-
drivers/mmc/core/core.c | 167 +++++++++++++-
drivers/mmc/core/debugfs.c | 5 +
drivers/mmc/host/mmci.c | 147 +++++++++++-
drivers/mmc/host/mmci.h | 8 +
drivers/mmc/host/omap_hsmmc.c | 87 +++++++-
include/linux/mmc/core.h | 6 +-
include/linux/mmc/host.h | 24 ++
lib/Kconfig.debug | 11 +
12 files changed, 1345 insertions(+), 323 deletions(-)
--
1.7.4.1
How significant is the cache maintenance over head?
It depends, the eMMC are much faster now
compared to a few years ago and cache maintenance cost more due to
multiple cache levels and speculative cache pre-fetch. In relation the
cost for handling the caches have increased and is now a bottle neck
dealing with fast eMMC together with DMA.
The intention for introducing non-blocking mmc requests is to minimize the
time between a mmc request ends and another mmc request starts. In the
current implementation the MMC controller is idle when dma_map_sg and
dma_unmap_sg is processing. Introducing non-blocking mmc request makes it
possible to prepare the caches for next job in parallel to an active
mmc request.
This is done by making the issue_rw_rq() non-blocking.
The increase in throughput is proportional to the time it takes to
prepare (major part of preparations is dma_map_sg and dma_unmap_sg)
a request and how fast the memory is. The faster the MMC/SD is
the more significant the prepare request time becomes. Measurements on U5500
and Panda on eMMC and SD shows significant performance gain for large
reads when running DMA mode. In the PIO case the performance is unchanged.
There are two optional hooks pre_req() and post_req() that the host driver
may implement in order to move work to before and after the actual mmc_request
function is called. In the DMA case pre_req() may do dma_map_sg() and prepare
the dma descriptor and post_req runs the dma_unmap_sg.
Details on measurements from IOZone and mmc_test:
https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req
Changes since v5:
* Fix spelling mistakes, replace "none blocking" with non-blocking.
* excluded patch "omap_hsmmc: use original sg_len..." since it is
being merged separately.
Per Forlin (11):
mmc: add non-blocking mmc request function
omap_hsmmc: add support for pre_req and post_req
mmci: implement pre_req() and post_req()
mmc: mmc_test: add debugfs file to list all tests
mmc: mmc_test: add test for non-blocking transfers
mmc: add member in mmc queue struct to hold request data
mmc: add a block request prepare function
mmc: move error code in mmc_block_issue_rw_rq to a separate function.
mmc: add a second mmc queue request member
mmc: test: add random fault injection in core.c
mmc: add handling for two parallel block requests in issue_rw_rq
drivers/mmc/card/block.c | 534 ++++++++++++++++++++++++-----------------
drivers/mmc/card/mmc_test.c | 361 +++++++++++++++++++++++++++-
drivers/mmc/card/queue.c | 184 +++++++++-----
drivers/mmc/card/queue.h | 33 ++-
drivers/mmc/core/core.c | 165 ++++++++++++-
drivers/mmc/core/debugfs.c | 5 +
drivers/mmc/host/mmci.c | 146 ++++++++++-
drivers/mmc/host/mmci.h | 8 +
drivers/mmc/host/omap_hsmmc.c | 87 +++++++-
include/linux/mmc/core.h | 6 +-
include/linux/mmc/host.h | 24 ++
lib/Kconfig.debug | 11 +
12 files changed, 1235 insertions(+), 329 deletions(-)
--
1.7.4.1
These tests are used to test the cpufreq driver on ARM architecture.
As the cpufreq is not yet complete, the test suite is based on the cpufreq
sysfs API exported on intel architecture, assuming it is consistent across
architecture.
The different tests are described at:
https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/QA/Scripts
Each test's header contains an URL to the anchor related item of this web page
describing the script.
Daniel Lezcano (2):
cpufreq: add a test set for cpufreq
cpufreq: check the frequency affect the performances
Makefile | 6 ++
cpufreq/test_01.sh | 43 ++++++++++
cpufreq/test_02.sh | 43 ++++++++++
cpufreq/test_03.sh | 64 ++++++++++++++
cpufreq/test_04.sh | 85 +++++++++++++++++++
cpufreq/test_05.sh | 145 ++++++++++++++++++++++++++++++++
cpufreq/test_06.sh | 236 ++++++++++++++++++++++++++++++++++++++++++++++++++++
utils/Makefile | 11 +++
utils/cpucycle.c | 102 ++++++++++++++++++++++
utils/nanosleep.c | 45 ++++++++++
10 files changed, 780 insertions(+), 0 deletions(-)
create mode 100644 cpufreq/test_01.sh
create mode 100644 cpufreq/test_02.sh
create mode 100644 cpufreq/test_03.sh
create mode 100644 cpufreq/test_04.sh
create mode 100644 cpufreq/test_05.sh
create mode 100644 cpufreq/test_06.sh
create mode 100644 utils/Makefile
create mode 100644 utils/cpucycle.c
create mode 100644 utils/nanosleep.c
--
1.7.4.1
Excellent work everyone. This is a superb release!
On Thu, Jun 30, 2011 at 2:16 PM, Fathi Boudra <fathi.boudra(a)linaro.org> wrote:
> Hi,
>
> The Linaro Team is pleased to announce the release of Linaro 11.06.
>
> 11.06 is the Linaro’s first release delivered on the new monthly cadence.
> Since we started focusing on monthly component releases, activity in the
> engineering teams has been channeled into producing a coherent set of packages;
> This allows anyone to witness development of new features and fixes as the team
> progresses towards its goals. This month’s release highlights the results:
> a host of new components are now available, including LAVA packages from the
> Platform Validation Team, a collection of SoC-specific kernels provided by the
> Landing Teams, and preview releases of Graphics and Multimedia Working Groups
> work ranging from Unity 3D to a NEON-optimized libjpeg-turbo. In addition,
> another solid set of toolchain components, topped by a Linaro GCC 4.6 release
> that should start making a very good impressions on benchmarks near you.
>
> We encourage everybody to use the 11.06 release. The download links for all
> images and components are available on our release page:
>
> http://wiki.linaro.org/Cycles/1106/Release
>
> Highlights of this release:
>
> * Linaro Evaluation Builds (LEBs) for Ubuntu comes with the full 3D Unity
> desktop experience enabled on PandaBoard. It's powered by Compiz and relies
> on the Nux toolkit for its rendering.
> * Linaro Evaluation Build (LEBs) for Android on Pandaboard comes with latest
> stable 2.6.38 kernel from Linaro's TI Landing Team and is built using
> Linaro's GCC 4.5 2011.06 release; Also, latest Linaro toolchain have been
> packaged for Android and benchmark results showing noticeable performance
> gains compared to the Google AOSP gingerbread toolchain have been included
> as part of the release documentation: http://bit.ly/jTAhWa
> * Initial preview releases of Ubuntu Hardware Packs for Snowball, Origen and
> Quickstart boards featuring the latest Linaro Landing Team components are
> available as part of this release.
> * Linaro GCC 4.6 2011.06 and GCC 4.5 2011.06 come with bugfixes and various
> performance optimizations with focus on vectoriser improvements. With this
> release Linaro GCC 4.5 series enters maintenance mode and will ensure that
> development can be focused on making the "future" better.
> * Linaro QEMU 2011.06, based on upstream (trunk) QEMU. This version includes a
> number of ARM-focused bug fixes and enhancements like the support of a model
> of the Gumstix Overo board and the USB keyboard/mouse support on
> BeagleBoard.
> * Linaro Kernel 2.6.39 2011.06, based on the 2.6.39.1 stable kernel with a
> number of changes developed by Linaro and integrated from the 3.0-rc. It
> includes the ability to append Device Tree to zImage at build time, support
> for parallel async MMC requests and more...
> * Linaro U-Boot 2011.06.1, based on upstream version 2011.06-rc3 features USB,
> Network and TFTP boot for PandaBoard as well as initial PXE support.
> * First full release of LAVA components, Linaro's automated validation
> solution, has been made available as part of our monthly releases.
> * QEMU with OpenGL ES acceleration - technology preview. For more details,
> please visit https://wiki.linaro.org/Platform/DevPlatform/QemuOpenGLES
> * The Unity, NUX and Compiz port for EGL/OpenGL ES v2 that are part of
> our Ubuntu LEB for this month are also made available as components
> maintained by Linaro's Graphics Working Group.
> * Linaro Image Tools 2011.06-1 features the support for the --image_file
> option in linaro-android-media-create and support the new upstream name of
> the smdkv310 SPL.
> * Powerdebug 0.5-2011.06 is a major rewrite of the code to put in place a
> generic framework to integrate more easily new components like the thermal
> sensors. It's more modular and decrease the dependency between the display
> and the power management blocks.
> * And much more... The release details are linked from the "Details" column
> for each release artifact on the 11.06 release page.
>
> Using the Android-based images
> ==============================
>
> The Android-based images come in three parts: system, userdata and boot.
> These need to be combined to form a complete Android install. For an
> explanation of how to do this please see:
>
> http://wiki.linaro.org/Platform/Android/ImageInstallation
>
> If you are interested in getting the source and building these images
> yourself please see the following pages:
>
> http://wiki.linaro.org/Platform/Android/GetSource
> http://wiki.linaro.org/Platform/Android/BuildSource
>
> Using the Ubuntu-based images
> =============================
>
> The Ubuntu-based images consist of two parts. The first part is a hardware
> pack, which can be found under the hwpacks directory and contains hardware
> specific packages (such as the kernel and bootloader). The second part is
> the rootfs, which is combined with the hardware pack to create a complete
> image. For more information on how to create an image please see:
>
> http://wiki.linaro.org/Platform/DevPlatform/Ubuntu/ImageInstallation
>
> Getting involved
> ================
>
> More information on Linaro can be found on our websites:
>
> * Homepage: http://www.linaro.org
> * Wiki: http://wiki.linaro.org
>
> Also subscribe to the important Linaro mailing lists and join our IRC
> channels to stay on top of Linaro developments:
>
> * Announcements:
> http://lists.linaro.org/mailman/listinfo/linaro-announce
> * Development:
> http://lists.linaro.org/mailman/listinfo/linaro-dev
> * IRC:
> #linaro on irc.linaro.org or irc.freenode.net
> #linaro-android irc.linaro.org or irc.freenode.net
>
> Known issues with this release
> ==============================
>
> For any errata issues, please see:
>
> http://wiki.linaro.org/Cycles/1106/Release#Known_Issues
>
> Bug reports for this release should be filed in Launchpad against the
> individual packages that are affected. If a suitable package cannot be
> identified, feel free to assign them to:
>
> http://www.launchpad.net/linaro
>
> Cheers,
>
> --
> Fathi Boudra
> Linaro Release Manager | Platform Project Manager
> Linaro.org | Open source software for ARM SoCs
>
> _______________________________________________
> linaro-announce mailing list
> linaro-announce(a)lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-announce
>
Hi.
This is just a reminder for Michael but I think it's worth to share that
to the rest of the validation team.
When using lava-dev-tool to hack on lava-dashboard or any other
component that is based on lava-server the location of the database and
the actual data contained is easily lost.
I think we need to stop using the "development" settings quickly and
switch to django-debian based model where we just use a different
configuration file for local development. This would make the testing
environment much more similar to production (definitely django-debian
would see more testing this way) and would help us locate and control
application state.
I would like to propose the following changes:
When hacking lava-server would setup the following stuff (all relative
to localenv root).
/etc/lava-server/default_database.conf <- location of the database
/etc/lava-server/settings.conf <- django-debian way to alter settings.py
/var/lib/lava-server/media/ <- upload root
/var/lib/lava-server/static/ <- django-staticfiles root
/var/lib/lava-server/database.db (only when using sqlite)
For postgresql (which I would like to use more by default) this is
roughly the same except for default_database.conf pointing at something
else than the file mentioned earlier.
I'll see how I can make that happen in practice.
Thanks
ZK