My Synology DS414J file server crashed , there is no access from the network side , it does not want to initiate operation , after turning on the power LED blinks all the time .
I hooked up to the serial the result below
I found on the net recovery help in such cases but they apply to other boards on other proc's and the worst thing is that with other bootloaders ( most Marvell-a) I have uloader Barebox-C2K (if I wrote correctly ) . I don't have at my disposal the commands that are available in other descriptions . Below I put what I "own"
I do not start LAN (in the descriptions the possibility to repair the kernel through the terminal), and the worst thing is that my knowledge of Linux is very small
I can call an additional "function" update during loading, but I do not really know if this is the right way
command result printenv
Are any forumers able to help me solve this problem ?
Sorry with my English
I hooked up to the serial the result below
uloader 2011.06.0 (Sep 11 2014 - 13:33:44) Board: Mindspeed C2000 c2k_spi_probe DDR Training: ...............................................................................................................................Done Read offset: 0d,0c,0c,08 Write offset: 03,05,4c,05 Copying Barebox from SPI Flash(bootopt=0) BB Copying Done ## Starting Barebox at 0x01000000 ... barebox 2011.06.0-dirty (Sep 11 2014 - 13:33:21) Board: Mindspeed C2000 c2k_spi_probe c2k_otp_probe. cbus_baseaddr: 9c000000, ddr_baseaddr: 03800000, ddr_phys_baseaddr: 03800000 class init complete tmu init complete bmu1 init: done bmu2 init: done util init complete GPI1 init complete GPI2 init complete HGPI init complete HIF rx desc: base_va: 03e80000, base_pa: 03e80000 HIF tx desc: base_va: 03e80400, base_pa: 03e80400 HIF init complete bmu1 enabled bmu2 enabled pfe_hw_init: done pfe_firmware_init pfe_load_elf pfe_load_elf no of sections: 10 pfe_firmware_init: class firmware loaded pfe_load_elf pfe_load_elf no of sections: 10 pfe_firmware_init: tmu firmware loaded pfe_load_elf pfe_load_elf no of sections: 14 pfe_firmware_init: util firmware loaded gemac_port gemac_port miidev_restart_aneg for PHY1 miidev_restart_aneg for PHY1 miidev_restart_aneg for PHY0 miidev_restart_aneg for PHY0 cfi_probe: cfi_flash base: 0xc0000000 size: 0x04000000 ## Unknown FLASH on Bank at 0xc0000000 - Size = 0x00000000 = 0 MB Using ENV from SPI Flash. nand_probe: comcerto_nand base: 0xc8300000 size: 0x2048 MB NAND type unknown: ff,ff No NAND device found!!! Malloc space: 0x00800000 -> 0x01000000 (size 8 MB) Stack space : 0x007f8000 -> 0x00800000 (size 32 kB) envfs: wrong magic on /dev/env0 no valid environment found on /dev/env0. Using default environment running /env/bin/init... Unknown command 'export' - try 'help' ============================================= Synology Model: DS414j barebox 2011.06.0-dirty (Sep 11 2014 - 13:33:21) PLL0: 2400, PLL1: 1000, PLL2: 1500, PLL3: 1066 MHz Ref Clock: 48 MHz ARM Clock: 1200 MHz AXI Clock: 250 MHz DDR Clock: 533 MHz IPSEC Clock: 300 MHz C2K Revision: A1 DDR Width : 32 Fan 1: Not Good Fan 2: Not Good ============================================= Hit [Ctrl+C] to stop autoboot: 3.. 2.. 1.. 0 ============================================= Synology Model: DS414j barebox 2011.06.0-dirty (Sep 11 2014 - 13:33:21) PLL0: 2400, PLL1: 1000, PLL2: 1500, PLL3: 1066 MHz Ref Clock: 48 MHz ARM Clock: 1200 MHz AXI Clock: 250 MHz DDR Clock: 533 MHz IPSEC Clock: 300 MHz C2K Revision: A1 DDR Width : 32 Fan 1: Not Good Fan 2: Not Good ============================================= booting kernel of type uimage from /dev/spi0.kernel -r /dev/spi0.rootfs use initrd /dev/spi0.rootfs Verifying Checksum ... OK Image Name: synology_comcerto2k_ds414j 25426 Created: 2020-05-11 22:01:02 UTC Image Type: <NULL> <NULL> <NULL> (<NULL>) Data Size: 3845029 Bytes = 3.7 MB Load Address: 05000000 Entry Point: 05000000 Verifying Checksum ... Bad Data CRC Barebox-C2K >/
I found on the net recovery help in such cases but they apply to other boards on other proc's and the worst thing is that with other bootloaders ( most Marvell-a) I have uloader Barebox-C2K (if I wrote correctly ) . I don't have at my disposal the commands that are available in other descriptions . Below I put what I "own"
Barebox-C2K >/ help . - alias for source ? - alias for help WOLTest - WOLTest <phyaddr(Hex)>.. use 00:50:43:8e:2c:09 as default Mac address [ - alias for test addpart - adds a partition table to a device bootm - boot an application image bootu - bootu - start a raw linux image bootz - bootz - start a zImage cat - concatenate file(s) cd - change working directory clear - clear screen copy - copy command cp - copy files cpuinfo - Show info about CPU crc32 - crc32 checksum calculation delpart - delete partition(s) devinfo - Show information about devices and drivers. dhcp - invoke dhcp client to obtain ip/boot params echo - echo args to console edit - Usage: (s)edit <file> erase - erase FLASH memory erase_nand - Erase the NAND erase_old_nand_fmt - Erase old NAND format ethact - set current ethernet device exit - exit script false - do nothing, unsuccessfully fan - fan <fan_type> <fanno> <gpio_id> gemac_stats - retrieve GEMAC statistics getopt - getopt <optstring> <var> gpio_rw - gpio_rw <read> <gpio_num> (for example : gpio_rw 0 10) ; gpio_rw <write> <gpio_num> <value> (for example : gpio_rw 1 10 1) help - print online help i2c_probe - probe for an i2c device i2c_read - read from an i2c device i2c_write - write to an i2c device loadenv - Load environment from ENVFS into DIRECTORY (default: /dev/env0 -> /env). ls - list a file or directory md - memory display memcmp - memory compare memcpy - memory copy memset - memory fill mkdir - make directories mount - Mount a filesystem of a given type to a mountpoint or list mounted filesystems. mw - memory write (fill) nand - NAND specific handling pfe - pfe <options> pfe_stats - retrieve PFE statistics phy - PHY status, read and write operation ping - ping <destination> printenv - Print value of one or all environment variables. protect - enable flash write protection pwd - print working directory read_nand - Read the NAND readline - prompt for user input reset - Perform RESET of the CPU rm - remove files rmdir - remove directorie(s) sata - SATA sub system saveenv - save environment to persistent storage sedit - alias for edit sh - run shell script socinfo - print SoC info source - execute shell script in current shell environment switch - Atheros AR8328 switch read and write operation syno_pwoff - syno_pwoff test - minimal test like /bin/sh tftp - Load file using tftp protocol timeout - wait for a specified timeout true - do nothing, successfully umount - umount a filesystem unprotect - disable flash write protection update_i2c - update_i2c <src> <off> <size> update_nand - Flash the NAND update_nor - Flash the NOR update_spi - update_spi <src> <sec> <off> <size> version - print monitor version Barebox-C2K >/
I do not start LAN (in the descriptions the possibility to repair the kernel through the terminal), and the worst thing is that my knowledge of Linux is very small
I can call an additional "function" update during loading, but I do not really know if this is the right way
uloader 2011.06.0 (Sep 11 2014 - 13:33:44) Board: Mindspeed C2000 c2k_spi_probe DDR Training: ...............................................................................................................................Done Read offset: 0c,0c,0a,08 Write offset: 04,06,42,05 Copying Barebox from SPI Flash(bootopt=0) BB Copying Done ## Starting Barebox at 0x01000000 ... barebox 2011.06.0-dirty (Sep 11 2014 - 13:33:21) Board: Mindspeed C2000 c2k_spi_probe c2k_otp_probe. cbus_baseaddr: 9c000000, ddr_baseaddr: 03800000, ddr_phys_baseaddr: 03800000 class init complete tmu init complete bmu1 init: done bmu2 init: done util init complete GPI1 init complete GPI2 init complete HGPI init complete HIF rx desc: base_va: 03e80000, base_pa: 03e80000 HIF tx desc: base_va: 03e80400, base_pa: 03e80400 HIF init complete bmu1 enabled bmu2 enabled pfe_hw_init: done pfe_firmware_init pfe_load_elf pfe_load_elf no of sections: 10 pfe_firmware_init: class firmware loaded pfe_load_elf pfe_load_elf no of sections: 10 pfe_firmware_init: tmu firmware loaded pfe_load_elf pfe_load_elf no of sections: 14 pfe_firmware_init: util firmware loaded gemac_port gemac_port miidev_restart_aneg for PHY1 miidev_restart_aneg for PHY1 miidev_restart_aneg for PHY0 miidev_restart_aneg for PHY0 cfi_probe: cfi_flash base: 0xc0000000 size: 0x04000000 ## Unknown FLASH on Bank at 0xc0000000 - Size = 0x00000000 = 0 MB Using ENV from SPI Flash. nand_probe: comcerto_nand base: 0xc8300000 size: 0x2048 MB NAND type unknown: ff,ff No NAND device found!!! Malloc space: 0x00800000 -> 0x01000000 (size 8 MB) Stack space : 0x007f8000 -> 0x00800000 (size 32 kB) envfs: wrong magic on /dev/env0 no valid environment found on /dev/env0. Using default environment running /env/bin/init... Unknown command 'export' - try 'help' ============================================= Synology Model: DS414j barebox 2011.06.0-dirty (Sep 11 2014 - 13:33:21) PLL0: 2400, PLL1: 1000, PLL2: 1500, PLL3: 1066 MHz Ref Clock: 48 MHz ARM Clock: 1200 MHz AXI Clock: 250 MHz DDR Clock: 533 MHz IPSEC Clock: 300 MHz C2K Revision: A1 DDR Width : 32 Fan 1: Not Good Fan 2: Not Good ============================================= Hit [Ctrl+C] to stop autoboot: 3.. 2 usage: update -t <kernel|rootfs|barebox|bareboxenv> -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] -c update tools. options -c to check the crc32 for the image and flashed one default mode is tftp type update -t uloader -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update uloader into flash type update -t barebox -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update barebox into flash type update -t kernel -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update kernel into flash type update -t rootfs -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update rootfs into flash type update -t bareboxenv -d <nor|nand> [-m tftp|xmodem|ddr] [-f imagename|-a address] to update bareboxenv into flash Barebox-C2K >/
command result printenv
Barebox-C2K >/ printenv locals: PATH=/env/bin ip=none kernel_loc=SPI rootfs_loc=SPI kernelimage_type=uimage SPI_parts=384k(barebox),64k(bareboxenv),3072k(kernel),4480k(rootfs),64k(vendor),64k(RedBoot-Config),64k(FIS-Directory) autoboot_timeout=3 usb3_internal_clk=no bootargs=console=ttyS0,115200n8 initrd=0x5000000,8M root=/dev/md0 rw syno_hw_version=DS414jv10 ihd_num=4 netif_num=1 flash_size=8 SataLedSpecial=1 HddHotplug=1 globals: Barebox-C2K >/
Are any forumers able to help me solve this problem ?
Sorry with my English