fix something

This commit is contained in:
Ing 2024-07-06 02:59:42 +08:00
parent 7617785f2d
commit fac02ba250
27 changed files with 5905 additions and 5815 deletions

View File

@ -1,9 +0,0 @@
CFLAGS = -Wall -pedantic
all: fbsize
fbsize: main.o
cc -o $@ $^
clean:
rm -f fbsize *.o

Binary file not shown.

View File

@ -1,99 +0,0 @@
/*
* Copyright (C) 2022 Ing <https://github.com/wjz304>
*
* This is free software, licensed under the MIT License.
* See /LICENSE for more information.
*
*/
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <linux/fb.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <getopt.h>
#define VERSION "1.0"
int main(int argc, char *argv[])
{
int c;
while (1)
{
int option_index = 0;
static struct option long_options[] = {
{"resolution", required_argument, 0, 'r'},
{"buffer", required_argument, 0, 'b'},
{"offset", required_argument, 0, 'o'},
{"screen", required_argument, 0, 's'},
{"help", no_argument, 0, 'h'},
{0, 0, 0, 0}};
c = getopt_long(argc, argv, "r:b:o:s:h", long_options, &option_index);
if (c == -1)
break;
switch (c)
{
case 'r':
case 'b':
case 'o':
case 's':
int fbfd = 0;
struct fb_var_screeninfo var_info;
// 打开设备文件
fbfd = open(optarg, O_RDWR);
if (fbfd == -1)
{
perror("Error: cannot open framebuffer device");
return 1;
}
// 获取屏幕参数
if (ioctl(fbfd, FBIOGET_VSCREENINFO, &var_info) == -1)
{
perror("Error reading variable information");
return 1;
}
if (c == 'r')
{
printf("%dx%d\n", var_info.xres, var_info.yres);
}
else if (c == 'b')
{
printf("%dx%d\n", var_info.xres_virtual, var_info.yres_virtual);
}
else if (c == 'o')
{
printf("%dx%d\n", var_info.xoffset, var_info.yoffset);
}
else if (c == 's')
{
printf("%dx%d\n", var_info.height, var_info.width);
}
// 关闭设备文件
close(fbfd);
break;
case 'h':
case '?':
printf("Usage: %s [options] <framebuffer_device>\n", argv[0]);
printf("Version: %s\n", VERSION);
printf("Options:\n");
printf(" -r, --resolution Display the resolution of the screen\n");
printf(" -b, --buffer Display the resolution of the framebuffer\n");
printf(" -o, --offset Display the offset of the screen\n");
printf(" -s, --screen Display the size of the screen\n");
printf(" -h, --help Display this help message\n");
return 0;
default:
return 1;
}
}
return 0;
}

View File

@ -141,18 +141,20 @@ else
CMDLINE["syno_hdd_detect"]="0"
CMDLINE["syno_hdd_powerup_seq"]="0"
fi
CMDLINE['panic']="${KERNELPANIC:-0}"
CMDLINE['console']="ttyS0,115200n8"
# CMDLINE['no_console_suspend']="1"
CMDLINE['consoleblank']="600"
CMDLINE['earlyprintk']=""
CMDLINE['earlycon']="uart8250,io,0x3f8,115200n8"
CMDLINE['root']="/dev/md0"
CMDLINE['skip_vender_mac_interfaces']="0,1,2,3,4,5,6,7"
CMDLINE['loglevel']="15"
CMDLINE['log_buf_len']="32M"
CMDLINE["HddHotplug"]="1"
CMDLINE["vender_format_version"]="2"
CMDLINE['skip_vender_mac_interfaces']="0,1,2,3,4,5,6,7"
CMDLINE['earlyprintk']=""
CMDLINE['earlycon']="uart8250,io,0x3f8,115200n8"
CMDLINE['console']="ttyS0,115200n8"
CMDLINE['consoleblank']="600"
# CMDLINE['no_console_suspend']="1"
CMDLINE['root']="/dev/md0"
CMDLINE['rootwait']=""
CMDLINE['loglevel']="15"
CMDLINE['log_buf_len']="32M"
CMDLINE['panic']="${KERNELPANIC:-0}"
# if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ] && [ ! "${BUS}" = "mmc" ] && [ ! "${EMMCBOOT}" = "true" ]; then
# [ ! "${CMDLINE['modprobe.blacklist']}" = "" ] && CMDLINE['modprobe.blacklist']+=","
@ -173,16 +175,6 @@ if echo "purley broadwellnkv2" | grep -wq "${PLATFORM}"; then
CMDLINE["SASmodel"]="1"
fi
if echo "apollolake geminilake purley" | grep -wq "${PLATFORM}"; then
if grep -q "^flags.*x2apic.*" /proc/cpuinfo; then
eval $(grep -o "RR_CMDLINE=.*$" "${USER_GRUB_CONFIG}")
[ -z "${RR_CMDLINE}" ] && RR_CMDLINE="bzImage-rr"
echo "${RR_CMDLINE}" | grep -q 'nox2apic' || sed -i "s|${RR_CMDLINE}|${RR_CMDLINE} nox2apic|" "${USER_GRUB_CONFIG}"
fi
else
grep -q ' nox2apic' "${USER_GRUB_CONFIG}" && sed -i "s| nox2apic||" "${USER_GRUB_CONFIG}"
fi
while IFS=': ' read KEY VALUE; do
[ -n "${KEY}" ] && CMDLINE["network.${KEY}"]="${VALUE}"
done <<<$(readConfigMap "network" "${USER_CONFIG_FILE}")
@ -201,15 +193,25 @@ done
CMDLINE_LINE=$(echo "${CMDLINE_LINE}" | sed 's/^ //') # Remove leading space
echo -e "$(TEXT "Cmdline:\n")\033[1;36m${CMDLINE_LINE}\033[0m"
# Save command line to grubenv
if echo "apollolake geminilake purley" | grep -wq "${PLATFORM}"; then
if grep -q "^flags.*x2apic.*" /proc/cpuinfo; then
checkCmdline "rr_cmdline" "nox2apic" || addCmdline "rr_cmdline" "nox2apic"
fi
else
checkCmdline "rr_cmdline" "nox2apic" && delCmdline "rr_cmdline" "nox2apic"
fi
DIRECT="$(readConfigKey "directboot" "${USER_CONFIG_FILE}")"
if [ "${DIRECT}" = "true" ]; then
CMDLINE_DIRECT=$(echo ${CMDLINE_LINE} | sed 's/>/\\\\>/g') # Escape special chars
grub-editenv ${USER_GRUBENVFILE} set dsm_cmdline="${CMDLINE_DIRECT}"
echo -e "\033[1;33m$(TEXT "Reboot to boot directly in DSM")\033[0m"
grub-editenv ${USER_GRUBENVFILE} set next_entry="direct"
echo -e "\033[1;33m$(TEXT "Reboot to boot directly in DSM")\033[0m"
reboot
exit 0
else
grub-editenv ${USER_GRUBENVFILE} unset dsm_cmdline
grub-editenv ${USER_GRUBENVFILE} unset next_entry
ETHX=$(ls /sys/class/net/ 2>/dev/null | grep -v lo) || true
echo "$(printf "$(TEXT "Detected %s network cards.")" "$(echo ${ETHX} | wc -w)")"
echo -en "$(TEXT "Checking Connect.")"

