Help unbrick DNS-323 rev.C

419 views
Skip to first unread message

ALEX323C

unread,
Jul 21, 2021, 3:58:28 AM7/21/21
to Alt-F
Hello everyone, after installing Debian on my box, DNS 323 rev.c1 does not communicate. The LED flickers quickly.
Using a usb-serial cable, I have the following output:
** LOADER **
 ** MARVELL BOARD: RD-88F5182-NAS-2 LE

U-Boot 1.1.1 (Feb 26 2009 - 11:33:03) Marvell version: 1.7.3.003

DRAM CS[0] base 0x00000000   size  64MB
DRAM Total size  64MB
Detect phy 1118
[8192kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Hit any key to stop autoboot:  0
## Booting image at ff820000 ...
   Image Name:   kernel 3.16.0-6-orion5x
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1564728 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at ff9a0000 ...
   Image Name:   ramdisk 3.16.0-6-orion5x
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    4260553 Bytes =  4.1 MB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.16.0-6-orion5x (debian...@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.56-1+deb8u1 (2018-05-08)
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: D-Link DNS-323
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Clearing invalid memory bank 0KB@0xffffffff
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 56240K/65536K available (2842K kernel code, 246K rwdata, 1008K rodata, 144K init, 253K bss, 9296K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03cada0   (3852 kB)
[    0.000000]       .init : 0xc03cb000 - 0xc03ef2c4   ( 145 kB)
[    0.000000]       .data : 0xc03f0000 - 0xc042d8b0   ( 247 kB)
[    0.000000]        .bss : 0xc042d8b0 - 0xc046cd14   ( 254 kB)
[    0.000000] NR_IRQS:64
[    0.000022] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 25769803770ns
[   15.914620] Console: colour dummy device 80x30
[   15.914659] Calibrating delay loop... 331.26 BogoMIPS (lpj=662528)
[   15.946145] pid_max: default: 32768 minimum: 301
[   15.946449] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   15.946484] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   15.948061] Initializing cgroup subsys devices
[   15.948163] Initializing cgroup subsys freezer
[   15.948206] Initializing cgroup subsys net_cls
[   15.948284] Initializing cgroup subsys blkio
[   15.948347] Initializing cgroup subsys perf_event
[   15.948384] Initializing cgroup subsys net_prio
[   15.948539] CPU: Testing write buffer coherency: ok
[   15.949267] Setting up static identity map for 0x2aff30 - 0x2aff6c
[   15.952150] devtmpfs: initialized
[   15.954880] VFP support v0.3: not present
[   15.955382] futex hash table entries: 256 (order: -1, 3072 bytes)
[   15.955773] pinctrl core: initialized pinctrl subsystem
[   15.956483] NET: Registered protocol family 16
[   15.957443] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   15.959236] Orion ID: MV88F5182-A2. TCLK=166666667.
[   15.959612] DNS-323: Identified HW revision C1
[   15.960334] DNS-323: Found ethernet MAC address: f0:7d:68:12:17:00.
[   15.972605] Switched to clocksource orion_clocksource
[   15.993464] NET: Registered protocol family 2
[   15.995629] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   15.995694] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   15.995741] TCP: Hash tables configured (established 1024 bind 1024)
[   15.995879] TCP: reno registered
[   15.995912] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   15.995960] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   15.996396] NET: Registered protocol family 1
[   15.997006] Unpacking initramfs...
[   16.951818] Freeing initrd memory: 4160K (c0800000 - c0c10000)
[   16.953813] audit: initializing netlink subsys (disabled)
[   16.953953] audit: type=2000 audit(1.036:1): initialized
[   16.955787] VFS: Disk quotas dquot_6.5.2
[   16.955909] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   16.956178] msgmni has been set to 117
[   16.958405] alg: No test for stdrng (krng)
[   16.958673] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   16.959222] io scheduler noop registered
[   16.959679] io scheduler cfq registered (default)
[   16.961180] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   16.962736] console [ttyS0] disabled
[   16.982793] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3, base_baud = 10416666) is a 16550A
[   17.415071] console [ttyS0] enabled
[   17.420489] physmap platform flash device: 00800000 at f4000000
[   17.426757] physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x00007f Chip ID 0x0000cb
[   17.436986] Amd/Fujitsu Extended Query Table at 0x0040
[   17.442154]   Amd/Fujitsu Extended Query version 1.1.
[   17.447228] number of CFI chips: 1
[   17.473977] Creating 5 MTD partitions on "physmap-flash.0":
[   17.479616] 0x000000000000-0x000000010000 : "MTD1"
[   17.486752] 0x000000010000-0x000000020000 : "MTD2"
[   17.493850] 0x000000020000-0x0000001a0000 : "Linux Kernel"
[   17.501659] 0x0000001a0000-0x0000007d0000 : "File System"
[   17.509373] 0x0000007d0000-0x000000800000 : "u-boot"
[   17.517712] mousedev: PS/2 mouse device common for all mice
[   17.524226] i2c /dev entries driver
[   17.530429] rtc-m41t80 0-0068: rtc core: registered m41t80 as rtc0
[   17.538580] ledtrig-cpu: registered to indicate activity on CPUs
[   17.545434] TCP: cubic registered
[   17.548828] NET: Registered protocol family 17
[   17.554533] registered taskstats version 1
[   17.560509] rtc-m41t80 0-0068: setting system clock to 2021-07-21 06:26:19 UTC (1626848779)
[   17.570445] Freeing unused kernel memory: 144K (c03cb000 - c03ef000)
Loading, please wait...
[   17.750913] systemd-udevd[49]: starting version 215
[   17.769490] random: systemd-udevd: uninitialized urandom read (16 bytes read, 1 bits of entropy available)
[   18.055268] SCSI subsystem initialized
[   18.164152] sata_mv sata_mv.0: cannot get optional clkdev
[   18.200289] sata_mv sata_mv.0: slots 32 ports 2
[   18.265746] scsi0 : sata_mv
[   18.288357] scsi1 : sata_mv
[   18.293997] ata1: SATA max UDMA/133 irq 29
[   18.298175] ata2: SATA max UDMA/133 irq 29
[   18.620697] ata1: SATA link down (SStatus 0 SControl 300)
[   18.944693] ata2: SATA link down (SStatus 0 SControl 300)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... [   19.093828] device-mapper: uevent: version 1.0.3
[   19.102601] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-d...@redhat.com
[   19.184835] random: lvm: uninitialized urandom read (4 bytes read, 1 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
[   19.279490] random: lvm: uninitialized urandom read (4 bytes read, 2 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/swp
done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... [   20.435788] random: lvm: uninitialized urandom read (4 bytes read, 3 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   21.552751] random: lvm: uninitialized urandom read (4 bytes read, 3 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   22.667756] random: lvm: uninitialized urandom read (4 bytes read, 3 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   23.783853] random: lvm: uninitialized urandom read (4 bytes read, 4 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   24.898421] random: lvm: uninitialized urandom read (4 bytes read, 5 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   26.012097] random: lvm: uninitialized urandom read (4 bytes read, 5 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ... [   27.126193] random: lvm: uninitialized urandom read (4 bytes read, 5 bits of entropy available)
  Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
Begin: Running /scripts/local-block ...   Volume group "deb" not found
  Skipping volume group deb
Unable to find LVM volume deb/system
done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mapper/deb-system does not exist.  Dropping to a shell!
modprobe: module i8042 not found in modules.dep
modprobe: module ehci-pci not found in modules.dep
modprobe: module ehci-orion not found in modules.dep
modprobe: module ehci-hcd not found in modules.dep
modprobe: module uhci-hcd not found in modules.dep
modprobe: module ohci-hcd not found in modules.dep
modprobe: module usbhid not found in modules.dep


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u4) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) ls /bin
[              echo           logname        reboot         touch
[[             egrep          losetup        renice         tr
ar             env            ls             reset          traceroute
ash            expand         lzcat          resume         traceroute6
awk            expr           lzma           rev            true
basename       false          lzop           rm             tty
bunzip2        fgrep          lzopcat        rmdir          udevadm
busybox        find           md5sum         rpm            umount
bzcat          fold           microcom       rpm2cpio       uname
bzip2          free           minips         run-init       uncompress
cal            fstype         mkdir          run-parts      unexpand
cat            ftpget         mkfifo         sed            uniq
chgrp          ftpput         mknod          seq            unix2dos
chmod          getopt         mktemp         setkeycodes    unlzma
chown          grep           more           setsid         unlzop
chroot         groups         mount          sh             unxz
chvt           gunzip         mt             sha1sum        unzip
clear          gzip           mv             sha256sum      uptime
cmp            halt           nc             sha512sum      usleep
cp             head           netstat        sleep          uudecode
cpio           hexdump        nfsmount       sort           uuencode
cttyhack       hostid         nslookup       stat           vi
cut            hostname       nuke           strings        watch
date           id             od             stty           wc
dc             insmod         openvt         sync           wget
dd             ionice         patch          tac            which
deallocvt      ipcalc         pidof          tail           who
df             ipconfig       ping           tar            whoami
diff           kill           ping6          taskset        xargs
dirname        killall        pivot_root     tee            xz
dmesg          kmod           poweroff       telnet         xzcat
dnsdomainname  last           printf         test           yes
dos2unix       less           ps             tftp           zcat
du             ln             pwd            time
dumpkmap       logger         readlink       timeout
dumpleases     login          realpath       top
(initramfs) ifconfig -a
lo        Link encap:Local Loopback
          LOOPBACK  MTU:65536  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)

(initramfs) ls /dev
block               null                tty23               tty49
char                port                tty24               tty5
console             psaux               tty25               tty50
cpu_dma_latency     ptmx                tty26               tty51
fd                  pts                 tty27               tty52
full                random              tty28               tty53
i2c-0               rtc                 tty29               tty54
input               rtc0                tty3                tty55
kmsg                stderr              tty30               tty56
mapper              stdin               tty31               tty57
mem                 stdout              tty32               tty58
mtd0                tty                 tty33               tty59
mtd0ro              tty0                tty34               tty6
mtd1                tty1                tty35               tty60
mtd1ro              tty10               tty36               tty61
mtd2                tty11               tty37               tty62
mtd2ro              tty12               tty38               tty63
mtd3                tty13               tty39               tty7
mtd3ro              tty14               tty4                tty8
mtd4                tty15               tty40               tty9
mtd4ro              tty16               tty41               ttyS0
mtdblock0           tty17               tty42               ttyS1
mtdblock1           tty18               tty43               urandom
mtdblock2           tty19               tty44               vcs
mtdblock3           tty2                tty45               vcs1
mtdblock4           tty20               tty46               vcsa
network_latency     tty21               tty47               vcsa1
network_throughput  tty22               tty48               zero
(initramfs)

It is worth saying that if you install the disk on which the OS was installed, the box freezes with the Kernel Panic error, and does not respond to keystrokes.
From the logs, it became clear to me that the network interface is defined in u-boot, but when loading into busybox, since there are no drivers, I cannot use the uKernel and uRamdisk network file transfer methods that I made for my firmware from AltF, then to flash through dd.
Here is the uboot log
* LOADER **
 ** MARVELL BOARD: RD-88F5182-NAS-2 LE

U-Boot 1.1.1 (Feb 26 2009 - 11:33:03) Marvell version: 1.7.3.003

DRAM CS[0] base 0x00000000   size  64MB
DRAM Total size  64MB
Detect phy 1118
[8192kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Hit any key to stop autoboot:  0
Marvell>> ?
?       - alias for 'help'
bootm   - boot application image from memory
cp      - memory copy
echo    - echo args to console
erase   - erase FLASH memory
loadb   - load binary file over serial line (kermit mode)
md      - memory display
printenv- print environment variables
run     - run commands in an environment variable
setenv  - set environment variables
Marvell>>

Я пытался делать по инструкции через loadb k и loadb r, но uboot пишет ошибку:

** LOADER **
 ** MARVELL BOARD: RD-88F5182-NAS-2 LE

U-Boot 1.1.1 (Feb 26 2009 - 11:33:03) Marvell version: 1.7.3.003

DRAM CS[0] base 0x00000000   size  64MB
DRAM Total size  64MB
Detect phy 1118
[8192kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Hit any key to stop autoboot:  0
Marvell>> loadb k
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size      = 0x0017fbb0 = 1571760 Bytes
## Start Addr      = 0x00100000
Un-Protect Flash Bank # 1
Erase Kernel from 0xff820000 to 0xff99ffff Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
.
.............. <- there are many of the same messages
.
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Kernel Size = 1571760
Copy to Flash... done
Protect Flash Bank # 1
Marvell>> loadb r
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size      = 0x0062e040 = 6479936 Bytes
## Start Addr      = 0x00100000
Un-Protect Flash Bank # 1
Erase Ramdisk from 0xff9a0000 to 0xfff7ffff Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
....
............ <- there are many of the same messages
.....
Erased 1 sectors
Can't erase unknown flash type - aborted
Erased 1 sectors
Ramdisk Size = 6479936
Copy to Flash... done
Protect Flash Bank # 1
Marvell>>

Further, if I restart the box, the old kernel continues to load, nothing changes, apparently I need to somehow flash these files from u-boot, but I don't know where I'm making a mistake. I tried the kernel and disk images from the Dlink and AltF stock firmware
How else can I replace the kernel and memory in my situation?
Which uboot or busybox mode should I try to recover?

ALEX323C

unread,
Jul 21, 2021, 7:58:01 AM7/21/21
to Alt-F
Well, At the moment, I managed to find out that for D'LINK 323 rev C when using the kermit method, the loadb k & r commands do not work, giving an erasure error. However, the loadb command loads the image without errors at 0x100000 in order to verify this, you can try the command " md 0x100000 ", the output will show signs of the presence of the Alt F kernel. However, if you use the instruction to flash, you need to flash two files, the kernel and the ramdisk. Kermit suggests loading always in one place - 0x100000, this gave me the idea that if you first load the ramdisk and copy it to the memory area 0x400000 and then copy the kernel again, but already do not touch anything, i.e. the kernel will remain at address 0x100000 and ramdisk 0x400000 and then try to load it with the command "bootm 0x100000 0x400000". Any comments would be welcome.

среда, 21 июля 2021 г. в 10:58:28 UTC+3, ALEX323C:

ALEX323C

unread,
Jul 21, 2021, 5:03:16 PM7/21/21
to Alt-F
So. What is:
Dlink DNS323 rev C1 Not working state (box does not boot, power indicator blinks quickly), presumably after installing Debian.
We need a USB-to-serial 3.3 V adapter, we connect it to the connector on the board, the pins go to 1-3.3V 2-TX 3-RX 4-GND, connect power, 3.3V is unnecessary, 2-3-4 is enough.
We prepare two files from the firmware (I used stock firmware 1.08) using the dns323-firmware-tools utility, you can do this on a PC with Ubuntu, it is in the repository), although it is possible to use WSL2 from Windows 10 (I have not tried it) on output we get two files uKernel and uRamdisk.
You can use TeraTerm (Windows) to load into the console, but anyone with the ability to transfer files via the Kermit protocol will do.
We indicate the COM port and the speed 115200, the rest of the values ​​are left by default.
We turn on the connected box to the PC with the TeraTerm program open, and quickly press the spacebar and 1, it will look like this:

** LOADER **
 ** MARVELL BOARD: RD-88F5182-NAS-2 LE

U-Boot 1.1.1 (Feb 26 2009 - 11:33:03) Marvell version: 1.7.3.003

DRAM CS[0] base 0x00000000   size  64MB
DRAM Total size  64MB
Detect phy 1118
[8192kB@ff800000] Flash:  8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment


Soc: MV88F5182 Rev 2
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Hit any key to stop autoboot:  0
Marvell>>

Then we enter:

Marvell>> loadb
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...

in the program, select File-Transfer-Kermit-Transfer, select the uKernel file

## Total Size      = 0x0016ba18 = 1489432 Bytes
## Start Addr      = 0x00100000
Un-Protect Flash Bank # 1
Kernel Size = 0
Copy to Flash... done
Protect Flash Bank # 1

Then we enter:
Marvell>> cp.b 0100000 02000000 1489432

We repeat the same for the uRamdisk file

Marvell>> loadb
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
## Total Size      = 0x0062cdaa = 6475178 Bytes
## Start Addr      = 0x00100000
Un-Protect Flash Bank # 1
Kernel Size = 0
Copy to Flash... done
Protect Flash Bank # 1

Enter the command for uRamdisk

Marvell>> cp.b 0100000 03000000 6475178

And finally, start loading the kernel and ramdisk with the command:

Marvell>> bootm 02000000 03000000
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.12.6-arm1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1489368 Bytes =  1.4 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 03000000 ...
   Image Name:   Ramdisk
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6475114 Bytes =  6.2 MB
   Load Address: 00800000
   Entry Point:  00800000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux................................................................................................... done, booting the kernel.
Linux version 2.6.12.6-arm1 (tim@SWTEST2) (gcc version 3.3.3) #32 Wed Jun 24 15:19:48 CST 2009
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 166000000, Tclk = 166000000
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: root=/dev/ram console=ttyS0,115200 :::DB88FXX81:egiga0:none
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB 0MB 0MB 0MB = 64MB total
Memory: 55296KB available (2596K code, 463K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 6323K
NET: Registered protocol family 16

  Marvell Development Board (LSP Version 1.7.6_NAS)-- RD-88F5182-NAS-2

 Detected Tclk 166000000 and SysClk 166000000
Marvell USB EHCI Host controller #0: c0e49a40
Marvell USB EHCI Host controller #1: c0e49bc0
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
cesadev_init(c0012498)
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.3 (2007/10/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 ok...@monad.swb.de).
Initializing Cryptographic API
Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface 'egiga0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: ATA       Model: EHSAJM0008GB      Rev: 1110
  Type:   Direct-Access                      ANSI SCSI revision: 03
  Vendor: ATA       Model: EHSAJM0008GB      Rev: 1110
  Type:   Direct-Access                      ANSI SCSI revision: 03
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 0
physmap flash device: 800000 at ff800000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition definition
Creating 5 MTD partitions on "phys_mapped_flash":
0x00000000-0x00010000 : "MTD1"
0x00010000-0x00020000 : "MTD2"
0x00020000-0x001a0000 : "Linux Kernel"
0x001a0000-0x007d0000 : "File System"
0x007d0000-0x00800000 : "u-boot"
ehci_platform ehci_platform.20865: EHCI Host Controller
ehci_platform ehci_platform.20865: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.20865: irq 17, io mem 0x00000000
ehci_platform ehci_platform.20865: park 0
ehci_platform ehci_platform.20865: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.86401: EHCI Host Controller
ehci_platform ehci_platform.86401: new USB bus registered, assigned bus number 2
ehci_platform ehci_platform.86401: irq 12, io mem 0x00000000
ehci_platform ehci_platform.86401: park 0
ehci_platform ehci_platform.86401: USB 0.0 initialized, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-d...@redhat.com
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 112K
init started:  BusyBox v1.00-pre1 (2009.05.07-06:36+0000) multi-call binary
init started:  BusyBox v1.00-pre1 (2009.05.07-06:36+0000) multi-call binary
Starting pid 222, console /dev/ttyS0: '/etc/rc.sh'
** Mounting /etc/fstab
umount: proc: not mounted
umount: proc: not mounted
umount: /image.cfs: not mounted
umount: /image.cfs: not mounted
Check MTD block device V2.05.12102008
        MTDC: Mount MTD1 done.
        MTDC: File not exist in MTD1.
        MTDC: Mount MTD2 done.
        MTDC: Copy backup files from MTD2 to MTD1.
cp: Write Error: No space left on device
cp: Write Error: No space left on device
cp: Write Error: No space left on device
cp: Write Error: No space left on device
        MTDC: Mount MTD2 done.
        Error: Can't open file /sys/mtd1/version.txt in mtd1.
        MTDC: Backup files from MTD1 to MTD2.
** copy mtd1 files
cp: /sys/mtd1/ftp_tbl: No such file or directory
cp: /sys/mtd1/codepage: No such file or directory
cp: /sys/mtd1/onedisk: No such file or directory
cp: /sys/mtd1/MountError: No such file or directory
cp: /sys/mtd1/web_NToR1: No such file or directory
cp: /sys/mtd1/dsk_mapping: No such file or directory
rm: cannot remove `/sys/mtd1/udhcpd.leases': No such file or directory
mv: /sys/mtd1/restore: No such file or directory
mv: /sys/mtd1/pls_sync: No such file or directory
mv: /sys/mtd1/pls_chmod_a2: No such file or directory
mv: /sys/mtd1/pls_chmod_b2: No such file or directory
mv: /sys/mtd1/spare_dsk: No such file or directory
mv: /sys/mtd1/std_raid1: No such file or directory
cp: /sys/mtd1/ez-ipupdate.cache: No such file or directory
cp: /sys/mtd1/ftpgroup: No such file or directory
** link lib **
** link web **
** link /usr/bin **
** link /usr/sbin **
SCSI device sda: 13695696 512-byte hdwr sectors (7012 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 13695696 512-byte hdwr sectors (7012 MB)
SCSI device sda: drive cache: write back
 sda: sda1
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 13693583 512-byte hdwr sectors (7011 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 13693583 512-byte hdwr sectors (7011 MB)
SCSI device sdb: drive cache: write back
 sdb: sdb1
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
** link /usr/local/LPRng **
cp: /sys/crfs/default/server-key-nopassword.pem: No such file or directory
    mode:         16384
-o  offset:       0
-f  frequency:    0
    maxerror:     16384000
    esterror:     16384000
    status:       64 ( UNSYNC )
-p  timeconstant: 2
    precision:    1
    tolerance:    33554432
-t  tick:         9960
    time.tv_sec:  1626896567
    time.tv_usec: 809808
    return value: 5 (clock not synchronized)
<rtc>: getRTC time= 21/7/21 19:42:47
<fan script start>
** set loopback interface
read mac from /dev/mtdblock4
MAC = F0:7D:68:12:17:00
Stop fan
egiga0: mac address changed
** Activate Gigabit Interface
egiga0: link down
** execute rc.init.sh
Set fan to low speed
Setting hostname .... DNS-323
*** Starting fdisk...
fdisk /dev/sda p 1
partitions = 4, sys_ind = 0xee
exit status 0
success
*** Starting fdisk...
fdisk /dev/sdb p 1

The number of cylinders for this disk is set to 1880.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
partitions = 4, sys_ind = 0x82
exit status 0
success
mkswap: warning: truncating swap area to 2097144kB
Setting up swapspace version 1, size = 2147471360 bytes
Adding 2097136k swap on /dev/sdb1.  Priority:-1 extents:1
hd verify v1.23.10072009
******* hd_verify start *********
Disk format
Can not find raid table from hard disk hidden partition
Raid Table Parser version V1.12_07232009
Assemble the previously created Raid array.
/tmp/spare_dsk not exist!!!
/tmp/std_raid1 not exist!!!
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
Raid Level Parser version v1.01
Memory allocation failure or no active mdx!!!
Raid Table Parser version V1.12_07232009
Assemble the previously created Raid array.
/tmp/spare_dsk not exist!!!
/tmp/std_raid1 not exist!!!
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
Raid Level Parser version v1.01
Memory allocation failure or no active mdx!!!
*** Starting fdisk...
fdisk /dev/sda p 1
partitions = 4, sys_ind = 0xee
exit status 0
success
*** Starting fdisk...
fdisk /dev/sdb p 1

The number of cylinders for this disk is set to 1880.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
partitions = 4, sys_ind = 0x82
exit status 0
success
mkswap: warning: truncating swap area to 2097144kB
Setting up swapspace version 1, size = 2147471360 bytes
swapon: /dev/sdb1: Device or resource busy
egiga0: link up<5>, full duplex<5>, speed 1 Gbps<5>
grep: /etc/codepage: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
md: md0 stopped.
mdadm: stopped /dev/md0
md: md1 stopped.
mdadm: stopped /dev/md1
Mount Normal
mv: unable to rename `/etc/raidtab_tmp': No such file or directory
mv: unable to rename `/etc/raidtab2web_tmp': No such file or directory
grep: /etc/codepage: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /etc/codepage: No such file or directory
Normal mode only has one disk
RAID0 mode
lost hd
md: md0 stopped.
mdadm: stopped md: md1 stopped.
/dev/md0
mdadm: stopped /dev/md1
umount: /mnt/HD_a*: not found
grep: /etc/shared_name: No such file or directory
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
umount: /mnt/HD_b*: not found
grep: /etc/shared_name: No such file or directory
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
Refresh Shared Name Table version v1.04
/etc/shared_name failed to open.!!!
*************** hd_verify end ******************
Set Timezone=(GMT+03:00) Moscow, St. Petersburg, Volgograd
1.Set Date & time ...(command: sntp -r ntp1.dlink.com &)
get IP = 192.168.0.2
2.Set Date & time ...(command: sntp -r ntp.dlink.com.tw &)
3.Set Date & time ...(command: sntp -r ntp1.dlink.com &)
4.Set Date & time ...(command: sntp -r ntp.dlink.com.tw &)
<rtc>: getRTC time= 21/7/21 19:43:25
Jul 21 19:43:25 crond[1283]: crond 2.3.2 dillon, started, log level 8

check button V2.71.12182009
swapon
Raid Table Parser version V1.12_07232009
Assemble the previously created Raid array.
/tmp/spare_dsk not exist!!!
/tmp/std_raid1 not exist!!!
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
Raid Level Parser version v1.01
Memory allocation failure or no active mdx!!!
Raid Table Parser version V1.12_07232009
Assemble the previously created Raid array.
/tmp/spare_dsk not exist!!!
/tmp/std_raid1 not exist!!!
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
mdadm: cannot open /dev/sda2: No such device or address
mdadm: cannot open /dev/sdb2: No such device or address
mdadm: cannot open /dev/sda3: No such device or address
mdadm: cannot open /dev/sdb3: No such device or address
The size of /tmp/mdadm.tmp is 0
mdadm: /dev/md0 not identified in config file.
Raid Level Parser version v1.01
Memory allocation failure or no active mdx!!!
*** Starting fdisk...
fdisk /dev/sda p 1
partitions = 4, sys_ind = 0xee
exit status 0
success
*** Starting fdisk...
fdisk /dev/sdb p 1

The number of cylinders for this disk is set to 1880.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
partitions = 4, sys_ind = 0x82
exit status 0
success
mkswap: warning: truncating swap area to 2097144kB
Setting up swapspace version 1, size = 2147471360 bytes
swapon: /dev/sdb1: Device or resource busy
grep: /etc/codepage: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
grep: /tmp/onedisk: No such file or directory
1.08(1.70.1218.2009)
12/18/2009
SIOCADDRT: File exists
mfg_search
/web/swap_b file exist(ext2)
** Get MAC Addr
Old BT binanry
does not exist directory
/usr/sbin/start_bt: ./btdog: No such file or directory
/etc/shared_name: No such file or directory
[write_ssl start]
sibIP = 192.168.0.2 11                                                <<----- IP адрес по которому можно получить доступ к веб интерфейсу!
certsIP = 192.168.0.32
  13
openssl_cmd = /web/openssl req -subj '/C=US/ST=California/L=Fountain Valley/CN=192.168.0.2'             -x509 -newkey rsa:2048 -days 1024 -keyout /web/server-key.pem -out /web/server-cert.pem
Generating a 2048 bit RSA private key
Jul 21 19:43:30 crond[1536]: crond 2.3.2 dillon, started, log level 8

rm: cannot remove `/tmp/set_ddns_done': No such file or directory
rm: cannot remove `/tmp/set_ddns_error': No such file or directory
rm: cannot remove `/web/ddns_start': No such file or directory
language=ENGLISH
Fan:Auto(Off/Low/High)
.set fan speed to h
format error
op_server 3 3 3 &
This may not a UPS device , please check it
Starting pid 1564, console /dev/ttyS0: '/bin/sh'


BusyBox v1.00-pre1 (2009.05.07-06:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Jul 21 19:43:31 crond[1580]: crond 2.3.2 dillon, started, log level 8

Jul 21 19:43:32 crond[1586]: crond 2.3.2 dillon, started, log level 8

Now it remains to enter the "magic number" 5784468 so that the # sign appears in the console and it is possible to enter the commands:
enter passwd admin
set a password for the admin user
We go to the address 192.168.0.2 or whatever yours and enter the administrator login and password
And we are flashing the firmware you need.

Notes: The information was collected exclusively for archival purposes, so the only working version was found in WEBARHIVE (https://web.archive.org/web/20160316071345/http://forum.dsmg600.info/viewtopic.php?id=5460 ) for 2017.
Tips and instructions found on the live Internet usually do not work for devices with revision C1, such as:
loadb k & loadb r
tftpd 0x0000000
etc
Don't rush to unplug the cable for debugging!

Thanks to Google translator and you for reading my monologue! I hope this instruction will help someone!
среда, 21 июля 2021 г. в 14:58:01 UTC+3, ALEX323C:

João Cardoso

unread,
Aug 25, 2021, 1:40:50 PM8/25/21
to Alt-F
>Thanks to Google translator and you for reading my monologue! I hope this instruction will help someone!

It is not a monologue, others might find it, read it and ask for clarification.
The procedure was already addressed in this "forum", you would find it if searched long enough (not easy, I admit).

But you are most welcome to add and entry "How to debrick the dns-323-rev-C" in the wiki. A section for the dns-323-rev-B, 320L, 325,  could also be added, as all those have been covered in this "forum"; I remember doing it and asking users to make a wiki entry, to no avail. ME, I'M having a monologue for several years now! And I'm definitely not a cuckoo, to repeat it all that again. Sorry for the rant.
Reply all
Reply to author
Forward
0 new messages