skrll
5c4bf708f5
One awincnt0 is enough
2014-11-11 15:12:51 +00:00
skrll
9ebfc75416
enable awinhdmi, awintcon, awindebe, genfb, wsmux, wsfont and
...
with VCONS_DRAW_INTR
2014-11-10 22:02:00 +00:00
jmcneill
40da40711a
get_bootconf_option doesnt return the value null-terminated, so look for an awge0.mac-address value of exactly the correct length
2014-11-10 20:36:12 +00:00
jmcneill
d1c11d4262
enable awinhdmi, awintcon, awindebe, genfb, wsmux, wsfont
2014-11-10 17:56:58 +00:00
jmcneill
e275bc54ed
enable VCONS_DRAW_INTR
2014-11-10 17:56:22 +00:00
jmcneill
54449f67b6
If boot args contains "console=fb", use genfb for console device. Also set db_trap_callback so we can use VCONS_DRAW_INTR
2014-11-10 17:56:08 +00:00
jmcneill
e90c621c6a
add awintcon, awindebe, genfb, wsdisplay, wsmux, wsfont
2014-11-09 14:11:38 +00:00
skrll
35ebfd12a1
Add __HAVE_MM_MD_CACHE_ALIASING
2014-11-08 08:10:13 +00:00
skrll
43109f18fb
Move some options into std.rpi
2014-11-08 08:08:32 +00:00
jmcneill
36474778d0
add awinhdmi
2014-11-08 00:32:33 +00:00
jmcneill
93712a3217
bpi uses a different mux feature for gmac
2014-11-07 11:42:28 +00:00
jmcneill
e91f13d66f
extra (undocumented) clk init bits for bananapi gmac
2014-11-06 23:19:38 +00:00
skrll
d97ae04bf3
Add awincnt at awinio (64 bit timer counter)
2014-11-05 22:27:55 +00:00
martin
d50e2c2971
Remove MULTIPROCESSOR, it is now in CUBIEBOARD
2014-11-05 20:34:38 +00:00
martin
716bb57d97
Add awincnt at awinio (64 bit timer counter)
2014-11-05 20:32:53 +00:00
jmcneill
da6e4883ea
add MULTIPROCESSOR, awincnt
2014-11-05 18:32:29 +00:00
matt
8de915a389
Only look at the ID register if we are configured for multiple SoCs.
...
Make sure that the ID register is dealt with correctly for BE as well.
2014-11-05 17:46:51 +00:00
jmcneill
81c47b040b
enable awincnt
2014-11-05 15:05:40 +00:00
martin
5dc4701675
Enable MULTIPROCESSOR
2014-11-05 08:16:56 +00:00
skrll
7aac0f4a2a
Enable MULTIPROCESSOR
2014-11-05 08:11:35 +00:00
jmcneill
3f5758c5ce
enable MULTIPROCESSOR
2014-11-05 00:16:19 +00:00
jmcneill
cf9b2d5c9d
add awinir and cir
2014-11-02 23:56:13 +00:00
hkenken
a0e9f695d2
Add options __HAVE_MM_MD_DIRECT_MAPPED_PHYS and ARM_HAS_VBAR for N900.
2014-11-02 16:07:15 +00:00
uebayasi
a9a42ca79b
Bump ramdisk size to embed 13M sshramdisk.
2014-10-31 16:28:56 +00:00
jmcneill
1340e222c5
fix a31_mpinit sync for real this time (thanks matt@)
2014-10-30 01:15:30 +00:00
jmcneill
8b16d44af6
fix a31_mpinit synchronization
2014-10-30 00:55:53 +00:00
jmcneill
2ecd8833a5
pass usb_restrict_gpio from fex to gpio driver
2014-10-30 00:32:55 +00:00
skrll
349816b449
PR/48669 evbarm/imx23_olinuxino (ARM9E) doesn't boot.
...
Don't try to map all memory and fix booting.
2014-10-29 11:21:51 +00:00
joerg
570e325c08
Don't hang when booting Cubietruck via FEL.
2014-10-29 10:28:03 +00:00
jmcneill
b9d6d960e5
A20 is a Cortex-A7, so set CPUFLAGS to match; disbale ALLWINNER_A10 and CPU_CORTEXA8 options
2014-10-24 10:59:45 +00:00
jmcneill
6f4a8dd760
A20 is a Cortex-A7, so set CPUFLAGS to match
2014-10-24 10:59:24 +00:00
jmcneill
5db91bfe88
disable axp20x for now, it seems after a while we get "send STOP failed" from i2c bus and then things go from bad to worse
2014-10-24 10:48:05 +00:00
skrll
f42052eaf6
BPI is CORTEX A7 and Allwinner A20
2014-10-24 07:00:49 +00:00
jmcneill
328980e268
map gmac_phy_power.gmac_phy_power_en to gmacpwren
2014-10-22 11:11:40 +00:00
jmcneill
66eb5676c3
defopt -> defflag
2014-10-22 00:46:15 +00:00
jmcneill
e184a4583b
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
2014-10-22 00:24:52 +00:00
jmcneill
199a00a5b3
get rid of VERBOSE_INIT_ARM
2014-10-20 16:35:07 +00:00
jmcneill
83a611bae8
enable awge
2014-10-19 22:38:00 +00:00
jmcneill
81772cee61
add some hummingbird A31 motg pins
2014-10-19 22:37:08 +00:00
jmcneill
2e992c4f28
allow awge mac address to be overriden by uEnv bootargs; set awge0.mac-address=XX:XX:XX:XX:XX:XX
2014-10-19 22:34:55 +00:00
skrll
f148f19113
More stuff works
2014-10-19 15:27:32 +00:00
jmcneill
49a15cb4ac
setup gmac phy power gpio for Bananapi
2014-10-18 12:36:39 +00:00
jmcneill
af10a92e52
Cubieboard2 uses GMAC with a 100Mbit PHY. Set phy-type property to "mii" for awge
2014-10-17 20:24:18 +00:00
martin
158b984dab
Fix the names of the (commented out) Kirwood L2 cache options.
2014-10-17 18:45:14 +00:00
jmcneill
cfbc3ff230
motg works now
2014-10-15 23:04:08 +00:00
jmcneill
1072b42a29
override CPUFLAGS and build with -mcpu=cortex-a7
2014-10-14 22:43:33 +00:00
jmcneill
642d511729
move cpu flags to makeoptios
2014-10-14 22:42:36 +00:00
htodd
ca6756be1f
Fix build.
2014-10-14 17:48:24 +00:00
htodd
27d7ebfabc
Comment out more USB options to to fix build.
2014-10-14 13:53:34 +00:00
jmcneill
2d99d5f07d
do as other allwinner boards and dont use sshramdisk
2014-10-14 12:00:22 +00:00
uebayasi
4a4afd820d
INSTALL kernel for HUMMINGBIRD_A31. Blindly copied from RPI. Good enough
...
to fix build release.
2014-10-14 09:32:16 +00:00
jmcneill
30360bde23
enable awinac
2014-10-13 19:04:17 +00:00
jmcneill
184846a6df
enable awindma
2014-10-13 12:34:25 +00:00
jmcneill
715457fb32
add P2WI; lock down TWI0 as iic0 and P2WI as iic1; add AXP221 driver
2014-10-12 23:59:30 +00:00
jmcneill
82d7148545
A31 needs a different DMA controller driver, disable awindma and awinac for now
2014-10-12 15:38:45 +00:00
jmcneill
b49e7c7959
PH22 for audiopactrl on Hummingbird A31
2014-10-12 14:04:52 +00:00
jmcneill
cb16d50388
enable ehci, ohci, and USB device drivers
2014-10-12 13:08:54 +00:00
jmcneill
eb17f69d1d
define usb1restrict pin for Hummingbird A31
2014-10-12 13:08:12 +00:00
macallan
250360a77f
add commented out entry for linksprite's RTC module
2014-10-12 12:01:50 +00:00
jmcneill
db235ac6db
disable MULTIPROCESSOR for now
2014-10-11 17:35:06 +00:00
uebayasi
fa8a98c8aa
No wsdisplay options without wsdisplay.
2014-10-11 15:55:36 +00:00
uebayasi
bc6310c5db
Device midi attachment where the evil usbdevices.config is included.
2014-10-11 11:55:07 +00:00
uebayasi
16779bb5f7
Don't enable wscons options w/o related devices.
2014-10-11 03:24:19 +00:00
jmcneill
8401e83900
dont pull in CUBIEBOARD kernel config since this is quite a bit different from the A10/A20 boards
2014-10-11 00:52:44 +00:00
jmcneill
2ddb0e42ba
A31 SMP support
2014-10-10 23:51:28 +00:00
jmcneill
736b5989bf
add AWIN_GPIO_IGNORE_FW, remove no motg0
2014-10-10 17:49:12 +00:00
jmcneill
16dc4dca31
Add Merrii Hummingbird A31 board specific info + kernel config.
2014-10-10 07:37:50 +00:00
mlelstv
4418265934
fwrev is a timestamp, print in decimal.
2014-10-07 08:37:18 +00:00
ryo
68f5cbecd2
* add imxsnvs (rtc)
...
* add CUBOX-I config
2014-10-06 10:37:20 +00:00
mlelstv
1c5fb5d101
be verbose about sysmon error.
...
enable monitoring.
2014-10-04 13:18:34 +00:00
macallan
0461faf0f5
pay attention to copyin()'s return values
2014-10-04 13:05:57 +00:00
skrll
a15ffa77b8
Better error handling.
2014-10-03 17:57:48 +00:00
skrll
004440d498
Introduce RPI_HWCURSOR and default to off. The existing code causes
...
problems with vchiq at the moment.
2014-10-03 11:40:54 +00:00
skrll
cfabad25c9
More de-reinoud-ification
2014-10-02 12:12:55 +00:00
skrll
5c21d9604c
Fix reinoud-ification.
...
My odroid-xu has console again.
2014-10-02 09:03:43 +00:00
mlelstv
ed8c4bc1de
turn off hardware cursor while blanking screen.
2014-10-01 13:31:27 +00:00
mlelstv
2971d46536
make board/firmware revisions visible via sysctl
2014-10-01 13:30:18 +00:00
macallan
c8bf585147
add vcprop_subr.c, should have went with previous commit :/
2014-09-30 18:13:29 +00:00
reinoud
d117d7fcb7
Accept the Odroid specific tweaks for selecting clkout for external USB
...
devices on the Odroid boards
2014-09-30 14:24:26 +00:00
macallan
1a90426b3c
shut up gcc warning
...
while there, do some magic number reduction
2014-09-29 21:45:15 +00:00
macallan
ffefe877a9
make global variables static
...
also, make cursor test pattern red/green to highlight RGB vs. BGR
2014-09-28 15:39:36 +00:00
macallan
b149c9dc8f
add hardware cursor support
2014-09-28 14:38:29 +00:00
macallan
cb844c7504
the RPi wiki had the values for VCPROPTAG_SET_CURSOR_INFO and
...
VCPROPTAG_SET_CURSOR_STATE swapped - now they actually work
thanks jmcneill@ for having the right idea
2014-09-28 12:57:22 +00:00
matt
78ae6eaca7
Add INSTALL kernel. Fix .ub generation.
2014-09-27 04:03:24 +00:00
reinoud
dbd2779418
EXYNOS4 and EXYNOS5 are now exclusive in odroid_machdep.c
2014-09-26 19:27:05 +00:00
reinoud
375e115510
Remove KASSERT that bugs compilation
2014-09-26 19:03:24 +00:00
reinoud
52dc32dbd9
Redo the magic of console selection
2014-09-26 18:59:29 +00:00
reinoud
40797a03eb
Decouple sscom console choice from Exynos SoC ID
2014-09-26 18:26:24 +00:00
reinoud
3868855777
Split the two kernels to include only support for the device it describes
2014-09-26 16:30:32 +00:00
reinoud
ecd9923f11
Rename ODROID to ODROID-XU
2014-09-26 15:33:58 +00:00
reinoud
9657162e22
Add USBHIST_SIZE option
2014-09-26 15:33:33 +00:00
jakllsch
201db3c7a2
enable NFS root FS support in RPI
2014-09-25 16:05:44 +00:00
matt
0a95b7064d
When spinning up the 2nd CPU, do it in little-endian mode so we access
...
the chip's registers properly.
2014-09-25 07:59:29 +00:00
ryo
a4103ccd60
add support i.MX6 and NITROGEN6X evaluation board
2014-09-25 05:05:28 +00:00
reinoud
8c12cb8ada
Add the not connected bits
...
While here, tweak the usb3503 attachment
2014-09-24 20:38:33 +00:00
skrll
9413278be7
Fix up usb0drv for BPI
2014-09-23 15:02:08 +00:00
macallan
6a85f858e4
add VC memory management goop
2014-09-23 10:52:21 +00:00
macallan
8ae37694b5
add goop for hardware cursor handling
2014-09-23 09:18:33 +00:00
skrll
96cd4614c5
Re-enable bcmdmac by popular demand. It works now too.
2014-09-22 21:05:39 +00:00
reinoud
d6858c32bd
Refactor usb hub attachment making it easier to read
2014-09-21 20:49:31 +00:00
reinoud
410d55ca8b
Re-enable OHCI since the Exynos5 SoC OHCI hang has been fixed
2014-09-21 15:23:55 +00:00
reinoud
ec7934705e
Update ODROID config, disabling ohci for now since it won't attach
2014-09-19 14:48:42 +00:00
reinoud
e62f622612
Cleanup ODROID-U config
2014-09-19 14:39:34 +00:00
wiz
6623c7d147
Add commented out KDTRACE_HOOKS line.
2014-09-18 14:58:21 +00:00
martin
c2db80d8f5
BOARDTYPE is now a string, use it directly.
2014-09-15 19:30:16 +00:00
martin
61ee040607
Pass BOARDTYPE as a string to awin_machdep.c
2014-09-15 19:28:49 +00:00
matt
d3d059aa5f
Replace more vm_offset_t, vm_size_t with vaddr_t, vsize_t
...
Use paddr_t for msgbufphys
2014-09-13 18:08:38 +00:00
jmcneill
3b5c713365
add motg (commented out)
2014-09-13 17:50:27 +00:00
jmcneill
2f047289ab
options MOTG_ALLWINNER
2014-09-13 14:48:02 +00:00
skrll
2fea13cdf7
Make emmc use of dma controller optional and disable the bcmdmac for now.
...
It doesn't work for me.
2014-09-13 08:08:24 +00:00
jmcneill
c90aa8a66c
AWIN_board not AWIN_BOARD
2014-09-13 02:21:52 +00:00
jmcneill
fedb0c6dd6
usb0drv is >PB9 for cubie2
2014-09-13 01:36:07 +00:00
jmcneill
3e343f5f8a
enable bcmdmac, now required by sdhc
2014-09-12 20:51:21 +00:00
jmcneill
616673a221
use dma channel mask from firmware
2014-09-12 15:29:30 +00:00
matt
941d53493d
options GTTWSI_ALLWINNER
2014-09-10 09:55:09 +00:00
skrll
243f794ede
Don't grab the ubootinfo structure and try to determine the mac address
...
from it. Rely on reading the mac from the chip.
2014-09-10 07:39:17 +00:00
matt
abd67352bb
Remove hack disabling dma for awinmmc0 on cubietruck.
2014-09-10 06:50:13 +00:00
jmcneill
eab0f0ab36
add axp20x
2014-09-09 22:49:20 +00:00
reinoud
b1ed2b886e
Xuhost bits for Exynos5 are located in the two top bits
2014-09-09 21:21:22 +00:00
jmcneill
2b1896b5df
disable dma on cubietruck for now
2014-09-09 21:04:05 +00:00
jmcneill
4c77e4366f
cubieboard2 uses awge not awe
2014-09-09 02:43:19 +00:00
jmcneill
6893084f35
add BUFQ_PRIOCSCAN
2014-09-09 00:16:03 +00:00
rjs
be15bd170d
Add rgephy.
2014-09-08 19:24:16 +00:00
skrll
9df00f4fee
Add awinrtc. Hi Jared.
2014-09-08 07:57:36 +00:00
skrll
c170a85cb4
Add BPI to the list of kernels to build.
2014-09-07 20:17:57 +00:00
jmcneill
a1d043fbb6
add awinrtc
2014-09-07 17:50:01 +00:00
skrll
1704ddce7c
Grab the DMA channel mask from the firmware.
2014-09-07 15:28:24 +00:00
jmcneill
234c00a189
add bcmdmac0, commented out until something uses it
2014-09-07 14:17:23 +00:00
skrll
fc571236cb
Add a Banana Pi kernel config and fixup mmc0detect assignment for BPI.
2014-09-07 06:26:08 +00:00
skrll
a1087b295f
Fix BOARDTYPE handling
2014-09-07 06:14:13 +00:00
jmcneill
cfdc87b0f7
remove duplicate awindma entry
2014-09-06 16:55:50 +00:00
jmcneill
3f3319a143
enable audio driver now that it works
2014-09-06 16:55:07 +00:00
jmcneill
aeaeff942d
add awindma
2014-09-06 00:16:36 +00:00
macallan
348a9a149c
implement WSCONSIO_[G|S]VIDEO by hijacking bcm2835_genfb's ioctl
...
next step: hardware cursor
2014-09-05 21:22:35 +00:00
skrll
210c9238b2
Copy the list of PHYs from elsewhere.
...
XXX sys/dev/mii/miidevices.config anyone?
2014-09-05 11:27:57 +00:00
jmcneill
96f3af9446
add (commented out) awinac driver
2014-09-04 02:39:41 +00:00
jmcneill
011ef8bf50
audio gpio setup
2014-09-04 02:34:30 +00:00
reinoud
855280cfa9
Add i2c bits for gpio to the connected GPIO pins for Exynos5
2014-09-03 15:24:52 +00:00
matt
57cc604bb7
These have been moved to evbarm/awin or conf/*.awin
2014-08-31 19:14:33 +00:00
matt
1dfddc4fb8
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.
2014-08-31 19:13:01 +00:00
kiyohara
dcb7622179
Pad L4 WAKEUP to 1M, like omap2_reg.h.
2014-08-30 15:21:17 +00:00
kiyohara
00d9d04946
Move options __HAVE_MM_MD_DIRECT_MAPPED_PHYS from MIRABOX to ARMADAXP.
...
It is must required.
2014-08-30 13:45:56 +00:00
kiyohara
0ea999a21f
Add options __HAVE_MM_MD_DIRECT_MAPPED_PHYS and set KERNEL_BASE_{EXT,VIRT}.
...
And support VFP.
2014-08-30 13:40:18 +00:00
kiyohara
9e620e2f41
Fix initialize PJ4B.
2014-08-30 13:28:07 +00:00
kiyohara
586b335e2c
Fix broken registers.
2014-08-30 13:24:44 +00:00
kiyohara
a31b3d055c
Support __HAVE_MM_MD_DIRECT_MAPPED_PHYS.
2014-08-30 13:19:52 +00:00
kiyohara
d3fda78cda
Use armreg_ttbr_read() instead of __asm("mrc ...").
2014-08-30 13:15:52 +00:00
matt
bf4c8a3ff7
Instead of printing cubie, use the BOARDTYPE instead. This allows other
...
boards to use the cubie code but see a more useful BOARDTYPE. We could
also use it to enable more apporpriate configuration for the board.
2014-08-29 07:29:07 +00:00
reinoud
cb766d6720
Implement CPU speed control for Exynos4 and Exynos5 CPUs using APLL frequency
...
adjustment.
2014-08-28 18:02:36 +00:00
skrll
9ecad865d7
pull in opt_arm_debug.h for VERBOSE_INIT_ARM
2014-08-28 06:36:48 +00:00