[OpenWrt-Devel] Booting D-Link DNS-313, kernel requirements for OpenWRT?

Hans Ulli Kroll ulli.kroll at googlemail.com
Wed Jan 17 12:11:59 EST 2018


Hi Linus

On Tue, 16 Jan 2018, Linus Walleij wrote:

> Hi folks,
> 
> I managed to boot a v4.16-ish kernel and OpenWRT rootfs
> on the D-Link DNS-313
> (reference https://dflund.se/~triad/krad/dlink-dns-313/)

interesting device, especially for the VBUS "solution", so I decided to 
buy for testing.
I assume VBUS is only connected to GPIO.

> I used the raidsonic rootfs built from scratch (the prebuilt
> images on the site seem broken, just contains zeroes).
>

OpenWRT is currently in (re)merging status from LEDE
maybe LEDE images can work.
I've done a testbuild with current LEDE and ext4 target which fails,
make be a
make -j1 V=s 
or a testbuild for my ALIX6F2 give me some light here.

> Booting Linux on physical CPU 0x0
> Linux version 4.15.0-rc7+ (linus at fabina) (gcc version 5.3.1 20160113
> (Linaro GCC 5.3-2016.02)) #39 PREEMPT Tue Jan 16 23:09:18 CET 2018
> CPU: FA526 [66015261] revision 1 (ARMv4), cr=0000397f
> CPU: VIVT data cache, VIVT instruction cache
> OF: fdt: Machine model: D-Link DNS-313 1-Bay Network Storage Enclosure
> Memory policy: Data cache writeback
> (....)
> ata1.00: ATA-6: ST3160023AS, 3.05, max UDMA/133
> ata1.00: 312581808 sectors, multi 0: LBA48
> ata1.00: configured for UDMA/133
> scsi 0:0:0:0: Direct-Access     ATA      ST3160023AS      3.05 PQ: 0 ANSI: 5
> sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
> sd 0:0:0:0: [sda] Write Protect is off
> sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
>  sda: sda1 sda2 sda3 sda4
> sd 0:0:0:0: [sda] Attached SCSI disk
> EXT4-fs (sda4): couldn't mount as ext3 due to feature incompatibilities
> EXT4-fs (sda4): couldn't mount as ext2 due to feature incompatibilities
> EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
> VFS: Mounted root (ext4 filesystem) readonly on device 8:4.

read only ?
I think this must be read write, must verify this with my ALIX6F2 running 
openWRT on a CF card with ext4 as rootfs.

Greetings
Hans Ulli Kroll
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list