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

Linus Walleij linus.walleij at linaro.org
Tue Jan 16 17:22:20 EST 2018

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/)

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

I wonder what kernel requirements OpenWRT has? I have just
enabled very basic hardware support so far. The boot hangs
waiting for I guess udev so I would guess some event-related
configs are required?

Is there a list of required configs?

My console:

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.
Freeing unused kernel memory: 188K
This architecture does not have kernel memory protection.
init: Console is alive
init: - watchdog -
init: - preinit -
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: crng init done

I guess it is waiting for ubus events.

Linus Walleij
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list