Synology RT2600AC - ipq8065

So, i've been poking around with this thing.... ( rt2600ac ).....

It's time to ask some help from the pros. Where i am at is that it seems i need most of all, a;

-dts

I've got the SDK/image builder.... it's uboot is fairly capable.

What I want to do, is throw KERNEL+ROOTFS onto a usb.... ( fyi it's uboot likes ext2.... )

Using the syno kernel and an OPENWRT root=..... it's possible to get it booted.... without much hardware detected.....

I've got the firmware.bin ( QCA96something ) also managed to rebuild the OEM initrd but they pack so much carp into it it's just not working out in a productive way......

So if anyone has some pointers on how i can extract / jimmy up a dts..... or can suggest some productive pathways to venture down... it would help alot ... cheers!

OEM Bootlog

U-Boot 2012.07-g564e18f [local,local] (Nov 16 2016 - 16:15:09)

smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  ipq_nand: unknown NAND device manufacturer: ff device: ff
ipq_nand: failed to identify device
SF: Detected MX25U6435F with page size 4 KiB, total 8 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x800000
8 MiB
MMC:   GUID Partition Table Header signature is wrong:0x0 != 0x5452415020494645
find_part_efi: *** ERROR: Invalid Primary GPT ***
GUID Partition Table Header signature is wrong:0x0 != 0x5452415020494645
find_part_efi: *** ERROR: Invalid Backup GPT ***
ipq_mmc: 0
PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
cdp: get part failed for 0:HLOS
cdp: get part failed for rootfs
Configure Synology custimized LED
Net:   MAC1 addr:0:3:7f:ba:db:1
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:0:3:7f:ba:db:2
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:01
Address in environment is  00:11:32:55:66:01
, eth1
Warning: eth1 MAC addresses don't match:
Address in SROM is         00:03:7f:ba:db:02
Address in environment is  00:11:32:55:66:02

Press Ctrl+C to abort autoboot in 3 second
Loading file "zImage" from mmc device 0:1 (xxa1)
2636760 bytes read
Loading file "rd.bin" from mmc device 0:1 (xxa1)
5612198 bytes read
Booting in from eMMC, cmd: bootm 0x44000000 0x46000000

   Image Name:   Linux-3.4.103
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2636696 Bytes = 2.5 MiB
   Load Address: 41508000
   Entry Point:  41508000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 46000000 ...
   Image Name:   synology_ipq806x_rt2600ac 6941
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    5612134 Bytes = 5.4 MiB
   Load Address: 49508000
   Entry Point:  49508000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdids not defined, no default present
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Linux version 3.4.103 (root@build1) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #6941 SMP Mon Aug 27 17:11:16 CST 2018
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: Qualcomm Atheros AP161 reference board
[    0.000000] msm_reserve_memory: 0x44600000, 0x200000
[    0.000000] memory pool 3 (start 5fc00000 size 400000) initialized
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] smem_find(137, 80): wrong size 72
[    0.000000] socinfo_init: v6, id=280, ver=3.0, raw_id=17, raw_ver=17, hw_plat=0,  hw_plat_ver=65536
[    0.000000]  accessory_chip=0 hw_plat_subtype=0
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0eef000 s11008 r8192 d13568 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123178
[    0.000000] Kernel command line: console=ttyHSL1,115200n8 initrd= init=/sbin/init root=/dev/mmcblk0p5 rootdelay=2 rw syno_hw_version=RT2600acv10 netif_num=3 syno_mac_address_mapping=eth04
[    0.000000] Set rootdelay: [2]
[    0.000000] Synology Hardware Version: RT2600acv10-j
[    0.000000] Internal netif num: 3
[    0.000000] Synology MAC address Mapping: eth0,eth1,eth2,wlan0,wlan1
[    0.000000] Internal wireless num: 2
[    0.000000] Factory USB3 Disable: 1
[    0.000000] Vender format version: 2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 49MB 436MB = 485MB total
[    0.000000] Memory: 475368k/481512k available, 21272k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdeb00000   ( 491 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07a80e4   (7809 kB)
[    0.000000]       .init : 0xc0800000 - 0xc0903b00   (1039 kB)
[    0.000000]       .data : 0xc0904000 - 0xc09b7678   ( 718 kB)
[    0.000000]        .bss : 0xc09b769c - 0xc0aeb650   (1232 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:1689
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
[    0.000000] Console: colour dummy device 80x30
[    0.150452] Calibrating delay using timer specific routine.. 12.55 BogoMIPS (lpj=62778)
[    0.150484] pid_max: default: 32768 minimum: 301
[    0.150827] Security Framework initialized
[    0.150859] AppArmor: AppArmor initialized
[    0.151015] Mount-cache hash table entries: 512
[    0.153139] CPU: Testing write buffer coherency: ok
[    0.153358] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.153358] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.153483] Setting up static identity map for 0x41a093c8 - 0x41a09450
[    0.155795] CPU1: Booted secondary processor
[    0.155857] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.155951] Brought up 2 CPUs
[    0.155951] SMP: Total of 2 processors activated (25.11 BogoMIPS).
[    0.158356] devtmpfs: initialized
[    0.179662] dummy: 
[    0.180943] NET: Registered protocol family 16
[    0.182349] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.186160] meminfo_init: smem ram ptable found: ver: 0 len: 5
[    0.186191] Found 1 memory banks grouped into 8 memory regions
[    0.186910] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[    0.187753] smem_find(137, 80): wrong size 72
[    0.187785] socinfo_init: v6, id=280, ver=3.0, raw_id=17, raw_ver=17, hw_plat=0,  hw_plat_ver=65536
[    0.187785]  accessory_chip=0 hw_plat_subtype=0
[    0.187847] msm_rpm_init: RPM firmware 3.0.16777372
[    0.197000] clk_tbl_nss_fast - loaded
[    0.228553] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.228584] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.228990] msm_dmov_memcpy_init: Success
[    0.240393] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
[    0.240424] sps:BAM 0x12244000 is registered.
[    0.240674] sps:sps is ready.
[    0.301124] msm_pcie_setup: link initialized
[    0.301624] PCI host bridge to bus 0000:00
[    0.301624] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fefffff]
[    0.302124] PCI: bus0: Fast back to back transfers disabled
[    0.302124] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.302842] PCI: bus1: Fast back to back transfers disabled
[    0.361293] msm_pcie_setup: link initialized
[    0.361636] PCI host bridge to bus 0000:02
[    0.361668] pci_bus 0000:02: root bus resource [mem 0x2e000000-0x31efffff]
[    0.362105] PCI: bus2: Fast back to back transfers disabled
[    0.362136] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.362824] PCI: bus3: Fast back to back transfers disabled
[    0.481630] msm_pcie_setup: link initialization failed
[    0.482130] pci 0000:02:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.482130] pci 0000:03:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.482193] pci 0000:02:00.0: PCI bridge to [bus 03-03]
[    0.482193] pci 0000:02:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.482255] PCI: enabling device 0000:02:00.0 (0140 -> 0143)
[    0.482318] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.482349] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.482380] pci 0000:00:00.0: PCI bridge to [bus 01-01]
[    0.482380] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.482442] PCI: enabling device 0000:00:00.0 (0140 -> 0143)
[    0.518431] bio: create slab <bio-0> at 0
[    0.520368] SCSI subsystem initialized
[    0.522430] spi_qsd spi_qsd.5: master is unqueued, this is deprecated
[    0.524929] spi_qsd spi_qsd.6: master is unqueued, this is deprecated
[    0.527522] usbcore: registered new interface driver usbfs
[    0.527741] usbcore: registered new interface driver hub
[    0.528053] usbcore: registered new device driver usb
[    0.531427] Switching to clocksource gp_timer
[    0.532708] AppArmor: AppArmor Filesystem Enabled
[    0.560512] NET: Registered protocol family 2
[    0.572258] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.573164] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.573445] TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
[    0.573695] TCP: Hash tables configured (established 16384 bind 16384)
[    0.573726] TCP: reno registered
[    0.573726] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.573758] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.574351] NET: Registered protocol family 1
[    0.574820] RPC: Registered named UNIX socket transport module.
[    0.574851] RPC: Registered udp transport module.
[    0.574851] RPC: Registered tcp transport module.
[    0.574851] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.575320] Trying to unpack rootfs image as initramfs...
[    5.668041] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    5.687160] Freeing initrd memory: 5480K
[    5.688503] Detected 5 counters on the L2CC PMU.
[    5.690253] Partition(from smem) SBL1 -- Offset:0 Size:20000
[    5.690284] Partition(from smem) MIBIB -- Offset:20000 Size:20000
[    5.690284] Partition(from smem) SBL2 -- Offset:40000 Size:40000
[    5.690315] Partition(from smem) SBL3 -- Offset:80000 Size:80000
[    5.690315] Partition(from smem) DDRCONFIG -- Offset:100000 Size:10000
[    5.690346] Partition(from smem) SSD -- Offset:110000 Size:10000
[    5.690378] Partition(from smem) TZ -- Offset:120000 Size:80000
[    5.690378] Partition(from smem) RPM -- Offset:1a0000 Size:80000
[    5.690409] Partition(from smem) APPSBL -- Offset:220000 Size:80000
[    5.690440] Partition(from smem) APPSBLENV -- Offset:2a0000 Size:40000
[    5.690440] Partition(from smem) ART -- Offset:2e0000 Size:40000
[    5.690471] Partition(from smem) vendor -- Offset:320000 Size:d0000
[    5.690502] Partition(from smem) FIS directory -- Offset:3f0000 Size:10000
[    5.708778] acpuclk-ipq806x acpuclk-ipq806x: SPEED BIN: 0
[    5.708809] acpuclk-ipq806x acpuclk-ipq806x: ACPU PVS: 5
[    5.716244] acpuclk-ipq806x acpuclk-ipq806x: CPU0: 6 frequencies supported
[    5.716244] acpuclk-ipq806x acpuclk-ipq806x: CPU1: 6 frequencies supported
[    5.717806] msm_rpm_log_probe: OK
[    5.719368] Synology LED extension init
[    5.720087] audit: initializing netlink socket (disabled)
[    5.720118] type=2000 audit(5.708:1): initialized
[    5.751296] NFS: Registering the id_resolver key type
[    5.753108] fuse init (API version 7.18)
[    5.754826] msgmni has been set to 939
[    5.760168] Asymmetric key parser 'x509' registered
[    5.761074] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    5.761105] io scheduler noop registered
[    5.761105] io scheduler deadline registered (default)
[    5.762105] HDLC line discipline maxframe=4096
[    5.762136] N_HDLC line discipline registered.
[    5.763136] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    5.766447] msm_serial_hs.0: ttyHS0 at MMIO 0x12490000 (irq = 227) is a MSM HS UART
[    5.767166] msm_serial_hs module loaded
[    5.767322] msm_serial_hsl: detected port #1
[    5.767478] msm_serial_hsl.1: ttyHSL1 at MMIO 0x16340000 (irq = 184) is a MSM
[    5.767885] msm_serial_hsl: console setup on port #1
[    6.662480] console [ttyHSL1] enabled
[    6.666635] msm_serial_hsl: driver initialized
[    6.697250] brd: module loaded
[    6.699281] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[    6.712371] ahci ahci.0: forcing PORTS_IMPL to 0x1
[    6.716182] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    6.724054] ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    6.733864] scsi0 : ahci_platform
[    6.737144] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 241
[    7.091502] ata1: SATA link down (SStatus 0 SControl 300)
[    7.099218] m25p80 spi5.0: found mx25u6435f, expected s25fl512s
[    7.104186] m25p80 spi5.0: mx25u6435f (8192 Kbytes)
[    7.109621] Creating 13 MTD partitions on "m25p80":
[    7.113901] 0x000000000000-0x000000020000 : "SBL1"
[    7.121680] 0x000000020000-0x000000040000 : "MIBIB"
[    7.128272] 0x000000040000-0x000000080000 : "SBL2"
[    7.134864] 0x000000080000-0x000000100000 : "SBL3"
[    7.141362] 0x000000100000-0x000000110000 : "DDRCONFIG"
[    7.148266] 0x000000110000-0x000000120000 : "SSD"
[    7.154639] 0x000000120000-0x0000001a0000 : "TZ"
[    7.160918] 0x0000001a0000-0x000000220000 : "RPM"
[    7.167353] 0x000000220000-0x0000002a0000 : "APPSBL"
[    7.174101] 0x0000002a0000-0x0000002e0000 : "APPSBLENV"
[    7.181068] 0x0000002e0000-0x000000320000 : "ART"
[    7.187535] 0x000000320000-0x0000003f0000 : "vendor"
[    7.192689] serial number='1860P3N066800'
[    7.195688] vender Mac5 checksum error ucSum:0x00 Buf:0xff Sum:0.
[    7.201780] vender Mac6 checksum error ucSum:0x00 Buf:0xff Sum:0.
[    7.207810] vender Mac7 checksum error ucSum:0x00 Buf:0xff Sum:0.
[    7.213933] WPS pin='28680505'
[    7.219868] 0x0000003f0000-0x000000400000 : "FIS directory"
[    7.270196] GPIO Bitbanged MDIO: probed
[    7.276132] ipq-dwc3 ipq-dwc3.0: unable to read platform data num of dbm eps
[    7.386410] ipq-dwc3 ipq-dwc3.1: unable to read platform data num of dbm eps
[    7.495501] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.501093] msm_hsusb_host msm_hsusb_host: unable to find transceiver
[    7.508372] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.514245] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    7.518931] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 1
[    7.525991] xhci-hcd xhci-hcd.0: irq 142, io mem 0x11000000
[    7.532708] hub 1-0:1.0: USB hub found
[    7.535457] hub 1-0:1.0: 1 port detected
[    7.539612] xhci-hcd xhci-hcd.0: xHCI Host Controller
[    7.544454] xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 2
[    7.551640] xhci USB3 ports are disabled!
[    7.556669] hub 2-0:1.0: USB hub found
[    7.559387] hub 2-0:1.0: 1 port detected
[    8.071727] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    8.075788] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 3
[    8.083099] xhci-hcd xhci-hcd.1: irq 237, io mem 0x10000000
[    8.089690] hub 3-0:1.0: USB hub found
[    8.092439] hub 3-0:1.0: 1 port detected
[    8.096563] xhci-hcd xhci-hcd.1: xHCI Host Controller
[    8.101374] xhci-hcd xhci-hcd.1: new USB bus registered, assigned bus number 4
[    8.108591] xhci USB3 ports are disabled!
[    8.113651] hub 4-0:1.0: USB hub found
[    8.116369] hub 4-0:1.0: 1 port detected
[    8.531521] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    8.621930] Initializing USB Mass Storage driver...
[    8.626179] scsi1 : usb-storage 3-1:1.0
[    8.630584] usbcore: registered new interface driver usb-storage
[    8.635613] USB Mass Storage support registered.
[    8.640174] i2c /dev entries driver
[    8.652858] cpuidle: using governor ladder
[    8.656950] mmc0: SDCC Version: 0x06000018
[    8.660387] mmc0: bam physical base=0x12402000
[    8.664511] mmc0: bam virtual base=0xdf06c000
[    8.668791] sps:BAM 0x12402000 is registered.
[    8.673008] mmc0: BAM device registered. bam_handle=0xda126400
[    8.678944] sps:BAM 0x12402000 enabled: ver:0x5, number of pipes:6
[    8.685317] mmc0: Qualcomm MSM SDCC-BAM at 0x0000000012402000 irq 130
[    8.691596] mmc0: Qualcomm MSM SDCC-DML at 0x0000000012400800
[    8.697313] mmc0: No card detect facilities available
[    8.704123] mmc0: Qualcomm MSM SDCC-core at 0x0000000012400000 irq 136,0 dma -1 dmacrcri -1
[    8.711465] mmc0: Controller capabilities: 0x0000019a
[    8.716463] mmc0: 8 bit data mode enabled
[    8.720462] mmc0: 4 bit data mode disabled
[    8.724586] mmc0: polling status mode disabled
[    8.728959] mmc0: MMC clock 400000 -> 96000000 Hz, PCLK 0 Hz
[    8.734614] mmc0: Slot eject status = 0
[    8.738425] mmc0: Power save feature enable = 1
[    8.742955] mmc0: SPS-BAM data transfer mode available
[    8.748516] mmc1: SDCC Version: 0x06000018
[    8.752452] mmc1: bam physical base=0x12182000
[    8.756576] mmc1: bam virtual base=0xdf0bc000
[    8.760918] sps:BAM 0x12182000 is registered.
[    8.765104] mmc1: BAM device registered. bam_handle=0xda084200
[    8.771009] sps:BAM 0x12182000 enabled: ver:0x5, number of pipes:6
[    8.777319] mmc1: Qualcomm MSM SDCC-BAM at 0x0000000012182000 irq 128
[    8.783692] mmc1: Qualcomm MSM SDCC-DML at 0x0000000012180800
[    8.792439] mmc1: Qualcomm MSM SDCC-core at 0x0000000012180000 irq 134,351 dma -1 dmacrcri -1
[    8.799937] mmc1: Controller capabilities: 0x0000019a
[    8.805060] mmc1: 8 bit data mode disabled
[    8.809059] mmc1: 4 bit data mode enabled
[    8.813089] mmc1: polling status mode disabled
[    8.817463] mmc1: MMC clock 400000 -> 192000000 Hz, PCLK 0 Hz
[    8.823242] mmc1: Slot eject status = 1
[    8.827022] mmc1: Power save feature enable = 1
[    8.831552] mmc1: SPS-BAM data transfer mode available
[    8.877819] Netfilter messages via NETLINK v0.30.
[    8.881599] nf_conntrack version 0.5.0 (7513 buckets, 30052 max)
[    8.893252] ctnetlink v0.93: registering with nfnetlink.
[    8.897563] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    8.904561] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    8.910340] ip_set: protocol 6
[    8.913808] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.919025] arp_tables: (C) 2002 David S. Miller
[    8.923367] TCP: cubic registered
[    8.926522] TCP: highspeed registered
[    8.930209] Initializing XFRM netlink socket
[    8.936144] NET: Registered protocol family 10
[    8.940612] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.945142] IPv6 over IPv4 tunneling driver
[    8.950484] NET: Registered protocol family 17
[    8.954045] Bridge firewalling registered
[    8.957950] 8021q: 802.1Q VLAN Support v1.8
[    8.962136] Registering the dns_resolver key type
[    8.967166] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    8.974570] Registering SWP/SWPB emulation handler
[    8.979287] clock_late_init: Removing enables held for handed-off clocks
[    8.985973] mmc0: new high speed MMC card at address 0001
[    8.992439] mmcblk0: mmc0:0001 M62704 3.53 GiB 
[    8.999531]  mmcblk0: p1 p3 p4 < p5 p6 p7 >
[    9.002811] This is not a kind of scsi disk 179
[    9.007247] no pmic restart interrupt specified
[    9.007278] This is not a kind of scsi disk 179
[    9.007372] This is not a kind of scsi disk 179
[    9.007466] This is not a kind of scsi disk 179
[    9.007560] This is not a kind of scsi disk 179
[    9.007622] This is not a kind of scsi disk 179
[    9.036863] registered taskstats version 1
[    9.040424] Suspending console(s) (use no_console_suspend to debug)
[    9.071540] Waiting 2sec before mounting root device...
[    9.622180] scsi 1:0:0:0: Direct-Access     Generic- SD/MMC                   1.00 PQ: 0 ANSI: 0 CCS
[    9.631052] sd 1:0:0:0: Attached scsi generic sg0 type 0
[   10.255607] sd 1:0:0:0: [sdr] 30228480 512-byte logical blocks: (15.4 GB/14.4 GiB)
[   10.262886] sd 1:0:0:0: [sdr] Write Protect is off
[   10.267228] sd 1:0:0:0: [sdr] No Caching mode page found
[   10.272227] sd 1:0:0:0: [sdr] Assuming drive cache: write through
[   10.280006] sd 1:0:0:0: [sdr] No Caching mode page found
[   10.284317] sd 1:0:0:0: [sdr] Assuming drive cache: write through
[   10.291127]  sdr: sdr1 sdr2 sdr3
[   10.295438] sd 1:0:0:0: [sdr] No Caching mode page found
[   10.299718] sd 1:0:0:0: [sdr] Assuming drive cache: write through
[   10.305810] sd 1:0:0:0: [sdr] Attached SCSI removable disk
[   11.081568] RAMDISK: lzma image found at block 0
[   12.961574] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
Insert basic USB modules...
[   13.061230] rt2600ac_synobios: module license 'Synology Inc.' taints kernel.
[   13.067260] Disabling lock debugging due to kernel taint
[   13.461824] 2018-1-1 0:0:0 UTC
[   13.463855] synobios: load, major number 201
[   13.468103] Brand: Synology
[   13.470884] Model: RT-2600ac
[   13.473758] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   13.482193] synobios cpu_arch proc entry initialized
[   13.487129] synobios crypto_hw proc entry initialized
[   13.492158] synobios syno_platform proc entry initialized
mknod: /dev/synobios: File exists
Starting /usr/syno/bin/synocfgen...
unknown model: 145, skip updating model info
/usr/syno/bin/synocfgen returns 0
[   13.513589] synobios: unload
Partition Version=9
 /sbin/e2fsck exists, checking /dev/sda5... 
      169394 blocks used (54.06%, out of 31334[   14.743517] EXT4-fs (mmcblk0p5): barriers disabled
4)
       22986 files
