Subject: Rare project developers
List archive
- From: Alexander Gall <>
- To: mc36 <>
- Cc: Frederic LOUI <>, <>
- Subject: Re: [rare-dev] Asterfusion recovery image
- Date: Tue, 7 Mar 2023 08:20:20 +0100
Hi csaba
On Mon, 6 Mar 2023 21:46:11 +0100, mc36 <> said:
> ONIE:/ #
> ONIE:/ # onie-self-update
> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
This is the iso image that should go on the USB stick for the second
method I've described. For the onie-self-update method you should use
http://hydra.nix.net.switch.ch/RARE/asterfusion/onie-updater-x86_64-asterfusion_x312p-r0
I hope this works. And don't forget to do the "ONIE embed" afterwards.
Once the embed has succeeded, you should be able to check like this:
ONIE:/ # . /etc/machine.conf
ONIE:/ # echo $onie_machine
That should print something like "asterfusion_x312p". If it doesn't,
you should probably try the method with the ISO image and the USB
stick.
--
Alex
> Notice: Invalid TLV header found. Using default contents.
> Notice: Invalid TLV checksum found. Using default contents.
> Info: Attempting
> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
> ...
> Connecting to files.mchome.nop.hu (10.10.10.10:80)
> installer 100%
> |**********************************************************************|
> 27840k 0:00:00 ETA
> Failure: ONIE Update: Invalid ONIE update image format.
> ONIE:/ #
> On 3/6/23 21:33, Alexander Gall wrote:
>>
>> Sorry, I assumed you had done this before :)
>>
>> Just to reiterate what Frederic has said: you can either boot into
>> "ONIE update" and at the prompt execute
>>
>> ONIE# onie-self-update
>> http://hydra.nix.net.switch.ch/RARE/asterfusion/onie-updater-x86_64-asterfusion_x312p-r0
>>
>> then after the reboot select "ONIE embed". The system will then reboot
>> automatically one more time and then you can use onie-nos-install with
>> the RARE installer.
>>
>> Or you can write
>> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
>> to a USB stick, boot from it and select "ONIE embed" from there.
>>
>> Both methods should lead to the same result namely replacing the
>> existing ONIE with a new version that should be branded for that
>> specific hardware.
>>
>> --
>> Alex
>>
>> On Mon, 6 Mar 2023 20:59:40 +0100, mc36 <> said:
>>
>>> i c... so what command should i execute with the link?
>>> thanks,
>>> cs
>>
>>> On 3/6/23 20:42, Frederic LOUI wrote:
>>>> Hi Csaba,
>>>>
>>>> The image that Alex has provided you is not RARE NOS image. It is ONIE
>>>> upgrade with latest greatest ONIE firmware from AsterFusion. In order to
>>>> install it. Reboot your machine and
>>>> choose ONIE embed. (B4 burn the full image in USB key)
>>>>
>>>> This upgrade in order to have /etc/machine.conf set properly.
>>>>
>>>> Or second method, boot on ONiE and use the onie updater with the onie
>>>> update binary that Alex provided
>>>>
>>>> It like in openwrt there is an upgrade image and there is a full ONIE
>>>> upgrade. You'll have to use different ways if you install one or the
>>>> other.
>>>>
>>>> I tested both (upgrade and clean slate install) and amboth method worked
>>>> well.
>>>>
>>>> As I'm a bit old school, i like to burn an USB key, boot from it, and
>>>> select ONIE embed option. At that time this will normally upgrade ONiE
>>>> partition
>>>>
>>>> Hope this helps
>>>> Frederic
>>>>
>>>>
>>>> Le 6 mars 2023 20:16, mc36 <> a crit :
>>>>
>>>> something is missing from this image as it's 28mb whereas the rare
>>>> builds are above 500mb?
>>>>
>>>> ONIE:/ #
>>>> ONIE:/ # onie-nos-install
>>>> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
>>>> Notice: Invalid TLV header found. Using default contents.
>>>> Notice: Invalid TLV checksum found. Using default contents.
>>>> Info: Attempting
>>>> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
>>>> ...
>>>> Connecting to files.mchome.nop.hu (10.10.10.10:80)
>>>> installer 100%
>>>> |**********************************************************************|
>>>> 27840k 0:00:00 ETA
>>>> /var/tmp/installer: line 1: syntax error: unexpected "|"
>>>> Failure: Unable to install image:
>>>> http://files.mchome.nop.hu/inet/barefoot/onie-recovery-x86_64-asterfusion_x312p-20230306.iso
>>>> ONIE:/ #
>>>> ONIE:/ #
>>>> ONIE:/ #
>>>>
>>>>
>>>>
>>>> On 3/6/23 14:21, Alexander Gall wrote:
>>>>> Hi csaba
>>>>>
>>>>> I have built an ONIE recovery image for the X312P:
>>>>> http://hydra.nix.net.switch.ch/RARE/asterfusion/onie-recovery-x86_64-asterfusion_x312p-r0.iso
>>>>>
>>>>> Can you please try to re-install your box with that? It should then be
>>>>> properly branded :) Before that you can also try to use the updater
>>>>> (onie-updater-x86_64-asterfusion_x312p-r0). If that works, you don't
>>>>> need to perform a full recovery from USB.
>>>>>
>>>>> Once that ONIE version is embedded on the box, you can check if
>>>>> "onie_machine" is properly set in /etc/machine.conf. If so, please
>>>>> give my ONIE installer anther try (I just built a new version
>>>>> http://hydra.nix.net.switch.ch/RARE/asterfusion/onie-installer.bin).
>>>>> Then
>>>>> I can resume to complete work on the BSP.
>>>>>
>>>>
>>>>
- Re: [rare-dev] https://filesender.renater.fr/?s=download&token=618af1e5-b6a2-4927-8cb6-2d64a524ff07, (continued)
- Re: [rare-dev] https://filesender.renater.fr/?s=download&token=618af1e5-b6a2-4927-8cb6-2d64a524ff07, mc36, 03/03/2023
- [rare-dev] Asterfusion recovery image, Alexander Gall, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, Frederic LOUI, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, Frederic LOUI, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, Frederic LOUI, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/06/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, mc36, 03/07/2023
- Re: [rare-dev] Asterfusion recovery image, Alexander Gall, 03/08/2023
Archive powered by MHonArc 2.6.24.