Re: [coreboot] New laptop: Lenovo ThinkPad X230 tablet, with dumps to go with it

2014-01-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.09.2012 05:47, Keith Hui wrote:
 Hi all,
 
 I'm back. With a new laptop.
 
 I'm now rocking a Lenovo x230 tablet,

http://review.coreboot.org/#/c/4614/





signature.asc
Description: OpenPGP digital signature
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] New laptop: Lenovo ThinkPad X230 tablet, with dumps to go with it

2012-09-15 Thread Idwer Vollering
CC: flash...@flashrom.org

2012/9/15 Keith Hui buu...@gmail.com:
 Hi all,

 I'm back. With a new laptop.

 I'm now rocking a Lenovo x230 tablet, dual-booting Windows 7 and
 Fuduntu, both 64-bit. Knowing the last time I contributed to coreboot
 it was the good old 440BX when life was much simpler, it could be a
 while before I can get up to speed again, so I'll for now just put
 forth the obligatory lspci/superiotool dump to give any interested
 parties a heads-up of what support needs to be programmed for.

 Another interesting thing is it does UEFI.

 Below is output of flashrom 0.9.6.1. I cannot get it to identify the
 flash chip. lspci and superiotool dumps are attached.

This thread mentions that it runs QM77:
http://forums.lenovo.com/t5/X-Series-Tablet-ThinkPad-Laptops/X230-Tablet-Chipset/td-p/856103


 # /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
 flashrom v0.9.6.1-r1564 on Linux 3.4.9-1.fu2012.x86_64 (x86_64)
 flashrom is free software, get the source code at http://www.flashrom.org

 flashrom was built with libpci 3.1.7, GCC 4.6.3 20120306 (Red Hat
 4.6.3-2), little endian
 Command line (3 args): /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
 Calibrating delay loop... OS timer resolution is 1 usecs, 3243M loops
 per second, 10 myus = 10 us, 100 myus = 119 us, 1000 myus = 1026 us,
 1 myus = 10097 us, 4 myus = 4 us, OK.
 Initializing internal programmer
 No coreboot table found.
 DMI string system-manufacturer: LENOVO
 DMI string system-product-name: 3434CTO
 DMI string system-version: ThinkPad X230 Tablet
 DMI string baseboard-manufacturer: LENOVO
 DMI string baseboard-product-name: 3434CTO
 DMI string baseboard-version: Not Available
 DMI string chassis-type: Notebook
 Laptop detected via DMI.
 W836xx enter config mode worked or we were already in config mode.
 W836xx leave config mode had no effect.
 Active config mode, unknown reg 0x20 ID: 00.
 Please send the output of flashrom -V to
 flash...@flashrom.org with W836xx: your board name: flashrom -V
 as the subject to help us finish support for your Super I/O. Thanks.
 
 WARNING! You seem to be running flashrom on an unsupported laptop.
 Laptops, notebooks and netbooks are difficult to support and we
 recommend to use the vendor flashing utility. The embedded controller
 (EC) in these machines often interacts badly with flashing.
 See http://www.flashrom.org/Laptops for details.

Also, see the Laptops section in flashrom's man page.


 If flash is shared with the EC, erase is guaranteed to brick your laptop
 and write may brick your laptop.
 Read and probe may irritate your EC and cause fan failure, backlight
 failure and sudden poweroff.
 You have been warned.
 
 Aborting.
 Error: Programmer initialization failed.

You'll want to do a little investigation on which external programmer
[1] suits your needs.

[1] http://flashrom.org/Supported_programmers

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New laptop: Lenovo ThinkPad X230 tablet, with dumps to go with it

2012-09-15 Thread Keith Hui
Thanks Idwer for your response.

I downloaded most public datasheets available for the CPU and the PCH
(it was called 7 Series).

At this point I'm mostly interested in just identifying the flash chip
without disassembling the laptop, although I'm ready for that if
necessary.

However, I do need to find a USB-based chip programmer that can do
parallel, FWH and SPI. I still have to get a spare SPI flash chip and
port coreboot to my Asus AMD board. For some reason I killed by
home-built Willem PCB3B trying to convert it to PCB4-something to use
newer version of its software.

