Skip to content

Release 1.1 with debian buster rootfs, prebuilt LK5.6

Compare
Choose a tag to compare
@Heisath Heisath released this 13 Oct 11:52
· 150 commits to master since this release

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.