Yellow Dog Solutions

TOPIC: Update briQ firmware and YDL



Introduction
This HOWTO discusses the updating of the firmware and YDL installation for Yellow briQ Nodes using RPM, apt-get, and DHCP. The host that will contain the new briQ image becomes a 'briQ building station' and can be used to (re)build any number of briQs.


Introduction
  1. If you do not have apt-get, download it from ftp.terrasoftsolutions.com/products/ydl

  2. Modify your /etc/apt/sources.list, adding briq to the ends of the lines:
    # Package repository URLs
    #
    # http://www.terrasoftsolutions.com/products/ydl/apt/sources.lists will always have
    # the most current version of this file
    #
    # Official Yellow Dog Linux 2.2 package repositories. If these are 
    # busy, please use a mirror near you.
    #
    # signed repositories have a [tss]
    # if you remove it, no digital signature check will be made!
    
    rpm ftp://ftp.terrasoftsolutions.com/products/ydl/pub/yellowdog apt/2.2 main extra briq
    rpm-src ftp://ftp.terrasoftsolutions.com/products/ydl/pub/yellowdog apt/2.2 main extra briq
    
    # updates
    rpm ftp://ftp.terrasoftsolutions.com/products/ydl/pub/yellowdog apt/2.2 update 
    rpm-src ftp://ftp.terrasoftsolutions.com/products/ydl/pub/yellowdog apt/2.2 update 
    
  3. Run apt-get to install the briqbuilder package:

    apt-get update [ENTER]
    apt-get install briqbuilder [ENTER]
  4. If not already done, configure your networking using netconfig. You must have an active ethernet interface:

    netconfig [ENTER]
  5. Open /etc/dhcpd.conf with a text editor:

    pico /etc/dhcpd.conf [ENTER]
    Change the subnet declaration to match that of your network. Change the range to available IP addresses on your network. If you have additional interfaces, you must create empty subnet declarations for them.

  6. If you haven't done so already, you must update the firmware on the briQ to add support for the 2.4 kernel. If you have already upgraded the firmware, skip to step 11. To upgrade the firmware, simply create a link called /tftpboot/briqdiag that points to flashbriq-1.0.2.51:

    ln -s /tftpboot/flashbriq-1.0.2.51 /tftpboot/briqdiag [ENTER]
  7. Start dhcpd:

    service dhcpd start [ENTER]
  8. Attach the briQ to your network, and boot it while pressing the top button.

  9. Follow the instructions on the briQ (hold the bottom button).

  10. Once the briQ displays 'Update Complete' turn it off.

  11. The image for the briQ is installed in /usr/share/briqimage. Any modifications you make to this image will apply to the briQs that are subsequently rebuilt.

  12. Once you are satisfied with the image, create a symbolic link from /tftpboot/zImage.initrd.chrp to /tftpboot/briqdiag:

    ln -s /tftpboot/zImage.initrd.chrp /tftpboot/briqdiag [ENTER]

    (you may need to delete the existing briqdiag)
  13. Attach the briQ to your network, and boot it while holding down the top button.

  14. The briQ will be reformated with the new image.

  15. Reboot the briQ when prompted.

This HOWTO prepared by David Gelvin, Terra Soft Solutions



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation