Yet Another Jun's Mod × RedPill v7.0.1-42218
This commit is contained in:
parent
6c85c53c2b
commit
ce40f8370e
File diff suppressed because it is too large
Load Diff
|
@ -31,7 +31,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
|
|||
::once:/bin/sh /root/init.sh
|
||||
|
||||
# Put a getty on the serial port
|
||||
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
|
||||
console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
|
||||
|
||||
# Stuff to do for the 3-finger salute
|
||||
#::ctrlaltdel:/sbin/reboot
|
||||
|
|
|
@ -40,5 +40,6 @@ rm -rf ramdisk
|
|||
umount /temp1
|
||||
umount /temp2
|
||||
|
||||
kexec -d --args-linux ./vmlinux.bin --type=elf-x86_64 --reuse-cmdline --initrd=./rd.gz
|
||||
# 启动
|
||||
kexec -d --args-linux ./zImage --type=bzImage64 --reuse-cmdline --initrd=./rd.gz
|
||||
kexec -d -e
|
||||
|
|
|
@ -2,6 +2,7 @@ BR2_x86_64=y
|
|||
BR2_STATIC_LIBS=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
BR2_TARGET_ROOTFS_CPIO_LZMA=y
|
||||
BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
||||
BR2_USE_WCHAR=y
|
||||
|
@ -14,6 +15,9 @@ BR2_PACKAGE_CPIO=y
|
|||
BR2_PACKAGE_KEXEC=y
|
||||
BR2_PACKAGE_KEXEC_ZLIB=y
|
||||
|
||||
# Use custom busybox to enable `stat`
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="board/syno/busybox.config"
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
|
|
|
@ -31,11 +31,6 @@
|
|||
},
|
||||
|
||||
"synoinfo": {
|
||||
"rss_server": "http://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_ssl": "https://example.com/autoupdate/genRSS.php",
|
||||
"small_info_path": "https://example.com/smallupdate",
|
||||
"updateurl": "http://example.com/",
|
||||
"myds_region_api_base_url": "https://example.com/"
|
||||
},
|
||||
|
||||
"grub": {
|
||||
|
@ -60,6 +55,20 @@
|
|||
},
|
||||
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS1621+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS1621+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -104,6 +113,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
},
|
||||
|
||||
"synoinfo": {
|
||||
"rss_server": "http://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_ssl": "https://example.com/autoupdate/genRSS.php",
|
||||
"small_info_path": "https://example.com/smallupdate",
|
||||
"updateurl": "http://example.com/",
|
||||
"myds_region_api_base_url": "https://example.com/"
|
||||
},
|
||||
|
||||
"grub": {
|
||||
|
@ -59,14 +54,12 @@
|
|||
},
|
||||
|
||||
"menu_entries": {
|
||||
"RedPill DS2422+ v7.0.1-42218 Jun mod (USB, Verbose)": {
|
||||
"Yet Another Jun’s Mod × RedPill DS2422+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,2)",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Loading initramfs...",
|
||||
"initrd /rootfs.lzma",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
|
@ -119,6 +112,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -34,12 +34,7 @@
|
|||
"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"
|
||||
"usbportcfg": "0x8700"
|
||||
},
|
||||
"grub": {
|
||||
"template": "@@@COMMON@@@/grub-template.conf",
|
||||
|
@ -63,6 +58,20 @@
|
|||
"earlycon": "uart8250,io,0x3f8,115200n8"
|
||||
},
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS3615xs v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS3615xs v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -105,6 +114,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -35,16 +35,7 @@
|
|||
"maxdisks": "15",
|
||||
"internalportcfg": "0x78FF",
|
||||
"esataportcfg": "0x0",
|
||||
"usbportcfg": "0x8700",
|
||||
"rss_server": "http://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_ssl": "https://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_v2": "https://example.com/autoupdate/v2/getList",
|
||||
"security_version_server": "https://example.com/securityVersion",
|
||||
"small_info_path": "https://example.com/smallupdate",
|
||||
"update_server": "http://example.com/",
|
||||
"update_server_ssl": "https//example.com/",
|
||||
"updateurl": "http://example.com/",
|
||||
"myds_region_api_base_url": "https://example.com/"
|
||||
"usbportcfg": "0x8700"
|
||||
},
|
||||
"grub": {
|
||||
"template": "@@@COMMON@@@/grub-template.conf",
|
||||
|
@ -68,6 +59,20 @@
|
|||
"earlycon": "uart8250,io,0x3f8,115200n8"
|
||||
},
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS3617xs v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS3617xs v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -110,6 +115,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -37,16 +37,7 @@
|
|||
"internalportcfg": "0xffff",
|
||||
"esataportcfg": "0x0",
|
||||
"support_bde_internal_10g": "no",
|
||||
"support_disk_compatibility": "no",
|
||||
"rss_server": "http://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_ssl": "https://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_v2": "https://example.com/autoupdate/v2/getList",
|
||||
"security_version_server": "https://example.com/securityVersion",
|
||||
"small_info_path": "https://example.com/smallupdate",
|
||||
"update_server": "http://example.com/",
|
||||
"update_server_ssl": "https//example.com/",
|
||||
"updateurl": "http://example.com/",
|
||||
"myds_region_api_base_url": "https://example.com/"
|
||||
"support_disk_compatibility": "no"
|
||||
},
|
||||
|
||||
"grub": {
|
||||
|
@ -72,6 +63,20 @@
|
|||
},
|
||||
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS3622xs+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS3622xs+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -115,6 +120,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -37,12 +37,7 @@
|
|||
"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"
|
||||
"buzzeroffen": "0xffff"
|
||||
},
|
||||
|
||||
"grub": {
|
||||
|
@ -68,6 +63,20 @@
|
|||
},
|
||||
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS918+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS918+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -112,6 +121,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -31,11 +31,6 @@
|
|||
},
|
||||
|
||||
"synoinfo": {
|
||||
"rss_server": "http://example.com/autoupdate/genRSS.php",
|
||||
"rss_server_ssl": "https://example.com/autoupdate/genRSS.php",
|
||||
"small_info_path": "https://example.com/smallupdate",
|
||||
"updateurl": "http://example.com/",
|
||||
"myds_region_api_base_url": "https://example.com/"
|
||||
},
|
||||
|
||||
"grub": {
|
||||
|
@ -61,6 +56,20 @@
|
|||
},
|
||||
|
||||
"menu_entries": {
|
||||
"Yet Another Jun’s Mod × RedPill DS920+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
"set root=(hd0,msdos1)",
|
||||
"echo Loading Linux...",
|
||||
"linux /bzImage @@@CMDLINE@@@",
|
||||
"echo Starting kernel with USB boot"
|
||||
],
|
||||
"cmdline": {
|
||||
"earlyprintk": null,
|
||||
"loglevel": 15,
|
||||
"log_buf_len": "32M"
|
||||
}
|
||||
},
|
||||
"RedPill DS920+ v7.0.1-42218 (USB, Verbose)": {
|
||||
"options": [
|
||||
"savedefault",
|
||||
|
@ -105,6 +114,7 @@
|
|||
"@@@COMMON@@@/iosched-trampoline.sh": "usr/sbin/modprobe"
|
||||
},
|
||||
"bootp1_copy": {
|
||||
"@@@COMMON@@@/bzImage": "bzImage",
|
||||
"@@@PAT@@@/GRUB_VER": "GRUB_VER",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.conf": "EFI/BOOT/",
|
||||
"@@@COMMON@@@/EFI/boot/SynoBootLoader.efi": "EFI/BOOT/"
|
||||
|
|
|
@ -18,10 +18,10 @@ set -euo pipefail
|
|||
echo "Building images"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '6.2.4-25556' "$PWD/images/rp-3615-v6$IMG_POSTFIX.img"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '7.0-41222' "$PWD/images/rp-3615-v7$IMG_POSTFIX.img"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '7.0.1-42218' "$PWD/images/rp-3615-v7.0.1$IMG_POSTFIX.img"
|
||||
BRP_JUN_MOD=1 BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds3615.json ./build-loader.sh 'DS3615xs' '7.0.1-42218' "$PWD/images/rp-3615-v7.0.1$IMG_POSTFIX.img"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '6.2.4-25556' "$PWD/images/rp-918-v6$IMG_POSTFIX.img"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '7.0-41890' "$PWD/images/rp-918-v7$IMG_POSTFIX.img"
|
||||
BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '7.0.1-42218' "$PWD/images/rp-918-v7.0.1$IMG_POSTFIX.img"
|
||||
BRP_JUN_MOD=1 BRP_DEBUG=1 BRP_USER_CFG=$PWD/user_config-ds918.json ./build-loader.sh 'DS918+' '7.0.1-42218' "$PWD/images/rp-918-v7.0.1$IMG_POSTFIX.img"
|
||||
|
||||
|
||||
echo "Generating VMDKs"
|
||||
|
|
Loading…
Reference in New Issue