Hi guys!
If you need to be able to download Stock OS and Debian OS from a USB stick then you should use two boot loaders the old marwell 3.4.14 and the new Bodhi 2017.05.
For exampl ...
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:38:05 -0700)
Netgear Stora MS2110
SoC: Kirkwood 88F6281_A0
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 1024 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Reset IDE: ide_preinit failed
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
## Unknown partition table type 0
loading envs from usb 0 ...
** Bad device usb 0 **
no IDE devices available
running scan_disk ...
Scan device usb
device usb 0:1
** Bad device usb 0 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide
Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
loading uImage ...
** Bad device usb 0 **
loading uInitrd ...
** Bad device usb 0 **
loading DTB /boot/dts/kirkwood-netgear_stora_ms2000 ...
** Bad device usb 0 **
Unknown command 'bootm0x800000' - try 'help'
NAND read: device 0 offset 0x700000, size 0x80000
524288 bytes read: OK
## Starting application at 0x00F00200 ...
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE
U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60
Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 6 tRP = 6 tRAS = 24 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM Total size 512MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:1024 MB
CRC in Flash: 6e646105, Calculated CRC: 6e646105
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
Module 0 is RGMII
Module 1 is TDM
USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x300000, size 0x400000
Reading data from 0x6ff800 -- 100% complete.
4194304 bytes read: OK
NAND read: device 0 offset 0x100000, size 0x200000
Reading data from 0x2ff800 -- 100% complete.
2097152 bytes read: OK
## Booting image at 00d00000 ...
Image Name: Linux-2.6.32.12
Created: 2021-03-04 9:56:57 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1553632 Bytes = 1.5 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 00800000 ...
Image Name: synology_88f6282_213 25556
Created: 2021-05-02 17:05:23 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3353872 Bytes = 3.2 MB
Load Address: 00800000
Entry Point: 00800000
Verifying Checksum ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.32.12 (root@build4) (gcc version 4.6.4 (Marvell GCC release 20150204-c4af733b 64K MAXPAGESIZE ALIGN CVE-2015-0235) ) #25556 Thu Mar 4 17:56:48 CST 2021
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Feroceon-KW
[ 0.000000] Using UBoot passing parameters structure
[ 0.000000] Sys Clk = 200000000, Tclk = 166666667
[ 0.000000] Synology Board ID: 1
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x00800040,8M root=/dev/md0 rw syno_hw_version=DS213v10 ihd_num=2 netif_num=1 flash_size=1024
[ 0.000000] Synology Hardware Version: DS213v10-j
[ 0.000000] Internal HD num: 2
[ 0.000000] Internal netif num: 1
[ 0.000000] Flash Memory Size: 1024 MB
[ 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: 256MB 256MB = 512MB total
[ 0.000000] Memory: 502784KB available (3656K code, 519K data, 124K init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:128
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[ 0.240000] Mount-cache hash table entries: 512
[ 0.240000] CPU: Testing write buffer coherency: ok
[ 0.240000] devtmpfs: initialized
[ 0.240000] xor: measuring software checksum speed
[ 0.290000] arm4regs : 1085.600 MB/sec
[ 0.340000] 8regs : 651.600 MB/sec
[ 0.390000] 32regs : 841.200 MB/sec
[ 0.390000] xor: using function: arm4regs (1085.600 MB/sec)
[ 0.390000] NET: Registered protocol family 16
[ 0.390000] Feroceon L2: Enabling L2
[ 0.390000] Feroceon L2: Cache support initialised, in WT override mode.
[ 0.400000]
[ 0.400000] CPU Interface
[ 0.400000] -------------
[ 0.400000] SDRAM_CS0 ....base 00000000, size 256MB
[ 0.400000] SDRAM_CS1 ....base 10000000, size 256MB
[ 0.400000] SDRAM_CS2 ....disable
[ 0.400000] SDRAM_CS3 ....disable
[ 0.400000] PEX0_MEM ....base e0000000, size 128MB
[ 0.400000] PEX0_IO ....base f2000000, size 1MB
[ 0.400000] PEX1_MEM ....no such
[ 0.400000] PEX1_IO ....no such
[ 0.400000] INTER_REGS ....base f1000000, size 1MB
[ 0.400000] NFLASH_CS ....base fa000000, size 2MB
[ 0.400000] SPI_CS ....base f4000000, size 16MB
[ 0.400000] BOOT_ROM_CS ....no such
[ 0.400000] DEV_BOOTCS ....no such
[ 0.400000] CRYPT_ENG ....base f0000000, size 2MB
[ 0.400000] Detected Tclk 200000000 and SysClk 400000000
[ 0.400000] synology_gpio_init BoardID not match
[ 0.900000] PEX0 interface detected no Link.
[ 0.900000] PCI: bus0: Fast back to back transfers enabled
[ 0.900000] mvPexLocalBusNumSet: ERR. Invalid PEX interface 1
[ 0.910000] bio: create slab <bio-0> at 0
[ 0.910000] vgaarb: loaded
[ 0.910000] SCSI subsystem initialized
[ 1.080000] raid6: int32x1 94 MB/s
[ 1.250000] raid6: int32x2 138 MB/s
[ 1.420000] raid6: int32x4 135 MB/s
[ 1.590000] raid6: int32x8 145 MB/s
[ 1.590000] raid6: using algorithm int32x8 (145 MB/s)
[ 1.590000] Switching to clocksource kw_clocksource
[ 1.590000] NET: Registered protocol family 2
[ 1.590000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.590000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.590000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 1.590000] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.590000] TCP reno registered
[ 1.590000] NET: Registered protocol family 1
[ 1.590000] RPC: Registered udp transport module.
[ 1.590000] RPC: Registered tcp transport module.
[ 1.590000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.590000] Trying to unpack rootfs image as initramfs...
[ 5.550000] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 5.580000] Freeing initrd memory: 8192K
[ 5.580000] XOR registered 4 channels
[ 5.580000] XOR 2nd invalidate WA enabled
[ 5.580000] VFS: Disk quotas dquot_6.5.2
[ 5.580000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 5.580000] msgmni has been set to 998
[ 5.580000] alg: No test for md5 (md5-generic)
[ 5.580000] alg: No test for des (des-generic)
[ 5.580000] alg: No test for des3_ede (des3_ede-generic)
[ 5.580000] alg: No test for stdrng (krng)
[ 5.580000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 5.580000] io scheduler noop registered
[ 5.580000] io scheduler anticipatory registered (default)
[ 5.590000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 5.590000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 5.600000] console [ttyS0] enabled
[ 5.600000] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[ 5.610000] brd: module loaded
[ 5.620000] sata_mv sata_mv.0: version 1.28
[ 5.620000] sata_mv sata_mv.0: slots 32 ports 2
[ 5.630000] scsi0 : sata_mv
[ 5.630000] scsi1 : sata_mv
[ 5.630000] ata1: SATA max UDMA/133 irq 21
[ 5.640000] ata2: SATA max UDMA/133 irq 21
[ 5.990000] ata1: SATA link down (SStatus 0 SControl F300)
[ 5.990000] Delay 7 seconds to wait for disk 2 ready.
[ 13.340000] ata2: SATA link down (SStatus 0 SControl F300)
[ 13.340000] physmap platform flash device: 00400000 at f8000000
[ 13.350000] mvSFlashInit ERROR: Unknown SPI flash device!
[ 13.350000] ERROR: sflash_probe - Failed to initialize the SFlash.SYNOMTD: No supported flash chips found!
[ 13.360000] mvSFlashInit ERROR: Unknown SPI flash device!
[ 13.370000] ERROR: sflash_probe - Failed to initialize the SFlash.Loading Marvell Ethernet Driver:
[ 13.380000] o Cached descriptors in DRAM
[ 13.380000] o DRAM SW cache-coherency
[ 13.390000] o 2 Giga ports supported
[ 13.390000] o Single RX Queue support - ETH_DEF_RXQ=0
[ 13.390000] o Single TX Queue support - ETH_DEF_TXQ=0
[ 13.400000] o TCP segmentation offload (TSO) supported
[ 13.410000] o Receive checksum offload supported
[ 13.410000] o Transmit checksum offload supported
[ 13.420000] o SKB Recycle supported - (Enabled)
[ 13.420000] o Rx descripors: q0=128
[ 13.420000] o Tx descripors: q0=532
[ 13.430000] o Loading network interface(s):
[ 13.430000] o register under mv88fx_eth platform
[ 13.440000] o eth0, ifindex = 2, GbE port = 0
[ 13.440000] o eth0, phy chipid = fffffff0, Support WOL = 0
[ 13.450000]
[ 13.450000] md: linear personality registered for level -1
[ 13.460000] md: raid0 personality registered for level 0
[ 13.460000] md: raid1 personality registered for level 1
[ 13.470000] md: raid10 personality registered for level 10
[ 13.470000] md: raid6 personality registered for level 6
[ 13.480000] md: raid5 personality registered for level 5
[ 13.480000] md: raid4 personality registered for level 4
[ 13.490000] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 13.500000] cpuidle: using governor ladder
[ 13.500000] TCP cubic registered
[ 13.510000] NET: Registered protocol family 17
[ 13.510000] NET: Registered protocol family 15
[ 13.510000] registered taskstats version 1
[ 13.520000] md: Waiting for all devices to be available before autodetect
[ 13.530000] md: If you don't use raid, use raid=noautodetect
[ 13.530000] md: Autodetecting RAID arrays.
[ 13.540000] md: Scanned 0 and added 0 devices.
[ 13.540000] md: autorun ...
[ 13.540000] md: ... autorun DONE.
[ 13.550000] RAMDISK: lzma image found at block 0
[ 17.760000] VFS: Mounted root (ext2 filesystem) on device 1:0.
START /linuxrc.syno
Insert basic USB modules...
:: Loading module usbcore[ 18.120000] usbcore: registered new interface driver usbfs
[ 18.130000] usbcore: registered new interface driver hub
[ 18.130000] usbcore: registered new interface driver ethub
[ 18.180000] usbcore: registered new device driver usb
... [ OK ]
:: Loading module ehci-hcd[ 18.280000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 18.290000] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 18.300000] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 18.330000] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 18.350000] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 18.350000] usb usb1: configuration #1 chosen from 1 choice
[ 18.380000] hub 1-0:1.0: USB hub found
[ 18.380000] hub 1-0:1.0: 1 port detected
... [ OK ]
:: Loading module ohci-hcd[ 18.520000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
... [ OK ]
:: Loading module xhci-hcd ... [ OK ]
Insert net driver(Mindspeed only)...
[ 18.720000] ds213_synobios: module license 'Synology Inc.' taints kernel.
[ 18.730000] Disabling lock debugging due to kernel taint
[ 18.770000] correction with 0x00
[ 18.780000] /source/synobios/mv6281/../synobios.c(416) read RTC error
[ 18.790000] 2091-9-137 192:62:25 UTC
[ 18.790000] synobios: load, major number 201
[ 18.800000] Brand: Synology
[ 18.800000] Model: DS-213
[ 18.800000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[ 18.810000] synobios cpu_arch proc entry initialized
[ 18.810000] synobios syno_platform proc entry initialized
Starting /usr/syno/bin/synocfgen...
/usr/syno/bin/synocfgen returns 0
[ 18.850000] synobios: unload
Exit on error [1] DISK NOT INSTALLED...
Sat Dec 17 18:34:09 UTC 1955
sys /sys sysfs rw,relatime 0 0
/dev/root.old / ext2 rw,relatime,errors=continue,user_xattr 0 0
none /dev devtmpfs rw,relatime,size=251528k,nr_inodes=62882,mode=755 0 0
proc /proc proc rw,relatime 0 0
linuxrc.syno failed on 1
starting pid 582, tty '': '/etc/rc'
:: Starting /etc/rc
:: Mounting procfs ... [ OK ]
:: Mounting tmpfs ... [ OK ]
:: Mounting devtmpfs ... [ OK ]
:: Mounting devpts ... [ OK ]
:: Mounting sysfs ... [ OK ]
mdadm: error opening /dev/md1: No such file or directory
rc: Use all internal disk as swap.
rc: No internal disk installed.
swapon: can't stat '/dev/md1': No such file or directory
:: Loading module fat ... [ OK ]
:: Loading module vfat ... [ OK ]
:: Mounting usbfs ... [ OK ]
:: Loading module sky2[ 19.910000] sky2 driver version 1.25
... [ OK ]
:: Loading module synobios[ 20.010000] correction with 0x00
[ 20.010000] /source/synobios/mv6281/../synobios.c(416) read RTC error
[ 20.020000] 2091-13-89 192:62:25 UTC
[ 20.020000] synobios: load, major number 201
[ 20.030000] Brand: Synology
[ 20.030000] Model: DS-213
[ 20.030000] This is default settings: set group disks wakeup number to 1, spinup time deno 1
[ 20.040000] synobios cpu_arch proc entry initialized
[ 20.050000] synobios syno_platform proc entry initialized
... [ OK ]
cat: can't open '/proc/sys/kernel/syno_skip_vender_mac_interfaces': No such file or directory
[ 20.330000] eth0: mac address changed
[ 20.440000] eth0: started
udhcpc (v1.16.1) started
eth0 Link encap:Ethernet HWaddr 00:00:B0:E0:ED:10
inet addr:169.254.29.69 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:532
RX bytes:0 (0.0 B) TX bytes:890 (890.0 B)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
:: Starting syslogd ... [ OK ]
/etc/rc: line 305: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
:: Starting services in background
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/bin/minissdpd -i eth0
(15): upnp:rootdevice
(51): uuid:upnp_SynologyNAS-0000b0e0ed10::upnp:rootdevice
(53): Synology/synology_88f6282_213/6.2-25556/169.254.29.69
(46):
http://169.254.29.69:5000/description-eth0.xml
Connected.
done.
/usr/syno/bin/reg_ssdp_service 169.254.29.69 0000b0e0ed10 6.2-25556 synology_88f6282_213 eth0
Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh...
Starting synoagentregisterd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
cat: can't open '/sys/block/sd*/device//model': No such file or directory
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf
:: Loading module usb-storage[ 28.700000] Initializing USB Mass Storage driver...
[ 28.700000] usbcore: registered new interface driver usb-storage
[ 28.710000] USB Mass Storage support registered.
... [ OK ]
============ Date ============
Wed Feb 29 18:34:17 UTC 1956
==============================
Wed Feb 29 18:34:18 1956
DiskStation login:
Now when the USB stick is inserted, Debian OS will boot, if the USB stick is removed, Stock OS will boot.