16
prpl Foundation Haze board
Petr Štetiar edited this page 2024-10-25 11:10:13 +00:00

Ordering

"Haze" reference boards are currently EOL with the focus being on the Freedom board.

Hardware details

More information is available to prpl members only.

General specs

  • IPQ8072A SoC
  • 2 GiB RAM
  • 4 GiB eMMC
  • 8 MiB SPI NOR (MX25U6435F)

Ethernet/SFP

  • 3x 1GigE ports (QCA8075)
  • 1x 10GigE port (AQR113C)
  • 1x SFP cage

Wi-Fi

  • WiFi 6GHz 160MHz (QCN9074)
  • WiFi 5GHz 80+80MHz (QCN5054)
  • WiFi 2.4G (QCN5024)

Others

  • RGB LED driven by TI LP5562 LED driver over I2C(3) bus
  • ARM Standard 20-pin 2.54mm/0.1" JTAG (1V8 !!!)
  • Bluetooth v5.0 + EDR with integrated Class 1 PA (CYW20704)
  • 1x M.2 B-key socket with PCIe 3.0
  • 1x USB 3.0 port
  • Debug UART 3V3 using standard 4-pin 2.54mm/0.1" connector
  • Reset and WPS buttons

Work in progress/known issues:

  • SFP feature not implemented/tested
  • M.2 feature not implemented/tested
  • Bluetooth feature not implemented/tested

Debug UART (serial console) information

  • Debug UART is marked as J6 on a PCB and is de-facto standard 4-pin 2.54mm/0.1" connector
  • Uses standard 115200 baudrate with a common 8-N-1 shorthand notation (one start bit, eight (8) data bits, no (N) parity bit, and one (1) stop bit).

Debug UART location

haze-pinout

Debug UART pinout

  • 3V3 marked with white arrow on PCB nearby the pin
  • RX
  • TX
  • GND

Build process

Follow OpenWrt Build system setup to prepare your build system/host.

git clone --branch prplos https://gitlab.com/prpl-foundation/prplos/prplos.git prplos
cd prplos
./scripts/gen_config.py ipq807x prpl security
make -j$(nproc)

Flashing instructions

Flashing sysupgrade image from within U-Boot bootloader

In the uboot bootloader only the WAN port (red) can be used - all other ethernet ports are not active! So before booting the device via tftp or flash a firmware using the bootloader make sure that you connect the device's WAN port to your computer.

IPQ807x# tftpboot prplos-ipq807x-generic-prpl_haze-squashfs-sysupgrade.bin 
IPQ807x# setenv untar_addr_kernel; setenv untar_addr_root
IPQ807x# untar 0x$fileaddr 0x$filesize kernel root
IPQ807x# if test -n $untar_addr_kernel; then flash "0:HLOS" 0x$untar_addr_kernel 0x$untar_size_kernel; else echo "kernel is not found"; fi
IPQ807x# if test -n $untar_addr_root; then flash "rootfs" 0x$untar_addr_root 0x$untar_size_root; else echo "rootfs is not found"; fi
IPQ807x# flasherase rootfs_data
IPQ807x# reset

Known issues

Device is having random WAN/LAN MAC addresses

If you're experiencing random MAC address on the WAN/LAN interfaces and you see something like following in your dmesg:

GMAC2(ffffff8004cb58c0) Invalid MAC@ - using 4a:14:1d:9a:c2:40

then check, that you've board shipped with U-Boot 2016.01 and if that's the case, then you've probably hit the PCF-931 and you need to update U-Boot.

Download fixed lastest U-Boot release 2016.01.07-prpl file u-boot-2016.01.07-prpl.elfmbn and flash the board with the steps bellow:

setenv bootargs "console=ttyMSM0,115200n8 vmalloc=700M cnss2.bdf_pci1=0xa4"
saveenv
tftpboot 0x44000000 u-boot-2016.01.07-prpl.elfmbn
mmc erase 0x3222 0x600
mmc write 0x44000000 0x3222 0x600
reset