Skip to content

Commit

Permalink
Added Patch DTC function
Browse files Browse the repository at this point in the history
  • Loading branch information
pocopico committed Mar 15, 2022
1 parent 6a98d04 commit 75e9fb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rploader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ modextention="https://github.com/pocopico/rp-ext/raw/main/rpext-index.json"
modalias4="https://raw.githubusercontent.com/pocopico/tinycore-redpill/main/modules.alias.4.json.gz"
modalias3="https://raw.githubusercontent.com/pocopico/tinycore-redpill/main/modules.alias.3.json.gz"
dtcbin="https://raw.githubusercontent.com/pocopico/tinycore-redpill/main/dtc"
dtsfiles="https://raw.githubusercontent.com/pocopico/tinycore-redpill/main"

# END Do not modify after this line
######################################################################################################
Expand Down Expand Up @@ -44,7 +45,7 @@ localnvme=`lsblk |grep -i nvme |awk '{print $1}' `
if [ -!f ${SYNOMODEL}.dts ] ; then

echo "dts file for ${SYNOMODEL} not found, trying to download"
curl --location --progress-bar -O "https://raw.githubusercontent.com/pocopico/tinycore-redpill/main/${SYNOMODEL}.dts"
curl --location --progress-bar -O "${dtsfiles}/${SYNOMODEL}.dts"

fi

Expand Down Expand Up @@ -685,7 +686,7 @@ Actions: build, ext, download, clean, update, listmod, serialgen, identifyusb, s
- identifyusb: Tries to identify your loader usb stick VID:PID and updates the user_config.json file
- patchdtc: Tries to identify and patch your dtc model for your disk and nvme devices
- patchdtc: Tries to identify and patch your dtc model for your disk and nvme devices.
- satamap: Tries to identify your SataPortMap and DiskIdxMap values and updates the user_config.json file
Expand Down

0 comments on commit 75e9fb6

Please sign in to comment.