jmcneill
401a108a75
use BOOTOPT_TYPE_MACADDR
2015-01-06 00:52:26 +00:00
jmcneill
1a6d2c6b3b
typo fix
2015-01-06 00:45:45 +00:00
jmcneill
3b928cbe55
allow passing rkemac0.mac-address=xx:xx:xx:xx:xx:xx on kernel cmdline to override random mac address
2015-01-06 00:43:59 +00:00
jmcneill
1e3894553e
remove rgephy, radxa rock seems to have an smsc phy that works with ukphy
2015-01-05 22:17:38 +00:00
martin
ad080d19b4
Fix typo in BPI specific setup, spotted by Jared.
...
Now awge works with the official sunxi-linux u-boot versions as well.
2015-01-04 15:59:32 +00:00
jmcneill
ee9ed106f4
set LDO5 to 3.3V and enable for emac
2015-01-04 03:55:11 +00:00
jmcneill
d9650d3cbb
add rkemac, rgephy, ukphy
2015-01-04 03:53:34 +00:00
jmcneill
380f6aeb58
build fix
2015-01-03 16:15:25 +00:00
jmcneill
27939bef63
set DCDC4 to 3.3V for mmc0
2015-01-03 13:28:00 +00:00
jmcneill
35dd32a1db
attach rktimer and rkiic early
2015-01-03 13:27:11 +00:00
jmcneill
1b714ed8e8
add rktimer
2015-01-02 23:20:49 +00:00
jmcneill
5e4a2bdda1
init cpufreq, remove cpu.frequency boot arg support
2015-01-02 22:00:02 +00:00
christos
c182898b0d
We have three sets of DTYPE_ constants in the kernel:
...
altq Drop Type
disklabel Disk Type
file Descriptor Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
martin
03cf64aad4
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.
2015-01-02 11:46:53 +00:00
jmcneill
5c3b4119a4
Enable LDO2 for HDMI driver.
2015-01-02 00:50:56 +00:00
jmcneill
2284275e2c
wire down iicN units, add act8846pm at iic1
2015-01-01 17:34:00 +00:00
jmcneill
c62041e48d
fix i2c offsets
2014-12-31 23:38:42 +00:00
jmcneill
3c14839044
MULTIPROCESSOR works now
2014-12-30 21:29:43 +00:00
jmcneill
1914bfd31d
do armv7_dcache_inv_all before cortex_mpstart on secondaries
2014-12-30 21:24:36 +00:00
jmcneill
211b6cbf4d
specify irq numbers for rkiic so we can avoid polled mode when possible
2014-12-30 17:28:52 +00:00
jmcneill
ff912df066
enable rkiic and iic
2014-12-30 17:16:29 +00:00
jmcneill
bf33f1be32
Add support for setting RK3188/RK3188+ CPU frequency. If the SoC ID is
...
passed in bootargs matching RK3188 or RK3188+, and the cpu.frequency
option specifies a supported rate (currently 600, 1008, 1608 MHz), the
APLL clock will be adjusted accordingly.
2014-12-30 03:53:52 +00:00
jmcneill
c767bf429f
something wrong with MP, turn it off for now
2014-12-29 12:53:39 +00:00
jmcneill
5b6f48e0e1
MAX_BOOT_STRING is not large enough for noisy Rockchip U-Boot; bump bootargs to 1024 bytes
2014-12-29 03:16:07 +00:00
jmcneill
fe2ccb09db
Copy cmdline from U-Boot to bootargs.
2014-12-28 21:34:33 +00:00
jmcneill
c238f14705
add -mfpu=neon to CPPFLAGS
2014-12-28 16:29:21 +00:00
jmcneill
07297f2230
enable MULTIPROCESSOR
2014-12-28 16:04:05 +00:00
jmcneill
196997ef0d
add MULTIPROCESSOR support
2014-12-28 16:03:51 +00:00
jmcneill
cc521a8b25
add support for detecting memory size. 2GB config doesnt work yet, so keep MEMSIZE set for now.
2014-12-28 01:51:37 +00:00
jmcneill
227b4fc43d
Bring this closer to Allwinner / RPI configs:
...
Add MSDOSFS, KERNFS, PROCFS, INET6, SYSVMSG, SYSVSEM, SYSVSHM, BUFQ_PRIOCSCAN.
Remove DEBUG, LOCKDEBUG, VERBOSE_INIT_ARM.
Change DDB_ONPANIC from 2 to 1.
Cinclude ROCKCHIP.local
2014-12-27 20:28:09 +00:00
jmcneill
5040b7889f
use rockchip_a9periph_get_rate for a9tmr frequency
2014-12-27 16:19:24 +00:00
jmcneill
9ac0c0c11a
timer_clk is 24MHz
2014-12-27 04:20:38 +00:00
jmcneill
5eeafad29c
use correct bs tag for arml2cc_init
2014-12-27 03:58:52 +00:00
jmcneill
8f94c21074
dont hard-code cpu_cc_freq
2014-12-27 02:40:23 +00:00
jmcneill
79ec78c527
add dwcmmc
2014-12-27 01:29:13 +00:00
jmcneill
14e2578603
use rockchip_crureg.h
2014-12-27 01:21:02 +00:00
martin
deab0235f8
"Jared broke my kernel by adding comments!" - make it compile again
2014-12-26 21:45:17 +00:00
jmcneill
3d2a425be2
Map all of core0 and core1 space and let drivers use bus_space_subregion
...
instead of bus_space_map. Fill in rockchip_reset.
2014-12-26 19:44:48 +00:00
jmcneill
4868a9ae4a
Initial support for Rockchip RK3066 / RK3188 SoCs, from Hiroshi Tokuda
...
<tokuda@tokuda.net> on port-arm:
http://mail-index.netbsd.org/port-arm/2014/10/09/msg002651.html
2014-12-26 16:53:33 +00:00
matt
a7cfe46ea7
Default to armv7-a when building ODROID kernels so we get the armv7a
...
instructions.
2014-12-23 18:38:58 +00:00
jmcneill
2c296d5db2
fix A20/A31 MP
2014-12-22 23:46:50 +00:00
jmcneill
d8a2c87b34
read chip ID from SRAM ver reg on A80; the chip ID is 0x1639
2014-12-22 00:07:24 +00:00
jmcneill
2f4075b12d
enable awindebe, genfb, wsdisplay
2014-12-21 17:42:12 +00:00
jmcneill
971763960c
add INSTALL kernel for Allwinner A80
2014-12-14 18:12:38 +00:00
jmcneill
67c6840c84
enable MULTIPROCESSOR
2014-12-11 23:35:31 +00:00
jmcneill
d994108009
A80: Startup 3 additional Cortex-A7 cores in cluster 0.
2014-12-11 23:35:11 +00:00
jmcneill
dd1501f656
Use correct pinset function (5 not 2) for gmac on BananaPi
2014-12-10 17:45:53 +00:00
jmcneill
11ccb2fac6
eMMC works now, turn it on
2014-12-07 20:10:08 +00:00
jmcneill
debdad4e2b
Add A80 PIO L,M,N and A80 CIR (RX) support.
2014-12-07 18:32:13 +00:00
jmcneill
a632d58f1c
add AC100 CODEC/RTC driver
2014-12-07 14:25:09 +00:00