Wed Jan 20 12:49:21 2016 UTC ()
Change base address to account for later Alpha models with later firmware
which require more space for SRM.


(jklos)
diff -r1.366 -r1.367 src/sys/arch/alpha/conf/GENERIC
diff -r1.83 -r1.84 src/sys/arch/alpha/conf/Makefile.alpha
diff -r1.43 -r1.44 src/sys/arch/alpha/include/param.h
diff -r1.34 -r1.35 src/sys/arch/alpha/stand/Makefile.bootprogs

cvs diff -r1.366 -r1.367 src/sys/arch/alpha/conf/GENERIC (expand / switch to unified diff)

--- src/sys/arch/alpha/conf/GENERIC 2015/09/26 16:33:16 1.366
+++ src/sys/arch/alpha/conf/GENERIC 2016/01/20 12:49:21 1.367
@@ -1,35 +1,35 @@ @@ -1,35 +1,35 @@
1# $NetBSD: GENERIC,v 1.366 2015/09/26 16:33:16 maxv Exp $ 1# $NetBSD: GENERIC,v 1.367 2016/01/20 12:49:21 jklos Exp $
2# 2#
3# This machine description file is used to generate the default NetBSD 3# This machine description file is used to generate the default NetBSD
4# kernel. 4# kernel.
5# 5#
6# The machine description file can be customised for your specific 6# The machine description file can be customised for your specific
7# machine to reduce the kernel size and improve its performance. 7# machine to reduce the kernel size and improve its performance.
8# 8#
9# For further information on compiling NetBSD kernels, see the config(8) 9# For further information on compiling NetBSD kernels, see the config(8)
10# man page. 10# man page.
11# 11#
12# For further information on hardware support for this architecture, see 12# For further information on hardware support for this architecture, see
13# the intro(4) man page. For further information about kernel options 13# the intro(4) man page. For further information about kernel options
14# for this architecture, see the options(4) man page. For an explanation 14# for this architecture, see the options(4) man page. For an explanation
15# of each device driver in this file see the section 4 man page for the 15# of each device driver in this file see the section 4 man page for the
16# device. 16# device.
17 17
18include "arch/alpha/conf/std.alpha" 18include "arch/alpha/conf/std.alpha"
19 19
20options INCLUDE_CONFIG_FILE # embed config file in kernel binary 20options INCLUDE_CONFIG_FILE # embed config file in kernel binary
21 21
22ident "GENERIC-$Revision: 1.366 $" 22ident "GENERIC-$Revision: 1.367 $"
23 23
24maxusers 32 24maxusers 32
25 25
26# CPU Support 26# CPU Support
27options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) 27options DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150)
28options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. 28options DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc.
29options DEC_2100_A500 # Sable: AlphaServer 2100 29options DEC_2100_A500 # Sable: AlphaServer 2100
30options DEC_2100A_A500 # Lynx: AlphaServer 2100A 30options DEC_2100A_A500 # Lynx: AlphaServer 2100A
31options DEC_3000_500 # Flamingo etc: 3000/[4-9]00* 31options DEC_3000_500 # Flamingo etc: 3000/[4-9]00*
32options DEC_3000_300 # Pelican etc: 3000/300* 32options DEC_3000_300 # Pelican etc: 3000/300*
33options DEC_AXPPCI_33 # NoName: AXPpci33, Multia, etc. 33options DEC_AXPPCI_33 # NoName: AXPpci33, Multia, etc.
34options DEC_EB164 # EB164: AlphaPC 164 34options DEC_EB164 # EB164: AlphaPC 164
35options DEC_EB64PLUS # EB64+: AlphaPC 64, etc. 35options DEC_EB64PLUS # EB64+: AlphaPC 64, etc.
@@ -391,26 +391,27 @@ opl* at yds? @@ -391,26 +391,27 @@ opl* at yds?
391mpu* at cmpci? 391mpu* at cmpci?
392mpu* at eso? 392mpu* at eso?
393mpu* at sb? 393mpu* at sb?
394mpu* at yds? 394mpu* at yds?
395 395
396# I2O devices 396# I2O devices
397iop* at pci? dev ? function ? # I/O processor 397iop* at pci? dev ? function ? # I/O processor
398iopsp* at iop? tid ? # SCSI/FC-AL ports 398iopsp* at iop? tid ? # SCSI/FC-AL ports
399ld* at iop? tid ? # block devices 399ld* at iop? tid ? # block devices
400# XXX dpti.c wants a processor type that is not assigned for x86-64 400# XXX dpti.c wants a processor type that is not assigned for x86-64
401#dpti* at iop? tid 0 # DPT/Adaptec control interface 401#dpti* at iop? tid 0 # DPT/Adaptec control interface
402 402
403# MII/PHY support 403# MII/PHY support
 404brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
