diff --git a/config/DS3615xs/7.0.1-42218/config.json b/config/DS3615xs/7.0.1-42218/config.json new file mode 100644 index 00000000..fef7446a --- /dev/null +++ b/config/DS3615xs/7.0.1-42218/config.json @@ -0,0 +1,117 @@ +{ + "os": { + "id": "ds3615xs_42218", + "pat_url": "https://cndl.synology.cn/download/DSM/release/7.0.1/42218/DSM_DS3615xs_42218.pat", + "sha256": "dddd26891815ddca02d0d53c1d42e8b39058b398a4cc7b49b80c99f851cf0ef7" + }, + + "files": { + "zlinux": { + "name": "zImage", + "sha256": "d29b695612710376734cb5c5b5ae4f2d8afc49ffd640387e1c86010f6c7d2c8a" + }, + "ramdisk": { + "name": "rd.gz", + "sha256": "4c90c3c7ee25b5fcc651552e80a9364d22823c863c834c5f43e3344a3a68af78" + }, + "vmlinux": { + "sha256": "69569a0703fcd0a3a492dd1066eb6c3b90ea41e5793a5eac960d27b6f3afa916" + } + }, + + "patches": { + "_comment": ".bsp patches are applied to FILES using bspatch(1); .patch are applied to DIRECTORIES using patch(1)", + "zlinux": [ + "zImage-001-3615xs-42218-ramdisk-and-header.bsp" + ], + "ramdisk": [ + "@@@COMMON@@@/ramdisk-001-disable-root-pwd.patch", + "@@@COMMON@@@/ramdisk-002-init-script-NEW-name.patch", + "@@@COMMON@@@/ramdisk-003-post-init-script-UPPER.patch" + ] + }, + "synoinfo": { + "maxdisks": "15", + "internalportcfg": "0x78FF", + "esataportcfg": "0x0", + "usbportcfg": "0x8700", + "rss_server": "http://example.com/null.xml", + "rss_server_ssl": "https://example.com/null.xml", + "small_info_path": "https://example.com/null", + "updateurl": "http://example.com/", + "myds_region_api_base_url": "https://example.com" + }, + "grub": { + "template": "@@@COMMON@@@/grub-template.conf", + "base_cmdline": { + "sn": "", + "vid": "0x46f4", + "pid": "0x0001", + "mac1": "", + "netif_num": 1, + + "syno_hw_version": "DS3615xs", + "syno_hdd_powerup_seq": 0, + "HddHotplug": 0, + "vender_format_version": 2, + "console": "ttyS0,115200n8", + "withefi": null, + "elevator": "elevator", + "syno_port_thaw": 1, + "syno_hdd_detect": 0, + "root": "/dev/md0", + "earlycon": "uart8250,io,0x3f8,115200n8" + }, + "menu_entries": { + "RedPill DS3615xs v7.0.1-42218 Beta (USB, Verbose)": { + "options": [ + "savedefault", + "set root=(hd0,msdos1)", + "echo Loading Linux...", + "linux /zImage @@@CMDLINE@@@", + "echo Loading initramfs...", + "initrd /rd.gz /custom.gz", + "echo Starting kernel with USB boot" + ], + "cmdline": { + "earlyprintk": null, + "loglevel": 15, + "log_buf_len": "32M" + } + }, + "RedPill DS3615xs v7.0.1-42218 Beta (SATA, Verbose)": { + "options": [ + "savedefault", + "set root=(hd0,msdos1)", + "echo Loading Linux...", + "linux /zImage @@@CMDLINE@@@", + "echo Loading initramfs...", + "initrd /rd.gz /custom.gz", + "echo Starting kernel with SATA boot" + ], + "cmdline": { + "earlyprintk": null, + "loglevel": 15, + "synoboot_satadom": 1, + "log_buf_len": "32M" + } + } + } + }, + "extra": { + "compress_rd": false, + "ramdisk_copy": { + "@@@EXT@@@/rp-lkm/redpill-linux-v3.10.108.ko": "usr/lib/modules/rp.ko", + "@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe" + }, + "bootp1_copy": { + "@@@PAT@@@/GRUB_VER": "GRUB_VER" + }, + "bootp2_copy": { + "@@@PAT@@@/GRUB_VER": "GRUB_VER", + "@@@PAT@@@/grub_cksum.syno": "grub_cksum.syno", + "@@@PAT@@@/rd.gz": "rd.gz", + "@@@PAT@@@/zImage": "zImage" + } + } +} \ No newline at end of file diff --git a/config/DS3615xs/7.0.1-42218/zImage-001-3615xs-42218-ramdisk-and-header.bsp b/config/DS3615xs/7.0.1-42218/zImage-001-3615xs-42218-ramdisk-and-header.bsp new file mode 100644 index 00000000..8d3952cf Binary files /dev/null and b/config/DS3615xs/7.0.1-42218/zImage-001-3615xs-42218-ramdisk-and-header.bsp differ diff --git a/config/DS918+/7.0.1-42218/config.json b/config/DS918+/7.0.1-42218/config.json new file mode 100644 index 00000000..51635063 --- /dev/null +++ b/config/DS918+/7.0.1-42218/config.json @@ -0,0 +1,128 @@ +{ + "os": { + "id": "ds918p_42218", + "pat_url": "https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS918%2B_42218.pat", + "sha256": "a403809ab2cd476c944fdfa18cae2c2833e4af36230fa63f0cdee31a92bebba2" + }, + + "files": { + "zlinux": { + "name": "zImage", + "sha256": "338ba514066da01d0c1f770418916b9b96f5355d88a7b55b398d2726db591fdb" + }, + "ramdisk": { + "name": "rd.gz", + "sha256": "4b7a7a271a3b2158d9193a4f0e75c59590949ad7b4e26d546f46cc2ee8504d51" + }, + "vmlinux": { + "sha256": "e5eea089bcb76dc6dce6476be43a4e64c8acd52ba8b9c095a7d165acf196c529" + } + }, + + "patches": { + "zlinux": [ + "zImage-001-918p-42218-ramdisk-and-flag-NOP.bsp" + ], + "ramdisk": [ + "@@@COMMON@@@/ramdisk-001-disable-root-pwd.patch", + "@@@COMMON@@@/ramdisk-002-init-script-NEW-name.patch", + "@@@COMMON@@@/ramdisk-003-post-init-script-UPPER.patch" + ] + }, + + "synoinfo": { + "maxdisks": "16", + "internalportcfg": "0xffff", + "esataportcfg": "0x0", + "HddHotplug": "", + "support_led_brightness_adjustment": "", + "support_leds_lp3943": "", + "buzzeroffen": "0xffff", + "rss_server": "http://example.com/null.xml", + "rss_server_ssl": "https://example.com/null.xml", + "small_info_path": "https://example.com/null", + "updateurl": "http://example.com/", + "myds_region_api_base_url": "https://example.com" + }, + + "grub": { + "template": "@@@COMMON@@@/grub-template.conf", + "base_cmdline": { + "sn": "", + "vid": "0x46f4", + "pid": "0x0001", + "mac1": "", + "netif_num": 1, + + "syno_hw_version": "DS918+", + "syno_hdd_powerup_seq": 1, + "HddHotplug": 0, + "vender_format_version": 2, + "console": "ttyS0,115200n8", + "withefi": null, + "elevator": "elevator", + "syno_port_thaw": 1, + "syno_hdd_detect": 0, + "root": "/dev/md0", + "earlycon": "uart8250,io,0x3f8,115200n8" + }, + + "menu_entries": { + "RedPill DS918+ v7.0.1-42218 (USB, Verbose)": { + "options": [ + "savedefault", + "set root=(hd0,msdos1)", + "echo Loading Linux...", + "linux /zImage @@@CMDLINE@@@", + "echo Loading initramfs...", + "initrd /rd.gz /custom.gz", + "echo Starting kernel with USB boot" + ], + "cmdline": { + "earlyprintk": null, + "loglevel": 15, + "log_buf_len": "32M" + } + }, + "RedPill DS918+ v7.0.1-42218 (SATA, Verbose)": { + "options": [ + "savedefault", + "set root=(hd0,msdos1)", + "echo Loading Linux...", + "linux /zImage @@@CMDLINE@@@", + "echo Loading initramfs...", + "initrd /rd.gz /custom.gz", + "echo Starting kernel with SATA boot", + "echo WARNING: SATA boot support on this platform is experimental!" + ], + "cmdline": { + "earlyprintk": null, + "loglevel": 15, + "synoboot_satadom": 2, + "log_buf_len": "32M" + } + } + } + }, + + "extra": { + "compress_rd": false, + "ramdisk_copy": { + "@@@EXT@@@/rp-lkm/redpill-linux-v4.4.180+.ko": "usr/lib/modules/rp.ko", + "@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe" + }, + "bootp1_copy": { + "@@@PAT@@@/GRUB_VER": "GRUB_VER", + "@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/", + "@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/" + }, + "bootp2_copy": { + "@@@PAT@@@/GRUB_VER": "GRUB_VER", + "@@@COMMON@@@/EFI": "EFI", + "@@@PAT@@@/grub_cksum.syno": "grub_cksum.syno", + "@@@PAT@@@/rd.gz": "rd.gz", + "@@@PAT@@@/zImage": "zImage" + } + } +} + diff --git a/config/DS918+/7.0.1-42218/zImage-001-918p-42218-ramdisk-and-flag-NOP.bsp b/config/DS918+/7.0.1-42218/zImage-001-918p-42218-ramdisk-and-flag-NOP.bsp new file mode 100755 index 00000000..d68eb314 Binary files /dev/null and b/config/DS918+/7.0.1-42218/zImage-001-918p-42218-ramdisk-and-flag-NOP.bsp differ