Commit Graph

56778 Commits

Author SHA1 Message Date
matt 86328521b1 Map all of RAM. 2012-12-12 02:42:25 +00:00
matt b92ca3f87e Add ukphy for axe 2012-12-12 01:05:10 +00:00
matt ba20058f33 Disable omapfb/wsdisplay until they stop stealing the console
Enable EHCI and devices.
2012-12-12 00:39:41 +00:00
matt 1153693c28 Improved USB EHCI support OMAP3 variants.
From jmcneill.
2012-12-12 00:33:45 +00:00
matt 98ebdb3421 Enable direct-mapped poolpages if __HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined. 2012-12-12 00:29:17 +00:00
matt e6ee18da2a Add -mfpu=vfp to CPUFLAGS 2012-12-12 00:05:05 +00:00
matt 37ae74c20a Add options __HAVE_MM_MD_DIRECT_MAPPED_PHYS
for BCM5301X, also add SOSEND_NO_LOAN
2012-12-12 00:04:21 +00:00
matt d3ada46e2f Change physical_end to segment_end to avoid shadowing a global. 2012-12-12 00:03:11 +00:00
matt ad978013b0 When initializing the ethernet, make sure the IO_CONTROL_DIRECT IDM register
is set properly.
2012-12-12 00:01:28 +00:00
matt 641883151f Add IO_CONTROL_DIRECT register values. 2012-12-12 00:00:38 +00:00
matt 5c340aed67 Use RET, not bx lr.
Due to evbarm/conf/INTEGRATOR conditional use of pld.
2012-12-11 23:59:18 +00:00
matt 905eecf6c7 Fix C&P bug. 2012-12-11 23:51:34 +00:00
matt 784a6ad142 Don't steal the console by default. 2012-12-11 22:47:40 +00:00
macallan 01002f0e04 different u-boot versions set up the video hardware in different ways, make
sure we can deal with both
2012-12-11 21:57:41 +00:00
riastradh 2db5317f2e Hack up the BEAGLEBONE config and add a BEAGLEBONE_INSTALL.
This is a total mess right now, and BEAGLEBONE_INSTALL isn't useful
except to boot ramdisks for testing, but this hash of a config works
to get my beaglebone booted into sysinst, at least.
2012-12-11 19:29:29 +00:00
riastradh 10e52c1da0 Initial kludgerific attempt at making sdhc work on the AM335x.
There's a timing issue somewhere in the whole sdmmc thing so that
this doesn't actually work without SDMMC_DEBUG or some specially
crafted debugging messages, and the SoC-specific code needs to be
separated out here another way, but it's a little progress.
2012-12-11 19:26:40 +00:00
riastradh 6c00237a82 Detect the AM335x CPU frequency on the beaglebone. 2012-12-11 19:24:38 +00:00
riastradh 572635e572 Hook up all the new AM335x files. 2012-12-11 19:21:05 +00:00
riastradh 7e93cad334 Make the interrupt controller and PRCM critical for the AM335x.
This adds some more crufty #ifdefs to a mess that needs to be
rototilled, but it'll do to make progress for now.
2012-12-11 19:18:56 +00:00
riastradh 460fd6b039 AM335x driver attachment goop for omapdmtimer. 2012-12-11 19:06:23 +00:00
riastradh ef1342fc22 New driver for OMAP-style dual-mode timers, for both v1 and v2 cores. 2012-12-11 19:01:18 +00:00
riastradh f19b5fc52e Implement prcm_module_enable and prcm_module_disable for the AM335x. 2012-12-11 18:53:26 +00:00
riastradh d2477942b2 Export a little more from the omap2 prcm driver.
This is in anticipation of drivers that need to enable (and, for
future power management, perhaps disable) modules on an SoC.  Each
SoC has a different notion of enabling and disabling modules and will
need to implement prcm_module_enable and prcm_module_disable
separately.
2012-12-11 18:51:38 +00:00
macallan e1ecb1c8d7 work around a bug in some (all?) nvidia OF ROMs:
the color! method always changes only the palette registers associated with the
first, usually analog head, even if the monitor in use is on port 2, usually
DVI or ADC.
Don't enable cmap_callback when we find out we're on port 2 of an nvidia card,
that way genfb won't try to use R3G3B2 colours and assume something resembling
an ANSI palette which will at least gives us something usable, as opposed to
black on mostly black.
2012-12-11 03:00:00 +00:00
khorben 89dbf15fc9 Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.

