From: <sle...@us...> - 2007-03-25 00:37:48
|
Revision: 934 http://svn.sourceforge.net/hackndev/?rev=934&view=rev Author: sleep_walker Date: 2007-03-24 17:37:41 -0700 (Sat, 24 Mar 2007) Log Message: ----------- l4p: added live_changes support into BFUGarux Modified Paths: -------------- linux4palm/BFUGarux/BFULinuxHelper.c linux4palm/BFUGarux/BFUSettings-alone.c linux4palm/BFUGarux/BFUSettings.Rsrc linux4palm/BFUGarux/BFUSettings.Rsrc.h Modified: linux4palm/BFUGarux/BFULinuxHelper.c =================================================================== --- linux4palm/BFUGarux/BFULinuxHelper.c 2007-03-25 00:14:46 UTC (rev 933) +++ linux4palm/BFUGarux/BFULinuxHelper.c 2007-03-25 00:37:41 UTC (rev 934) @@ -106,6 +106,8 @@ optint >>= 2; printf("BFUUseNet=%d\n",useNet = (optint & 1)); optint >>= 1; + printf("BFULiveChanges=%d\n",optint & 1); + optint >>= 1; printf("BFUDebug=%ld\n",optint & 1); optint >>= 1; printf("BFUSilentBoot=%ld\n",optint & 1); Modified: linux4palm/BFUGarux/BFUSettings-alone.c =================================================================== --- linux4palm/BFUGarux/BFUSettings-alone.c 2007-03-25 00:14:46 UTC (rev 933) +++ linux4palm/BFUGarux/BFUSettings-alone.c 2007-03-25 00:37:41 UTC (rev 934) @@ -43,6 +43,7 @@ UInt8 copy2ram; Char RAMdiskSize[BFURAMdiskMaxLength]; UInt8 save2card; + UInt8 live_changes; } BFUSettingsType; static Boolean BFUCopySettingsStruct(BFUSettingsType *source,BFUSettingsType *dest); @@ -142,6 +143,7 @@ dest->fsck = source->fsck; dest->modules = source->modules; dest->modlist = source->modlist; + dest->live_changes = source->live_changes; return true; } @@ -199,6 +201,8 @@ options = options << 1; options |= BFUSettingsValues.debug; options = options << 1; + options |= BFUSettingsValues.live_changes; + options = options << 1; options |= BFUSettingsValues.net; options = options << 2; options |= BFUSettingsValues.fs; Modified: linux4palm/BFUGarux/BFUSettings.Rsrc =================================================================== --- linux4palm/BFUGarux/BFUSettings.Rsrc 2007-03-25 00:14:46 UTC (rev 933) +++ linux4palm/BFUGarux/BFUSettings.Rsrc 2007-03-25 00:37:41 UTC (rev 934) @@ -1,248 +1,249 @@ -#include "BFUSettings.Rsrc.h" -// --------------- Resources of type 'NFNT' --------------- -// --------------- Resources of type 'Talt' --------------- -// --------------- Resources of type 'tFRM' --------------- -FORM ID BFUGlobalForm AT (0 0 160 160) - FRAME MODAL NOSAVEBEHIND USABLE - HELPID 8601 DEFAULTBTNID BFUOKButton -BEGIN - TITLE "BFUSettings - Global" - LIST "Modules on card" "HTTP" "NFS" "Card partition" ID BFUSourceList AT (6 50 70 44) NONUSABLE DISABLED - POPUPTRIGGER "Source" ID BFUSourceTrigger AT (6 50 82 15) USABLE LEFTANCHOR - POPUPLIST ID BFUSourceTrigger BFUSourceList - LABEL "Source:" ID 8030 AT (9 35) USABLE FONT 1 - LABEL "Address or path:" ID 8031 AT (9 69) USABLE FONT 1 - FIELD ID BFUAddressField AT (9 88 140 16) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 64 - POPUPTRIGGER "Filesystem" ID BFUFileSystemPopup AT (90 50 60 15) USABLE LEFTANCHOR - LIST "vfat" "ext2" "ext3" ID BFUFileSystemList AT (90 50 60 33) NONUSABLE DISABLED - POPUPLIST ID BFUFileSystemPopup BFUFileSystemList - LABEL "Device:" ID 8032 AT (9 110) USABLE FONT 1 - FIELD ID BFUDeviceField AT (54 110 77 15) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 16 - BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME - POPUPTRIGGER "Global" ID BFUPartTrigger AT (56 15 41 15) USABLE LEFTANCHOR - LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED - POPUPLIST ID BFUPartTrigger BFUPartList - LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 - CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 -END - -FORM ID BFUNetForm AT (0 0 160 160) - FRAME MODAL NOSAVEBEHIND USABLE - HELPID 8602 DEFAULTBTNID BFUOKButton -BEGIN - TITLE "BFUSettings - Network" - BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME - POPUPTRIGGER "Network" ID BFUPartTrigger AT (56 15 51 15) USABLE LEFTANCHOR - LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED - POPUPLIST ID BFUPartTrigger BFUPartList - LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 - CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 - LABEL "IP address of Palm:" ID 8130 AT (9 50) USABLE FONT 1 - CHECKBOX "Use network" ID BFUUseNetBox AT (9 31 67 15) USABLE RIGHTANCHOR GROUP 0 - FIELD ID BFUPalmIPField0 AT (9 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "." ID 8131 AT (26 62) USABLE FONT 1 - FIELD ID BFUPalmIPField1 AT (30 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "." ID 8132 AT (47 62) USABLE FONT 1 - FIELD ID BFUPalmIPField2 AT (52 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "." ID 8133 AT (70 62) USABLE FONT 1 - FIELD ID BFUPalmIPField3 AT (75 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "IP of PC:" ID 8137 AT (9 76) USABLE FONT 1 - FIELD ID BFUPCIPField0 AT (9 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUPCIPField1 AT (30 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUPCIPField2 AT (52 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUPCIPField3 AT (75 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "." ID 8134 AT (26 90) USABLE FONT 1 - LABEL "." ID 8135 AT (47 90) USABLE FONT 1 - LABEL "." ID 8136 AT (70 90) USABLE FONT 1 - LABEL "Mask:" ID 8138 AT (9 103) USABLE FONT 1 - FIELD ID BFUMaskField0 AT (9 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUMaskField1 AT (30 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUMaskField2 AT (52 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - FIELD ID BFUMaskField3 AT (75 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 - LABEL "." ID 8139 AT (26 116) USABLE FONT 1 - LABEL "." ID 8140 AT (47 116) USABLE FONT 1 - LABEL "." ID 8141 AT (70 116) USABLE FONT 1 -END - -FORM ID BFUModulesForm AT (0 0 160 160) - FRAME MODAL NOSAVEBEHIND USABLE - HELPID 8603 DEFAULTBTNID BFUOKButton -BEGIN - TITLE "BFUSettings - Modules" - BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME - POPUPTRIGGER "Modules" ID BFUPartTrigger AT (56 15 50 15) USABLE LEFTANCHOR - LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED - POPUPLIST ID BFUPartTrigger BFUPartList - LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 - CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 - TABLE ID BFUModulesTable AT (4 46 145 85) ROWS 24 COLUMNS 2 COLUMNWIDTHS 120 15 - LABEL "modlist:" ID 8210 AT (9 31) USABLE FONT 1 - POPUPTRIGGER "Custom" ID BFUModListTrigger AT (52 29 67 15) USABLE LEFTANCHOR - SCROLLBAR ID BFUModScrollBar AT (151 46 7 85) USABLE VALUE 0 MIN 0 MAX 0 PAGESIZE 1 -END - -FORM ID BFUToolsForm AT (0 0 160 160) - FRAME MODAL NOSAVEBEHIND USABLE - HELPID 8604 DEFAULTBTNID BFUOKButton -BEGIN - TITLE "BFUSettings - Tools" - BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME - POPUPTRIGGER "Tools" ID BFUPartTrigger AT (56 15 50 15) USABLE LEFTANCHOR - LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED - POPUPLIST ID BFUPartTrigger BFUPartList - LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 - CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 - CHECKBOX "Silent boot" ID BFUSilentBootBox AT (9 31 60 15) USABLE RIGHTANCHOR GROUP 0 - CHECKBOX "Keyboard support" ID BFUKeyboardSupportBox AT (9 46 91 15) USABLE RIGHTANCHOR GROUP 0 - CHECKBOX "SmallROM reflash (dangerous!)" ID BFUReflashBox AT (9 61 145 15) USABLE RIGHTANCHOR GROUP 0 - CHECKBOX "Run fsck for card" ID BFURunFSCKBox AT (9 76 145 15) USABLE RIGHTANCHOR GROUP 0 - -END - - -FORM ID BFUAdvancedForm AT (0 0 160 160) - FRAME MODAL NOSAVEBEHIND USABLE - HELPID 8605 DEFAULTBTNID BFUOKButton -BEGIN - TITLE "BFUSettings - Advanced" - BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME - BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME - POPUPTRIGGER "Advanced" ID BFUPartTrigger AT (56 15 55 15) USABLE LEFTANCHOR - LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED - POPUPLIST ID BFUPartTrigger BFUPartList - LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 - CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 - LABEL "CPU Frequency:" ID 8350 AT (9 33) USABLE FONT 1 - LIST "Auto" "133 MHz" "266 MHz" "400 MHz" "None" ID BFUCPUSpeedList AT (90 31 39 55) NONUSABLE DISABLED - POPUPTRIGGER "Auto" ID BFUCPUSpeedTrigger AT (90 31 55 15) USABLE LEFTANCHOR - POPUPLIST ID BFUCPUSpeedTrigger BFUCPUSpeedList - LABEL "RAMdisk size:" ID 8351 AT (9 48) USABLE FONT 1 - FIELD ID BFURAMdiskSizeField AT (90 48 30 15) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 6 - CHECKBOX "SD/MMC read-only" ID BFUCardReadonlyBox AT (9 63 96 15) USABLE LEFTANCHOR GROUP 0 - CHECKBOX "Copy modules to RAM" ID BFUCopy2RAMBox AT (9 78 110 15) USABLE LEFTANCHOR GROUP 0 - CHECKBOX "Debug" ID BFUDebugModeBox AT (9 93 42 15) USABLE RIGHTANCHOR GROUP 0 -END - -// --------------- Resources of type 'tSTR' --------------- -STRING ID 8601 "BFUSettings - Global\n" \ - "(Bootloader for users)\n\n" \ - "This window is dedicated to set source of real root or modules.\n\n" \ - "Source:\n" \ - "Here you can select method.\n" \ - "Possible choices:\n" \ - "\x09- Modules on card - mount modules located on card\n" \ - "\x09- HTTP - get modules from HTTP server and mount them\n" \ - "\x09- NFS - mount NFS share as root\n" \ - "\x09- Card partition - mount card partition as root\n\n" \ - "Address or path:\n" \ - "Here you should enter address of NFS server, path or address of modlist.txt file or path to " \ - "directory on card containing modules.\n\n" \ - "Device:\n" \ - "Here you should specify device which are modules loaded from.\n\n" \ - "OK\n" \ - "Prepare settings to be sent and leave BFUSettings\n\n" \ - "Save\n" \ - "Save preferences for next use.\n\n" \ - "To card\n" \ - "If disabled, preferences are saved just to RAM database. If enabled it will " \ - "replace previously found preferences on card or save it on first volume\n\n" \ - "Cancel\n" \ - "Exit and no BFUSettings will be used.\n\n" \ - "Set:\n" \ - "Switches to other part of settings - network, modules, tools and advanced.\n\n" - -STRING ID 8602 "BFUSettings - Network\n" \ - "(Bootloader for users)\n\n" \ - "This window is dedicated to set network properties.\n\n" \ - "Use network:\n" \ - "Enable or disable network set up during boot. It is required for HTTP or NFS way of boot.\n\n" \ - "OK\n" \ - "Prepare settings to be sent and leave BFUSettings\n\n" \ - "Save\n" \ - "Save preferences for next use.\n\n" \ - "To card\n" \ - "If disabled, preferences are saved just to RAM database. If enabled it will " \ - "replace previously found preferences on card or save it on first volume\n\n" \ - "Cancel\n" \ - "Exit and no BFUSettings will be used.\n\n" \ - "Set:\n" \ - "Switches to other part of settings - global, modules, tools and advanced.\n\n" - -STRING ID 8603 "BFUSettings - Modules\n" \ - "(Bootloader for users)\n\n" \ - "This window is dedicated to select modules to be loaded.\n\n" \ - "For now, only possible is select your modlist*.txt.\n\n" \ - "NOTE: used only if start from Card, if start from WWW create modlist.txt and put in same dir on WWW as modules.\n\n" \ - "OK\n" \ - "Prepare settings to be sent and leave BFUSettings\n\n" \ - "Save\n" \ - "Save preferences for next use.\n\n" \ - "To card\n" \ - "If disabled, preferences are saved just to RAM database. If enabled it will " \ - "replace previously found preferences on card or save it on first volume\n\n" \ - "Cancel\n" \ - "Exit and no BFUSettings will be used.\n\n" \ - "Set:\n" \ - "Switches to other part of settings - global, network, tools and advanced.\n\n" - -STRING ID 8604 "BFUSettings - Tools\n" \ - "(Bootloader for users)\n\n" \ - "This window is dedicated to enable useful things.\n\n" \ - "Silent boot:\n" \ - "This will produce no output during boot.\n\n" \ - "Keyboard:\n" \ - "This enable running external keyboard handling program. Currently Stowaway (PPK) and compatible supported.\n\n" \ - "SmallROM reflash:\n" \ - "This will reflash your SmallROM for suspend/resume support. Read more before enabling that...\n\n" \ - "Run fsck for card:\n" \ - "This will run dosfsck on first partition of card. Usefull for checking errors after bad unmount...\n\n" \ - "OK\n" \ - "Prepare settings to be sent and leave BFUSettings\n\n" \ - "Save\n" \ - "Save preferences for next use.\n\n" \ - "To card\n" \ - "If disabled, preferences are saved just to RAM database. If enabled it will " \ - "replace previously found preferences on card or save it on first volume\n\n" \ - "Cancel\n" \ - "Exit and no BFUSettings will be used.\n\n" \ - "Set:\n" \ - "Switches to other part of settings - global, network, modules and advanced.\n\n" - - -STRING ID 8605 "BFUSettings - Advanced\n" \ - "(Bootloader for users)\n\n" \ - "This window is dedicated to set advanced settings.\n\n" \ - "CPU Frequency:\n" \ - "You can select CPU speed. Less speed means less battery needs.\n\n" \ - "NOTE: some SD card only work with CPU speed 133. Test it if you see many squashfs errors...\n\n" \ - "RAMdisk size:\n" \ - "You can specify MAXIMUM size of RAM will be used for RAMdisk.\n\n" \ - "SD/MMC read-only:\n" \ - "With this option you can mount card as read only (if it is mounted).\n\n" \ - "Copy modules to RAM:\n" \ - "This will copy modules first to RAM, and mount from memory.\n\n" \ - "NOTE: Don't forget set RAMdisk size MINIMAL as total size of all your used modules.\n\n" \ - "Debug:\n" \ - "This option will switch to shell in some important part of initscript.\n" \ - "Usefull for developers.\n" \ - "NOTE: need Stowaway compatible keyboard.\n\n" \ - "OK\n" \ - "Prepare settings to be sent and leave BFUSettings\n\n" \ - "Save\n" \ - "Save preferences for next use.\n\n" \ - "To card\n" \ - "If disabled, preferences are saved just to RAM database. If enabled it will " \ - "replace previously found preferences on card or save it on first volume\n\n" \ - "Cancel\n" \ - "Exit and no BFUSettings will be used.\n\n" \ - "Set:\n" \ - "Switches to other part of settings - global, network, modules and tools.\n\n" +#include "BFUSettings.Rsrc.h" +// --------------- Resources of type 'NFNT' --------------- +// --------------- Resources of type 'Talt' --------------- +// --------------- Resources of type 'tFRM' --------------- +FORM ID BFUGlobalForm AT (0 0 160 160) + FRAME MODAL NOSAVEBEHIND USABLE + HELPID 8601 DEFAULTBTNID BFUOKButton +BEGIN + TITLE "BFUSettings - Global" + LIST "Modules on card" "HTTP" "NFS" "Card partition" ID BFUSourceList AT (6 50 70 44) NONUSABLE DISABLED + POPUPTRIGGER "Source" ID BFUSourceTrigger AT (6 50 82 15) USABLE LEFTANCHOR + POPUPLIST ID BFUSourceTrigger BFUSourceList + LABEL "Source:" ID 8030 AT (9 35) USABLE FONT 1 + LABEL "Address or path:" ID 8031 AT (9 69) USABLE FONT 1 + FIELD ID BFUAddressField AT (9 88 140 16) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 64 + POPUPTRIGGER "Filesystem" ID BFUFileSystemPopup AT (90 50 60 15) USABLE LEFTANCHOR + LIST "vfat" "ext2" "ext3" ID BFUFileSystemList AT (90 50 60 33) NONUSABLE DISABLED + POPUPLIST ID BFUFileSystemPopup BFUFileSystemList + LABEL "Device:" ID 8032 AT (9 110) USABLE FONT 1 + FIELD ID BFUDeviceField AT (54 110 77 15) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 16 + BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME + POPUPTRIGGER "Global" ID BFUPartTrigger AT (56 15 41 15) USABLE LEFTANCHOR + LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED + POPUPLIST ID BFUPartTrigger BFUPartList + LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 + CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 +END + +FORM ID BFUNetForm AT (0 0 160 160) + FRAME MODAL NOSAVEBEHIND USABLE + HELPID 8602 DEFAULTBTNID BFUOKButton +BEGIN + TITLE "BFUSettings - Network" + BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME + POPUPTRIGGER "Network" ID BFUPartTrigger AT (56 15 51 15) USABLE LEFTANCHOR + LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED + POPUPLIST ID BFUPartTrigger BFUPartList + LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 + CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 + LABEL "IP address of Palm:" ID 8130 AT (9 50) USABLE FONT 1 + CHECKBOX "Use network" ID BFUUseNetBox AT (9 31 67 15) USABLE RIGHTANCHOR GROUP 0 + FIELD ID BFUPalmIPField0 AT (9 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "." ID 8131 AT (26 62) USABLE FONT 1 + FIELD ID BFUPalmIPField1 AT (30 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "." ID 8132 AT (47 62) USABLE FONT 1 + FIELD ID BFUPalmIPField2 AT (52 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "." ID 8133 AT (70 62) USABLE FONT 1 + FIELD ID BFUPalmIPField3 AT (75 61 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "IP of PC:" ID 8137 AT (9 76) USABLE FONT 1 + FIELD ID BFUPCIPField0 AT (9 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUPCIPField1 AT (30 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUPCIPField2 AT (52 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUPCIPField3 AT (75 89 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "." ID 8134 AT (26 90) USABLE FONT 1 + LABEL "." ID 8135 AT (47 90) USABLE FONT 1 + LABEL "." ID 8136 AT (70 90) USABLE FONT 1 + LABEL "Mask:" ID 8138 AT (9 103) USABLE FONT 1 + FIELD ID BFUMaskField0 AT (9 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUMaskField1 AT (30 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUMaskField2 AT (52 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + FIELD ID BFUMaskField3 AT (75 115 15 15) USABLE EDITABLE UNDERLINED MULTIPLELINES NUMERIC MAXCHARS 3 + LABEL "." ID 8139 AT (26 116) USABLE FONT 1 + LABEL "." ID 8140 AT (47 116) USABLE FONT 1 + LABEL "." ID 8141 AT (70 116) USABLE FONT 1 +END + +FORM ID BFUModulesForm AT (0 0 160 160) + FRAME MODAL NOSAVEBEHIND USABLE + HELPID 8603 DEFAULTBTNID BFUOKButton +BEGIN + TITLE "BFUSettings - Modules" + BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME + POPUPTRIGGER "Modules" ID BFUPartTrigger AT (56 15 50 15) USABLE LEFTANCHOR + LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED + POPUPLIST ID BFUPartTrigger BFUPartList + LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 + CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 + TABLE ID BFUModulesTable AT (4 46 145 85) ROWS 24 COLUMNS 2 COLUMNWIDTHS 120 15 + LABEL "modlist:" ID 8210 AT (9 31) USABLE FONT 1 + POPUPTRIGGER "Custom" ID BFUModListTrigger AT (52 29 67 15) USABLE LEFTANCHOR + SCROLLBAR ID BFUModScrollBar AT (151 46 7 85) USABLE VALUE 0 MIN 0 MAX 0 PAGESIZE 1 +END + +FORM ID BFUToolsForm AT (0 0 160 160) + FRAME MODAL NOSAVEBEHIND USABLE + HELPID 8604 DEFAULTBTNID BFUOKButton +BEGIN + TITLE "BFUSettings - Tools" + BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME + POPUPTRIGGER "Tools" ID BFUPartTrigger AT (56 15 50 15) USABLE LEFTANCHOR + LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED + POPUPLIST ID BFUPartTrigger BFUPartList + LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 + CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 + CHECKBOX "Silent boot" ID BFUSilentBootBox AT (9 31 60 15) USABLE RIGHTANCHOR GROUP 0 + CHECKBOX "Keyboard support" ID BFUKeyboardSupportBox AT (9 46 91 15) USABLE RIGHTANCHOR GROUP 0 + CHECKBOX "SmallROM reflash (dangerous!)" ID BFUReflashBox AT (9 61 145 15) USABLE RIGHTANCHOR GROUP 0 + CHECKBOX "Run fsck for card" ID BFURunFSCKBox AT (9 76 145 15) USABLE RIGHTANCHOR GROUP 0 + +END + + +FORM ID BFUAdvancedForm AT (0 0 160 160) + FRAME MODAL NOSAVEBEHIND USABLE + HELPID 8605 DEFAULTBTNID BFUOKButton +BEGIN + TITLE "BFUSettings - Advanced" + BUTTON "OK" ID BFUOKButton AT (5 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Save" ID BFUSaveButton AT (41 140 30 15) USABLE RIGHTANCHOR FRAME + BUTTON "Cancel" ID BFUCancelButton AT (126 140 30 15) USABLE RIGHTANCHOR FRAME + POPUPTRIGGER "Advanced" ID BFUPartTrigger AT (56 15 55 15) USABLE LEFTANCHOR + LIST "Global" "Network" "Modules" "Tools" "Advanced" ID BFUPartList AT (56 15 60 55) NONUSABLE DISABLED + POPUPLIST ID BFUPartTrigger BFUPartList + LABEL "Set:" ID 8035 AT (9 16) USABLE FONT 1 + CHECKBOX "To card" ID BFUSave2CardBox AT (74 140 47 15) USABLE LEFTANCHOR GROUP 0 + LABEL "CPU Frequency:" ID 8350 AT (9 33) USABLE FONT 1 + LIST "Auto" "133 MHz" "266 MHz" "400 MHz" "None" ID BFUCPUSpeedList AT (90 31 39 55) NONUSABLE DISABLED + POPUPTRIGGER "Auto" ID BFUCPUSpeedTrigger AT (90 31 55 15) USABLE LEFTANCHOR + POPUPLIST ID BFUCPUSpeedTrigger BFUCPUSpeedList + LABEL "RAMdisk size:" ID 8351 AT (9 48) USABLE FONT 1 + FIELD ID BFURAMdiskSizeField AT (90 48 30 15) USABLE LEFTALIGN EDITABLE UNDERLINED SINGLELINE MAXCHARS 6 + CHECKBOX "SD/MMC read-only" ID BFUCardReadonlyBox AT (9 63 96 15) USABLE LEFTANCHOR GROUP 0 + CHECKBOX "Copy modules to RAM" ID BFUCopy2RAMBox AT (9 78 110 15) USABLE LEFTANCHOR GROUP 0 + CHECKBOX "Debug" ID BFUDebugModeBox AT (9 93 42 15) USABLE RIGHTANCHOR GROUP 0 + CHECKBOX "Merge live_changes" ID BFULiveChangesBox AT (9 108 110 15) USABLE RIGHTANCHOR GROUP 0 +END + +// --------------- Resources of type 'tSTR' --------------- +STRING ID 8601 "BFUSettings - Global\n" \ + "(Bootloader for users)\n\n" \ + "This window is dedicated to set source of real root or modules.\n\n" \ + "Source:\n" \ + "Here you can select method.\n" \ + "Possible choices:\n" \ + "\x09- Modules on card - mount modules located on card\n" \ + "\x09- HTTP - get modules from HTTP server and mount them\n" \ + "\x09- NFS - mount NFS share as root\n" \ + "\x09- Card partition - mount card partition as root\n\n" \ + "Address or path:\n" \ + "Here you should enter address of NFS server, path or address of modlist.txt file or path to " \ + "directory on card containing modules.\n\n" \ + "Device:\n" \ + "Here you should specify device which are modules loaded from.\n\n" \ + "OK\n" \ + "Prepare settings to be sent and leave BFUSettings\n\n" \ + "Save\n" \ + "Save preferences for next use.\n\n" \ + "To card\n" \ + "If disabled, preferences are saved just to RAM database. If enabled it will " \ + "replace previously found preferences on card or save it on first volume\n\n" \ + "Cancel\n" \ + "Exit and no BFUSettings will be used.\n\n" \ + "Set:\n" \ + "Switches to other part of settings - network, modules, tools and advanced.\n\n" + +STRING ID 8602 "BFUSettings - Network\n" \ + "(Bootloader for users)\n\n" \ + "This window is dedicated to set network properties.\n\n" \ + "Use network:\n" \ + "Enable or disable network set up during boot. It is required for HTTP or NFS way of boot.\n\n" \ + "OK\n" \ + "Prepare settings to be sent and leave BFUSettings\n\n" \ + "Save\n" \ + "Save preferences for next use.\n\n" \ + "To card\n" \ + "If disabled, preferences are saved just to RAM database. If enabled it will " \ + "replace previously found preferences on card or save it on first volume\n\n" \ + "Cancel\n" \ + "Exit and no BFUSettings will be used.\n\n" \ + "Set:\n" \ + "Switches to other part of settings - global, modules, tools and advanced.\n\n" + +STRING ID 8603 "BFUSettings - Modules\n" \ + "(Bootloader for users)\n\n" \ + "This window is dedicated to select modules to be loaded.\n\n" \ + "For now, only possible is select your modlist*.txt.\n\n" \ + "NOTE: used only if start from Card, if start from WWW create modlist.txt and put in same dir on WWW as modules.\n\n" \ + "OK\n" \ + "Prepare settings to be sent and leave BFUSettings\n\n" \ + "Save\n" \ + "Save preferences for next use.\n\n" \ + "To card\n" \ + "If disabled, preferences are saved just to RAM database. If enabled it will " \ + "replace previously found preferences on card or save it on first volume\n\n" \ + "Cancel\n" \ + "Exit and no BFUSettings will be used.\n\n" \ + "Set:\n" \ + "Switches to other part of settings - global, network, tools and advanced.\n\n" + +STRING ID 8604 "BFUSettings - Tools\n" \ + "(Bootloader for users)\n\n" \ + "This window is dedicated to enable useful things.\n\n" \ + "Silent boot:\n" \ + "This will produce no output during boot.\n\n" \ + "Keyboard:\n" \ + "This enable running external keyboard handling program. Currently Stowaway (PPK) and compatible supported.\n\n" \ + "SmallROM reflash:\n" \ + "This will reflash your SmallROM for suspend/resume support. Read more before enabling that...\n\n" \ + "Run fsck for card:\n" \ + "This will run dosfsck on first partition of card. Usefull for checking errors after bad unmount...\n\n" \ + "OK\n" \ + "Prepare settings to be sent and leave BFUSettings\n\n" \ + "Save\n" \ + "Save preferences for next use.\n\n" \ + "To card\n" \ + "If disabled, preferences are saved just to RAM database. If enabled it will " \ + "replace previously found preferences on card or save it on first volume\n\n" \ + "Cancel\n" \ + "Exit and no BFUSettings will be used.\n\n" \ + "Set:\n" \ + "Switches to other part of settings - global, network, modules and advanced.\n\n" + + +STRING ID 8605 "BFUSettings - Advanced\n" \ + "(Bootloader for users)\n\n" \ + "This window is dedicated to set advanced settings.\n\n" \ + "CPU Frequency:\n" \ + "You can select CPU speed. Less speed means less battery needs.\n\n" \ + "NOTE: some SD card only work with CPU speed 133. Test it if you see many squashfs errors...\n\n" \ + "RAMdisk size:\n" \ + "You can specify MAXIMUM size of RAM will be used for RAMdisk.\n\n" \ + "SD/MMC read-only:\n" \ + "With this option you can mount card as read only (if it is mounted).\n\n" \ + "Copy modules to RAM:\n" \ + "This will copy modules first to RAM, and mount from memory.\n\n" \ + "NOTE: Don't forget set RAMdisk size MINIMAL as total size of all your used modules.\n\n" \ + "Debug:\n" \ + "This option will switch to shell in some important part of initscript.\n" \ + "Usefull for developers.\n" \ + "NOTE: need Stowaway compatible keyboard.\n\n" \ + "OK\n" \ + "Prepare settings to be sent and leave BFUSettings\n\n" \ + "Save\n" \ + "Save preferences for next use.\n\n" \ + "To card\n" \ + "If disabled, preferences are saved just to RAM database. If enabled it will " \ + "replace previously found preferences on card or save it on first volume\n\n" \ + "Cancel\n" \ + "Exit and no BFUSettings will be used.\n\n" \ + "Set:\n" \ + "Switches to other part of settings - global, network, modules and tools.\n\n" Modified: linux4palm/BFUGarux/BFUSettings.Rsrc.h =================================================================== --- linux4palm/BFUGarux/BFUSettings.Rsrc.h 2007-03-25 00:14:46 UTC (rev 933) +++ linux4palm/BFUGarux/BFUSettings.Rsrc.h 2007-03-25 00:37:41 UTC (rev 934) @@ -26,6 +26,7 @@ #define BFUCopy2RAMBox 8403 #define BFUCardReadonlyBox 8404 #define BFUDebugModeBox 8405 +#define BFULiveChangesBox 8406 #define BFUNetForm 8100 //"BFUSettings - Network" #define BFUUseNetBox 8101 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |