You have done replacing Buffalo stock firmware with, the last part is to adjust the hardware behavior to match the new operating system. This work initially done by for LinkStation Live V2 with my modification for LinkStation LS421DE for both Buffalo kernel. What’s LSMONITOR jobs: • Controlling LED according to the current state (booting, power off, etc). ![]() • Monitor the temperature of HDDs and adjust the fan speed according. • Monitor power off switch and initiate shutdown when power switch position is off. Installation Do the following commands on your LinkStation LS421DE. If you have installed previous lsmonitor init script just remove it first: $ update-rc.d lsmonitor stop $ update-rc.d lsmonitor remove Get init script and extract: $ wget $ tar -xvf lsmonitor-unified.tar.gz -C / Install required packages: $ apt-get install smartmontools hdparm evtest Enable init script: $ update-rc.d lsboot defaults $ update-rc.d lsmonitor defaults Restart LinkStation LS421DE to take effect. After successfully, now it’s time to compile our own kernel. You need Ubuntu box to do cross compiling. Preparation Install required softwares: $ sudo apt-get install build-essential git Clone linkstation mod tools using Git: $ mkdir ~/lsmod $ cd ~/lsmod $ git clone. If you just want to update the tools, issue: $ cd ~/lsmod && git pull Prepare toolchain (as of ): Toolchains are availables from. New toolchain can be downloaded and prepared as follow: $ mkdir -p ~/lsmod/lskernel/toolchain $ cd ~/lsmod/lskernel/toolchain $ wget $ xzcat gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz| tar -xvf - To configure which toolchain to use, issue: $ cd ~/lsmod $./lskernel/build-ls-kernel.sh --toolchain Cloning Linux Git Repository Issue the following command to clone Linux Git repository: $ cd ~/lsmod $./lskernel/build-ls-kernel.sh --download The Linux Git Repository sized about 900 MB, so it may take more minutes depend on your connection speed. Next time, to update the repository issue command: $./lskernel/build-ls-kernel.sh --update Cross Compiling As of commit, now you can choose which kernel version to use: $./lskernel/build-ls-kernel.sh --kver Customize kernel configuration: $./lskernel/build-ls-kernel.sh --config Compile kernel image, modules, and DTB (as of commit ): $./lskernel/build-ls-kernel.sh --build Package the kernel: $ sudo./lskernel/build-ls-kernel.sh --package The resulting kernel is ls-kernel-3.18.tar.gz in the current directory. Disclaimer: THE FOLLOWING PROCEDURE WILL CAUSE ALL OF YOUR DATA TO BE LOST. YOU HAVE BEEN WARNED! Installing Debian on LinkStation LS421DE to replace the Buffalo stock firmware aimed to create a full customized operating system without unnecessary software as in stock firmware. The configuration for the following scenario described as below: • Using LinkStation LS421DE with armhf (arm hard float) architecture. Apr 30, 2009 now even easier, using stock buffalo firmware! Ipkg with stock buffalo firmware: the even easier way to install squeezecenter on buffalo linkstation pro (ls-gl) or linkstation live (hs-dhgl & ls-chl) models with arm processor currently, the ipkg process described in. • Not using raid, but adding raid partition for data partition is fully supported. • Currently, no vanilla kernel available. So, we are using Buffalo kernel at the moment. The main process of Debian installation summarized as follow: • Creating rootfs by debootstrapping Debian on running LS421DE system. • Using a Linux box (Ubuntu) to prepare suitable image for LinkStation. • Modifying partition and installing Debian. • Enable lsmonitor script and customize Debian system. Creating rootfs on running LS421DE system You must have already a root access to the LinkStation box, if not, follow the the procedure on. Install: $ cd ~ $ wget $ dpkg -i --force-all debootstrap_1.0.64~bpo70+1_all.deb Prepare the tools by issuing commands: $ mkdir ~/lsmod $ cd ~/lsmod $ wget $ unzip master.zip $ cd linkstation-mod-master Edit scripts/debootstrap-rootfs.cfg and adjust as you need, choose closest from your location. Extra packages can be specified using PACKAGES variable. $ cat scripts/debootstrap-rootfs.cfg ARCH=armhf VERSION=wheezy MIRROR=PACKAGES= $ vi scripts/debootstrap-rootfs.cfg Run debootstrap: $./scripts/debootstrap-rootfs.sh --clean You can ommit –clean option if you don’t want to debootstrap-ing again. Borderlands game of the year edition. The purpose for opening a stock firmware is to gain root access to LinkStation. With root access, several additional softwares can be added to the firmware, e.g: using optware package. Furthermore, a custom operating system can be used to replace the Buffalo stock firmware such as Debian. This process based on existing method on tested on LS421DE: • Download the tools from. $ mkdir ~/lsmod $ cd ~/lsmod $ wget $ unzip master.zip $ cd linkstation-mod-master • Get the Buffalo stock firmware from, the latest firmware as of this writing is 1.33. $ mkdir firmware $ cd firmware $ wget $ unzip ls400-133en.zip After unzip process, the firmware can be found on the ~/lsmod/linkstation-mod-master/firmware/ls400-133en/ folder. • Prepare SSH public key for login authentication. If you’re already using a linux box, simply copy id_dsa.pub or id_rsa.pub to data folder. $ cd ~/lsmod/linkstation-mod-master $ cp ~/.ssh/id_dsa.pub data/id_dsa.key On windows box, use puTTYgen to generate SSH private/public key pair.
0 Comments
Leave a Reply. |