History log of /netbsd-current/sys/arch/sandpoint/stand/altboot/main.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.34 22-Sep-2022 riastradh

sandpoint: Teach altboot to handle 9.99.100 modules.

Not tested, but something here will be necessary to make it work, and
the same change does work in x86 efiboot.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.33 23-Mar-2021 rin

Make this compile with -DDEBUG.


# 1.32 23-Mar-2021 rin

Make sure not to run kernel if fdloadfile() fails;
it returns *non-zero* value on error.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.31 26-Jun-2019 christos

branches: 1.31.10; 1.31.12;
make this compile again


# 1.30 26-Jun-2019 pgoyette

Similar to changes made for x86, allow for the boot-loader to auto-push
a list of modules for file-system support. This allows, for example,
booting from an ext2fs file-system when the kernel has no built-in ufs
or ext2fs modules.

XXX Untested, as I have no sandpoint hardware. I'd appreciate it if
XXX someone with hardware can build and test.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.29 08-Feb-2018 dholland

branches: 1.29.4;
Typos.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.


# 1.33 23-Mar-2021 rin

Make this compile with -DDEBUG.


# 1.32 23-Mar-2021 rin

Make sure not to run kernel if fdloadfile() fails;
it returns *non-zero* value on error.


Revision tags: thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
# 1.31 26-Jun-2019 christos

make this compile again


# 1.30 26-Jun-2019 pgoyette

Similar to changes made for x86, allow for the boot-loader to auto-push
a list of modules for file-system support. This allows, for example,
booting from an ext2fs file-system when the kernel has no built-in ufs
or ext2fs modules.

XXX Untested, as I have no sandpoint hardware. I'd appreciate it if
XXX someone with hardware can build and test.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.29 08-Feb-2018 dholland

branches: 1.29.4;
Typos.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.


# 1.31 26-Jun-2019 christos

make this compile again


# 1.30 26-Jun-2019 pgoyette

Similar to changes made for x86, allow for the boot-loader to auto-push
a list of modules for file-system support. This allows, for example,
booting from an ext2fs file-system when the kernel has no built-in ufs
or ext2fs modules.

XXX Untested, as I have no sandpoint hardware. I'd appreciate it if
XXX someone with hardware can build and test.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.29 08-Feb-2018 dholland

Typos.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.


# 1.30 26-Jun-2019 pgoyette

Similar to changes made for x86, allow for the boot-loader to auto-push
a list of modules for file-system support. This allows, for example,
booting from an ext2fs file-system when the kernel has no built-in ufs
or ext2fs modules.

XXX Untested, as I have no sandpoint hardware. I'd appreciate it if
XXX someone with hardware can build and test.


Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.29 08-Feb-2018 dholland

Typos.


Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.


# 1.29 08-Feb-2018 dholland

Typos.


Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.


Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.28 11-Jun-2016 dholland

PR 51200 gets in libsa considered harmful: use kgets


Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
# 1.27 30-Sep-2015 phx

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.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.26 05-Aug-2014 joerg

branches: 1.26.2; 1.26.4;
Don't use non-literal strings as format strings.
XXX Switch to strlcpy.


Revision tags: yamt-pagecache-base9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base
# 1.25 26-Mar-2014 christos

branches: 1.25.2;
fix sprintf.


# 1.24 22-Mar-2014 jakllsch

drop trailing whitespace


Revision tags: riastradh-drm2-base3
# 1.23 05-Jan-2014 jakllsch

sprinkle const


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8
# 1.22 25-Dec-2012 phx

branches: 1.22.2;
Add a DEBUG function to search the Flash for byte-streams, as U-Boot usually
doesn't offer a search function.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6 jmcneill-usbmp-base10 yamt-pagecache-base5
# 1.21 21-May-2012 dsl

branches: 1.21.2;
Remove the code that tries to load the "ffs" kernel module during boot.
This is in line with the core decision than even modular kernels should
contain the ffs code.
I've left in the code that tries to load "nfs" and "ext2fs", but it
isn't clear that is necessary.
Removes a warning message that (usually) flashes past to fast to read.
AFAICT all the relevant kernels contain ffs (and nfs for that matter).


Revision tags: jmcneill-usbmp-base9
# 1.20 27-Apr-2012 nisimura

Comment improvement. altboot(8) is now aware of the disk removal
for mirrored drive configuration.


# 1.19 26-Apr-2012 phx

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.18 16-Apr-2012 phx

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.


Revision tags: yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.17 22-Jan-2012 phx

branches: 1.17.2;
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.16 01-Jan-2012 phx

Handle devices with two network interfaces (e.g. a DSM-G600 with stge(4)
and ath(4)).


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2
# 1.15 06-Nov-2011 phx

branches: 1.15.4;
Added a test terminal for communicating with the satellite microcontroller.
When compiled with DEBUG option it can be entered by typing 'C'.


Revision tags: yamt-pagecache-base rmind-uvmplock-nbase cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base rmind-uvmplock-base
# 1.14 25-Apr-2011 phx

branches: 1.14.4; 1.14.6;
Also scan for PCI_CLASS_RAID, when looking for disk devices.


# 1.13 20-Mar-2011 phx

The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.


# 1.12 13-Mar-2011 phx

With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.


# 1.11 13-Mar-2011 phx

Enter interactive mode, when a key is pressed within two seconds.


# 1.10 12-Mar-2011 phx

Introduced an optional shutdown function for all network interfaces.
This is needed to stop a NIF and make it return to a known state. A running
NIF may cause all sorts of bad effects, like for example making it impossible
to reboot a board without a hardware-reset function.


# 1.9 06-Mar-2011 phx

Suport for loading a kernel from memory (RAM, ROM or Flash).
The boot file path should look like "mem:<address>", where <address> is
the start address, in hex notation, of the file in memory.


# 1.8 06-Mar-2011 phx

branches: 1.8.2;
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.


Revision tags: bouyer-quota2-nbase
# 1.7 26-Feb-2011 phx

branches: 1.7.2;
Build altboot.img, which fakes a Linux kernel module, loadable with "bootm",
for extremely stripped U-Boot firmware. Arguments are passed through the
"bootargs" environment variable, which is detected automatically when
using bootm.
The startup code also fixes a bug in bootm, which doesn't flush the cache
before running the image.


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.6 10-Feb-2011 nisimura

- some rework for PCI device enumeration.
- allow dual IDE/SATA devices.
- fix a typo of D-Link #define.


# 1.5 27-Jan-2011 phx

Debugging output is only visible when DEBUG is defined.


# 1.4 26-Jan-2011 nisimura

one more twist to complete newvers_stand.sh transition. Include timestamp
in banner.


# 1.3 26-Jan-2011 phx

bootprog_maker and bootprog_date are missing since we switched to the
MI newvers_stand.sh script. Remove the refering information line.


# 1.2 23-Jan-2011 nisimura

switch to use newvers_stand.sh as suggested by joerg@


# 1.1 23-Jan-2011 nisimura

change bootloader name to "altboot". bump version and add README.