Commit Graph

1206 Commits (0112153a0eecfd08dfe6aa80d68120d14476fe95)

Author SHA1 Message Date
Gabor Juhos 0112153a0e ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009
13 years ago
Gabor Juhos 1afc76ea13 ar71xx: refresh kernel patches
SVN-Revision: 29008
13 years ago
Gabor Juhos 5ad763075e ar71xx: use the button for WPS control on the DB120
SVN-Revision: 28990
13 years ago
Gabor Juhos 4555be2bec ar71xx: register the second ethernet interface on the DB120 board
SVN-Revision: 28989
13 years ago
Gabor Juhos 368c6605a0 ar71xx: implement SoC specific phy interface setup
SVN-Revision: 28988
13 years ago
Gabor Juhos 21d317b9cc ar71xx: move phy interface setup into a separate function
SVN-Revision: 28987
13 years ago
Gabor Juhos aff0c84ffa ar71xx: register both MDIO bus on the DB120 board
SVN-Revision: 28986
13 years ago
Gabor Juhos b144249108 ar71xx: add AR934X specific MDIO registration code
SVN-Revision: 28985
13 years ago
Gabor Juhos f835106c8c ar71xx: add a secondary mdio bus
SVN-Revision: 28984
13 years ago
Gabor Juhos 90a42da270 ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
SVN-Revision: 28983
13 years ago
Gabor Juhos 9daa2149fd ar71xx: add an id argument to ar71xx_add_device_mdio
SVN-Revision: 28982
13 years ago
Gabor Juhos b07b687aec ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
SVN-Revision: 28981
13 years ago
Gabor Juhos a9216bb76e ar71xx: add AR934x specific USB setup
SVN-Revision: 28980
13 years ago
Gabor Juhos 346e44105a ar71xx: register the first ethernet interface on the DB120 board
SVN-Revision: 28979
13 years ago
Gabor Juhos b1ba5e2f3d ar71xx: allow to register ethernet interfaces for AR934X
SVN-Revision: 28978
13 years ago
Gabor Juhos 2f9e535e89 ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
SVN-Revision: 28977
13 years ago
Gabor Juhos e962b07c8b ar71xx: add AR934X specific bootstrap and reset register bits
SVN-Revision: 28976
13 years ago
Gabor Juhos d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
13 years ago
Gabor Juhos d8db8e94c8 ar71xx: fix GPIO direction setup for AR934x
SVN-Revision: 28974
13 years ago
Gabor Juhos 43e993e5f5 ar71xx: fix AR934X clock frequency calculation
SVN-Revision: 28973
13 years ago
Gabor Juhos 8687fc3e41 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28971
13 years ago
Felix Fietkau 7a2efd8c28 ar71xx: remove dead code
SVN-Revision: 28851
13 years ago
Felix Fietkau 94309039b7 ar71xx: on ar7240, exclude ports from their own port vlan destination mask
SVN-Revision: 28850
13 years ago
Gabor Juhos 87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
13 years ago
Gabor Juhos 09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
13 years ago
Gabor Juhos 63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
13 years ago
Gabor Juhos c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
13 years ago
Gabor Juhos ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
13 years ago
Gabor Juhos d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
13 years ago
Gabor Juhos 68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
13 years ago
Gabor Juhos 83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
13 years ago
Gabor Juhos 22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
13 years ago
Gabor Juhos e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
13 years ago
Gabor Juhos 9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
13 years ago
Gabor Juhos ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
13 years ago
Gabor Juhos 944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
13 years ago
Gabor Juhos 6e8390ae6c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

SVN-Revision: 28820
13 years ago
Gabor Juhos b62560413a ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

SVN-Revision: 28819
13 years ago
Gabor Juhos 6c92b26bac ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

SVN-Revision: 28818
13 years ago
Gabor Juhos 0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
13 years ago
Gabor Juhos 54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
13 years ago
Gabor Juhos 5b6cc3eb9f ar71xx: change generated Buffalo firmware versions
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."

SVN-Revision: 28815
13 years ago
Gabor Juhos eb9ef60e2d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
SVN-Revision: 28812
13 years ago
Gabor Juhos 8456840d82 ar71xx: wrap long lines in the upgrade script
SVN-Revision: 28811
13 years ago
Gabor Juhos c60baf78ce ar71xx: fix WHR-HP-G300N firmware partition offset
SVN-Revision: 28810
13 years ago
Gabor Juhos b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
13 years ago
Gabor Juhos 034b2b7cde ar71xx: build image for the Buffalo WHR-HP-GN
SVN-Revision: 28806
13 years ago
Gabor Juhos a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
13 years ago
Gabor Juhos 0d9ae0a036 ar71xx: build image for the Buffalo WHR-G301N
SVN-Revision: 28804
13 years ago
Gabor Juhos 4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
13 years ago