Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 11:28:14 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Monthadar Al Jaberi <monthadar@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: RSPRO tftpd freebsd boot freeze
Message-ID:  <CAJ-Vmo=9beX1VW=J8C50c%2B5WjRCOtXHLGWuBXJCYoM7bXna=yA@mail.gmail.com>
In-Reply-To: <CA%2BsBSoK54K_0=N9omWZ6pHysnP8-eLHFfqiaOhaS8qFOgxZZUg@mail.gmail.com>
References:  <CA%2BsBSoK54K_0=N9omWZ6pHysnP8-eLHFfqiaOhaS8qFOgxZZUg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
.. that's odd. I don't have this issue on _any_ of my boards. How are
you building the kernel?

I just rebuilt -HEAD last night and booted it on my RSPRO. It didn't
have an issue netbooting but I haven't tried booting from flash media.
I'll try that tonight.



Adrian

On 11 July 2012 12:57, Monthadar Al Jaberi <monthadar@gmail.com> wrote:
> Hi,
>
> Sorry if this is an old board. I am having trouble boot RSPRO using tftpd.
>
> I am using Adrian's mkfwimage.c modified image too create image.
>
> The same kernel image that is padded if I load it from Redboot prompt
> boots fine. Grateful for any tips :)
>
> this is a log from RSPRO when it hang (after receiving and writing the image):
> TFTPD: Incoming connection from 172.16.0.100:48745
> Received:  9503128 bytes
> Firmware Version: RSPRO.ar7100pro.FreeBSD.test
> Initializing default partitions for 16M flash size.
> Created 'kernel' - base: 0xBF030000, mem base; 0x80050100, entry:
> 0x80050100, size: 0x005F0000
> Created 'rootfs' - base: 0xBF620000, mem base; 0xBF170000, entry:
> 0x00000000, size: 0x00510000
>
> Updating FIS directory!
> ... Erase from 0xbfff0000-0xc0000000: .
> ... Program from 0x87ff0000-0x88000000 at 0xbfff0000: .
>
> Flashing partition 'kernel' (size: 0x005F0000, actual data: 0x005F0000)
> ... Erase from 0xbf030000-0xbf620000:
> ...............................................................................................
> ... Program from 0x8006e144-0x8065e144 at 0xbf030000:
> ...............................................................................................
>
> Flashing partition 'rootfs' (size: 0x00510000, actual data: 0x00320000)
> ... Erase from 0xbf620000-0xbfb30000:
> .................................................................................
> ... Program from 0x8065e184-0x8097e184 at 0xbf620000:
> ..................................................
> ... Resetting.+
> AR8316 PHY found on MAC0
> AR8316 PHY found on MAC1
> Ethernet eth0: MAC address 00:15:6d:c8:c9:32
> IP: 172.16.3.25/255.255.0.0, Gateway: 172.16.0.1
> Default server: 172.16.0.101
>
> RedBoot(tm) bootstrap and debug environment [ROMRAM]
> Ubiquiti Networks certified release, version 0.9.00318M.0905121200 -
> built 12:01:38, May 12 2009
>
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
>
> Board: Ubiquiti RouterStation PRO
>  Arch: ar7100pro
>   RAM: 0x80000000-0x88000000, [0x8003bf00-0x87fe1000] available
> Flash: 0xbf000000-0xc0000000, in 256 blocks of 0x00010000 bytes each
> == Executing boot script in 1.000 seconds - enter ^C to abort
> RedBoot> fis load kernel
> RedBoot> exec
> Now booting linux kernel:
>  Base address 0x80050000 Entry 0x80050100
>  memsize=0x08000000
>  modetty0=0,n,8,1,hw
>  board=RouterStation PRO
>  ethaddr=00.15.6d.c8.c9.32
>
> --
> Monthadar Al Jaberi
> _______________________________________________
> freebsd-mips@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=9beX1VW=J8C50c%2B5WjRCOtXHLGWuBXJCYoM7bXna=yA>