examples/installer: Add wormdingler knowledge
@@ -35,6 +35,8 @@ module Configuration
return "pine64-pinetab"
when /^google,krane/
return "lenovo-krane"
+ when /^google,wormdingler/
+ return "lenovo-wormdingler"
when /^google,scarlet/
# TODO: detect the actual scarlet model...
return "asus-dumo"
@@ -67,7 +69,7 @@ module Configuration
case identifier
when "pine64-pinephone", "pine64-pinetab", "pine64-pinephonepro"
return "u-boot"
- when "lenovo-krane", "asus-dumo"
+ when "lenovo-krane", "lenovo-wormdingler", "asus-dumo"
return "depthcharge"
end
@@ -96,6 +98,9 @@ module Configuration
when "lenovo-krane"
# MT8183 eMMC
File.join("/dev/disk/by-path", "platform-11230000.mmc")
+ when "lenovo-wormdingler"
+ # Qualcomm 7c eMMC
+ File.join("/dev/disk/by-path", "platform-7c4000.mmc")
end
raise "Unknown target disk" unless path
