Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2013 11:10:58 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Making Picostation m2HP work
Message-ID:  <CALCpEUE%2BDMq9KYBNZfJLx6DTxAY%2B1gv3uLQ3OtO-N1W1zRKL=Q@mail.gmail.com>
In-Reply-To: <CALCpEUGmtpVL=Y5Uqiz_h4%2BKgBDH9%2B=vC_DJHyU5rvOGOdiSag@mail.gmail.com>
References:  <CALCpEUHxqyZb1Y5WqsuxjvwY2Pd_xN2%2BoTgsew0DwdRMC6=5Nw@mail.gmail.com> <CAJ-VmomtCNq3KUjVfcaLGjnSLjnvBWKzARs8TzebmN9MdMFkcA@mail.gmail.com> <CALCpEUGmtpVL=Y5Uqiz_h4%2BKgBDH9%2B=vC_DJHyU5rvOGOdiSag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 14, 2013 at 12:13 PM, hiren panchasara
<hiren.panchasara@gmail.com> wrote:
> On Fri, Jul 12, 2013 at 1:58 PM, Adrian Chadd <adrian@freebsd.org> wrote:
>> cool.
>>
>> So step #1 - what kind of SoC is it (7241) and wifi (ar9280) ?
>>
>> The SoC dictates which base config we "copy" when we build the kernel.
>>
>> The important bits for these SoCs are:
>>
>> * which SoC
>> * for AR91xx/AR71xx - which ethernet switch and how it's wired up; the
>> AR933x and AR724x have an internet switch so there's only one config
>> * how much RAM
>> * what's the flash layout - important for generating the image and
>> populating the hints table with the flash layout
>>
>> But let's focus on getting a kernel netbooting first..
>
> Build kernel.AP91 with your buildscripts and trying to tftpboot the
> board with that but getting following errors in /var/log/messages on
> my tftpserver (my laptop)
>
> flymockour-l7 in.tftpd[11247]: tftpd: oack: Host is down - when I do
> "tftpboot 0x80050000 kernel.AP91" and tftp transfer never gets done
> (keeps timing out)
>
> I am not sure what this means but I will try putting switch in-between
> my laptop and the board and see if I can make this thing to work.

Adrian,

Putting a switch between tftpserver and the board worked. (Thanks Rui).

ar7240> printenv
bootdelay=1
baudrate=115200
ethaddr=00:15:6d:0d:00:00
mtdids=nor0=ar7240-nor0
partition=nor0,0
mtddevnum=0
mtddevname=u-boot
filesize=10000
fileaddr=81000000
serverip=192.168.1.254
ethact=eth0
mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM)
bootcmd=bootm 0x9f050000
bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init
ipaddr=192.168.1.20
stdin=serial
stdout=serial
stderr=serial

Environment size: 452/65532 bytes
ar7240> tftpboot 0x80050000 kernel.AP91
Using eth0 device
TFTP from server 192.168.1.254; our IP address is 192.168.1.20
Filename 'kernel.AP91'.
Load address: 0x80050000
Loading: #
done
ar7240> go 0x80050100
## Starting application at 0x80050100 ...

Its stuck here and not doing anything. What should I look into next?

Thanks,
Hiren

>
> Anybody with some clue what this means?
>
> Thanks,
> Hiren
>>
>>
>>
>> -adrian
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUE%2BDMq9KYBNZfJLx6DTxAY%2B1gv3uLQ3OtO-N1W1zRKL=Q>