Commit Graph

72 Commits

Author SHA1 Message Date
maxv
da640ae79a Double compiler branch.
Found by Brainy
2015-07-22 14:10:45 +00:00
riz
bef6d7254e Conditionalize more stuff on TI_AM335X so BEAGLEBONEXM kernel
builds succeed.
2014-07-21 22:17:44 +00:00
bouyer
48be462740 am335x: expect the board code to provide a set_mpu_volt() function,
to change the MPU code voltage. When changing MPU frequency also request
a voltage change. provide frequency/voltage tables for the "blank" revision
and de A revision, based on documents from www.ti.com (this means
it's not possible anymore to request a beaglebone white to run at 1Ghz,
but this was not working anyway).
beagle_machdep.c: callback to the tps65217pmic to change the MPU voltage.

Tested on beaglebone, from 275 to 720Mhz, and on beaglebone black from
300 to 1000Mhz.
2014-07-20 23:08:43 +00:00
bouyer
7265b3785d Allow tifb to be the console when bootargs contains "console=fb". 2014-07-19 18:16:50 +00:00
matt
50ad317403 Make sure to enable refclk for usb on omap5 2014-04-03 17:14:41 +00:00
matt
d70e9a297a OMAP5/OMAP4 MP Changes + better OMAP5 support. 2014-03-29 14:47:30 +00:00
riz
8f49c8af7c Fix typo: VERBOSE_INIT_ARM, not VERBOSE_ARM_INIT. From
Dennis Ferguson in PR#48163.
2013-08-29 15:46:17 +00:00
matt
4d204e63ce Add END(beagle_start) 2013-08-18 06:34:02 +00:00
matt
111acf9530 Actually, only copy the uboot args if they are within the amount of ram we
mapped.  If they aren't we'd fault trying to access them.  It's too early
to grab a VA to map them so we just punt for now. XXX
2013-07-30 22:23:45 +00:00
matt
f04b0af59b sanity check uboot_args is within 512MB (not 256MB) for beaglebone black). 2013-07-30 20:45:44 +00:00
matt
1d832de058 am335x_cpu_clk is now am335x_sys_clk and am335x_cpu_clk and they are now
in <arm/omap>.
2013-06-29 20:44:52 +00:00
matt
6de09b649c Add code to make eMMC 8-bit (disabled) since it still needs code in omap3_sdhc
to actually enable 8-bit mode.
2013-06-28 00:53:04 +00:00
matt
5c85b99a56 Only print CBAR on those cortex with CBAR 2013-06-27 14:58:55 +00:00
matt
404129e876 more OMAP5 workarounds.
u-boot doesn't initialize the generic timer on the omap5430 evm properly.
so check to see if it's OK, and if not, initialize omap5 registers properly.
Pass the timer freq via properties to the armgtmr since we can't write the
cnt_frq cp15 register (which can be written in secure mode).
2013-06-20 05:39:19 +00:00
matt
deac5f4fa6 Add OMAP5 reset code. 2013-06-18 23:40:38 +00:00
matt
e2bfc15fb0 Use OMAP_[345]XXX 2013-06-18 15:39:19 +00:00
matt
45a1f6b0f0 Add PL310 L2CC init for OMAP4.
Use OMAP_[345]XXX
Add OMAP4 hooks in beagle_device_register
2013-06-18 15:37:16 +00:00
matt
60e0977728 Unforce VERBOSE_INIT_ARM
Add a crlf after the final 'Z'
2013-06-18 15:28:36 +00:00
matt
1a21fa3e9c Use <arm/cortex/a9_mpsubr.S> for the PANDABOARD as well as using
its cpuinit and l1pt init routines.
Add support for printing progress chars.
2013-06-17 04:39:48 +00:00
matt
071fef8460 On the 4430/5430, console is in peripheral space, not core. 2013-06-17 04:38:14 +00:00
matt
c2a2594d1e Don't hardcode beagle_putchar com values. 2013-06-17 04:37:39 +00:00
matt
88771d9803 Fix pasto. 2013-06-16 17:57:21 +00:00
matt
ad1e02d6fa adapt am335x memprobe so it can be used by omap4/omap5.
Fill in the reference clock (omap_sys_clk) when determining speed.
Make sure memory controller are mapped.
Make sure to map console PA in bootstrap page table.
2013-06-16 16:48:23 +00:00
matt
27d0b7b0fa Now that VBAR support is present, switch to ARM_VECTORS_LOW. 2013-06-12 20:36:53 +00:00
matt
86f2afe447 Make sure there is enough KVA to map all of memory if
__HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined.
2013-06-11 22:59:54 +00:00
matt
5187c90ac5 Fix typo. 2013-05-12 02:55: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
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
df03fab40e Map EMIF0 for TIAM335X and use to probe memory size. 2013-04-30 00:18:01 +00:00
bouyer
8281180ba6 include com.h before testing NCOM 2013-04-15 18:56:38 +00:00
khorben
b6c08a30db Set the framebuffer as the default console when no serial port is configured.
This was tested on a Nokia N900 with the N900 kernel. The BEAGLEBOARD kernel
still builds.

