Building OpenWrt for the Gateworks Cambria Platform

Please refer here for instructions on building OpenWrt for the Gateworks products.

Installing firmware to Cambria Board via Serial/ENET

To install firmware to a Cambria board using Serial/ENET once your kernel/rootfs are on a network attached tftpserver TFTP Instructions do the following:

  1. Connect your target board to your network, set ipaddress and serverip in redboot
    • boot the board and hit a key to enter into u-boot prompt
      Redboot> ip_address -l <localip> -h <serverip>
    • For example: Set localip to and serverip to
      Redboot> ip_address -l -h
  1. Unlock flash blocks:
    Redboot> fis unlock -f 0x50000000 -l 0x2000000
    • Note: the length param (-l 0x2000000) above differs depending on the flash size of the board:
      • 32MB FLASH - 0x2000000
  1. Initialize redboot partition table
    Redboot> fis init -f
  1. Download kernel
    Redboot> load -r -v -b 0x00800000 ixp4xx/openwrt-ixp4xx-generic-zImage
  1. create/write linux partition
    Redboot> fis create linux
  1. Download rootfs
    Redboot> load -r -v -b 0x00800000 ixp4xx/openwrt-ixp4xx-generic-squashfs.img
  1. create/write rootfs partition
    Redboot> fis create -l 0x1e60000 rootfs
    • Note: the length param above may differ depending on the flash size of the board (and the flash map you have chosen):
      • 32MB FLASH (allowing for 1MB kernel) - 0x1e60000 (provides 30.375MB for rootfs)
  1. create boot script
    Redboot> fconfig
    • specify a boot script of:
      fis load linux
  1. Reboot the board
    Redboot> reset

See also:

Last modified 8 months ago Last modified on 10/21/2017 10:28:45 PM