[OpenWrt-Devel] Booting D-Link DNS-313, kernel requirements for OpenWRT?
Hans Ulli Kroll
ulli.kroll at googlemail.com
Sat Jan 20 03:43:17 EST 2018
On Fri, 19 Jan 2018, Linus Walleij wrote:
> On Wed, Jan 17, 2018 at 6:11 PM, Hans Ulli Kroll
> <ulli.kroll at googlemail.com> wrote:
> > 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.
> Oh it is actually pretty simple, it fails when doing some extra dd magic
> on the final ext4 image:
> /home/linus/src/openwrt/staging_dir/host/bin/make_ext4fs -l 536870912
> -b 4096 -m 0 -J -T 1516271982
> Creating filesystem with parameters:
> Size: 536870912
> Block size: 4096
> Blocks per group: 32768
> Inodes per group: 8192
> Inode size: 256
> Journal blocks: 0
> Blocks: 131072
> Block groups: 4
> Reserved blocks: 0
> Reserved block group size: 31
> Created filesystem with 962/32768 inodes and 5493/131072 blocks
> dd if=/home/linus/src/openwrt/bin/targets/gemini/raidsonic/openwrt-gemini-raidsonic-ext4.img
> of=/home/linus/src/openwrt/bin/targets/gemini/raidsonic/rd.gz bs=6144k
> dd: failed to open
> No such file or directory
> The rootfs image
> is not there.
> However I guess it is looking for:
> that was just created in the step before by make_ext4fs?
> I just don't find my way around the openwrt build scripts well enough to
> figure out how to fix this...
> However the rootfs per se is finished and is in
> so I'm using that (just untar it on the root partition) and it "should work".
> However it is a bit reluctant to boot...
I'm currently awaiting my device, so I can start hacking.
Mebay I need to build me some "special" USB cables to work on the
So they are three extra pins, not covered by Faradays IP, for each USB
port. I have a (small) vision about the layout, but I need this NAS.
Oh, and for the soldering :
This is a piece of cake, part of my day job.
Hans Ulli Kroll
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel