Warner Losh
406be9ffb1
Hmmm, somehow this file was completely deleted, rather than just
...
having the bogus lines being removed.
2012-08-16 04:53:30 +00:00
Warner Losh
bc41a42d6b
Remove unused hints.
2012-08-16 04:49:23 +00:00
Oleksandr Tymoshenko
cf0df2b399
Unbreak build for the rest of AT91 platforms
2012-08-15 18:33:58 +00:00
Jakub Wojciech Klama
9b9bddf7c8
Switch lpc initarm() to use struct arm_boot_params and therefore fix
...
EA3250 kernel build.
Approved by: gonzo
2012-08-15 18:18:29 +00:00
Oleksandr Tymoshenko
b208396ea3
Unbreak ATMEL kernel build
2012-08-15 08:34:31 +00:00
Oleksandr Tymoshenko
d3b496875a
Specify architecture for assembler
2012-08-15 07:00:34 +00:00
Oleksandr Tymoshenko
e53470fee3
Merging of projects/armv6, part 10
...
- Support for Texas Instruments SoCs:
- AM335x
- OMAP4
- Kernel configs, DTS for Beaglebone and Pandaboard
Submitted by: Ben Gray, Damjan Marion
2012-08-15 06:31:32 +00:00
Oleksandr Tymoshenko
9dfe4a1fa4
Merging of projects/armv6, part 9
...
Very basic support for Nvidia Tegra2: timer, interrupts, UART.
Submitted by: Damjan Marion <dmarion@freebsd.org>
2012-08-15 06:06:43 +00:00
Oleksandr Tymoshenko
7a8988194d
Merging of projects/armv6, intermission
...
Add configs missed in previous commits:
- ARMADA XP
- Embedded Artists EA3250
2012-08-15 05:55:16 +00:00
Oleksandr Tymoshenko
8dee0fd04c
Merging of projects/armv6, part 8
...
r235162:
Initial LPC32x0 support. Includes DTS file for Embedded Artists EA3250
board.
Peripherals currently supported:
- Serial ports
- Interrupt controller
- Timers
- Ethernet
- USB host
- Framebuffer (in conjunction with SSD1289 LCD controller)
- RTC
- SPI
- GPIO
Submitted by: Jakub Wojciech Klama <jceel@freebsd.org>
2012-08-15 05:37:10 +00:00
Oleksandr Tymoshenko
16694521fe
Merging of projects/armv6, part 7
...
Add Marvell ARMADA XP support
Obtained from: Marvell, Semihalf
2012-08-15 05:15:49 +00:00
Oleksandr Tymoshenko
cf1a573f04
Merging projects/armv6, part 1
...
Cummulative patch of changes that are not vendor-specific:
- ARMv6 and ARMv7 architecture support
- ARM SMP support
- VFP/Neon support
- ARM Generic Interrupt Controller driver
- Simplification of startup code for all platforms
2012-08-15 03:03:03 +00:00
Andrew Turner
d2a3296d1a
Move the decoding of the swi instruction to the syscall function. With the
...
ARM EABI the syscall value will be moved to a register to ease adding thumb
support. When this happens decoding of the instruction will no longer be
required.
2012-08-11 05:58:56 +00:00
Warner Losh
56c265f2f9
Correct the PLLA setting functions and centralize.
2012-08-11 05:45:19 +00:00
Warner Losh
bcc1a5425a
Update comments about setting PLLA and refernce the tables in the
...
datasheet that express the limits.
2012-08-11 05:12:46 +00:00
Warner Losh
19b89339dc
Don't use C++ comments.
2012-08-11 05:03:30 +00:00
Warner Losh
cb8b429ed3
More comments about setting PLLA, or rather that we never do.
2012-08-10 04:48:06 +00:00
Warner Losh
e2af3b9a86
Add charge pump current register.
2012-08-10 04:47:20 +00:00
Konstantin Belousov
1c771f9222
After the PHYS_TO_VM_PAGE() function was de-inlined, the main reason
...
to pull vm_param.h was removed. Other big dependency of vm_page.h on
vm_param.h are PA_LOCK* definitions, which are only needed for
in-kernel code, because modules use KBI-safe functions to lock the
pages.
Stop including vm_param.h into vm_page.h. Include vm_param.h
explicitely for the kernel code which needs it.
Suggested and reviewed by: alc
MFC after: 2 weeks
2012-08-05 14:11:42 +00:00
Andrew Turner
c75943da26
Correctly return EFAULT in copyin & copyout on a fault. This fixes NFS
...
when running FreeBSD on QEMU emulating a Gumstix board.
While here remove the use of a magic number in the not-XScale version.
Pointed out by: kib
Reviewed by: stas
2012-08-04 05:38:25 +00:00
Andrew Turner
bfba812656
Ensure we align the stack to 8 bytes in system calls.
...
This is not strictly required with the current ABI but will be when we
switch to the ARM EABI. The aapcs requires the stack to be 4 byte aligned
at all times and 8 byte aligned when calling a public subroutine where the
current ABI only requires sp to be a multiple of 4.
2012-08-04 05:31:26 +00:00
Warner Losh
adebcba798
Prefer ate over macb. macb doesn't work anymore, and ate has more
...
errata workarounds in it.
2012-07-31 19:41:12 +00:00
Warner Losh
8203a40e4d
Note about where we can boot this.
2012-07-31 19:39:21 +00:00
Warner Losh
679d446fde
Allow chip selects other than 0. The SAM9260EK board
...
has its dataflash on CS1.
2012-07-31 19:14:22 +00:00
Warner Losh
1d35c178d8
macb doesn't work, switch to ate.
2012-07-31 04:09:27 +00:00
Warner Losh
336a1fd275
These files will support the whole at91sam9x5 family when done,
...
so rename them now before they get copied further afield...
2012-07-30 21:30:43 +00:00
Warner Losh
29b71fbb75
List the members of the AT91SAM9G45 family.
2012-07-30 21:19:19 +00:00
Warner Losh
3ab2f2eb3e
Fix a couple of comments about the rm9200, and fix a couple of indentation
...
issues. Add note that we need to implement at91sam9260 erratum workaround.
2012-07-30 06:00:31 +00:00
Warner Losh
9a5d82ab30
Commit the dci (gadget) support to the one ATMEL kernel config where
...
it might actually work.
2012-07-29 04:28:29 +00:00
Warner Losh
efd53ca820
Add usb_template for the gadget support. Even though this isn't a
...
bootable kernel, its config will likely be copied to places that are.
Submitted by: Hans Petter Selasky
2012-07-29 04:26:24 +00:00
Hiroki Sato
c8953e1273
Add support for Marvell 88F6282.
...
Sponsored by: Plat'Home, Co.,Ltd.
2012-07-28 21:56:24 +00:00
Warner Losh
fe1557c11c
Add gadget devices. Not yet added to the child lists, but here to
...
keep things from bit-rotting.
2012-07-27 17:32:01 +00:00
Warner Losh
6ecf8b7749
Add the usb device (gadget) side of things. Also add ehci bindings
...
while I'm here in anticipation of usb2 support for newer SoCs.
Requested by: Hans Petter Selasky
2012-07-27 17:31:19 +00:00
Warner Losh
43d1af0df3
Neither of these systems has PCI, but they do have ohci interface, so
...
fix comments.
2012-07-27 17:07:54 +00:00
Warner Losh
954bfb8bbf
Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel.
...
Adapt SN9G45 board support to cope with multi-board.
2012-07-27 16:38:02 +00:00
Warner Losh
0ff8c4269b
Document the dataflash/mmc-sd issue. Add umass driver and usb. Boot
...
off da0s1a instead of ate0. Note that MMC/SD is slot B. Until I
switch over to NAND boot, dataflash booting will preclude having SD
cards inserted at boot, so this last bit is untested.
My SAM9260-EK not boots to multi-user prompt.
2012-07-27 05:37:01 +00:00
Warner Losh
e69d4e1fbd
Turns out the ETHERNUT5 isn't anything like the SAM9260-EK. Make this
...
board init match better: UART1 instead of UART2, No RMMI, no SPI0, SPI1
comments.
2012-07-27 05:33:55 +00:00
Warner Losh
5880116cbf
Add (back?) ohci atmel attachment.
2012-07-27 05:28:02 +00:00
Warner Losh
bed6d97e74
Trim read/write sizes to 128 bytes. Pages are only 128 bytes in size.
...
Writes larger than this will wrap to the same page. Reads larger than
this are permitted, but why take chances.
2012-07-26 16:34:21 +00:00
Andrew Turner
aaa1966f6b
Add support for the DesignA Electronics Snapper9g45 System on Module.
...
Reviewed by: imp
2012-07-26 08:05:28 +00:00
Andrew Turner
25d95ee2cc
Add support for the Atmel AT91SAM9G45 CPU.
...
Reviewed by: imp
2012-07-26 08:01:25 +00:00
Warner Losh
045da1cf0e
Some models have 6 USARTS + DBGU. Set a consistent name.
2012-07-26 05:46:56 +00:00
Warner Losh
1665e3cdfe
Fix typo in comment.
...
spibus uses cs= rather than addr=, so fix hints to use that (nop since
spibus cs defaults to 0, and at91_spi assumes 0).
2012-07-26 05:37:36 +00:00
Warner Losh
d68081b0b1
Update partitions to reflect "sam9 demo" defaults.
...
Update i2c devices to just include the eeprom.
Update dataflash chip select to be CS 1 (this doesn't work yet and
needs changes to at91_spi and the spibus infrastructure).
Fix typo in comment.
2012-07-26 05:35:10 +00:00
Oleksandr Tymoshenko
86bce74937
Move unmask IRQ function call up to nexus device level.
...
FDT-enabled targets were broken after r238043 that relies
on device up the hierarchy to properly setup interrupt.
nexus device for ARM platforms did job only partially:
setting handler but not unmasking interrupt. Unmasking
was performed by platform code.
Reviewed by: andrew@
2012-07-17 03:18:12 +00:00
Warner Losh
17fda71d9f
These were never used, remove them.
2012-07-15 06:08:11 +00:00
Warner Losh
eac2306319
Configure the peripheral pins for MCI devices. Eliminate the now-unused
...
at91_pio_rm9200.h.
2012-07-15 05:41:43 +00:00
Warner Losh
f5dca533c2
Add preliminary support for Atmel SAM9260-EK evaluation kit.
...
Initially identical to the Ethernut5, but will diverge shortly before
I refactor...
2012-07-14 06:13:23 +00:00
Warner Losh
2f35297b24
uboot should be telling us it is an ETHERNUT5 for this board. Tag it
...
as such.
2012-07-14 06:00:37 +00:00
Warner Losh
a81c202d81
Create common routines for configuring the serial ports and use them
...
on all the at91rm9200 boards.
2012-07-14 05:46:52 +00:00