freebsd / freebsd-wifi-build

freebsd-wifi-build
141 stars 59 forks source link

enegnius 200/202 #115

Open smartspacesmx opened 7 years ago

smartspacesmx commented 7 years ago

I flashed through TFTP kernel and fs (Engenius 202)

Looks like kernel loads properly but I get this error

Mounting from ufs:/dev/map/rootfs.uzip failed with error 19.

Trying to mount root from ufs:/dev/map/rootfs.uzip

mountroot> _

File system doesn't wan to mount, could you advice what's going on wrong? Thanks!

erikarn commented 7 years ago

Hi!

I'm just about to go and update things for the ENH200 (since I'm about to mount one on my roof!) I'll fix it up and let you know.

thanks

-a

On 27 May 2017 at 22:14, vivedigital notifications@github.com wrote:

I flashed through TFTP kernel and fs (Engenius 202)

Looks like kernel loads properly but I get this error

Mounting from ufs:/dev/map/rootfs.uzip failed with error 19.

Trying to mount root from ufs:/dev/map/rootfs.uzip

mountroot> _

File system doesn't wan to mount, could you advice what's going on wrong? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/115, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7RCIHuQUmILGbFYalLhBTdx1M-18ks5r-QLEgaJpZM4NojTO .

smartspacesmx commented 7 years ago

I'm working with Engenius enh202 and they are pretty similar with 200, I'm trying to make rootfs mount, as well will update you if get some advances

On May 28, 2017 00:15, "Adrian Chadd" notifications@github.com wrote:

Hi!

I'm just about to go and update things for the ENH200 (since I'm about to mount one on my roof!) I'll fix it up and let you know.

thanks

-a

On 27 May 2017 at 22:14, vivedigital notifications@github.com wrote:

I flashed through TFTP kernel and fs (Engenius 202)

Looks like kernel loads properly but I get this error

Mounting from ufs:/dev/map/rootfs.uzip failed with error 19.

Trying to mount root from ufs:/dev/map/rootfs.uzip

mountroot> _

File system doesn't wan to mount, could you advice what's going on wrong? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/115, or mute the thread https://github.com/notifications/unsubscribe-auth/ ABGl7RCIHuQUmILGbFYalLhBTdx1M-18ks5r-QLEgaJpZM4NojTO .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/115#issuecomment-304493575, or mute the thread https://github.com/notifications/unsubscribe-auth/AH4UbkYFUDugTa_GDG3b_-YpRyPno1-5ks5r-QMDgaJpZM4NojTO .

smartspacesmx commented 7 years ago

