⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kernel-options.txt

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 TXT
📖 第 1 页 / 共 3 页
字号:
It doesn't make sense to mention a switch more than once (nodifference to only once), but you can give as many switches as youwant to enable different features. The switch lines are set as earlyas possible during kernel initialization (even before determining thepresent hardware.)  All of the items can also be prefixed with "ov_", i.e. "ov_ikbd","ov_midi", ... These options are meant for switching on an OverScanvideo extension. The difference to the bare option is that theswitch-on is done after video initialization, and somehow synchronizedto the HBLANK. A speciality is that ov_ikbd and ov_midi are switchedoff before rebooting, so that OverScan is disabled and TOS bootscorrectly.  If you give an option both, with and without the "ov_" prefix, theearlier initialization ("ov_"-less) takes precedence. But theswitching-off on reset still happens in this case.4.5) stram_swap=----------------Syntax: stram_swap=<do_swap>[,<max_swap>]  This option is available only if the kernel has been compiled withCONFIG_STRAM_SWAP enabled. Normally, the kernel then determinesdynamically whether to actually use ST-RAM as swap space. (Currently,the fraction of ST-RAM must be less or equal 1/3 of total memory toenable this swapping.) You can override the kernel's decision byspecifying this option. 1 for <do_swap> means always enable the swap,even if you have less alternate RAM. 0 stands for never swap toST-RAM, even if it's small enough compared to the rest of memory.  If ST-RAM swapping is enabled, the kernel usually uses all freeST-RAM as swap "device". If the kernel resides in ST-RAM, the regionallocated by it is obviously never used for swapping :-) You can alsolimit this amount by specifying the second parameter, <max_swap>, ifyou want to use parts of ST-RAM as normal system memory. <max_swap> isin kBytes and the number should be a multiple of 4 (otherwise: roundeddown).5) Options for Amiga Only:==========================5.1) video=-----------Syntax: video=<fbname>:<sub-options...>The <fbname> parameter specifies the name of the frame buffer, validoptions are `amifb', `cyber', 'virge', `retz3' and `clgen', providedthat the respective frame buffer devices have been compiled into thekernel (or compiled as loadable modules). The behavior of the <fbname>option was changed in 2.1.57 so it is now recommended to specify thisoption.The <sub-options> is a comma-separated list of the sub-options listedbelow. This option is organized similar to the Atari version of the"video"-option (4.1), but knows fewer sub-options.5.1.1) video mode-----------------Again, similar to the video mode for the Atari (see 4.1.1). Predefinedmodes depend on the used frame buffer device.OCS, ECS and AGA machines all use the color frame buffer. The followingpredefined video modes are available:NTSC modes: - ntsc            : 640x200, 15 kHz, 60 Hz - ntsc-lace       : 640x400, 15 kHz, 60 Hz interlacedPAL modes: - pal             : 640x256, 15 kHz, 50 Hz - pal-lace        : 640x512, 15 kHz, 50 Hz interlacedECS modes: - multiscan       : 640x480, 29 kHz, 57 Hz - multiscan-lace  : 640x960, 29 kHz, 57 Hz interlaced - euro36          : 640x200, 15 kHz, 72 Hz - euro36-lace     : 640x400, 15 kHz, 72 Hz interlaced - euro72          : 640x400, 29 kHz, 68 Hz - euro72-lace     : 640x800, 29 kHz, 68 Hz interlaced - super72         : 800x300, 23 kHz, 70 Hz - super72-lace    : 800x600, 23 kHz, 70 Hz interlaced - dblntsc-ff      : 640x400, 27 kHz, 57 Hz - dblntsc-lace    : 640x800, 27 kHz, 57 Hz interlaced - dblpal-ff       : 640x512, 27 kHz, 47 Hz - dblpal-lace     : 640x1024, 27 kHz, 47 Hz interlaced - dblntsc         : 640x200, 27 kHz, 57 Hz doublescan - dblpal          : 640x256, 27 kHz, 47 Hz doublescanVGA modes: - vga             : 640x480, 31 kHz, 60 Hz - vga70           : 640x400, 31 kHz, 70 HzPlease notice that the ECS and VGA modes require either an ECS or AGAchipset, and that these modes are limited to 2-bit color for the ECSchipset and 8-bit color for the AGA chipset.5.1.2) depth------------Syntax: depth:<nr. of bit-planes>Specify the number of bit-planes for the selected video-mode.5.1.3) inverse--------------Use inverted display (black on white). Functionally the same as the"inverse" sub-option for the Atari.5.1.4) font-----------Syntax: font:<fontname>Specify the font to use in text modes. Functionally the same as the"font" sub-option for the Atari, except that `PEARL8x8' is used insteadof `VGA8x8' if the vertical size of the display is less than 400 pixelrows.5.1.5) monitorcap:-------------------Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax>This describes the capabilities of a multisync monitor. For now, onlythe color frame buffer uses the settings of "monitorcap:".  <vmin> and <vmax> are the minimum and maximum, resp., vertical frequenciesyour monitor can work with, in Hz. <hmin> and <hmax> are the same forthe horizontal frequency, in kHz.  The defaults are 50;90;15;38 (Generic Amiga multisync monitor).5.2) fd_def_df0=----------------Syntax: fd_def_df0=<value>Sets the df0 value for "silent" floppy drives. The value should be inhexadecimal with "0x" prefix.5.3) wd33c93=-------------Syntax: wd33c93=<sub-options...>These options affect the A590/A2091, A3000 and GVP Series II SCSIcontrollers.The <sub-options> is a comma-separated list of the sub-options listedbelow.5.3.1) nosync-------------Syntax: nosync:bitmask  bitmask is a byte where the 1st 7 bits correspond with the 7possible SCSI devices. Set a bit to prevent sync negotiation on thatdevice. To maintain backwards compatibility, a command-line such as"wd33c93=255" will be automatically translated to"wd33c93=nosync:0xff". The default is to disable sync negotiation forall devices, eg. nosync:0xff.5.3.2) period-------------Syntax: period:ns  `ns' is the minimum # of nanoseconds in a SCSI data transferperiod. Default is 500; acceptable values are 250 - 1000.5.3.3) disconnect-----------------Syntax: disconnect:x  Specify x = 0 to never allow disconnects, 2 to always allow them.x = 1 does 'adaptive' disconnects, which is the default and generallythe best choice.5.3.4) debug------------Syntax: debug:x  If `DEBUGGING_ON' is defined, x is a bit mask that causes varioustypes of debug output to printed - see the DB_xxx defines inwd33c93.h.5.3.5) clock------------Syntax: clock:x  x = clock input in MHz for WD33c93 chip. Normal values would be from8 through 20. The default value depends on your hostadapter(s),default for the A3000 internal controller is 14, for the A2091 it's 8and for the GVP hostadapters it's either 8 or 14, depending on thehostadapter and the SCSI-clock jumper present on some GVPhostadapters.5.3.6) next-----------  No argument. Used to separate blocks of keywords when there's morethan one wd33c93-based host adapter in the system.5.3.7) nodma------------Syntax: nodma:x  If x is 1 (or if the option is just written as "nodma"), the WD33c93controller will not use DMA (= direct memory access) to access theAmiga's memory.  This is useful for some systems (like A3000's andA4000's with the A3640 accelerator, revision 3.0) that have problemsusing DMA to chip memory.  The default is 0, i.e. to use DMA ifpossible.5.4) gvp11=-----------Syntax: gvp11=<addr-mask>  The earlier versions of the GVP driver did not handle DMAaddress-mask settings correctly which made it necessary for somepeople to use this option, in order to get their GVP controllerrunning under Linux. These problems have hopefully been solved and theuse of this option is now highly unrecommended!  Incorrect use can lead to unpredictable behavior, so please only usethis option if you *know* what you are doing and have a reason to doso. In any case if you experience problems and need to use thisoption, please inform us about it by mailing to the Linux/68k kernelmailing list.  The address mask set by this option specifies which addresses arevalid for DMA with the GVP Series II SCSI controller. An address isvalid, if no bits are set except the bits that are set in the mask,too.  Some versions of the GVP can only DMA into a 24 bit address range,some can address a 25 bit address range while others can use the whole32 bit address range for DMA. The correct setting depends on yourcontroller and should be autodetected by the driver. An example is the24 bit region which is specified by a mask of 0x00fffffe.5.5) 53c7xx=------------Syntax: 53c7xx=<sub-options...>These options affect the A4000T, A4091, WarpEngine, Blizzard 603e+,and GForce 040/060 SCSI controllers on the Amiga, as well as thebuiltin MVME 16x SCSI controller.The <sub-options> is a comma-separated list of the sub-options listedbelow.5.5.1) nosync-------------Syntax: nosync:0  Disables sync negotiation for all devices.  Any value after the  colon is acceptable (and has the same effect).5.5.2) noasync--------------Syntax: noasync:0  Disables async and sync negotiation for all devices.  Any value  after the colon is acceptable (and has the same effect).5.5.3) nodisconnect-------------------Syntax: nodisconnect:0  Disables SCSI disconnects.  Any value after the colon is acceptable  (and has the same effect).5.5.4) validids---------------Syntax: validids:0xNN  Specify which SCSI ids the driver should pay attention to.  This is  a bitmask (i.e. to only pay attention to ID#4, you'd use 0x10).  Default is 0x7f (devices 0-6).5.5.5) opthi5.5.6) optlo------------Syntax: opthi:M,optlo:N  Specify options for "hostdata->options".  The acceptable definitions  are listed in drivers/scsi/53c7xx.h; the 32 high bits should be in  opthi and the 32 low bits in optlo.  They must be specified in the  order opthi=M,optlo=N.5.5.7) next-----------  No argument. Used to separate blocks of keywords when there's more  than one 53c7xx host adapter in the system./* Local Variables: *//* mode: text       *//* End:             */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -