Install OpenWrt on Shuttle OMNINAS KD20

Hi Konus,

I seem to have bricked my KD20, but I'm able to establish a serial connection.
Do you perhaps still have the KD20.zip original firmware file?
I've tried the wayback but the downloads fails every time at 12%.

I'm sorry but I've sold the nas a year ago and have deleted the file from my laptop.

1 Like

Ah, shame for me, thanks for the quick response!

Has anyone still the lede-oxnas-kd20-factory.tar.gz available? The link on the wiki page is down and building it fails too.

https://archive.openwrt.org/releases/17.01.7/targets/oxnas/generic/lede-17.01.7-oxnas-kd20-factory.tar.gz

1 Like

Thank you for the file. Sadly, I ended up just like this after flashing it:

Maybe I will take a deeper look during the next weeks.

So I player around my old KD20 recently and I'm having the same issues.
I uploaded the factory file via the original GUI and it fails like yours. I managed to solder pins to the motherboard and connect my serial.

Stage-1 Bootloader 2012-06.13-13:06:32
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x00028594
  Hdr CRC: 0x0BA1B9D0
 OK

     _           _   _   _
    | |         | | | | | |
 ___| |__  _   _| |_| |_| | ___
/ __| '_ \| | | | __| __| |/ _ \
\__ \ | | | |_| | |_| |_| |  __/
|___/_| |_|\__,_|\__|\__|_|\___|
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_
         | | | |___|  _ \ / _ \ / _ \| __|
         | |_| |___| |_) | (_) | (_) | |_
          \___/    |____/ \___/ \___/ \__|

U-Boot 1.1.2 (Oct 22 2012 - 10:55:50)

U-Boot code: 60D00000 -> 60D28594  BSS: -> 60D3B2C0
IRQ Stack: 60cddf7c
FIQ Stack: 60cdcf7c
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:128 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Initialising disks
OX820 SATA Init...
SATA PHY not ready for device 0
SATA PHY not ready for device 1
ide_preinit failed
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0

Device 0: 128MiB 3,3V 8-bit, sector size 128 KB

NAND read: device 0 offset 0x840000, size 0x300000

Reading data from 0xb3f800 -- 100% complete.
 3145728 bytes read: OK

NAND read: device 0 offset 0x240000, size 0x280000

Reading data from 0x4bf800 -- 100% complete.
 2621440 bytes read: OK
## Booting image at 60500000 ...
   Image Name:   ARM LEDE Linux-4.4.182
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3493943 Bytes =  3.3 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... Bad Data CRC
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up........................................................                                                                                                                                                             ..............................Link up
Wait for auto-negotiation to complete
Link is 1000M
BOOTP broadcast 1
BOOTP broadcast 2
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.1.104
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up..........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.2; our IP address is 192.168.1.104
Filename 'uImage'.
Load address: 0x60500000
Loading: *
ARP Resend request
T invalid RARP header

It seems that this image is broken (Verifying Checksum ... Bad Data CRC): https://archive.openwrt.org/releases/17.01.7/targets/oxnas/generic/lede-17.01.7-oxnas-kd20-factory.tar.gz and the nas fails to boot

The sequence you posted doesn't look like a flash boot, but an attempt to TFTP boot ...

Yeah after flashing via the GUI I tried to continue the steps described here: https://openwrt.org/toh/shuttle/kd20, but I couldn't ssh to the nas. This is what I see after that flash and it's stuck on trying to fetch the image via tftp. I'm pretty sure @max_o has the same problem

So if I'm reading it correctly the image didn't upload correctly (3,3MB, and the factory file had 4,5MB)

   Data Size:    3493943 Bytes =  3.3 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... Bad Data CRC

This means that reflashing it with the same file should do the trick.

If I'm not mistaken the default u-boot config tries to download the uImage

TFTP from server 192.168.1.1; our IP address is 192.168.1.104
Filename 'uImage'.
Load address: 0x60500000

and after that rdimg.gz

TFTP from server 192.168.1.1; our IP address is 192.168.1.104
Filename 'rdimg.gz'.
Load address: 0x62000000

