Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/evbarm



Module Name:    src
Committed By:   jmcneill
Date:           Wed Oct 22 00:24:53 UTC 2014

Modified Files:
        src/sys/arch/evbarm/awin: awin_machdep.c
        src/sys/arch/evbarm/conf: files.awin std.awin
Added Files:
        src/sys/arch/evbarm/awin: awin_sysconfig.c awin_sysconfig.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/awin/awin_machdep.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbarm/awin/awin_sysconfig.c \
    src/sys/arch/evbarm/awin/awin_sysconfig.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/files.awin
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/std.awin

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index