Reply to Thread
Results 1 to 6 of 6
  1. #1

    Default How to Install Indigo on the new Pica8 Software Images for 3290 and 3780

    If you've received a recent 3290 or 3780, you'll find that the instructions for installing Indigo no longer work. The reason is that the software image on these platforms has changed significantly. Overall these are very positive changes, but until we're able to fully integrate with that environment, here are a few notes for upgrading to Indigo.

    These notes are for the 3780; the 3290 should be similar, but we'll have updates on that soon.

    The main thing that has changed is that the CF card which ships in these platforms have become a "live root filesystem". That is, you boot from the CF card just like it was a startup disk in a server. Previously, the root FS was stored as a compressed file in a small flash (and then on the CF card). We will be porting Indigo this environment if we get a code drop from Pica8.

    Fortunately, you can still boot the old way and the boot command remains in the boot monitor. However, you must prepare the CF card carefully or things will get ugly when you try to boot to Indigo. Here are the steps. You will need to have the Indigo image, uInitrd2m. You can get this from the Indigo download page at http://indigo.openflowhub.org/display/Indigo/Indigo+-+Download+Page
    1. Connect the serial port of the switch
    2. Boot the system; do not interrupt at the boot loader
    3. You will get a menu with 4 options (Xorplus, OpenFlow, System shell, boot editor). Select 3, System shell.
    4. Configure eth0 for your network; for example, 'ifconfig eth0 192.168.2.18'
    5. You may need to configure a default route with 'route add default gw 192.168.2.1'
    6. Copy the uInitrd2m to /. I use tftp, but scp might also work. For example, if your tftp server is at 192.168.2.1: 'cd /; tftp -r uInitrd2m -g 192.168.2.1'
    7. Link the two files LB8.dtb (or LB9A.dtb for the 3290) and uImage in /boot to /: 'cd /; ln -s boot/LB8.dtb .; ln -s boot/uImage .'
    8. IMPORTANT: create the local directory and sysenv: 'mkdir /local; touch /local/sysenv'
    9. Reboot and interrupt the boot loader by hitting a key during the countdown.
    10. You can set Indigo as the default boot image by typing "setenv boot 'run cfcard_bootcmd'" and "saveenv"; or you can leave the Pica8 as the default and run Indigo explicitly with "run cfcard_bootcmd"
    11. Enter the CLI ('cli') and configure the switch IP address, gateway, netmask, hostname, the controller address and TCP port. It's best to reboot at this point to make sure it's all set correctly.

    Please post questions or additional recommendations to this forum.
    Last edited by dtalayco; 04-09-2012 at 05:01 AM.

  2. #2
    Join Date
    Apr 2012
    Posts
    1

    Default

    I was following this tutorial:
    http://indigo.openflowhub.org/displa...e+3290+or+3780

    It says put the files in cf_card folder. But there was no cf_card folder in our switch. In your post, I understand that we have to put the files in root folder when we have shell access.

    Ok I did that part. At 10th step of your guide, it does not do anything.
    Then I print the sysenv variables using printenv. There is bootcmd variable which is set to 'run cfcard_bootcmd2'
    Then I type setenv bootcmd 'run cfcard_bootcmd' and then saveenv.
    After that I reboot the switch and it worked like a charm.

  3. #3

    Default Thanks

    Thanks for letting us know this worked.

  4. #4
    Join Date
    Jul 2012
    Posts
    2

    Default Need help

    I'm actually facing the same problem as tasomaniac. I set the bootcmd to 'run cfcard_bootcmd' and one more step:ln -s boot/uInitrd2m. Then after reboot, it shows the shell line like "indigo-unknown: ". Then I can 'ls' and see all the folders including cf_card.
    However, I still can't go to the web UI or use the CLI.
    Anything I missed?

  5. #5
    Join Date
    Jul 2012
    Posts
    2

    Default

    Solved.
    Just need to configure eth0 to 192.168.1.1 after rebooting. Then I can go to web UI and CLI.

  6. #6

    Default

    Thanks for letting us know. We'll update the documentation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
OpenFlowHub.org all rights reserved - 2010 - Terms of Use