Experimental build of Gargoyle 1.15.x for bcm27xx (RaspberryPi) architecture devices

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
pythonic
Posts: 230
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Experimental build of Gargoyle 1.15.x for bcm27xx (RaspberryPi) architecture devices

Post by pythonic »

Download archive: download from Github

The archives contain the images and packages generated from experimental bcm27xx (aka RaspberryPi) target configurations for Gargoyle 1.15.x.

The source was from Gargoyle's git repository base_on_openwrt_2203 branch at commit 1bd0d80a. In order to pick up recent OpenWrt security fixes etc, I updated build.sh to use OpenWrt 22.03 commit 3fd3d99e.

The supported devices are grouped into 4 profiles:
  • default:
    • RPi 0/0W
    • RPi A/A+/B/B+
  • bcm2709:
    • RPi 2 (v1.0, v1.1, v1.2)
  • bcm2710:
    • RPi 3A/3A+/3B/3B+
  • bcm2711:
    • RPi 4/400/CM4
The bcm2709 squashfs factory image has been tested on an RPi RPi 2 v1.2. In principle the bcm2710 images should also work for RPI 2 v1.2 boards as well but this hasn't been tested. The ext4 images have not been tested.

I would recommend using the squashfs images with SD cards to avoid problems with restarting after power loss (when ext4 filesystems need to be fsck'ed) and to minimise write wear on the flash components. The ext4 images would be better suited to setups with USB drives and reliable power arrangments.

All profiles have been configured functionally alike with most Gargoyle functional plugins included. As these images are not particularly size constrained, all languages have been included. To support wired router operation, all images include support for common USB ethernet interfaces (Asix AXE and Realtek r8150/r8152 - AXE 88179 and r8152 tested) as well as USB 4G/LTE modems (Huawei E3372h tested).

On devices with a built-in ethernet port, that port will be used as the LAN interface. If a USB ethernet interface is plugged in and detected on first boot on devices with a built-in ethernet port, the USB ethernet interface will be used as the WAN interface. The bcm2711 images include the RTL8169 ethernet driver for those using a CM4 with a DFRobot IoT Router Board; this should be automatically set as the WAN interface.


Installation

Please refer to the OpenWrt pages for the target device.
Generally Gargoyle images with the same name pattern can be substituted for reference OpenWrt images (e.g. gargoyle-???-factory for openwrt-???-factory). Remember that images with a .gz extension need to be decompressed first!

As there is no current package repository available for the bcm27xx target, desired optional packages will have to be installed by copying to the target router (e.g. by scp or WinSCP) and manually installing with the gpkg command from an SSH session.


Changelog

Build #1 (20230208):
- initial build on 1.15.x
- Gargoyle commit 1bd0d80a
- OpenWrt 22.03 base pushed forward to commit 3fd3d99e


Support...

If you have questions about Gargoyle's interface or general functionality, queries should be addressed to an appropriate section of this forum. For questions specific to this experimental build, please post a followup to this thread.

Please also report successful installations of these images to this thread so that Gargoyle's maintainers can evaluate whether there's enough interest in the bcm27xx targets to use this experimental build as a basis for adding full support for at least some bcm27xx devices to future Gargoyle releases.


Good luck!
pythonic

pythonic
Posts: 230
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Experimental build of Gargoyle 1.15.x for bcm27xx (RaspberryPi) architecture devices

Post by pythonic »

Note that the bcm27xx target has been imported into Gargoyle's 1.15.x development branch and is included in @Lantis' Experimental Gargoyle 1.15.x beta 20230124 build set.

Post Reply