404exphy* at mii? phy ? # 3Com internal PHYs 405exphy* at mii? phy ? # 3Com internal PHYs
405icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 406icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
406inphy* at mii? phy ? # Intel 82555 PHYs 407inphy* at mii? phy ? # Intel 82555 PHYs
407iophy* at mii? phy ? # Intel 82553 PHYs 408iophy* at mii? phy ? # Intel 82553 PHYs
408lxtphy* at mii? phy ? # Level One LXT-970 PHYs 409lxtphy* at mii? phy ? # Level One LXT-970 PHYs
409gphyter* at mii? phy ? # NS83861 Gig-E PHY 410gphyter* at mii? phy ? # NS83861 Gig-E PHY
410makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 411makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
411nsphy* at mii? phy ? # NS83840 PHYs 412nsphy* at mii? phy ? # NS83840 PHYs
412nsphyter* at mii? phy ? # NS83843 PHYs 413nsphyter* at mii? phy ? # NS83843 PHYs
413qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 414qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
414rgephy* at mii? phy ? # Realtek 8169S internal PHYs 415rgephy* at mii? phy ? # Realtek 8169S internal PHYs
415rlphy* at mii? phy ? # Realtek 8139 PHYs 416rlphy* at mii? phy ? # Realtek 8139 PHYs
416sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 417sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs

cvs diff -r1.83 -r1.84 src/sys/arch/alpha/conf/Makefile.alpha (expand / switch to unified diff)

