Difference between revisions of "Non-destructive method for loading a new kernel"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{Template:Articles}}
 
''<font color=red><small>
 
''<font color=red><small>
 
This article  
 
This article  
Line 6: Line 7:
 
</small></font>''<br>
 
</small></font>''<br>
  
<font color=red>PowerPC Only | This kernel loading method only works for the powerpc-hdhlan and powerpc-hdhglan LinkStations; it does '''not''' work for the mipsel-hdhlan LinkStation.</font>
+
{{Postit|PowerPC Only | This kernel loading method only works for the powerpc-hdhlan and powerpc-hdhglan LinkStations; it does '''not''' work for the mipsel-hdhlan LinkStation}}
  
 
This article details a non-destructive (no flashing required) method for loading a new kernel. We will use a special kernel module which loads a new kernel in real-time. We assume that you already have a working [[Projects/OpenLink]] or [[Projects/FreeLink]] installation.
 
This article details a non-destructive (no flashing required) method for loading a new kernel. We will use a special kernel module which loads a new kernel in real-time. We assume that you already have a working [[Projects/OpenLink]] or [[Projects/FreeLink]] installation.
  
* Download and install the appropriate [[Projects/KernelModules|additional kernel modules]] package for your LinkStation. You may download and manually install them from the [[http://downloads.linkstationwiki.net downloads area]] or automatically install them via the [[http://ipkg.linkstationwiki.net/ ipkg feed]].
+
* Download and install the appropriate [[Projects/KernelModules|additional kernel modules]] package for your LinkStation. You may download and manually install them from the [[http://downloads.nas-central.org downloads area]] or automatically install them via the [[http://ipkg.nas-central.org/ ipkg feed]].
  
* Download and extract a precompiled kernel. You may obtain one from the [[http://downloads.linkstationwiki.net downloads area]] or use an existing Kuro Box kernel. Kuro Box kernels work on the powerpc-hdhlan LinkStation while Kuro Box HG kernels work on the powerpc-hdhglan LinkStation. Remember that the kernel must be in binary form:
+
* Download and extract a precompiled kernel. You may obtain one from the [[http://downloads.nas-central.org downloads area]] or use an existing Kuro Box kernel. Kuro Box kernels work on the powerpc-hdhlan LinkStation while Kuro Box HG kernels work on the powerpc-hdhglan LinkStation. Remember that the kernel must be in binary form:
 
  objcopy -O binary vmlinux
 
  objcopy -O binary vmlinux
  
Line 22: Line 23:
 
  uname -a
 
  uname -a
  
* You will need to load the new kernel after each reboot. A special thanks goes out to Jochang for writing this wonderful kernel loader. You may obtain the loader.o source code from [[http://downloads.linkstationwiki.net here]] or directly from [[http://jan.csie.ntu.edu.tw/~jo/kuro/ Jochang's web site]].
+
* You will need to load the new kernel after each reboot. A special thanks goes out to Jochang for writing this wonderful kernel loader. You may obtain the loader.o source code from [[http://downloads.nas-central.org here]] or directly from [[http://jan.csie.ntu.edu.tw/~jo/kuro/ Jochang's web site]].
  
 
[[Category:General]]
 
[[Category:General]]

Latest revision as of 02:03, 11 September 2007

This article Based on work by frontalot and timtimred. Originally by timtimred. at Linkstationwiki.org

PowerPC Only
Bar.png
This kernel loading method only works for the powerpc-hdhlan and powerpc-hdhglan LinkStations; it does not work for the mipsel-hdhlan LinkStation


This article details a non-destructive (no flashing required) method for loading a new kernel. We will use a special kernel module which loads a new kernel in real-time. We assume that you already have a working Projects/OpenLink or Projects/FreeLink installation.

  • Download and extract a precompiled kernel. You may obtain one from the [downloads area] or use an existing Kuro Box kernel. Kuro Box kernels work on the powerpc-hdhlan LinkStation while Kuro Box HG kernels work on the powerpc-hdhglan LinkStation. Remember that the kernel must be in binary form:
objcopy -O binary vmlinux
  • Then load the new kernel using the special loader.o kernel module (adjust directories as necessary):
cd /lib/modules/2.4.17_mvl21-sandpoint
sync; modprobe loader kernel=/boot/vmlinux
  • Wait a few seconds then log in to your LinkStation and verify that it's using the new kernel:
uname -a
  • You will need to load the new kernel after each reboot. A special thanks goes out to Jochang for writing this wonderful kernel loader. You may obtain the loader.o source code from [here] or directly from [Jochang's web site].