“J Kristek” <jkristek@retia.cz> wrote:
There is my boot image build file. I take it as minimal, but it does not
fit into 530kB.
Hmm, it does indeed look fairly minimal. I’ve attached an old one I
used for this purpose; the only difference I see is that I’m using a
slightly newer io-net (which stopped supported if=, so I needed the
ifconfig utility, which would make mine bigger) and the v4 TCP (but
you’re already using the tiny stack which is smaller again?!). What
about the bios versus elf? Anyway, the following booted PXE for me
(I’ve since switched to GRUB since that image was right on the edge):
[virtual=x86,elf +compress] .bootstrap = {
startup-bios -K8250 -v
PATH=/proc/boot:/nfs/bin:/nfs/sbin:/nfs/usr/bin LD_LIBRARY_PATH=/proc/boot:/nfs/lib:/nfs/lib/dll:/nfs/usr/lib procnto-gcc -h -v
}
[+script] .script = {
seedres
pci-bios &
waitfor /dev/pci
io-net -del900 -ptcpip-v4 &
waitfor /dev/socket
ifconfig en0 192.168.1.5
fs-nfs2 192.168.1.2:/ /nfs &
waitfor /nfs/
/nfs/sbin/devc-con -r30,250 -n5 &
waitfor /dev/con1
SHELL=/nfs/bin/ksh TERM=qansi
reopen /dev/con5
[+session pri=35] /nfs/bin/ksh &
reopen /dev/con4
[+session pri=35] /nfs/bin/ksh &
reopen /dev/con3
[+session pri=10] /nfs/bin/ksh &
reopen /dev/con2
[+session pri=10] /nfs/bin/ksh &
reopen /dev/con1
[+session pri=10] /nfs/bin/ksh &
/nfs/sbin/pipe &
/nfs/sbin/devc-pty &
/nfs/sbin/devc-ser8250 &
waitfor /dev/ser1
[pri=30] /nfs/usr/bin/pdebug /dev/ser1 &
}
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so.2
libc.so.2
libsocket.so
npm-tcpip-v4.so
devn-el900.so
[type=link] /usr/lib/terminfo=/nfs/usr/lib/terminfo
seedres
pci-bios
io-net
ifconfig
fs-nfs2