On 2018-05-23 19:32, [email protected] wrote:
Hi,

I recently acquired an Asus Vivobook E406SA 1.0, which I have been
investigating to see if there is a possibility to port to coreboot.
While doing this, I seem to have found some weird information about
Intel ME on this laptop. Although the CPU was produced in 2016 and it
can be assumed that it includes Intel ME, all the tests I've done come
up with the conclusion that it doesn't. I've included some detailed
logs in an attachment 'me.txt'. Going forward, what can I do to verify
if this laptop does have Intel ME or not? Flashrom doesn't support
laptops well and I don't have the ability to risk bricking this laptop
currently, is there another option to read the flash chip in this?

- permanentjpeg

I forgot the attachment. Whoops.
# mei-amt-check is some c code to check if you have amt basically

user@host:~/mei-amt-check$ sudo ./mei-amt-check 
Unable to find a Management Engine interface - run sudo modprobe mei_me and 
retry.
If you receive the same error, this system does not have AMT
user@host:~/mei-amt-check$ sudo modprobe mei_me
user@host:~/mei-amt-check$ sudo ./mei-amt-check 
Unable to find a Management Engine interface - run sudo modprobe mei_me and 
retry.
If you receive the same error, this system does not have AMT

user@host:~$ lspci
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 35)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium 
Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium 
Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 35)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 35)
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 35)
00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller (rev 35)
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 35)
00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 35)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx Series PCU (rev 35)
00:1f.3 SMBus: Intel Corporation Atom/Celeron/Pentium Processor 
x5-E8000/J3xxx/N3xxx SMBus Controller (rev 35)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network 
Adapter (rev 01)

user@host:~$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 76
Model name:            Intel(R) Celeron(R) CPU  N3060  @ 1.60GHz
Stepping:              4
CPU MHz:               2296.582
CPU max MHz:           2480.0000
CPU min MHz:           480.0000
BogoMIPS:              3200.00
Virtualization:        VT-x
L1d cache:             24K
L1i cache:             32K
L2 cache:              1024K
NUMA node0 CPU(s):     0,1
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx 
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology 
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 
ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand 
lahf_lm 3dnowprefetch epb kaiser tpr_shadow vnmi flexpriority ept vpid 
tsc_adjust smep erms dtherm ida arat

# The modprobe of mei_me above shows up in lsmod, yet mei itself does not show 
up in /dev 

user@host:~$ lsmod | grep mei
mei_me                 36864  0
mei                   102400  1 mei_me
user@host:~$ ls /dev | grep mei
user@host:~$ sudo rmmod mei_me
user@host:~$ sudo rmmod mei
user@host:~$ lsmod | grep mei
user@host:~$ 

Notebook model: VivoBook 14_ASUS Laptop E406SA 1.0 
Distro: Debian 9 stable


user@host:~$ git clone --depth=1 https://review.coreboot.org/p/coreboot
Cloning into 'coreboot'...
remote: Counting objects: 16641, done
remote: Finding sources: 100% (16641/16641)
remote: Total 16641 (delta 2997), reused 8034 (delta 2997)
Receiving objects: 100% (16641/16641), 22.68 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (2997/2997), done.
Checking out files: 100% (15920/15920), done.
user@host:~$ cd coreboot/
user@host:~/coreboot$ cd util/intelmetool/
user@host:~/coreboot/util/intelmetool$ make

Checking for development libraries: pci and zlib... not found.

For RPM based distributions like Fedora, please install pciutils-devel and 
zlib-devel.
For DEB based distributions, please install libpci-dev and zlib1g-dev.
Makefile:76: recipe for target 'pciutils' failed
make: *** [pciutils] Error 1
user@host:~/coreboot/util/intelmetool$ sudo apt install libpci-dev zlib1g-dev
[...]
user@host:~/coreboot/util/intelmetool$ make
[...]
user@host:~/coreboot/util/intelmetool$ sudo ./intelmetool -m
Can't find ME PCI device
# Read somewhere about an error like this one above, requires me to put 
'iomem=relaxed' in my grub.cfg
user@host:~/coreboot/util/intelmetool$ sudo vim /etc/default/grub 
user@host:~/coreboot/util/intelmetool$ sudo update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-6-amd64
Found initrd image: /boot/initrd.img-4.9.0-6-amd64
Adding boot menu entry for EFI firmware configuration
done
user@host:~/coreboot/util/intelmetool$ 
# I reboot
user@host:~/coreboot/util/intelmetool$ sudo ./intelmetool -m
[sudo] password for user: 
Can't find ME PCI device
user@host:~/coreboot/util/intelmetool$ 

-- 
coreboot mailing list: [email protected]
https://mail.coreboot.org/mailman/listinfo/coreboot

Reply via email to