On Sat, Sep 15, 2012 at 7:10 AM, Idwer Vollering vid...@gmail.com wrote:
 CC: flash...@flashrom.org

 2012/9/15 Keith Hui buu...@gmail.com:
 Hi all,

 I'm back. With a new laptop.

 I'm now rocking a Lenovo x230 tablet, dual-booting Windows 7 and
 Fuduntu, both 64-bit. Knowing the last time I contributed to coreboot
 it was the good old 440BX when life was much simpler, it could be a
 while before I can get up to speed again, so I'll for now just put
 forth the obligatory lspci/superiotool dump to give any interested
 parties a heads-up of what support needs to be programmed for.

 Another interesting thing is it does UEFI.

 Below is output of flashrom 0.9.6.1. I cannot get it to identify the
 flash chip. lspci and superiotool dumps are attached.

 This thread mentions that it runs QM77:
 http://forums.lenovo.com/t5/X-Series-Tablet-ThinkPad-Laptops/X230-Tablet-Chipset/td-p/856103


 # /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
 flashrom v0.9.6.1-r1564 on Linux 3.4.9-1.fu2012.x86_64 (x86_64)
 flashrom is free software, get the source code at http://www.flashrom.org

 flashrom was built with libpci 3.1.7, GCC 4.6.3 20120306 (Red Hat
 4.6.3-2), little endian
 Command line (3 args): /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
 Calibrating delay loop... OS timer resolution is 1 usecs, 3243M loops
 per second, 10 myus = 10 us, 100 myus = 119 us, 1000 myus = 1026 us,
 1 myus = 10097 us, 4 myus = 4 us, OK.
 Initializing internal programmer
 No coreboot table found.
 DMI string system-manufacturer: LENOVO
 DMI string system-product-name: 3434CTO
 DMI string system-version: ThinkPad X230 Tablet
 DMI string baseboard-manufacturer: LENOVO
 DMI string baseboard-product-name: 3434CTO
 DMI string baseboard-version: Not Available
 DMI string chassis-type: Notebook
 Laptop detected via DMI.
 W836xx enter config mode worked or we were already in config mode.
 W836xx leave config mode had no effect.
 Active config mode, unknown reg 0x20 ID: 00.
 Please send the output of flashrom -V to
 flash...@flashrom.org with W836xx: your board name: flashrom -V
 as the subject to help us finish support for your Super I/O. Thanks.
 
 WARNING! You seem to be running flashrom on an unsupported laptop.
 Laptops, notebooks and netbooks are difficult to support and we
 recommend to use the vendor flashing utility. The embedded controller
 (EC) in these machines often interacts badly with flashing.
 See http://www.flashrom.org/Laptops for details.

 Also, see the Laptops section in flashrom's man page.


 If flash is shared with the EC, erase is guaranteed to brick your laptop
 and write may brick your laptop.
 Read and probe may irritate your EC and cause fan failure, backlight
 failure and sudden poweroff.
 You have been warned.
 
 Aborting.
 Error: Programmer initialization failed.

 You'll want to do a little investigation on which external programmer
 [1] suits your needs.

 [1] http://flashrom.org/Supported_programmers

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] New laptop: Lenovo ThinkPad X230 tablet, with dumps to go with it

2012-09-15 Thread Peter Stuge
Keith Hui wrote:
 At this point I'm mostly interested in just identifying the flash chip
 without disassembling the laptop, although I'm ready for that if
 necessary.

Try: flashrom -p internal:force=laptop_I_want_a_brick

flashrom is overly defensive on Thinkpads, where the Renesas EC
always has it's own flash.


 However, I do need to find a USB-based chip programmer that can do
 parallel, FWH and SPI.

No such thing in cheap. You can get a GALEP-5, which supports an
incredible range of devices, but which also costs = 600 USD.

I want to make an open hardware+firmware design, but so far I haven't
made it beyond the USB protocol. http://git.stuge.se/?p=qiprog.git


//Peter

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot


[coreboot] New laptop: Lenovo ThinkPad X230 tablet, with dumps to go with it

2012-09-14 Thread Keith Hui
Hi all,

I'm back. With a new laptop.

I'm now rocking a Lenovo x230 tablet, dual-booting Windows 7 and
Fuduntu, both 64-bit. Knowing the last time I contributed to coreboot
it was the good old 440BX when life was much simpler, it could be a
while before I can get up to speed again, so I'll for now just put
forth the obligatory lspci/superiotool dump to give any interested
parties a heads-up of what support needs to be programmed for.

