mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-30 18:07:52 +00:00 
			
		
		
		
	ipq807x: Add support for Plasma Cloud PAX1800 v1
Device specifications:
======================
* Qualcomm IPQ6000
* 256 MB of RAM
* 64 MB of SPI NOR flash
  - 2x 28 MB available; but one of the 28 MB regions is the recovery image
* 2T2R 2.4 GHz Wi-Fi (11ax)
* 2T2R 5 GHz Wi-Fi (11ax)
* multi-color LED (controlled via red/green/blue GPIOs)
* 1x GPIO-button (reset)
* external h/w watchdog (enabled by default))
* TTL pins are on board
* 2x ethernet
  - eth0
    + 1000 Mbps Ethernet
    + used as LAN interface
  - eth1
    + 1000 Mbps Ethernet
    + 802.3at POE
    + used as WAN interface
* 12 2A DC
* internal antennas
This device is not exported via a profile in TIP because there were
concerns about the 256MB limitations. But the actual OpenWrt support is
still added for interested parties.
Flashing instructions:
======================
Various methods can be used to install the actual image on the flash.
Two easy ones are:
ap51-flash
----------
The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.
initramfs from TFTP
-------------------
The serial console must be used to access the u-boot shell during bootup.
It can then be used to first boot up the initramfs image from a TFTP server
(here with the IP 192.168.1.21):
   setenv serverip 192.168.1.21
   setenv ipaddr 192.168.1.1
   setenv bootargs 'console=ttyMSM0,115200n8 rootfstype=squashfs,jffs2 board=PAX1800 root=31:10 mtdparts=spi32766.0:768k(0:SBL1),64k(0:MIBIB),1664k(0:QSEE),64k(0:DEVCFG),128k(0:RPM),64k(0:CDT),64k(0:APPSBLENV),640k(0:APPSBL),256k(0:ART),28672k(inactive),28672k(inactive2),64k(custom),64k(0:KEYS),2304k(0:WIFIFW)'
   tftpboot <filename-of-initramfs-kernel>.bin && bootm
The actual sysupgrade image can then be transferred (on the LAN port) to the
device via
  scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/
On the device, the sysupgrade must then be started using
  sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin
Signed-off-by: Sven Eckelmann <sven@narfation.org>
			
			
This commit is contained in:
		 Sven Eckelmann
					Sven Eckelmann
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							128bd3a17e
						
					
				
				
					commit
					3e692ed95a
				
			| @@ -1,6 +1,6 @@ | ||||
| From: Sven Eckelmann <sven@narfation.org> | ||||
| Date: Mon, 14 Mar 2022 15:23:40 +0100 | ||||
| Subject: om-fwupgradecfg-gen: Add support for Plasma Cloud PAX1800 v2 | ||||
| Subject: om-fwupgradecfg-gen: Add support for Plasma Cloud PAX1800 v1/v2 | ||||
|  | ||||
| Signed-off-by: Sven Eckelmann <sven@narfation.org> | ||||
|  | ||||
| @@ -8,10 +8,11 @@ diff --git a/scripts/om-fwupgradecfg-gen.sh b/scripts/om-fwupgradecfg-gen.sh | ||||
| index bf7c047c5ba8e78ad4e43fa7edff2bb4bb3f4388..61617a0b772e1661a46f559380ffaf0b021c524d 100755 | ||||
| --- a/scripts/om-fwupgradecfg-gen.sh | ||||
| +++ b/scripts/om-fwupgradecfg-gen.sh | ||||
| @@ -45,6 +45,12 @@ case $CE_TYPE in | ||||
| @@ -45,6 +45,13 @@ case $CE_TYPE in | ||||
|  		SIZE_FACTOR=1024 | ||||
|  		SIZE_FORMAT="0x%08x" | ||||
|  		;; | ||||
| +	PAX1800|\ | ||||
| +	PAX1800v2) | ||||
| +		MAX_PART_SIZE=28672 | ||||
| +		KERNEL_FLASH_ADDR=0x3a0000 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user