Synology DJ216j NAS unbrick error January 14, 2020 12:01PM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 14, 2020 12:16PM |
Admin Registered: 14 years ago Posts: 19,298 |
DS216j Marvell Armada 385 88F6820 Dual Core 2 Yes Armada38x DDR3 512 MB
Quote
NOTE1
1. To prepare for UART booting, use 2 SSH terminals. First one for running the download script, and the 2nd terminal for running a regular serial console which should be started immediately when "transfer complete" to interupt u-boot (the default countdown is only 3 seconds so there is not enough time to interupt u-boot if you wait too long).
2. The files necessary to run UART booting are in the new u-boot tarball thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi.tar. Please see Step 2.c in the Installation Instruction steps.
3. Power down the N2350. Connect serial console on an ARM Linux box.
Quote
2.c. Download the new u-boot thecus-n2350-Marvell-2015_T1.0p18-tld-4 uboot tarball to rootfs /boot/uboot folder.
Quote
Download at Dropbox
thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi.tar
md5sum
1a08b09b2e01824b47b525621fcc9944
sha256sum
8284087a4b3cde7db0b46e0942e985b7da6c52ccf65ee741fd4a2ceab5581ee9
Re: Synology DJ216j NAS unbrick error January 14, 2020 12:45PM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 14, 2020 01:05PM |
Admin Registered: 14 years ago Posts: 19,298 |
ver printenv
Re: Synology DJ216j NAS unbrick error January 14, 2020 01:22PM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 14, 2020 11:30PM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 15, 2020 05:40AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 15, 2020 08:20AM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 15, 2020 09:44AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 15, 2020 12:39PM |
Admin Registered: 14 years ago Posts: 19,298 |
Quote
Would You pls ensure me lookin into my printenv that loading zImage to the 0x2000000 and rd.bin to 0x2880000 is correct procedure?
Re: Synology DJ216j NAS unbrick error January 15, 2020 12:55PM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 15, 2020 11:27PM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 16, 2020 03:30AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 16, 2020 06:27AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 16, 2020 08:07AM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 16, 2020 08:23AM |
Admin Registered: 14 years ago Posts: 19,298 |
Quote
3. Mode 2: Reset Synology NAS and re-install the operating system DSM
Re: Synology DJ216j NAS unbrick error January 16, 2020 11:35AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 17, 2020 02:07AM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 17, 2020 06:01AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 17, 2020 11:35PM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 21, 2020 05:07AM |
Registered: 5 years ago Posts: 12 |
Re: Synology DJ216j NAS unbrick error January 21, 2020 06:42AM |
Admin Registered: 14 years ago Posts: 19,298 |
Re: Synology DJ216j NAS unbrick error January 21, 2020 07:32AM |
Registered: 5 years ago Posts: 12 |
Roland
Re: Synology DJ216j NAS unbrick error March 10, 2020 04:41PM |
Marvell>> tftpboot 0x2000000 zImage Using egiga0 device TFTP from server 192.168.0.20; our IP address is 192.168.0.10 Filename 'zImage'. Load address: 0x2000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################# 3.5 MiB/s done Bytes transferred = 2558520 (270a38 hex) Marvell>> tftpboot 0x2500000 rd.bin Using egiga0 device TFTP from server 192.168.0.20; our IP address is 192.168.0.10 Filename 'rd.bin'. Load address: 0x2500000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################ 3.7 MiB/s done Bytes transferred = 3630333 (3764fd hex) Marvell>> bootm 0x02000000 0x02500000 ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-3.10.105 Created: 2018-10-26 10:32:58 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2558456 Bytes = 2.4 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 02500000 ... Image Name: synology_armada38x_ds216 23824 Created: 2018-10-26 14:03:20 UTC Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 3630269 Bytes = 3.5 MiB Load Address: 08000000 Entry Point: 08000000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. no ATAGS support: can't continue
Re: Synology DJ216j NAS unbrick error March 11, 2020 07:42PM |
Registered: 4 years ago Posts: 4 |
bootm 0x02000000 0x03000000 0x01000000Now i'm seeing this error:
ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device treeI found a .dtb here: http://ftp.debian.org/debian//dists/stable/main/installer-armhf/current/images/device-tree/armada-385-synology-ds116.dtb
Marvell>> tftpboot 0x3000000 rd.bin Using egiga0 device TFTP from server 192.168.0.20; our IP address is 192.168.0.11 Filename 'rd.bin'. Load address: 0x3000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################################# 4.7 MiB/s done Bytes transferred = 3636367 (377c8f hex) Marvell>> tftpboot 0x2000000 zImage Using egiga0 device TFTP from server 192.168.0.20; our IP address is 192.168.0.11 Filename 'zImage'. Load address: 0x2000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################## 4.8 MiB/s done Bytes transferred = 2563072 (271c00 hex) Marvell>> tftpboot 0x1000000 armada-385-synology-ds116.dtb Using egiga0 device TFTP from server 192.168.0.20; our IP address is 192.168.0.11 Filename 'armada-385-synology-ds116.dtb'. Load address: 0x1000000 Loading: #### 2.8 MiB/s done Bytes transferred = 17345 (43c1 hex) Marvell>> bootm 0x02000000 0x03000000 0x01000000 ## Booting kernel from Legacy Image at 02000000 ... Image Name: Linux-3.10.105 Created: 2019-05-09 18:48:51 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2563008 Bytes = 2.4 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 03000000 ... Image Name: synology_armada38x_ds216 24922 Created: 2019-05-09 21:25:11 UTC Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 3636303 Bytes = 3.5 MiB Load Address: 08000000 Entry Point: 08000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x01000000 Loading Kernel Image ... OK OK Loading Ramdisk to 1f6b2000, end 1fa29c4f ... OK Loading Device Tree to 00ff8000, end 00fff3c0 ... OK Skipping Device Tree update ('fdt_skip_update' = yes) Limit DDR size at 3GB due to power of 2 requirement of Address decoding Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: Synology DJ216j NAS unbrick error March 11, 2020 11:59PM |
Admin Registered: 14 years ago Posts: 19,298 |
Quote
Latest released kernel: linux-5.5.3-mvebu-tld-1-bodhi.tar.bz2 (17 Feb 2020)
Latest released rootfs: Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 (10 Sep 2019)
Quote
3. Create uImage with DTB appended. I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.
cd /media/sdb1/boot
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
cat dts/armada-385-synology-ds116.dtb >> zImage.fdt
bootm 0x02000000 0x03000000
Re: Synology DJ216j NAS unbrick error March 12, 2020 11:28AM |
Registered: 4 years ago Posts: 4 |
Quote
This kernel Linux-3.10.105 is too old, it does not look like it has device tree capability.
Quote
Don't boot with separated DTB (this u-boot messes up the device tree blob when the kernel size grows larger).
Re: Synology DJ216j NAS unbrick error March 12, 2020 04:49PM |
Admin Registered: 14 years ago Posts: 19,298 |
>Quote
Don't boot with separated DTB (this u-boot
> messes up the device tree blob when the kernel
> size grows larger).
Re: Synology DJ216j NAS unbrick error March 15, 2020 08:44AM |
Registered: 4 years ago Posts: 4 |
Quote
The best way is to connect serial console. Without serial console, we will just be guessing and end up spending too much time troubleshooting.
So i searched for another dtb file and i found one on this forum. :-)Quote
Note that Starting Kernel is the last u-boot message. It usually indicates that you're using a wrong dtb, or there is something fundamentally wrong in the dtb you use.
Re: Synology DJ216j NAS unbrick error March 15, 2020 05:16PM |
Admin Registered: 14 years ago Posts: 19,298 |