Another interesting thing is it does UEFI.

Below is output of flashrom 0.9.6.1. I cannot get it to identify the
flash chip. lspci and superiotool dumps are attached.

# /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
flashrom v0.9.6.1-r1564 on Linux 3.4.9-1.fu2012.x86_64 (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

flashrom was built with libpci 3.1.7, GCC 4.6.3 20120306 (Red Hat
4.6.3-2), little endian
Command line (3 args): /usr/src/flashrom-0.9.6.1/flashrom -V -p internal
Calibrating delay loop... OS timer resolution is 1 usecs, 3243M loops
per second, 10 myus = 10 us, 100 myus = 119 us, 1000 myus = 1026 us,
1 myus = 10097 us, 4 myus = 4 us, OK.
Initializing internal programmer
No coreboot table found.
DMI string system-manufacturer: LENOVO
DMI string system-product-name: 3434CTO
DMI string system-version: ThinkPad X230 Tablet
DMI string baseboard-manufacturer: LENOVO
DMI string baseboard-product-name: 3434CTO
DMI string baseboard-version: Not Available
DMI string chassis-type: Notebook
Laptop detected via DMI.
W836xx enter config mode worked or we were already in config mode.
W836xx leave config mode had no effect.
Active config mode, unknown reg 0x20 ID: 00.
Please send the output of flashrom -V to
flash...@flashrom.org with W836xx: your board name: flashrom -V
as the subject to help us finish support for your Super I/O. Thanks.

WARNING! You seem to be running flashrom on an unsupported laptop.
Laptops, notebooks and netbooks are difficult to support and we
recommend to use the vendor flashing utility. The embedded controller
(EC) in these machines often interacts badly with flashing.
See http://www.flashrom.org/Laptops for details.

If flash is shared with the EC, erase is guaranteed to brick your laptop
and write may brick your laptop.
Read and probe may irritate your EC and cause fan failure, backlight
failure and sudden poweroff.
You have been warned.

Aborting.
Error: Programmer initialization failed.
-[:00]-+-00.0  Intel Corporation Device [8086:0154]
   +-02.0  Intel Corporation Device [8086:0166]
   +-14.0  Intel Corporation Device [8086:1e31]
   +-16.0  Intel Corporation Device [8086:1e3a]
   +-19.0  Intel Corporation 82579LM Gigabit Network Connection 
[8086:1502]
   +-1a.0  Intel Corporation Device [8086:1e2d]
   +-1b.0  Intel Corporation Device [8086:1e20]
   +-1c.0-[02]00.0  Ricoh Co Ltd Device [1180:e823]
   +-1c.1-[03]00.0  Intel Corporation Centrino Ultimate-N 6300 
[8086:4238]
   +-1c.2-[04-0b]--
   +-1d.0  Intel Corporation Device [8086:1e26]
   +-1f.0  Intel Corporation Device [8086:1e55]
   +-1f.2  Intel Corporation Device [8086:1e03]
   \-1f.3  Intel Corporation Device [8086:1e22]
superiotool r
Probing for ALi Super I/O at 0x3f0...
  Failed. Returned data: id=0x, rev=0xff
Probing for ALi Super I/O at 0x370...
  Failed. Returned data: id=0x, rev=0xff
Probing for Fintek Super I/O at 0x2e...
  Failed. Returned data: vid=0x, id=0x
Probing for Fintek Super I/O at 0x4e...
  Failed. Returned data: vid=0x, id=0x
Probing for Fintek Super I/O at 0x2e...
  Failed. Returned data: vid=0x, id=0x
Probing for Fintek Super I/O at 0x4e...
  Failed. Returned data: vid=0x, id=0x
Probing for ITE Super I/O (init=standard) at 0x25e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8502e) at 0x25e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8761e) at 0x25e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8228e) at 0x25e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=0x87,0x87) at 0x25e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=standard) at 0x2e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8502e) at 0x2e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8761e) at 0x2e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=it8228e) at 0x2e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=0x87,0x87) at 0x2e...
  Failed. Returned data: id=0x, rev=0xf
Probing for ITE Super I/O (init=standard) at 0x4e...
  Failed. Returned data: id=0x, rev=0x0