ok christos@
2013-03-13 03:03:04 +00:00
christos
4771f7bd0d fix BEAGLEBONEXM linking 2013-02-09 22:11:29 +00:00
jmcneill
1640c07c92 copy boot args so they dont get clobbered later, fixes root= on beagleboard 2013-01-14 11:23:48 +00:00
macallan
3d8956164d do as RPi does - if console=fb is in bootargs, tell omapfb to become the
console and com not to, otherwise let com be the console
2013-01-10 17:36:35 +00:00
jmcneill
63e40cb108 Read EDID data on Beagleboard and pass it to omapfb driver if found. 2013-01-01 23:21:26 +00:00
jmcneill
cd6325cba1 beagleboard supports 8-bit SD mode 2012-12-31 13:20:16 +00:00
matt
a7e8133750 Add default boot args and support parsing of u-boot bootargs.
Fix problem when MEMSIZE was not defined.
2012-12-13 05:58:14 +00:00
jakllsch
d2066ccadf software-initiated-reset glue for AM335x on BeagleBone 2012-12-13 02:12:15 +00:00
matt
d005c80955 Allow MEMSIZE to only lower the amount of memory probed, not increase it. 2012-12-13 01:23:16 +00:00
matt
291f407dc5 Add SDRC to devmap.
Use SDRC to determine RAM size on OMAP3xxx.
2012-12-13 01:16:39 +00:00
matt
6ba959571d Set clkmask for sdhc to 0. 2012-12-12 15:20:44 +00:00
matt
86328521b1 Map all of RAM. 2012-12-12 02:42:25 +00:00
matt
1153693c28 Improved USB EHCI support OMAP3 variants.
From jmcneill.
2012-12-12 00:33:45 +00:00
riastradh
6c00237a82 Detect the AM335x CPU frequency on the beaglebone. 2012-12-11 19:24:38 +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
b2ad663cd9 Get the PANDABOARD to boot (hangs in USB). 2012-09-05 00:06:21 +00:00
matt
76625f4430 Make reset work on beagle again.
Add nand (not yet working) and prcm to IGEPV2.
Add smsh to IGEPV2 (use attachment from gumstix).
Turn on a few options for IGEPV2.
2012-09-04 00:19:20 +00:00
matt
e7eda33870 shrink a little 2012-09-01 14:54:59 +00:00
matt
dd5988d137 Switch beagle and marvell to use the new boot/init code. 2012-09-01 00:20:49 +00:00
matt
2101b6c77f Since the PMC cycle counter is started in cpufunc no reason to do so here.
Use curcpu()->ci_data.cpu_cc_freq and new armreg* inlines.
2012-08-29 19:10:15 +00:00