Subject: Rare project developers
List archive
- From: Alexander Gall <>
- To: <>
- Cc: Gawen Davey <>, "" <>, Frédéric LOUI <>, "Alexander Jeffries" <>
- Subject: Re: [rare-dev] Access
- Date: Mon, 4 Jul 2022 13:24:21 +0200
I'm with Gawen here. You either need the SDE + BSP or the SDE + ONLP.
The latter provides platform-dependent support for the QSFP stuff via
the optoe module (AFAIU). As Gawen says, there is just no way to get
at the I2C QSFP clients without board-specific information, i.e. the
SDE alone is not enough. The "port_map" file only deals with the
serdes-specific stuff.
--
Alex
On Mon, 4 Jul 2022 13:11:09 +0200, mc36 <> said:
> if you would like to look around, give me a timeslot and we can have a
> quick vc?
> On 7/4/22 12:48, Gawen Davey wrote:
>> I wonder how that works then -- the (Q)SFPs are behind two levels of i2c
>> multiplexing. I couldn't see anything that would explain it.
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> *From:* mc36 <>
>> *Sent:* 04 July 2022 11:31
>> *To:* Gawen Davey <>;
>> <>; Alexander Gall <>
>> *Cc:* Fr d ric LOUI <>; Alexander Jeffries
>> <>
>> *Subject:* Re: [rare-dev] Access
>> well, not....
>>
>> all you need is
>> - astock debian stable
>> - the sde
>> - and the patch you did against the sde
>> - the yaml you gave me to compile for asic but without bsp
>> - the portmap from stratum
>> - mentioning port in the bf-p4c's output bf_router.json
>>
>> br,
>> cs
>>
>>
>>
>>
>>
>> On 7/4/22 10:49, Gawen Davey wrote:
>>> This requires ONLPv2.
>>> So ONL, but I do have a build guide for ONLP on Ubuntu. But it may be for
>>> ONLPv1. As far as I remember, ONLPv2 was essentially abandoned -- There
>>> were two commits this year, then
>>> it goes back to 2020. And we certainly haven't maintained anything ONL
>>> for a long time.
>>>
>>> If you want to give it a go anyway:
>>> https://github.com/APS-Networks/ubuntu-onlp
>>> <https://github.com/APS-Networks/ubuntu-onlp>
>>> <https://github.com/APS-Networks/ubuntu-onlp
>>> <https://github.com/APS-Networks/ubuntu-onlp>>
>>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> *From:* mc36 <>
>>> *Sent:* 04 July 2022 08:44
>>> *To:* <>; Alexander Gall
>>> <>
>>> *Cc:* Gawen Davey <>; Fr d ric LOUI
>>> <>; Alexander Jeffries
>>> <>
>>> *Subject:* Re: [rare-dev] Access
>>> look at this:
>>>
>>> https://github.com/stratum/stratum/blob/753270b6061c5efe15ee60178169b8abe032f65e/stratum/hal/bin/barefoot/deb/start-stratum.sh#L54-L63
>>>
>> <https://github.com/stratum/stratum/blob/753270b6061c5efe15ee60178169b8abe032f65e/stratum/hal/bin/barefoot/deb/start-stratum.sh#L54-L63>
>>> <https://github.com/stratum/stratum/blob/753270b6061c5efe15ee60178169b8abe032f65e/stratum/hal/bin/barefoot/deb/start-stratum.sh#L54-L63
>>>
>> <https://github.com/stratum/stratum/blob/753270b6061c5efe15ee60178169b8abe032f65e/stratum/hal/bin/barefoot/deb/start-stratum.sh#L54-L63>>
>>> especially the #L61, that is, everything except the wedges, they bring
>>> them up without a bsp!!!
>>> qsfps work fine without bsp... serdes too... okk, sensors are really
>>> missing but heyy...
>>>
>>> also:
>>> https://github.com/stratum/stratum/blob/main/stratum/hal/bin/barefoot/README.build.md
>>>
>>> <https://github.com/stratum/stratum/blob/main/stratum/hal/bin/barefoot/README.build.md>
>>>
>> <https://github.com/stratum/stratum/blob/main/stratum/hal/bin/barefoot/README.build.md
>>
>> <https://github.com/stratum/stratum/blob/main/stratum/hal/bin/barefoot/README.build.md>>
>>> // ctrl+f: recommended mode
>>>
>>> gawen, how you see it?
>>>
>>> thanks,
>>> cs
>>>
>>>
>>>
>>> On 7/4/22 09:20, Alexander Gall wrote:
>>>> On Fri, 1 Jul 2022 19:10:27 +0200, mc36 <> said:
>>>>
>>>>> what about this one? :)
>>>>> https://github.com/stratum/stratum/blob/main/stratum/hal/config/x86-64-inventec-d10064-r0/port_map.json
>>>>>
>> <https://github.com/stratum/stratum/blob/main/stratum/hal/config/x86-64-inventec-d10064-r0/port_map.json>
>>> <https://github.com/stratum/stratum/blob/main/stratum/hal/config/x86-64-inventec-d10064-r0/port_map.json
>>>
>> <https://github.com/stratum/stratum/blob/main/stratum/hal/config/x86-64-inventec-d10064-r0/port_map.json>>
>>>>
>>>> Same thing. This will set up the serdes to match the board, but
>>>> without the BSP none of the i2c-related stuff works. Actually, the
>>>> Inventec is even more complicated because some of the
>>>> platform-dependent stuff is currently still supplied by the ONL layer
>>>> (i2c enumeration, HW sensors, QSFP eeprom access etc.), not the
>>>> BSP. And the ONL stuff doesn't work on Debian 11 out of the box :(
>>>>
- Re: [rare-dev] Access, mc36, 07/01/2022
- Re: [rare-dev] Access, Alexander Gall, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, Alexander Gall, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- [rare-dev] Thoughts on a bsp-less RARE [was: Re: Access], Alexander Gall, 07/05/2022
- Re: [rare-dev] Thoughts on a bsp-less RARE [was: Re: Access], Gawen Davey, 07/05/2022
- Re: [rare-dev] Thoughts on a bsp-less RARE [was: Re: Access], mc36, 07/05/2022
- [rare-dev] Thoughts on a bsp-less RARE [was: Re: Access], Alexander Gall, 07/06/2022
- Re: [rare-dev] Access, Gawen Davey, 07/04/2022
- Re: [rare-dev] Access, mc36, 07/04/2022
- Re: [rare-dev] Access, Alexander Gall, 07/04/2022
Archive powered by MHonArc 2.6.19.