Binary file not shown.

View File

@ -304,6 +304,47 @@ function getLogo() {
return 0
}
###############################################################################
# check Cmdline
# 1 - key name
# 2 - key string
function checkCmdline() {
return $(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2- | grep -q "${2}")
}
###############################################################################
# get logo of model
# 1 - key name
# 2 - key string
function setCmdline() {
[ -z "${1}" ] && return 1
if [ -n "${2}" ]; then
grub-editenv ${USER_GRUBENVFILE} set "${1}=${2}"
else
grub-editenv ${USER_GRUBENVFILE} unset "${1}"
fi
}
###############################################################################
# get logo of model
# check Cmdline
# 1 - key name
# 2 - key string
function addCmdline() {
local CMDLINE="$(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2-)"
[ -n "${CMDLINE}" ] && CMDLINE="${CMDLINE} ${2}" || CMDLINE="${2}"
setCmdline "${1}" "${CMDLINE}"
}
###############################################################################
# get logo of model
# 1 - model
function delCmdline() {
local CMDLINE="$(grub-editenv ${USER_GRUBENVFILE} list 2>/dev/null | grep "^${1}=" | cut -d'=' -f2-)"
CMDLINE="$(echo "${CMDLINE}" | sed "s/ *${2}//; s/^[[:space:]]*//;s/[[:space:]]*$//")"
setCmdline "${1}" "${CMDLINE}"
}
###############################################################################
# Rebooting
# 1 - mode

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-25 08:50+0800\n"
"POT-Creation-Date: 2024-07-06 01:37+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -21,7 +21,7 @@ msgstr ""
msgid "Loader is not init!"
msgstr ""
#: boot.sh:10 init.sh:145
#: boot.sh:10 init.sh:144
msgid "Loader is not configured!"
msgstr ""
@ -83,71 +83,71 @@ msgid ""
"for the bootloader disk."
msgstr ""
#: boot.sh:188
#: boot.sh:194
msgid "Cmdline:\\n"
msgstr ""
#: boot.sh:194
#: boot.sh:209
msgid "Reboot to boot directly in DSM"
msgstr ""
#: boot.sh:200 init.sh:158
#: boot.sh:216 init.sh:157
msgid "Detected %s network cards."
msgstr ""
#: boot.sh:201 init.sh:159
#: boot.sh:217 init.sh:158
msgid "Checking Connect."
msgstr ""
#: boot.sh:213 init.sh:169
#: boot.sh:229 init.sh:168
msgid "connected."
msgstr ""
#: boot.sh:220 init.sh:176
#: boot.sh:239 init.sh:178
msgid "Waiting IP."
msgstr ""
#: boot.sh:227 init.sh:183
#: boot.sh:246 init.sh:185
msgid "DOWN"
msgstr ""
#: boot.sh:231 init.sh:187
#: boot.sh:250 init.sh:189
msgid "NOT CONNECTED"
msgstr ""
#: boot.sh:235 init.sh:191
#: boot.sh:254 init.sh:193
msgid "TIMEOUT (Please check the IP on the router.)"
msgstr ""
#: boot.sh:242 init.sh:198
#: boot.sh:261 init.sh:200
msgid "LINK LOCAL (No DHCP server detected.)"
msgstr ""
#: boot.sh:244
#: boot.sh:263
msgid "Access \\033[1;34mhttp://%s:5000\\033[0m to connect the DSM via web."
msgstr ""
#: boot.sh:257
#: boot.sh:276
msgid "%2ds (Changing access(ssh/web) status will interrupt boot)"
msgstr ""
#: boot.sh:261
#: boot.sh:280
msgid "access(ssh/web) status has changed and booting is interrupted."
msgstr ""
#: boot.sh:271
#: boot.sh:290
msgid "Loading DSM kernel ..."
msgstr ""
#: boot.sh:288
#: boot.sh:307
msgid "Warning, running kexec with --noefi param, strange things will happen!!"
msgstr ""
#: boot.sh:292
#: boot.sh:311
msgid "Booting ..."
msgstr ""
#: boot.sh:294
#: boot.sh:313
msgid ""
"[This interface will not be operational. Please wait a few minutes.\\nFind "
"DSM via http://find.synology.com/ or Synology Assistant and connect.]"
@ -159,57 +159,57 @@ msgid ""
"network!"
msgstr ""
#: init.sh:121
msgid "Loader disk neither USB or SATA/SCSI/NVME/MMC DoM"
#: init.sh:120
msgid "Loader disk neither USB or SATA/SCSI/NVME/MMC/XEN DoM"
msgstr ""
#: init.sh:130
#: init.sh:129
msgid "Loader disk:"
msgstr ""
#: init.sh:138
#: init.sh:137
msgid "Loading keymap"
msgstr ""
#: init.sh:148
#: init.sh:147
msgid "User requested edit settings."
msgstr ""
#: init.sh:200
#: init.sh:202
msgid ""
"Access \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via web "
"terminal."
msgstr ""
#: init.sh:211
#: init.sh:213
msgid "Call \\033[1;32minit.sh\\033[0m to re get init info"
msgstr ""
#: init.sh:212
#: init.sh:214
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
msgstr ""
#: init.sh:214
#: init.sh:216
msgid "User config is on"
msgstr ""
#: init.sh:215
#: init.sh:217
msgid "TTYD: \\033[1;34mhttp://rr:7681/\\033[0m"
msgstr ""
#: init.sh:216
#: init.sh:218
msgid "DUFS: \\033[1;34mhttp://rr:7304/\\033[0m"
msgstr ""
#: init.sh:217
#: init.sh:219
msgid "TTYD&DUFS: \\033[1;34mhttp://rr:80/\\033[0m"
msgstr ""
#: init.sh:219
#: init.sh:221
msgid "Default SSH \\033[1;31mroot\\033[0m password is"
msgstr ""
#: init.sh:237
#: init.sh:239
msgid ""
"You have less than 4GB of RAM, if errors occur in loader creation, please "
"increase the amount of memory."
@ -314,10 +314,10 @@ msgid ""
"option.\\n"
msgstr ""
#: menu.sh:443 menu.sh:453 menu.sh:3202 menu.sh:3203 menu.sh:3204 menu.sh:3205
#: menu.sh:3206 menu.sh:3207 menu.sh:3213 menu.sh:3238 menu.sh:3250
#: menu.sh:3262 menu.sh:3274 menu.sh:3289 menu.sh:3300 menu.sh:3317
#: menu.sh:3336
#: menu.sh:443 menu.sh:453 menu.sh:3217 menu.sh:3218 menu.sh:3219 menu.sh:3220
#: menu.sh:3221 menu.sh:3222 menu.sh:3228 menu.sh:3253 menu.sh:3265
#: menu.sh:3277 menu.sh:3289 menu.sh:3304 menu.sh:3315 menu.sh:3332
#: menu.sh:3351
msgid "Update"
msgstr ""
@ -337,9 +337,9 @@ msgstr ""
msgid "Ready!"
msgstr ""
#: menu.sh:494 menu.sh:1326 menu.sh:3356 menu.sh:3426 menu.sh:3444 menu.sh:3524
#: menu.sh:3530 menu.sh:3536 menu.sh:3542 menu.sh:3548 menu.sh:3554
#: menu.sh:3560
#: menu.sh:494 menu.sh:1326 menu.sh:3371 menu.sh:3441 menu.sh:3459 menu.sh:3539
#: menu.sh:3545 menu.sh:3551 menu.sh:3557 menu.sh:3563 menu.sh:3569
#: menu.sh:3575
msgid "Main menu"
msgstr ""
@ -353,11 +353,11 @@ msgstr ""
#: menu.sh:532 menu.sh:549 menu.sh:554 menu.sh:560 menu.sh:571 menu.sh:579
#: menu.sh:602 menu.sh:609 menu.sh:613 menu.sh:627 menu.sh:631 menu.sh:639
#: menu.sh:643 menu.sh:2944 menu.sh:2993 menu.sh:3204 menu.sh:3239 menu.sh:3244
#: menu.sh:643 menu.sh:2959 menu.sh:3008 menu.sh:3219 menu.sh:3254 menu.sh:3259
msgid "Addons"
msgstr ""
#: menu.sh:533 menu.sh:663 menu.sh:843 menu.sh:987 menu.sh:1355 menu.sh:3427
#: menu.sh:533 menu.sh:663 menu.sh:843 menu.sh:987 menu.sh:1355 menu.sh:3442
msgid "Choose a option"
msgstr ""
@ -377,8 +377,8 @@ msgstr ""
msgid "Upload a external addon"
msgstr ""
#: menu.sh:538 menu.sh:670 menu.sh:841 menu.sh:985 menu.sh:1360 menu.sh:2329
#: menu.sh:3210 menu.sh:3424 menu.sh:3522
#: menu.sh:538 menu.sh:670 menu.sh:841 menu.sh:985 menu.sh:1360 menu.sh:2331
#: menu.sh:3225 menu.sh:3439 menu.sh:3537
msgid "Exit"
msgstr ""
@ -408,7 +408,7 @@ msgid ""
"not added.\\n\\n"
msgstr ""
#: menu.sh:608 menu.sh:742 menu.sh:1368 menu.sh:3287
#: menu.sh:608 menu.sh:742 menu.sh:1368 menu.sh:3302
msgid ""
"This feature is only available when accessed via ssh (Requires a terminal "
"that supports ZModem protocol).\\n"
@ -418,7 +418,7 @@ msgstr ""
msgid "Please upload the *.addons file."
msgstr ""
#: menu.sh:628 menu.sh:778 menu.sh:3318 menu.sh:3337
#: menu.sh:628 menu.sh:778 menu.sh:3333 menu.sh:3352
msgid "Not a valid file, please try again!"
msgstr ""
@ -435,8 +435,8 @@ msgid "File format not recognized!"
msgstr ""
#: menu.sh:662 menu.sh:676 menu.sh:689 menu.sh:726 menu.sh:743 menu.sh:753
#: menu.sh:756 menu.sh:772 menu.sh:777 menu.sh:791 menu.sh:797 menu.sh:3008
#: menu.sh:3059 menu.sh:3205 menu.sh:3251 menu.sh:3256
#: menu.sh:756 menu.sh:772 menu.sh:777 menu.sh:791 menu.sh:797 menu.sh:3023
#: menu.sh:3074 menu.sh:3220 menu.sh:3266 menu.sh:3271
msgid "Modules"
msgstr ""
@ -779,7 +779,7 @@ msgstr ""
msgid "The pat url is empty. Please re 'Choose a version' before build."
msgstr ""
#: menu.sh:1216 menu.sh:3357
#: menu.sh:1216 menu.sh:3372
msgid "Cleaning cache ..."
msgstr ""
@ -886,10 +886,10 @@ msgstr ""
#: menu.sh:2061 menu.sh:2064 menu.sh:2079 menu.sh:2083 menu.sh:2089
#: menu.sh:2095 menu.sh:2101 menu.sh:2183 menu.sh:2186 menu.sh:2189
#: menu.sh:2216 menu.sh:2220 menu.sh:2230 menu.sh:2243 menu.sh:2254
#: menu.sh:2331 menu.sh:2358 menu.sh:2376 menu.sh:2397 menu.sh:2409
#: menu.sh:2429 menu.sh:2466 menu.sh:2537 menu.sh:2541 menu.sh:2551
#: menu.sh:2557 menu.sh:2571 menu.sh:2578 menu.sh:2583 menu.sh:2586
#: menu.sh:2602 menu.sh:2632
#: menu.sh:2333 menu.sh:2360 menu.sh:2378 menu.sh:2399 menu.sh:2411
#: menu.sh:2427 menu.sh:2432 menu.sh:2443 menu.sh:2480 menu.sh:2551
#: menu.sh:2555 menu.sh:2565 menu.sh:2571 menu.sh:2585 menu.sh:2592
#: menu.sh:2597 menu.sh:2600 menu.sh:2614 menu.sh:2617 menu.sh:2647
msgid "Advanced"
msgstr ""
@ -1138,7 +1138,7 @@ msgstr ""
msgid "\\Z1No logs found!\\Zn\\n\\n"
msgstr ""
#: menu.sh:2226 menu.sh:2547
#: menu.sh:2226 menu.sh:2561
msgid "Please do as follows:\\n"
msgstr ""
@ -1150,7 +1150,7 @@ msgstr ""
msgid " 2. Wait 10 minutes after booting.\\n"
msgstr ""
#: menu.sh:2229 menu.sh:2550
#: menu.sh:2229 menu.sh:2564
msgid " 3. Reboot into RR and go to this option.\\n"
msgstr ""
@ -1199,448 +1199,456 @@ msgid "kernel switching method:"
msgstr ""
#: menu.sh:2300
msgid "Reboot on kernel panic:"
msgid "Power off display after boot: "
msgstr ""
#: menu.sh:2302
msgid "Use EMMC as the system disk:"
msgid "Reboot on kernel panic:"
msgstr ""
#: menu.sh:2304
msgid "Custom patch script # Developer"
msgstr ""
#: menu.sh:2305
msgid "Edit user config file manually"
msgid "Use EMMC as the system disk:"
msgstr ""
#: menu.sh:2306
msgid "Edit grub.cfg file manually"
msgid "Custom patch script # Developer"
msgstr ""
#: menu.sh:2307
msgid "Edit user config file manually"
msgstr ""
#: menu.sh:2308
msgid "Set static IP"
msgstr ""
#: menu.sh:2309
msgid "Set wireless account"
msgid "Edit grub.cfg file manually"
msgstr ""
#: menu.sh:2310
msgid "Show disks information"
msgid "Set static IP"
msgstr ""
#: menu.sh:2311
msgid "Format disk(s) # Without loader disk"
msgid "Set wireless account"
msgstr ""
#: menu.sh:2312
msgid "Try to recovery a installed DSM system"
msgid "Show disks information"
msgstr ""
#: menu.sh:2313
msgid "Allow downgrade installation"
msgid "Format disk(s) # Without loader disk"
msgstr ""
#: menu.sh:2314
msgid "Reset DSM system password"
msgid "Try to recovery a installed DSM system"
msgstr ""
#: menu.sh:2315
msgid "Add a new user to DSM system"
msgid "Allow downgrade installation"
msgstr ""
#: menu.sh:2316
msgid "Force enable Telnet&SSH of DSM system"
msgid "Reset DSM system password"
msgstr ""
#: menu.sh:2317
msgid "Remove the blocked ip database of DSM"
msgid "Add a new user to DSM system"
msgstr ""
#: menu.sh:2318
msgid "Initialize DSM network settings"
msgid "Force enable Telnet&SSH of DSM system"
msgstr ""
#: menu.sh:2319
msgid "Clone bootloader disk to another disk"
msgid "Remove the blocked ip database of DSM"
msgstr ""
#: menu.sh:2320
msgid "Report bugs to the author"
msgid "Initialize DSM network settings"
msgstr ""
#: menu.sh:2321
msgid "Download DSM config backup files"
msgid "Clone bootloader disk to another disk"
msgstr ""
#: menu.sh:2322
msgid "Install development tools"
msgid "Report bugs to the author"
msgstr ""
#: menu.sh:2323
msgid "Save modifications of '/opt/rr'"
msgid "Download DSM config backup files"
msgstr ""
#: menu.sh:2324
msgid "Install development tools"
msgstr ""
#: menu.sh:2325
msgid "Show QR logo:"
msgstr ""
#: menu.sh:2326
msgid "Set global proxy"
msgid "Save modifications of '/opt/rr'"
msgstr ""
#: menu.sh:2327
msgid "Set github proxy"
msgid "Show QR logo:"
msgstr ""
#: menu.sh:2328
msgid "Set global proxy"
msgstr ""
#: menu.sh:2329
msgid "Set github proxy"
msgstr ""
#: menu.sh:2330
msgid "Vigorously miracle"
msgstr ""
#: menu.sh:2332
#: menu.sh:2334
msgid "Advanced option"
msgstr ""
#: menu.sh:2357
#: menu.sh:2359
msgid "pat: (editable)"
msgstr ""
#: menu.sh:2377
#: menu.sh:2379
msgid "Choose a mode(Only supported for kernel version 4)"
msgstr ""
#: menu.sh:2398 menu.sh:2410 menu.sh:2430
#: menu.sh:2400 menu.sh:2412 menu.sh:2444
msgid "Choose a time(seconds)"
msgstr ""
#: menu.sh:2462
#: menu.sh:2428
msgid "Modifying this item requires a reboot, continue?"
msgstr ""
#: menu.sh:2433 menu.sh:3530 menu.sh:3558
msgid "Reboot to RR"
msgstr ""
#: menu.sh:2476
msgid "This option is only informative.\\n\\n"
msgstr ""
#: menu.sh:2463
#: menu.sh:2477
msgid "This program reserves an interface for ramdisk custom patch scripts.\\n"
msgstr ""
#: menu.sh:2464
#: menu.sh:2478
msgid "Call timing: called before ramdisk packaging.\\n"
msgstr ""
#: menu.sh:2465
#: menu.sh:2479
msgid "Location: /mnt/p3/scripts/*.sh\\n"
msgstr ""
#: menu.sh:2538
#: menu.sh:2552
msgid ""
"Please via %s to download the scbk,\\nAnd unzip it and back it up in order "
"by file name."
msgstr ""
#: menu.sh:2542
#: menu.sh:2556
msgid "Please unzip it and back it up in order by file name."
msgstr ""
#: menu.sh:2546
#: menu.sh:2560
msgid "\\Z1No scbk found!\\Zn\\n\\n"
msgstr ""
#: menu.sh:2548
#: menu.sh:2562
msgid " 1. Add synoconfbkp in addons and rebuild.\\n"
msgstr ""
#: menu.sh:2549
#: menu.sh:2563
msgid " 2. Normal use.\\n"
msgstr ""
#: menu.sh:2558
#: menu.sh:2572
msgid ""
"This option only installs opkg package management, allowing you to install "
"more tools for use and debugging. Do you want to continue?"
msgstr ""
#: menu.sh:2572
#: menu.sh:2586
msgid "opkg installing ..."
msgstr ""
#: menu.sh:2574
#: menu.sh:2588
msgid "opkg install failed."
msgstr ""
#: menu.sh:2576
#: menu.sh:2590
msgid "opkg install complete."
msgstr ""
#: menu.sh:2584
#: menu.sh:2598
msgid ""
"Warning:\\nDo not terminate midway, otherwise it may cause damage to the RR. "
"Do you want to continue?"
msgstr ""
#: menu.sh:2587
#: menu.sh:2601 menu.sh:2615
msgid ""
"Saving ...\\n(It usually takes 5-10 minutes, please be patient and wait.)"
msgstr ""
#: menu.sh:2603
#: menu.sh:2618
msgid "Save is complete."
msgstr ""
#: menu.sh:2644
#: menu.sh:2659
msgid "Alert"
msgstr ""
#: menu.sh:2645
#: menu.sh:2660
msgid "Config changed, would you like to rebuild the loader?"
msgstr ""
#: menu.sh:2662 menu.sh:3417
#: menu.sh:2677 menu.sh:3432
msgid "Choose a language"
msgstr ""
#: menu.sh:2677
#: menu.sh:2692
msgid "Choose a layout"
msgstr ""
#: menu.sh:2689
#: menu.sh:2704
msgid "Choice a keymap"
msgstr ""
#: menu.sh:2708 menu.sh:2806 menu.sh:2944 menu.sh:3008 menu.sh:3074
#: menu.sh:3130
#: menu.sh:2723 menu.sh:2821 menu.sh:2959 menu.sh:3023 menu.sh:3089
#: menu.sh:3145
msgid "Update %s"
msgstr ""
#: menu.sh:2709
#: menu.sh:2724
msgid "Checking last version ..."
msgstr ""
#: menu.sh:2726
#: menu.sh:2741
msgid "Error checking new version.\\nError: TAG is %s"
msgstr ""
#: menu.sh:2739
#: menu.sh:2754
msgid "No new version."
msgstr ""
#: menu.sh:2743
#: menu.sh:2758
msgid "Actual version is %s.\\nForce update?"
msgstr ""
#: menu.sh:2756
#: menu.sh:2771
msgid "Do you want to update?"
msgstr ""
#: menu.sh:2776
#: menu.sh:2791
msgid ""
"Error downloading new version.\\nError: %d:%d\\n(Please via https://curl.se/"
"libcurl/c/libcurl-errors.html check error description.)"
msgstr ""
#: menu.sh:2786
#: menu.sh:2801
msgid "Downloading ..."
msgstr ""
#: menu.sh:2806 menu.sh:2931 menu.sh:3203 menu.sh:3232
#: menu.sh:2821 menu.sh:2946 menu.sh:3218 menu.sh:3247
msgid "RR"
msgstr ""
#: menu.sh:2807 menu.sh:2945 menu.sh:3009 menu.sh:3075 menu.sh:3131
#: menu.sh:2822 menu.sh:2960 menu.sh:3024 menu.sh:3090 menu.sh:3146
msgid "Extracting update file ..."
msgstr ""
#: menu.sh:2818 menu.sh:2862 menu.sh:2956 menu.sh:3020 menu.sh:3086
#: menu.sh:3142
#: menu.sh:2833 menu.sh:2877 menu.sh:2971 menu.sh:3035 menu.sh:3101
#: menu.sh:3157
msgid "Error extracting update file."
msgstr ""
#: menu.sh:2830
#: menu.sh:2845
msgid "Checksum do not match!"
msgstr ""
#: menu.sh:2843
#: menu.sh:2858
msgid ""
"The current version does not support upgrading to the latest update.zip. "
"Please remake the bootloader disk!"
msgstr ""
#: menu.sh:2884 menu.sh:2978 menu.sh:3034 menu.sh:3100 menu.sh:3156
#: menu.sh:2899 menu.sh:2993 menu.sh:3049 menu.sh:3115 menu.sh:3171
msgid ""
"Failed to install due to insufficient remaning disk space on local hard "
"drive, consider reallocate your disk %s with at least %sM."
msgstr ""
#: menu.sh:2894
#: menu.sh:2909
msgid "Installing new files ..."
msgstr ""
#: menu.sh:2931 menu.sh:2993 menu.sh:3059 menu.sh:3115 menu.sh:3181
#: menu.sh:2946 menu.sh:3008 menu.sh:3074 menu.sh:3130 menu.sh:3196
msgid "%s updated with success!"
msgstr ""
#: menu.sh:2931
#: menu.sh:2946
msgid "Reboot?"
msgstr ""
#: menu.sh:3074 menu.sh:3115 menu.sh:3206 menu.sh:3263 menu.sh:3268
#: menu.sh:3089 menu.sh:3130 menu.sh:3221 menu.sh:3278 menu.sh:3283
msgid "LKMs"
msgstr ""
#: menu.sh:3130 menu.sh:3181 menu.sh:3207 menu.sh:3275 menu.sh:3280
#: menu.sh:3145 menu.sh:3196 menu.sh:3222 menu.sh:3290 menu.sh:3295
msgid "CKs"
msgstr ""
#: menu.sh:3202 menu.sh:3225
#: menu.sh:3217 menu.sh:3240
msgid "All"
msgstr ""
#: menu.sh:3208
#: menu.sh:3223
msgid "Local upload"
msgstr ""
#: menu.sh:3209
#: menu.sh:3224
msgid "Pre Release:"
msgstr ""
#: menu.sh:3214 menu.sh:3288
#: menu.sh:3229 menu.sh:3303
msgid ""
"Manually uploading update*.zip,addons*.zip,modules*.zip,rp-lkms*.zip,rr-cks*."
"zip to /tmp/ will skip the download."
msgstr ""
#: menu.sh:3239 menu.sh:3251 menu.sh:3263 menu.sh:3275
#: menu.sh:3254 menu.sh:3266 menu.sh:3278 menu.sh:3290
msgid "No longer supports update %s separately. Please choose to update All/RR"
msgstr ""
#: menu.sh:3294
#: menu.sh:3309
msgid ""
"Please keep the attachment name consistent with the attachment name on "
"Github.\\n"
msgstr ""
#: menu.sh:3295
#: menu.sh:3310
msgid "Upload update*.zip will update RR.\\n"
msgstr ""
#: menu.sh:3296
#: menu.sh:3311
msgid "Upload addons*.zip will update Addons.\\n"
msgstr ""
#: menu.sh:3297
#: menu.sh:3312
msgid "Upload modules*.zip will update Modules.\\n"
msgstr ""
#: menu.sh:3298
#: menu.sh:3313
msgid "Upload rp-lkms*.zip will update LKMs.\\n"
msgstr ""
#: menu.sh:3299
#: menu.sh:3314
msgid "Upload rr-cks*.zip will update CKs.\\n"
msgstr ""
#: menu.sh:3367
#: menu.sh:3382
msgid "This person is very lazy and hasn't written anything."
msgstr ""
#: menu.sh:3378
#: menu.sh:3393
msgid "Another instance of the menu.sh is running."
msgstr ""
#: menu.sh:3391
#: menu.sh:3406
msgid "Choose a model"
msgstr ""
#: menu.sh:3393
#: menu.sh:3408
msgid "Choose a version"
msgstr ""
#: menu.sh:3395
#: menu.sh:3410
msgid "Parse pat"
msgstr ""
#: menu.sh:3401
#: menu.sh:3416
msgid "Kernel:"
msgstr ""
#: menu.sh:3403
#: menu.sh:3418
msgid "Addons menu"
msgstr ""
#: menu.sh:3404
#: menu.sh:3419
msgid "Modules menu"
msgstr ""
#: menu.sh:3405
#: menu.sh:3420
msgid "Cmdline menu"
msgstr ""
#: menu.sh:3406
#: menu.sh:3421
msgid "Synoinfo menu"
msgstr ""
#: menu.sh:3408
#: menu.sh:3423
msgid "Advanced menu"
msgstr ""
#: menu.sh:3411
#: menu.sh:3426
msgid "Build the loader"
msgstr ""
#: menu.sh:3415
#: menu.sh:3430
msgid "Boot the loader"
msgstr ""
#: menu.sh:3418
#: menu.sh:3433
msgid "Choose a keymap"
msgstr ""
#: menu.sh:3420
#: menu.sh:3435
msgid "Clean disk cache"
msgstr ""
#: menu.sh:3422
#: menu.sh:3437
msgid "Update menu"
msgstr ""
#: menu.sh:3423
#: menu.sh:3438
msgid "Notepad"
msgstr ""
#: menu.sh:3445
#: menu.sh:3460
msgid "Change ..."
msgstr ""
#: menu.sh:3513 menu.sh:3531
#: menu.sh:3528 menu.sh:3546
msgid "Power off"
msgstr ""
#: menu.sh:3514 menu.sh:3537
#: menu.sh:3529 menu.sh:3552
msgid "Reboot"
msgstr ""
#: menu.sh:3515 menu.sh:3543
msgid "Reboot to RR"
msgstr ""
#: menu.sh:3516 menu.sh:3549
#: menu.sh:3531 menu.sh:3564
msgid "Reboot to Recovery"
msgstr ""
#: menu.sh:3517 menu.sh:3555
#: menu.sh:3532 menu.sh:3570
msgid "Reboot to Junior"
msgstr ""
#: menu.sh:3519 menu.sh:3561
#: menu.sh:3534 menu.sh:3576
msgid "Reboot to BIOS"
msgstr ""
#: menu.sh:3521
#: menu.sh:3536
msgid "Back to shell"
msgstr ""
#: menu.sh:3525
#: menu.sh:3540
msgid "Choose a action"
msgstr ""
#: menu.sh:3578
#: menu.sh:3593
msgid "Call \\033[1;32mmenu.sh\\033[0m to return to menu"
msgstr ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -608,7 +608,7 @@ function addonMenu() {
MSG+="$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).\n")"
DIALOG --title "$(TEXT "Addons")" \
--msgbox "${MSG}" 0 0
return
continue
fi
DIALOG --title "$(TEXT "Addons")" \
--msgbox "$(TEXT "Please upload the *.addons file.")" 0 0
@ -631,7 +631,7 @@ function addonMenu() {
DIALOG --title "$(TEXT "Addons")" \
--yesno "$(TEXT "The addon already exists. Do you want to overwrite it?")" 0 0
RET=$?
[ ${RET} -eq 0 ] && return
[ ${RET} -ne 0 ] && return
fi
ADDON="$(untarAddon "${TMP_UP_PATH}/${USER_FILE}")"
if [ -n "${ADDON}" ]; then
@ -752,7 +752,7 @@ function moduleMenu() {
MSG+="$(TEXT "Do you want to continue?")"
DIALOG --title "$(TEXT "Modules")" \
--yesno "${MSG}" 0 0
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
DIALOG --title "$(TEXT "Modules")" \
--msgbox "$(TEXT "Please upload the *.ko file.")" 0 0
TMP_UP_PATH=${TMP_PATH}/users
@ -813,13 +813,13 @@ function moduleMenu() {
while true; do
DIALOG --title "$(TEXT "Edit with caution")" \
--editbox "${TMP_PATH}/modulelist.tmp" 0 0 2>"${TMP_PATH}/modulelist.user"
[ $? -ne 0 ] && return
[ $? -ne 0 ] && break
[ ! -d "${USER_UP_PATH}" ] && mkdir -p "${USER_UP_PATH}"
mv -f "${TMP_PATH}/modulelist.user" "${USER_UP_PATH}/modulelist"
dos2unix "${USER_UP_PATH}/modulelist"
touch ${PART1_PATH}/.build
break
done
touch ${PART1_PATH}/.build
;;
e)
break
@ -2278,7 +2278,7 @@ function setProxy() {
###############################################################################
# Advanced menu
function advancedMenu() {
NEXT="l"
NEXT="q"
while true; do
rm -f "${TMP_PATH}/menu"
echo "9 \"$(TEXT "DSM rd compression:") \Z4${RD_COMPRESSED}\Zn\"" >>"${TMP_PATH}/menu"
@ -2296,6 +2296,8 @@ function advancedMenu() {
echo "i \"$(TEXT "Timeout of get ip in boot:") \Z4${BOOTIPWAIT}\Zn\"" >>"${TMP_PATH}/menu"
echo "w \"$(TEXT "Timeout of boot wait:") \Z4${BOOTWAIT}\Zn\"" >>"${TMP_PATH}/menu"
echo "k \"$(TEXT "kernel switching method:") \Z4${KERNELWAY}\Zn\"" >>"${TMP_PATH}/menu"
checkCmdline "rr_cmdline" "nomodeset" && POWEROFFDISPLAY="false" || POWEROFFDISPLAY="true"
echo "7 \"$(TEXT "Power off display after boot: ") \Z4${POWEROFFDISPLAY}\Zn\"" >>"${TMP_PATH}/menu"
fi
echo "n \"$(TEXT "Reboot on kernel panic:") \Z4${KERNELPANIC}\Zn\"" >>"${TMP_PATH}/menu"
if [ -n "$(ls /dev/mmcblk* 2>/dev/null)" ]; then
@ -2358,7 +2360,7 @@ function advancedMenu() {
DIALOG --title "$(TEXT "Advanced")" \
--form "${MSG}" 10 110 2 "URL" 1 1 "${PATURL}" 1 5 100 0 "MD5" 2 1 "${PATSUM}" 2 5 100 0 \
2>"${TMP_PATH}/resp"
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
paturl="$(cat "${TMP_PATH}/resp" | sed -n '1p')"
patsum="$(cat "${TMP_PATH}/resp" | sed -n '2p')"
if [ ! ${paturl} = ${PATURL} ] || [ ! ${patsum} = ${PATSUM} ]; then
@ -2376,9 +2378,9 @@ function advancedMenu() {
DIALOG --title "$(TEXT "Advanced")" \
--default-item "${SATADOM}" --menu "$(TEXT "Choose a mode(Only supported for kernel version 4)")" 0 0 0 --file "${TMP_PATH}/opts" \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
[ -z "${resp}" ] && return
[ -z "${resp}" ] && continue
SATADOM=${resp}
writeConfigKey "satadom" "${SATADOM}" "${USER_CONFIG_FILE}"
NEXT="8"
@ -2397,9 +2399,9 @@ function advancedMenu() {
DIALOG --title "$(TEXT "Advanced")" \
--default-item "${BOOTIPWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
[ -z "${resp}" ] && return
[ -z "${resp}" ] && continue
BOOTIPWAIT=${resp}
writeConfigKey "bootipwait" "${BOOTIPWAIT}" "${USER_CONFIG_FILE}"
NEXT="i"
@ -2409,9 +2411,9 @@ function advancedMenu() {
DIALOG --title "$(TEXT "Advanced")" \
--default-item "${BOOTWAIT}" --no-items --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 ${ITEMS} \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
[ -z "${resp}" ] && return
[ -z "${resp}" ] && continue
BOOTWAIT=${resp}
writeConfigKey "bootwait" "${BOOTWAIT}" "${USER_CONFIG_FILE}"
NEXT="w"
@ -2421,6 +2423,18 @@ function advancedMenu() {
writeConfigKey "kernelway" "${KERNELWAY}" "${USER_CONFIG_FILE}"
NEXT="k"
;;
7)
DIALOG --title "$(TEXT "Advanced")" \
--yesno "$(TEXT "Modifying this item requires a reboot, continue?")" 0 0
RET=$?
[ ${RET} -ne 0 ] && continue
checkCmdline "rr_cmdline" "nomodeset" && delCmdline "rr_cmdline" "nomodeset" || addCmdline "rr_cmdline" "nomodeset"
DIALOG --title "$(TEXT "Advanced")" \
--infobox "$(TEXT "Reboot to RR")" 0 0
rebootTo config
exit 0
NEXT="7"
;;
n)
rm -f "${TMP_PATH}/opts"
echo "5 \"Reboot after 5 seconds\"" >>"${TMP_PATH}/opts"
@ -2429,9 +2443,9 @@ function advancedMenu() {
DIALOG --title "$(TEXT "Advanced")" \
--default-item "${KERNELPANIC}" --menu "$(TEXT "Choose a time(seconds)")" 0 0 0 --file "${TMP_PATH}/opts" \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
resp=$(cat ${TMP_PATH}/resp 2>/dev/null)
[ -z "${resp}" ] && return
[ -z "${resp}" ] && continue
KERNELPANIC=${resp}
writeConfigKey "kernelpanic" "${KERNELPANIC}" "${USER_CONFIG_FILE}"
NEXT="n"
@ -2556,7 +2570,7 @@ function advancedMenu() {
o)
DIALOG --title "$(TEXT "Advanced")" \
--yesno "$(TEXT "This option only installs opkg package management, allowing you to install more tools for use and debugging. Do you want to continue?")" 0 0
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
rm -f "${LOG_FILE}"
while true; do
wget http://bin.entware.net/x64-k3.2/installer/generic.sh -O "generic.sh" >"${LOG_FILE}"
@ -2582,7 +2596,7 @@ function advancedMenu() {
p)
DIALOG --title "$(TEXT "Advanced")" \
--yesno "$(TEXT "Warning:\nDo not terminate midway, otherwise it may cause damage to the RR. Do you want to continue?")" 0 0
[ $? -ne 0 ] && return
[ $? -ne 0 ] && continue
DIALOG --title "$(TEXT "Advanced")" \
--infobox "$(TEXT "Saving ...\n(It usually takes 5-10 minutes, please be patient and wait.)")" 0 0
RDXZ_PATH="${TMP_PATH}/rdxz_tmp"
@ -2596,8 +2610,9 @@ function advancedMenu() {
cp -Rf "$(dirname ${WORK_PATH})" "${RDXZ_PATH}/"
(
cd "${RDXZ_PATH}"
find . 2>/dev/null | cpio -o -H newc -R root:root | xz -9 --check=crc32 >"${RR_RAMDISK_FILE}"
) || true
find . 2>/dev/null | cpio -o -H newc -R root:root | pv -n -s $(du -sb ${RDXZ_PATH} | awk '{print $1}') | xz -9 --check=crc32 >"${RR_RAMDISK_FILE}"
) 2>&1 | DIALOG --title "$(TEXT "Advanced")" \
--gauge "$(TEXT "Saving ...\n(It usually takes 5-10 minutes, please be patient and wait.)")" 8 100
rm -rf "${RDXZ_PATH}"
DIALOG --title "$(TEXT "Advanced")" \
--msgbox ""$(TEXT "Save is complete.")"" 0 0

View File

@ -23,6 +23,8 @@ platforms:
dt: false
flags:
- "movbe"
noflags:
- "x2apic"
synoinfo:
<<: *synoinfo
productvers:
@ -104,6 +106,8 @@ platforms:
kver: "4.4.302"
geminilake:
dt: true
noflags:
- "x2apic"
synoinfo:
<<: *synoinfo
productvers:
@ -115,6 +119,8 @@ platforms:
kver: "4.4.302"
purley:
dt: true
noflags:
- "x2apic"
synoinfo:
<<: *synoinfo
supportsas: "no"

View File

@ -10,6 +10,8 @@ insmod linux
insmod gzio
insmod fat
insmod ext2
insmod png
insmod jpeg
set default="boot"
set timeout="5"
@ -49,7 +51,10 @@ if loadfont unicode; then
terminal_output gfxterm
fi
set menu_color_normal=light-cyan/dark-gray
background_image $prefix/logo.png
set color_normal=white/black
set menu_color_normal=light-cyan/black
set menu_color_highlight=black/cyan
if serial --unit=0 --speed=115200; then
@ -65,7 +70,7 @@ function set_gfxpayload {
fi
}
set RR_CMDLINE="console=tty2 root=/dev/ram net.ifnames=0"
set RR_CMDLINE="earlyprintk earlycon=ttyS0,115200 console=ttyS0,115200 root=/dev/ram rootwait pcie_aspm=off net.ifnames=0 mitigations=auto"
search --set=root --label "RR3"
if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
@ -86,7 +91,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
menuentry 'Boot DSM' --id boot {
set_gfxpayload
echo "Loading kernel..."
linux /bzImage-rr ${RR_CMDLINE}
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline}
echo "Loading initramfs..."
initrd /initrd-rr
echo "Booting..."
@ -94,7 +99,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
menuentry 'Boot Recovery' --id recovery {
set_gfxpayload
echo "Loading kernel..."
linux /bzImage-rr ${RR_CMDLINE} recovery
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} recovery
echo "Loading initramfs..."
initrd /initrd-rr
echo "Booting..."
@ -102,7 +107,7 @@ if [ -s /zImage-dsm -a -s /initrd-dsm ]; then
menuentry 'Force re-install DSM' --id junior {
set_gfxpayload
echo "Loading kernel..."
linux /bzImage-rr ${RR_CMDLINE} force_junior
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} force_junior
echo "Loading initramfs..."
initrd /initrd-rr
echo "Booting..."
@ -112,7 +117,7 @@ fi
menuentry 'Configure loader' --id config {
set_gfxpayload
echo "Loading kernel..."
linux /bzImage-rr ${RR_CMDLINE} IWANTTOCHANGETHECONFIG
linux /bzImage-rr ${RR_CMDLINE} ${rr_cmdline} IWANTTOCHANGETHECONFIG
echo "Loading initramfs..."
initrd /initrd-rr
echo "Booting..."

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -2,6 +2,7 @@ remove:
replace:
"files/mnt/p1/RR_VERSION": "/mnt/p1/RR_VERSION"
"files/mnt/p1/boot/grub/grub.cfg": "/mnt/p1/boot/grub/grub.cfg"
"files/mnt/p1/boot/grub/logo.png": "/mnt/p1/boot/grub/logo.png"
"files/mnt/p1/EFI/BOOT/SynoBootLoader.conf": "/mnt/p1/EFI/BOOT/SynoBootLoader.conf"
"files/mnt/p1/EFI/BOOT/SynoBootLoader.efi": "/mnt/p1/EFI/BOOT/SynoBootLoader.efi"
"files/mnt/p3/bzImage-rr": "/mnt/p3/bzImage-rr"