Resulting N900 kernel tested with no visible regression.

<gimpy> go for it
2012-12-11 01:54:41 +00:00
matt bc0ae31576 Add code to patch pmap_{copy,zero}_page_generic to change calls to
b{copy,zero}_page to b{copy,zero}_page_vfp
2012-12-11 01:52:30 +00:00
matt 98a505fe40 Fix c&p error. 2012-12-11 01:51:14 +00:00
matt d37381c8bd Defer configuring children of obio until all obio are attached.
from jmcneill.
2012-12-11 01:33:32 +00:00
matt 3add6f77d8 Optimize pmap_{copy,zerp}_page_generic to understand that when all of memory
is always mapped that you don't have create mappings dynamically.
2012-12-11 01:16:10 +00:00
matt 82296793c8 These contain to just contain bzero_page_vfp and bcopy_page_vfp 2012-12-11 01:13:05 +00:00
chs 9f1c960dcc enable __USE_TOPDOWN_VM. 2012-12-10 16:12:19 +00:00
matt 958910a301 Add b{zero,copy}_page{,_vfp} and physical_end 2012-12-10 08:19:59 +00:00
matt b83b5a89c9 add mm_md_direct_mapped_phys 2012-12-10 08:19:10 +00:00
matt 541e1a1106 Change a KASSERT to a KASSERTMSG 2012-12-10 06:54:23 +00:00
matt b8d7acb128 Add pmap_{copy,zero}_page_vfp 2012-12-10 06:53:52 +00:00
matt a798da9773 if __HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined, make sure mapallmem_p is true. 2012-12-10 06:51:49 +00:00
matt 1ee1fc76a5 Make sure we can deal with VA != PA but still we need to have all of PA mapped. 2012-12-10 06:51:05 +00:00
matt 80269dc9ce add __HAVE_MM_MD_DIRECT_MAPPED_PHYS 2012-12-10 06:50:28 +00:00
matt 01b65f59ed Add VFP_FPEXC_EN 2012-12-10 05:03:42 +00:00
matt 45d82ff1b3 Add -mfpu=vfp since these are arm11 2012-12-10 05:01:43 +00:00
matt 18feae1b06 Add code to use VFP(or Neon) instructions to zero or copy a page via
pmap_zero_page and pmap_copy_page.  (Not hooked into vfp_init yet).
Requires FPU_VFP
2012-12-10 04:58:54 +00:00
dholland a4350943e1 whitespace 2012-12-10 02:03:45 +00:00
matt 18d4b47816 Rename pcb_sp/PCB_SP to pcb_ksp/PCB_KSP so that ipsec.c will compile. 2012-12-10 01:37:30 +00:00
matt e34a352fa4 move inlines into FPU_VFP 2012-12-10 01:35:28 +00:00
jakllsch 5c1c4e1fcf Reflect that this file is now for the x86 ports and not just i386 in comments. 2012-12-09 21:30:02 +00:00
jakllsch dd049cd624 Remove trailing whitespace on blank lines. 2012-12-09 20:43:54 +00:00
jakllsch 592ed87a82 "lapic.h" provides NLAPIC, not LAPIC. makes i386 kernels build again. 2012-12-08 14:40:10 +00:00
kiyohara a661216555 #ifdef - #endif-ed. NMCA, NISA, NNPX, NIOAPIC, LAPIC, MPBIOS and MULTIPROCESSOR. 2012-12-08 12:36:30 +00:00
kiyohara 846cde58f1 Not FALLTHROUGH. 2012-12-08 11:43:27 +00:00
kiyohara c458dc359f Add required attribute mk48txx to nvram. 2012-12-08 11:03:36 +00:00