<div dir="ltr"><div><div><div><div><div>"uname -a<br>
Linux localhost.localdomain 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7<br>
18:56:34 UTC 2015 armv7l armv7l armv7l GNU/Linux"<br><br></div><div>Is that the latest 15.04 that came out just some days ago or is this a kernel that you compiled?<br></div><div><br>"well, i'm just trying to find out if "TI SDK" means you have your own<br>
rootfs or if you just put vmlinuz and the modules from the TI SDK into<br>
an already installed snappy system ...<br>
"<br><br></div>I tried to install the kernel/modules that come with TI SDK into a snappy system but I failed. The kernel failed to start and I was not able to figure out the reason.<br><br></div>So at the end I just followed the instructions.<br><a href="http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_create_SD_card_script">http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_create_SD_card_script</a><br><br></div>This yielded an entire bootable system. That's how I made my measurements.<br><br></div>Regards,<br></div>Gabor<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 2:23 PM, Oliver Grawert <span dir="ltr"><<a href="mailto:ogra@ubuntu.com" target="_blank">ogra@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<span class="">Am Donnerstag, den 30.07.2015, 12:52 +0200 schrieb Gábor Paller:<br>
<br>
><br>
> Linux localhost.localdomain 3.19.0-18-generic #18-Ubuntu SMP Tue May<br>
</span>ah, that might be the issue ;)<br>
(BeagleBoneBlack)ubuntu@localhost:~$ uname -a<br>
Linux localhost.localdomain 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7<br>
18:56:34 UTC 2015 armv7l armv7l armv7l GNU/Linux<br>
<span class=""><br>
><br>
><br>
> This is a 15.04 Snappy on BBB without any kernel hacking.<br>
><br>
> "is this under the same userspace too (i.e. are you sure it is kernel<br>
> induced and not some bad userspace component) ?"<br>
><br>
><br>
> My test is the following. I created an SD card from the stock Snappy<br>
> image, flashed it and booted it. I waited for the boot sequence to<br>
> finish and waited for the idle prompt. I measure 340 mA of<br>
> consumption. I did the same with the TI SDK and I measure 250 mA.<br>
> Hence the 40% difference.<br>
><br>
><br>
> As with any Linux distribution it is not only the "kernel" that is<br>
> running in any of these cases but a bunch of drivers/daemons too. But<br>
> there is no userspace component in these cases, at least I did not<br>
> install/run any.<br>
><br>
</span>well, i'm just trying to find out if "TI SDK" means you have your own<br>
rootfs or if you just put vmlinuz and the modules from the TI SDK into<br>
an already installed snappy system ...<br>
<br>
there can be plenty differences on kernel level (does the TI kernel<br>
actually have all needed apparmor patches for example). but i would<br>
expect userspace difference too if you dont use the very same rootfs for<br>
measuring both.<br>
<br>
to identify if the higher power consumption is a kernel or userspace<br>
thing you can indeed only measure reliably by using the same environment<br>
to run the different kernels in, else you might for example have<br>
userspace bits that turn different knobs in sysfs on boot etc which will<br>
definitely get you different hardware behavior.<br>
<br>
ciao<br>
oli<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>