-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added experimental DS923+ model, added new extensions handler functions
- Loading branch information
Showing
618 changed files
with
1,660 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
serial --unit=1 --speed=115200 | ||
terminal serial | ||
default 1 | ||
timeout 3 | ||
verbose | ||
hiddenmenu | ||
fallback 0 | ||
|
||
title SYNOLOGY_1 | ||
root (hd0,0) | ||
kernel /zImage root=/dev/md0 | ||
initrd /rd.gz | ||
|
||
title SYNOLOGY_2 | ||
root (hd0,1) | ||
cksum /grub_cksum.syno | ||
vender /vender show | ||
kernel /zImage root=/dev/md0 | ||
initrd /rd.gz |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
MODEL="DS923+" | ||
PLATFORM="R1000" | ||
GRUB_PROJECT="grub-2.x" | ||
GRUB_VERSION="1" | ||
DSM_VERSION="42962" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# | ||
# ### !!! WARNING - READ ME !!! ### | ||
# | ||
# DO NOT edit this file. This file has been generated automatically by the loader generator. | ||
# If you were asked to use a pre-made image and asked by someone to edit this file DO NOT do it. The only | ||
# supported method of obtaining the loader image is generating it using the loader generator provided. | ||
# | ||
|
||
terminal_output console | ||
if serial --unit=0 --speed=115200; then | ||
terminal_input --append serial_com0 | ||
terminal_output --append serial_com0 | ||
fi | ||
|
||
set default="3" | ||
set timeout="5" | ||
set timeout_style="menu" | ||
|
||
if [ -s $prefix/grubenv ]; then | ||
load_env --file $prefix/grubenv --skip-sig | ||
set has_env="1" | ||
if [ -n "${saved_entry}" ]; then | ||
set default="3" | ||
fi | ||
else | ||
set has_env="0" | ||
echo "WARN: failed to load env. Default choice will NOT be saved!" | ||
fi | ||
|
||
|
||
function savedefault { | ||
saved_entry="${chosen}" | ||
save_env --file $prefix/grubenv saved_entry | ||
} | ||
|
||
|
||
insmod usb_keyboard | ||
insmod part_msdos | ||
insmod ext2 | ||
insmod fat | ||
insmod linux | ||
insmod gzio | ||
|
||
set gfxmode=auto | ||
insmod vbe | ||
insmod vga | ||
|
||
# UEFI | ||
insmod efi_gop | ||
insmod efi_uga | ||
|
||
insmod font | ||
if loadfont ${prefix}/unicode.pf2 | ||
then | ||
insmod gfxterm | ||
set gfxmode=auto | ||
set gfxpayload=keep | ||
terminal_output gfxterm | ||
fi | ||
|
||
menuentry 'RedPill DS923+ 7.1.1-42962 (USB, Verbose)' { | ||
savedefault | ||
search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3 | ||
echo Loading Linux... | ||
linux /zImage-dsm earlyprintk syno_hw_version=DS923+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 mac1=00113240AA40 sn=2030SBRJZMK5B SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap=0A00 vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap=58 syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 | ||
echo Loading initramfs... | ||
initrd /initrd-dsm /custom.gz | ||
echo Starting kernel with USB boot | ||
} | ||
|
||
menuentry 'RedPill DS923+ 7.1.1-42962 (SATA, Verbose)' { | ||
savedefault | ||
search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3 | ||
echo Loading Linux... | ||
linux /zImage-dsm earlyprintk syno_hw_version=DS923+ console=ttyS0,115200n8 netif_num=1 synoboot2 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=2 mac1=00113240AA40 sn=2030SBRJZMK5B SMBusHddDynamicPower=1 vid=0x0525 elevator=elevator loglevel=15 DiskIdxMap=0A00 vender_format_version=2 log_buf_len=32M root=/dev/md0 SataPortMap=58 syno_ttyS1=serial,0x2f8 syno_ttyS0=serial,0x3f8 | ||
echo Loading initramfs... | ||
initrd /initrd-dsm /custom.gz | ||
echo Starting kernel with SATA boot | ||
echo WARNING: SATA boot support on this platform is experimental! | ||
} | ||
|
||
|
||
menuentry 'Tiny Core Image Build' { | ||
savedefault | ||
search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3 | ||
echo Loading Linux... | ||
linux /vmlinuz64 loglevel=3 cde waitusb=5 vga=791 | ||
echo Loading initramfs... | ||
initrd /corepure64.gz | ||
echo Booting TinyCore for loader creation | ||
} | ||
menuentry 'Tiny Core Friend' { | ||
savedefault | ||
search --set=root --fs-uuid 6234-C863 --hint hd0,msdos3 | ||
echo Loading Linux... | ||
linux /bzImage-friend loglevel=3 waitusb=5 vga=791 net.ifnames=0 biosdevname=0 | ||
echo Loading initramfs... | ||
initrd /initrd-friend | ||
echo Booting TinyCore Friend | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# GRUB Environment Block | ||
# WARNING: Do not edit this file by tools other than grub-editenv!!! | ||
saved_entry=Tiny Core Image Build | ||
################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
*acpi: acpi | ||
*all_functional_test: functional_test | ||
*background_image: gfxterm_background | ||
*cat: cat | ||
*cpuid: cpuid | ||
*crc: hashsum | ||
*cryptomount: cryptodisk | ||
*drivemap: drivemap | ||
*echo: echo | ||
*extract_syslinux_entries_configfile: syslinuxcfg | ||
*extract_syslinux_entries_source: syslinuxcfg | ||
*file: file | ||
*functional_test: functional_test | ||
*gettext: gettext | ||
*halt: halt | ||
*hashsum: hashsum | ||
*hdparm: hdparm | ||
*hello: hello | ||
*help: help | ||
*hexdump: hexdump | ||
*inb: iorw | ||
*inl: iorw | ||
*inw: iorw | ||
*keystatus: keystatus | ||
*kfreebsd: bsd | ||
*knetbsd: bsd | ||
*kopenbsd: bsd | ||
*list_env: loadenv | ||
*load_env: loadenv | ||
*loopback: loopback | ||
*ls: ls | ||
*lsacpi: lsacpi | ||
*lspci: lspci | ||
*md5sum: hashsum | ||
*menuentry: normal | ||
*pcidump: pcidump | ||
*plan9: plan9 | ||
*probe: probe | ||
*rdmsr: rdmsr | ||
*read_byte: memrw | ||
*read_dword: memrw | ||
*read_word: memrw | ||
*regexp: regexp | ||
*save_env: loadenv | ||
*search: search | ||
*sendkey: sendkey | ||
*serial: serial | ||
*setpci: setpci | ||
*sha1sum: hashsum | ||
*sha256sum: hashsum | ||
*sha512sum: hashsum | ||
*sleep: sleep | ||
*smbios: smbios | ||
*submenu: normal | ||
*syslinux_configfile: syslinuxcfg | ||
*syslinux_source: syslinuxcfg | ||
*terminfo: terminfo | ||
*test_blockarg: test_blockarg | ||
*testspeed: testspeed | ||
*tr: tr | ||
*trust: pgp | ||
*verify_detached: pgp | ||
*xnu_splash: xnu | ||
*zfskey: zfscrypt | ||
.: configfile | ||
[: test | ||
authenticate: normal | ||
background_color: gfxterm_background | ||
backtrace: backtrace | ||
badram: mmap | ||
blocklist: blocklist | ||
boot: boot | ||
break: normal | ||
cat: minicmd | ||
cbmemc: cbmemc | ||
chainloader: chain | ||
clear: normal | ||
cmosclean: cmostest | ||
cmosdump: cmosdump | ||
cmosset: cmostest | ||
cmostest: cmostest | ||
cmp: cmp | ||
configfile: configfile | ||
continue: normal | ||
coreboot_boottime: cbtime | ||
cutmem: mmap | ||
date: date | ||
distrust: pgp | ||
dump: minicmd | ||
efiemu_loadcore: efiemu | ||
efiemu_prepare: efiemu | ||
efiemu_unload: efiemu | ||
eval: eval | ||
exit: minicmd | ||
export: normal | ||
extract_entries_configfile: configfile | ||
extract_entries_source: configfile | ||
extract_legacy_entries_configfile: legacycfg | ||
extract_legacy_entries_source: legacycfg | ||
false: true | ||
freedos: freedos | ||
gdbstub: gdb | ||
gdbstub_break: gdb | ||
gdbstub_stop: gdb | ||
gptsync: gptsync | ||
help: minicmd | ||
hexdump_random: random | ||
initrd16: linux16 | ||
initrd: linux | ||
keymap: keylayouts | ||
kfreebsd_loadenv: bsd | ||
kfreebsd_module: bsd | ||
kfreebsd_module_elf: bsd | ||
knetbsd_module: bsd | ||
knetbsd_module_elf: bsd | ||
kopenbsd_ramdisk: bsd | ||
legacy_check_password: legacycfg | ||
legacy_configfile: legacycfg | ||
legacy_initrd: legacycfg | ||
legacy_initrd_nounzip: legacycfg | ||
legacy_kernel: legacycfg | ||
legacy_password: legacycfg | ||
legacy_source: legacycfg | ||
linux16: linux16 | ||
linux: linux | ||
list_trusted: pgp | ||
loadfont: font | ||
lsapm: lsapm | ||
lscoreboot: cbls | ||
lsfonts: font | ||
lsmmap: lsmmap | ||
lsmod: minicmd | ||
macppcbless: macbless | ||
mactelbless: macbless | ||
module2: multiboot2 | ||
module: multiboot | ||
multiboot2: multiboot2 | ||
multiboot: multiboot | ||
nativedisk: nativedisk | ||
net_add_addr: net | ||
net_add_dns: net | ||
net_add_route: net | ||
net_bootp: net | ||
net_del_addr: net | ||
net_del_dns: net | ||
net_del_route: net | ||
net_dhcp: net | ||
net_get_dhcp_option: net | ||
net_ipv6_autoconf: net | ||
net_ls_addr: net | ||
net_ls_cards: net | ||
net_ls_dns: net | ||
net_ls_routes: net | ||
net_nslookup: net | ||
normal: normal | ||
normal_exit: normal | ||
ntldr: ntldr | ||
outb: iorw | ||
outl: iorw | ||
outw: iorw | ||
parttool: parttool | ||
password: password | ||
password_pbkdf2: password_pbkdf2 | ||
play: play | ||
pxechainloader: pxechain | ||
read: read | ||
reboot: reboot | ||
return: normal | ||
rmmod: minicmd | ||
search.file: search_fs_file | ||
search.fs_label: search_label | ||
search.fs_uuid: search_fs_uuid | ||
setparams: normal | ||
shift: normal | ||
source: configfile | ||
terminal_input: terminal | ||
terminal_output: terminal | ||
test: test | ||
testload: testload | ||
time: time | ||
true: true | ||
truecrypt: truecrypt | ||
usb: usbtest | ||
vbeinfo: videoinfo | ||
vbetest: videotest | ||
videoinfo: videoinfo | ||
videotest: videotest | ||
write_byte: memrw | ||
write_dword: memrw | ||
write_word: memrw | ||
wrmsr: wrmsr | ||
xnu_devprop_load: xnu | ||
xnu_kernel64: xnu | ||
xnu_kernel: xnu | ||
xnu_kext: xnu | ||
xnu_kextdir: xnu | ||
xnu_mkext: xnu | ||
xnu_ramdisk: xnu | ||
xnu_resume: xnu | ||
xnu_uuid: xnu_uuid | ||
zfs-bootfs: zfsinfo | ||
zfsinfo: zfsinfo |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.