`Unknown command ' bootm' - try 'help'

Booting image at 9f050000 ...

Image Name: FreeBSD Created: 2017-05-27 10:45:59 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1237577 Bytes = 1.2 MB Load Address: 80050000 Entry Point: 80050100 Verifying Checksum at 0x9f050040 ...OK Uncompressing Kernel Image ... OK No initrd

Transferring control to Linux (at address 80050100) ...

Giving linux memsize in bytes, 67108864

Starting kernel ...

CPU platform: Atheros AR9341 rev 1 CPU Frequency=535 MHz CPU DDR Frequency=400 MHz CPU AHB Frequency=200 MHz platform frequency: 535 MHz CPU reference clock: 40 MHz CPU MDIO clock: 100 MHz arguments: a0 = 00000008 a1 = a3f73fb0 a2 = a3f74480 a3 = 00000010 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 max line size = 32 cpu0: MIPS Technologies processor v76.151 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line L2 cache: disabled Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config2=0x80001000 Config3=0x2c20 Config7=0x80000800 Physical memory chunk(s): 0x48a000 - 0x1ffffff, 28794880 bytes (7030 pages) Maxmem is 0x2000000 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 #0 faa6908918d(master)-dirty: Sat May 27 05:44:11 CDT 2017 ilinsky@freebsdalexey:/var/www/obj/mips_ap/mips.mips/var/www/freebsd/sys/ENH200 mips gcc version 6.3.0 (FreeBSD Ports Collection for mips) WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0800000 MEMGUARD map size: 53592 KBytes Preloaded elf kernel "kernel" at 0x80483ff4. real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x0051e000 - 0x01f48fff, 27439104 bytes (6699 pages) avail memory = 20537344 (19MB) arc4random: no preloaded entropy cache mem: null: <full device, null device, zero device> nexus0: random: harvesting attach, 8 bytes (4 bits) from nexus0 argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0 mdio0: on argemdio0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 random: harvesting attach, 8 bytes (4 bits) from mdioproxy0 arswitch0: <Atheros AR7240 Ethernet Switch (ver 0 rev 0)> on mdio0 arswitch0: attaching PHY 0 failed device_attach: arswitch0 attach returned 6 random: harvesting attach, 8 bytes (4 bits) from mdio0 random: harvesting attach, 8 bytes (4 bits) from argemdio0 clock0: on nexus0 Timecounter "MIPS32" frequency 267500000 Hz quality 800 Event timer "MIPS32" frequency 267500000 Hz quality 800 random: harvesting attach, 8 bytes (4 bits) from clock0 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD random: harvesting attach, 8 bytes (4 bits) from uart0 random: harvesting attach, 8 bytes (4 bits) from apb0 pcib0 at irq 0 on nexus0 pcib0: no PCIe controller found device_attach: pcib0 attach returned 6 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Generating random ethernet address. miiproxy0: <MII/MDIO proxy, MII side> on arge0 random: harvesting attach, 8 bytes (4 bits) from miiproxy0 arge0: can't attach proxy arge0: finishing attachment, phymask 0010, proxy null arge0: unable to attach PHY 4: 6 device_attach: arge0 attach returned 6 arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: Generating random ethernet address. mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 62:73:64:ae:95:f5 random: harvesting attach, 8 bytes (4 bits) from arge1 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 mode 0 on spibus0 Unknown SPI flash device. Vendor: c8, device id: 4018 device_attach: mx25l0 attach returned 6 random: harvesting attach, 8 bytes (4 bits) from spibus0 random: harvesting attach, 8 bytes (4 bits) from spi0 ar71xx_wdog0: on nexus0 random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0 Device configuration finished. Timecounters tick every 1.000 msec lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/map/rootfs.uzip []... mountroot: waiting for device /dev/map/rootfs.uzip... Mounting from ufs:/dev/map/rootfs.uzip failed with error 19.`

So it can't mount rootfs and I think because of: "Unknown SPI flash device. Vendor: c8, device id: 4018 device_attach: mx25l0 attach returned 6"

Any idea?

erikarn commented 7 years ago

yup, lemme go find that device id and see what it should be

-a

On 27 May 2017 at 23:12, vivedigital notifications@github.com wrote:

