Adding OpenWrt to APX120?

I have a few sophos APX120 laying arround.
I was digging around with some APX.uimages and got one image, that boots the APX into a OpenWrt root shell without a password.

I think, it should be possible to get some information about the sources from this image and i would like to build one by myself.

Is there any walkthough for a generic model?

this device https://fccid.io/2ACTO-APX120 ?

who's the actual chip maker, it's hard to see in the photos ...

Hi,
from the Boot log and the Link you provided...
This is a Qualcom IPQ4019 (i have not removed the cooler yet).

The OEM bootlog seems the same as GL-iNet GL-S1300.
With an early uImage 2.0** i have root access to OpenWrt running on this AP.

Is there any information, i could get from the file system?

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00120
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000021
S - Reset status Config, 0x00000000
S - Core 0 Frequency, 0 MHz
B -       261 - PBL, Start
B -      1338 - bootable_media_detect_entry, Start
B -      1678 - bootable_media_detect_success, Start
B -      1691 - elf_loader_entry, Start
B -      5068 - auth_hash_seg_entry, Start
B -      7209 - auth_hash_seg_exit, Start
B -    577087 - elf_segs_hash_verify_entry, Start
B -    694221 - PBL, End
B -    694245 - SBL1, Start
B -    785250 - pm_device_init, Start
D -         7 - pm_device_init, Delta
B -    786695 - boot_flash_init, Start
D -     52830 - boot_flash_init, Delta
B -    843665 - boot_config_data_table_init, Start
D -      3831 - boot_config_data_table_init, Delta - (419 Bytes)
B -    850863 - clock_init, Start
D -      7570 - clock_init, Delta
B -    862907 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:1,Subtype:0
B -    866321 - sbl1_ddr_set_params, Start
B -    871419 - cpr_init, Start
D -         2 - cpr_init, Delta
B -    875801 - Pre_DDR_clock_init, Start
D -         4 - Pre_DDR_clock_init, Delta
D -     13175 - sbl1_ddr_set_params, Delta
B -    889540 - pm_driver_init, Start
D -         2 - pm_driver_init, Delta
B -    959698 - sbl1_wait_for_ddr_training, Start
D -        27 - sbl1_wait_for_ddr_training, Delta
B -    975316 - Image Load, Start
D -    152333 - QSEE Image Loaded, Delta - (297752 Bytes)
B -   1128076 - Image Load, Start
D -      1446 - SEC Image Loaded, Delta - (2048 Bytes)
B -   1138496 - Image Load, Start
D -    224138 - APPSBL Image Loaded, Delta - (458523 Bytes)
B -   1363032 - QSEE Execution, Start
D -        60 - QSEE Execution, Delta
B -   1369252 - SBL1, End
D -    677115 - SBL1, Delta
S - Flash Throughput, 2008 KB/s  (758742 Bytes,  377712 us)
S - DDR Frequency, 537 MHz


U-Boot 2012.07 [Chaos Calmer unknown,unknown] (Nov 02 2018 - 08:13:09)

smem ram ptable found: ver: 1 len: 3
DRAM:  256 MiB
@machid : 0x8010100
NAND:  spi_nand: spi_nand_flash_probe SF NAND ID 0:ef:ab:21
SF: Detected W25M02GV with page size 2 KiB, total 256 MiB
SF: Detected MX25L1605D with page size 4 KiB, total 2 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x200000
258 MiB

you probably want to post the whole boot log, output of lspci, and cat /proc/mtd

interrupting u-boot, and posting printenv and help, won't hurt.

if it's similar to the GL-S1300, you could try to create an initramfs, and try to bootm it via uboot, to see what works, and what doesn't.

but be aware, you'll be the guy adding the support for this device, since you own it.

Hi!

You could also ask sophos. I had success with a GPL request.