Home | History | Annotate | Download | only in altboot
History log of /src/sys/arch/sandpoint/stand/altboot/dsk.c
RevisionDateAuthorComments
 1.19  30-Apr-2022  rin Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Do not use NULL for integer 0.
 1.18  29-Sep-2015  phx The disk's unittag is not equal to the channel, so we need an additional
unitchan entry to make lba_read() work in all cases.
The libsa-printf() does not seem to support 64-bit output, so cast the
block number to unsigned when printing an error message.
 1.17  05-Aug-2014  joerg branches: 1.17.2; 1.17.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.
 1.16  26-Apr-2012  phx branches: 1.16.2; 1.16.12;
Multiple boot devices and/or paths may be specified, which are booted one
after another until success. When no boot device is specified altboot tries
to boot from all disk devices with a valid NetBSD disklabel, starting with
unit 0.
 1.15  09-Apr-2012  nisimura Refactor disklabel decode logic. RAIDFRAME case needs more attention
as it's not certain whether a general solution.
 1.14  22-Jan-2012  phx Cleanup in perform_atareset().
 1.13  22-Jan-2012  phx Support PATA drive configuration option (ide:N[N...]).
Wait until drives are ready after cold-start.
Wake up drives from standby mode.
A default command line can be saved to flash as initrd image.
 1.12  19-Jan-2012  nisimura Change BTINFO_ROOTDEV to include boot device partition number in
its cookie field to allow a kernel to determine rootdev correctly
when kernel image is loaded from other than 'a' partition.
 1.11  12-Nov-2011  phx branches: 1.11.4;
Add support for IT821x IDE.
 1.10  01-Nov-2011  phx branches: 1.10.2;
The Apollo family of IDE interface chips has both channels disabled by
default, so we have to enable them in a new chipfix function. Also move
the channel enable code for the 82C686B from encpcifix() to pciide.c.
 1.9  30-Oct-2011  phx Added in8() and out8() to access a byte with reorder-protection.
Use it in all drivers instead of (volatile uint8_t *).
 1.8  17-Jul-2011  joerg Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.7  20-Jun-2011  jdc Add support for booting from RAID 1.
Note, that the RAID partition must be the first partition of the disk.
Reviewed by phx@.
 1.6  08-Jun-2011  phx Support disk units from multiple IDE/SATA PCI controllers.
 1.5  06-Mar-2011  phx branches: 1.5.2; 1.5.4; 1.5.6;
New experimental driver for SundanceIT ST1023 / IP1000+ NICs.
PHY initialization, media select and MAC address are working, but I found no
way to make the chip transmit any frame yet (although it clears the DONE flag).

Moved DSK_DECL to globals.h, where NIF_DECL already was.
 1.4  10-Feb-2011  nisimura branches: 1.4.2;
- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.
 1.3  27-Jan-2011  phx Debugging output is only visible when DEBUG is defined.
 1.2  23-Jan-2011  nisimura - add "ll" modifier to printf.
- be more conscious about int type propagation.
- add missing version and newvers.sh
 1.1  23-Jan-2011  nisimura change bootloader name to "altboot". bump version and add README.
 1.4.2.4  12-Jun-2011  rmind sync with head
 1.4.2.3  21-Apr-2011  rmind sync with head
 1.4.2.2  05-Mar-2011  rmind sync with head
 1.4.2.1  10-Feb-2011  rmind file dsk.c was added on branch rmind-uvmplock on 2011-03-05 20:51:47 +0000
 1.5.6.2  06-Jun-2011  jruoho Sync with HEAD.
 1.5.6.1  06-Mar-2011  jruoho file dsk.c was added on branch jruoho-x86intr on 2011-06-06 09:06:35 +0000
 1.5.4.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5.2.2  06-Mar-2011  bouyer Sync with HEAD
 1.5.2.1  06-Mar-2011  bouyer file dsk.c was added on branch bouyer-quota2 on 2011-03-06 15:07:55 +0000
 1.10.2.2  23-May-2012  yamt sync with head.
 1.10.2.1  17-Apr-2012  yamt sync with head
 1.11.4.2  29-Apr-2012  mrg sync to latest -current.
 1.11.4.1  18-Feb-2012  mrg merge to -current.
 1.16.12.1  10-Aug-2014  tls Rebase.
 1.16.2.2  03-Dec-2017  jdolecek update from HEAD
 1.16.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.17.4.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.17.2.1  16-Jan-2016  snj Pull up following revision(s) (requested by phx in ticket #1059):
sys/arch/sandpoint/include/bootinfo.h: revision 1.9
sys/arch/sandpoint/stand/altboot/brdsetup.c: revisions 1.36, 1.37
sys/arch/sandpoint/stand/altboot/dsk.c: revision 1.18
sys/arch/sandpoint/stand/altboot/globals.h: revisions 1.20, 1.21
sys/arch/sandpoint/stand/altboot/main.c: revision 1.27
sys/arch/sandpoint/stand/altboot/siisata.c: revision 1.6
sys/arch/sandpoint/stand/altboot/version: revision 1.8
The disk's unittag is not equal to the channel, so we need an additional
unitchan entry to make lba_read() work in all cases.
The libsa-printf() does not seem to support 64-bit output, so cast the
block number to unsigned when printing an error message.
--
Pass a name and flags precisely describing the current model and its
features via a new bootinfo node (currently Synology only). This allows
for example the configuration of model-specific temperature I2C sensors
and fan control.
Support for the Synology DS207 and DS209 drive LEDs and wait until the
2nd drive is completely powered up.
--
fix a board type check logic error that affected Linkstation and Kurobox (HG).
They were mistakenly recognized kurot4 type and ended up with kernel boot
failure.

RSS XML Feed