Skip to content

Commit 6f242d7

Browse files
committed
Add RWL support for MTL device SCREEBO (untested)
Signed-off-by: Matt DeVillier <[email protected]>
1 parent 0c9bf66 commit 6f242d7

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

firmware.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ function flash_rwlegacy()
5252
rwlegacy_file=$rwl_altfw_adl
5353
elif [ "$isAdlN" = true ]; then
5454
rwlegacy_file=$rwl_altfw_adl_n
55+
elif [ "$isMtl" = true ]; then
56+
rwlegacy_file=$rwl_altfw_mtl
5557
elif [ "$isStr" = true ]; then
5658
rwlegacy_file=$rwl_altfw_stoney
5759
elif [ "$isPco" = true ]; then

functions.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ isJsl=false
4242
isTgl=false
4343
isAdl=false
4444
isAdlN=false
45+
isMtl=false
4546
isUnsupported=false
4647
firmwareType=""
4748
isStock=true
@@ -100,6 +101,7 @@ adl_n=('anraggar' 'anraggar360' 'craask' 'craaskana' 'craaskbowl' 'craaskino' 'c
100101
'joxer' 'joxero' 'nereid' 'nirwin' 'nivviks' 'pujjo1e' 'pujjo' 'pujjoflex' 'pujjoteen' 'pujjoteen15w' \
101102
'quandiso' 'quandiso360' 'uldren' 'uldren360' 'xivu' 'xivu360' 'yahiko' 'yavijo' 'yaviks' \
102103
'yavikso' 'yavilla' 'yavilly')
104+
mtl=('rex' 'screebo')
103105

104106
str=('aleena' 'barla' 'careena' 'grunt' 'kasumi' 'liara' 'treeya' 'treeya360')
105107
pco=('berknip' 'dirinboz' 'ezkinil' 'gumboz' 'jelboz360' 'morphius' 'vilboz' 'woomax')
@@ -935,6 +937,7 @@ case "${_hwid}" in
935937
SARIEN*) _x='WHL|Dell Latitude 5400' ;;
936938
SASUKETTE*) _x='JSL|Samsung Galaxy Chromebook Go 11' ;;
937939
SASUKE*) _x='JSL|Samsung Galaxy Chromebook Go' ;;
940+
SCREEBO*) _x='MTL|ASUS ExpertBook CX54 Chromebook Plus (CX5403)' ;;
938941
SENTRY*) _x='SKL|Lenovo Thinkpad 13 Chromebook' ;;
939942
SETZER*) _x='BSW|HP Chromebook 11 G5' ;;
940943
SHYVANA*) _x='KBL|Asus Chromebook Flip C433/C434' ;;
@@ -1038,6 +1041,7 @@ JSL) deviceCpuType="Intel JasperLake" ;;
10381041
TGL) deviceCpuType="Intel TigerLake" ;;
10391042
ADL) deviceCpuType="Intel AlderLake/RaptorLake-U/P" ;;
10401043
ADN) deviceCpuType="Intel AlderLake-N" ;;
1044+
MTL) deviceCpuType="Intel Meteorlake" ;;
10411045
STR) deviceCpuType="AMD StoneyRidge" ;;
10421046
PCO) deviceCpuType="AMD Picasso" ;;
10431047
CZN) deviceCpuType="AMD Cezanne" ;;
@@ -1071,6 +1075,7 @@ diagnostic_report_set deviceCpuType.Name "$deviceCpuType"
10711075
[[ "${tgl[@]}" =~ "$device" ]] && isTgl=true
10721076
[[ "${adl[@]}" =~ "$device" ]] && isAdl=true
10731077
[[ "${adl_n[@]}" =~ "$device" ]] && isAdlN=true
1078+
[[ "${mtl[@]}" =~ "$device" ]] && isMtl=true
10741079
[[ "${cml_boxes[@]}" =~ "$device" ]] && isCmlBox=true
10751080
[[ "${cml_books[@]}" =~ "$device" ]] && isCmlBook=true
10761081
[[ "${UEFI_ROMS[@]}" =~ "$device" ]] && hasUEFIoption=true
@@ -1079,13 +1084,15 @@ diagnostic_report_set deviceCpuType.Name "$deviceCpuType"
10791084
|| "$isKbl" = true || "$isStr" = true || "$isWhl" = true \
10801085
|| "$isGlk" = true || "$isCml" = true || "$isPco" = true \
10811086
|| "$isJsl" = true || "$isTgl" = true || "$isAdl" = true \
1082-
|| "$isCzn" = true || "$isMdn" = true || "$isAdlN" = true ]] || isUnsupported=true
1087+
|| "$isCzn" = true || "$isMdn" = true || "$isAdlN" = true \
1088+
|| "$isMtl" = true ]] || isUnsupported=true
10831089
[[ "$isHswBox" = true || "$isBdwBox" = true || "${kbl_boxes[@]}" =~ "$device" \
10841090
|| "$device" = "ninja" || "$device" = "buddy" ]] && hasLAN=true
10851091
[[ "$isApl" = true || "$isKbl" = true || "$isStr" = true || "$isWhl" = true \
10861092
|| "$isGlk" = true || "$isCml" = true || "$isPco" = true \
10871093
|| "$isJsl" = true || "$isTgl" = true || "$isAdl" = true \
1088-
|| "$isCzn" = true || "$isMdn" = true || "$isAdlN" = true ]] && hasCR50=true
1094+
|| "$isCzn" = true || "$isMdn" = true || "$isAdlN" = true \
1095+
|| "$isMtl" = true ]] && hasCR50=true
10891096
[[ "$device" = "rammus" || "$isGlk" = true ]] && useAltfwStd=true
10901097
[[ "${eol_devices[@]}" =~ "$device" ]] && isEOL=true || isEOL=false
10911098

sources.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export rwl_altfw_pco="rwl_altfw_pco-mrchromebox_20240412.bin"
346346
export rwl_altfw_tgl="rwl_altfw_tgl-mrchromebox_20240729.bin"
347347
export rwl_altfw_adl="rwl_altfw_adl-mrchromebox_20240417.bin"
348348
export rwl_altfw_adl_n="rwl_altfw_adl_n-mrchromebox_20230829.bin"
349+
export rwl_altfw_mtl="rwl_altfw_mtl-mrchromebox_20250307.bin"
349350
export rwl_altfw_mdn="rwl_altfw_mdn-mrchromebox_20230727.bin"
350351
export rwl_altfw_czn="rwl_altfw_czn-mrchromebox_20230907.bin"
351352

0 commit comments

Comments
 (0)