EFI Firmware Surgery

This is a discussion on EFI Firmware Surgery within the Tech Board forums, part of the Community Boards category; Hello, I have a quandry that I would like wider assistance to resolve:- Last week I replaced my old mini-ITX ...

  1. #1
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,255

    Question EFI Firmware Surgery

    Hello,

    I have a quandry that I would like wider assistance to resolve:-
    Last week I replaced my old mini-ITX motherboard, based on an Intel Atom N270, with a newer board based on an AMD C60.

    The power usage works out slightly lower, and I now have CPU virtualization available. However, after testing with the Xen Community Platform I found that a very useful feature for use with VMs, I/O Virtualization (IOMMU), was not available.

    With investigation, I have determined that this feature is enabled through the presence of the "DMAR" table in ACPI. Now, I have too much of my life left to live to mess with ACPI, but apparently this is controlled by the UEFI firmware.

    There is no option for IOMMU in my board firmware's setup. However, I have read up on a board from a different manufacturer which apparently does provide this feature. Both firmwares are AMI Aptio based. They are different sizes however: my board has a 32Mb flash (4 MB), the other board has half that.

    UEFI firmwares consist of different modules, so the question is, what chance have I got to obtain IOMMU by swapping one or more modules? Given near identical hardware, would this be dangerous?

  2. #2
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,145
    I'm not familiar with EFI, but swapping firmware, even on just different hardware revisions of the same product, is generally a very bad idea.

    Some people do it with video cards, etc, and end up with still working cards, but that's the exception, not the rule.

    For example, there may be a table in the firmware that maps general purpose IOs of the southbridge chip to actually connected peripherals, and that would probably have to be different.

    Why not hack the Linux kernel? You are using an open source operating system. Take advantage of it! I imagine it wouldn't be too difficult - just finding where it does the check, and override it to always return true.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,337
    Personally, I would be tempted to send the board back to the supplier and ask them to supply a board with the features you require.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Jun 2005
    Posts
    5,851
    Personally, I would have done my homework before buying the board, so I knew it had the features I required when I bought.
    Right 98% of the time, and don't care about the other 3%.

  5. #5
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,255
    Quote Originally Posted by grumpy View Post
    Personally, I would have done my homework before buying the board, so I knew it had the features I required when I bought.
    Hindsight is indeed a beautiful mistress, but I simply didn't know I would need it until I tried using that feature with this motherboard.

    I wish that there was some sort of service that would allow you to rent a board for a few days to test things.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help!! Due Today!! Family Surgery Prevented me from doing HW
    By Die The Villain in forum C Programming
    Replies: 12
    Last Post: 02-17-2011, 11:30 AM
  2. First try to firmware modelling - C
    By willyp in forum C Programming
    Replies: 0
    Last Post: 11-29-2009, 02:32 PM
  3. Extract firmware from printer.
    By Loic in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 01-17-2008, 10:14 AM
  4. Doing surgery on my laptop
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-22-2004, 05:09 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21