/sbin/e2fsck returns 1
Mounting /dev/sda5 /tmpRoot
------------upgrade
/etc/upgrade.sh: line 72: support_internal_usb_vol: not found
use default /dev/sda6
Begin upgrade procedure
e2fsck 1.42.6 (21-Sep-2012)
Mount data partition
/bin/mount /dev/sda6 /tmpData
[   14.844111] EXT4-fs (mmcblk0p6): barriers disabled
[   14.856763] EXT4-fs (mmcblk0p6): recovery complete
[   14.861043] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: 
No upgrade file exists
End upgrade procedure
============upgrade
Wait 2 seconds for synology manufactory device
Mon Jan  1 00:00:03 UTC 2018
/dev/sda5 /tmpRoot ext4 rw,relatime,journal_checksum,data=ordered 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys sysfs rw,relatime 0 0
linuxrc.syno executed successfully.
[   17.165448] EXT3-fs (mmcblk0p5): error: couldn't mount because of unsupported optional features (240)
[   17.307154] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: barrier=1
[   17.314495] VFS: Mounted root (ext4 filesystem) on device 179:5.
[   17.320462] Trying to move old root to /initrd ... okay
[   17.329272] devtmpfs: mounted
[   17.332177] Freeing init memory: 1036K
[   17.583536] EXT4-fs (mmcblk0p5): re-mounted. Opts: (null)
==================== start udevd ====================
[   19.435114] init: syno-auth-check main process (1561) killed by TERM signal
[   20.324835] ssdk_plat_init start
[   20.327085] Register QCA PHY driver
[   20.335832] PHY ID is 0x4dd036
[   20.505310] qca probe f1 phy driver succeeded!
[   20.508684] qca-ssdk module init succeeded!
[   20.532146] **********************************************************
[   20.537613] * Driver    :NSS GMAC Driver for RTL v(3.72a)
[   20.543017] * Version   :1.0
[   20.545860] * Copyright :Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
[   20.554233] **********************************************************
[   20.560855] ipq_nss_get_mac_addr: MAC[0]: ff:ff:ff:ff:ff:ff
[   20.566416] ipq_nss_get_mac_addr: MAC[1]: ff:ff:ff:ff:ff:ff
[   20.571946] ipq_nss_get_mac_addr: MAC[2]: ff:ff:ff:ff:ff:ff
[   20.577756] GMAC0(da0fa4c0) Invalid MAC@ - using e6:e7:e8:e9:ea:eb
[   20.589347] GMAC1(da0fccc0) Invalid MAC@ - using be:bf:c0:c1:c2:c3
[   20.826804] systemd-udevd[2038]: starting version 204
===== trigger device plug event =====
[   22.851452] Synology QCA8337 topology init... done!
[   23.043298] GMAC2(da0ff4c0) Invalid MAC@ - using b6:b7:b8:b9:ba:bb
[   23.528897] nss_driver - fw of size 450112  bytes copied to load addr: 40000000, nss_id : 0
[   23.560449] nss_driver - Turbo Support 1
[   23.563448] Supported Frequencies - 110Mhz 600Mhz 800Mhz 
[   23.645454] nss_driver - fw of size 194880  bytes copied to load addr: 40800000, nss_id : 1
[   23.663730] Error - Duplicate Interface CB Registered for interface 107
[   23.669290] Error - Duplicate Interface CB Registered for interface 110
[   24.453358] 2018-1-1 0:0:0 UTC
[   24.455357] synobios: load, major number 201
[   24.459637] Brand: Synology
[   24.462386] Model: RT-2600ac
[   24.465260] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[   24.473726] synobios cpu_arch proc entry initialized
[   24.478631] synobios crypto_hw proc entry initialized
[   24.483723] synobios syno_platform proc entry initialized
[   24.680631] ath_dfs: Version 2.0.0
[   24.680631] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[   24.731833] ath_hal: 0.9.17.1 (AR5416, AR9380, WRITE_EEPROM, 11D)
[   24.831990] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[   24.930927] ath_spectral: Version 2.0.0
[   24.930927] Copyright (c) 2005-2009 Atheros Communications, Inc. All Rights Reserved
[   95.641549] wmi_unified_vdev_down_send for vap 0 (d7830000)
[snip]
[   95.657138] ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
[   95.917244] ol_vdev_start_resp_ev for vap 0 (d7830000)
[   95.921493] su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 1 sounding dim 3
[   95.928428] wmi_unified_vdev_up_send for vap 0 (d7830000)
[   95.933801] __ieee80211_smart_ant_init: Smart Antenna functions are not registered !!! 
[   96.284661] EXT4-fs (mmcblk0p6): barriers disabled
[   96.324586] EXT4-fs (mmcblk0p6): mounted filesystem with writeback data mode. Opts: data=writeback,oldalloc
[   97.144736] synoiprecord: Init successfully
[   97.170353] Adding 262140k swap on /volume1/.intswp.  Priority:999 extents:2 across:270332k SS
[   98.301280] [SYNO] success to create syno_netlink_sock(28)
[   98.302343] usbcore: registered new interface driver usblp

