Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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:
Add Comment
Please, Sign In to add comment