For a TFTP reflash with the stock u-boot can I use https://downloads.openwrt.org/releases/19.07.5/targets/oxnas/ox820/openwrt-19.07.5-oxnas-ox820-shuttle_kd20-squashfs-ubinized.bin for the uImage and try the https://archive.openwrt.org/releases/17.01.7/targets/oxnas/generic/lede-17.01.7-oxnas-kd20-factory.tar.gz for the rdimg.gz ?

So I've been trying to load an image using tftp.
I unzipped the kd20.zip file from https://web.archive.org/web/20140628182059/http://www.shuttle.eu/support-service/technical-support/faq/staticview/82f233ec7c/?tx_irfaq_pi1[showUid]=289 and added them to tftpd. The nas loads the files but keeps sending errors.
After that I tried loading the ubunized files from the console

Shuttle>> tftpboot 0x60500000 ubinized.bin
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.1; our IP address is 192.168.1.104
Filename 'ubinized.bin'.
Load address: 0x60500000
Loading: *
ARP Resend request
T invalid RARP header
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################################
done
Bytes transferred = 2883584 (2c0000 hex)
Shuttle>>  bootm 0x60500000
## Booting image at 60500000 ...
Bad Magic Number

, but I'm getting

Shuttle>>  bootm 0x60500000
## Booting image at 60500000 ...
Bad Magic Number

The files I was trying were the lede kd20 bins from https://downloads.openwrt.org/releases/17.01.7/targets/oxnas/generic/
Any ideas what am I doing wrong?

EDIT 02.01.2025:
Ok one step forward :slight_smile:
I went with an uImage that can be found here: https://archive.openwrt.org/releases/18.06.9/targets/oxnas/ox820/openwrt-18.06.9-oxnas-ox820-shuttle-kd20-uImage
It started loading and freezes

Stage-1 Bootloader 2012-06.13-13:06:32
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x00028594
  Hdr CRC: 0x0BA1B9D0
 OK

     _           _   _   _
    | |         | | | | | |
 ___| |__  _   _| |_| |_| | ___
/ __| '_ \| | | | __| __| |/ _ \
\__ \ | | | |_| | |_| |_| |  __/
|___/_| |_|\__,_|\__|\__|_|\___|
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_
         | | | |___|  _ \ / _ \ / _ \| __|
         | |_| |___| |_) | (_) | (_) | |_
          \___/    |____/ \___/ \___/ \__|

U-Boot 1.1.2 (Oct 22 2012 - 10:55:50)

U-Boot code: 60D00000 -> 60D28594  BSS: -> 60D3B2C0
IRQ Stack: 60cddf7c
FIQ Stack: 60cdcf7c
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:128 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Initialising disks
OX820 SATA Init...
SATA PHY not ready for device 0
SATA PHY not ready for device 1
ide_preinit failed
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0

                              Boot Menu
==============================================================================
0: Enter Command Line Interface             1: Reboot
2: Start the Kernel Code                    T: GPIO Test Function

