Kyösti Mälkki | 1 Jul 2012 10:11
Picon

Re: How to make graphical issue go away with 4GB of ram

On Sat, 2012-06-30 at 23:47 +0200, Denis 'GNUtoo' Carikli wrote:
> On Sat, 2012-06-30 at 12:44 -0600, Marc Jones wrote:
> > On Sat, Jun 30, 2012 at 12:01 PM, Kyösti Mälkki <kyosti.malkki <at> gmail.com> wrote:
> > > On Sat, 2012-06-30 at 18:18 +0200, Denis 'GNUtoo' Carikli wrote:
> > >> Hi,
> > >>
> > >> me and Kyösti Mälkki(kmalkki on IRC) figured out how to workarround the
> > >> following problem:
> > >> If I installed 4GB of ram in the m4a785t-m the screen comes up,however
> > >> it's black.
> > >> If I only installed 2GB of ram it worked fine.
> > >>
> > >> I made a patch(I'll send it right after that email) but it seem to break
> > >> graphics for the case where 2GB of ram is installed.
> > >>
> > >> So I wonder what would be the correct fix(a fix that would work for
> > >> every cases).
> > >>
> > >> Explanation of the patch that will be sent right after the mail:
> > >> "basek - mmio_basek;" should be 1048576 (1G):
> > >> According to Kyösti Mälkki the correct value for the sizek is 1048576.
> > >> So I looked for what could create that size and found that.
> > >> I'm not convinced that "basek - mmio_basek" is the right fix but at
> > >> least we're in the right direction.
> > >
> > > My explanation of the issue: uma_memory_size must reduce the size of the
> > > last RAM resource _below_ 4GB. It now touches the last RAM resource,
> > > even if located over 4GB.
> > 
> > Yes, The UMA graphics memory is allocated in the lower 4GB. I think
(Continue reading)

Ricardo Martins | 1 Jul 2012 13:07
Favicon

New patch to review for coreboot: 78bb3ba IEI PM-LX2-800-R10: Added preliminary mainboard support

Ricardo Martins (rasmartins <at> gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1154

-gerrit

commit 78bb3ba889b9518d10eadba9a7daae5be2bec384
Author: Ricardo Martins <rasmartins <at> gmail.com>
Date:   Sun Jul 1 12:06:58 2012 +0100

    IEI PM-LX2-800-R10: Added preliminary mainboard support

    Details for this board are available at
    http://usa.ieiworld.com/product_groups/industrial/content.aspx?gid=00001000010000000001&cid=09050662496936266123&id=09034367569861123956

    Most of the functionality provided by the original BIOS is
    implemented.

    Change-Id: Ib51683662c866dee0574e4ab2b27e22206a638f1
    Signed-off-by: Ricardo Martins <rasmartins <at> gmail.com>
---
 src/mainboard/iei/Kconfig                      |    3 +
 src/mainboard/iei/pm-lx2-800-r10/Kconfig       |   56 +++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/chip.h        |   23 +++++
 src/mainboard/iei/pm-lx2-800-r10/cmos.layout   |  103 ++++++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/devicetree.cb |   87 ++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/irq_tables.c  |   68 ++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/it8888_io.def |   27 ++++++
 src/mainboard/iei/pm-lx2-800-r10/mainboard.c   |  103 ++++++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/romstage.c    |   95 ++++++++++++++++++++++
 9 files changed, 565 insertions(+), 0 deletions(-)

(Continue reading)

Ricardo Martins | 1 Jul 2012 13:16
Favicon

Patch set updated for coreboot: 94418e4 IEI PM-LX2-800-R10: Added preliminary mainboard support

Ricardo Martins (rasmartins <at> gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1152

-gerrit

commit 94418e434df238402ce55422205629136b91f6d4
Author: Ricardo Martins <rasmartins <at> gmail.com>
Date:   Sun Jul 1 12:13:33 2012 +0100

    IEI PM-LX2-800-R10: Added preliminary mainboard support

    Details for this board are available at
    http://usa.ieiworld.com/product_groups/industrial/content.aspx?gid=00001000010000000001&cid=09050662496936266123&id=09034367569861123956

    Most of the functionality provided by the original BIOS is
    implemented.

    Change-Id: Iaefe47f5ad405a56d230c929e5850156eb0f60ae
    Signed-off-by: Ricardo Martins <rasmartins <at> gmail.com>
---
 src/mainboard/iei/Kconfig                      |    3 +
 src/mainboard/iei/pm-lx2-800-r10/Kconfig       |   56 +++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/chip.h        |   23 +++++
 src/mainboard/iei/pm-lx2-800-r10/cmos.layout   |  103 ++++++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/devicetree.cb |   87 ++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/irq_tables.c  |   68 ++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/it8888_io.def |   27 ++++++
 src/mainboard/iei/pm-lx2-800-r10/mainboard.c   |  103 ++++++++++++++++++++++++
 src/mainboard/iei/pm-lx2-800-r10/romstage.c    |   95 ++++++++++++++++++++++
 9 files changed, 565 insertions(+), 0 deletions(-)

(Continue reading)

Zheng Bao | 2 Jul 2012 06:44
Favicon

New patch to review for coreboot: cb42297 AGESA F15 wrapper for Trinity

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1156

-gerrit

commit cb42297765bd6e44270032ffb83da6f38b6a8425
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 14:19:17 2012 +0800

    AGESA F15 wrapper for Trinity
    
    The wrapper for Trinity. Support S3. Parme is a example board.
    
    Change-Id: Ib4f653b7562694177683e1e1ffdb27ea176aeaab
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/arch/x86/boot/tables.c                         |    2 +-
 src/cpu/amd/agesa/Kconfig                          |    3 +-
 src/cpu/amd/agesa/Makefile.inc                     |    1 +
 src/cpu/amd/agesa/family15tn/Kconfig               |   79 ++
 src/cpu/amd/agesa/family15tn/Makefile.inc          |  466 ++++++++
 src/cpu/amd/agesa/family15tn/chip.h                |   23 +
 src/cpu/amd/agesa/family15tn/chip_name.c           |   25 +
 src/cpu/amd/agesa/family15tn/model_15_init.c       |  151 +++
 src/cpu/amd/agesa/s3_resume.c                      |    9 +
 src/cpu/amd/agesa/s3_resume.h                      |    4 +-
 src/include/cpu/amd/amdfam15.h                     |   13 +-
 src/include/device/pci_ids.h                       |    1 +
 src/northbridge/amd/agesa/Kconfig                  |    1 +
 src/northbridge/amd/agesa/Makefile.inc             |    1 +
(Continue reading)

Zheng Bao | 2 Jul 2012 06:45
Favicon

New patch to review for coreboot: 09c7b60 AGESA F15 wrapper for Hudson.

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1157

-gerrit

commit 09c7b60b01ebe9abbdf5bbdd7649c02306281c54
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 14:19:20 2012 +0800

    AGESA F15 wrapper for Hudson.
    
    Hudson code has been integrated from CIMx to AGESA. This patch is about the wrapper.
    
    Change-Id: I63d951982140b82a3a77a97eb3d55fc75fc0caa3
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/southbridge/amd/Kconfig                        |    1 +
 src/southbridge/amd/Makefile.inc                   |    3 +-
 src/southbridge/amd/agesa/Kconfig                  |   20 ++
 src/southbridge/amd/agesa/Makefile.inc             |   19 ++
 src/southbridge/amd/agesa/hudson/Kconfig           |  216 +++++++++++++++++
 src/southbridge/amd/agesa/hudson/Makefile.inc      |   34 +++
 src/southbridge/amd/agesa/hudson/bootblock.c       |   68 ++++++
 src/southbridge/amd/agesa/hudson/chip.h            |   36 +++
 src/southbridge/amd/agesa/hudson/early_setup.c     |  112 +++++++++
 src/southbridge/amd/agesa/hudson/enable_usbdebug.c |   52 ++++
 src/southbridge/amd/agesa/hudson/fadt.c            |  186 ++++++++++++++
 src/southbridge/amd/agesa/hudson/hda.c             |   51 ++++
 src/southbridge/amd/agesa/hudson/hudson.c          |  122 ++++++++++
 src/southbridge/amd/agesa/hudson/hudson.h          |   75 ++++++
(Continue reading)

Zheng Bao | 2 Jul 2012 06:45
Favicon

New patch to review for coreboot: 5209bbc Mainboard Parmer based on Trinity

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1158

-gerrit

commit 5209bbca41f819e56476dee0acda1476aa489ba9
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 14:19:23 2012 +0800

    Mainboard Parmer based on Trinity
    
    Parmer has.
    1. Trinity, Socket FS1R2.
    2. Hudson A75.
    Ubuntu has been validated on Parmer. S3 is supported.
    
    Change-Id: I1a6932d0ca9f7abe78dc24d3bc238a4b5a48281b
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/mainboard/amd/Kconfig                         |    4 +
 src/mainboard/amd/parmer/BiosCallOuts.c           |  735 +++++++++++
 src/mainboard/amd/parmer/BiosCallOuts.h           |   82 ++
 src/mainboard/amd/parmer/Kconfig                  |  114 ++
 src/mainboard/amd/parmer/Makefile.inc             |   33 +
 src/mainboard/amd/parmer/OptionsIds.h             |   67 +
 src/mainboard/amd/parmer/PlatformGnbPcie.c        |  205 +++
 src/mainboard/amd/parmer/PlatformGnbPcieComplex.h |   72 +
 src/mainboard/amd/parmer/acpi/AmdImc.asl          |   95 ++
 src/mainboard/amd/parmer/acpi/ide.asl             |  244 ++++
 src/mainboard/amd/parmer/acpi/routing.asl         |  356 +++++
(Continue reading)

Zheng Bao | 2 Jul 2012 07:56
Favicon

Patch set updated for coreboot: 1d30ad5 AGESA F15 wrapper for Hudson.

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1157

-gerrit

commit 1d30ad5001f69ef66bcfb589b26b6119e6f33652
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 15:33:00 2012 +0800

    AGESA F15 wrapper for Hudson.
    
    Hudson code has been integrated from CIMx to AGESA. This patch is about the wrapper.
    
    Change-Id: I63d951982140b82a3a77a97eb3d55fc75fc0caa3
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/southbridge/amd/Kconfig                        |    1 +
 src/southbridge/amd/Makefile.inc                   |    3 +-
 src/southbridge/amd/agesa/Kconfig                  |   20 ++
 src/southbridge/amd/agesa/Makefile.inc             |   19 ++
 src/southbridge/amd/agesa/hudson/Kconfig           |  216 +++++++++++++++++
 src/southbridge/amd/agesa/hudson/Makefile.inc      |   34 +++
 src/southbridge/amd/agesa/hudson/bootblock.c       |   68 ++++++
 src/southbridge/amd/agesa/hudson/chip.h            |   36 +++
 src/southbridge/amd/agesa/hudson/early_setup.c     |  112 +++++++++
 src/southbridge/amd/agesa/hudson/enable_usbdebug.c |   52 ++++
 src/southbridge/amd/agesa/hudson/fadt.c            |  186 ++++++++++++++
 src/southbridge/amd/agesa/hudson/hda.c             |   51 ++++
 src/southbridge/amd/agesa/hudson/hudson.c          |  122 ++++++++++
 src/southbridge/amd/agesa/hudson/hudson.h          |   75 ++++++
(Continue reading)

Zheng Bao | 2 Jul 2012 07:56
Favicon

Patch set updated for coreboot: a51928a AGESA F15 wrapper for Trinity

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1156

-gerrit

commit a51928ae46d2832b4b332a8dbd2ce3f1a8d5dca0
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 15:32:58 2012 +0800

    AGESA F15 wrapper for Trinity
    
    The wrapper for Trinity. Support S3. Parme is a example board.
    
    Change-Id: Ib4f653b7562694177683e1e1ffdb27ea176aeaab
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/arch/x86/boot/tables.c                         |    2 +-
 src/cpu/amd/agesa/Kconfig                          |    3 +-
 src/cpu/amd/agesa/Makefile.inc                     |    1 +
 src/cpu/amd/agesa/family15/model_15_init.c         |    4 +-
 src/cpu/amd/agesa/family15tn/Kconfig               |   79 ++
 src/cpu/amd/agesa/family15tn/Makefile.inc          |  466 ++++++++
 src/cpu/amd/agesa/family15tn/chip.h                |   23 +
 src/cpu/amd/agesa/family15tn/chip_name.c           |   25 +
 src/cpu/amd/agesa/family15tn/model_15_init.c       |  151 +++
 src/cpu/amd/agesa/s3_resume.c                      |    9 +
 src/cpu/amd/agesa/s3_resume.h                      |    4 +-
 src/include/cpu/amd/amdfam15.h                     |   13 +-
 src/include/device/pci_ids.h                       |    1 +
 src/northbridge/amd/agesa/Kconfig                  |    1 +
(Continue reading)

Zheng Bao | 2 Jul 2012 07:56
Favicon

Patch set updated for coreboot: 6f4e5cb Mainboard Parmer based on Trinity

Zheng Bao (zheng.bao <at> amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1158

-gerrit

commit 6f4e5cb6cd6f0ab697c1841a373dc4c1837a6bc6
Author: zbao <fishbaozi <at> gmail.com>
Date:   Mon Jul 2 15:33:03 2012 +0800

    Mainboard Parmer based on Trinity
    
    Parmer has.
    1. Trinity, Socket FS1R2.
    2. Hudson A75.
    Ubuntu has been validated on Parmer. S3 is supported.
    
    Change-Id: I1a6932d0ca9f7abe78dc24d3bc238a4b5a48281b
    Signed-off-by: Zheng Bao <zheng.bao <at> amd.com>
    Signed-off-by: zbao <fishbaozi <at> gmail.com>
---
 src/mainboard/amd/Kconfig                         |    4 +
 src/mainboard/amd/parmer/BiosCallOuts.c           |  735 +++++++++++
 src/mainboard/amd/parmer/BiosCallOuts.h           |   82 ++
 src/mainboard/amd/parmer/Kconfig                  |  114 ++
 src/mainboard/amd/parmer/Makefile.inc             |   33 +
 src/mainboard/amd/parmer/OptionsIds.h             |   67 +
 src/mainboard/amd/parmer/PlatformGnbPcie.c        |  205 +++
 src/mainboard/amd/parmer/PlatformGnbPcieComplex.h |   72 +
 src/mainboard/amd/parmer/acpi/AmdImc.asl          |   95 ++
 src/mainboard/amd/parmer/acpi/ide.asl             |  244 ++++
 src/mainboard/amd/parmer/acpi/routing.asl         |  356 +++++
(Continue reading)

Carl-Daniel Hailfinger | 2 Jul 2012 09:13
Picon

Re: [ltp] Re: [Thinkpad] Free T60

[CC coreboot <at> coreboot.org]

Am 01.07.2012 16:45 schrieb Henrique de Moraes Holschuh:
> On Mon, 25 Jun 2012, Carl-Daniel Hailfinger wrote:
>> You do know that all Thinkpad T60/X60 can replace the BIOS with coreboot?
> How would that work?  About half the stuff the firmware does is an
> interaction between the EC and the SMBIOS, did anyone reverse engineer
> that?

Actually, yes. You can achieve quite a lot if you have IDA Pro and a few
high-end logic analyzers at hand.

> Or are you guys just running the EC in whatever state it cold-starts at?
> You can probably get away with it for a while on a T60/X60, but...
>
> Well, at least make sure to have thinkpad-acpi and use something to
> monitor the kernel log, so that if the EC starts alarming that the
> machine is going to catch fire, thinkpad-acpi will LOG_ALERT and
> LOG_CRIT to the kernel log, and something will tell you to DO SOMETHING
> ASAP.  Gnome thinks it knows better, and *actively* refuses[1] to output
> even the two "your box is about to do something REALLY bad" highest
> priority log levels.  KDE is not that irresponsible and will alert you.
>
> [1] as in: it was done on purpose, because "users don't know what to do
> with those messages anyway".

The information about assisted machine suicide on GNOME is actually
quite interesting, I don't know how this is handled on a machine running
coreboot.

(Continue reading)


Gmane