summaryrefslogtreecommitdiffstats
path: root/sys/mips/conf
Commit message (Collapse)AuthorAgeFilesLines
* Update the port of FreeBSD to Cavium Octeon to use the Cavium Simple Executivejmallett2010-07-203-60/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library: o) Increase inline unit / large function growth limits for MIPS to accommodate the needs of the Simple Executive, which uses a shocking amount of inlining. o) Remove TARGET_OCTEON and use CPU_CNMIPS to do things required by cnMIPS and the Octeon SoC. o) Add OCTEON_VENDOR_LANNER to use Lanner's allocation of vendor-specific board numbers, specifically to support the MR320. o) Add OCTEON_BOARD_CAPK_0100ND to hard-wire configuration for the CAPK-0100nd, which improperly uses an evaluation board's board number and breaks board detection at runtime. This board is sold by Portwell as the CAM-0100. o) Add support for the RTC available on some Octeon boards. o) Add support for the Octeon PCI bus. Note that rman_[sg]et_virtual for IO ports can not work unless building for n64. o) Clean up the CompactFlash driver to use Simple Executive macros and structures where possible (it would be advisable to use the Simple Executive API to set the PIO mode, too, but that is not done presently.) Also use structures from FreeBSD's ATA layer rather than structures copied from Linux. o) Print available Octeon SoC features on boot. o) Add support for the Octeon timecounter. o) Use the Simple Executive's routines rather than local copies for doing reads and writes to 64-bit addresses and use its macros for various device addresses rather than using local copies. o) Rename octeon_board_real to octeon_is_simulation to reduce differences with Cavium-provided code originally written for Linux. Also make it use the same simplified test that the Simple Executive and Linux both use rather than our complex one. o) Add support for the Octeon CIU, which is the main interrupt unit, as a bus to use normal interrupt allocation and setup routines. o) Use the Simple Executive's bootmem facility to allocate physical memory for the kernel, rather than assuming we know which addresses we can steal. NB: This may reduce the amount of RAM the kernel reports you as having if you are leaving large temporary allocations made by U-Boot allocated when starting FreeBSD. o) Add a port of the Cavium-provided Ethernet driver for Linux. This changes Ethernet interface naming from rgmxN to octeN. The new driver has vast improvements over the old one, both in performance and functionality, but does still have some features which have not been ported entirely and there may be unimplemented code that can be hit in everyday use. I will make every effort to correct those as they are reported. o) Support loading the kernel on non-contiguous cores. o) Add very conservative support for harvesting randomness from the Octeon random number device. o) Turn SMP on by default. o) Clean up the style of the Octeon kernel configurations a little and make them compile with -march=octeon. o) Add support for the Lanner MR320 and the CAPK-0100nd to the Simple Executive. o) Modify the Simple Executive to build on FreeBSD and to build without executive-config.h or cvmx-config.h. In the future we may want to revert part of these changes and supply executive-config.h and cvmx-config.h and access to the options contained in those files via kernel configuration files. o) Modify the Simple Executive USB routines to support getting and setting of the USB PID.
* Temp hack to N32 kernel: turn off debugger since n32 is too weird for ddbimp2010-07-131-4/+4
|
* Fix XLR64, the previous version had the contents of file duplicated.jchandra2010-07-081-133/+0
|
* 64 bit ld script for mips, and configuration file for 64 bit compilationjchandra2010-07-081-0/+266
| | | | | | on XLR Approved by: rrs
* Add linker script and configuration file for n32 kernel.jchandra2010-06-241-0/+133
| | | | Approved by: rrs (mentor)
* This pushes all of JC's patches that I have in place. Irrs2010-05-161-3/+4
| | | | | | | | | | | am now able to run 32 cores ok.. but I still will hang on buildworld with a NFS problem. I suspect I am missing a patch for the netlogic rge driver. JC check and see if I am missing anything except your core-mask changes Obtained from: JC
* Enable AH_RXCFG_SDMAMW_4BYTES option. See NOTES file for why this isimp2010-05-011-0/+1
| | | | workaround (WAR) is needed.
* Put the -current debugging options back into AR71XX.imp2010-05-011-5/+5
|
* o) Remove default MAXMEM on SWARM; pmap can readily use lmem for >512Mjmallett2010-04-231-6/+0
| | | | | | | | physical addresses. o) Set a local maxmem in sb_machdep.c to avoid trying to use pages over 2^64 under 32-bit ABIs. Our pmap needs corrected to use vm_paddr_t consistently, then we can make vm_paddr_t 64-bit under 32-bit ABIs and add code in pmap to limit phys_avail by the maximum PFN that a 32-bit PTE can hold.
* Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this hadthompsa2010-04-222-0/+2
| | | | | | the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week
* o) Back out my previous change to SWARM; some of it was to address an issuejmallett2010-04-171-5/+0
| | | | | | that turned out to be unrelated, and the rest was, as pointed out by Neel, just wrong-headed. o) Tweak mem.c to fix use of /dev/kmem for direct-mapped addresses.
* Set KERNLOADADDR and TARGET_BIG_ENDIAN for SWARM.jmallett2010-04-161-0/+5
|
* Enable module builds now that the build completes for them. Thisimp2010-03-291-1/+1
| | | | should get them into the universe rotation.
* Go ahead and add USB support to the generic config.imp2010-03-141-3/+4
|
* Add bpf and random to Octeon configurations, since they're needed to runjmallett2010-03-112-0/+4
| | | | | | dhclient and ssh respectively. Reviewed by: imp
* Get rid of unused options: KERNPHYSADDR, KERNVIRTADDR, PHYSADDR, PHYS_ADDR_64BITneel2010-02-208-13/+0
| | | | Discussed with: gonzo, imp
* Adjust style (following the already existing rules) for the newlyattilio2010-02-1511-11/+11
| | | | | | introduced option DEADLKRES. Reported by: danfe, julian, avg
* Remove the PCI_IOSPACE_SIZE and PCI_IOSPACE_ADDR hack from nexus.c. Implementneel2010-02-121-3/+0
| | | | | | | | | this in the Sibyte PCI hostbridge driver instead. The nexus driver sees resource allocation requests for memory and irq resources only. These are legitimate resources on all MIPS platforms. Suggested by: imp
* Add the options DEADLKRES (introducing the deadlock resolver thread) inattilio2010-02-1012-0/+12
| | | | | | | | | | the 'debugging' section of any HEAD kernel and enable for the mainstream ones, excluding the embedded architectures. It may, of course, enabled on a case-by-case basis. Sponsored by: Sandvine Incorporated Requested by: emaste Discussed with: kib
* SMP support for the mips port.neel2010-02-091-0/+7
| | | | | | | The platform that supports SMP currently is a SWARM with a dual-core Sibyte processor. The kernel config file to use is SWARM_SMP. Reviewed by: imp, rrs
* Compile SWARM with KTRACE support.neel2010-02-041-0/+2
|
* Comment out any reference to ALCHEMY.hints until it's committed, to unbreakcognet2010-01-281-1/+1
| | | | | | make universe. Spotted out by: gahr
* Make a note that this file is the 64-bit version and experimental andimp2010-01-271-0/+7
| | | | point people at the OCTEON1-32 file instead.
* Move back to physical address 0x01000000. 0x00100000 seems to haveimp2010-01-271-2/+2
| | | | problems sometimes for reasons I haven't tracked down.
* My current conf, that comes up butrrs2010-01-261-6/+5
| | | | | | | | locks up in make buildworld. You need to follow the mips wiki for building the nfs partition and setup things to mount there (in the conf and in your bootp setup).
* Fix device name for root....imp2010-01-251-4/+2
| | | | | Indent rgmii correctly. Remove stale comments.
* - Add driver for PCF2123, SPI real time clock/calendargonzo2010-01-221-0/+6
|
* Remove some irrelevant commented out make options.imp2010-01-221-4/+0
|
* make note of the nonsensical nature of the values in this hints file.imp2010-01-221-5/+5
|
* Move the examples for the 'hints' and 'env' keywords from various GENERICjhb2010-01-191-2/+0
| | | | | | kernel configs into NOTES. Reviewed by: imp
* Place proper svn:keywords tag on all these files. They were createdimp2010-01-121-1/+1
| | | | | | | somehow without them on projects/mips, and that mistake was propigated over to head. Submitted by: rpaulo@
* Add a regular comment explaining what this file is.rpaulo2010-01-121-0/+2
|
* Fix svn properties and remove a P4 keyword.rpaulo2010-01-121-1/+1
|
* Cope with the octeon1->cavium move.imp2010-01-112-2/+2
|
* Merge from projects/mips to head by hand:imp2010-01-102-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think these are the relevant changes, but definitely are a superset of them. Software archaeologists are invited to check the branch itself for the details. r199695 | imp | 2009-11-23 00:49:50 -0700 (Mon, 23 Nov 2009) | 2 lines Specify loader script and load address r198263 | neel | 2009-10-19 22:31:20 -0600 (Mon, 19 Oct 2009) | 7 lines The default KERNLOADADDR does not work on MALTA hardware. On my platform the "First free SDRAM address" reported by YAMON is 0x800b6e61. So use a conservative KERNLOADADDR of 0x80100000. Approved by: imp (mentor) r194163 | imp | 2009-06-14 00:12:21 -0600 (Sun, 14 Jun 2009) | 2 lines Kludge: pretend to be ISA_MIPS32 for the moment. r192864 | gonzo | 2009-05-26 16:40:12 -0600 (Tue, 26 May 2009) | 4 lines - Replace CPU_NOFPU and SOFTFLOAT options with CPU_FPU. By default we assume that there is no FPU, because majority of SoC does not have it. r187461 | gonzo | 2009-01-19 21:24:03 -0700 (Mon, 19 Jan 2009) | 3 lines - KERNLOADADDR should be defined with makeoption. Redboot loads kernel now r187418 | gonzo | 2009-01-18 19:37:10 -0700 (Sun, 18 Jan 2009) | 4 lines - Add trampoline stuff for bootloaders that do not support ELF - Replace arm'ish KERNPHYSADDR/KERNVIRTADDR with KERNLOADADDR/TRAMPLOADADDR and clean configs
* Merge from projects/mips to head by hand:imp2010-01-101-0/+66
|\ | | | | | | ALCHEMY config file.
* \ Merge from projects/mips to head by hand:imp2010-01-091-0/+72
|\ \ | |/ | | | | Copy over MALTA64, the 64-bit varianat of the malta board...
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+160
|\ \ | |/ | | | | Copy over XLR kernel config file.
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+90
|\ \ | |/ | | | | Copy over the OCTEON1 kernel config file. This is the 64-bit version.
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+13
|\ \ | |/ | | | | Copy over OCTEON1.hints file.
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+92
|\ \ | |/ | | | | | | Copy over OCTEON1-32 file: the 32-bit variant of the octeon kernel config file.
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+59
|\ \ | |/ | | | | Copy over AR71XX.hints file.
* | Merge from projects/mips to head by hand:imp2010-01-091-0/+86
|\ \ | |/ | | | | Copy over the AR71XX config file.
* | Merge from projects/mips to head by hand.imp2010-01-091-0/+17
|\ \ | |/ | | | | Copy over the SWARM.hints file.
* | Merge from pprojects/mips to head by hand.imp2010-01-091-0/+81
|\ \ | |/ | | | | Copy over the SWARM config file.
| * Should have been copied frmo OCTEON.hints, but I botched that, soimp2009-12-151-0/+13
| | | | | | | | | | we're stuck with this. Given that this branch will soon be merged and retired, I don't think it matters much.
| * This file is OBE and should have been removed when we renamed thingsimp2009-11-261-13/+0
| | | | | | | | | | | | to OCTEON1.hints. Submitted by: jmallet
| * Include opt_cputype.h for all .c and .S files referencing TARGET_OCTEON.imp2009-11-241-1/+1
| | | | | | | | | | | | | | Spell ld script name right. # for the most part, we need to enhance infrastructure to obviate the need # for such an intrusive option.
| * Get rid of redundant .kernel in these names.imp2009-11-242-3/+4
| |
| * Specify loader script and load addressimp2009-11-231-0/+2
| |
OpenPOWER on IntegriCloud