18c2ecf20Sopenharmony_ci=================================== 28c2ecf20Sopenharmony_ciCommand Line Options for Linux/m68k 38c2ecf20Sopenharmony_ci=================================== 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciLast Update: 2 May 1999 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciLinux/m68k version: 2.2.6 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciAuthor: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek) 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciUpdate: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence) 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci0) Introduction 148c2ecf20Sopenharmony_ci=============== 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciOften I've been asked which command line options the Linux/m68k 178c2ecf20Sopenharmony_cikernel understands, or how the exact syntax for the ... option is, or 188c2ecf20Sopenharmony_ci... about the option ... . I hope, this document supplies all the 198c2ecf20Sopenharmony_cianswers... 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciNote that some options might be outdated, their descriptions being 228c2ecf20Sopenharmony_ciincomplete or missing. Please update the information and send in the 238c2ecf20Sopenharmony_cipatches. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci1) Overview of the Kernel's Option Processing 278c2ecf20Sopenharmony_ci============================================= 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciThe kernel knows three kinds of options on its command line: 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci 1) kernel options 328c2ecf20Sopenharmony_ci 2) environment settings 338c2ecf20Sopenharmony_ci 3) arguments for init 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciTo which of these classes an argument belongs is determined as 368c2ecf20Sopenharmony_cifollows: If the option is known to the kernel itself, i.e. if the name 378c2ecf20Sopenharmony_ci(the part before the '=') or, in some cases, the whole argument string 388c2ecf20Sopenharmony_ciis known to the kernel, it belongs to class 1. Otherwise, if the 398c2ecf20Sopenharmony_ciargument contains an '=', it is of class 2, and the definition is put 408c2ecf20Sopenharmony_ciinto init's environment. All other arguments are passed to init as 418c2ecf20Sopenharmony_cicommand line options. 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciThis document describes the valid kernel options for Linux/m68k in 448c2ecf20Sopenharmony_cithe version mentioned at the start of this file. Later revisions may 458c2ecf20Sopenharmony_ciadd new such options, and some may be missing in older versions. 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ciIn general, the value (the part after the '=') of an option is a 488c2ecf20Sopenharmony_cilist of values separated by commas. The interpretation of these values 498c2ecf20Sopenharmony_ciis up to the driver that "owns" the option. This association of 508c2ecf20Sopenharmony_cioptions with drivers is also the reason that some are further 518c2ecf20Sopenharmony_cisubdivided. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci2) General Kernel Options 558c2ecf20Sopenharmony_ci========================= 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci2.1) root= 588c2ecf20Sopenharmony_ci---------- 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci:Syntax: root=/dev/<device> 618c2ecf20Sopenharmony_ci:or: root=<hex_number> 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ciThis tells the kernel which device it should mount as the root 648c2ecf20Sopenharmony_cifilesystem. The device must be a block device with a valid filesystem 658c2ecf20Sopenharmony_cion it. 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ciThe first syntax gives the device by name. These names are converted 688c2ecf20Sopenharmony_ciinto a major/minor number internally in the kernel in an unusual way. 698c2ecf20Sopenharmony_ciNormally, this "conversion" is done by the device files in /dev, but 708c2ecf20Sopenharmony_cithis isn't possible here, because the root filesystem (with /dev) 718c2ecf20Sopenharmony_ciisn't mounted yet... So the kernel parses the name itself, with some 728c2ecf20Sopenharmony_cihardcoded name to number mappings. The name must always be a 738c2ecf20Sopenharmony_cicombination of two or three letters, followed by a decimal number. 748c2ecf20Sopenharmony_ciValid names are:: 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci /dev/ram: -> 0x0100 (initial ramdisk) 778c2ecf20Sopenharmony_ci /dev/hda: -> 0x0300 (first IDE disk) 788c2ecf20Sopenharmony_ci /dev/hdb: -> 0x0340 (second IDE disk) 798c2ecf20Sopenharmony_ci /dev/sda: -> 0x0800 (first SCSI disk) 808c2ecf20Sopenharmony_ci /dev/sdb: -> 0x0810 (second SCSI disk) 818c2ecf20Sopenharmony_ci /dev/sdc: -> 0x0820 (third SCSI disk) 828c2ecf20Sopenharmony_ci /dev/sdd: -> 0x0830 (forth SCSI disk) 838c2ecf20Sopenharmony_ci /dev/sde: -> 0x0840 (fifth SCSI disk) 848c2ecf20Sopenharmony_ci /dev/fd : -> 0x0200 (floppy disk) 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ciThe name must be followed by a decimal number, that stands for the 878c2ecf20Sopenharmony_cipartition number. Internally, the value of the number is just 888c2ecf20Sopenharmony_ciadded to the device number mentioned in the table above. The 898c2ecf20Sopenharmony_ciexceptions are /dev/ram and /dev/fd, where /dev/ram refers to an 908c2ecf20Sopenharmony_ciinitial ramdisk loaded by your bootstrap program (please consult the 918c2ecf20Sopenharmony_ciinstructions for your bootstrap program to find out how to load an 928c2ecf20Sopenharmony_ciinitial ramdisk). As of kernel version 2.0.18 you must specify 938c2ecf20Sopenharmony_ci/dev/ram as the root device if you want to boot from an initial 948c2ecf20Sopenharmony_ciramdisk. For the floppy devices, /dev/fd, the number stands for the 958c2ecf20Sopenharmony_cifloppy drive number (there are no partitions on floppy disks). I.e., 968c2ecf20Sopenharmony_ci/dev/fd0 stands for the first drive, /dev/fd1 for the second, and so 978c2ecf20Sopenharmony_cion. Since the number is just added, you can also force the disk format 988c2ecf20Sopenharmony_ciby adding a number greater than 3. If you look into your /dev 998c2ecf20Sopenharmony_cidirectory, use can see the /dev/fd0D720 has major 2 and minor 16. You 1008c2ecf20Sopenharmony_cican specify this device for the root FS by writing "root=/dev/fd16" on 1018c2ecf20Sopenharmony_cithe kernel command line. 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci[Strange and maybe uninteresting stuff ON] 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ciThis unusual translation of device names has some strange 1068c2ecf20Sopenharmony_ciconsequences: If, for example, you have a symbolic link from /dev/fd 1078c2ecf20Sopenharmony_cito /dev/fd0D720 as an abbreviation for floppy driver #0 in DD format, 1088c2ecf20Sopenharmony_ciyou cannot use this name for specifying the root device, because the 1098c2ecf20Sopenharmony_cikernel cannot see this symlink before mounting the root FS and it 1108c2ecf20Sopenharmony_ciisn't in the table above. If you use it, the root device will not be 1118c2ecf20Sopenharmony_ciset at all, without an error message. Another example: You cannot use a 1128c2ecf20Sopenharmony_cipartition on e.g. the sixth SCSI disk as the root filesystem, if you 1138c2ecf20Sopenharmony_ciwant to specify it by name. This is, because only the devices up to 1148c2ecf20Sopenharmony_ci/dev/sde are in the table above, but not /dev/sdf. Although, you can 1158c2ecf20Sopenharmony_ciuse the sixth SCSI disk for the root FS, but you have to specify the 1168c2ecf20Sopenharmony_cidevice by number... (see below). Or, even more strange, you can use the 1178c2ecf20Sopenharmony_cifact that there is no range checking of the partition number, and your 1188c2ecf20Sopenharmony_ciknowledge that each disk uses 16 minors, and write "root=/dev/sde17" 1198c2ecf20Sopenharmony_ci(for /dev/sdf1). 1208c2ecf20Sopenharmony_ci 1218c2ecf20Sopenharmony_ci[Strange and maybe uninteresting stuff OFF] 1228c2ecf20Sopenharmony_ci 1238c2ecf20Sopenharmony_ciIf the device containing your root partition isn't in the table 1248c2ecf20Sopenharmony_ciabove, you can also specify it by major and minor numbers. These are 1258c2ecf20Sopenharmony_ciwritten in hex, with no prefix and no separator between. E.g., if you 1268c2ecf20Sopenharmony_cihave a CD with contents appropriate as a root filesystem in the first 1278c2ecf20Sopenharmony_ciSCSI CD-ROM drive, you boot from it by "root=0b00". Here, hex "0b" = 1288c2ecf20Sopenharmony_cidecimal 11 is the major of SCSI CD-ROMs, and the minor 0 stands for 1298c2ecf20Sopenharmony_cithe first of these. You can find out all valid major numbers by 1308c2ecf20Sopenharmony_cilooking into include/linux/major.h. 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ciIn addition to major and minor numbers, if the device containing your 1338c2ecf20Sopenharmony_ciroot partition uses a partition table format with unique partition 1348c2ecf20Sopenharmony_ciidentifiers, then you may use them. For instance, 1358c2ecf20Sopenharmony_ci"root=PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF". It is also 1368c2ecf20Sopenharmony_cipossible to reference another partition on the same device using a 1378c2ecf20Sopenharmony_ciknown partition UUID as the starting point. For example, 1388c2ecf20Sopenharmony_ciif partition 5 of the device has the UUID of 1398c2ecf20Sopenharmony_ci00112233-4455-6677-8899-AABBCCDDEEFF then partition 3 may be found as 1408c2ecf20Sopenharmony_cifollows: 1418c2ecf20Sopenharmony_ci 1428c2ecf20Sopenharmony_ci PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF/PARTNROFF=-2 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_ciAuthoritative information can be found in 1458c2ecf20Sopenharmony_ci"Documentation/admin-guide/kernel-parameters.rst". 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ci 1488c2ecf20Sopenharmony_ci2.2) ro, rw 1498c2ecf20Sopenharmony_ci----------- 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ci:Syntax: ro 1528c2ecf20Sopenharmony_ci:or: rw 1538c2ecf20Sopenharmony_ci 1548c2ecf20Sopenharmony_ciThese two options tell the kernel whether it should mount the root 1558c2ecf20Sopenharmony_cifilesystem read-only or read-write. The default is read-only, except 1568c2ecf20Sopenharmony_cifor ramdisks, which default to read-write. 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_ci 1598c2ecf20Sopenharmony_ci2.3) debug 1608c2ecf20Sopenharmony_ci---------- 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_ci:Syntax: debug 1638c2ecf20Sopenharmony_ci 1648c2ecf20Sopenharmony_ciThis raises the kernel log level to 10 (the default is 7). This is the 1658c2ecf20Sopenharmony_cisame level as set by the "dmesg" command, just that the maximum level 1668c2ecf20Sopenharmony_ciselectable by dmesg is 8. 1678c2ecf20Sopenharmony_ci 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci2.4) debug= 1708c2ecf20Sopenharmony_ci----------- 1718c2ecf20Sopenharmony_ci 1728c2ecf20Sopenharmony_ci:Syntax: debug=<device> 1738c2ecf20Sopenharmony_ci 1748c2ecf20Sopenharmony_ciThis option causes certain kernel messages be printed to the selected 1758c2ecf20Sopenharmony_cidebugging device. This can aid debugging the kernel, since the 1768c2ecf20Sopenharmony_cimessages can be captured and analyzed on some other machine. Which 1778c2ecf20Sopenharmony_cidevices are possible depends on the machine type. There are no checks 1788c2ecf20Sopenharmony_cifor the validity of the device name. If the device isn't implemented, 1798c2ecf20Sopenharmony_cinothing happens. 1808c2ecf20Sopenharmony_ci 1818c2ecf20Sopenharmony_ciMessages logged this way are in general stack dumps after kernel 1828c2ecf20Sopenharmony_cimemory faults or bad kernel traps, and kernel panics. To be exact: all 1838c2ecf20Sopenharmony_cimessages of level 0 (panic messages) and all messages printed while 1848c2ecf20Sopenharmony_cithe log level is 8 or more (their level doesn't matter). Before stack 1858c2ecf20Sopenharmony_cidumps, the kernel sets the log level to 10 automatically. A level of 1868c2ecf20Sopenharmony_ciat least 8 can also be set by the "debug" command line option (see 1878c2ecf20Sopenharmony_ci2.3) and at run time with "dmesg -n 8". 1888c2ecf20Sopenharmony_ci 1898c2ecf20Sopenharmony_ciDevices possible for Amiga: 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ci - "ser": 1928c2ecf20Sopenharmony_ci built-in serial port; parameters: 9600bps, 8N1 1938c2ecf20Sopenharmony_ci - "mem": 1948c2ecf20Sopenharmony_ci Save the messages to a reserved area in chip mem. After 1958c2ecf20Sopenharmony_ci rebooting, they can be read under AmigaOS with the tool 1968c2ecf20Sopenharmony_ci 'dmesg'. 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ciDevices possible for Atari: 1998c2ecf20Sopenharmony_ci 2008c2ecf20Sopenharmony_ci - "ser1": 2018c2ecf20Sopenharmony_ci ST-MFP serial port ("Modem1"); parameters: 9600bps, 8N1 2028c2ecf20Sopenharmony_ci - "ser2": 2038c2ecf20Sopenharmony_ci SCC channel B serial port ("Modem2"); parameters: 9600bps, 8N1 2048c2ecf20Sopenharmony_ci - "ser" : 2058c2ecf20Sopenharmony_ci default serial port 2068c2ecf20Sopenharmony_ci This is "ser2" for a Falcon, and "ser1" for any other machine 2078c2ecf20Sopenharmony_ci - "midi": 2088c2ecf20Sopenharmony_ci The MIDI port; parameters: 31250bps, 8N1 2098c2ecf20Sopenharmony_ci - "par" : 2108c2ecf20Sopenharmony_ci parallel port 2118c2ecf20Sopenharmony_ci 2128c2ecf20Sopenharmony_ci The printing routine for this implements a timeout for the 2138c2ecf20Sopenharmony_ci case there's no printer connected (else the kernel would 2148c2ecf20Sopenharmony_ci lock up). The timeout is not exact, but usually a few 2158c2ecf20Sopenharmony_ci seconds. 2168c2ecf20Sopenharmony_ci 2178c2ecf20Sopenharmony_ci 2188c2ecf20Sopenharmony_ci2.6) ramdisk_size= 2198c2ecf20Sopenharmony_ci------------------ 2208c2ecf20Sopenharmony_ci 2218c2ecf20Sopenharmony_ci:Syntax: ramdisk_size=<size> 2228c2ecf20Sopenharmony_ci 2238c2ecf20Sopenharmony_ciThis option instructs the kernel to set up a ramdisk of the given 2248c2ecf20Sopenharmony_cisize in KBytes. Do not use this option if the ramdisk contents are 2258c2ecf20Sopenharmony_cipassed by bootstrap! In this case, the size is selected automatically 2268c2ecf20Sopenharmony_ciand should not be overwritten. 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ciThe only application is for root filesystems on floppy disks, that 2298c2ecf20Sopenharmony_cishould be loaded into memory. To do that, select the corresponding 2308c2ecf20Sopenharmony_cisize of the disk as ramdisk size, and set the root device to the disk 2318c2ecf20Sopenharmony_cidrive (with "root="). 2328c2ecf20Sopenharmony_ci 2338c2ecf20Sopenharmony_ci 2348c2ecf20Sopenharmony_ci2.7) swap= 2358c2ecf20Sopenharmony_ci 2368c2ecf20Sopenharmony_ci I can't find any sign of this option in 2.2.6. 2378c2ecf20Sopenharmony_ci 2388c2ecf20Sopenharmony_ci2.8) buff= 2398c2ecf20Sopenharmony_ci----------- 2408c2ecf20Sopenharmony_ci 2418c2ecf20Sopenharmony_ci I can't find any sign of this option in 2.2.6. 2428c2ecf20Sopenharmony_ci 2438c2ecf20Sopenharmony_ci 2448c2ecf20Sopenharmony_ci3) General Device Options (Amiga and Atari) 2458c2ecf20Sopenharmony_ci=========================================== 2468c2ecf20Sopenharmony_ci 2478c2ecf20Sopenharmony_ci3.1) ether= 2488c2ecf20Sopenharmony_ci----------- 2498c2ecf20Sopenharmony_ci 2508c2ecf20Sopenharmony_ci:Syntax: ether=[<irq>[,<base_addr>[,<mem_start>[,<mem_end>]]]],<dev-name> 2518c2ecf20Sopenharmony_ci 2528c2ecf20Sopenharmony_ci<dev-name> is the name of a net driver, as specified in 2538c2ecf20Sopenharmony_cidrivers/net/Space.c in the Linux source. Most prominent are eth0, ... 2548c2ecf20Sopenharmony_cieth3, sl0, ... sl3, ppp0, ..., ppp3, dummy, and lo. 2558c2ecf20Sopenharmony_ci 2568c2ecf20Sopenharmony_ciThe non-ethernet drivers (sl, ppp, dummy, lo) obviously ignore the 2578c2ecf20Sopenharmony_cisettings by this options. Also, the existing ethernet drivers for 2588c2ecf20Sopenharmony_ciLinux/m68k (ariadne, a2065, hydra) don't use them because Zorro boards 2598c2ecf20Sopenharmony_ciare really Plug-'n-Play, so the "ether=" option is useless altogether 2608c2ecf20Sopenharmony_cifor Linux/m68k. 2618c2ecf20Sopenharmony_ci 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ci3.2) hd= 2648c2ecf20Sopenharmony_ci-------- 2658c2ecf20Sopenharmony_ci 2668c2ecf20Sopenharmony_ci:Syntax: hd=<cylinders>,<heads>,<sectors> 2678c2ecf20Sopenharmony_ci 2688c2ecf20Sopenharmony_ciThis option sets the disk geometry of an IDE disk. The first hd= 2698c2ecf20Sopenharmony_cioption is for the first IDE disk, the second for the second one. 2708c2ecf20Sopenharmony_ci(I.e., you can give this option twice.) In most cases, you won't have 2718c2ecf20Sopenharmony_cito use this option, since the kernel can obtain the geometry data 2728c2ecf20Sopenharmony_ciitself. It exists just for the case that this fails for one of your 2738c2ecf20Sopenharmony_cidisks. 2748c2ecf20Sopenharmony_ci 2758c2ecf20Sopenharmony_ci 2768c2ecf20Sopenharmony_ci3.3) max_scsi_luns= 2778c2ecf20Sopenharmony_ci------------------- 2788c2ecf20Sopenharmony_ci 2798c2ecf20Sopenharmony_ci:Syntax: max_scsi_luns=<n> 2808c2ecf20Sopenharmony_ci 2818c2ecf20Sopenharmony_ciSets the maximum number of LUNs (logical units) of SCSI devices to 2828c2ecf20Sopenharmony_cibe scanned. Valid values for <n> are between 1 and 8. Default is 8 if 2838c2ecf20Sopenharmony_ci"Probe all LUNs on each SCSI device" was selected during the kernel 2848c2ecf20Sopenharmony_ciconfiguration, else 1. 2858c2ecf20Sopenharmony_ci 2868c2ecf20Sopenharmony_ci 2878c2ecf20Sopenharmony_ci3.4) st= 2888c2ecf20Sopenharmony_ci-------- 2898c2ecf20Sopenharmony_ci 2908c2ecf20Sopenharmony_ci:Syntax: st=<buffer_size>,[<write_thres>,[<max_buffers>]] 2918c2ecf20Sopenharmony_ci 2928c2ecf20Sopenharmony_ciSets several parameters of the SCSI tape driver. <buffer_size> is 2938c2ecf20Sopenharmony_cithe number of 512-byte buffers reserved for tape operations for each 2948c2ecf20Sopenharmony_cidevice. <write_thres> sets the number of blocks which must be filled 2958c2ecf20Sopenharmony_cito start an actual write operation to the tape. Maximum value is the 2968c2ecf20Sopenharmony_citotal number of buffers. <max_buffer> limits the total number of 2978c2ecf20Sopenharmony_cibuffers allocated for all tape devices. 2988c2ecf20Sopenharmony_ci 2998c2ecf20Sopenharmony_ci 3008c2ecf20Sopenharmony_ci3.5) dmasound= 3018c2ecf20Sopenharmony_ci-------------- 3028c2ecf20Sopenharmony_ci 3038c2ecf20Sopenharmony_ci:Syntax: dmasound=[<buffers>,<buffer-size>[,<catch-radius>]] 3048c2ecf20Sopenharmony_ci 3058c2ecf20Sopenharmony_ciThis option controls some configurations of the Linux/m68k DMA sound 3068c2ecf20Sopenharmony_cidriver (Amiga and Atari): <buffers> is the number of buffers you want 3078c2ecf20Sopenharmony_cito use (minimum 4, default 4), <buffer-size> is the size of each 3088c2ecf20Sopenharmony_cibuffer in kilobytes (minimum 4, default 32) and <catch-radius> says 3098c2ecf20Sopenharmony_cihow much percent of error will be tolerated when setting a frequency 3108c2ecf20Sopenharmony_ci(maximum 10, default 0). For example with 3% you can play 8000Hz 3118c2ecf20Sopenharmony_ciAU-Files on the Falcon with its hardware frequency of 8195Hz and thus 3128c2ecf20Sopenharmony_cidon't need to expand the sound. 3138c2ecf20Sopenharmony_ci 3148c2ecf20Sopenharmony_ci 3158c2ecf20Sopenharmony_ci 3168c2ecf20Sopenharmony_ci4) Options for Atari Only 3178c2ecf20Sopenharmony_ci========================= 3188c2ecf20Sopenharmony_ci 3198c2ecf20Sopenharmony_ci4.1) video= 3208c2ecf20Sopenharmony_ci----------- 3218c2ecf20Sopenharmony_ci 3228c2ecf20Sopenharmony_ci:Syntax: video=<fbname>:<sub-options...> 3238c2ecf20Sopenharmony_ci 3248c2ecf20Sopenharmony_ciThe <fbname> parameter specifies the name of the frame buffer, 3258c2ecf20Sopenharmony_cieg. most atari users will want to specify `atafb` here. The 3268c2ecf20Sopenharmony_ci<sub-options> is a comma-separated list of the sub-options listed 3278c2ecf20Sopenharmony_cibelow. 3288c2ecf20Sopenharmony_ci 3298c2ecf20Sopenharmony_ciNB: 3308c2ecf20Sopenharmony_ci Please notice that this option was renamed from `atavideo` to 3318c2ecf20Sopenharmony_ci `video` during the development of the 1.3.x kernels, thus you 3328c2ecf20Sopenharmony_ci might need to update your boot-scripts if upgrading to 2.x from 3338c2ecf20Sopenharmony_ci an 1.2.x kernel. 3348c2ecf20Sopenharmony_ci 3358c2ecf20Sopenharmony_ciNBB: 3368c2ecf20Sopenharmony_ci The behavior of video= was changed in 2.1.57 so the recommended 3378c2ecf20Sopenharmony_ci option is to specify the name of the frame buffer. 3388c2ecf20Sopenharmony_ci 3398c2ecf20Sopenharmony_ci4.1.1) Video Mode 3408c2ecf20Sopenharmony_ci----------------- 3418c2ecf20Sopenharmony_ci 3428c2ecf20Sopenharmony_ciThis sub-option may be any of the predefined video modes, as listed 3438c2ecf20Sopenharmony_ciin atari/atafb.c in the Linux/m68k source tree. The kernel will 3448c2ecf20Sopenharmony_ciactivate the given video mode at boot time and make it the default 3458c2ecf20Sopenharmony_cimode, if the hardware allows. Currently defined names are: 3468c2ecf20Sopenharmony_ci 3478c2ecf20Sopenharmony_ci - stlow : 320x200x4 3488c2ecf20Sopenharmony_ci - stmid, default5 : 640x200x2 3498c2ecf20Sopenharmony_ci - sthigh, default4: 640x400x1 3508c2ecf20Sopenharmony_ci - ttlow : 320x480x8, TT only 3518c2ecf20Sopenharmony_ci - ttmid, default1 : 640x480x4, TT only 3528c2ecf20Sopenharmony_ci - tthigh, default2: 1280x960x1, TT only 3538c2ecf20Sopenharmony_ci - vga2 : 640x480x1, Falcon only 3548c2ecf20Sopenharmony_ci - vga4 : 640x480x2, Falcon only 3558c2ecf20Sopenharmony_ci - vga16, default3 : 640x480x4, Falcon only 3568c2ecf20Sopenharmony_ci - vga256 : 640x480x8, Falcon only 3578c2ecf20Sopenharmony_ci - falh2 : 896x608x1, Falcon only 3588c2ecf20Sopenharmony_ci - falh16 : 896x608x4, Falcon only 3598c2ecf20Sopenharmony_ci 3608c2ecf20Sopenharmony_ciIf no video mode is given on the command line, the kernel tries the 3618c2ecf20Sopenharmony_cimodes names "default<n>" in turn, until one is possible with the 3628c2ecf20Sopenharmony_cihardware in use. 3638c2ecf20Sopenharmony_ci 3648c2ecf20Sopenharmony_ciA video mode setting doesn't make sense, if the external driver is 3658c2ecf20Sopenharmony_ciactivated by a "external:" sub-option. 3668c2ecf20Sopenharmony_ci 3678c2ecf20Sopenharmony_ci4.1.2) inverse 3688c2ecf20Sopenharmony_ci-------------- 3698c2ecf20Sopenharmony_ci 3708c2ecf20Sopenharmony_ciInvert the display. This affects both, text (consoles) and graphics 3718c2ecf20Sopenharmony_ci(X) display. Usually, the background is chosen to be black. With this 3728c2ecf20Sopenharmony_cioption, you can make the background white. 3738c2ecf20Sopenharmony_ci 3748c2ecf20Sopenharmony_ci4.1.3) font 3758c2ecf20Sopenharmony_ci----------- 3768c2ecf20Sopenharmony_ci 3778c2ecf20Sopenharmony_ci:Syntax: font:<fontname> 3788c2ecf20Sopenharmony_ci 3798c2ecf20Sopenharmony_ciSpecify the font to use in text modes. Currently you can choose only 3808c2ecf20Sopenharmony_cibetween `VGA8x8`, `VGA8x16` and `PEARL8x8`. `VGA8x8` is default, if the 3818c2ecf20Sopenharmony_civertical size of the display is less than 400 pixel rows. Otherwise, the 3828c2ecf20Sopenharmony_ci`VGA8x16` font is the default. 3838c2ecf20Sopenharmony_ci 3848c2ecf20Sopenharmony_ci4.1.4) `hwscroll_` 3858c2ecf20Sopenharmony_ci------------------ 3868c2ecf20Sopenharmony_ci 3878c2ecf20Sopenharmony_ci:Syntax: `hwscroll_<n>` 3888c2ecf20Sopenharmony_ci 3898c2ecf20Sopenharmony_ciThe number of additional lines of video memory to reserve for 3908c2ecf20Sopenharmony_cispeeding up the scrolling ("hardware scrolling"). Hardware scrolling 3918c2ecf20Sopenharmony_ciis possible only if the kernel can set the video base address in steps 3928c2ecf20Sopenharmony_cifine enough. This is true for STE, MegaSTE, TT, and Falcon. It is not 3938c2ecf20Sopenharmony_cipossible with plain STs and graphics cards (The former because the 3948c2ecf20Sopenharmony_cibase address must be on a 256 byte boundary there, the latter because 3958c2ecf20Sopenharmony_cithe kernel doesn't know how to set the base address at all.) 3968c2ecf20Sopenharmony_ci 3978c2ecf20Sopenharmony_ciBy default, <n> is set to the number of visible text lines on the 3988c2ecf20Sopenharmony_cidisplay. Thus, the amount of video memory is doubled, compared to no 3998c2ecf20Sopenharmony_cihardware scrolling. You can turn off the hardware scrolling altogether 4008c2ecf20Sopenharmony_ciby setting <n> to 0. 4018c2ecf20Sopenharmony_ci 4028c2ecf20Sopenharmony_ci4.1.5) internal: 4038c2ecf20Sopenharmony_ci---------------- 4048c2ecf20Sopenharmony_ci 4058c2ecf20Sopenharmony_ci:Syntax: internal:<xres>;<yres>[;<xres_max>;<yres_max>;<offset>] 4068c2ecf20Sopenharmony_ci 4078c2ecf20Sopenharmony_ciThis option specifies the capabilities of some extended internal video 4088c2ecf20Sopenharmony_cihardware, like e.g. OverScan. <xres> and <yres> give the (extended) 4098c2ecf20Sopenharmony_cidimensions of the screen. 4108c2ecf20Sopenharmony_ci 4118c2ecf20Sopenharmony_ciIf your OverScan needs a black border, you have to write the last 4128c2ecf20Sopenharmony_cithree arguments of the "internal:". <xres_max> is the maximum line 4138c2ecf20Sopenharmony_cilength the hardware allows, <yres_max> the maximum number of lines. 4148c2ecf20Sopenharmony_ci<offset> is the offset of the visible part of the screen memory to its 4158c2ecf20Sopenharmony_ciphysical start, in bytes. 4168c2ecf20Sopenharmony_ci 4178c2ecf20Sopenharmony_ciOften, extended interval video hardware has to be activated somehow. 4188c2ecf20Sopenharmony_ciFor this, see the "sw_*" options below. 4198c2ecf20Sopenharmony_ci 4208c2ecf20Sopenharmony_ci4.1.6) external: 4218c2ecf20Sopenharmony_ci---------------- 4228c2ecf20Sopenharmony_ci 4238c2ecf20Sopenharmony_ci:Syntax: 4248c2ecf20Sopenharmony_ci external:<xres>;<yres>;<depth>;<org>;<scrmem>[;<scrlen>[;<vgabase> 4258c2ecf20Sopenharmony_ci [;<colw>[;<coltype>[;<xres_virtual>]]]]] 4268c2ecf20Sopenharmony_ci 4278c2ecf20Sopenharmony_ci.. I had to break this line... 4288c2ecf20Sopenharmony_ci 4298c2ecf20Sopenharmony_ciThis is probably the most complicated parameter... It specifies that 4308c2ecf20Sopenharmony_ciyou have some external video hardware (a graphics board), and how to 4318c2ecf20Sopenharmony_ciuse it under Linux/m68k. The kernel cannot know more about the hardware 4328c2ecf20Sopenharmony_cithan you tell it here! The kernel also is unable to set or change any 4338c2ecf20Sopenharmony_civideo modes, since it doesn't know about any board internal. So, you 4348c2ecf20Sopenharmony_cihave to switch to that video mode before you start Linux, and cannot 4358c2ecf20Sopenharmony_ciswitch to another mode once Linux has started. 4368c2ecf20Sopenharmony_ci 4378c2ecf20Sopenharmony_ciThe first 3 parameters of this sub-option should be obvious: <xres>, 4388c2ecf20Sopenharmony_ci<yres> and <depth> give the dimensions of the screen and the number of 4398c2ecf20Sopenharmony_ciplanes (depth). The depth is the logarithm to base 2 of the number 4408c2ecf20Sopenharmony_ciof colors possible. (Or, the other way round: The number of colors is 4418c2ecf20Sopenharmony_ci2^depth). 4428c2ecf20Sopenharmony_ci 4438c2ecf20Sopenharmony_ciYou have to tell the kernel furthermore how the video memory is 4448c2ecf20Sopenharmony_ciorganized. This is done by a letter as <org> parameter: 4458c2ecf20Sopenharmony_ci 4468c2ecf20Sopenharmony_ci 'n': 4478c2ecf20Sopenharmony_ci "normal planes", i.e. one whole plane after another 4488c2ecf20Sopenharmony_ci 'i': 4498c2ecf20Sopenharmony_ci "interleaved planes", i.e. 16 bit of the first plane, than 16 bit 4508c2ecf20Sopenharmony_ci of the next, and so on... This mode is used only with the 4518c2ecf20Sopenharmony_ci built-in Atari video modes, I think there is no card that 4528c2ecf20Sopenharmony_ci supports this mode. 4538c2ecf20Sopenharmony_ci 'p': 4548c2ecf20Sopenharmony_ci "packed pixels", i.e. <depth> consecutive bits stand for all 4558c2ecf20Sopenharmony_ci planes of one pixel; this is the most common mode for 8 planes 4568c2ecf20Sopenharmony_ci (256 colors) on graphic cards 4578c2ecf20Sopenharmony_ci 't': 4588c2ecf20Sopenharmony_ci "true color" (more or less packed pixels, but without a color 4598c2ecf20Sopenharmony_ci lookup table); usually depth is 24 4608c2ecf20Sopenharmony_ci 4618c2ecf20Sopenharmony_ciFor monochrome modes (i.e., <depth> is 1), the <org> letter has a 4628c2ecf20Sopenharmony_cidifferent meaning: 4638c2ecf20Sopenharmony_ci 4648c2ecf20Sopenharmony_ci 'n': 4658c2ecf20Sopenharmony_ci normal colors, i.e. 0=white, 1=black 4668c2ecf20Sopenharmony_ci 'i': 4678c2ecf20Sopenharmony_ci inverted colors, i.e. 0=black, 1=white 4688c2ecf20Sopenharmony_ci 4698c2ecf20Sopenharmony_ciThe next important information about the video hardware is the base 4708c2ecf20Sopenharmony_ciaddress of the video memory. That is given in the <scrmem> parameter, 4718c2ecf20Sopenharmony_cias a hexadecimal number with a "0x" prefix. You have to find out this 4728c2ecf20Sopenharmony_ciaddress in the documentation of your hardware. 4738c2ecf20Sopenharmony_ci 4748c2ecf20Sopenharmony_ciThe next parameter, <scrlen>, tells the kernel about the size of the 4758c2ecf20Sopenharmony_civideo memory. If it's missing, the size is calculated from <xres>, 4768c2ecf20Sopenharmony_ci<yres>, and <depth>. For now, it is not useful to write a value here. 4778c2ecf20Sopenharmony_ciIt would be used only for hardware scrolling (which isn't possible 4788c2ecf20Sopenharmony_ciwith the external driver, because the kernel cannot set the video base 4798c2ecf20Sopenharmony_ciaddress), or for virtual resolutions under X (which the X server 4808c2ecf20Sopenharmony_cidoesn't support yet). So, it's currently best to leave this field 4818c2ecf20Sopenharmony_ciempty, either by ending the "external:" after the video address or by 4828c2ecf20Sopenharmony_ciwriting two consecutive semicolons, if you want to give a <vgabase> 4838c2ecf20Sopenharmony_ci(it is allowed to leave this parameter empty). 4848c2ecf20Sopenharmony_ci 4858c2ecf20Sopenharmony_ciThe <vgabase> parameter is optional. If it is not given, the kernel 4868c2ecf20Sopenharmony_cicannot read or write any color registers of the video hardware, and 4878c2ecf20Sopenharmony_cithus you have to set appropriate colors before you start Linux. But if 4888c2ecf20Sopenharmony_ciyour card is somehow VGA compatible, you can tell the kernel the base 4898c2ecf20Sopenharmony_ciaddress of the VGA register set, so it can change the color lookup 4908c2ecf20Sopenharmony_citable. You have to look up this address in your board's documentation. 4918c2ecf20Sopenharmony_ciTo avoid misunderstandings: <vgabase> is the _base_ address, i.e. a 4k 4928c2ecf20Sopenharmony_cialigned address. For read/writing the color registers, the kernel 4938c2ecf20Sopenharmony_ciuses the addresses vgabase+0x3c7...vgabase+0x3c9. The <vgabase> 4948c2ecf20Sopenharmony_ciparameter is written in hexadecimal with a "0x" prefix, just as 4958c2ecf20Sopenharmony_ci<scrmem>. 4968c2ecf20Sopenharmony_ci 4978c2ecf20Sopenharmony_ci<colw> is meaningful only if <vgabase> is specified. It tells the 4988c2ecf20Sopenharmony_cikernel how wide each of the color register is, i.e. the number of bits 4998c2ecf20Sopenharmony_ciper single color (red/green/blue). Default is 6, another quite usual 5008c2ecf20Sopenharmony_civalue is 8. 5018c2ecf20Sopenharmony_ci 5028c2ecf20Sopenharmony_ciAlso <coltype> is used together with <vgabase>. It tells the kernel 5038c2ecf20Sopenharmony_ciabout the color register model of your gfx board. Currently, the types 5048c2ecf20Sopenharmony_ci"vga" (which is also the default) and "mv300" (SANG MV300) are 5058c2ecf20Sopenharmony_ciimplemented. 5068c2ecf20Sopenharmony_ci 5078c2ecf20Sopenharmony_ciParameter <xres_virtual> is required for ProMST or ET4000 cards where 5088c2ecf20Sopenharmony_cithe physical linelength differs from the visible length. With ProMST, 5098c2ecf20Sopenharmony_cixres_virtual must be set to 2048. For ET4000, xres_virtual depends on the 5108c2ecf20Sopenharmony_ciinitialisation of the video-card. 5118c2ecf20Sopenharmony_ciIf you're missing a corresponding yres_virtual: the external part is legacy, 5128c2ecf20Sopenharmony_citherefore we don't support hardware-dependent functions like hardware-scroll, 5138c2ecf20Sopenharmony_cipanning or blanking. 5148c2ecf20Sopenharmony_ci 5158c2ecf20Sopenharmony_ci4.1.7) eclock: 5168c2ecf20Sopenharmony_ci-------------- 5178c2ecf20Sopenharmony_ci 5188c2ecf20Sopenharmony_ciThe external pixel clock attached to the Falcon VIDEL shifter. This 5198c2ecf20Sopenharmony_cicurrently works only with the ScreenWonder! 5208c2ecf20Sopenharmony_ci 5218c2ecf20Sopenharmony_ci4.1.8) monitorcap: 5228c2ecf20Sopenharmony_ci------------------- 5238c2ecf20Sopenharmony_ci 5248c2ecf20Sopenharmony_ci:Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax> 5258c2ecf20Sopenharmony_ci 5268c2ecf20Sopenharmony_ciThis describes the capabilities of a multisync monitor. Don't use it 5278c2ecf20Sopenharmony_ciwith a fixed-frequency monitor! For now, only the Falcon frame buffer 5288c2ecf20Sopenharmony_ciuses the settings of "monitorcap:". 5298c2ecf20Sopenharmony_ci 5308c2ecf20Sopenharmony_ci<vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies 5318c2ecf20Sopenharmony_ciyour monitor can work with, in Hz. <hmin> and <hmax> are the same for 5328c2ecf20Sopenharmony_cithe horizontal frequency, in kHz. 5338c2ecf20Sopenharmony_ci 5348c2ecf20Sopenharmony_ci The defaults are 58;62;31;32 (VGA compatible). 5358c2ecf20Sopenharmony_ci 5368c2ecf20Sopenharmony_ci The defaults for TV/SC1224/SC1435 cover both PAL and NTSC standards. 5378c2ecf20Sopenharmony_ci 5388c2ecf20Sopenharmony_ci4.1.9) keep 5398c2ecf20Sopenharmony_ci------------ 5408c2ecf20Sopenharmony_ci 5418c2ecf20Sopenharmony_ciIf this option is given, the framebuffer device doesn't do any video 5428c2ecf20Sopenharmony_cimode calculations and settings on its own. The only Atari fb device 5438c2ecf20Sopenharmony_cithat does this currently is the Falcon. 5448c2ecf20Sopenharmony_ci 5458c2ecf20Sopenharmony_ciWhat you reach with this: Settings for unknown video extensions 5468c2ecf20Sopenharmony_ciaren't overridden by the driver, so you can still use the mode found 5478c2ecf20Sopenharmony_ciwhen booting, when the driver doesn't know to set this mode itself. 5488c2ecf20Sopenharmony_ciBut this also means, that you can't switch video modes anymore... 5498c2ecf20Sopenharmony_ci 5508c2ecf20Sopenharmony_ciAn example where you may want to use "keep" is the ScreenBlaster for 5518c2ecf20Sopenharmony_cithe Falcon. 5528c2ecf20Sopenharmony_ci 5538c2ecf20Sopenharmony_ci 5548c2ecf20Sopenharmony_ci4.2) atamouse= 5558c2ecf20Sopenharmony_ci-------------- 5568c2ecf20Sopenharmony_ci 5578c2ecf20Sopenharmony_ci:Syntax: atamouse=<x-threshold>,[<y-threshold>] 5588c2ecf20Sopenharmony_ci 5598c2ecf20Sopenharmony_ciWith this option, you can set the mouse movement reporting threshold. 5608c2ecf20Sopenharmony_ciThis is the number of pixels of mouse movement that have to accumulate 5618c2ecf20Sopenharmony_cibefore the IKBD sends a new mouse packet to the kernel. Higher values 5628c2ecf20Sopenharmony_cireduce the mouse interrupt load and thus reduce the chance of keyboard 5638c2ecf20Sopenharmony_cioverruns. Lower values give a slightly faster mouse responses and 5648c2ecf20Sopenharmony_cislightly better mouse tracking. 5658c2ecf20Sopenharmony_ci 5668c2ecf20Sopenharmony_ciYou can set the threshold in x and y separately, but usually this is 5678c2ecf20Sopenharmony_ciof little practical use. If there's just one number in the option, it 5688c2ecf20Sopenharmony_ciis used for both dimensions. The default value is 2 for both 5698c2ecf20Sopenharmony_cithresholds. 5708c2ecf20Sopenharmony_ci 5718c2ecf20Sopenharmony_ci 5728c2ecf20Sopenharmony_ci4.3) ataflop= 5738c2ecf20Sopenharmony_ci------------- 5748c2ecf20Sopenharmony_ci 5758c2ecf20Sopenharmony_ci:Syntax: ataflop=<drive type>[,<trackbuffering>[,<steprateA>[,<steprateB>]]] 5768c2ecf20Sopenharmony_ci 5778c2ecf20Sopenharmony_ci The drive type may be 0, 1, or 2, for DD, HD, and ED, resp. This 5788c2ecf20Sopenharmony_ci setting affects how many buffers are reserved and which formats are 5798c2ecf20Sopenharmony_ci probed (see also below). The default is 1 (HD). Only one drive type 5808c2ecf20Sopenharmony_ci can be selected. If you have two disk drives, select the "better" 5818c2ecf20Sopenharmony_ci type. 5828c2ecf20Sopenharmony_ci 5838c2ecf20Sopenharmony_ci The second parameter <trackbuffer> tells the kernel whether to use 5848c2ecf20Sopenharmony_ci track buffering (1) or not (0). The default is machine-dependent: 5858c2ecf20Sopenharmony_ci no for the Medusa and yes for all others. 5868c2ecf20Sopenharmony_ci 5878c2ecf20Sopenharmony_ci With the two following parameters, you can change the default 5888c2ecf20Sopenharmony_ci steprate used for drive A and B, resp. 5898c2ecf20Sopenharmony_ci 5908c2ecf20Sopenharmony_ci 5918c2ecf20Sopenharmony_ci4.4) atascsi= 5928c2ecf20Sopenharmony_ci------------- 5938c2ecf20Sopenharmony_ci 5948c2ecf20Sopenharmony_ci:Syntax: atascsi=<can_queue>[,<cmd_per_lun>[,<scat-gat>[,<host-id>[,<tagged>]]]] 5958c2ecf20Sopenharmony_ci 5968c2ecf20Sopenharmony_ciThis option sets some parameters for the Atari native SCSI driver. 5978c2ecf20Sopenharmony_ciGenerally, any number of arguments can be omitted from the end. And 5988c2ecf20Sopenharmony_cifor each of the numbers, a negative value means "use default". The 5998c2ecf20Sopenharmony_cidefaults depend on whether TT-style or Falcon-style SCSI is used. 6008c2ecf20Sopenharmony_ciBelow, defaults are noted as n/m, where the first value refers to 6018c2ecf20Sopenharmony_ciTT-SCSI and the latter to Falcon-SCSI. If an illegal value is given 6028c2ecf20Sopenharmony_cifor one parameter, an error message is printed and that one setting is 6038c2ecf20Sopenharmony_ciignored (others aren't affected). 6048c2ecf20Sopenharmony_ci 6058c2ecf20Sopenharmony_ci <can_queue>: 6068c2ecf20Sopenharmony_ci This is the maximum number of SCSI commands queued internally to the 6078c2ecf20Sopenharmony_ci Atari SCSI driver. A value of 1 effectively turns off the driver 6088c2ecf20Sopenharmony_ci internal multitasking (if it causes problems). Legal values are >= 6098c2ecf20Sopenharmony_ci 1. <can_queue> can be as high as you like, but values greater than 6108c2ecf20Sopenharmony_ci <cmd_per_lun> times the number of SCSI targets (LUNs) you have 6118c2ecf20Sopenharmony_ci don't make sense. Default: 16/8. 6128c2ecf20Sopenharmony_ci 6138c2ecf20Sopenharmony_ci <cmd_per_lun>: 6148c2ecf20Sopenharmony_ci Maximum number of SCSI commands issued to the driver for one 6158c2ecf20Sopenharmony_ci logical unit (LUN, usually one SCSI target). Legal values start 6168c2ecf20Sopenharmony_ci from 1. If tagged queuing (see below) is not used, values greater 6178c2ecf20Sopenharmony_ci than 2 don't make sense, but waste memory. Otherwise, the maximum 6188c2ecf20Sopenharmony_ci is the number of command tags available to the driver (currently 6198c2ecf20Sopenharmony_ci 32). Default: 8/1. (Note: Values > 1 seem to cause problems on a 6208c2ecf20Sopenharmony_ci Falcon, cause not yet known.) 6218c2ecf20Sopenharmony_ci 6228c2ecf20Sopenharmony_ci The <cmd_per_lun> value at a great part determines the amount of 6238c2ecf20Sopenharmony_ci memory SCSI reserves for itself. The formula is rather 6248c2ecf20Sopenharmony_ci complicated, but I can give you some hints: 6258c2ecf20Sopenharmony_ci 6268c2ecf20Sopenharmony_ci no scatter-gather: 6278c2ecf20Sopenharmony_ci cmd_per_lun * 232 bytes 6288c2ecf20Sopenharmony_ci full scatter-gather: 6298c2ecf20Sopenharmony_ci cmd_per_lun * approx. 17 Kbytes 6308c2ecf20Sopenharmony_ci 6318c2ecf20Sopenharmony_ci <scat-gat>: 6328c2ecf20Sopenharmony_ci Size of the scatter-gather table, i.e. the number of requests 6338c2ecf20Sopenharmony_ci consecutive on the disk that can be merged into one SCSI command. 6348c2ecf20Sopenharmony_ci Legal values are between 0 and 255. Default: 255/0. Note: This 6358c2ecf20Sopenharmony_ci value is forced to 0 on a Falcon, since scatter-gather isn't 6368c2ecf20Sopenharmony_ci possible with the ST-DMA. Not using scatter-gather hurts 6378c2ecf20Sopenharmony_ci performance significantly. 6388c2ecf20Sopenharmony_ci 6398c2ecf20Sopenharmony_ci <host-id>: 6408c2ecf20Sopenharmony_ci The SCSI ID to be used by the initiator (your Atari). This is 6418c2ecf20Sopenharmony_ci usually 7, the highest possible ID. Every ID on the SCSI bus must 6428c2ecf20Sopenharmony_ci be unique. Default: determined at run time: If the NV-RAM checksum 6438c2ecf20Sopenharmony_ci is valid, and bit 7 in byte 30 of the NV-RAM is set, the lower 3 6448c2ecf20Sopenharmony_ci bits of this byte are used as the host ID. (This method is defined 6458c2ecf20Sopenharmony_ci by Atari and also used by some TOS HD drivers.) If the above 6468c2ecf20Sopenharmony_ci isn't given, the default ID is 7. (both, TT and Falcon). 6478c2ecf20Sopenharmony_ci 6488c2ecf20Sopenharmony_ci <tagged>: 6498c2ecf20Sopenharmony_ci 0 means turn off tagged queuing support, all other values > 0 mean 6508c2ecf20Sopenharmony_ci use tagged queuing for targets that support it. Default: currently 6518c2ecf20Sopenharmony_ci off, but this may change when tagged queuing handling has been 6528c2ecf20Sopenharmony_ci proved to be reliable. 6538c2ecf20Sopenharmony_ci 6548c2ecf20Sopenharmony_ci Tagged queuing means that more than one command can be issued to 6558c2ecf20Sopenharmony_ci one LUN, and the SCSI device itself orders the requests so they 6568c2ecf20Sopenharmony_ci can be performed in optimal order. Not all SCSI devices support 6578c2ecf20Sopenharmony_ci tagged queuing (:-(). 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_ci4.5 switches= 6608c2ecf20Sopenharmony_ci------------- 6618c2ecf20Sopenharmony_ci 6628c2ecf20Sopenharmony_ci:Syntax: switches=<list of switches> 6638c2ecf20Sopenharmony_ci 6648c2ecf20Sopenharmony_ciWith this option you can switch some hardware lines that are often 6658c2ecf20Sopenharmony_ciused to enable/disable certain hardware extensions. Examples are 6668c2ecf20Sopenharmony_ciOverScan, overclocking, ... 6678c2ecf20Sopenharmony_ci 6688c2ecf20Sopenharmony_ciThe <list of switches> is a comma-separated list of the following 6698c2ecf20Sopenharmony_ciitems: 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_ci ikbd: 6728c2ecf20Sopenharmony_ci set RTS of the keyboard ACIA high 6738c2ecf20Sopenharmony_ci midi: 6748c2ecf20Sopenharmony_ci set RTS of the MIDI ACIA high 6758c2ecf20Sopenharmony_ci snd6: 6768c2ecf20Sopenharmony_ci set bit 6 of the PSG port A 6778c2ecf20Sopenharmony_ci snd7: 6788c2ecf20Sopenharmony_ci set bit 6 of the PSG port A 6798c2ecf20Sopenharmony_ci 6808c2ecf20Sopenharmony_ciIt doesn't make sense to mention a switch more than once (no 6818c2ecf20Sopenharmony_cidifference to only once), but you can give as many switches as you 6828c2ecf20Sopenharmony_ciwant to enable different features. The switch lines are set as early 6838c2ecf20Sopenharmony_cias possible during kernel initialization (even before determining the 6848c2ecf20Sopenharmony_cipresent hardware.) 6858c2ecf20Sopenharmony_ci 6868c2ecf20Sopenharmony_ciAll of the items can also be prefixed with `ov_`, i.e. `ov_ikbd`, 6878c2ecf20Sopenharmony_ci`ov_midi`, ... These options are meant for switching on an OverScan 6888c2ecf20Sopenharmony_civideo extension. The difference to the bare option is that the 6898c2ecf20Sopenharmony_ciswitch-on is done after video initialization, and somehow synchronized 6908c2ecf20Sopenharmony_cito the HBLANK. A speciality is that ov_ikbd and ov_midi are switched 6918c2ecf20Sopenharmony_cioff before rebooting, so that OverScan is disabled and TOS boots 6928c2ecf20Sopenharmony_cicorrectly. 6938c2ecf20Sopenharmony_ci 6948c2ecf20Sopenharmony_ciIf you give an option both, with and without the `ov_` prefix, the 6958c2ecf20Sopenharmony_ciearlier initialization (`ov_`-less) takes precedence. But the 6968c2ecf20Sopenharmony_ciswitching-off on reset still happens in this case. 6978c2ecf20Sopenharmony_ci 6988c2ecf20Sopenharmony_ci5) Options for Amiga Only: 6998c2ecf20Sopenharmony_ci========================== 7008c2ecf20Sopenharmony_ci 7018c2ecf20Sopenharmony_ci5.1) video= 7028c2ecf20Sopenharmony_ci----------- 7038c2ecf20Sopenharmony_ci 7048c2ecf20Sopenharmony_ci:Syntax: video=<fbname>:<sub-options...> 7058c2ecf20Sopenharmony_ci 7068c2ecf20Sopenharmony_ciThe <fbname> parameter specifies the name of the frame buffer, valid 7078c2ecf20Sopenharmony_cioptions are `amifb`, `cyber`, 'virge', `retz3` and `clgen`, provided 7088c2ecf20Sopenharmony_cithat the respective frame buffer devices have been compiled into the 7098c2ecf20Sopenharmony_cikernel (or compiled as loadable modules). The behavior of the <fbname> 7108c2ecf20Sopenharmony_cioption was changed in 2.1.57 so it is now recommended to specify this 7118c2ecf20Sopenharmony_cioption. 7128c2ecf20Sopenharmony_ci 7138c2ecf20Sopenharmony_ciThe <sub-options> is a comma-separated list of the sub-options listed 7148c2ecf20Sopenharmony_cibelow. This option is organized similar to the Atari version of the 7158c2ecf20Sopenharmony_ci"video"-option (4.1), but knows fewer sub-options. 7168c2ecf20Sopenharmony_ci 7178c2ecf20Sopenharmony_ci5.1.1) video mode 7188c2ecf20Sopenharmony_ci----------------- 7198c2ecf20Sopenharmony_ci 7208c2ecf20Sopenharmony_ciAgain, similar to the video mode for the Atari (see 4.1.1). Predefined 7218c2ecf20Sopenharmony_cimodes depend on the used frame buffer device. 7228c2ecf20Sopenharmony_ci 7238c2ecf20Sopenharmony_ciOCS, ECS and AGA machines all use the color frame buffer. The following 7248c2ecf20Sopenharmony_cipredefined video modes are available: 7258c2ecf20Sopenharmony_ci 7268c2ecf20Sopenharmony_ciNTSC modes: 7278c2ecf20Sopenharmony_ci - ntsc : 640x200, 15 kHz, 60 Hz 7288c2ecf20Sopenharmony_ci - ntsc-lace : 640x400, 15 kHz, 60 Hz interlaced 7298c2ecf20Sopenharmony_ci 7308c2ecf20Sopenharmony_ciPAL modes: 7318c2ecf20Sopenharmony_ci - pal : 640x256, 15 kHz, 50 Hz 7328c2ecf20Sopenharmony_ci - pal-lace : 640x512, 15 kHz, 50 Hz interlaced 7338c2ecf20Sopenharmony_ci 7348c2ecf20Sopenharmony_ciECS modes: 7358c2ecf20Sopenharmony_ci - multiscan : 640x480, 29 kHz, 57 Hz 7368c2ecf20Sopenharmony_ci - multiscan-lace : 640x960, 29 kHz, 57 Hz interlaced 7378c2ecf20Sopenharmony_ci - euro36 : 640x200, 15 kHz, 72 Hz 7388c2ecf20Sopenharmony_ci - euro36-lace : 640x400, 15 kHz, 72 Hz interlaced 7398c2ecf20Sopenharmony_ci - euro72 : 640x400, 29 kHz, 68 Hz 7408c2ecf20Sopenharmony_ci - euro72-lace : 640x800, 29 kHz, 68 Hz interlaced 7418c2ecf20Sopenharmony_ci - super72 : 800x300, 23 kHz, 70 Hz 7428c2ecf20Sopenharmony_ci - super72-lace : 800x600, 23 kHz, 70 Hz interlaced 7438c2ecf20Sopenharmony_ci - dblntsc-ff : 640x400, 27 kHz, 57 Hz 7448c2ecf20Sopenharmony_ci - dblntsc-lace : 640x800, 27 kHz, 57 Hz interlaced 7458c2ecf20Sopenharmony_ci - dblpal-ff : 640x512, 27 kHz, 47 Hz 7468c2ecf20Sopenharmony_ci - dblpal-lace : 640x1024, 27 kHz, 47 Hz interlaced 7478c2ecf20Sopenharmony_ci - dblntsc : 640x200, 27 kHz, 57 Hz doublescan 7488c2ecf20Sopenharmony_ci - dblpal : 640x256, 27 kHz, 47 Hz doublescan 7498c2ecf20Sopenharmony_ci 7508c2ecf20Sopenharmony_ciVGA modes: 7518c2ecf20Sopenharmony_ci - vga : 640x480, 31 kHz, 60 Hz 7528c2ecf20Sopenharmony_ci - vga70 : 640x400, 31 kHz, 70 Hz 7538c2ecf20Sopenharmony_ci 7548c2ecf20Sopenharmony_ciPlease notice that the ECS and VGA modes require either an ECS or AGA 7558c2ecf20Sopenharmony_cichipset, and that these modes are limited to 2-bit color for the ECS 7568c2ecf20Sopenharmony_cichipset and 8-bit color for the AGA chipset. 7578c2ecf20Sopenharmony_ci 7588c2ecf20Sopenharmony_ci5.1.2) depth 7598c2ecf20Sopenharmony_ci------------ 7608c2ecf20Sopenharmony_ci 7618c2ecf20Sopenharmony_ci:Syntax: depth:<nr. of bit-planes> 7628c2ecf20Sopenharmony_ci 7638c2ecf20Sopenharmony_ciSpecify the number of bit-planes for the selected video-mode. 7648c2ecf20Sopenharmony_ci 7658c2ecf20Sopenharmony_ci5.1.3) inverse 7668c2ecf20Sopenharmony_ci-------------- 7678c2ecf20Sopenharmony_ci 7688c2ecf20Sopenharmony_ciUse inverted display (black on white). Functionally the same as the 7698c2ecf20Sopenharmony_ci"inverse" sub-option for the Atari. 7708c2ecf20Sopenharmony_ci 7718c2ecf20Sopenharmony_ci5.1.4) font 7728c2ecf20Sopenharmony_ci----------- 7738c2ecf20Sopenharmony_ci 7748c2ecf20Sopenharmony_ci:Syntax: font:<fontname> 7758c2ecf20Sopenharmony_ci 7768c2ecf20Sopenharmony_ciSpecify the font to use in text modes. Functionally the same as the 7778c2ecf20Sopenharmony_ci"font" sub-option for the Atari, except that `PEARL8x8` is used instead 7788c2ecf20Sopenharmony_ciof `VGA8x8` if the vertical size of the display is less than 400 pixel 7798c2ecf20Sopenharmony_cirows. 7808c2ecf20Sopenharmony_ci 7818c2ecf20Sopenharmony_ci5.1.5) monitorcap: 7828c2ecf20Sopenharmony_ci------------------- 7838c2ecf20Sopenharmony_ci 7848c2ecf20Sopenharmony_ci:Syntax: monitorcap:<vmin>;<vmax>;<hmin>;<hmax> 7858c2ecf20Sopenharmony_ci 7868c2ecf20Sopenharmony_ciThis describes the capabilities of a multisync monitor. For now, only 7878c2ecf20Sopenharmony_cithe color frame buffer uses the settings of "monitorcap:". 7888c2ecf20Sopenharmony_ci 7898c2ecf20Sopenharmony_ci<vmin> and <vmax> are the minimum and maximum, resp., vertical frequencies 7908c2ecf20Sopenharmony_ciyour monitor can work with, in Hz. <hmin> and <hmax> are the same for 7918c2ecf20Sopenharmony_cithe horizontal frequency, in kHz. 7928c2ecf20Sopenharmony_ci 7938c2ecf20Sopenharmony_ciThe defaults are 50;90;15;38 (Generic Amiga multisync monitor). 7948c2ecf20Sopenharmony_ci 7958c2ecf20Sopenharmony_ci 7968c2ecf20Sopenharmony_ci5.2) fd_def_df0= 7978c2ecf20Sopenharmony_ci---------------- 7988c2ecf20Sopenharmony_ci 7998c2ecf20Sopenharmony_ci:Syntax: fd_def_df0=<value> 8008c2ecf20Sopenharmony_ci 8018c2ecf20Sopenharmony_ciSets the df0 value for "silent" floppy drives. The value should be in 8028c2ecf20Sopenharmony_cihexadecimal with "0x" prefix. 8038c2ecf20Sopenharmony_ci 8048c2ecf20Sopenharmony_ci 8058c2ecf20Sopenharmony_ci5.3) wd33c93= 8068c2ecf20Sopenharmony_ci------------- 8078c2ecf20Sopenharmony_ci 8088c2ecf20Sopenharmony_ci:Syntax: wd33c93=<sub-options...> 8098c2ecf20Sopenharmony_ci 8108c2ecf20Sopenharmony_ciThese options affect the A590/A2091, A3000 and GVP Series II SCSI 8118c2ecf20Sopenharmony_cicontrollers. 8128c2ecf20Sopenharmony_ci 8138c2ecf20Sopenharmony_ciThe <sub-options> is a comma-separated list of the sub-options listed 8148c2ecf20Sopenharmony_cibelow. 8158c2ecf20Sopenharmony_ci 8168c2ecf20Sopenharmony_ci5.3.1) nosync 8178c2ecf20Sopenharmony_ci------------- 8188c2ecf20Sopenharmony_ci 8198c2ecf20Sopenharmony_ci:Syntax: nosync:bitmask 8208c2ecf20Sopenharmony_ci 8218c2ecf20Sopenharmony_cibitmask is a byte where the 1st 7 bits correspond with the 7 8228c2ecf20Sopenharmony_cipossible SCSI devices. Set a bit to prevent sync negotiation on that 8238c2ecf20Sopenharmony_cidevice. To maintain backwards compatibility, a command-line such as 8248c2ecf20Sopenharmony_ci"wd33c93=255" will be automatically translated to 8258c2ecf20Sopenharmony_ci"wd33c93=nosync:0xff". The default is to disable sync negotiation for 8268c2ecf20Sopenharmony_ciall devices, eg. nosync:0xff. 8278c2ecf20Sopenharmony_ci 8288c2ecf20Sopenharmony_ci5.3.2) period 8298c2ecf20Sopenharmony_ci------------- 8308c2ecf20Sopenharmony_ci 8318c2ecf20Sopenharmony_ci:Syntax: period:ns 8328c2ecf20Sopenharmony_ci 8338c2ecf20Sopenharmony_ci`ns` is the minimum # of nanoseconds in a SCSI data transfer 8348c2ecf20Sopenharmony_ciperiod. Default is 500; acceptable values are 250 - 1000. 8358c2ecf20Sopenharmony_ci 8368c2ecf20Sopenharmony_ci5.3.3) disconnect 8378c2ecf20Sopenharmony_ci----------------- 8388c2ecf20Sopenharmony_ci 8398c2ecf20Sopenharmony_ci:Syntax: disconnect:x 8408c2ecf20Sopenharmony_ci 8418c2ecf20Sopenharmony_ciSpecify x = 0 to never allow disconnects, 2 to always allow them. 8428c2ecf20Sopenharmony_cix = 1 does 'adaptive' disconnects, which is the default and generally 8438c2ecf20Sopenharmony_cithe best choice. 8448c2ecf20Sopenharmony_ci 8458c2ecf20Sopenharmony_ci5.3.4) debug 8468c2ecf20Sopenharmony_ci------------ 8478c2ecf20Sopenharmony_ci 8488c2ecf20Sopenharmony_ci:Syntax: debug:x 8498c2ecf20Sopenharmony_ci 8508c2ecf20Sopenharmony_ciIf `DEBUGGING_ON` is defined, x is a bit mask that causes various 8518c2ecf20Sopenharmony_citypes of debug output to printed - see the DB_xxx defines in 8528c2ecf20Sopenharmony_ciwd33c93.h. 8538c2ecf20Sopenharmony_ci 8548c2ecf20Sopenharmony_ci5.3.5) clock 8558c2ecf20Sopenharmony_ci------------ 8568c2ecf20Sopenharmony_ci 8578c2ecf20Sopenharmony_ci:Syntax: clock:x 8588c2ecf20Sopenharmony_ci 8598c2ecf20Sopenharmony_cix = clock input in MHz for WD33c93 chip. Normal values would be from 8608c2ecf20Sopenharmony_ci8 through 20. The default value depends on your hostadapter(s), 8618c2ecf20Sopenharmony_cidefault for the A3000 internal controller is 14, for the A2091 it's 8 8628c2ecf20Sopenharmony_ciand for the GVP hostadapters it's either 8 or 14, depending on the 8638c2ecf20Sopenharmony_cihostadapter and the SCSI-clock jumper present on some GVP 8648c2ecf20Sopenharmony_cihostadapters. 8658c2ecf20Sopenharmony_ci 8668c2ecf20Sopenharmony_ci5.3.6) next 8678c2ecf20Sopenharmony_ci----------- 8688c2ecf20Sopenharmony_ci 8698c2ecf20Sopenharmony_ciNo argument. Used to separate blocks of keywords when there's more 8708c2ecf20Sopenharmony_cithan one wd33c93-based host adapter in the system. 8718c2ecf20Sopenharmony_ci 8728c2ecf20Sopenharmony_ci5.3.7) nodma 8738c2ecf20Sopenharmony_ci------------ 8748c2ecf20Sopenharmony_ci 8758c2ecf20Sopenharmony_ci:Syntax: nodma:x 8768c2ecf20Sopenharmony_ci 8778c2ecf20Sopenharmony_ciIf x is 1 (or if the option is just written as "nodma"), the WD33c93 8788c2ecf20Sopenharmony_cicontroller will not use DMA (= direct memory access) to access the 8798c2ecf20Sopenharmony_ciAmiga's memory. This is useful for some systems (like A3000's and 8808c2ecf20Sopenharmony_ciA4000's with the A3640 accelerator, revision 3.0) that have problems 8818c2ecf20Sopenharmony_ciusing DMA to chip memory. The default is 0, i.e. to use DMA if 8828c2ecf20Sopenharmony_cipossible. 8838c2ecf20Sopenharmony_ci 8848c2ecf20Sopenharmony_ci 8858c2ecf20Sopenharmony_ci5.4) gvp11= 8868c2ecf20Sopenharmony_ci----------- 8878c2ecf20Sopenharmony_ci 8888c2ecf20Sopenharmony_ci:Syntax: gvp11=<addr-mask> 8898c2ecf20Sopenharmony_ci 8908c2ecf20Sopenharmony_ciThe earlier versions of the GVP driver did not handle DMA 8918c2ecf20Sopenharmony_ciaddress-mask settings correctly which made it necessary for some 8928c2ecf20Sopenharmony_cipeople to use this option, in order to get their GVP controller 8938c2ecf20Sopenharmony_cirunning under Linux. These problems have hopefully been solved and the 8948c2ecf20Sopenharmony_ciuse of this option is now highly unrecommended! 8958c2ecf20Sopenharmony_ci 8968c2ecf20Sopenharmony_ciIncorrect use can lead to unpredictable behavior, so please only use 8978c2ecf20Sopenharmony_cithis option if you *know* what you are doing and have a reason to do 8988c2ecf20Sopenharmony_ciso. In any case if you experience problems and need to use this 8998c2ecf20Sopenharmony_cioption, please inform us about it by mailing to the Linux/68k kernel 9008c2ecf20Sopenharmony_cimailing list. 9018c2ecf20Sopenharmony_ci 9028c2ecf20Sopenharmony_ciThe address mask set by this option specifies which addresses are 9038c2ecf20Sopenharmony_civalid for DMA with the GVP Series II SCSI controller. An address is 9048c2ecf20Sopenharmony_civalid, if no bits are set except the bits that are set in the mask, 9058c2ecf20Sopenharmony_citoo. 9068c2ecf20Sopenharmony_ci 9078c2ecf20Sopenharmony_ciSome versions of the GVP can only DMA into a 24 bit address range, 9088c2ecf20Sopenharmony_cisome can address a 25 bit address range while others can use the whole 9098c2ecf20Sopenharmony_ci32 bit address range for DMA. The correct setting depends on your 9108c2ecf20Sopenharmony_cicontroller and should be autodetected by the driver. An example is the 9118c2ecf20Sopenharmony_ci24 bit region which is specified by a mask of 0x00fffffe. 912