summaryrefslogtreecommitdiff
path: root/sys/src/9/boot
AgeCommit message (Collapse)Author
2022-06-14kernel: bootrc: add bootloop=Jacob Moody
2022-05-28kernel: add /rc to devrootJacob Moody
This makes it much easier to run a rc program without needing to bind in all of '#s/boot'.
2022-02-23nusb/ether: remove csp check for rndis, already done in nusbrccinap_lenrek
2021-07-28kernel: fix off by one for $cputype buffer (thanks anthony martin)cinap_lenrek
2021-07-28kernel: increase bootfs.paq compression level and blocksizecinap_lenrek
With the intel wifi firmware, this saves around 3MB of the kernel image size.
2021-07-27kernel: simplify /boot/boot: 28K down to less than 4K.cinap_lenrek
- avoid print() format routines (saves alot of code) - avoid useless opens of /dev/cons (already done by initcode) - avoid useless binds of /env and /dev (already done by initcode) - do bind of /shr in bootrc, it is not needed by us - we'r pid 1 so kernel will print the exit message for us
2021-04-20nusbrc: rndis with csp 0104efSigrid
2021-04-08nusbrc: ignore rndis ethernet in /rc/bin/nusbed, handled by ↵cinap_lenrek
/sys/src/9/boot/nusbrc (thanks romano)
2021-04-01[9front] [patch] nusb/ether -t rndisRomano
2020-10-01bootrc: allow kbmap to be set via plan9.ini (thanks Aaron Bieber)kvik
2020-08-04kernel: don't strip binaries in bootfs.paqcinap_lenrek
2020-03-08boorc, nusbrc: fix wrong redirections after &cinap_lenrek
the rc & operator changes stdin to /dev/null, so we have to do the <[0=1] inside the {} this never showed up as an issue because many fileservers just read 9p messages from standard output.
2020-01-11bootrc: fix comment typo (thanks Robert Ransom)cinap_lenrek
2019-12-049/boot/net.rc: suppress error from grep if ethernet ifstats file is not foundcinap_lenrek
this can happen with nusb/ether, which does not implement ifstats file.
2019-11-17bootrc: for wireless netbooting, set the WPA/WPA2 preshard key with ↵cinap_lenrek
wpapsk=password boot parameter this allows automatic netbooting without password prompt for the wirelss network.
2019-09-21bootrc: unmount devip *before* starting factotumcinap_lenrek
we want devip to get reattached after hostowner has been written. factotum already handles this with a private authdial() routine that mounts devip when it is not present. so we detach devmnt before starting factotum, and attach once factotum finishes.
2019-09-21bootrc: remount devip after /dev/hostowner has been written by factotumcinap_lenrek
devip remembers the attach uname so after we set hostowner we remount devip so future connections have the right owner.
2019-05-05bootrc: fix $rootdir and $rootspec handling (thanks lucio)cinap_lenrek
we did not interpret the $rootdir and $rootspec environment variables right. $rootdir is what gets bound to / (usually /root) and $rootspec is the mountspec of /root.
2019-03-30bootrc: simplify if statementBurnZeZ
2019-03-27bootrc: handle automatic ip configuration on gbe mediacinap_lenrek
2019-03-27plan9.ini: add nora6= option to disable automatic ipv6 configurationcinap_lenrek
2019-03-21nusbrc: detect "keyboardio model 01", appears as multifuction device with ↵cinap_lenrek
IAD csp(0102EF) (thanks sam-d)
2018-12-04bootrc: remove $ff references (was old parsed /boot/boot argument list)cinap_lenrek
2018-10-20nusbrc: support for raspi3 ethernetcinap_lenrek
2018-10-10nusbrc: prevent nusb/kb from attaching to sony ps3 controllermischief
2018-09-16bootrc: add experimental reboot method to load another kernelcinap_lenrek
syntax: reboot!bootfile[!method...] this echos bootfile to /dev/reboot, causing bootfile kernel to be started. when method is given, we first connect to the filesystem and set bootargs so that bootfile can be loaded from the target network or local fileserver. note, when no bootfile is given, this causes the kernel to reboot to bios.
2018-08-30nusbrc: add LG G5 for nusb/ethermischief
2018-08-15ipv6 autoconfiguration on ethernetcinap_lenrek
for ip autoconfiguration, setup ipv6 link local addresses and do SLAAC in parallel to DHCP.
2018-07-14bootrc: write fatal error message to fd2cinap_lenrek
2018-03-17kernel: let /rc/bin/diskparts attach #k after #S partitions are loaded upqwx
2017-10-29kernel: introduce devswap #¶ to serve /dev/swap and handle swapfile encryptioncinap_lenrek
2017-06-28kernel: pass bootargs also in multiboot command line, retire the bootline ↵cinap_lenrek
mechanism to pass arguments to /boot/boot
2016-10-24fix bugs and cleanup cryptsetup codecinap_lenrek
devfs: - fix memory leak in devfs leaking the aes key - allocate aes-xts cipher state in secure memory - actually check if the hexkey got fully parsed cryptsetup: - get rid of stupid "type YES" prompt - use genrandom() to generate salts and keys - rewrite cryptsetup to use common pbkdf2 and readcons routines - fix alot of error handling and simplify the code - move cryptsetup command to disk/cryptsetup - update cryptsetup(8) manual page
2016-05-16kernel: add srvtls and tlsclient to bootfs.proto for encrypting connection ↵cinap_lenrek
to the file server
2016-02-14provide /n and /mnt early in bootrc to allow consistent use in /lib/namespacecinap_lenrek
theres a bootstrap problem: when /bin/init is run, it processes /lib/namespace where we might want to mount or bind resources to /n or /mnt. but mntgen was run later in cpurc/termrc so these mounts would be ignored. we already have mntgen in bootfs, so we can provide these mountpoints early. i keep the termrc/cpurc mntgens where they are, but ignore the error prints. this way old kernels will continue to work.
2015-11-22bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commitcinap_lenrek
2015-11-22usbd: intoruce /env/usbbusycinap_lenrek
to solve the usb device enumeration race on boot, usbd creates /env/usbbusy on startup and once all devices have been enumerated and readers have consumed all the events, we remove the file so nusbrc/bootrc can continue. this makes sure all the usb devices that where plugged in on boot are made available.
2015-08-25fix fuckupglenda
2015-08-25import E script from bell labsmischief
2015-08-21kernel/boot: do not handle kfs bootcinap_lenrek
2015-06-28nusbrc: handle fat formated usb drives without partition tablecinap_lenrek
on some usb drives, there is no dos partition table, so check the filesystem type and consider the whole drive.
2015-05-31integrate disk/edisk with diskparts, bootfs and installer (gpt support)cinap_lenrek
2015-05-13fixed by fuck upMatthew Veety
2015-05-13removed ukill.Matthew Veety
2015-04-09bootrc: simplify bootargs splitting avoiding awkcinap_lenrek
2015-03-25boot: allow alternative proto files per kernel and kernel config for bootfs.paqcinap_lenrek
bootmkfile will now looks for the following proto files in order and pick the first one it finds to build the bootfs.paq file: 1) $CONF.boofs.proto (config specific) 2) bootfs.proto (kernel specific) 3) $BOOTDIR/bootfs.proto (default generic)
2015-03-23boot: bind #c to /dev with MREPL instead of MBEFORE to avoid double entriescinap_lenrek
2015-03-15boot: disable group/other permission checking in bootfs paqfscinap_lenrek
when building bootfs in d770 mode directory, the other permissions in bootfs paq are masked off which results in boot to fail. theres no point in checking group/other permissions on boot, so just disable permissin checking in paqfs with the -a flag.
2014-12-15kernel: use new disk/mkfs -o option to get proper source filename list for ↵cinap_lenrek
bootfs.proto
2014-12-14kernel: get rid of /boot/boot parametrizationcinap_lenrek
there is no use for "bootdisk" variable parametrization of /boot/boot and no point for the boot section with its boot methods in the kernel configuration anymore. so mkboot and boot$CONF.out are gone. move the rules for bootfs.paq creation in 9/boot/bootmkfile. location of bootfs.proto is now in 9/boot/bootfs.proto. our /boot/boot target is now just "boot".