wok view linld/stuff/linld.txt @ rev 22491
updated apr and apr-dev (1.4.6 -> 1.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 14:21:42 2019 +0100 (2019-12-31) |
parents | e93e6b4d565f |
children | 78bc4b109dd6 |
line source
1 Linld 0.97
3 Linld is a Linux loader for DOS. I wrote it when loadlin failed to load newer
4 kernel for me and I found loadlin source to bee too big and complex to fix.
6 So I just wrote a repacement.
8 Build instructions
9 ------------------
10 You need a DOS/Windows machine. Download linld097devel.tar.bz2,
11 unpack it, cd DIST/LINLD097 and run !COMPILE.BAT
13 Usage
14 -----
16 LINLD [image=<file>] [initrd=<file>] [vga=vgamode] [cl=<kernel cmdline>]
17 vgamode: ask,extended,normal or dec/oct/hex number
18 Defaults:
19 image=bzImage
20 initrd=(nothing)
21 cl=auto
22 vga=0
23 Use quotes: "cl=..." if you need spaces in cmdline
24 Use cl=@filename to take cmdline from file
26 Acknowledgements
27 ----------------
28 Lots of code was borrowed from loadlin source
29 (author of loadlin is Hans Lermen <lermen@elserv.ffm.fgan.de>).
30 Some code from linux kernel (setup.S) was used too.
31 Thank you guys!
33 Changelog
34 ---------
35 0.91 Added support for cl=@filename
36 0.92 VCPI voodoo magic: booting under EMM386 and foes :-)
37 0.93 Cleanup. cl=@filename: cr/lf will be converted to two spaces
38 0.94 Ugly workaround for DOS int 15 fn 88 breakage
39 0.95 Bug squashed: vga=NNN did not like dec numbers, oct/hex only
40 Some VCPI comments added
41 0.96 Do not lowercase entire command line
42 0.97 memtop() must be rounded down to page boundary
44 SliTaz patches
45 --------------
46 New command line arguments:
47 -64 boot a 64 bits CPU only.
48 -f force. Do not ask memory manager for allocation
49 -b base lower buffer address, default 1088k
50 root number root filesystem device
51 mem number higher memory address, default 256m
53 Every arguments can be stored in a separate file and load with @filename, i.e
54 > linld @args.cmd
56 The -f and -b are useful skip XMM (max 64M ?) and VCPI (max 32M ?) limits:
57 > linld -f -b 64m initrd=rootfs4.gz,rootfs3.gz,rootfs2.gz,rootfs1.gz "cl=video=-32"
59 Image/zImage support.