Re: Debian on Synology RS816 (Armada 385) May 31, 2019 02:24AM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 02:38AM |
Registered: 4 years ago Posts: 257 |
[richard@Linux thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi]$ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] And so on>>> 98 % [......................................................................] 99 % [.................] [Type Ctrl-\ + c to quit]
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 07:16AM |
Admin Registered: 12 years ago Posts: 17,923 |
./download-serial.sh /dev/ttyUSB0 u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin
Transfer completeYou are back to the shell.
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 08:19AM |
Registered: 4 years ago Posts: 257 |
[richard@Linux thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi]$ ./download-serial.sh /dev/ttyUSB0 u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin Now reset or power cycle your Armada 38x board and then press enter ./download-serial.sh: line 14: ./send-stop-pattern: cannot execute binary file: Exec format error
gcc send-stop-pattern.c -o test
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 04:48PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 07:12PM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 08:01PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 08:14PM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 08:27PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 09:04PM |
Registered: 4 years ago Posts: 257 |
[richard@Linux thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi]$ gcc send-stop-pattern.c -o send-stop-pattern send-stop-pattern.c: In function ‘main’: send-stop-pattern.c:25:2: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] 25 | sleep(2); | ^~~~~ /usr/bin/ld: /tmp/ccLYyHWG.o: in function `main': send-stop-pattern.c:(.text+0x9): undefined reference to `initscr' /usr/bin/ld: send-stop-pattern.c:(.text+0x10): undefined reference to `stdscr' /usr/bin/ld: send-stop-pattern.c:(.text+0x1d): undefined reference to `wtimeout' /usr/bin/ld: send-stop-pattern.c:(.text+0xc3): undefined reference to `stdscr' /usr/bin/ld: send-stop-pattern.c:(.text+0xcb): undefined reference to `wgetch' collect2: error: ld returned 1 exit status
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 09:45PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) May 31, 2019 09:46PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 02, 2019 08:22PM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) June 02, 2019 09:33PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 03, 2019 03:26AM |
Registered: 4 years ago Posts: 257 |
[richard@Linux thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi]$ ./download-serial.sh /dev/ttyUSB0 u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin send-stop-pattern.c: In function ‘main’: send-stop-pattern.c:24:2: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] 24 | sleep(2); | ^~~~~ Now reset or power cycle your Armada 38x board and then press enter Sleeping Out of sleep Got something 0 Sleeping Out of sleep Got something 21 Got NACK (0x15) character The board should be in serial downloader now. Sending the binary file Sending u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin, 7506 blocks: Give your local XMODEM receive command now. Xmodem sectors/kbytes sent: 752/94kRetry 0: Timeout on sector ACK Retry 0: Timeout on sector ACK
[richard@Linux thecus-n2350-Marvell-2015_T1.0p18-tld-4-bodhi]$ ./download-serial.sh /dev/ttyUSB0 rs816.stock.uboot.kwb send-stop-pattern.c: In function ‘main’: send-stop-pattern.c:24:2: warning: implicit declaration of function ‘sleep’ [-Wimplicit-function-declaration] 24 | sleep(2); | ^~~~~ Now reset or power cycle your Armada 38x board and then press enter Sleeping Out of sleep Got something 0 Sleeping Out of sleep Got something 21 Got NACK (0x15) character The board should be in serial downloader now. Sending the binary file Sending rs816.stock.uboot.kwb, 7168 blocks: Give your local XMODEM receive command now. Xmodem sectors/kbytes sent: 0/ 0kRetry 0: Got 1b for sector ACK Retry 0: Timeout on sector ACK
Re: Debian on Synology RS816 (Armada 385) June 03, 2019 10:29AM |
Admin Registered: 12 years ago Posts: 17,923 |
./kwboot -t -B 115200 /dev/ttyUSB1 -b u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin -s 0 -q 1 -f
Re: Debian on Synology RS816 (Armada 385) June 03, 2019 03:01PM |
Registered: 4 years ago Posts: 257 |
kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-2015T1_p18_Thecus-tld-4-spi-uart.bin -s 0 -q 1 -f
98 % [......................................................................] 99 % [.................] [Type Ctrl-\ + c to quit]with no further output, ending the process and trying to connect via serial does not work.
Re: Debian on Synology RS816 (Armada 385) June 03, 2019 11:30PM |
Registered: 4 years ago Posts: 257 |
98 % [......................................................................] 99 % [........................] [Type Ctrl-\ + c to quit]
Re: Debian on Synology RS816 (Armada 385) June 05, 2019 05:51PM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) June 05, 2019 06:29PM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 05, 2019 07:46PM |
Registered: 4 years ago Posts: 257 |
commit 67a3fa2fd0e0df42af99aa0174672c5ee4588b3a Author: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Date: Mon May 27 11:04:17 2019 +0000 net: mvneta: Fix err code path of probe [ Upstream commit d484e06e25ebb937d841dac02ac1fe76ec7d4ddd ] Fix below issues in err code path of probe: 1. we don't need to unregister_netdev() because the netdev isn't registered. 2. when register_netdev() fails, we also need to destroy bm pool for HWBM case. Fixes: dc35a10f68d3 ("net: mvneta: bm: add support for hardware buffer management") Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Re: Debian on Synology RS816 (Armada 385) June 06, 2019 12:09AM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 06, 2019 05:41PM |
Registered: 4 years ago Posts: 257 |
-rw-r--r-- 1 root root 4.9M Jun 5 18:55 uInitrd -rw-r--r-- 1 root root 3.7M Jun 5 18:38 zImage
Re: Debian on Synology RS816 (Armada 385) June 07, 2019 01:55AM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 08, 2019 02:23AM |
Registered: 4 years ago Posts: 257 |
Re: Debian on Synology RS816 (Armada 385) June 08, 2019 04:57AM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 12, 2019 10:18PM |
Registered: 4 years ago Posts: 257 |
[root@Linux Downloads]# kwboot -t /dev/ttyUSB0 -b WRT32X_uboot_2.0.9.bin -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [......................................................................] 0 % [......................................................................] 1 % [......................................................................] 2 % [......................................................................] 3 % [......................................................................] 4 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 7 % [......................................................................] 8 % [......................................................................] 9 % [................................... General initialization - Version: 1.0.0 AVS selection from EFUSE disabled (Skip reading EFUSE values) mvSysEnvIsFlavourReduced: TWSI Read of 'flavor' failed Detected Device ID 6820 High speed PHY - Version: 2.0 Init RD NAS topology Serdes Lane 3 is USB3 Serdes Lane 4 is SGMII board SerDes lanes topology details: | Lane # | Speed| Type | ------------------------------| | 0 | 6 | SATA0 | | 1 | 5 | PCIe0 | | 2 | 6 | SATA1 | | 3 | 5 | USB3 HOST1 | | 4 | 5 | PCIe1 | | 5 | 0 | SGMII2 | ------------------------------- PCIe, Idx 0: detected no link PCIe, Idx 1: detected no link High speed PHY - Ended Successfully DDR3 Training Sequence - Ver TIP-1.46.0 mvSysEnvGetTopologyUpdateInfo: TWSI Read failed DDR3 Training Sequence - Switching XBAR Window to FastPath Window DDR3 Training Sequence - Ended Successfully Not detected suspend to RAM indication ...................................] 10 % [......................................................................] 11 % [......................................................................] 11 % [......................................................................] 12 % [......................................................................]
98 % [......................................................................] 99 % [......................................................................] 99 % [....] [Type Ctrl-\ + c to quit] U-Boot 2013.01 (May 18 2017 - 16:37:44) Marvell version: 2015_T1.QA.0p16 Boot version : v2.0.9 Board: RD-NAS-88F6820-DDR3 SoC: MV88F6820 Rev A0 running 2 CPUs CPU: ARM Cortex A9 MPCore (Rev 1) LE CPU 0 CPU @ 1866 [MHz] L2 @ 933 [MHz] TClock @ 200 [MHz] DDR3 @ 933 [MHz] DDR3 32 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled DRAM: 512 MiB NAND: NAND ECC mode is not defined! 0 MiB MMC: mv_sdh: 0 raise: Signal # 8 caught *** Warning - readdevinfo() failed, using default devinfo raise: Signal # 8 caught *** Warning - readenv() failed, using default environment
Re: Debian on Synology RS816 (Armada 385) June 13, 2019 12:55AM |
Admin Registered: 12 years ago Posts: 17,923 |
Re: Debian on Synology RS816 (Armada 385) June 13, 2019 12:58AM |
Admin Registered: 12 years ago Posts: 17,923 |
Quote
Close but not close enough but its interesting that this one just loads 100% of the time apparently without timing issues etc.
Re: Debian on Synology RS816 (Armada 385) June 13, 2019 03:46AM |
Registered: 4 years ago Posts: 257 |