OpenGrok
Cross Reference: boot.c
xref
: /
src
/
sys
/
arch
/
cobalt
/
stand
/
boot
/
boot.c
Home
|
History
|
Annotate
|
Download
|
only in
boot
History log of
/src/sys/arch/cobalt/stand/boot/boot.c
Revision
Date
Author
Comments
1.20
22-Jan-2011
joerg
Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().
Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
1.19
10-Jan-2010
tsutsui
branches: 1.19.4; 1.19.6; 1.19.8;
Make these compile with -D_DEBUG (use proper printf types).
1.18
16-Dec-2009
matt
Make cobalt build again.
1.17
29-May-2008
tsutsui
- also put a boot failure message to LCD
- fix botched (and unused) macro
- use struct lcd_message consistently
1.16
28-May-2008
tsutsui
Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console. Bump version.
1.15
28-Apr-2008
martin
branches: 1.15.2;
Remove clause 3 and 4 from TNF licenses
1.14
23-Mar-2008
tsutsui
branches: 1.14.2; 1.14.4;
Use macro defined in <machine/cpu.h> for cobalt_id and device addresses etc.
since <machine/leds.h> has been removed.
Also remove redundant address definitions in Makefile and local headers.
Pointed out by dieter roelants.
1.13
02-Mar-2008
tsutsui
WARNSfy
1.12
01-Mar-2008
tsutsui
Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
1.11
01-Mar-2008
tsutsui
- print cobalt model names in boot banner
- bump version.
1.10
30-Oct-2007
tsutsui
branches: 1.10.12; 1.10.16;
Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.
1.9
17-Oct-2007
garbled
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
1.8
13-Aug-2007
tsutsui
branches: 1.8.2; 1.8.6;
Parse "root=/dev/hdXN" args passed from the firmware and
set default boot device accordingly.
Requested and okay'ed by cyber@.
1.7
10-Aug-2007
tsutsui
Parse boot_flags specified on boot prompt and
pass decoded boothowto value to kernel via bootinfo.
1.6
03-Aug-2007
tsutsui
branches: 1.6.2;
Misc KNF and cosmetics.
1.5
25-Nov-2005
tsutsui
branches: 1.5.24; 1.5.30; 1.5.38; 1.5.40; 1.5.42; 1.5.44;
No need to include <machine/vmparam.h> here.
1.4
10-Apr-2004
tsutsui
branches: 1.4.12; 1.4.18;
Add a prompt to specify a kernel filename to be loaded on bootloader.
1.3
07-Jan-2004
cdi
branches: 1.3.4;
Pass some info from the boot loader to the kernel:
- Kernel image name
- Symbol table
- A flag indicating console presence (could be clobbered if not passed)
Add _rtt() entry to the boot loader code.
1.2
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
1.1
25-Jun-2003
cdi
branches: 1.1.2;
Initial commit of a 1-stage boot loader for NetBSD/cobalt. Only booting off
the hard drive is supported at the moment.
1.1.2.4
11-Dec-2005
christos
Sync with head.
1.1.2.3
21-Sep-2004
skrll
Fix the sync with head I botched.
1.1.2.2
18-Sep-2004
skrll
Sync with HEAD.
1.1.2.1
03-Aug-2004
skrll
Sync with HEAD
1.3.4.1
13-Apr-2005
tron
Pull up revision 1.4 (requested by tsutsui in ticket #1070):
Add a prompt to specify a kernel filename to be loaded on bootloader.
1.4.18.1
29-Nov-2005
yamt
sync with head.
1.4.12.5
24-Mar-2008
yamt
sync with head.
1.4.12.4
17-Mar-2008
yamt
sync with head.
1.4.12.3
15-Nov-2007
yamt
sync with head.
1.4.12.2
03-Sep-2007
yamt
sync with head.
1.4.12.1
21-Jun-2006
yamt
sync with head.
1.5.44.1
15-Aug-2007
skrll
Sync with HEAD.
1.5.42.1
07-Aug-2007
matt
Sync with HEAD.
1.5.40.2
06-Jan-2008
wrstuden
Catch up to netbsd-4.0 release.
1.5.40.1
03-Sep-2007
wrstuden
Sync w/ NetBSD-4-RC_1
1.5.38.1
03-Oct-2007
garbled
Sync with HEAD
1.5.30.3
03-Dec-2007
ad
Sync with HEAD.
1.5.30.2
03-Dec-2007
ad
Sync with HEAD.
1.5.30.1
20-Aug-2007
ad
Sync with HEAD.
1.5.24.2
04-Nov-2007
pavel
Pull up following revisions (requested by tsutsui in ticket #974):
sys/arch/cobalt/cobalt/autoconf.c: revision 1.25-1.26
sys/arch/cobalt/cobalt/machdep.c: revision 1.89
sys/arch/cobalt/stand/boot/Makefile: revision 1.12
sys/arch/cobalt/stand/boot/boot.c: revision 1.10
sys/arch/cobalt/stand/boot/boot.h: revision 1.6
sys/arch/cobalt/stand/boot/cache.c: revision 1.1-1.2
sys/arch/cobalt/stand/boot/clock.c: revision 1.2
sys/arch/cobalt/stand/boot/conf.c: revision 1.5
sys/arch/cobalt/stand/boot/devopen.c: revision 1.4
sys/arch/cobalt/stand/boot/nif_tlp.c: revision 1.1
sys/arch/cobalt/stand/boot/start.S: revision 1.6
sys/arch/cobalt/stand/boot/tlp.c: revision 1.1-1.3
sys/arch/cobalt/stand/boot/version: revision 1.6
sys/lib/libsa/dev_net.h: revision 1.5
Add an extern decl of try_bootp variable here since MD sources could set it.
In device_register(), check booted devices more properly:
- check "tlp" name on netboot
- use ata channel and drive numbers to check wd unit
Assume netboot if "nfsroot=/path" is specified in bootstring.
Use PCI bus/dev/function numbers rather than device unit
to check first tlp in device_register().
Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.
Fix my stupid bug in cache flush code and remove one kludge for it.
- use chaned mode for RX descs and allocate only one desc per each cacheline
to avoid possible race condition between CPU writeback vs DMA write
- remove unnecessary FS and LS bits from RxD->xd0
(sys/dev/ic/tulipvar.h sets them but maybe they are ignored?)
1.5.24.1
28-Aug-2007
liamjfoy
Pull up following revision(s) (requested by tsutsui in ticket #843):
sys/arch/cobalt/stand/boot/pciide.c: revision 1.6
sys/arch/cobalt/cobalt/machdep.c: revision 1.85
sys/arch/cobalt/stand/boot/com.c: revision 1.5
sys/arch/cobalt/include/bootinfo.h: revision 1.5
sys/arch/cobalt/stand/boot/boot.c: revision 1.6
sys/arch/cobalt/stand/boot/boot.h: revision 1.4
sys/arch/cobalt/stand/boot/boot.c: revision 1.7
sys/arch/cobalt/stand/boot/boot.c: revision 1.8
sys/arch/cobalt/stand/boot/wdvar.h: revision 1.7
sys/arch/cobalt/stand/boot/wd.c: revision 1.6
sys/arch/cobalt/stand/boot/wd.c: revision 1.7
sys/arch/cobalt/stand/boot/prf.c: revision 1.2
sys/arch/cobalt/stand/boot/devopen.c: revision 1.2
sys/arch/cobalt/stand/boot/bootinfo.c: revision 1.3
sys/arch/cobalt/stand/boot/bootinfo.h: revision 1.3
sys/arch/cobalt/stand/boot/wdc.c: revision 1.8
sys/arch/cobalt/stand/boot/version: revision 1.3
sys/arch/cobalt/stand/boot/version: revision 1.4
sys/arch/cobalt/stand/boot/cons.c: revision 1.4
sys/arch/cobalt/stand/boot/ns16550.c: revision 1.2
sys/arch/cobalt/stand/boot/tgets.c: revision 1.3
sys/arch/cobalt/stand/boot/ns16550.h: revision 1.2
Add support for booting off raidframe RAID1 mirrors.
Misc KNF and cosmetics.
Parse boot_flags specified on boot prompt and
pass decoded boothowto value to kernel via bootinfo.
Lookup boothowto flags in bootinfo.
Parse "root=/dev/hdXN" args passed from the firmware and
set default boot device accordingly.
Requested and okay'ed by cyber@.
1.6.2.3
31-Oct-2007
joerg
Sync with HEAD.
1.6.2.2
16-Aug-2007
jmcneill
Sync with HEAD.
1.6.2.1
03-Aug-2007
jmcneill
file boot.c was added on branch jmcneill-pm on 2007-08-16 11:02:16 +0000
1.8.6.1
13-Nov-2007
bouyer
Sync with HEAD
1.8.2.2
23-Mar-2008
matt
sync with HEAD
1.8.2.1
06-Nov-2007
matt
sync with HEAD
1.10.16.2
02-Jun-2008
mjf
Sync with HEAD.
1.10.16.1
03-Apr-2008
mjf
Sync with HEAD.
1.10.12.1
24-Mar-2008
keiichi
sync with head.
1.14.4.3
11-Mar-2010
yamt
sync with head
1.14.4.2
04-May-2009
yamt
sync with head.
1.14.4.1
16-May-2008
yamt
sync with head.
1.14.2.2
04-Jun-2008
yamt
sync with head
1.14.2.1
18-May-2008
yamt
sync with head.
1.15.2.1
23-Jun-2008
wrstuden
Sync w/ -current. 34 merge conflicts to follow.
1.19.8.1
08-Feb-2011
bouyer
Sync with HEAD
1.19.6.1
06-Jun-2011
jruoho
Sync with HEAD.
1.19.4.1
05-Mar-2011
rmind
sync with head
Indexes created Sat Sep 20 22:09:52 GMT 2025