While executing target install-host-libbfd, the build system complains:
make -C libbfd-binutils-2.20.1/bfd install \
bfdlibdir=/tmp/android-toolchain-eabi/lib
bfdincludedir=/tmp/android-toolchain-eabi/include && \ -m 644
libbfd-binutils-2.20.1/intl/libintl.a \ /tmp/android-toolchain-eabi/lib
&& \ -m 644 libbfd-binutils-2.20.1/libiberty/libiberty.a \
/tmp/android-toolchain-eabi/lib
/bin/sh: line 2: -m: command not found
The problem was caused by undefined $(INSTALL). The patch attempts to
configure `install' program by autotool in order to set $(INSTALL)
properly and replace $(INSTALL) -m 644 with multi-platform friendly
$(INSTALL_DATA).
Code Review:
https://review.source.android.com/#change,23179
Sender : Tushar Behera<tushar.behera(a)linaro.org>
Date : 2011-06-21 12:38 (GMT+09:00)
> 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
> Cc: Mark Brown
> Cc: MyungJoo Ham
> Cc: Kyungmin Park
> Cc: Samuel Ortiz
> Signed-off-by: Tushar Behera
Although I've never been reported such an issue, but I'm sure this will cause one any time. Thanks!
Acked-by: MyungJoo Ham <myungjoo.ham(a)samsung.com>
> ---
> 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
>
>
MyungJoo Ham (함명주)
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: +82-10-6714-2858 / office: +82-31-279-8033
Hi,
I have booted panda board using 11.05 natty release of ubuntu. It worked
great.
Now, I am trying to compile the kernel myself. I am using the sources
from tarball provided on 11.05 release page as well as from linaro git
2.6.38 tree.
I have extracted the .config from running ubuntu(of 11.05 LEB) and using
it to compile my own kernels. Then I am just replacing the uImage on
sdcard(generated using 11.05 LEB) by my compiled kernel.
Boot process goes fine till the init process but then it fails to bring
on the graphics and goes to console mode.
Any help on this?
Below are the boot logs I see with kernel from tarball provided on 11.05
release page:
Begin: Running /scripts/init-bottom ... done.
init: ureadahead main process (195) terminated with status 5
fsck from util-linux-ng 2.17.2
rootfs: clean, 135614/239040 files, 433096/954752 blocks
* Starting mDNS/DNS-SD daemon[ OK ]
* Stopping cold plug devices[ OK ]
* Stopping log initial device creation[ OK ]
* Starting save udev log and update rules[ OK ]
* Stopping save udev log and update rules[ OK ]
fsck from util-linux-ng 2.17.2
rootfs: clean, 135614/239040 files, 433096/954752 blocks
* Starting mDNS/DNS-SD daemon[ OK ]
* Stopping cold plug devices[ OK ]
* Stopping log initial device creation[ OK ]
* Starting save udev log and update rules[ OK ]
* Stopping save udev log and update rules[ OK ]
* Starting AppArmor profiles Cache read/write
disabled: /sys/kernel/security/apparmor/features interface file missing.
(Kernel needs AppArmor 2.4 comp
atibility patch.)
Cache read/write disabled: /sys/kernel/security/apparmor/features
interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning from /etc/apparmor.d/gdm-guest-session
(/etc/apparmor.d/gdm-guest-session line 49):
profile /usr/share/gdm/guest-session/Xsession network rules not en
forced
Cache read/write disabled: /sys/kernel/security/apparmor/features
interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning from /etc/apparmor.d/sbin.dhclient
(/etc/apparmor.d/sbin.dhclient line 73): profile /sbin/dhclient network
rules not enforced
Cache read/write disabled: /sys/kernel/security/apparmor/features
interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Cache read/write disabled: /sys/kernel/security/apparmor/features
interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning from /etc/apparmor.d/usr.sbin.cupsd
(/etc/apparmor.d/usr.sbin.cupsd line 169):
profile /usr/lib/cups/backend/cups-pdf network rules not enforced
Warning from /etc/apparmor.d/usr.sbin.cupsd
(/etc/apparmor.d/usr.sbin.cupsd line 169): profile /usr/sbin/cupsd
network rules not enforced
Warning from /etc/apparmor.d/usr.bin.evince
(/etc/apparmor.d/usr.bin.evince line 134): profile /usr/bin/evince
network rules not enforced
Warning from /etc/apparmor.d/usr.bin.evince
(/etc/apparmor.d/usr.bin.evince line 134):
profile /usr/bin/evince-previewer network rules not enforced
[ OK ]
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
[ OK ]rting bluetooth
Last login: Tue Jun 21 06:21:37 UTC 2011 on tty1
* PulseAudio configured for per-user sessions
Welcome to Linaro 11.05 (GNU/Linux 2.6.38.7 armv7l)
* Documentation: https://wiki.linaro.org/
* Enabling additional executable binary formats binfmt-support
FATAL: Could not load /lib/modules/2.6.38.7/modules.dep: No such file or
directory
update-binfmts: warning: Couldn't load the binfmt_misc module.
[ OK ]
root@linaro:~#
--
Thanks
Amit Mahajan
W dniu 17.06.2011 18:24, Zach Pfeffer pisze:
> One thing I'd like to see ASAP with LAVA is to list the build that was
> tested on the test results page.
It is listed, unless I'm mistaken:
http://validation.linaro.org/launch-control/dashboard/test-results/399109/
See the "Android.URL" below.
> Then I'd like to see a link from a android-build.linaro.org build like:
>
> https://android-build.linaro.org/builds/~linaro-android/leb-panda/
This is a little bit more complex. Whatever submits the result can build
an URL to the result page on the dashboard. The problem is that the
android build system has no knowledge of tests.
Ideally each build would trigger a test to be scheduled, results of each
test should be uploaded to the dashboard. This way we could retain
identity in all participating components.
Thanks
ZK
On Thu, 2011-06-16 at 00:16 +0200, Daniel Lezcano wrote:
> On 06/15/2011 03:26 PM, Guilherme Salgado wrote:
> > Hi folks,
> >
> > http://patches.linaro.org/ went live yesterday and we need your help to
> > set it up and get accurate metrics. It should take only a few minutes!
> >
> > The first thing we need is the HTTP URL for the upstream master branch
> > of every project on the front page -- I'll take a git:// URL if that's
> > all they have. If you could send me the URLs for the projects you
> > contribute to, it'd be great. This has to be done only once and we'll
> > use that to automatically detect when a patch is committed upstream.
>
> http://git.linaro.org/git/tools/powerdebug.git
>
> http://git.linaro.org/git/tools/pm-qa.git
I've created new projects for those two. Thanks!
>
> [ ... ]
>
> > Similarly, if any of the patches you see there have been superseded or
> > rejected, please do mark them as such. You can do bulk changes there
> > selecting the patches and using the form at the bottom.
> >
> > Finally, although we do our best to place patches under the appropriate
> > projects, sometimes we're not able to (e.g. when patches are sent *only*
> > to patches(a)l.o), and in these cases they need to be moved manually. The
> > list of patches for which we couldn't find a project are at
> >
> > http://patches.linaro.org/patchwork/project/other-unknown/list/
>
> The two projects are hosted at git.linaro.org and belongs to linaro. The
> mailing list is linaro-dev@. If I understood correctly with this email
> address you can't find to which project the patchset I will send for
> powerdebug is related to, right ?
Yep, that's correct.
>
> I sent a patchset with "powerdebug" keyword in the subject prefix.
> Assuming you create the "powerdebug" project, will the next patchset go
> to the right project ? Or do I have to move the patchset to the right
> project manually using the form ?
We don't do that right now, so yes, you'll need to move them using the
form. However, I think it'd be possible to match the prefix to an
existing project when all else fails. A custom email header would be
more robust but I understand that a prefix is probably easier to use.
What do you think?
--
Guilherme Salgado <https://launchpad.net/~salgado>
** Rebased and verified patchset on linux-linaro-2.6.39 **
This patchset needs this commit to be merged in linux-linaro-2.6.39
in order to apply.
------------------------------------
commit 473ba41dcc70a7977031db7fcbc5638097ca6a3a
Author: Andrei Warkentin <andreiw(a)motorola.com>
Date: Mon Apr 11 18:10:24 2011 -0500
mmc: card: block.c cleanup for host claim/release.
------------------------------------
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 v6:
* minor update of doc for mmc_start_req and code clean up.
* Indentifed a bug running tests on ext4 with discard enable.
The test procedure is documented here: https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req…
* Resolved bug by preventing mmc async request run in parallel
to discard (mmc_erase).
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 | 454 +++++++++++++++++++++++++----------------
drivers/mmc/card/mmc_test.c | 361 +++++++++++++++++++++++++++++++-
drivers/mmc/card/queue.c | 184 +++++++++++------
drivers/mmc/card/queue.h | 32 +++-
drivers/mmc/core/core.c | 164 ++++++++++++++-
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, 1193 insertions(+), 289 deletions(-)
--
1.7.4.1
Hello,
I'm trying to build my own kernel for pandaboard based on :
git://git.linaro.org/kernel/linux-linaro-2.6.39.git
I use omap2plus_defconfig and enable LAN + wifi.
Compile uImage, put to boot of SD card. Kernel is loaded properly but
this is last message:
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Try to enable DEBUG_LL but result is same. Is there any problem with
this repo? With prebuild uImage (from ubuntu) it works fine.
Thanks in advance,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
Nicolas,
Is device tree stuff equivalent to what was in .38 going in? I'm
looking for the equivalent of what went into .38 in commit
3fb7bd037f31f5acdc213c0eb431c07a38803445
Merge branch 'devicetree/arm-linaro-2.6.38' of
git://git.secretlab.ca/git/linux-2.6 into linaro-2.6.38
Thanks,
John