Skip to content

Instantly share code, notes, and snippets.

@landonf
Created December 16, 2017 01:44
Show Gist options
  • Select an option

  • Save landonf/5faf2b6e390653bb8d757d02be988cf2 to your computer and use it in GitHub Desktop.

Select an option

Save landonf/5faf2b6e390653bb8d757d02be988cf2 to your computer and use it in GitHub Desktop.

Revisions

  1. landonf revised this gist Dec 16, 2017. 1 changed file with 1 addition and 20 deletions.
    21 changes: 1 addition & 20 deletions rt53_bwn.txt
    Original file line number Diff line number Diff line change
    @@ -48,23 +48,4 @@ mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
    mx25l0: w25q64, sector 65536 bytes, 128 sectors
    bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 28> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 9 at core 1 on bhnd0
    bwn0: unsupported radio (manuf 0x17f, ver 0x2057, rev 0x5)
    device_attach: bwn0 attach returned 6
    bhnd0: <Broadcom Gigabit MAC core, rev 3> mem 0x18002000-0x18002fff,0x18008000-0x18008fff,0x18102000-0x18102fff irq 10 at core 2 (no driver attached)
    bhnd_usb0: <USB2.0 Host core> mem 0x18004000-0x18004fff,0x18009000-0x18009fff,0x18104000-0x18104fff irq 12 at core 4 on bhnd0
    bhnd_usb0: bhnd: USB HOST 2.0 setup for rev 5
    bhnd_usb0: bhnd: ehci: irq=15 maddr=0x18004000
    bhnd_usb0: bhnd: ohci: irq=16 maddr=0x18004000
    ehci0: <Broadcom EHCI> at mem 18004000-18004fff irq 4 on bhnd_usb0
    bhnd_usb0: bhnd: trying allocate def 3 - 0 for ehci0
    bhnd_usb0: bhnd: trying allocate def 1 - 0 for ehci0
    usbus0: EHCI version 1.0
    usbus0 on ehci0
    ohci0: <Broadcom OHCI> at mem 18004000-180041ff irq 4 on bhnd_usb0
    bhnd_usb0: bhnd: trying allocate def 3 - 0 for ohci0
    bhnd_usb0: bhnd: could not reserve resource
    ohci0: Could not map memory
    device_attach: ohci0 attach returned 6
    bhnd0: <Broadcom DDR1/DDR2 Memory Controller, rev 2> mem 0x18005000-0x18005fff,0-0x7ffffff,0x10000000-0x17ffffff,0x80000000-0xbfffffff,0x18105000-0x18105fff at core 5 (no driver attached)
    bhnd0: <Broadcom I2S Digital Audio Interface, rev 2> mem 0x18006000-0x18006fff,0x18106000-0x18106fff irq 13 at core 6 (no driver attached)
    bhnd0: <Broadcom Internal Memory, rev 11> mem 0x18007000-0x18007fff,0x1e000000-0x1e01ffff,0x18107000-0x18107fff at core 7 (no driver attached)
    Timecounters tick every 10.000 msec
    device_attach: bwn0 attach returned 6
  2. landonf created this gist Dec 16, 2017.
    70 changes: 70 additions & 0 deletions rt53_bwn.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,70 @@
    entry: mips_init()
    Cache info:
    picache_stride = 4096
    picache_loopcount = 8
    pdcache_stride = 4096
    pdcache_loopcount = 8
    max line size = 32
    cpu0: MIPS Technologies processor v73.151
    MMU: Standard TLB, 64 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)
    L1 i-cache: 4 ways of 256 sets, 32 bytes per line
    L1 d-cache: 4 ways of 256 sets, 32 bytes per line
    L2 cache: disabled
    Config1=0xfea3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
    Config2=0x80000000
    Config3=0x2c20<ULRI>
    Config7=0xa0000800<WII>
    KDB: debugger backends: ddb
    KDB: current backend: ddb
    Copyright (c) 1992-2017 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    FreeBSD 12.0-CURRENT #22 40ba19e3091(user/landonf/bwn_fbsdf/M3/0001_bwn_bhnd)-dirty: Fri Dec 15 17:30:03 MST 2017
    landonf@zadder:/usr/home/landonf/Documents/Code/FreeBSD/obj/mipsel/usr/home/landonf/Documents/Code/FreeBSD/freebsd/mips.mipsel/sys/BCM mips
    gcc version 4.2.1 20070831 patched [FreeBSD]
    real memory = 32899072 (32128K bytes)
    avail memory = 23965696 (22MB)
    arc4random: no preloaded entropy cache
    random: entropy device external interface
    nexus0: <MIPS32 root nexus>
    bhnd_nvram0: <Broadcom> on nexus0
    bhnd0: <BCM5357 BCMA bus> at mem 0x18000000-0x180fffff on nexus0
    bhnd_chipc0: <Broadcom ChipCommon I/O Controller, rev 38> mem 0x18000000-0x18000fff,0x1fc00000-0x1fffffff,0x1c000000-0x1dffffff,0x18100000-0x18100fff,0x18108000-0x18108fff irq 8 at core 0 on bhnd0
    gpio0: <Broadcom ChipCommon GPIO> mem 0x18000000-0x18000fff on bhnd_chipc0
    gpiobus0: <GPIO bus> on gpio0
    cpupic0: <MIPS32 Interrupt Controller> on nexus0
    bcm_mips0: <MIPS MIPS74k CPU, rev 4> mem 0x18003000-0x18003fff,0x18103000-0x18103fff irq 11 at core 3 on bhnd0
    bhnd_pmu0: <Broadcom ChipCommon PMU, rev 9> on bhnd_chipc0
    clock0: <Generic MIPS32 ticker> on nexus0
    Timecounter "MIPS32" frequency 250000000 Hz quality 800
    Event timer "MIPS32" frequency 250000000 Hz quality 800
    gpioc0: <GPIO controller> on gpio0
    uart0: <16750 or compatible> mem 0x18000300-0x180003ff irq 14 on bhnd_chipc0
    uart0: console (115200,n,8,1)
    spi0: <Broadcom ChipCommon SPI> mem 0x1c000000-0x1dffffff,0x18000040-0x1800004b on bhnd_chipc0
    spibus0: <spibus bus> on spi0
    mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
    mx25l0: w25q64, sector 65536 bytes, 128 sectors
    bwn0: <Broadcom 802.11 MAC/PHY/Radio, rev 28> mem 0x18001000-0x18001fff,0x18101000-0x18101fff irq 9 at core 1 on bhnd0
    bwn0: unsupported radio (manuf 0x17f, ver 0x2057, rev 0x5)
    device_attach: bwn0 attach returned 6
    bhnd0: <Broadcom Gigabit MAC core, rev 3> mem 0x18002000-0x18002fff,0x18008000-0x18008fff,0x18102000-0x18102fff irq 10 at core 2 (no driver attached)
    bhnd_usb0: <USB2.0 Host core> mem 0x18004000-0x18004fff,0x18009000-0x18009fff,0x18104000-0x18104fff irq 12 at core 4 on bhnd0
    bhnd_usb0: bhnd: USB HOST 2.0 setup for rev 5
    bhnd_usb0: bhnd: ehci: irq=15 maddr=0x18004000
    bhnd_usb0: bhnd: ohci: irq=16 maddr=0x18004000
    ehci0: <Broadcom EHCI> at mem 18004000-18004fff irq 4 on bhnd_usb0
    bhnd_usb0: bhnd: trying allocate def 3 - 0 for ehci0
    bhnd_usb0: bhnd: trying allocate def 1 - 0 for ehci0
    usbus0: EHCI version 1.0
    usbus0 on ehci0
    ohci0: <Broadcom OHCI> at mem 18004000-180041ff irq 4 on bhnd_usb0
    bhnd_usb0: bhnd: trying allocate def 3 - 0 for ohci0
    bhnd_usb0: bhnd: could not reserve resource
    ohci0: Could not map memory
    device_attach: ohci0 attach returned 6
    bhnd0: <Broadcom DDR1/DDR2 Memory Controller, rev 2> mem 0x18005000-0x18005fff,0-0x7ffffff,0x10000000-0x17ffffff,0x80000000-0xbfffffff,0x18105000-0x18105fff at core 5 (no driver attached)
    bhnd0: <Broadcom I2S Digital Audio Interface, rev 2> mem 0x18006000-0x18006fff,0x18106000-0x18106fff irq 13 at core 6 (no driver attached)
    bhnd0: <Broadcom Internal Memory, rev 11> mem 0x18007000-0x18007fff,0x1e000000-0x1e01ffff,0x18107000-0x18107fff at core 7 (no driver attached)
    Timecounters tick every 10.000 msec