<div dir="ltr"><span style="font-family:monospace,monospace">Hi Iru, Arian and Alexander.<br>Thanks a lot for your feedback :)<br><br><u>Trying to reply to your input and presenting some questions emerging from it:</u><br><br><b>[Iru]</b> "X220 has been supported for years :)"<br><b>[/me]</b> Indeed. My mistake. After a better Internet search, I can see support at least since 2013. Thanks for the correction, Iru ;)<br><br><b>[Iru]</b> "To unlock RAM speed in coreboot, you can see my article, but I haven't tested it yet."<br><b>[/me]</b> Thanks a lot for this. I think I'll take the "risk" ant try to get 1866Mhz speed (fingers crossed).<br><br><b>[Iru]</b> "tp-smapi depends on the proprietary firmware, and you can set the battery threshold with ectool."<br><b>[/me]</b> Oh, this is great. I was not aware of this tool. I was looking to tpacpi-bat as an alternative. Gotta check what fits me&scripts better.<br><br><b>[Arian]</b> "If you had damaged the ME firmware, you would not reach coreboot or any other firmware - the blob is signed"<br><b>[Arian]</b> "If you had damaged the NIC firmware, ethernet would probably be broken, so that's clearly defined."<br><b>[/me]</b> That's good to know. Everything should be ok then, since BIOS can boot and Ethernet is working fine :)<br><br><b>[Arian]</b> "refining the wiki would be a good thing to do"<br><b>[/me]</b> Indeed. I'll try to update the Wiki after I finished my testing.<br><br><b>[Arian]</b> "That's RAM _clock_ not data rate which is double the clock rate (-> DDR) - you're not any worse off than with the original firmware."<br><b>[/me]</b> Also good news. This means the current speed is the default maximum of 1333 MHz. The problem in dmidecode info presentation is probably related with the issue Alexander presents below then.<br><br><b>[Alexander]</b> "we might written the wrong value into dmidata. (dmidecode reads a description written by the firmware, has nothing to do with the real values)."<br><b>[/me]</b> This is the most "logical" possibility I think. <u><b>Do you guys know about any other method to get/read the "real" RAM clock speed?</b></u> I would like to apply the RAM speed unlock patch presented by Iru and check the speed with different RAM modules (2x4G 1333Mhz and 2x8GB 1866Mhz) in order to confirm if the max speed is really unlocked. But if dmidecode always presents 667MHz as RAM speed I will never know if it is working or not :(<br><br><b>[Alexander]</b> "tp smapi depends on lot of SMM/SMI code. So tp-smapi kernel module asked the Lenovo BIOS to tell the EC to do something. coreboot don't want to support SMM/SMI APIs, because they are quite dangerous. But there is another way to get those features back. We know how to enable it, but we haven't yet create a way to control this by the user. One thing could be a userspace tool executed as root or we add another CMOS configuration for it. Any idea?"<br><b>[/me]</b> Thanks for the clarification, Alexander. <u>Well, in my user perspective, I think a user-space tool will be better because it can be used to update the thresholds more easily</u>. If we only rely on CMOS config we would need to re-flash it every time we want to change the thresholds. (AFAIK, x220 only supports HW flash. We cannot re-flash from OS).<br><br><b>[Alexander]</b> "It looks you're using the native graphics init instead of the binary blob VGABIOS. The last time I tried it, I had a lot of problems."<br><b>[/me]</b> Yes, I'm using NGI. I did not suffer from the well-know "one color blur image" problem yet.<br><br><b>[Alexander]</b> "Thanks for your feedback. Feel free to create tickets or updating the x220 wiki page."<br><b>[/me]</b> You're welcome and Thanks for your support. I'll definitely try to update the Wiki after I finished my testing.<br></span><div class="gmail_extra"><span style="font-family:monospace,monospace"><br></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">--sigkill</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 3:02 PM, Alexander Couzens <span dir="ltr"><<a href="mailto:lynxis@fe80.eu" target="_blank">lynxis@fe80.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hey,<br>
<br>
nice you made it!<br>
<br>
> *3) Coreboot rocks but... Current Open issues:*<br>
<span class="">> ---------------------------------------------<br>
> I decided to use coreboot-4.4 release instead of git-master.<br>
> As payload I'm using SeaBIOS (booting Archlinux with Syslinux as<br>
> bootloader).<br>
</span>That's ok.<br>
<span class=""><br>
> Before, with dmidecode -t 17 the speed was 1333Mhz and now it is just<br>
> 667Mhz...<br>
</span>we might written the wrong value into dmidata. (dmidecode reads a<br>
description written by the firmware, has nothing to do with the real<br>
values).<br>
<br>
> *3.2) TP-SMAPI: *<br>
> --------------<br>
tp smapi depends on lot of SMM/SMI code. So tp-smapi kernel module<br>
asked the Lenovo BIOS to tell the EC to do something. coreboot don't<br>
want to support SMM/SMI APIs, because they are quite dangerous.<br>
But there is another way to get those features back.<br>
We know how to enable it, but we haven't yet create a way to control<br>
this by the user.<br>
<br>
One thing could be a userspace tool executed as root or we add another<br>
CMOS configuration for it. Any idea?<br>
<br>
> *3.3) Config files:*<br>
<span class="">> ------------------<br>
> coreboot - <a href="http://pastebin.com/9ymtxLBW" rel="noreferrer" target="_blank">http://pastebin.com/9ymtxLBW</a><br>
</span>It looks you're using the native graphics init instead of the binary<br>
blob VGABIOS. The last time I tried it, I had a lot of problems. [3]<br>
<br>
Thanks for your feedback. Feel free to create tickets or updating the<br>
x220 wiki page.<br>
<br>
Best,<br>
lynxis<br>
<br>
[3] <a href="https://ticket.coreboot.org/issues/37" rel="noreferrer" target="_blank">https://ticket.coreboot.org/issues/37</a><br>
<span class="HOEnZb"><font color="#888888">--<br>
Alexander Couzens<br>
<br>
mail: <a href="mailto:lynxis@fe80.eu">lynxis@fe80.eu</a><br>
jabber: <a href="mailto:lynxis@fe80.eu">lynxis@fe80.eu</a><br>
mobile: <a href="tel:%2B4915123277221" value="+4915123277221">+4915123277221</a><br>
gpg: 390D CF78 8BF9 AA50 4F8F  F1E2 C29E 9DA6 A0DF 8604<br>
</font></span></blockquote></div><br><br></div></div>