Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2016 18:05:22 +0300
From:      Stanislav Galabov <sgalabov@gmail.com>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: Mediatek / Ralink status
Message-ID:  <48872155-C822-4B18-9B00-1689692DD294@gmail.com>
In-Reply-To: <572616AD.4020706@digiware.nl>
References:  <79DA8224-E857-4B86-81EC-D7A9E765E201@gmail.com> <572616AD.4020706@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hi Stanislav,
>=20
> I'm trying to boot my Witi board with the new -head.
> On previous occasions I build a MT6720 version that booted. (I even
> ignored the compression step for the time being, since lzma was giving
> trouble)
> And that worked for all things that were available then. (Even mounted a d=
isk)
> Got ARP REPLY, set server/gtwy eth addr (1c:6f:65:82:ec:12)
> Got it
> #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         #################################################################
>         ###################################
> done
> Bytes transferred =3D 3838128 (3a90b0 hex)
> NetBootFileXferSize=3D 003a90b0
> Automatic boot of image at addr 0x80A00000 ...
> ## Booting image at 80a00000 ...
>   Image Name:   FreeBSD Kernel Image
>   Image Type:   MIPS Linux Kernel Image (uncompressed)
>   Data Size:    3838064 Bytes =3D  3.7 MB
>   Load Address: 80001100
>   Entry Point:  80001100
>   Verifying Checksum ... OK
> OK
> No initrd
> ## Transferring control to Linux (at address 80001100) ...
> ## Giving linux memsize in MB, 256
>=20
> Starting kernel ...
>=20
> FDT DTB at: 0x8037f570
> CPU  clock:  880MHz
> SYS  clock:  220MHz
> UART clock:   50MHz
>=20
> U-Boot args (from 0 args):
>        None
> Environment:
>        memsize=3D256
>        initrd_start=3D0x00000000
>        initrd_size=3D0x0
>        flash_start=3D0x00000000
>        flash_size=3D0x1000000
> entry: mips_init()
> RAM size: 256MB (from memsize)
> Cache info:
>  picache_stride    =3D 4096
>  picache_loopcount =3D 8
>  pdcache_stride    =3D 4096
>  pdcache_loopcount =3D 8
> cpu0: MIPS Technologies processor v47.153
>  MMU: Standard TLB, 32 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: 8 ways of 1024 sets, 32 bytes per line, 256 KiB total size
>  Config1=3D0xbea3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
>  Config2=3D0x80000447
>  Config3=3D0x2000242c
> Physical memory chunk(s):
> 0x434000 - 0xfffffff, 264028160 bytes (64460 pages)
> Maxmem is 0x10000000
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2016 The FreeBSD Project.
> [And the stuff boots.]
>=20
> Now doing the same with the new kernel, it gets stuck at:
>=20
> Bytes transferred =3D 5109292 (4df62c hex)
> NetBootFileXferSize=3D 004df62c
> Automatic boot of image at addr 0x80A00000 ...
> ## Booting image at 80a00000 ...
>   Image Name:   FreeBSD Kernel Image
>   Image Type:   MIPS Linux Kernel Image (uncompressed)
>   Data Size:    5109228 Bytes =3D  4.9 MB
>   Load Address: 80001100
>   Entry Point:  80001100
>   Verifying Checksum ... OK
> OK
> No initrd
> ## Transferring control to Linux (at address 80001100) ...
> ## Giving linux memsize in MB, 256
>=20
> Starting kernel ...
> [ And then the system freezes ]
>=20
> Any suggestions on how to diagnose this freeze?

Can you please post your build line?
>=20
> Thanx,
> --WjW



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48872155-C822-4B18-9B00-1689692DD294>