The NetBSD Project

CVS log for src/sys/arch/evbarm/awin/Attic/awin_machdep.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.50.4.1
Mon Apr 16 01:59:54 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
FILE REMOVED
Changes since revision 1.50: +2 -2 lines
Sync with HEAD, resolve some conflicts

Revision 1.51
Sun Apr 8 13:19:17 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
FILE REMOVED
Changes since revision 1.50: +2 -2 lines
Remove old Allwinner port.

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:02 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.1: +1257 -0 lines
update from HEAD

Revision 1.29.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:34 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29.2.5: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.5: +5 -3 lines
Sync with HEAD

Revision 1.50.2.1
Sun Aug 20 14:52:36 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.50: +0 -1257 lines
file awin_machdep.c was added on branch tls-maxphys on 2017-12-03 11:36:02 +0000

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Aug 20 14:52:36 2017 UTC (7 years, 6 months ago) by tnn
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, nick-nhusb-base-20170825
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -3 lines
BPI has no programmable current limiters for the USB host, just a PCB fuse

Revision 1.29.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:51 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29.2.4: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.4: +3 -3 lines
Sync with HEAD

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:00 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -3 lines
Sync with HEAD

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Oct 20 09:53:07 2016 UTC (8 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-3-RELEASE, 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3 lines
Fix regisers typo

Revision 1.29.2.4: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:16 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29.2.3: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.3: +59 -2 lines
Sync with HEAD

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Apr 25 20:15:46 2016 UTC (8 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +59 -2 lines
Add a driver for the lradc device found in allwinner SoCs.
The events are reported as hotkeys press/release to sysmon_power(9).
The levels and associated event names are configured in the fex script
(the channels remain disabled if no appropriate fex script is provided).

Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:33 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.2: +293 -2 lines
Sync with HEAD (as of 26th Dec)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Nov 15 21:28:54 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +55 -15 lines
Add support for LVDS output on tcon0. Tested with a full HD LVDS display.
Other LCD interfaces not supported yet, mostly by lack of hardware.
The LVDS output and timings are set from the FEX script.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Nov 3 18:38:03 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -16 lines
A debe can't feed both tcon at the same time.
AWIN_DEBE_MODCTL_OUT_SEL will select which tcon instance will get data
(0 for tcon0, 1 for tcon1).
In tcon, AWIN_TCON_CTL_SRC_SEL_DE0 selects the default debe for this
tcon instance: debe0 for tcon0, debe1 for tcon1.
So always connect tcon0 to debe0 and tcon1 to debe1.
now display modes 0, 1 and 2 works; display modes 3 and 4 needs more work.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Oct 25 21:21:52 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +14 -2 lines
Add calls to awin_hdmi_sysconfig() and awin_tcon_sysconfig(), missing from
previous commit.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Oct 25 20:54:19 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +224 -2 lines
Snapshot of work in progress on support for multiple display outputs.
The display configuration comes from the fex script as defined
in http://linux-sunxi.org/Fex_Guide, section disp_init.
There is some code to convert lcd0_para/lcd1_para to properties but
it's not used yet.

At this time only mode 0 (debe0->tcon0->hdmi) works.
debe0->tcon1->hdmi and debe1->tcon0->hdmi both gives a valid HDMI
signal but completely blank screen. AWIN_TCON1_BLUEDATA gives a blue screen
in both cases so tcon1->hdmi works. I suspect that, for some reason
setups other than debe0->tcon0 are not configured properly, and
the tcon is reading all-1 bits instead of the expected debe output.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Oct 21 09:25:16 2015 UTC (9 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +16 -6 lines
axp20x is optional for allwinner boards

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Oct 17 15:30:14 2015 UTC (9 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +22 -2 lines
Implement CPU frequency switching for A20.
This requires adjusting the CPU voltage, so enable the axp20x driver for
A20 boards.
In evbarm/awin/awin_machdep.c, the DCDC powering up the CPU cores needs to
be defined for each board. The board machine-dependant code (at this time,
only awin_machdep.c) has to provide a awin_set_mpu_volt() function
which calls the right PMU driver to change the CPU core voltage.

The CPU frequency/voltage table in awin_board.c comes from various
sources: linux kernel, device tree and fex scripts, and experiments on
olimex lime2 and cubieboard 2.
The following sysctls are provided (compatible with estd):
machdep.frequency.min,machdep.frequency.max: writable lower and upper
   bounds of the useable frequencies. Affects machdep.frequency.available.
   Lower bound defaults to 700Mhz, as does linux.
   Upper bound defaults to 960Mhz, which is the boot frequency
   on the boards I tested. There is a 1008Mhz entry available,
   but requires an out of spec CPU voltage (more than 1.4V) so it's
   not available by default.
machdep.frequency.available: list of available frequencies. This is
   the CPU frequency/voltage table, bound by machdep.frequency.{min,max}.
machdep.frequency.current: current CPU speed. Write a new value to change
  the CPU speed, only values from machdep.frequency.available are
  accepted.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:57 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +8 -8 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jun 3 10:01:32 2015 UTC (9 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -4 lines
Olimex A20-OLinuXino-LIME2 support, from Greg Willatt <gpw26@mrao.cam.ac.uk>

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Apr 20 01:33:22 2015 UTC (9 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4 lines
Switch to armv7_generic bus_space.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:55 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +89 -30 lines
Sync with HEAD

Revision 1.8.2.10: download - view: text, markup, annotated - select for diffs
Wed Jan 7 21:08:06 2015 UTC (10 years, 1 month ago) by msaitoh
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, 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
Diff to: previous 1.8.2.9: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.9: +3 -3 lines
Pull up following revision(s) (requested by martin in ticket #382):
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.38
Fix typo in BPI specific setup, spotted by Jared.
Now awge works with the official sunxi-linux u-boot versions as well.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 6 00:52:26 2015 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -19 lines
use BOOTOPT_TYPE_MACADDR

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Jan 4 15:59:32 2015 UTC (10 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
Fix typo in BPI specific setup, spotted by Jared.
Now awge works with the official sunxi-linux u-boot versions as well.

Revision 1.8.2.9: download - view: text, markup, annotated - select for diffs
Sat Jan 3 05:52:09 2015 UTC (10 years, 1 month ago) by snj
Branches: netbsd-7
Diff to: previous 1.8.2.8: preferred, colored
Changes since revision 1.8.2.8: +3 -3 lines
Pull up following revision(s) (requested by martin in ticket #376):
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.35, 1.37
Use pinset-func 3 for gmac on BananaPI (value taken from the only working
u-boot driver).
This makes root on NFS and ftp transfers work for me.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jan 2 11:46:53 2015 UTC (10 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Use pinset-func 3 for gmac on BananaPI (value taken from the only working
u-boot driver).
This makes root on NFS and ftp transfers work for me.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Dec 11 23:35:11 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -2 lines
A80: Startup 3 additional Cortex-A7 cores in cluster 0.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Dec 10 17:45:53 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
Use correct pinset function (5 not 2) for gmac on BananaPi

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Dec 7 00:36:26 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +12 -2 lines
A80 reduced serial bus (RSB) support. Similar to A31 P2WI but supports
more than one attached slave device.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Dec 5 17:32:08 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +34 -11 lines
A80 EHCI and OHCI support

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Dec 5 14:46:04 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +9 -2 lines
add A80 led and mmc0detect gpios

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Dec 5 01:20:48 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -3 lines
print when fixing up cbar value

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Dec 5 01:13:11 2014 UTC (10 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +20 -2 lines
Initial Allwinner A80 support.

Revision 1.8.2.8: download - view: text, markup, annotated - select for diffs
Tue Nov 18 18:19:09 2014 UTC (10 years, 3 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.8.2.7: preferred, colored
Changes since revision 1.8.2.7: +16 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #244):
	sys/arch/arm/allwinner/awin_hdmi.c: revision 1.13-1.15
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.4
	sys/arch/arm/allwinner/awin_var.h: revision 1.25
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.29
	sys/dev/i2c/ddc.c: revision 1.4
	sys/dev/i2c/ddcvar.h: revision 1.2
	sys/dev/videomode/edid.c: revision 1.13
	sys/dev/videomode/edidreg.h: revision 1.4
	sys/dev/videomode/edidvar.h: revision 1.3
Parse the extension block count field, and make it available in struct edid_info
--
add ddc_read_edid_block, which is the same as ddc_read_edid but takes an additional block number argument
--
Add support for DVI displays. Detect HDMI vs DVI mode by looking for a
CEA-861-D extension block in the EDID, and then searching this block for
an HDMI vendor-specific data block (HDMI VSDB).
--
Allow for overriding DVI/HDMI detection with a kernel boot arg. Set
hdmi.forcemode=dvi or hdmi.forcemode=hdmi to disable auto-detection.
--
report hotplug status for AUDIO_GETDEV fields, only allow playback if a capable display is connected
--
clear repeater sel bits before setting -- would cause an issue if we ever switched away from a pixel doubling mode

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Nov 17 00:50:40 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +16 -2 lines
Allow for overriding DVI/HDMI detection with a kernel boot arg. Set
hdmi.forcemode=dvi or hdmi.forcemode=hdmi to disable auto-detection.

Revision 1.8.2.7: download - view: text, markup, annotated - select for diffs
Fri Nov 14 22:23:28 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.6: preferred, colored
Changes since revision 1.8.2.6: +10 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #238):
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.28
	sys/arch/arm/allwinner/awin_debe.c: revision 1.7
	sys/arch/arm/allwinner/awin_var.h: revision 1.23
	sys/arch/arm/allwinner/awin_fb.c: revision 1.5
Allow the DEBE layer and output sizes to be set independently. Now you can
pass fb.margin=<n> in bootargs to add a border to the framebuffer, in case
your display doesn't let you turn off overscan and you really want to see
the whole screen.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Nov 14 19:47:36 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -2 lines
Allow the DEBE layer and output sizes to be set independently. Now you can
pass fb.margin=<n> in bootargs to add a border to the framebuffer, in case
your display doesn't let you turn off overscan and you really want to see
the whole screen.

Revision 1.8.2.6: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:26:46 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.5: preferred, colored
Changes since revision 1.8.2.5: +21 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #210):
	sys/arch/arm/allwinner/awin_board.c: revisions 1.26-1.27
	sys/arch/arm/allwinner/awin_debe.c: revisions 1.1-1.6
	sys/arch/arm/allwinner/awin_fb.c: revisions 1.1-1.4
	sys/arch/arm/allwinner/awin_hdmi.c: revisions 1.3-1.6,1.9-1.12
	sys/arch/arm/allwinner/awin_io.c: revision 1.27
	sys/arch/arm/allwinner/awin_reg.h: revisions 1.46-1.47,1.49
	sys/arch/arm/allwinner/awin_tcon.c: revisions 1.1-1.5
	sys/arch/arm/allwinner/awin_var.h: revisions 1.20-1.22
	sys/arch/arm/allwinner/files.awin: revisions 1.22-1.23,1.25
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.26
	sys/arch/evbarm/conf/BPI: revision 1.10
	sys/arch/evbarm/conf/CUBIEBOARD: revision 1.32
	sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.17-1.18
	sys/dev/wscons/wsconsio.h: revision 1.109

HDMI framebuffer for Allwinner boards.

Revision 1.8.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 11 12:48:59 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.4: preferred, colored
Changes since revision 1.8.2.4: +13 -9 lines
Pull up following revision(s) (requested by jmcneill in ticket #211):
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.27
get_bootconf_option doesnt return the value null-terminated, so look for an awge0.mac-address value of exactly the correct length

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Nov 10 20:36:12 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +13 -9 lines
get_bootconf_option doesnt return the value null-terminated, so look for an awge0.mac-address value of exactly the correct length

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Nov 10 17:56:08 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +21 -2 lines
If boot args contains "console=fb", use genfb for console device. Also set db_trap_callback so we can use VCONS_DRAW_INTR

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:42:33 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.3: preferred, colored
Changes since revision 1.8.2.3: +154 -23 lines
Catch up to -current as of ~1 hour ago for sys/arch/arm/allwinner and
sys/arch/evbarm/awin. Requested by skrll in ticket #203.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Nov 7 11:42:28 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -2 lines
bpi uses a different mux feature for gmac

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 6 23:19:38 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2 lines
extra (undocumented) clk init bits for bananapi gmac

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Oct 30 00:32:55 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -2 lines
pass usb_restrict_gpio from fex to gpio driver

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 29 10:28:03 2014 UTC (10 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -2 lines
Don't hang when booting Cubietruck via FEL.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Oct 22 11:11:40 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -2 lines
map gmac_phy_power.gmac_phy_power_en to gmacpwren

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 22 00:24:52 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +74 -2 lines
Add support for GPIO configuration via "FEX" scripts, in an attempt to
keep awin_device_register under control.

Board configuration scripts can be found here:
  https://github.com/linux-sunxi/sunxi-boards/blob/master/sys_config

You can compile them with the "fex2bin" tool found here:
  https://github.com/linux-sunxi/sunxi-tools

To use, copy the compiled FEX to your MS-DOS partition, load it with
U-Boot, and then tell the kernel where to find it with the "sysconfig="
boot option. For example, uEnv.txt on a Cubieboard2 might look like this:

  bootargs=root=ld0a sysconfig=0x43000000
  uenvcmd=mmc dev 0; mmc rescan; fatload mmc 0:1 43000000 cubieboard2.bin; fatload mmc 0:1 82000000 netbsd.ub; bootm 82000000

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:37:08 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -2 lines
add some hummingbird A31 motg pins

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:34:55 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +20 -2 lines
allow awge mac address to be overriden by uEnv bootargs; set awge0.mac-address=XX:XX:XX:XX:XX:XX

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Oct 18 12:36:39 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +9 -2 lines
setup gmac phy power gpio for Bananapi

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Oct 17 20:24:18 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +12 -2 lines
Cubieboard2 uses GMAC with a 100Mbit PHY. Set phy-type property to "mii" for awge

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Oct 12 14:04:52 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -2 lines
PH22 for audiopactrl on Hummingbird A31

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 12 13:08:12 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -2 lines
define usb1restrict pin for Hummingbird A31

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Oct 10 07:37:50 2014 UTC (10 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +11 -2 lines
Add Merrii Hummingbird A31 board specific info + kernel config.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Sep 23 15:02:08 2014 UTC (10 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Fix up usb0drv for BPI

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Sep 15 19:30:16 2014 UTC (10 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
BOARDTYPE is now a string, use it directly.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Sep 13 02:21:52 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
AWIN_board not AWIN_BOARD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Sep 13 01:36:07 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +11 -4 lines
usb0drv is >PB9 for cubie2

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Wed Sep 10 10:10:43 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.2: preferred, colored
Changes since revision 1.8.2.2: +6 -2 lines
Fix merge botch in ticket #82

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 10 09:37:51 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.8.2.1: preferred, colored
Changes since revision 1.8.2.1: +668 -0 lines
Pull up following revision(s) (requested by skrll in ticket #82):
	sys/arch/evbarm/awin/awin_start.S: revision 1.1
	sys/arch/evbarm/conf/mk.cubie: file removal
	sys/arch/evbarm/conf/std.awin: revision 1.1
	sys/arch/evbarm/cubie/genassym.cf: file removal
	sys/arch/evbarm/conf/CUBIEBOARD: revision 1.17
	sys/arch/evbarm/conf/BPI: revision 1.1
	sys/arch/evbarm/awin/genassym.cf: revision 1.1
	sys/arch/evbarm/awin/platform.h: revision 1.1
	sys/arch/evbarm/conf/files.awin: revision 1.1
	sys/arch/evbarm/conf/mk.cubie: revision 1.4
	sys/arch/evbarm/conf/CUBIETRUCK: revision 1.3
	sys/arch/evbarm/cubie/cubie_machdep.c: revision 1.21
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.1
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.3
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.4
	sys/arch/evbarm/conf/std.cubie: file removal
	sys/arch/evbarm/conf/mk.awin: revision 1.1
	sys/arch/evbarm/conf/mk.awin: revision 1.2
	sys/arch/evbarm/cubie/cubie_machdep.c: file removal
	sys/arch/evbarm/cubie/cubie_start.S: file removal
	sys/arch/evbarm/cubie/platform.h: file removal
	sys/arch/evbarm/conf/files.cubie: file removal

Move away from "cubie" to generic "awin" and introduce a BOARDTYPE
variable. This allows other boards to use the cubie code.

Add a Banana Pi kernel config and fixup mmc0detect assignment for BPI.

Revision 1.8.2.1
Wed Sep 10 07:39:17 2014 UTC (10 years, 5 months ago) by martin
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.8: +0 -661 lines
file awin_machdep.c was added on branch netbsd-7 on 2014-09-10 09:37:51 +0000

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 10 07:39:17 2014 UTC (10 years, 5 months ago) by skrll
Branches: MAIN
Branch point for: netbsd-7
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -19 lines
Don't grab the ubootinfo structure and try to determine the mac address
from it.  Rely on reading the mac from the chip.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Sep 10 06:50:13 2014 UTC (10 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -4 lines
Remove hack disabling dma for awinmmc0 on cubietruck.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Sep 9 21:04:05 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
disable dma on cubietruck for now

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Sep 9 02:43:19 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
cubieboard2 uses awge not awe

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Sep 7 06:26:08 2014 UTC (10 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -2 lines
Add a Banana Pi kernel config and fixup mmc0detect assignment for BPI.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 7 06:14:13 2014 UTC (10 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -4 lines
Fix BOARDTYPE handling

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 4 02:34:30 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -2 lines
audio gpio setup

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 31 19:13:01 2014 UTC (10 years, 5 months ago) by matt
Branches: MAIN
Move away from cubie to awin since "cubie" will actually work on non-cubie
boards.  Let the config file specify what board is being built for.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>