The NetBSD Project

CVS log for src/sys/arch/evbarm/beagle/Attic/beagle_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbarm / beagle

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.88, Sat Oct 29 08:33:45 2022 UTC (16 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.87: +2 -2 lines
FILE REMOVED

Retire arch/evbarm/beagle.

A few more kernel configs go away:

- OMAP5EVM and PANDABOARD likely never worked to begin with.
- N900 and VTC100 are TI AM335x based, which is supported by GENERIC.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Mar 20 05:58:22 2021 UTC (3 years ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Apply the

earlyconsgetc: return -1 instead of 0 because we will never produce input

fix to all copies.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Dec 3 07:45:52 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Provide and use a sev() macro for the sev instruction.

While here use the correct barrier to ensure completion of memory accesses
before a couple of the sev() calls.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Oct 30 18:54:37 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 29 19:58:50 2020 UTC (3 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.83: +39 -45 lines
Diff to previous 1.83 (colored)

Collapse all CPU_CORTEXA<n> options into CPU_CORTEX and do runtime
detection instead of ifdefs where required.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:10 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:12 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.81: +18 -17 lines
Diff to previous 1.81 (colored)

Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jan 20 22:25:07 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Fix indentation

Revision 1.80 / (download) - annotate - [select for diffs], Sat Nov 23 18:03:57 2019 UTC (4 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

"rv" is only used on some boards and only with options DIAGNOSTIC.
So move the declaration into the proper #ifdef block.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Nov 22 14:30:58 2019 UTC (4 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.78: +4 -3 lines
Diff to previous 1.78 (colored)

Make this files compilable w/o options DIAGNOSTIC

Revision 1.78 / (download) - annotate - [select for diffs], Tue Jul 16 14:41:44 2019 UTC (4 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored)

Consistently use vaddr_t as initarm and friends return type.

Makes no difference to binaries except for aarch64 where it's required

Revision 1.77 / (download) - annotate - [select for diffs], Sat May 18 08:49:23 2019 UTC (4 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.76: +131 -61 lines
Diff to previous 1.76 (colored)

Convert remaining armv7 kernels to generic start and remove a bunch of
code including a9_mpsubr.S.

Thanks to Lwazi Dube for testing PANDABOARD and BEAGLEBONE.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:53 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, isaki-audio2-base, isaki-audio2
Changes since 1.75: +43 -2 lines
Diff to previous 1.75 (colored)

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 18 06:36:53 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.74: +10 -10 lines
Diff to previous 1.74 (colored)

Trailing whitespace

Revision 1.74 / (download) - annotate - [select for diffs], Fri Sep 21 12:04:08 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into
opt_console.h and adjust.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Aug 15 05:58:35 2018 UTC (5 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.72: +4 -4 lines
Diff to previous 1.72 (colored)

sort #include "opt_..." entries

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jul 31 06:46:26 2018 UTC (5 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)

Sprinkle #include "opt_arm_debug.h" where VERBOSE_INIT_ARM is used

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jul 17 18:41:01 2018 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored)

make sure uboot_args is in the data segment by saying so, as opposed to
depending on initializing it to 0.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jul 15 05:16:41 2018 UTC (5 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (colored)

Retire ipkdb entirely. The option was removed from the config files
yesterday.

ok kamil christos

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jun 5 08:03:28 2018 UTC (5 years, 9 months ago) by hkenken
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Rename ARM A9 Global Timer driver name to support fdt.

- Rename a9tmr to arma9tmr.
- Add a9tmr_fdt.c based gtmr_fdt.c.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Oct 20 09:53:08 2016 UTC (7 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Fix regisers typo

Revision 1.67 / (download) - annotate - [select for diffs], Wed Oct 19 08:18:38 2016 UTC (7 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored)

apply some #if defined(TI_AM335X) so this builds again.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Oct 18 15:10:35 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.65: +5 -25 lines
Diff to previous 1.65 (colored)

Move set_mpu_volt() from */*_machdep.c to am335x_prcm.c.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Oct 18 14:39:52 2016 UTC (7 years, 5 months ago) by kiyohara
Branch: MAIN
Changes since 1.64: +44 -8 lines
Diff to previous 1.64 (colored)

Support tifb.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jul 3 11:40:58 2016 UTC (7 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.63: +8 -2 lines
Diff to previous 1.63 (colored)

Add 'needs-flag' to tps65217pmic.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 3 11:25:27 2016 UTC (7 years, 8 months ago) by kiyohara
Branch: MAIN
Changes since 1.62: +6 -2 lines
Diff to previous 1.62 (colored)

No need beagle_putchar(), if not defined VERBOSE_INIT_ARM.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 2 22:21:26 2015 UTC (8 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

enable 8-bit mode on AM335X SDMMC2

Revision 1.61 / (download) - annotate - [select for diffs], Wed Jul 22 14:10:45 2015 UTC (8 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.60: +2 -3 lines
Diff to previous 1.60 (colored)

Double compiler branch.

Found by Brainy

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 21 22:17:44 2014 UTC (9 years, 8 months ago) by riz
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Branch point for: nick-nhusb, netbsd-7
Changes since 1.59: +6 -2 lines
Diff to previous 1.59 (colored)

Conditionalize more stuff on TI_AM335X so BEAGLEBONEXM kernel
builds succeed.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jul 20 23:08:43 2014 UTC (9 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.58: +19 -2 lines
Diff to previous 1.58 (colored)

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.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jul 19 18:16:50 2014 UTC (9 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.57: +7 -2 lines
Diff to previous 1.57 (colored)

Allow tifb to be the console when bootargs contains "console=fb".

Revision 1.57 / (download) - annotate - [select for diffs], Thu Apr 3 17:14:41 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Branch point for: tls-earlyentropy
Changes since 1.56: +25 -2 lines
Diff to previous 1.56 (colored)

Make sure to enable refclk for usb on omap5

Revision 1.56 / (download) - annotate - [select for diffs], Sat Mar 29 14:47:30 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Changes since 1.55: +47 -15 lines
Diff to previous 1.55 (colored)

OMAP5/OMAP4 MP Changes + better OMAP5 support.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Aug 29 15:46:17 2013 UTC (10 years, 6 months ago) by riz
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Fix typo: VERBOSE_INIT_ARM, not VERBOSE_ARM_INIT.  From
Dennis Ferguson in PR#48163.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 30 22:23:45 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.53: +5 -3 lines
Diff to previous 1.53 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 30 20:45:44 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.52: +20 -3 lines
Diff to previous 1.52 (colored)

sanity check uboot_args is within 512MB (not 256MB) for beaglebone black).

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jun 29 20:44:52 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.51: +17 -38 lines
Diff to previous 1.51 (colored)

am335x_cpu_clk is now am335x_sys_clk and am335x_cpu_clk and they are now
in <arm/omap>.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 28 00:53:04 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.50: +16 -3 lines
Diff to previous 1.50 (colored)

Add code to make eMMC 8-bit (disabled) since it still needs code in omap3_sdhc
to actually enable 8-bit mode.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 27 14:58:55 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.49: +4 -2 lines
Diff to previous 1.49 (colored)

Only print CBAR on those cortex with CBAR

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 20 05:39:19 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.48: +83 -6 lines
Diff to previous 1.48 (colored)

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).

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jun 18 23:40:38 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.47: +6 -3 lines
Diff to previous 1.47 (colored)

Add OMAP5 reset code.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jun 18 15:37:16 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.46: +58 -33 lines
Diff to previous 1.46 (colored)

Add PL310 L2CC init for OMAP4.
Use OMAP_[345]XXX
Add OMAP4 hooks in beagle_device_register

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jun 17 04:37:39 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.45: +15 -7 lines
Diff to previous 1.45 (colored)

Don't hardcode beagle_putchar com values.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jun 16 16:48:23 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.44: +78 -22 lines
Diff to previous 1.44 (colored)

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.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 12 20:36:53 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

Now that VBAR support is present, switch to ARM_VECTORS_LOW.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 11 22:59:54 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.42: +11 -3 lines
Diff to previous 1.42 (colored)

Make sure there is enough KVA to map all of memory if
__HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 12 02:55:54 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

Fix typo.

Revision 1.41 / (download) - annotate - [select for diffs], Mon May 6 23:12:53 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.40: +10 -3 lines
Diff to previous 1.40 (colored)

Fix probing error on BBONE due to wrong value being used in u-boot to
program the DDR controller.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 30 05:39:44 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.39: +8 -3 lines
Diff to previous 1.39 (colored)

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.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 30 00:18:01 2013 UTC (10 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.38: +31 -2 lines
Diff to previous 1.38 (colored)

Map EMIF0 for TIAM335X and use to probe memory size.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 15 18:56:38 2013 UTC (10 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

include com.h before testing NCOM

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 13 03:03:04 2013 UTC (11 years ago) by khorben
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.36: +18 -6 lines
Diff to previous 1.36 (colored)

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@

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 9 22:11:29 2013 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.35: +6 -4 lines
Diff to previous 1.35 (colored)

fix BEAGLEBONEXM linking

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jan 14 11:23:48 2013 UTC (11 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.34: +6 -11 lines
Diff to previous 1.34 (colored)

copy boot args so they dont get clobbered later, fixes root= on beagleboard

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 10 17:36:35 2013 UTC (11 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.33: +24 -3 lines
Diff to previous 1.33 (colored)

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

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jan 1 23:21:26 2013 UTC (11 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.32: +50 -2 lines
Diff to previous 1.32 (colored)

Read EDID data on Beagleboard and pass it to omapfb driver if found.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 31 13:20:16 2012 UTC (11 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

beagleboard supports 8-bit SD mode

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 13 05:58:14 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.30: +21 -3 lines
Diff to previous 1.30 (colored)

Add default boot args and support parsing of u-boot bootargs.
Fix problem when MEMSIZE was not defined.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Dec 13 02:12:16 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.29: +4 -2 lines
Diff to previous 1.29 (colored)

software-initiated-reset glue for AM335x on BeagleBone

Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 13 01:23:16 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.28: +9 -5 lines
Diff to previous 1.28 (colored)

Allow MEMSIZE to only lower the amount of memory probed, not increase it.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 13 01:16:39 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.27: +43 -5 lines
Diff to previous 1.27 (colored)

Add SDRC to devmap.
Use SDRC to determine RAM size on OMAP3xxx.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 12 15:20:44 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.26: +9 -2 lines
Diff to previous 1.26 (colored)

Set clkmask for sdhc to 0.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Dec 12 02:42:25 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Map all of RAM.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 12 00:33:45 2012 UTC (11 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.24: +20 -2 lines
Diff to previous 1.24 (colored)

Improved USB EHCI support OMAP3 variants.
From jmcneill.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Dec 11 19:24:38 2012 UTC (11 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.23: +31 -2 lines
Diff to previous 1.23 (colored)

Detect the AM335x CPU frequency on the beaglebone.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 11 01:54:43 2012 UTC (11 years, 3 months ago) by khorben
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (download) - annotate - [select for diffs], Wed Sep 5 00:06:21 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6, matt-nb6-plus-nbase
Branch point for: tls-maxphys
Changes since 1.21: +51 -5 lines
Diff to previous 1.21 (colored)

Get the PANDABOARD to boot (hangs in USB).

Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 4 00:19:20 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.20: +17 -2 lines
Diff to previous 1.20 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Sep 1 00:20:49 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.19: +14 -495 lines
Diff to previous 1.19 (colored)

Switch beagle and marvell to use the new boot/init code.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 29 19:10:16 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.18: +3 -5 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 29 18:05:41 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.17: +79 -13 lines
Diff to previous 1.17 (colored)

For OMAP3530/TIAM37XX and OMAP4430, read the PLL regisers and calculate the
real CPU clock rate.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Aug 22 22:18:22 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.16: +5 -3 lines
Diff to previous 1.16 (colored)

First pass as supporting the TI DM37XX which is used in the BeagleBoard-XM.
(compile tested but hasn't been run on an actual board).

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 20 12:40:40 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.15: +26 -11 lines
Diff to previous 1.15 (colored)

Add initial support for BEAGLEBONE and PANDABOARD.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 16 18:26:22 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.14: +2 -20 lines
Diff to previous 1.14 (colored)

Remove *_STACK_SIZE and cpu_reset_address definitons.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 29 00:07:07 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.13: +2 -12 lines
Diff to previous 1.13 (colored)

Fix more -fno-common fallout.
Move more variables to common locations.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 1 20:38:16 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:22 2011 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

dependant -> dependent

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 28 08:23:22 2010 UTC (13 years, 3 months ago) by hannken
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

As md(4) no longer has "needs-count" there is no "md.h" anymore.
Remove the inclusion of this file.

Acorn32 now always builds load_memory_disc_from_floppy().  This should
not be a problem as all configs have md(4).

Observed by: Masao Uebayashi <uebayasi@netbsd.org>

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 28 13:42:12 2010 UTC (13 years, 6 months ago) by ahoka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

include prcm.h for NPRCM

Revision 1.9 / (download) - annotate - [select for diffs], Sat Aug 28 13:02:32 2010 UTC (13 years, 6 months ago) by ahoka
Branch: MAIN
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored)

Add basic support for PRCM in omap devices, and use it to cold reset
the cpu in cpu_reboot();

Note: the driver only supports the cold reset action at the moment.

Enable it in BEAGLEBOARD

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 16 22:06:54 2010 UTC (13 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

PR port-arm/43299: Support added for igepv2/cortexa8/omap3530

Apply patch from PR, with build fixes. ok skrll, matt

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 26 16:01:23 2009 UTC (14 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no
functional changes.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:06 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:14 2009 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.4: +3 -6 lines
Diff to previous 1.4 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:15 2009 UTC (14 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored)

Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:41 2008 UTC (15 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, mjf-devfs2
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 22 17:29:33 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.1: +32 -20 lines
Diff to previous 1.1 (colored)

Adapt to the 3530 address spaces.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 22 10:50:56 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN

Initial BEAGLEBOARD support.  Compile tested only so far.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>