=> Select:
Shuttle>>  eth init
Unknown command 'eth' - try 'help'
Shuttle>> eth init
Unknown command 'eth' - try 'help'
Shuttle>> dhcp
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up..........Link up
Wait for auto-negotiation to complete
Link is 1000M
BOOTP broadcast 1
BOOTP broadcast 2
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.1.104
Shuttle>> tftpboot 0x60500000 uImagekd20
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.1; our IP address is 192.168.1.104
Filename 'uImagekd20'.
Load address: 0x60500000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################
done
Bytes transferred = 2764176 (2a2d90 hex)
Shuttle>>  bootm 0x60500000
## Booting image at 60500000 ...
   Image Name:   ARM OpenWrt Linux-4.14.206
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2764112 Bytes =  2.6 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.206 (buildbot@5e2085e74bd6) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8077-7cbbab7246)) #0 SMP Wed Nov 11 20:09:58 2020
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Shuttle KD20
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x6c000000
[    0.000000] random: get_random_bytes called from 0xc07008b8 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29100 r8192 d24148 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: earlyprintk console=ttyS0,115200
[    0.000000] Bootloader command line (ignored): root=ubi0:rootfs ubi.mtd=5,512 rootfstype=ubifs initrd=0x61000000 console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0xb1,0xff,0xff,0x00 mem=256M poweroutage=yes
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 186496K/262144K available (5120K kernel code, 140K rwdata, 620K rodata, 1024K init, 212K bss, 10112K reserved, 65536K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0600000   (6112 kB)
[    0.000000]       .init : 0xc0700000 - 0xc0800000   (1024 kB)
[    0.000000]       .data : 0xc0800000 - 0xc0823160   ( 141 kB)
[    0.000000]        .bss : 0xc08267fc - 0xc085b928   ( 213 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] FPGA IRQ chip 0 "interrupt-controller" @ d0804000, 32 irqs, parent IRQ: 16
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[    0.000053] clocksource: oxnas_rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[    0.000069] timer_oxnas_rps: Registered clocksource rate 390625Hz
[    0.000094] timer_oxnas_rps: Registered clock event rate 6250000Hz prescaler 0 period 62500
[    0.000261] GIC: PPI13 is secure or misconfigured
[    0.000317] GIC: PPI13 is secure or misconfigured
[    0.000568] Console: colour dummy device 80x30
[    0.000632] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.070305] pid_max: default: 32768 minimum: 301
[    0.070522] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070553] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.071385] CPU: Testing write buffer coherency: ok
[    0.072719] Setting up static identity map for 0x60100000 - 0x6010005c
[    0.072962] Hierarchical SRCU implementation.
[    0.073840] smp: Bringing up secondary CPUs ...
[    0.074734] GIC: PPI13 is secure or misconfigured
[    0.140633] smp: Brought up 1 node, 2 CPUs
[    0.140669] SMP: Total of 2 processors activated (598.42 BogoMIPS).
[    0.146416] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.146455] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.152148] pinctrl core: initialized pinctrl subsystem
[    0.152893] NET: Registered protocol family 16
[    0.157158] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.159416] cpuidle: using governor menu
[    0.159536] No ATAGs?
[    0.174346] oxnas-pcie soc:apb-bridge@47000000:pcie-controller@c00000: probe deferral not supported
[    0.174814] pps_core: LinuxPPS API ver. 1 registered
[    0.174832] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.174868] PTP clock support registered
[    0.175843] clocksource: Switched to clocksource oxnas_rps_clocksource_timer
[    0.184394] NET: Registered protocol family 2
[    0.185336] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.185395] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.185454] TCP: Hash tables configured (established 2048 bind 2048)
[    0.185617] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.185666] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.186009] NET: Registered protocol family 1
[    0.187632] No memory allocated for crashlog
[    0.187924] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.196802] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.200593] io scheduler noop registered
[    0.200624] io scheduler deadline registered
[    0.200903] io scheduler cfq registered (default)
[    0.253022] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.257579] console [ttyS0] disabled
[    0.257717] 44200000.serial: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    0.746647] console [ttyS0] enabled
[    0.765585] brd: module loaded
[    0.778091] loop: module loaded
[    0.846033] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    0.852364] nand: Hynix H27U1G8F2BTR-BC
[    0.856238] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.863787] Scanning device for bad blocks
[    0.952412] 6 fixed-partitions partitions found on MTD device 41000000.nand-controller
[    0.960332] Creating 6 MTD partitions on "41000000.nand-controller":
[    0.966699] 0x000000000000-0x000000040000 : "stage1"
[    0.972823] 0x000000040000-0x000000220000 : "u-boot"
[    0.979000] 0x000000220000-0x000000240000 : "u-boot-env"
[    0.985420] 0x000000240000-0x000000840000 : "initrd"
[    0.991692] 0x000000840000-0x000001000000 : "kernel"
[    0.997836] 0x000001000000-0x000008000000 : "ubi"
[    1.004935] libphy: Fixed MDIO Bus: probed
[    1.009812] oxnas-dwmac 40400000.ethernet: PTP uses main clock
[    1.015636] oxnas-dwmac 40400000.ethernet: no reset control found
[    1.085928] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    1.090974] oxnas-dwmac 40400000.ethernet: Ring mode enabled
[    1.096670] oxnas-dwmac 40400000.ethernet: DMA HW capability register supported
[    1.103951] oxnas-dwmac 40400000.ethernet: Enhanced/Alternate descriptors
[    1.110743] oxnas-dwmac 40400000.ethernet: Enabled extended descriptors
[    1.117365] oxnas-dwmac 40400000.ethernet: RX Checksum Offload Engine supported
[    1.124641] oxnas-dwmac 40400000.ethernet: COE Type 2
[    1.129720] oxnas-dwmac 40400000.ethernet: TX Checksum insertion supported
[    1.136614] oxnas-dwmac 40400000.ethernet: Wake-Up On Lan supported
[    1.142947] oxnas-dwmac 40400000.ethernet (unnamed net_device) (uninitialized): device MAC address ae:b1:8c:7c:15:ad
[    1.153479] oxnas-dwmac 40400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.170357] libphy: stmmac: probed
[    1.173765] ICPlus IP1001 stmmac-0:01: attached PHY driver [ICPlus IP1001] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    1.187496] ledtrig-cpu: registered to indicate activity on CPUs
[    1.193600] hidraw: raw HID events driver (C) Jiri Kosina
[    1.200435] NET: Registered protocol family 10
[    1.206822] Segment Routing with IPv6
[    1.210577] NET: Registered protocol family 17
[    1.215078] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.231590] UBI: auto-attach mtd5
[    1.234910] ubi0: attaching mtd5
[    1.372802] ubi0: scanning is finished
[    1.385448] ubi0 warning: 0xc038698c: cannot reserve enough PEBs for bad PEB handling, reserved 8, need 20
[    1.396503] ubi0: attached mtd5 (name "ubi", size 112 MiB)
[    1.401973] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.408867] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.415539] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
[    1.422336] ubi0: good PEBs: 896, bad PEBs: 0, corrupted PEBs: 0
[    1.428367] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.435560] ubi0: max/mean erase counter: 333/38, WL threshold: 4096, image sequence number: 0
[    1.444165] ubi0: available PEBs: 0, total reserved PEBs: 896, PEBs reserved for bad PEB handling: 8
[    1.453345] ubi0: background thread "ubi_bgt0d" started, PID 42
[    1.453424] hctosys: unable to open rtc device (rtc0)
[    1.466731] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 43
[    1.504788] UBIFS (ubi0:0): recovery needed
[    1.729123] UBIFS (ubi0:0): recovery completed
[    1.734489] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.741908] UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.751823] UBIFS (ubi0:0): FS size: 112637952 bytes (107 MiB, 873 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[    1.762419] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    1.768263] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID BD20C4B0-C4FE-46C3-81EF-1580D9330AA2, small LPT model
[    1.780165] VFS: Mounted root (ubifs filesystem) on device 0:10.
[    1.788113] Freeing unused kernel memory: 1024K
init start...
Mounting proc filesystem...
mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
Mount RAMDisk to initrd for run-time usage...
mount: mounting /dev/ram0 on /initrd failed: Invalid argument
HardDiskBootUp=No
Boot up from flash
0 disk is found...
booting by normal...
swap_uuid=de2e7e89:bf6428a1:9707f6fb:a7dba5ae
insmod: can't open '/lib/modules/4.14.206/kernel/drivers/net/mii.ko': No such file or directory
insmod: can't open '/lib/modules/4.14.206/kernel/drivers/net/gmac/gmac.ko': No such file or directory
insmod: can't open '/lib/modules/4.14.206/kernel/drivers/scsi/scsi_wait_scan.ko': No such file or directory
libiconv.so.2 already existed.
libid3tag.so.0 already existed.
0insmod: can't open '/lib/modules/4.14.206/kernel/drivers/usb/core/usbcore.ko': No such file or directory
insmod: can't open '/lib/modules/4.14.206/kernel/drivers/usb/storage/usb-storage.ko': No such file or directory
insmod: can't open '/lib/modules/4.14.206/kernel/drivers/usb/host/etxhci-hcd.ko': No such file or directory
Kernel talks oldstyle dev
Error: No valid disks found
/tmp is existed, check it...
[    5.397061] ICPlus IP1001 stmmac-0:01: attached PHY driver [ICPlus IP1001] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    5.412784] oxnas-dwmac 40400000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[    5.421414] oxnas-dwmac 40400000.ethernet eth0: registered PTP clock
[    5.429798] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Hostname: nas.mydomain.com
Network interfaces: eth0 lo
eth0 args=dhcp
dhcp interfaces= eth0 eth0
lo args=inet 127.0.0.1 netmask 255.0.0.0
static interfaces=lo inet 127.0.0.1 netmask 255.0.0.0
dhcp_flags=-n -s /etc/dhcpcd.script -i
/sbin/udhcpc -n -s /etc/dhcpcd.script -i eth0
udhcpc (v1.10.3) started
Sending discover...
[    8.566822] oxnas-dwmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.575267] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending discover...
Sending select for 192.168.1.127...
Lease of 192.168.1.127 obtained, lease time 43200
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.1.1
eth0      Link encap:Ethernet  HWaddr AE:B1:8C:7C:15:AD
          inet addr:192.168.1.127  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::acb1:8cff:fe7c:15ad/64 Scope:Link
          inet6 addr: fd20:4d86:7c16:0:acb1:8cff:fe7c:15ad/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1380 (1.3 KiB)  TX bytes:2372 (2.3 KiB)
          Interrupt:50 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Starting syslogd...

