diff options
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs')
5 files changed, 65 insertions, 36 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs/NOTES b/packages/nslu2-binary-only/unslung-rootfs/NOTES index ae9d7c607c..82d7448a80 100644 --- a/packages/nslu2-binary-only/unslung-rootfs/NOTES +++ b/packages/nslu2-binary-only/unslung-rootfs/NOTES @@ -487,3 +487,28 @@ Added original "netconsole" code as a kernel module Fixed problem with password changing from the GUI and automatic mounting of drives and flash devices in port 1. Remove unnecessary directory /lib/modules/2.4.22-xfs/pcmcia. + +6.8: + +First beta release. + +6.9: + +Modified /etc/rc.d/rc.modules to "insmod" any nls code page modules present. + +Code Page 850 is now compiled into the kernel instead of a kernel module, +and added Code Page 949 (as a module). + +Updated the upgrade.htm file to reflect redboot as the upgrade means. + +Remove the upgrade.cgi, upgrade_ui.htm, and upgrade_ui.cgi files from the +root image as they are no longer used, and we can always use free space. + +Rearranged portions of the build procedure to remove the samba code pages in +the rootfs bb, create a new package with the removed code pages in a new +nslu2-linksys-sambacodepages.bb file (to restore the code pages, use ipkg to +install package "nslu2-linksys-sambacodepages". Note that the rootfs and the +sambacodepages bb files must be kept in sync regarding the samba code pages +that are left in the image and the ones that are added to the package (and it +is also a good idea if the kernel defconfig reflects the inclusion of NLS +support for the code pages that are left in the image, of course). diff --git a/packages/nslu2-binary-only/unslung-rootfs/rc.modules-diversion.patch b/packages/nslu2-binary-only/unslung-rootfs/rc.modules-diversion.patch index fa7532401d..d1de027f9a 100644 --- a/packages/nslu2-binary-only/unslung-rootfs/rc.modules-diversion.patch +++ b/packages/nslu2-binary-only/unslung-rootfs/rc.modules-diversion.patch @@ -1,8 +1,10 @@ ---- nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.modules.orig 2004-07-27 23:37:55.000000000 -0400 -+++ nslu2-linksys-ramdisk-2.3r25/etc/rc.d/rc.modules 2004-09-01 21:57:34.000000000 -0400 -@@ -1,2 +1,5 @@ +--- nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules.orig 2006-04-14 21:00:58.000000000 -0500 ++++ nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules 2006-04-14 21:05:47.000000000 -0500 +@@ -1,4 +1,7 @@ + #!/bin/sh + +if ( [ -f /unslung/rc.modules ] && . /unslung/rc.modules ) ; then return 0 ; fi + - insmod rbuttons &>/dev/null - insmod x1226-rtc &>/dev/null + insmod pbuttons 2>/dev/null + insmod rbuttons 2>/dev/null + insmod x1226-rtc 2>/dev/null diff --git a/packages/nslu2-binary-only/unslung-rootfs/rc.modules-nls.patch b/packages/nslu2-binary-only/unslung-rootfs/rc.modules-nls.patch new file mode 100644 index 0000000000..1eb342b715 --- /dev/null +++ b/packages/nslu2-binary-only/unslung-rootfs/rc.modules-nls.patch @@ -0,0 +1,10 @@ +--- nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules.orig 2006-04-14 21:05:47.000000000 -0500 ++++ nslu2-linksys-ramdisk-2.3r63/etc/rc.d/rc.modules 2006-04-14 19:56:29.000000000 -0500 +@@ -6,3 +6,7 @@ + insmod rbuttons 2>/dev/null + insmod x1226-rtc 2>/dev/null + insmod ufsd 2>/dev/null ++ ++for i in /lib/modules/`/bin/uname -r`/kernel/fs/nls/nls_cp*.o ; do ++ insmod "$i" 2>/dev/null ++done diff --git a/packages/nslu2-binary-only/unslung-rootfs/upgrade.cgi b/packages/nslu2-binary-only/unslung-rootfs/upgrade.cgi deleted file mode 100755 index 0eee123550..0000000000 --- a/packages/nslu2-binary-only/unslung-rootfs/upgrade.cgi +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -/sbin/devio ">>/dev/mtdblock5" "fb#255" 2>/dev/null -/usr/sbin/DO_Reboot 2>/dev/null diff --git a/packages/nslu2-binary-only/unslung-rootfs/upgrade.htm b/packages/nslu2-binary-only/unslung-rootfs/upgrade.htm index 88644e305e..2301a89c0f 100644 --- a/packages/nslu2-binary-only/unslung-rootfs/upgrade.htm +++ b/packages/nslu2-binary-only/unslung-rootfs/upgrade.htm @@ -4,21 +4,6 @@ <meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> <script language="JavaScript" type="text/javascript" src="../stdlib.js"></script> <script language="JavaScript" type="text/javascript" src="../message.js"></script> -<script language="JavaScript" type="text/javascript"> -<!-- Start Script - -function checkUpgrade() -{ - var cf=document.upgrade; - - if(!confirm("Your NSLU2 will now enter RedBoot Upgrade Mode\n(Ready/Status LED will be flashing red and green).\nYou will require either the Linux UpSlug tool or the\nWindows SerComm Upgrade tool to upload firmware.\nNote that you will not be able to access your NSLU2\nuntil you have successfully uploaded new firmware.\nClick OK to continue, Cancel to abort.")) - return; - cf.submit(); - return; -} - -// end script --> -</script> </head> <body bgcolor="white" onLoad="showMsg()" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"> @@ -81,8 +66,6 @@ function checkUpgrade() <tr> <td colspan="3" bgcolor="#e7e7e7" height="6"><img src="TRANSPAR.GIF" width="1" height="6" alt="" border="0"></td> </tr> - - <tr> <th width="165" height="24">Current Firmware </th> <td width="409"><img src="TRANSPAR.GIF" width="409" height="6" alt="" border="0"></td> @@ -93,16 +76,33 @@ function checkUpgrade() <td width="409"><div class="std"><table border=0 cellspacing=0 cellpadding=4> <tr> <td nowrap>Current Firmware Version:</td> - <td nowrap>@ds_sw_version# </td></tr> - <tr><td> - <div align="left"><a href="http://www.linksys.com" target="new_win"><img src="button_checkupdate.jpg" width="107" height="20" alt="" border="0"></a></div> - </td> + <td nowrap>@ds_sw_version# </td> </tr> </table></div> </td> <td width="176" bgcolor="#6666cc"><img border="0" src="../UI_05.gif" height="80" width="15"></td> </tr> <tr> + <th width="165" height="24">Upgrade </th> + <td width="409"><img src="TRANSPAR.GIF" width="409" height="6" alt="" border="0"></td> + <td width="176" bgcolor="#6666cc"><img border="0" src="../UI_05.gif" height="24" width="15"></td> +</tr> +<tr> + <td bgcolor="#e7e7e7" align="right"><img border="0" src="../UI_04.gif" width="8" hspace="0" vspace="0" height="120"></td> + <td width="409"><div class="std"><table border=0 cellspacing=0 cellpadding=4> + <tr> + </tr> + <tr> +<td colspan="2" align="left" class="smsg"> +NOTE: You cannot use this upgrade page to install new firmware on Unslung. +You must use the Redboot mechanism in order to install new firmware instead. +</td> + </tr> + </table></div> </td> + <td width="176" bgcolor="#6666cc"><img border="0" src="../UI_05.gif" height="120" width="15"></td> +</tr> + +<tr> <td bgcolor="#e7e7e7" height="30" align="right"><img border="0" src="../UI_04.gif" width="8" hspace="0" vspace="0" height="30"></td> <td height="30"> </td> <td rowspan="2" valign="bottom" bgcolor="#6666cc" height="64"><img src="../cisco.gif" hspace="0" vspace="0"></td> @@ -110,12 +110,10 @@ function checkUpgrade() <tr> <td bgcolor="black" height="34"> </td> - <td bgcolor="#6666cc" align="right" height="33" valign="middle"><a class="textbutton" href="javascript:checkUpgrade();" style="{padding:3px}"> - Enter Upgrade Mode </a> <a class="textbutton" href="javascript:openHelpWin('help/util_upg.htm')" style="{padding:3px}"> - Help </a> </td> + <td bgcolor="#6666cc" align="right" height="33" valign="middle"> + </td> </tr> - </table> </div> <input type="Hidden" name="message" value="@message#"> @@ -123,7 +121,5 @@ function checkUpgrade() <input type="Hidden" name="todo" value="@todo#"> <input type="Hidden" name="finish" value="@finish#"> </form> - </body> - </html> |