`Unknown command ' bootm' - try 'help' Booting image at 9f050000 ...

Image Name: FreeBSD Created: 2017-05-27 10:45:59 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1237577 Bytes = 1.2 MB Load Address: 80050000 Entry Point: 80050100 Verifying Checksum at 0x9f050040 ...OK Uncompressing Kernel Image ... OK No initrd Transferring control to Linux (at address 80050100) ... Giving linux memsize in bytes, 67108864

Starting kernel ...

CPU platform: Atheros AR9341 rev 1 CPU Frequency=535 MHz CPU DDR Frequency=400 MHz CPU AHB Frequency=200 MHz platform frequency: 535 MHz CPU reference clock: 40 MHz CPU MDIO clock: 100 MHz arguments: a0 = 00000008 a1 = a3f73fb0 a2 = a3f74480 a3 = 00000010 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 max line size = 32 cpu0: MIPS Technologies processor v76.151 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line L2 cache: disabled Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config2=0x80001000 Config3=0x2c20 Config7=0x80000800 Physical memory chunk(s): 0x48a000 - 0x1ffffff, 28794880 bytes (7030 pages) Maxmem is 0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2017 <1992%202017> 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 #0 faa6908918d(master)-dirty: Sat May 27 05:44:11 CDT 2017 ilinsky@freebsdalexey:/var/www/obj/mips_ap/mips.mips/var/www/freebsd/sys/ENH200 mips gcc version 6.3.0 (FreeBSD Ports Collection for mips) WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0800000 MEMGUARD map size: 53592 KBytes Preloaded elf kernel "kernel" at 0x80483ff4. real memory = 33554432 (32768K bytes) Physical memory chunk(s): 0x0051e000 - 0x01f48fff, 27439104 bytes (6699 pages) avail memory = 20537344 (19MB) arc4random: no preloaded entropy cache mem: null: <full device, null device, zero device> nexus0: random: harvesting attach, 8 bytes (4 bits) from nexus0 argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0 mdio0: on argemdio0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 random: harvesting attach, 8 bytes (4 bits) from mdioproxy0 arswitch0: <Atheros AR7240 Ethernet Switch (ver 0 rev 0)> on mdio0 arswitch0: attaching PHY 0 failed device_attach: arswitch0 attach returned 6 random: harvesting attach, 8 bytes (4 bits) from mdio0 random: harvesting attach, 8 bytes (4 bits) from argemdio0 clock0: on nexus0 Timecounter "MIPS32" frequency 267500000 Hz quality 800 Event timer "MIPS32" frequency 267500000 Hz quality 800 random: harvesting attach, 8 bytes (4 bits) from clock0 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD random: harvesting attach, 8 bytes (4 bits) from uart0 random: harvesting attach, 8 bytes (4 bits) from apb0 pcib0 at irq 0 on nexus0 pcib0: no PCIe controller found device_attach: pcib0 attach returned 6 arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Generating random ethernet address. miiproxy0: <MII/MDIO proxy, MII side> on arge0 random: harvesting attach, 8 bytes (4 bits) from miiproxy0 arge0: can't attach proxy arge0: finishing attachment, phymask 0010, proxy null arge0: unable to attach PHY 4: 6 device_attach: arge0 attach returned 6 arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 arge1: Generating random ethernet address. mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 62:73:64:ae:95:f5 random: harvesting attach, 8 bytes (4 bits) from arge1 spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 mode 0 on spibus0 Unknown SPI flash device. Vendor: c8, device id: 4018 device_attach: mx25l0 attach returned 6 random: harvesting attach, 8 bytes (4 bits) from spibus0 random: harvesting attach, 8 bytes (4 bits) from spi0 ar71xx_wdog0: on nexus0 random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0 Device configuration finished. Timecounters tick every 1.000 msec lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/map/rootfs.uzip []... mountroot: waiting for device /dev/map/rootfs.uzip... Mounting from ufs:/dev/map/rootfs.uzip failed with error 19.`

So it can't mount rootfs and I think because of: "Unknown SPI flash device. Vendor: c8, device id: 4018 device_attach: mx25l0 attach returned 6"

Any idea?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/115#issuecomment-304495263, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7UqJzXhfuOkDgCzKZuuo3vTgKuc3ks5r-RBNgaJpZM4NojTO .

smartspacesmx commented 7 years ago

I found similar discussion

https://lists.freebsd.org/pipermail/freebsd-mips/2016-January/004342.html

erikarn commented 7 years ago

I'll go look at it soon. Keep poking me if I don't fix it!

-a

On 28 May 2017 at 00:02, vivedigital notifications@github.com wrote:

I found similar discussion

https://lists.freebsd.org/pipermail/freebsd-mips/2016-January/004342.html http://url

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/freebsd/freebsd-wifi-build/issues/115#issuecomment-304497157, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGl7RHrpbgY9Y3VCdxYAIsf4PHq0Hrhks5r-Rv4gaJpZM4NojTO .