Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
diff --git a/sys/arch/evbmips/rasoc/machdep.c b/sys/arch/evbmips/rasoc/machdep.c index 6cb688d..e85b81f 100644 --- a/sys/arch/evbmips/rasoc/machdep.c +++ b/sys/arch/evbmips/rasoc/machdep.c @@ -163,7 +163,7 @@ mach_init(void) * Determine the memory size. */ #if defined(MT7620) - memsize = 128 << 20; + memsize = 64 << 20; #else memsize = *(volatile uint32_t *) MIPS_PHYS_TO_KSEG1(RA_SYSCTL_BASE + RA_SYSCTL_CFG0); diff --git a/sys/arch/mips/ralink/ralink_eth.c b/sys/arch/mips/ralink/ralink_eth.c index 855a712..afe8375 100644 --- a/sys/arch/mips/ralink/ralink_eth.c +++ b/sys/arch/mips/ralink/ralink_eth.c @@ -1635,7 +1635,7 @@ ralink_eth_mii_read(device_t self, int phy_addr, int phy_reg) if ((sw_read(sc, RA_ETH_SW_PCTL1) & PCTL1_RD_DONE) == 0) break; #else - if ((fe_read(sc, RA_FE_MDIO_ACCESS) & MDIO_ACCESS_TRG) == 0) + if ((fe_read(sc, 0x7004) & MDIO_ACCESS_TRG) == 0) break; #endif } @@ -1664,7 +1664,7 @@ ralink_eth_mii_read(device_t self, int phy_addr, int phy_reg) return data; } #else - if ((fe_read(sc, RA_FE_MDIO_ACCESS) & MDIO_ACCESS_TRG) == 0) { + if ((fe_read(sc, 0x7004) & MDIO_ACCESS_TRG) == 0) { int data = MDIO_ACCESS_DATA( fe_read(sc, RA_FE_MDIO_ACCESS)); ralink_eth_mdio_enable(sc, false); @@ -1697,7 +1697,7 @@ ralink_eth_mii_write(device_t self, int phy_addr, int phy_reg, int val) if ((sw_read(sc, RA_ETH_SW_PCTL1) & PCTL1_RD_DONE) == 0) break; #else - if ((fe_read(sc, RA_FE_MDIO_ACCESS) & MDIO_ACCESS_TRG) == 0) + if ((fe_read(sc, 0x7004) & MDIO_ACCESS_TRG) == 0) break; #endif } @@ -1725,7 +1725,7 @@ ralink_eth_mii_write(device_t self, int phy_addr, int phy_reg, int val) return; } #else - if ((fe_read(sc, RA_FE_MDIO_ACCESS) & MDIO_ACCESS_TRG) == 0){ + if ((fe_read(sc, 0x7004) & MDIO_ACCESS_TRG) == 0){ ralink_eth_mdio_enable(sc, false); return; } ---- ## Booting image at 80a00000 ... Image Name: evbmips 7.99.27 (ZYXELKX) Image Type: MIPS NetBSD Kernel Image (uncompressed) Data Size: 3538832 Bytes = 3.4 MB Load Address: 80010000 Entry Point: 80010000 Verifying Checksum ... OK OK No initrd ## Transferring control to Linux (at address 80010000) ... ## Giving linux memsize in MB, 64 Starting kernel ... MIPS32/64 params: cpu arch: 128 MIPS32/64 params: TLB entries: 32 MIPS32/64 params: Icache: line = 32, total = 65536, ways = 4 sets = 512 MIPS32/64 params: Dcache: line = 32, total = 32768, ways = 4 sets = 256 picache_stride = 4096 picache_loopcount = 16 mips_fixup_stubs: 5561 fixups done in 6657172 cycles phys segment: 0x4000000 @ 0 adding 0xf000 @ 0x1000 to freelist 0 adding 0x3c72000 @ 0x38e000 to freelist 0 pmap_steal_memory: seg 0: 0x1 0x1 0x10 0x10 pmap_steal_memory: seg 0: too small for 34 pages pmap_steal_memory: seg 1: 0x38e 0x38e 0x3fff 0x3fff pmap_steal_memory: seg 0: 0x1 0x1 0x10 0x10 Enabled early console pmap_steal_memory: seg 0: 0x3 0x3 0x10 0x10 pmap_steal_memory: seg 0: too small for 297 pages pmap_steal_memory: seg 1: 0x3b0 0x3b0 0x3fff 0x3fff Loaded initial symtab at 0x80317454, strtab at 0x80342c34, # entries 10572 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 7.99.27 (ZYXELKX) #0: Sun Apr 17 07:48:24 UTC 2016 fun@ubuntu:/home/fun/netbsd-src/sys/arch/evbmips/compile/obj/ZYXELKX MT7620 total memory = 65536 KB avail memory = 60572 KB mainbus0 (root): Mediatek MT7620 System Bus cpu0 at mainbus0: 580.00MHz (hz cycles = 2900000, delay divisor = 290) cpu0: MIPS 24KE (0x19650) Rev. 80 with software emulated floating point cpu0: 32 TLB entries, 256MB max page size cpu0: 64KB/32B 4-way set-associative L1 instruction cache cpu0: 32KB/32B 4-way set-associative write-back L1 data cache rwdog0 at mainbus0: Ralink watchdog controller rwdog0: max period 22 sec. rwdog0: KTICKLE mode, period 10 sec. rgpio0 at mainbus0: Ralink GPIO controller gpio0 at rgpio0: 98 pins ri2c0 at mainbus0: Ralink I2C controller iic0 at ri2c0: I2C bus com0 at mainbus0: Au1X00 UART, working fifo com0: console ohci0 at mainbus0: OHCI USB controller ohci0: OHCI version 1.0, legacy support usb0 at ohci0: USB revision 1.0 ehci0 at mainbus0: EHCI USB controller ehci0: companion ohci0 ehci0: companion controller, 1 port each: ohci0 usb1 at ehci0: USB revision 2.0 reth0 at mainbus0: Ralink Ethernet rpci0 at mainbus0: Ralink PCIe Controller uhub0 at usb0: Ralink OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1 at usb1: Ralink EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2 at uhub1 port 1: vendor 058f product 6254, class 9/0, rev 2.00/1.00, addr 2 uhub2: single transaction translator umass0 at uhub2 port 1 configuration 1 interface 0 umass0: Generic Flash Card Reader/Writer, rev 2.00/1.00, addr 3 scsibus0 at umass0: 2 targets, 2 luns per target sd0 at scsibus0 target 0 lun 0: <Generic-, Multiple Reader, 1.07> disk removable sd0: drive offline sd1 at scsibus0 target 0 lun 1: <Generic-, MicroSD/M2, 1.08> disk removable sd1: drive offline uhub0: device problem, disabling port 1 root device:
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Crypto admin access
2 min ago | 0.43 KB
Free Crypto Method
CSS | 2 min ago | 0.70 KB
Documents
3 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 3 min ago | 0.71 KB
Art school
9 hours ago | 1.06 KB
Untitled
14 hours ago | 6.00 KB
deforestation
1 day ago | 14.70 KB
Untitled
1 day ago | 0.32 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!