Adding OpenWrt support for Checkpoint Appliance

Most of the work is done and I'm just doing some fine tuning for V-80 and V-81.

compiled images:

source:

Changes

  • add support for V-81
    • SFP port works
      • port-side LED pairs of "DMZ" ports (RJ-45/SFP) needs to be switched manually (&cp0_gpio2, pin7, High: RJ45 <---> Low: SFP)
  • drop usb.img.gz image
    • use sdcard.img.gz for USB storage instead
    • don't connect SD card and USB storage that has the OpenWrt image of the same revision at the same time (they have the same PARTUUID and conflicts while booting and sysupgrade)
  • add "WiFi" and other LEDs that have no holes on the case
    • populated on the PCB, but...
  • move setting up of bootargs to bootscript
    • to reduce bootcmd
  • and other cleanups, improvements...

bootcmd

  • add:

    • bootcmd_ow_usb: 'usb start; load usb 0:1 ${loadaddr} boot.scr && source ${loadaddr}'
    • bootcmd_ow_sd: 'load mmc 0:1 ${loadaddr} boot.scr && source ${loadaddr}'
    • bootcmd_ow_emmc: 'run set_mmc_internal; mmc read ${loadaddr} ${prim_header_mmc_blk} 4 && source ${loadaddr}'
  • edit:

    • bootcmd: 'run bootcmd_ow_usb; run bootcmd_ow_sd; run bootcmd_ow_emmc; run bootcmd_part${activePartition};'
      • note: set cp_quiet and run set_bootargs_vx were moved to bootscript
      • step: USB ---> SD ---> eMMC (OpenWrt) ---> eMMC (stock)

Great Work !
Let me test and report back when you are ready .

Do you have the flashing instructions ?

I'm retracting my offer, the device is now scrapped.





added.

Working Great !

Just two issues:

  1. How do I add support for wi-fi Sierra EM7430 (https://radenku.com/setting-modem-sierra-em7430-cat-6-openwrt/)
  2. I am booting of USB flash drive. THe Storage partition is very small for Pluging etc..

    How can I expand the partition from 100MB to like 8 GB. I was just going to do it with Fdisk by deleting SDA2 partition and recreating a larger one but want ot check that is ok.

The supports I made are for the wired models of V-80/V-81 and they don't have packages for wlan and modem by default. You may need to add uqmi or modemmanager or something, but I don't know details about that.

The default size of rootfs partition is 104MiB.

I don't know details about changing size of partition, I found this but I didn't test:

BTW, sysupgrade replaces partitions to the default layout (rootfs: 104MiB) if the partition layout was changed.

Thanks for the effort in getting OpenWrt running on these devices. Picked up a cheap V80 on ebay and followed the instructions. Everything went fine and it is now running from an usb memory stick.

1 Like