Update 2:
I left it alone for a long time and it finished booting:

Starting syslogd...
Starting inetd...
Starting crond...
crond[278]: chdir(/var/spool/cron/crontabs): No such file or directory

[  312.811084] random: fast init done

Sun Apr  1 12:00:00 CEST 2012
bound 192.168.1.255:8100
Starting /etc/nasd
Open device /dev/btns failed !!!
Open device /dev/btns failed !!!
(2)No such file or directory: httpd: could not open error log file /var/log/error_log.
Unable to open logs
Sun Apr  1 12:00:00 CEST 2012

nas.mydomain.com login: root
Password:
Login incorrect
nas.mydomain.com login: bound 192.168.1.255:8100
nas.mydomain.com login:
nas.mydomain.com login: ping
Password:
Login incorrect
nas.mydomain.com login: admin
Password:
Login incorrect
nas.mydomain.com login: admin
Password:
Login incorrect
login[313]: in
nas.mydomain.com login: admin
Password:
Login incorrect
nas.mydomain.com login: root
Password:
Login incorrect
nas.mydomain.com login:
Login timed out
nas.mydomain.com login:

Unfortuantely none of the combinations of root or admin work :confused:

Update 3:

Ok so one step further:

  1. upload https://archive.openwrt.org/releases/23.05.5/targets/oxnas/ox820/openwrt-23.05.5-oxnas-ox820-shuttle_kd20-initramfs-uImage to your tftpd server (I named the file initramfs-uImagekd20)
  2. connect to serial and press 0 - zero during boot
  3. run: dhcp - this will fetch an IP and set tftp server address to the gateway IP from DHCP (I was using another OpenWRT device for this and the tftpd server was set there)
  4. and then:
Shuttle>> tftpboot 0x60500000 initramfs-uImagekd20
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.1.1; our IP address is 192.168.1.104
Filename 'initramfs-uImagekd20'.
Load address: 0x60500000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################################
done
Bytes transferred = 7584688 (73bbb0 hex)
Shuttle>> bootm 0x60500000
## Booting image at 60500000 ...
   Image Name:   ARM OpenWrt Linux-5.15.167
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7584624 Bytes =  7.2 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK

Starting kernel ...

  1. with openwrt loaded I tried the steps from here: https://openwrt.org/toh/shuttle/kd20 (like the docs suggested when using lede-17)
  2. Unfortunately it seems I'm still missing something, because I can't login

nas.mydomain.com login:
nas.mydomain.com login: root
Password:
Login incorrect