SynologyRouter login: root
Password: [  104.588472] loop: module loaded
[snip]
BusyBox v1.16.1 (2018-05-23 15:39:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ #

cat /proc/partitions ( sdr is my usb )

major minor  #blocks  name

  31        0        128 mtdblock0
  31        1        128 mtdblock1
  31        2        256 mtdblock2
  31        3        512 mtdblock3
  31        4         64 mtdblock4
  31        5         64 mtdblock5
  31        6        512 mtdblock6
  31        7        512 mtdblock7
  31        8        512 mtdblock8
  31        9        256 mtdblock9
  31       10        256 mtdblock10
  31       11        832 mtdblock11
  31       12         64 mtdblock12
 179        0    3702784 mmcblk0
 179        1      16384 mmcblk0p1
 179        3      16384 mmcblk0p3
 179        4          1 mmcblk0p4
 179        5    1253376 mmcblk0p5
 179        6    2097152 mmcblk0p6
 179        7     262144 mmcblk0p7
  65       16   15114240 sdr
  65       17   12582912 sdr1
  65       18    2097152 sdr2
  65       19     433152 sdr3

uboot -> printenv

(IPQ) # printenv
autoload=no 
baudrate=115200
bootargs=console=ttyHSL1,115200n8 
bootcmd=run syno_bootargs; run bootmmc
bootdelay=3
bootmmc=mmc rescan;ext2load mmc 0:1 $kload zImage;ext2load mmc 0:1 $rload rd.bin;bootipq; run bootresc 
bootresc=setenv syno_extra_args syno_rescue=1; run syno_bootargs; ext2load mmc 0:3 $kload zImage;ext2load mmc 0:3 $rload rd.bin;bootipq
emmc=1
eth1addr=00:11:32:55:66:02 
eth2addr=00:11:32:55:66:03 
eth3addr=00:11:32:55:66:04 
ethact=eth0
ethaddr=00:11:32:55:66:01 
hostname=SynologyRouter
kload=0x44000000
machid=136c
rload=0x46000000
stderr=serial
stdin=serial
stdout=serial
syno_boot_delay=2
syno_boot_dev=**/dev/mmcblk0p5**
syno_bootargs=setenv bootargs console=ttyHSL1,115200n8 initrd=$loadaddr_rootfs init=/sbin/init root=$syno_boot_dev rootdelay=$syno_boot_delay rw $syno_extra_args syno_hw_version=$syno_hw_ve4
syno_disable_usb3=1
syno_hdd_powerup_seq=2
syno_hw_version=RT2600acv10
syno_mac_mapping=eth0,eth1,eth2,wlan0,wlan1
syno_net_if_num=3
syno_wifionoff=1
syno_wireless_num=2

Environment size: 1247/262140 bytes

For anyone interested.....

setenv syno_boot_dev '/dev/sdr1'
setenv bootmmc 'usb start;ext2load usb 0:1 $kload zImage;ext2load usb 0:1 $rload rd.bin'
run bootcmd

Will get you loading off usb... ext2 seems to go smoother... I think they do something funny in the ext3/4 space...

Houston, we have a liftoff.... :slight_smile:

All up and running now, usb extrooted running with 450Mb memory to spare :slight_smile:

Thanks to all the developers who put there time and effort into this. I'm running with the nbg variant, kernel loading off usb sda1 ext2, I believe the Syno uboot only has ext2load, although there seems some support for ubifs command action, if i new what it was :wink:

bootarg root=/dev/sda3 ( ext4 ) addtty rootwait

would have been nice to get the tftp working on it and it doesn't seems to see the external mmc slot hence the focus on usb.

quirks so far..... I can only id half of the leds but havent really had a good crack at that........ chaos kernel / nbg build only seems to find the internal mmc.... might have a crack at that soon......

also on the list is to point uboot at internal space partion..... mmcblk0p6..... some synodata on there but a hefty 1.5 GB left so we'll see if we can mock up a decent stand alone self healing shenanigans.....

i'll be around for a bit, but fwiw, yes, this device can run chaos no dramas.

i have to take my hat off to synology while i'm here. the work on the gui, the self healing mechanisms, user scope to tinker...... i'm very very impressed......

alas, i think they pushed the "advancedness" a little too far on this baby, which is understandable considering their background and for the average home user, apart from some niggles hitting the webui / resetting....... i'd be more than stoked with this thing.....

for a power user tho' those niggles and "syno-service-something" are a big elephant tied to the back of a ferrari. But again, i'm happy they pushed the envelope and got to here rather than not. And if it's hackable..... from where I sit..... who cares :slight_smile:

ok.... nearing the objective now.......

remaining issues for me are the;
-external mmc slot
-a few more leds would be good ( have most barring last 5 ... )

after toying with many many drivers.... sdhci mmc ..... etc. etc. etc. qcom-blah-blah-blah.....

eventually i've cracked the cover from this confusing conundrum.... well ..... sort of......

using a recent extracted OEMdtb, the slot has shown up :)..... but I feel this will probably one hell of an ask for me to get anywhere either efficiently or deliberately.

if anyone has any pointers.......

ATM i'm thinking of plucking the LED and ambi ( mmc ) ONLY from the vendor DTS..... and merging into similar.....

i've been using opwnwrt-ipq8065-nbg6817.dts

apologies for the verbosity, i do realise much of what within the following is spurious and already defined externally in the above file via include / dtsi..... here is the working led/mmc schmantics...

https://drive.google.com/file/d/1nNib6y888PUS6ru7ZYn-GPOBKivmTk8d/view?usp=sharing

hello, I have a broken rt2600ac router, I would like to ask if anyone has a memory dump from the emmc?