Commit Graph

57445 Commits

Author SHA1 Message Date
skrll
ee29566c11 Add attempt at KGDB support from Reiound. I couldn't get gdb to attach
properly, but the kernel was definitely in kgdb_trap and would respond
to $?#3f if typed via tip(1)
2013-05-11 14:19:44 +00:00
isaki
f01440c2cd Revise the algorithm after Step3.
almost written by Y.Sugahara and minor modify by me.
This works for all input of FMOD/FREM and of course solves PR/47810.
2013-05-11 12:52:42 +00:00
skrll
0689800254 Fix !DDB build. 2013-05-11 10:15:43 +00:00
skrll
76df768b4e Include opt_{ddb,kgdb} and fix KGDB build 2013-05-11 10:15:10 +00:00
kiyohara
6225151d7d Add extern. 2013-05-11 08:31:32 +00:00
skrll
190a0d435c Fix up the VCONS_DRAW_INTR support and DDB.
From reinoud.
2013-05-11 07:42:34 +00:00
skrll
58f97d344a Move pmf_system_shutdown earlier and ensure interrupts are enabled. 2013-05-11 07:38:42 +00:00
skrll
a4f278c933 Whitespace 2013-05-11 07:35:58 +00:00
tsutsui
f1c10c7125 Enable cd at scsibus, just works on LUNA-II. 2013-05-10 16:30:50 +00:00
matt
922643297e Move #define __HAVE_OLD_DISKLABEL to <arm/types.h> 2013-05-07 23:01:55 +00:00
matt
c16586211c Make all ports use a common disklabel.h with MAXPARTITIONS set to 16.
Only RAW_PART varies between ports.
2013-05-07 20:42:45 +00:00
skrll
0b096ffc27 Enable putter. Shoot me now. 2013-05-07 20:11:54 +00:00
matt
5de99098a2 Fix probing error on BBONE due to wrong value being used in u-boot to
program the DDR controller.
2013-05-06 23:12:53 +00:00
khorben
d5e81cb201 Added two drivers for the Nokia N900 smartphone, n900_audjck(4) and
n900_prxmty(4), to detect the insertion of audio jacks and obstruction of
the front light sensor, respectively.

Tested on my own device.
2013-05-06 22:56:54 +00:00
khorben
3149787de4 Boot on the MicroSD card slot by default.
Tested on my Nokia N900 smartphone. This is the only way currently
supported on this device at the moment anyway (that I know of).
2013-05-06 22:49:27 +00:00
rkujawa
22ece21cc4 s/i2C2_SCL/I2C2_SCL/ 2013-05-06 18:53:40 +00:00
isaki
388a353677 R := X even if L < 0 in Step2, according to algorithm of the comment.
This solves many cases of |X| < |Y|.
2013-05-05 13:25:20 +00:00
isaki
283cf893ef Rename modrem -> is_mod for a readability. 2013-05-05 13:17:15 +00:00
skrll
64cba60a53 Sprinkle cnpollc for correct (usb) keyboard handling. 2013-05-05 10:30:21 +00:00
jakllsch
bed2984a0b Enable file-system EXT2FS. 2013-05-03 15:46:53 +00:00
jakllsch
8cf4682dc7 Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
GENERIC. sdhc(4) has had working detach support for a while now too.
2013-05-03 15:45:24 +00:00
jakllsch
fb9266188c use IO_VGA as symbolic constant for 0x3c0 in x86_genfb_set_mapreg() 2013-05-03 15:42:29 +00:00
kiyohara
9d06634d8c Add description for epoc32. 2013-05-02 12:09:40 +00:00
matt
5695f408d6 use KLINK_MACHINE 2013-05-02 04:22:44 +00:00
matt
5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
matt
3b8856a9cc Cleanup.
bsd.init.mk include ../Machine.inc so don't do it again.
For now, restrict this to epoc32 because of the external tools needed
2013-05-01 22:57:37 +00:00
matt
0d1154fda7 Fix abi/arch/float-abi for boot code
Force machine to be acorn26
Only build when little-endian non-eabi
2013-05-01 22:36:52 +00:00
matt
909d4efb97 Fix abi/arch/float-abi so can be built from any arm port.
Force MACHINE to acorn32
Only build little-endian non-earm.
2013-05-01 22:30:39 +00:00
matt
b9022c47e4 Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
2013-05-01 22:16:15 +00:00
macallan
10afb9e227 add G5 support
from Phileas Fogg
2013-05-01 14:24:48 +00:00
kiyohara
4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
rkujawa
d625d3f379 Add Armada XP specific IDs and registers.
Obtained from Marvell, Semihalf.
2013-05-01 12:51:27 +00:00
rkujawa
f6e8c1845d Add support for timers on Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:45:31 +00:00
rkujawa
0713245bb7 Handle situations where we can have more pexes, like Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:38:06 +00:00
rkujawa
a0613ffa11 Add register definitions for Aramada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:34:45 +00:00
rkujawa
c370465bf5 Handle differences for Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:32:46 +00:00
matt
282003e05c Use the common Makefile to pick up includes needed to be done by every
arm port.
2013-05-01 12:02:55 +00:00
matt
e08bec562f Pickup fenv.h from a common location since it's only used from userland
and the kernel will never include it.
2013-05-01 12:01:55 +00:00
matt
afd09cfbe6 Add a default arm32 vmparam.h 2013-05-01 12:00:51 +00:00
mlelstv
c2b23d53a6 For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
2013-05-01 07:38:00 +00:00
mlelstv
9af7d72b34 Fix prototype 2013-05-01 07:33:24 +00:00
macallan
04a1b8ca72 zero sc_iot and sc_memt before using them
from Phileas Fogg
while there, set sc_dev properly
2013-04-30 10:16:25 +00:00
matt
da73339b7d for the TI AM335x, use the control_status register in the control module
to obtain the base frequency instead of assuming it's always 24MHz.
2013-04-30 05:39:44 +00:00
matt
cc2f927a81 Add minimal definition for control module control status register to obtain
the base frequency used for the system clock.
2013-04-30 05:37:51 +00:00
matt
dc8e848df6 comment out MEMSIZE (now that we probe memory size)
Add second sdhc controller for beaglebone black
2013-04-30 00:26:19 +00:00
matt
df03fab40e Map EMIF0 for TIAM335X and use to probe memory size. 2013-04-30 00:18:01 +00:00
matt
5e2db00335 Add TI_AM335x EMIF SDRAM_CONFIG definitions 2013-04-30 00:17:24 +00:00
kiyohara
ae7a7c18bb Add some defines for epoc32. 2013-04-29 12:47:14 +00:00
nakayama
aa19dc536d Use macros in machine/asm.h instead of locally defined, and
introduce CASPTRA for casxa/casa.
2013-04-28 23:42:23 +00:00
isaki
7e67d439af Fix a kernel panic by printf(1).
The 2nd byte of ISO-2022-JP must be 0x21-0x7e.  Especially,
the character code less than 0x2121 causes SEGV, because a
font address points outside of the CGROM.
Reported by tsutsui@.  Should be pulled up to netbsd-6.
2013-04-28 14:44:46 +00:00