[coreboot] Add memory support for mb/apple: MacBook Air 5,2 (A1466)

2021-12-04 Thread Mariusz Grabarczyk
‐‐‐ Original Message ‐‐‐
On Saturday, December 4th, 2021 at 10:30 AM, Mariusz Grabarczyk 
 wrote:

> Hi
>
> I would like to have memory support added for mb/apple: MacBook Air 5,2 
> (A1466)
> Per
> https://review.coreboot.org/c/coreboot/+/32604/36/Documentation/mainboard/apple/macbookair5_2.md#51
>
> Originally
> https://review.coreboot.org/c/coreboot/+/32604
>
> If your RAM configuration is not supported, you can help supporting it. Run
> `sudo inteltool -m`, save output to a text file and send a message to coreboot
>
> inteltool -g | get_macbook_ramcfg -m mba52
> unsupported memory configuration 1
>
> inteltool -m >> macbook52_memory
>
> Attached is dump fileCPU: ID 0x306a9, Processor Type 0x0, Family 0x6, Model 0x3a, Stepping 0x9
Northbridge: 8086:0154 (3rd generation (Ivy Bridge family) Core Processor 
(Mobile))
Southbridge: 8086:1e56 (QS77)
IGD: 8086:0166 (Intel(R) HD 4000 Graphics)

= GPIOS =

GPIOBASE = 0x0500 (IO)

gpiobase+0x: 0xbdebfdff (GPIO_USE_SEL)
gpiobase+0x0004: 0xae166eff (GP_IO_SEL)
gpiobase+0x0008: 0x (RESERVED)
gpiobase+0x000c: 0xde8e8fa6 (GP_LVL)
gpiobase+0x0010: 0x (RESERVED)
gpiobase+0x0014: 0x (RESERVED)
gpiobase+0x0018: 0x (GPO_BLINK)
gpiobase+0x001c: 0x (GP_SER_BLINK)
gpiobase+0x0020: 0x0008 (GP_SB_CMDSTS)
gpiobase+0x0024: 0x (GP_SB_DATA)
gpiobase+0x0028: 0x (GPI_NMI_EN)
gpiobase+0x002a: 0x (GPI_NMI_STS)
gpiobase+0x002c: 0x00b6 (GPI_INV)
gpiobase+0x0030: 0x13ff80fe (GPIO_USE_SEL2)
gpiobase+0x0034: 0x1f04ffe2 (GP_IO_SEL2)
gpiobase+0x0038: 0xffadbfc6 (GP_LVL2)
gpiobase+0x003c: 0x (RESERVED)
gpiobase+0x0040: 0x04ff (GPIO_USE_SEL3)
gpiobase+0x0044: 0x0bf0 (GP_IO_SEL3)
gpiobase+0x0048: 0x0f80 (GPIO_LVL3)
gpiobase+0x004c: 0x (RESERVED)
gpiobase+0x0050: 0x (RESERVED)
gpiobase+0x0054: 0x (RESERVED)
gpiobase+0x0058: 0x (RESERVED)
gpiobase+0x005c: 0x (RESERVED)
gpiobase+0x0060: 0x8800 (GP_RST_SEL1)
gpiobase+0x0064: 0x (GP_RST_SEL2)
gpiobase+0x0068: 0x (GP_RST_SEL3)
gpiobase+0x006c: 0x (RESERVED)
gpiobase+0x0070: 0x (RESERVED)
gpiobase+0x0074: 0x (RESERVED)
gpiobase+0x0078: 0x (RESERVED)
gpiobase+0x007c: 0x (RESERVED)
CPU: ID 0x306a9, Processor Type 0x0, Family 0x6, Model 0x3a, Stepping 0x9
Northbridge: 8086:0154 (3rd generation (Ivy Bridge family) Core Processor 
(Mobile))
Southbridge: 8086:1e56 (QS77)
IGD: 8086:0166 (Intel(R) HD 4000 Graphics)

= GPIOS =

GPIOBASE = 0x0500 (IO)

