One of the posts suggested reading this file, but it is a 500MB download the explodes into a 1+GB file.
To save others the download, I provide the text of that file here:
Modification of or tampering with the Software, including but not limited to any Open Source Software, is solely at Your own risk. Western Digital is not responsible for any such modification or tampering. Western Digital will not support any product in which You have or have attempted to modify the Software supplied by Western Digital.
Sequoia 64K GPL source - version 04.00.00-607
Western Digital provides source code for GPL packages modified by Western Digital via its support website at http://support.wdc.com/download/gpl/. When applicable, build instructions for modified packages are distributed in the README/INSTALL files provided in the appropriate package folder. Prebuilt packages have been built with the 64k memory page size toolchain provided at packages/build_tools/compilers.
Other packages are integrated as binaries directly from the Debian distribution without modification. Below is an example of how to rebuild a Debian created binary if desired.
Instructions to rebuild a Debian package
The WD My Cloud device firmware versions 04.00.00 and later use a modified version of Debian Linux which uses 64K sized memory pages. In order to build Debian packages for use on a 64K page-size device, an “qemu-emulated native” build system is used, which contains the binutils package modified for 64K page-size alignment.
- x86 PC with 64-bit Ubuntu or Debian installed
- packages qemu-user-static and binfmt-support installed on host build system
- Modified binutils package with 64K page size support. A pre-built version is included in binutils directory. There is no need to re-build binutils, however, instructions are provided in the source package (see binutils/README-binutils-64K-pagesize.txt).
Run the script:
./build-armhf64k-package.sh <package_name> <suite>
<package_name> is the name of the package you would like to build.
<suite> is the Debian suite version. E.g., “wheezy” (i.e. stable) or “jessie” (i.e. testing).
After a successful build, the Debian build artifacts (.deb files) for the package will appear in the directory “build/root”. The artifacts may then be copied to a WD My Cloud device, and installed through the standard Debian install mechanism (dpkg -i).