[ OpenWrt ][ News ]非官方Synology RT2600AC 支援(非官方)OpenWrt →開放測試

OpenWrt Forum官方論壇 - Synology rt2600ac support thread

wulfy23/rt2600ac

wulfy23/rt2600ac-build

適合對象:
  1. 英文閱讀能力(都是豆芽菜)。
  2. Linux OS操作能力。
  3. 膽大心細, 小心求證;「不求有功, 但求無過」步步前進。
  4. 了解刷機風險, 勇於承擔。
聽說支援到Linux Kernel 4.19 ,好強

[rt2600ac]README
$> wget https://github.com/wulfy23/rt2600ac/buildroot-init.sh
$> ./buildroot-init.sh (optionally edit buildroot-init.sh.ini see --help for other options)
$> ./buildroot-init.sh (generate new buildroot dir)

$> cd openwrt-XYZ
$> ./runmake
(optional edit runmake.ini disable usbmod if not usb booting amongst other options)
$> ./runmake
(optional make menuconfig > change device if not rt2600ac )
$> ./runmake -j12 V=s (or -h) (first run takes approx 45mins)

For rt2600ac
1) Place generated OS onto usb drive
1.a) Edit the usbputter.sh script with your usb device UUID's see optional README:re:partitioning > synowrt/br/SYNOWRT.readme
1.b) Run ./usbputter.sh
2) Modify uboot-env (warning advanced users only:rt2600ac for other devices see sample)
2.a) Place disk in device and ssh to it
2.b) Run /mountpt/bin/wrtbootgen
2.c) Re-run after checking generated env.file with -s?WIP

For other devices... some equivalent env settings are below for reference...

##########################################!!! THESE WILL LIKELY NOT WORK WITHOUT ALTERATION FOR YOUR DEVICE !!!
# REFERENCE normalboot bootmmc=mmc rescan;ext2load mmc 0:1 $kload zImage;ext2load mmc 0:1 $rload rd.bin;bootipq; run bootresc
kload=0x44000000
rload=0x46000000
dload=0x48000000
sload=0x49000000
uload=0x50000000
wrt_init=/sbin/init
wrt_root_delay=7
wrt_console=ttyMSM0,115200n8
wrtbootdev=/dev/sda3
serverip=192.168.1.7
wrtbootarg=setenv bootargs console=$wrt_console initrd=$loadaddr_rootfs init=$wrt_init root=$wrtbootdev rootwait
checkusb=usb start; if ext2load usb 0:1 ${uload} booty.txt; then echo Importing USB booty.txt && env import -t ${uload} ${filesize} && r
un bootcmd; fi
wrtgo=usb start; ext2load usb 0:1 $kload kernel; run wrtbootarg; bootm $kload
bootcmd=run checkusb; run bootcmdorg; run bootresc
bootcmdorg=run syno_bootargs; run bootmmc
##########################################!!! THESE WILL LIKELY NOT WORK WITHOUT ALTERATION FOR YOUR DEVICE !!!
##########################################! see booty.txt for sample to place on root of usb-part1:wrtboot


[rt2600ac-build]README
BETA: Sample USB/mmc builds for rt2600ac

Forum Thread: https://forum.openwrt.org/t/synology-rt2600ac-support-thread/27539
NOTE: Use the latest dated build or the one before it

VIEW the README in each upload dir as instructions are fluid at this stage

NOTE: mmc openwrt partition is likely to be cleaned by oem... so for now... it is best
to use a usb stick for anything you wish to keep semi permanent
( The mmc openwrt filesystem is needed for install but not after that )
Feel free to use mmc only... but be aware for now... it should not be considered "permanent"


NOTE: oem uboot will re-write it's default vars if interrupted early... if your device boots oem and;

fw_printenv wrtbootalt
is empty or not 2... then you will need to either re-install the original .pat ( overwrites your mmc rootfs )
or ( tba: command to just mod uboot )


UNINSTALL
1) Just switching on then switching off after around 5-9 seconds ( tba: clarify )
should reset the uboot vars... this will have you only load into oem
an OEM reset would then clear the openwrt rootfs files... ( just leaving a dormant kernel + boot.scr on mmc-p1

2) You can also within OEM os> touch /.uninstallopenwrt and flash the openwrt .pat installer
this will remove the openwrt rootfs + kernel + boot.scr ( tba restore the original uboot -> for now it will safely skip )


Serial is advised as are backups of all partitions especially mtd(0-9) + mmcblk0p(1,3,7)+5,6(live underoem )



OLDINSTRUCTIONS no longer valid

Installer script needs testing: Needs some fixes...

./usbdlputter.sh ( -D ... ) > formats usb stick
./usbdlputter.sh -L
boot into oem > enable ssh in webui > ssh into device
possibly mount usb stick ( i think it's automounted )
sh /mnt/of/stick/bin/wrtbootgen -s /mnt/of/stick ( this will generate a file to update your uboot to check usb )
#if you get this far...

ps.這裡只提供連結,不負責任何玩家任何操作風險, 風險自負XD。
2020-01-02 8:20 發佈
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?