Skip to content

Releases: Heisath/wdmc2-kernel

Release 2022-05-30 with Lk 5.15, Lk 5.18 and Bullseye

30 May 18:23
310f006
Compare
Choose a tag to compare

This release contains a debian bullseye rootfs (fstab for usb) with kernel 5.15. Additionally kernel 5.18 is provided.

Release 1.5 with Debian Bullseye and lk5.11

28 Apr 09:59
Compare
Choose a tag to compare

This release has lk5.11 and debian bullseye for testing.

Contains a fix for fstab and drops support for prepackaged gcc. Use the apt version.

Release 1.4 with Debian Buster and lk5.10

25 Feb 13:19
Compare
Choose a tag to compare

Not much new in this release. Mainly improved some network handling, updated to newest LK5.10.y.

Also all parts are now downloadable seperately. So if you only want the modules & image no need to grab everything.
(Ofc the rootfs still contains everything to boot, so no need to manually insert anything there).

Release 1.3 with debian buster and lk5.10

24 Dec 10:27
92c9b7a
Compare
Choose a tag to compare

This contains prebuilt lk5.9 and lk5.10, buster, uRamdisk. Tested on wdmc boot with usb.

Release 1.2 with debian buster rootfs, prebuilt LK5.8

18 Oct 09:21
Compare
Choose a tag to compare

This release contains the linux kernel 5.8, modules and debian buster with applied tweaks.

Release 1.1 with debian buster rootfs, prebuilt LK5.6

13 Oct 11:52
Compare
Choose a tag to compare

This release contains the linux kernel 5.6, modules and debian buster with applied tweaks.

To use this on your wdmc you'll have to decide wether to use a USB drive or the internal drive.

USB:

  • create a FAT32 partition (this will be used to boot, will be called sdb1)
  • create a ext4 partition (this will be used as root, will be called sdb2)
  • create a folder called 'boot' on sdb1
  • move the files from release/boot into the boot folder on sdb1. Rename/link the uImage-5.6 file to uImage. Make sure both the uImage and uRamdisk are executable
  • extract the buster-rootfs.tar.gz on the sdb2 partition
  • copy the release/lib/ folder onto the sdb2 partition (to add the 5.6 modules)
  • adjust sdb2/etc/fstab to fit your needs (will probably be ok)
  • boot wdmc with usb stick, root password is '1234', configure/add packages as needed

Internal:

  • create ext4 partition (this should be the third, so /dev/sda3)
  • copy the folder from release/boot into sda3. Rename/link the uImage-5.6 file to uImage. Make sure both the uImage and uRamdisk are executable
  • extract the buster-rootfs.tar.gz on the sda3 partition
  • copy the release/lib/ folder onto the sda3 partition (to add the 5.6 modules)
  • adjust sda3/etc/fstab to fit your needs (you don't need seperate root / boot folders, so adjust this)
  • boot wdmc, root password is '1234', configure/add packages as needed

I suggest starting with USB stick, because this requires no changes on the internal harddisk.

If you need custom initramfs or different kernel settings, check the code and build neccessary files yourself.

Speeds by iperf3 and working network:

Linux wdmycloud 5.6.0 #3 SMP Sun Oct 4 16:34:31 CEST 2020 armv7l GNU/Linux
root@wdmycloud:~# cat /etc/debian_version
10.6
root@wdmycloud:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.42.63  netmask 255.255.255.0  broadcast 192.168.42.255
        inet6 fe80::214:eeff:fe09:b1a7  prefixlen 64  scopeid 0x20<link>
        ether 00:14:ee:09:b1:a7  txqueuelen 2048  (Ethernet)
        RX packets 2127423  bytes 2976817800 (2.7 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 82541  bytes 2305108461 (2.1 GiB)
        TX errors 0  dropped 10 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 68  bytes 5024 (4.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 68  bytes 5024 (4.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@wdmycloud:~# iperf3 -c 192.168.42.3
Connecting to host 192.168.42.3, port 5201
[  5] local 192.168.42.63 port 58444 connected to 192.168.42.3 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   108 MBytes   905 Mbits/sec  140    418 KBytes
[  5]   1.00-2.00   sec   108 MBytes   905 Mbits/sec   76    274 KBytes
[  5]   2.00-3.00   sec   110 MBytes   923 Mbits/sec    3    341 KBytes
[  5]   3.00-4.00   sec   109 MBytes   914 Mbits/sec   47    281 KBytes
[  5]   4.00-5.00   sec   112 MBytes   942 Mbits/sec    2    317 KBytes
[  5]   5.00-6.00   sec   109 MBytes   919 Mbits/sec    2    401 KBytes
[  5]   6.00-7.00   sec   107 MBytes   898 Mbits/sec   45    362 KBytes
[  5]   7.00-8.00   sec   111 MBytes   934 Mbits/sec    4    349 KBytes
[  5]   8.00-9.00   sec   112 MBytes   937 Mbits/sec    5    309 KBytes
[  5]   9.00-10.00  sec   111 MBytes   929 Mbits/sec    2    369 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.07 GBytes   921 Mbits/sec  326             sender
[  5]   0.00-10.00  sec  1.07 GBytes   920 Mbits/sec                  receiver

iperf Done.



First release of prebuilt kernel and initramfs

07 Oct 22:41
Compare
Choose a tag to compare

This release contains the kernel image, ramdisk (initramfs) and libraries to boot a wdmc2 from usb or internal harddrive.

For customization / further info check the code.