| 1 | # ASRock Industrial IMB-1222 Thin Mini-ITX Motherboard |
| 2 | |
| 3 | This page describes how to run coreboot on the [ASRock IMB-1222]. |
| 4 | |
| 5 | ## Technology |
| 6 | |
| 7 | ```{eval-rst} |
| 8 | +---------+---------------------------------------------------------------+ |
| 9 | | CPU | | Intel 10th Gen (Comet lake-S) Core Processors (LGA-1200) | |
| 10 | | | | CPUs over 80W will be limited due to power design | |
| 11 | +---------+---------------------------------------------------------------+ |
| 12 | | DRAM | 2 SO-DIMM slots, DDR4 2933/2666/2400 MHz | |
| 13 | +---------+---------------------------------------------------------------+ |
| 14 | | Chipset | Intel Q470E | |
| 15 | +---------+---------------------------------------------------------------+ |
| 16 | | SuperIO | Fintek F81966 | |
| 17 | +---------+---------------------------------------------------------------+ |
| 18 | | TPM | Infineon SLB 9670VQ2.0 | |
| 19 | +---------+---------------------------------------------------------------+ |
| 20 | | Boot | USB, SATA, NVMe | |
| 21 | +---------+---------------------------------------------------------------+ |
| 22 | | Power | | Laptop Power Supply: | |
| 23 | | | | - 12V DC-in (IMB-1222) | |
| 24 | | | | - 12V~28V DC-in (IMB-1222-WV) | |
| 25 | +---------+---------------------------------------------------------------+ |
| 26 | ``` |
| 27 | |
| 28 | ```text |
| 29 | +--------------+ +---------------------------+ +---------------+ |
| 30 | | eDP |------------------------| |----| DDR4 SODIMM | |
| 31 | +--------------+ | | +---------------+ |
| 32 | +--------------+ +--------------+ | | +---------------+ |
| 33 | | HDMI |----| ITE IT6563 |----| |----| DDR4 SODIMM | |
| 34 | +--------------+ +--------------+ | | +---------------+ |
| 35 | +--------------+ | Intel 10th Gen | |
| 36 | | Display Port |------------------------| (Comet lake-S) | |
| 37 | +--------------+ | Core Processors | |
| 38 | +--------------+ | LGA-1200 | |
| 39 | | Display Port |------------------------| | |
| 40 | +--------------+ | | |
| 41 | +--------------+ +--------------+ | | +---------------+ |
| 42 | | LVDS |----| CH7511B-BF |----| |----| PCIe Gen3 x16 | |
| 43 | +--------------+ +--------------+ +---------------------------+ +---------------+ |
| 44 | | |
| 45 | | |
| 46 | +------------------+ +---------------------------+ +---------------+ |
| 47 | | 4 x USB 3.2 Gen1 | | | | 2 x SATA | |
| 48 | | Connector |--------------------| |----| Connector | |
| 49 | +------------------+ | | +---------------+ |
| 50 | +------------------+ | | +---------------+ |
| 51 | | 2 x USB 3.2 Gen1 | | | | M.2 KeyM SATA | |
| 52 | | Header |--------------------| Intel Q470E PCH |----| PCIe Gen3x4 | |
| 53 | +------------------+ | | +---------------+ |
| 54 | +--------------+ | | +---------------+ |
| 55 | | 2 x USB 2.0 | | | | M.2 Key E | |
| 56 | | Header |------------------------| |----| PCIe Gen3 x1/ | |
| 57 | +--------------+ | | | CNVi/USB2.0 | |
| 58 | +--------------+ +--------------+ | | +---------------+ |
| 59 | | RJ45 |----| I225LM/I225V |----| | +---------------+ |
| 60 | +--------------+ +--------------+ | | | M.2 Key B | |
| 61 | +--------------+ +--------------+ | |----| PCIe Gen3 x1/ | |
| 62 | | RJ45 |----| I219LM |----| | | USB3.0/USB2.0 | |
| 63 | +--------------+ +--------------+ | | +---------------+ |
| 64 | +--------------+ +--------------+ | | +---------------+ |
| 65 | | Mic-in | | Realtek | | | | TPM INFINEON | |
| 66 | | Line-out |----| ALC887 |----| |----| SLB 9670VQ2.0 | |
| 67 | | SPDIF | +--------------+ | | +---------------+ |
| 68 | +--------------+ | +---------------------------+ |
| 69 | +--------------+ | |
| 70 | | ALC122 | | LPC |
| 71 | +--------------+ +--------------+ |
| 72 | +-----------------------+ +--------------+ | | +------------+ |
| 73 | | 2 x COM RS232/422/485 |---| ST3243E |---| Fintek |----| CPU FAN x1 | |
| 74 | +-----------------------+ +--------------+ | F81966 | +------------+ |
| 75 | +-----------------------+ +--------------+ | SuperIO | +------------+ |
| 76 | | 2 x COM RS232 |---| ST3243E |---| |----| NCT 3941SA | |
| 77 | +-----------------------+ +--------------+ +--------------+ +------------+ |
| 78 | | | |
| 79 | +--------------+ +------------+ |
| 80 | | 8 x GPIO | | CHA FAN x1 | |
| 81 | +--------------+ +------------+ |
| 82 | |
| 83 | ``` |
| 84 | |
| 85 | This port was created without a schematic/boardview, reverse engineering only. |
| 86 | Feel free to make changes. |
| 87 | |
| 88 | ## Required proprietary blobs |
| 89 | |
| 90 | To build full working image of coreboot, the following blobs are required: |
| 91 | |
| 92 | ```{eval-rst} |
| 93 | +-----------------+-------------------------------------------+-------------------------+ |
| 94 | | Binary file | Apply | Required/Optional | |
| 95 | +=================+===========================================+=========================+ |
| 96 | | FSP-M & FSP-S | | Intel Firmware Support Package 2.1 | Required | |
| 97 | | | | 10th Generation Intel® Core™ processors | | |
| 98 | | | | and chipsets (formerly Comet Lake) | | |
| 99 | +-----------------+-------------------------------------------+-------------------------+ |
| 100 | | IFD | Intel Flash Descriptor | Required | |
| 101 | +-----------------+-------------------------------------------+-------------------------+ |
| 102 | | ME | Intel Management Engine | Required | |
| 103 | +-----------------+-------------------------------------------+-------------------------+ |
| 104 | | GBE | Gigabit Ethernet Configuration | | Optional | |
| 105 | | | | | (if LAN2 is enabled) | |
| 106 | +-----------------+-------------------------------------------+-------------------------+ |
| 107 | ``` |
| 108 | |
| 109 | ### FSP |
| 110 | |
| 111 | Intel company provides [Firmware Support Package (2.1)](../../soc/intel/fsp/index.md) |
| 112 | to initialize this generation silicon. Please see this |
| 113 | [document](../../soc/intel/code_development_model/code_development_model.md). |
| 114 | |
| 115 | ### IFD, ME, GBE |
| 116 | |
| 117 | Use the [vendor's firmware] version 1.80 to extract the IFD, ME, GBE blobs from it, according to |
| 118 | the [Intel IFD Binary Extraction Tutorial](../../util/ifdtool/binary_extraction.md). |
| 119 | |
| 120 | ```bash |
| 121 | wget --tries=5 "https://web.archive.org/web/20250413105432/https://download.asrock.com/IPC/BIOS/IMB-1222(1.80)ROM.zip" |
| 122 | unzip "IMB-1222(1.80)ROM.zip" |
| 123 | ifdtool --platform cnl -x IM12221.80 |
| 124 | File IM12221.80 is 33554432 bytes |
| 125 | flashregion_0_flashdescriptor.bin Flash Region 0 (Flash Descriptor): 00000000 - 00000fff |
| 126 | flashregion_2_intel_me.bin Flash Region 2 (Intel ME): 00003000 - 01002fff |
| 127 | flashregion_3_gbe.bin Flash Region 3 (GbE): 00001000 - 00002fff |
| 128 | ``` |
| 129 | |
| 130 | ## Building coreboot |
| 131 | |
| 132 | The following commands will help quickly configure and build a project for this board: |
| 133 | |
| 134 | ```bash |
| 135 | make distclean |
| 136 | touch .config |
| 137 | ./util/scripts/config --enable VENDOR_ASROCK |
| 138 | ./util/scripts/config --enable BOARD_ASROCK_IMB_1222 |
| 139 | make olddefconfig |
| 140 | make |
| 141 | ``` |
| 142 | |
| 143 | ## Payloads |
| 144 | |
| 145 | ```{eval-rst} |
| 146 | +---------------+------+---------+-----------+ |
| 147 | | OS / Payload | EDK2 | SeaBIOS | LinuxBoot | |
| 148 | +===============+======+=========+===========+ |
| 149 | | Ubuntu 22.04 | V | V | V | |
| 150 | +---------------+------+---------+-----------+ |
| 151 | | Ubuntu 24.04 | V | V | V | |
| 152 | +---------------+------+---------+-----------+ |
| 153 | | Windows 10 | V | | | |
| 154 | +---------------+------+---------+-----------+ |
| 155 | | Windows 11 | V | | | |
| 156 | +---------------+------+---------+-----------+ |
| 157 | | Android 13 | | V | | |
| 158 | +---------------+------+---------+-----------+ |
| 159 | ``` |
| 160 | |
| 161 | - LinuxBoot/Linux as payload; |
| 162 | - SeaBIOS (1.16.3); |
| 163 | - edk2 [MrChromebox fork] (uefipayload_2408). |
| 164 | |
| 165 | ### Additional information |
| 166 | |
| 167 | - Ubuntu 22.04 (Linux 6.5.0-15-generic); |
| 168 | - Ubuntu 24.04 (Linux 6.8.0-41-generic); |
| 169 | - Microsoft Windows 10 Pro (10.0.19045.4780, 22H2 2022); |
| 170 | - Microsoft Windows 11 Pro (10.0.26100.3194, 24H2 2024); |
| 171 | - Andoid 13, [Bliss OS] x86_64 (16.9.7, Linux 6.1.112-gloria-xanmod1). |
| 172 | |
| 173 | ## Flashing coreboot |
| 174 | |
| 175 | ```{eval-rst} |
| 176 | +---------------------+--------------------------+ |
| 177 | | Type | Value | |
| 178 | +=====================+==========================+ |
| 179 | | Socketed flash | yes | |
| 180 | +---------------------+--------------------------+ |
| 181 | | Model | | W25Q256JV | |
| 182 | | | | MX25L25673G | |
| 183 | +---------------------+--------------------------+ |
| 184 | | Size | 32 MiB | |
| 185 | +---------------------+--------------------------+ |
| 186 | | Package | WSON-8 8x6 mm | |
| 187 | +---------------------+--------------------------+ |
| 188 | | Write protection | chipset PRR | |
| 189 | +---------------------+--------------------------+ |
| 190 | | Dual BIOS feature | no | |
| 191 | +---------------------+--------------------------+ |
| 192 | | Internal flashing | after flashing coreboot | |
| 193 | +---------------------+--------------------------+ |
| 194 | ``` |
| 195 | |
| 196 | The SPI flash can be accessed using [flashrom]. By default, only the |
| 197 | BIOS region of the flash is writable: |
| 198 | |
| 199 | ```bash |
| 200 | flashrom -p internal -N -w coreboot.rom --ifd -i bios |
| 201 | ``` |
| 202 | |
| 203 | If you wish to change any other region, such as the Management Engine |
| 204 | or firmware descriptor, then an external programmer is required. More |
| 205 | information about this [here](../../tutorial/flashing_firmware/index.md). |
| 206 | |
| 207 | ## Working |
| 208 | |
| 209 | - Dual Channel DDR4 2933/2666/2400 MHz; |
| 210 | - Intel UHD Graphics: |
| 211 | - DP (both); |
| 212 | - HDMI; |
| 213 | - VGA Option ROM; |
| 214 | - libgfxinit; |
| 215 | - GOP; |
| 216 | - PCIe x16 Slot (Gen3); |
| 217 | - SATA ports; |
| 218 | - USB 2.0 ports; |
| 219 | - USB 3.2 ports; |
| 220 | - M.2 Key-E 2230 slot for Wireless (PCIe x1, USB 2.0 and CNVi); |
| 221 | - M.2 Key-B 3042/3052 WWAN slot for 4G/5G modem (PCIe x1, USB 3.0); |
| 222 | - M.2 Key-M 2242/2260/2280 for SSD/NVMe (PCIE x4, SATA3); |
| 223 | - LAN1 Intel I225LM/I225V, 10/100/1000/2500 Mbps; |
| 224 | - LAN2 Intel I219LM, 10/100/1000 Mbps; |
| 225 | - Realtek ALC887 HD Audio (line-out, mic-in); |
| 226 | - COM 1/2/3/4 ports (Fintek f81966); |
| 227 | - onboard speaker; |
| 228 | - HWM/FANs control (Fintek f81966); |
| 229 | - S3 suspend and wake; |
| 230 | - TPM; |
| 231 | - disabling ME with me_cleaner [XutaxKamay fork] (v1.2-9-gf20532d). |
| 232 | |
| 233 | ## Unknown/untested |
| 234 | |
| 235 | - eDP/LVDS (currently disabled); |
| 236 | - PCIe riser cards; |
| 237 | - SPDIF; |
| 238 | - SATA RAID. |
| 239 | |
| 240 | [ASRock IMB-1222]: https://web.archive.org/web/20220924171403/https://www.asrockind.com/en-gb/IMB-1222 |
| 241 | [vendor's firmware]: https://web.archive.org/web/20250413105432/https://download.asrock.com/IPC/BIOS/IMB-1222(1.80)ROM.zip |
| 242 | [flashrom]: https://flashrom.org/ |
| 243 | [MrChromebox fork]: https://github.com/MrChromebox/edk2 |
| 244 | [XutaxKamay fork]: https://github.com/XutaxKamay/me_cleaner |
| 245 | [Bliss OS]: https://blissos.org/ |