Commit Graph

984 Commits

Author SHA1 Message Date
Vincent Chen 32704b0653 feat: [Common] TCC tools related code clean up
Removed the source code related to TCC tools
including DSO switch, SWSRAM switch, TCC subregions
TCC Error Log switch, RTCM, RTCT
The code change applies on TGL/EHL/ADL/RPL/MTL

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-09-06 07:07:57 -07:00
Biswas Arghya 7ac5760e2d feat: [AZB] Update AZB SBL version to 1.4
Update the AZB SBL version to 1.4.

Signed-off-by: Biswas Arghya <arghya.biswas@intel.com>
2024-09-06 07:03:40 -07:00
costel-ignat b61700defd feat:[ADL-P] Add i2c library
Signed-off-by: costel-ignat <costel.ignat@intel.com>
2024-09-05 07:34:59 -07:00
tsaikevin 94ac64c70e
[ADLN] Improve eMMC performance (#2281)
* fix: [ADLN] Prevent to enumerate RP25 and above

PCIe RP25 and above are supported only when PCH seriese is PCH S.
Prevent to enumerate RP25 and above to address resource conflict with eMMC.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>

* fix: [ADLN] Update eMMC driver strength

Update eMMC driver strength 40Ohm for CRB.
Improve performance benchmark result.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>

---------

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-09-03 19:28:16 -07:00
tsaikevin e609296abe
fix: [ARLS] Fix coverity issues (#2279)
Address following coverity issues
1. Integer Overflow or Wraparound (CWE 190)
2. NULL Pointer Dereference (CWD 476)

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-08-29 09:31:09 +08:00
Stanley Chang 78227a9020 fix: [ADL-P] replace magic numbers with pimux def
The commit replaces the magic numbers with the newly added pinmux define.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-08-28 17:18:40 -07:00
randylintw 385cd271aa
fix: [MCL] HDA Verb table set fail (#2272)
The debug fsp report:
  SDI#0: No matching HD-Audio codec verb table found for codec (0x10EC0897).
fix and can see
  SDI#0: Detected HD-Audio Codec 0x10EC0897 rev 0x04
  Found Verb Table for VendorID 0x10EC, DeviceId 0x0897, RevisionID 0xFF (SDI:FF, size: 4 dwords)

Verified on MCL

Signed-off-by: Randy <randy.lin@intel.com>
2024-08-27 14:47:14 +08:00
Sabryna 4b2e125d5e
fix:[ARLH/U] memory SPD data amendment (#2273)
adding the SPD data table into FSPM file

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-26 18:12:32 +08:00
Sabryna 0e742cd4b8
feat:[ARLU] enabling ARLU board configuration (#2271)
update the StitchIfwi_arlu.py separately due to different ACM used

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-26 17:35:11 +08:00
Sabryna 7357a9b615
feat: [ARLH/U] Adding RVP & LP5 binaries stitch configuration (#2268)
Update the option for RVP & LP5 while stitching, add "-o rvp" or "-o lp5" at the end of command

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-22 11:13:45 +08:00
Sabryna 29350127d7
feat: [ARLH/U] Enable LP5 support (#2267)
adding support for MTL_P_LPDDR5_T4_RVP board

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-22 10:18:38 +08:00
Randy 7392c630b3 feat: [MTL] Enable McLaren Island basic boot
Build command:
  python buildloader.py  build mtl
Stitch commmand:
  python Platform\MeteorlakeBoardPkg\Script\StitchIfwi.py  -b fvme
  -s Outputs\mtl\Stitch_Components.zip
  -c Platform\MeteorlakeBoardPkg\Script\StitchIfwiConfig_mcl.py
  -w \Stitchifwi_components_mtl -p mtlp -d 0xAA00001F

Verified base boot with win11/ubuntu 24 on Intel McLaren Island Reference Design Board.

Know issues:
* Dp++, HDMI 2.1 not enabling.
* S0ix not enabling.
* USB 3.2 stack CON with usb4-c not enabling.

Signed-off-by: Randy <randy.lin@intel.com>
2024-08-21 08:35:23 -07:00
Vincent Chen cb83f60f62 fix: [EHL] Windows cannot enable WOL for PCH GbE
The "Allow this device to wake the computer" option
(Device Manager => Network adaptors => Properties of PCH GbE
 => Power Management) is grayed out in Windows.
Added the "_PRW" ACPI method to enable the feature.

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-08-21 08:33:31 -07:00
Stanley Chang 5075639596 fix: [ASL] remove deprecated PLATFORM_ASL
The PLATFORM_{NAME} macro is dynamically defined by BuildUtility.py, which
is based on the board file name. Since ASL has been merged into ADL-N, the
PLATFORM_ASL macro has become obsolete and is no longer valid. This commit
removes all instances of the deprecated PLATFORM_ASL.

Additionally, this commit addresses an issue where PLATFORM_ADLN was not
defined in Stage1ABoardInitLib.c during the build process for ADL-N. The cause
was that ConfigDataStruct.h was not included.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-08-21 08:32:40 -07:00
Sindhura Grandhi 50c41451a7 [ARL]: Assign CPU Name for Arrowlake SKUs
Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2024-08-21 08:27:06 -07:00
Sabryna 8655f053c6
fix: [ARLH] Fix watchdog hang on system (#2263)
Enabling the WatchDog & TcoTimer options to avoid hang on system

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-20 12:59:05 +08:00
tsaikevin fcc847034c
feat: [ARL] Adjust MTRR to cover full flash (#2260)
This patch adjusted MTRR settings during PostTempRamInit notification to cover full flash
code region if Boot Guard profile 0 is used or Fast Boot is enabled.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-08-16 15:34:40 +08:00
tsaikevin 0db19df9b3
fix [ARL] Check EC device existence on board (#2258)
Check EC device existence before sending command.
The patch prevents waiting for timeout when reading BoardId.

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-08-16 11:47:03 +08:00
Guo Dong 13a07c93f5
ARL: Update FSP-T UPD code region (#2257)
The FSP UPD code region should try to cover SBL Stage1A and Stage1B
with a minimum region size. It would impact MTRR settings before memory
init and the MTRR settings would be updated after FspTempRamExit().

Reduce the code region size could improve boot performance for some
SKUs.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-08-16 11:45:31 +08:00
Vincent Chen f42e13e22c feat: [EHL] enable eMMC HS400 mode by default
modified the EMH4 object in ACPI PCH NVS area

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-08-15 08:15:39 -07:00
Antara Borwankar 224b2f4c5a fix:[ARL-H] Added BiosRedAssistance setting in stitch config
BiosRedAssistance setting is added to stitch config.
By default it is disabled. Enable for FW resiliancy.

Signed-off-by: Antara Borwankar <antara.borwankar@intel.com>
2024-08-12 16:56:05 -07:00
ongeelim faf6b82b98
fix: [ARL] Fix SBL build issue in Linux (#2251)
Accidental removal of EFIAPI from CalculateRelativePower function in
Stage2BoardInitLib.c caused GCC to issue incompatible-pointer-types error.
This patch addresses the build issue.

Signed-off-by: Ong Ee Lim <ee.lim.ong@intel.com>
2024-08-12 09:35:15 -04:00
Sabryna 9173111b86
feat: [ARLH] Enable UPDs to follow SiConfigData (#2249)
PchLockDownBiosLock & PchLockDownGlobalSmi follow board SiCfgData

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-08 16:41:19 +08:00
Sabryna e318f1349b
fix: [ARL] correcting PlatformDebugOption UPD (#2247)
PlatformDebugConsent -> PlatformDebugOption

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-08-02 16:01:17 +08:00
randylintw 808eb64f89
fix: [MTL] Debug fsp log go to wrong port (#2243)
Issue: fsp debug log goes to EC port on RVP.
This fix also require FSP update to BIOS version 4053_51 or newer.

Signed-off-by: Randy <randy.lin@intel.com>
2024-08-02 15:47:27 +08:00
ongeelim 812a83f4b2
feat: [ARLS] Update IFWI ingredient list in StitchIfwiConfig.py (#2245)
Newer ARL-S silicon only has one DMU binary and one PUNIT binary
components.

Signed-off-by: Ong Ee Lim <ee.lim.ong@intel.com>
2024-08-01 07:27:40 -04:00
Randy 34a701932d feat: [RPLS] Update MR4 Release
FSP version is 0C00DE40
platform version is 1.4
Microcode Files are: ['m_07_90672_00000036.pdb', 'm_32_b0671_00000123.pdb']

Signed-off-by: Randy <randy.lin@intel.com>
2024-07-31 08:42:41 -07:00
Sindhura Grandhi 472586d1cd feat:[ARLS] Update HeciMeExt Library to accomodate all ARL SKUs
- Update Common MeChipsetLib to account for ARLS Me Bus.
  Now,the bus number comes from Platform code:
  if ARLS bus = 0x80, else bus = 0x0
- Update Heci Pci read calls in HeciMeExtLib to account for
  both ARLS and ARL U/H  BDF differences.
- Delete ARL specific MeChipset header files as it now uses
  common header files from Common Package.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2024-07-31 08:39:22 -07:00
Vincent Chen d009ecffc5
[MTL] Update FSP/UCODE/VBT for MR1 release (#2241)
- FSP: IoT MTL-UH_MTL-PS MR1 (0D.E0.B8.40)
- Microcode: 1e
- VBT: 256
- platform version: 1.1

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-07-31 10:52:24 +08:00
kokweich 23111c87db
fix: [ARL-S] Fixed S0ix failing due to incorrect PCI ASPM and L1 config (#2225)
S0ix failed when NVME attached due to incorrect PCI device configuration
Ported RootPortDownStreamPmConfiguration and related Libraries
To fix incorrect PCIE ASPM and L1 Configuration

Implementation is silicon-dependent due to registers definition

This implementation is using the following ADL PCIE PM PATCH as reference
3bbfe44bec

Signed-off-by: kokweich <kok.wei.chan@intel.com>
2024-07-29 15:20:41 -07:00
randylintw b0b951276e
fix: [RPLP] Stitch fail when missing diag acm binary (#2238)
Cause by cefbf78dae.
The default build will include the DACM region and the replace file should be present during stitch step.

Add fusa stitch option for users who want to replace that component in the BIOS.

Signed-off-by: Randy <randy.lin@intel.com>
2024-07-29 09:43:22 +08:00
Vincent Chen fe7c3393e8
[RPLP] Update for MR2 release (#2239)
- FSP version is NEX RPL-P MR2 (0C.01.DE.40)
- Microcode version is 411d
- VBT version is 253
- platform version is 1.2

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-07-29 09:42:59 +08:00
Vincent Chen dc3ab7d5ab fix: [EHL] WOL is not working in PCH GbE port
modify GPIO GPP_U0 (RGMII2_INT) for PCH GbE

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-07-25 10:48:29 -07:00
bejeanmo 6782c945b4
feat: [RPL-PS] Upstream RPL-PS code. (#2231)
Add RPL-PS Platform code to public repo.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2024-07-24 11:59:49 -07:00
Sindhura Grandhi b6734ab7b7 [ARLS] Remove project specific Me Chipset Library
- Use MeChipsetLib from the Common Soc package and remove
  Silicon specific as its redundant

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2024-07-23 21:38:07 -07:00
Sindhura Grandhi 93afe0f4f7 [RPLP] Increase OS loader size to resolve build failure
Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2024-07-23 21:37:00 -07:00
Randy cefbf78dae feat: [RPLP] support loading diagnostic acm binary
Signed-off-by: Randy <randy.lin@intel.com>
2024-07-18 08:24:32 -07:00
Antara Borwankar fdd17f9d0a fix: [ARL-H] Updated BPMGEN2 struct version
Changed BpmStrutVersion and CnbsInclude bpmgen2 params

Signed-off-by: Antara Borwankar <antara.borwankar@intel.com>
2024-07-18 08:16:59 -07:00
Stanley Chang eee03534ed [ADL-N] fix: ACPI Gpio tables
This commit has the following changes:
1. Incorporates the omitted PcdAdlLpSupport to ensure the proper GPIO groups
   are loaded for ADL-N.
2. Corrects the ACPI definitions for ADL-N GPIO communities.
3. Aligns the _HID of the ADL-N GPIO Controller with the Linux kernel's
   pinctrl driver.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-07-17 08:39:59 -07:00
Antara Borwankar c63668ec8e feat : [ARLS] Enabling sbl resiliancy
Changing TcoBase for Tco timer for sbl resiliancy

Signed-off-by: Antara Borwankar <antara.borwankar@intel.com>
2024-07-15 07:40:11 -07:00
Randy 1a59c634d1 fix: [TGL] Disable Fusa by deafult
To avoid the POSC module loading by default build.

Signed-off-by: Randy <randy.lin@intel.com>
2024-07-15 07:37:51 -07:00
Vincent Chen 416b29f0b3 fix: [EHL] modify ACPI method name to resolve GbE auto-negotiation issue
Ethernet auto-negotiation failed since the ACPI calling method of
Windows GbE driver is changed from "_IPC" to "IPCG",
starting from version 5.123.23.601. Hence, in INTC1033 ACPI device,
change the ACPI method name accordingly.

Signed-off-by: Vincent Chen <vincent.chen@intel.com>
2024-07-15 07:32:46 -07:00
Sindhura Grandhi e564a081b3 [ARL]: Fix for PCH Global reset
Add logic to actually trigger a full reset of the system.

Signed-off-by: Sindhura Grandhi <sindhura.grandhi@intel.com>
2024-07-15 07:27:44 -07:00
Guo Dong 967c04f964
[ARL]: clean up the code and correct debug port setting (#2228)
Removed commented code and debug port80 output.
UART debug port is hard-coded to 2. this should come
from the board configuration.

Signed-off-by: Guo Dong <guo.dong@intel.com>
2024-07-12 09:20:31 -07:00
Yugendran Sreetharan 452a9fbc40
feat:[ARL-S] adding support for ARL-S RVP S-04 board (#2222)
Adding support for ARL-S RVP S-04 board

Signed-off-by: Yugendran Sreetharan <yugendran.sreetharan@intel.com>
2024-07-09 13:18:45 +08:00
randylintw e384372cdd
feat: [ADLN] MR5 update (#2216)
* Update FSP/UCODE/for MR5 release

    - update FSP version to IoT ADL-N MR5 (0C028940)
    - update Microcode version to 17
    - update platform version to 1.5

Basic boot tested on ADL-N CRB.

Signed-off-by: Randy <randy.lin@intel.com>
2024-07-03 09:20:07 -07:00
tsaikevin 87b1074a0f
[UPX i12] Enable UPX i12 RPL-P (#2214)
Add support for Up Xtreme i12 RPL-P based board.
The PCIe M.2 slot CN11 on the board is able to detect NVMe SSD.
Debug output is enabled at header CN9 on the board(e.g. UART1)
Tested to boot with OS loader payload and UEFI payload.

To stitch the SlimBootloader.bin with IFWI uses StitchLoader.py script with '-p' as given below:

python Platform/AlderlakeBoardPkg/Script/StitchLoader.py -i <BIOS_IMAGE_NAME> -s Outputs/rplp/SlimBootloader.bin -o sbl_upx12rp_ifwi.bin -p 0xAA000114

Signed-off-by: Kevin Tsai <kevin.tsai@intel.com>
2024-07-03 08:23:52 +08:00
randylintw 7caff18940
feat: [ADL] Separate Fsp version by project (#2208)
When the fsp.git commit id is updated,
it will update all platform fsp versions without testing.
Also adjust the fd size in adln50 project to avoid build break.

Signed-off-by: Randy <randy.lin@intel.com>
2024-07-02 11:28:38 +08:00
Sabryna aec413ed57
feat: [ARLH] update the gpio and board details for arlh platform (#2215)
update the gpio table for arlh and amend the board naming

Signed-off-by: Syahirah Sabryna <nur.syahirah.sabryna.mohmad@intel.com>
2024-07-02 11:05:46 +08:00
stanley b81f41924d
fix: improve the DX for RsvdSmbusAddressTablePtr #2207 (#2211)
The patch improves the dev experience for configuring FSP-M UPDs:
RsvdSmbusAddressTablePtr and PchNumRsvdSmbusAddresses: Prior to this patch,
developers had to apply a memory patch at address 0xfffc3ff8, which was
cumbersome and inconvenient. With the introduction of this patch, developers
can now directly modify the DLT, simplifying the configuration steps and
improving workflow efficiency.

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-06-27 16:36:07 +08:00