4 Replies Latest reply on Apr 14, 2015 2:40 PM by Intel_Peter

    UEFI shell system information

    Nishanth.S

      Hi all,

       

      Galileo Software Downloads

       

      1. Downloaded Flash Missing PDAT Release .cap file.

      2. Flashed .cap during linux runtime.

      3. Entered to UEFI shell.

      4. Ran smbiosview.

           It shows all system infos like vendor ID, serial number, etc

      5. Downloaded dmidecode - Summary [Savannah].

      6. Compiled on the board.

      7. Ran dmidecode.

           # dmidecode 2.11

           # No SMBIOS nor DMI entry point found, sorry.

       

       

      If you run dmidecode on PC, it will show hardware infos like vendor ID, manufacturer, serial number, etc.

       

      But when I cross compile demidecode and run, I am not able to get hardware infos.

       

      How do I get hardware infos from intel Galileo???? ( I am looking for C source code like dmidecode which gets hardware infos from uefi or smbios)

       

      Note : system info

           Intel Galileo Gen 1.

           Wind River linux build flashed on uSD card.

           quark-x1000-bsp-build-sw-rel-user-guide.pdf to flash cap file on linux runtime

       

      Message was edited by: Nishanth Sivanandam

        • 1. Re: UEFI shell system information
          Intel_Peter

          Hello Nishanth.S,

           

          I'm not quite getting what you're trying to do, or what is failing, what exactly is your question?

           

          Peter.

          • 2. Re: UEFI shell system information
            Intel_Peter

            I just ran dmidecode on the Galileo, and it showed the following:

             

            root@clanton:/usr/sbin# dmidecode
            # dmidecode 2.10
            # SMBIOS entry point at 0x0fdee000
            SMBIOS 2.7 present.
            35 structures occupying 1322 bytes.
            Table at 0x0FDED000.
            
            
            Handle 0x0000, DMI type 0, 24 bytes
            BIOS Information
                    Vendor: Intel Corp.
                    Version: 0x01000400
                    Release Date: 01/01/2014
                    Address: 0xE0000
                    Runtime Size: 128 kB
                    ROM Size: 8192 kB
                    Characteristics:
                            PCI is supported
                            BIOS is upgradeable
                            BIOS shadowing is allowed
                            Boot from CD is supported
                            Selectable boot is supported
                            EDD is supported
                            Print screen service is supported (int 5h)
                            8042 keyboard services are supported (int 9h)
                            Serial services are supported (int 14h)
                            Printer services are supported (int 17h)
                            CGA/mono video services are supported (int 10h)
                            ACPI is supported
                            USB legacy is supported
                            BIOS boot specification is supported
                            Function key-initiated network boot is supported
                    BIOS Revision: 1.0
            
            
            Handle 0x0001, DMI type 1, 27 bytes
            System Information
                    Manufacturer: Intel Corp.
                    Product Name: QUARK
                    Version: 1.0
                    Serial Number: Unknown
                    UUID: 13FFEF23-8654-46DA-A407-39C91202D356
                    Wake-up Type: Power Switch
                    SKU Number: System SKUNumber
                    Family: X1000
            
            
            Handle 0x0002, DMI type 2, 17 bytes
            Base Board Information
                    Manufacturer: Intel Corp.
                    Product Name: GalileoGen2
                    Version: FAB-D
                    Serial Number: XXXXXXXXXXXX
                    Asset Tag: Base Board Asset Tag
                    Features:
                            Board is a hosting board
                            Board is replaceable
                    Location In Chassis: Part Component
                    Chassis Handle: 0x0000
                    Type: Unknown
                    Contained Object Handles: 0
            
            
            Handle 0x0003, DMI type 3, 24 bytes
            Chassis Information
                    Manufacturer: Chassis Manufacturer
                    Type: Desktop
                    Lock: Not Present
                    Version: Chassis Version
                    Serial Number: Chassis Serial Number
                    Asset Tag: Chassis Asset Tag
                    Boot-up State: Safe
                    Power Supply State: Safe
                    Thermal State: Other
                    Security Status: Other
                    OEM Information: 0x00000000
                    Height: Unspecified
                    Number Of Power Cords: Unspecified
                    Contained Elements: 0
            
            
            Handle 0x0004, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X14
                    Internal Connector Type: PS/2
                    External Reference Designator: Keyboard
                    External Connector Type: PS/2
                    Port Type: Keyboard Port
            
            
            Handle 0x0005, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X15
                    Internal Connector Type: PS/2
                    External Reference Designator: Mouse
                    External Connector Type: PS/2
                    Port Type: Mouse Port
            
            
            Handle 0x0006, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X16
                    Internal Connector Type: Other
                    External Reference Designator: COM 1
                    External Connector Type: None
                    Port Type: Serial Port 16550A Compatible
            
            
            Handle 0x0007, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X17
                    Internal Connector Type: Other
                    External Reference Designator: COM 2
                    External Connector Type: None
                    Port Type: Serial Port 16550A Compatible
            
            
            Handle 0x0008, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X18
                    Internal Connector Type: Other
                    External Reference Designator: COM 3
                    External Connector Type: None
                    Port Type: Serial Port 16550A Compatible
            
            
            Handle 0x0009, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X19
                    Internal Connector Type: Other
                    External Reference Designator: COM 4
                    External Connector Type: None
                    Port Type: Serial Port 16550A Compatible
            
            
            Handle 0x000A, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: J4A2
                    Internal Connector Type: None
                    External Reference Designator: LPT 1
                    External Connector Type: DB-25 male
                    Port Type: Parallel Port ECP/EPP
            
            
            Handle 0x000B, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X20
                    Internal Connector Type: None
                    External Reference Designator: USB1
                    External Connector Type: Access Bus (USB)
                    Port Type: USB
            
            
            Handle 0x000C, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X21
                    Internal Connector Type: None
                    External Reference Designator: USB2
                    External Connector Type: Access Bus (USB)
                    Port Type: USB
            
            
            Handle 0x000D, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X22
                    Internal Connector Type: None
                    External Reference Designator: USB3
                    External Connector Type: Access Bus (USB)
                    Port Type: USB
            
            
            Handle 0x000E, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X23
                    Internal Connector Type: None
                    External Reference Designator: USB4
                    External Connector Type: Access Bus (USB)
                    Port Type: USB
            
            
            Handle 0x000F, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: X28
                    Internal Connector Type: None
                    External Reference Designator: RJ-45 Type
                    External Connector Type: RJ-45
                    Port Type: Network Port
            
            
            Handle 0x0010, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: J1G1
                    Internal Connector Type: On Board Floppy
                    External Reference Designator: Floppy
                    External Connector Type: None
                    Port Type: Other
            
            
            Handle 0x0011, DMI type 8, 9 bytes
            Port Connector Information
                    Internal Reference Designator: J2H2
                    Internal Connector Type: On Board IDE
                    External Reference Designator: IDE
                    External Connector Type: None
                    Port Type: Other
            
            
            Handle 0x0012, DMI type 9, 17 bytes
            System Slot Information
                    Designation: PCI SLOT1
                    Type: 32-bit PCI
                    Current Usage: Available
                    Length: Long
                    ID: 1
                    Characteristics:
                            3.3 V is provided
                            PME signal is supported
                            SMBus signal is supported
                    Bus Address: 0000:00:00.0
            
            
            Handle 0x0013, DMI type 9, 17 bytes
            System Slot Information
                    Designation: PCI-Express 1
                    Type: 32-bit PCI Express
                    Current Usage: Available
                    Length: Long
                    ID: 2
                    Characteristics:
                            3.3 V is provided
                            PME signal is supported
                            SMBus signal is supported
                    Bus Address: 0000:00:00.0
            
            
            Handle 0x0014, DMI type 9, 17 bytes
            System Slot Information
                    Designation: PCI-Express 2
                    Type: 32-bit PCI Express
                    Current Usage: Available
                    Length: Long
                    ID: 3
                    Characteristics:
                            3.3 V is provided
                            PME signal is supported
                            SMBus signal is supported
                    Bus Address: 0000:00:00.0
            
            
            Handle 0x0015, DMI type 9, 17 bytes
            System Slot Information
                    Designation: PCI-Express 3
                    Type: 32-bit PCI Express
                    Current Usage: Available
                    Length: Long
                    ID: 4
                    Characteristics:
                            3.3 V is provided
                            PME signal is supported
                            SMBus signal is supported
                    Bus Address: 0000:00:00.0
            
            
            Handle 0x0016, DMI type 9, 17 bytes
            System Slot Information
                    Designation: Mini PCI-E
                    Type: 32-bit PCI Express
                    Current Usage: Available
                    Length: Long
                    ID: 5
                    Characteristics:
                            3.3 V is provided
                            PME signal is supported
                            SMBus signal is supported
                    Bus Address: 0000:00:00.0
            

             

            I'm not sure why it is not working for you, however I tried with biosdecode and I got an output similar to yours:

             

            root@clanton:/usr/sbin# biosdecode
            # biosdecode 2.10
            

             

            Peter.

            • 3. Re: UEFI shell system information
              Nishanth.S

              Hi Peter,

               

              I am able to include "IMAGE_INSTALL="demidecode"" on intel wind river system and built successfully. But when I ran, it is not able to get the hardware infos.

               

              Does it depend on what Flash-MissingDAT.cap file we flash on to the eMMC???

               

              I too observed the same result on clanton galileo build. dmidecode works on clanton build system. But not in intel iot build system.

              • 4. Re: UEFI shell system information
                Intel_Peter

                Hello Nishanth.S,

                 

                Sorry for the delay in my response. There are four files you can use to update the boards firmware but the one that have more hardware information is the .bin file used with the Dediprog. We haven't tried it on Windriver since we only support Yocto, but the  procedure is mentioned in Section 10 of the BSP guide 0.7.5, you generate this Flash+PlatformData.bin in Section 8. I'd suggest you take a look at this file.

                 

                Peter.