Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2007 09:14:26 -0800
From:      Sam Leffler <sam@errno.com>
To:        Roman Le Houelleur <roman@IPricot.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Intel IXDP425 eval board
Message-ID:  <45B0FC72.70605@errno.com>
In-Reply-To: <45B08F0D.70803@IPricot.com>
References:  <45ACA11B.8060301@IPricot.com> <45AD0AA9.8080606@errno.com>	<45ADEB85.1030709@IPricot.com> <45B08F0D.70803@IPricot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Roman Le Houelleur wrote:
> Ok, the second serial port in useful indeed ...
> Here is its ouput after typing "go" (on the primary one):
> 
> Kuart0: <Non-standard ns8250 class UART with FIFOs> on ixp0
> uart0: [FAST]
> uart0: console (115200,n,8,1)
> ixpqmgr0: <IXP425 Q-Manager> on ixp0
> npe0: <IXP NPE-B> on ixp0
> device_attach: npe0 attach returned 5
> npe1: <IXP NPE-C> on ixp0
> device_attach: npe1 attach returned 5
> ata_avila0: <Gateworks Avila IDE/CF Controller> on ixp0
> ata0: <ATA channel 0> on ata_avila0
> led_avila0: <Gateworks Avila GPIO connected LED> on ixp0
> ixpclk0: [FAST]
> Timecounter "IXP425 Timer" frequency 66666600 Hz quality 1000
> Timecounters tick every 10.000 msec
> bootpc_init: wired to interface 'npe0'
> panic: bootpc_init: Could not find interface specified by
> BOOTP_WIRED_TO: npe0
> KDB: enter: panic
> [thread pid 0 tid 0 ]
> Stopped at      kdb_enter+0x3c: ldrb    r15, [r15, r15, ror r15]!
> db>
> 
> The qmgr option is already in the AVILA kernel config, I am
> not sure what you meant Sam ... Shall I use another version
> of the IAL ?

There is no IAL in freebsd.  The qmgr support is there; see the ixpqmgr0
probe line above.  This issue is likely that you need to tweak the npe
topology in if_npe.c; UTSL.  At some point the wired down assignments
are to be replaced by hints.  However once you get past that you still
will hit the issue with the qmgr I spoke of originally--it does not
support A* boards.  I have no idea what will happen.

	Sam

> 
> Well, at least I now have something that looks like a
> FreeBSD kernel starting to boot :-)
> 
> Thanks,
> Roman.
> 
> Roman Le Houelleur wrote:
>> Thank you all for your answers,
>>
>> It seems the explanation is just hereunder, I hope to
>> find some time to give it a try today. I will also
>> check the UARTS btw, it does have two ports indeed.
>>
>> I do not know if A* boards are common, the one I have
>> is quite old I think, so I guess no.
>> I actually need to evaluate the performance of the IXP42*
>> plateform. If I run in too much trouble with this old board
>> I might well go for an avila. We (you) probably don't want
>> to spend much time on this particular one.
>>
>> I will get back to you asap with the results.
>>
>> Thanks,
>> Roman.
>>
>> Sam Leffler wrote:
>>> Roman Le Houelleur wrote:
>>>> Hi,
>>>>
>>>> First of all, congratulation for the work being done porting
>>>> FreeBSD to the IXP425 !
>>>>
>>>> I have an IXDP425 eval board rev A3 from Intel on which I
>>>> tried the AVILA procedure as is, just in case, strictly
>>>> following information from:
>>>> http://people.freebsd.org/~sam/README-gateworks
>>>
>>> My IAL replacement code does not support A3 revs.  To fix that you need
>>> to add to the qmgr support as the A3 hardware does not have certain
>>> functionality the current code assumes.
>>>
>>> I assumed A* boards would be rare; am I wrong?
>>>
>>>> Unfortunatly it will not "go", but just freeze:
>>>> RedBoot> reset
>>>> ... Resetting.
>>>> +in bist
>>>> out bist
>>>> begin @ 0x00008f60 ; end @ 0x00008f70
>>>> (0) init_entry = 0x00008f60 ; fun @ 0x50005ef8
>>>> (1) init_entry = 0x00008f64 ; fun @ 0x50017ef0
>>>> (2) init_entry = 0x00008f68 ; fun @ 0x500071d4
>>>> (3) init_entry = 0x00008f6c ; fun @ 0x5001f534
>>>> nfe : regval[0] = 0x0013
>>>> Ethernet eth0: MAC address 00:00:83:28:50:22
>>>> IP: 172.16.0.44, Default server: 172.16.0.50
>>>>
>>>> RedBoot(tm) bootstrap and debug environment [ROM]
>>>>  release, version 1.92p1 - built 17:24:25, Jul 19 2004
>>>>
>>>> Platform: IXP425 ANTA (XScale)
>>>> Copyright (C) 2000, 2001, 2002, Red Hat, Inc.
>>>>
>>>> RAM: 0x00000000-0x08000000, 0x0001c068-0x07fd1000 available
>>>> FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
>>>> RedBoot> ip -h 192.168.31.182 -l 192.168.31.90
>>>> IP: 192.168.31.90, Default server: 192.168.31.182
>>>> RedBoot> load -b 0x200000 kernel-avila.nfs
>>>> Using default protocol (TFTP)
>>>> Address offset = 0x40000000
>>>> Entry point: 0x00200100, address range: 0x00200000-0x006c9aa8
>>>> RedBoot> go
>>>>
>>>> Does anyone have experience with this board ? Does it
>>>> have any chance to work w/ the AVILA kernel config, or
>>>> is this one too specific ?
>>>>
>>>> I am using FreeBSD 7.0-CURRENT #0: Thu Dec 14 16:10:30 UTC 2006
>>>
>>> It should definitely get further than that but I wouldn't expect the npe
>>> support to work right.  Try enabling bootverbose by patching the code
>>> (since we don't have proper bootstrap support yet to pass that in from
>>> redboot).
>>>
>>>     Sam
>>
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B0FC72.70605>