thorpej
62a064e24e
Bump initial kernel PTs to 4.
2003-09-09 20:42:38 +00:00
rearnsha
5d78bf50ac
ANSIfy.
2003-09-06 13:34:29 +00:00
rearnsha
81594136ec
irqhandler.h and related baggage now obsolete.
2003-09-06 13:01:29 +00:00
rearnsha
3a05158011
Remove include of ifpga/irqhandler.h.
2003-09-06 12:58:48 +00:00
rearnsha
9066202e72
Delete GENASSYM_EXTRAS.
2003-09-06 12:57:22 +00:00
rearnsha
b548db6846
Obsolete.
2003-09-06 12:36:29 +00:00
rearnsha
8395e3535e
config option is now CPU_ARM10.
2003-09-06 11:41:11 +00:00
rearnsha
256da36a1c
Switch to using generic soft interrupts.
2003-09-06 11:31:20 +00:00
rearnsha
fec013d595
Fix incorrect definition of IFPGA_SC_LBFCODE_BEN1 and missing
...
definition of IFPGA_SC_LBFCODE_BEN0.
Add definitions for unused interrupt bits and a suitable mask (preparation
for switch to generic soft-ints code).
2003-09-06 11:27:01 +00:00
rearnsha
333d22f36e
Fix handling large values of delay when the timer might wrap.
2003-09-06 11:21:44 +00:00
rearnsha
7c9aacc774
Add bouncing support
2003-09-06 11:12:53 +00:00
rearnsha
a25a2641d9
General cleanups of the bootstrap code
2003-09-06 10:57:12 +00:00
rearnsha
b867034038
When an Integrator board has less than 256M of SDRAM fitted, the
...
memory that is "obscured" by the SSRAM is visible at a wrapped address.
So we can use the full amount of SDRAM in almost all cases.
2003-09-06 10:28:26 +00:00
rearnsha
15f5c8f7db
Remove a verbose-boot message that kills the bootstrap (since the
...
console port mapping has just been moved).
2003-09-06 10:21:19 +00:00
rearnsha
0663dd6d22
The third argument to pmap_map_chunk is the pa not the va.
2003-09-06 10:18:07 +00:00
rearnsha
20b73e2b48
Add a flags field to _PhysMem structure so that we can describe
...
attributes of memory regions (BOOT_DRAM_CAN_DMA, BOOT_DRAM_PREFER).
Rearrange order of BootConfig members so that the describing how many
dram regions we have preceeds the descriptions of each region.
2003-09-06 10:08:13 +00:00
rearnsha
d35277ea35
Default all builds to not have debug information. Significantly
...
reduces disk space needed for a make release, especially if using
dwarf2 debug.
2003-09-06 10:00:51 +00:00
mycroft
9b3ff19873
Whoops, reenable some stuff.
2003-09-03 03:19:04 +00:00
mycroft
7929022703
Add gzboot support for SMDK2410.
2003-09-03 03:18:30 +00:00
mycroft
56cdfe0eab
GC a bogus variable that was causing link failures with PCMCIA.
2003-09-03 03:17:22 +00:00
bsh
43f6db1ea7
support CS8900A ethernet on SMDK2410.
...
XXX: SMDK2410 has no EEPROM connected to CS8900A. Currently the only
way to set MAC address is give it via kernel config option.
2003-08-29 13:54:03 +00:00
bsh
b0c5091bcb
tweak memory controller on startup for CS8900A at CS3 and CL-PD7610 at
...
CS2.
2003-08-29 13:46:38 +00:00
bsh
2a0faa1f10
change CPU clock to 200MHz at kernel startup.
2003-08-29 12:42:13 +00:00
bsh
e979aaa6ea
add option SMDK2XX0_CLOCK_CONFIG to change CPU clock at kernel startup.
2003-08-29 12:41:12 +00:00
bsh
1f218a14c4
fix a comment.
2003-08-29 12:07:33 +00:00
bsh
13543d215c
move some definitions of register block size from s3c24[10]0reg.h
...
to s3c24x0reg.h when they are same for S3C2410 and 2400, and rename them as
S3C24X0_FOO_SIZE.
2003-08-27 03:46:05 +00:00
bsh
e1cdd07843
use CLZ insn to find a pending interrupt.
2003-08-12 08:24:04 +00:00
bsh
7061f16abb
enable LCD, PCMCIA, CF and PS/2 keyboard.
2003-08-09 19:41:44 +00:00
bsh
eab266e671
add following drivers for Intel Lubbock.
...
LCD
on-board SA-1111 companion chip
PCMCIA/CF slots
2003-08-09 19:38:53 +00:00
bsh
d1e6225495
add lubbock_pcic.c
2003-08-08 00:11:21 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
bsh
b5fd93af20
add and enable USB devices. I've so far tested floppy and CD-R drives,
...
mice, and smartmedia card readers.
2003-08-05 11:36:14 +00:00
bsh
4060e862f4
add s3c2xx0_bus_dma_init() which is called by s3c2410_attach().
...
add a variable wdcdebug_wd_mask for a temporary workaround to the link
error when umass is configured in SMDK2410 kernel. I'll re-visit this
later.
2003-08-05 11:32:35 +00:00
bsh
490a557f57
disable interrupts at the beginning.
2003-08-04 12:38:57 +00:00
bsh
3bcf928aaa
don't be too verbose unless VERBOSE_INIT_ARM is defined.
2003-08-04 12:37:43 +00:00
bsh
388f0338ac
option SSCOM_S3C2800 is needed for S3C2800 based platforms.
2003-08-04 12:35:51 +00:00
bsh
18fca6b097
an arg of s3c2800_clk_freq() has been changed to match with
...
s3c24x0_clk_freq().
2003-08-03 14:11:16 +00:00
bsh
e5df2a7bb7
delete my private hack sneaked into previous commit.
2003-08-01 01:01:37 +00:00
bsh
3a51a1be48
move KERNEL_BASE_PHYS from mk.smdk2xx0 to std.smdk2800, to share
...
mk.smdk2xx0 with SMDK2410.
2003-07-31 20:25:28 +00:00
bsh
76df5f270b
the first cut for Samsung SMDK2410 support.
...
It is an evaluation board for S3C2410.
XXX: not tested much yet.
XXX: smdk2410_machdep.c and smdk2410_start.S are almost identical
to SMDK2800's. One day I'll merge them.
2003-07-31 20:11:45 +00:00
he
5b3551df93
Initialize one more arm32_bus_dma_tag's _cookie to NULL.
2003-07-31 17:51:09 +00:00
bsh
7fc9d147bb
gzboot for SMDK2800.
2003-07-30 18:54:18 +00:00
bsh
caf245db80
make this compile again. (arm32_bus_dma_tag._cookie)
2003-07-30 18:17:16 +00:00
thorpej
472c98cf7a
Fix think'o in last. Pointed out by Izumi Tsutsui.
2003-07-27 04:52:28 +00:00
thorpej
ca601a7747
Flesh out inittodr() and resettodr().
2003-07-26 05:51:11 +00:00
briggs
ed5f36a260
Deal with case where __data_store == _edata.
2003-07-22 04:57:24 +00:00
lukem
08716eae82
__KERNEL_RCSID()
2003-07-15 00:24:37 +00:00
igy
cdb56b83f6
mapping pci configuration space (not subregion)
2003-07-13 07:15:22 +00:00
igy
1087696257
using common bus_space_tag in ixpsip too
2003-07-13 02:48:41 +00:00
igy
2a9dfe7684
using devmap for static mapping
2003-07-13 01:01:50 +00:00
thorpej
69d5b64f8a
Do an splhigh() before doing splserial(), in the event that
...
serial isn't actually higher than high.
2003-07-04 00:37:23 +00:00
thorpej
483fad3a3b
Use splserial() instead of splhigh() to block interrupt during
...
autoconfiguration. XXX We really need an splextreme() for when
we really mean "block everything".
2003-07-04 00:34:48 +00:00
thorpej
5432dacfcb
Provide a hook for board-specific code to register a device_register()
...
function.
2003-07-04 00:33:20 +00:00
ichiro
38e0b1c5c5
use struct pmap_devmap
2003-07-02 11:02:28 +00:00
thorpej
b4031f0a49
Go to splhigh() before doing autoconfiguration.
2003-06-30 15:17:11 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
bsh
dd27d238b6
MD part for Intel Lubbock (DBPXA250).
...
built-in UART and on-board ethernet are supported for now.
LCD, PCMCIA, CF, PS/2, AC97 will follow shortly.
2003-06-18 10:51:15 +00:00
bsh
73635ffe34
use PMAP_DOMAIN_KERNEL and DOMAIN_CLIENT instead of magic numbers.
2003-06-18 03:17:49 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
thorpej
bd370c9c04
Give every obio implementation a size and width locator.
2003-06-16 17:40:49 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej
998f8a71ed
Add an optional "width" locator to the obio bus, specifying the
...
bus width of the device.
2003-06-15 19:03:46 +00:00
thorpej
05d2fb4399
Use the new pmap_devmap facility in the on-board device mapping code.
2003-06-15 18:43:48 +00:00
thorpej
87d5bba5b3
Replace the ad-hoc "section mapping table" for static device mappings
...
with a more generic "devmap" structure that can also handle mappings
made with large and small pages. Add new pmap routines to enter these
mappings during bootstrap (and "remember" the devmap), and routines to
look up the static mappings once the kernel is running.
2003-06-15 17:45:21 +00:00
thorpej
d35db0b328
Garbage-collect some unused code.
2003-06-15 17:33:45 +00:00
thorpej
0ab88570d0
Use CPUFLAGS rather than COPTS to pass -mcpu=xscale.
2003-06-14 19:32:54 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
ichiro
ff3a6a2721
add unit index of uart
2003-06-01 01:52:40 +00:00
ichiro
4d110df451
add console unit number to configuration parameter.
...
move structure of uart information
2003-06-01 01:49:56 +00:00
ichiro
a52b2549e2
print description of Console and enable ixpcom0/1 in configuration
2003-05-31 23:57:45 +00:00
thorpej
9843692f24
Correct interrupt mapping when a device with a PCI-PCI bridge is
...
plugged into the PCI-X slot.
2003-05-31 22:35:04 +00:00
ichiro
081a8ed553
led support for IXDP425/ZAO425
2003-05-31 01:16:31 +00:00
thorpej
eaf50189f3
Don't build a big-endian image on platforms which don't run big-endian.
2003-05-26 15:17:38 +00:00
thorpej
5f03eb91bb
Don't set the output format explicitly; let the linker use its defaults.
2003-05-26 15:07:53 +00:00
ichiro
97106736c6
add IXDP425 PCI interrupt
...
fix some typo
2003-05-24 01:59:32 +00:00
ichiro
9b42bcea42
fix kernel base address
...
delete offset of elf header 0x100
so we use binary kernel(netbsd.bin)
2003-05-24 01:55:56 +00:00
thorpej
539c89a0c4
Add ksyms.
2003-05-23 14:23:46 +00:00
ichiro
a735a14d5a
delete unused definition
2003-05-23 09:38:05 +00:00
ichiro
6c281fafc6
remove definition of debug
2003-05-23 09:34:42 +00:00
briggs
5ce8e50a2e
Need aprint_naive() with aprint_normal() change. Thanks, Jason.
2003-05-23 05:47:11 +00:00
briggs
56debc31d7
printf -> aprint_normal
2003-05-23 05:42:05 +00:00
ichiro
00eb02e3da
support IXP425 Intel Network Processor
...
running on BigEndian
2003-05-23 00:57:23 +00:00
thorpej
181911c6db
Don't need ARM32_PMAP_NEW option any more.
2003-05-22 05:52:18 +00:00
thorpej
d5bcde54a7
Move KERNEL_VM_SIZE into the C files where its used.
2003-05-22 05:47:04 +00:00
thorpej
1963a8521c
Use virtual_avail and virtual_end to compute the size of the available
...
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.
2003-05-22 05:25:48 +00:00
thorpej
361d0454ce
Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
2003-05-21 22:48:20 +00:00
briggs
15f4f9e27a
Make sure we call becc_calibrate_delay() _after_ becc_vaddr is set up.
...
It happens to work otherwise when RedBoot leaves the timer running for us.
2003-05-21 02:38:29 +00:00
thorpej
55f89430cf
Decrease the verbosity level unless VERBOSE_INIT_ARM is defiend.
2003-05-17 23:46:59 +00:00
thorpej
6c3da825c3
Use aprint_normal() to report the boot device.
2003-05-17 22:18:28 +00:00
bsh
a710e1b34a
SMDK2800 has a 6MHz X'tal.
...
comment out memory disk options.
2003-05-16 08:11:36 +00:00
thorpej
5b9c2e6257
Add support for the Intel IQ31244 reference board, based on the i80321
...
I/O processor and the i31244 PCI-X S-ATA controller.
The IQ31244 is almost identical to the IQ80321, from software's
perspective, so we share much of the code.
2003-05-14 21:41:31 +00:00
thorpej
fb149b56a8
Move the 7-segment display definitions into the C file.
2003-05-14 19:46:39 +00:00
bsh
2ca26eeaed
+ use system's real PCLK frequency for source clock of sscom's
...
baudrate, instead of a compile time constant.
+ simplify bootstrap_bs_map() by mapping all built-in peripheral
registers at start.
+ check SW3 and SW7 and toggle RB_SINGLE and RB_KDB in boothowto if
pressed.
2003-05-13 08:30:33 +00:00
bsh
2fd99ae3e7
white space nit.
2003-05-13 04:53:25 +00:00
bsh
87a703eac0
enable the domain 15 during bootstrap, as new pmap_map_section() use it.
2003-05-13 04:20:39 +00:00
bsh
d3681dec8c
Build our own page table which is used during bootstrap, instead of
...
reusing the table prepared by the monitor program on ROM.
This will allow the kernel booted by gzboot at reset vector.
2003-05-09 16:25:46 +00:00
he
4e26b71f48
Remove declaration of unused local variable: kernel_ptpt.
2003-05-05 13:29:44 +00:00
igy
f97f3c0df9
code cleanup
2003-05-05 04:34:48 +00:00
igy
a1b8c84497
using high vector page
2003-05-05 04:23:26 +00:00
thorpej
bbba90a2fb
Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
...
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
2003-05-03 18:25:28 +00:00