--- src/sys/arch/alpha/conf/Makefile.alpha 2013/03/10 07:18:20 1.83
+++ src/sys/arch/alpha/conf/Makefile.alpha 2016/01/20 12:49:21 1.84
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.alpha,v 1.83 2013/03/10 07:18:20 christos Exp $ 1# $NetBSD: Makefile.alpha,v 1.84 2016/01/20 12:49:21 jklos Exp $
2 2
3# Makefile for NetBSD 3# Makefile for NetBSD
4# 4#
5# This makefile is constructed from a machine description: 5# This makefile is constructed from a machine description:
6# config machineid 6# config machineid
7# Most changes should be made in the machine description 7# Most changes should be made in the machine description
8# /sys/arch/alpha/conf/``machineid'' 8# /sys/arch/alpha/conf/``machineid''
9# after which you should do 9# after which you should do
10# config machineid 10# config machineid
11# Machine generic makefile changes should be made in 11# Machine generic makefile changes should be made in
12# /sys/arch/alpha/conf/Makefile.alpha 12# /sys/arch/alpha/conf/Makefile.alpha
13# after which config should be rerun for all machines of that type. 13# after which config should be rerun for all machines of that type.
14# 14#
@@ -57,27 +57,27 @@ MD_SFILES= ${ALPHA}/alpha/locore.s ${ALP @@ -57,27 +57,27 @@ MD_SFILES= ${ALPHA}/alpha/locore.s ${ALP
57 57
58locore.o: ${ALPHA}/alpha/locore.s assym.h 58locore.o: ${ALPHA}/alpha/locore.s assym.h
59 ${NORMAL_S} 59 ${NORMAL_S}
60 60
61transfer.o: ${ALPHA}/alpha/transfer.s 61transfer.o: ${ALPHA}/alpha/transfer.s
62 ${NORMAL_S} 62 ${NORMAL_S}
63 63
64lock_stubs.o: assym.h 64lock_stubs.o: assym.h
65 65
66## 66##
67## (5) link settings 67## (5) link settings
68## 68##
69LINKFORMAT= -N 69LINKFORMAT= -N
70TEXTADDR?= fffffc0000430000 70TEXTADDR?= fffffc0000a00000
71ENTRYPOINT= __transfer 71ENTRYPOINT= __transfer
72EXTRA_LINKFLAGS= -G 4 72EXTRA_LINKFLAGS= -G 4
73STRIPFLAGS= -g -X 73STRIPFLAGS= -g -X
74 74
75## 75##
76## (6) port specific target dependencies 76## (6) port specific target dependencies
77## 77##
78 78
79# depend on CPU configuration 79# depend on CPU configuration
80clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile 80clock.o apecs.o cia.o lca.o ioasic.o icasic.o: Makefile
81 81
82## 82##
83## (7) misc settings 83## (7) misc settings

cvs diff -r1.43 -r1.44 src/sys/arch/alpha/include/param.h (expand / switch to unified diff)

--- src/sys/arch/alpha/include/param.h 2013/01/14 10:46:14 1.43
+++ src/sys/arch/alpha/include/param.h 2016/01/20 12:49:21 1.44
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: param.h,v 1.43 2013/01/14 10:46:14 he Exp $ */ 1/* $NetBSD: param.h,v 1.44 2016/01/20 12:49:21 jklos Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1988 University of Utah. 4 * Copyright (c) 1988 University of Utah.
5 * Copyright (c) 1992, 1993 5 * Copyright (c) 1992, 1993
6 * The Regents of the University of California. All rights reserved. 6 * The Regents of the University of California. All rights reserved.
7 * 7 *
8 * This code is derived from software contributed to Berkeley by 8 * This code is derived from software contributed to Berkeley by
9 * the Systems Programming Group of the University of Utah Computer 9 * the Systems Programming Group of the University of Utah Computer
10 * Science Department and Ralph Campbell. 10 * Science Department and Ralph Campbell.
11 * 11 *
12 * Redistribution and use in source and binary forms, with or without 12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions 13 * modification, are permitted provided that the following conditions
14 * are met: 14 * are met:
@@ -47,27 +47,27 @@ @@ -47,27 +47,27 @@
47#define MACHINE_ARCH "alpha" 47#define MACHINE_ARCH "alpha"
48#define MID_MACHINE MID_ALPHA 48#define MID_MACHINE MID_ALPHA
49 49
50#ifdef _KERNEL 50#ifdef _KERNEL
51#include <machine/cpu.h> 51#include <machine/cpu.h>
52#else 52#else
53#define ALPHA_PGSHIFT 13 53#define ALPHA_PGSHIFT 13
54#endif 54#endif
55 55
56#define NBPG (1 << ALPHA_PGSHIFT) /* bytes/page */ 56#define NBPG (1 << ALPHA_PGSHIFT) /* bytes/page */
57#define PGOFSET (NBPG-1) /* byte off. into pg */ 57#define PGOFSET (NBPG-1) /* byte off. into pg */
58#define PGSHIFT ALPHA_PGSHIFT /* LOG2(NBPG) */ 58#define PGSHIFT ALPHA_PGSHIFT /* LOG2(NBPG) */
59 59
60#define KERNBASE 0xfffffc0000230000 /* start of kernel virtual */ 60#define KERNBASE 0xfffffc0000a00000 /* start of kernel virtual */
61#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT) 61#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
62 62
63#define DEV_BSIZE 512 63#define DEV_BSIZE 512
64#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ 64#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
65#define BLKDEV_IOSIZE 2048 65#define BLKDEV_IOSIZE 2048
66#ifndef MAXPHYS 66#ifndef MAXPHYS
67#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */ 67#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
68#endif 68#endif
69 69
70#define SSIZE 1 /* initial stack size/NBPG */ 70#define SSIZE 1 /* initial stack size/NBPG */
71#define SINCR 1 /* increment of stack/NBPG */ 71#define SINCR 1 /* increment of stack/NBPG */
72 72
73#define UPAGES 2 /* pages of u-area */ 73#define UPAGES 2 /* pages of u-area */

cvs diff -r1.34 -r1.35 src/sys/arch/alpha/stand/Makefile.bootprogs (expand / switch to unified diff)

--- src/sys/arch/alpha/stand/Makefile.bootprogs 2014/01/16 01:15:33 1.34
+++ src/sys/arch/alpha/stand/Makefile.bootprogs 2016/01/20 12:49:21 1.35
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.bootprogs,v 1.34 2014/01/16 01:15:33 christos Exp $ 1# $NetBSD: Makefile.bootprogs,v 1.35 2016/01/20 12:49:21 jklos Exp $
2 2
3NOMAN= # defined 3NOMAN= # defined
4 4
5.include <bsd.own.mk> 5.include <bsd.own.mk>
6 6
7S= ${.CURDIR}/../../../.. 7S= ${.CURDIR}/../../../..
8 8
9.PATH: ${.CURDIR}/../common 9.PATH: ${.CURDIR}/../common
10 10
11BINMODE= 444 11BINMODE= 444
12 12
13STRIP?= strip 13STRIP?= strip
14 14
@@ -79,29 +79,29 @@ PRIMARY_MAX_TOTAL!= expr 16 \* 1024 @@ -79,29 +79,29 @@ PRIMARY_MAX_TOTAL!= expr 16 \* 1024
79# XXX (${PRIMARY_LOAD_ADDRESS} + ${PRIMARY_MAX_TOTAL}) bt there's no easy 79# XXX (${PRIMARY_LOAD_ADDRESS} + ${PRIMARY_MAX_TOTAL}) bt there's no easy
80# XXX way to do that calculation and 'ld' wants a single number. 80# XXX way to do that calculation and 'ld' wants a single number.
81SECONDARY_LOAD_ADDRESS= 0x20004000 # XXX 81SECONDARY_LOAD_ADDRESS= 0x20004000 # XXX
82SECONDARY_MAX_LOAD!= expr 112 \* 1024 82SECONDARY_MAX_LOAD!= expr 112 \* 1024
83SECONDARY_MAX_TOTAL!= expr ${REGION1_SIZE} - ${PRIMARY_MAX_TOTAL} 83SECONDARY_MAX_TOTAL!= expr ${REGION1_SIZE} - ${PRIMARY_MAX_TOTAL}
84 84
85PRIMARY_HEAP_START= (${SECONDARY_LOAD_ADDRESS} + ${SECONDARY_MAX_LOAD}) 85PRIMARY_HEAP_START= (${SECONDARY_LOAD_ADDRESS} + ${SECONDARY_MAX_LOAD})
86PRIMARY_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE}) 86PRIMARY_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE})
87 87
88#SECONDARY_HEAP_START= right after secondary bss 88#SECONDARY_HEAP_START= right after secondary bss
89SECONDARY_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE}) 89SECONDARY_HEAP_LIMIT= (${REGION1_START} + ${REGION1_SIZE})
90 90
91# standalone programs are like kernels. They load at 91# standalone programs are like kernels. They load at
92# 0xfffffc0000300000 and can use the rest of memory. 92# 0xfffffc0000800000 and can use the rest of memory.
93 93
94STANDPROG_LOAD_ADDRESS= 0xfffffc0000300000 94STANDPROG_LOAD_ADDRESS= 0xfffffc0000800000
95 95
96 96
97FILE_FORMAT_CPPFLAGS= -DBOOT_ECOFF -DBOOT_ELF64 97FILE_FORMAT_CPPFLAGS= -DBOOT_ECOFF -DBOOT_ELF64
98 98
99UNIFIED_CPPFLAGS= -DUNIFIED_BOOTBLOCK \ 99UNIFIED_CPPFLAGS= -DUNIFIED_BOOTBLOCK \
100 -DHEAP_LIMIT="${UNIFIED_HEAP_LIMIT}" \ 100 -DHEAP_LIMIT="${UNIFIED_HEAP_LIMIT}" \
101 ${FILE_FORMAT_CPPFLAGS} 101 ${FILE_FORMAT_CPPFLAGS}
102 102
103PRIMARY_CPPFLAGS= -DPRIMARY_BOOTBLOCK \ 103PRIMARY_CPPFLAGS= -DPRIMARY_BOOTBLOCK \
104 -DSECONDARY_LOAD_ADDRESS="${SECONDARY_LOAD_ADDRESS}" \ 104 -DSECONDARY_LOAD_ADDRESS="${SECONDARY_LOAD_ADDRESS}" \
105 -DSECONDARY_MAX_LOAD="${SECONDARY_MAX_LOAD}" \ 105 -DSECONDARY_MAX_LOAD="${SECONDARY_MAX_LOAD}" \
106 -DHEAP_LIMIT="${PRIMARY_HEAP_LIMIT}" \ 106 -DHEAP_LIMIT="${PRIMARY_HEAP_LIMIT}" \
107 -DHEAP_START="${PRIMARY_HEAP_START}" 107 -DHEAP_START="${PRIMARY_HEAP_START}"