gpiobase+0x: 0xbdebfdff (GPIO_USE_SEL)
gpiobase+0x: 0xb96ba1ff (GPIO_USE_SEL) DEFAULT
gpiobase+0x: 0x04805c00 (GPIO_USE_SEL) DIFF
gpiobase+0x0004: 0xae166eff (GP_IO_SEL)
gpiobase+0x0004: 0xeeff6eff (GP_IO_SEL) DEFAULT
gpiobase+0x0004: 0x40e9 (GP_IO_SEL) DIFF
gpiobase+0x0008: 0x (RESERVED)
gpiobase+0x000c: 0xde8e8fa6 (GP_LVL)
gpiobase+0x000c: 0x02fe0100 (GP_LVL) DEFAULT
gpiobase+0x000c: 0xdc708ea6 (GP_LVL) DIFF
gpiobase+0x0010: 0x (RESERVED)
gpiobase+0x0014: 0x (RESERVED)
gpiobase+0x0018: 0x (GPO_BLINK)
gpiobase+0x0018: 0x0004 (GPO_BLINK) DEFAULT
gpiobase+0x0018: 0x0004 (GPO_BLINK) DIFF
gpiobase+0x001c: 0x (GP_SER_BLINK)
gpiobase+0x0020: 0x0008 (GP_SB_CMDSTS)
gpiobase+0x0024: 0x (GP_SB_DATA)
gpiobase+0x0028: 0x (GPI_NMI_EN)
gpiobase+0x002a: 0x (GPI_NMI_STS)
gpiobase+0x002c: 0x00b6 (GPI_INV)
gpiobase+0x002c: 0x (GPI_INV) DEFAULT
gpiobase+0x002c: 0x00b6 (GPI_INV) DIFF
gpiobase+0x0030: 0x13ff80fe (GPIO_USE_SEL2)
gpiobase+0x0030: 0x020300fe (GPIO_USE_SEL2) DEFAULT
gpiobase+0x0030: 0x11fc8000 (GPIO_USE_SEL2) DIFF
gpiobase+0x0034: 0x1f04ffe2 (GP_IO_SEL2)
gpiobase+0x0034: 0x1f57fff4 (GP_IO_SEL2) DEFAULT
gpiobase+0x0034: 0x00530016 (GP_IO_SEL2) DIFF
gpiobase+0x0038: 0xffadbfc6 (GP_LVL2)
gpiobase+0x0038: 0xa4aa0007 (GP_LVL2) DEFAULT
gpiobase+0x0038: 0x1b07bfc1 (GP_LVL2) DIFF
gpiobase+0x003c: 0x (RESERVED)
gpiobase+0x0040: 0x04ff (GPIO_USE_SEL3)
gpiobase+0x0040: 0x0030 (GPIO_USE_SEL3) DEFAULT
gpiobase+0x0040: 0x04cf (GPIO_USE_SEL3) DIFF
gpiobase+0x0044: 0x0bf0 (GP_IO_SEL3)
gpiobase+0x0044: 0x0ff0 (GP_IO_SEL3) DEFAULT
gpiobase+0x0044: 0x0400 (GP_IO_SEL3) DIFF
gpiobase+0x0048: 0x0f80 (GPIO_LVL3)
gpiobase+0x0048: 0x00c0 (GPIO_LVL3) DEFAULT
gpiobase+0x0048: 0x0f40 (GPIO_LVL3) DIFF
gpiobase+0x004c: 0x (RESERVED)
gpiobase+0x0050: 0x (RESERVED)
gpiobase+0x0054: 0x (RESERVED)
gpiobase+0x0058: 0x (RESERVED)
gpiobase+0x005c: 0x (RESERVED)
gpiobase+0x0060: 0x8800 (GP_RST_SEL1)
gpiobase+0x0060: 0x0100 (GP_RST_SEL1) DEFAULT
gpiobase+0x0060: 0x01008800 (GP_RST_SEL1) DIFF
gpiobase+0x0064: 0x (GP_RST_SEL2)
gpiobase+0x0068: 0x (GP_RST_SEL3)
gpiobase+0x006c: 0x (RESERVED)
gpiobase+0x0070: 0x (RESERVED)
gpiobase+0x0074: 0x (RESERVED)
gpiobase+0x0078: 0x

[coreboot] Add memory support for mb/apple: MacBook Air 5,2 (A1466)

2021-12-04 Thread Mariusz Grabarczyk
Hi

I would like to have memory support added for mb/apple: MacBook Air 5,2 (A1466)
Per
https://review.coreboot.org/c/coreboot/+/32604/36/Documentation/mainboard/apple/macbookair5_2.md#51

Originally
https://review.coreboot.org/c/coreboot/+/32604

If your RAM configuration is not supported, you can help supporting it. Run
`sudo inteltool -m`, save output to a text file and send a message to coreboot

inteltool -g | get_macbook_ramcfg -m mba52
unsupported memory configuration 1

inteltool -m >> macbook52_memory

Attached is dump file

macbook52_memory
Description: Binary data
___
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org