diff options
author | Kristjan Krušič <kristjan.krusic@krusic22.com> | 2023-02-04 17:00:57 +0100 |
---|---|---|
committer | Kristjan Krušič <kristjan.krusic@krusic22.com> | 2023-03-19 18:02:34 +0100 |
commit | f574b535ebee1a94bed87746af68c1b60b53a663 (patch) | |
tree | e8f38e446cff14b12e7cf1f7ca9c3365616a8fcc /target/linux/ipq806x/image | |
parent | a32def781f5a840697e503f1da29de455a875bbc (diff) | |
download | upstream-f574b535ebee1a94bed87746af68c1b60b53a663.tar.gz upstream-f574b535ebee1a94bed87746af68c1b60b53a663.tar.bz2 upstream-f574b535ebee1a94bed87746af68c1b60b53a663.zip |
ipq806x: add support for Nokia Airscale AC400i
Hardware
--------
SoC: Qualcomm IPQ8065
RAM: 512 MB DDR3
Flash: 256 MB NAND (Macronix MX30UF2G18AC) (split into 2x128MB)
4 MB SPI-NOR (Macronix MX25U3235F)
WLAN: Qualcomm Atheros QCA9984 - 2.4Ghz
Qualcomm Atheros QCA9984 - 5Ghz
ETH: eth0 - POE (100Mbps in U-Boot, 1000Mbps in OpenWrt)
eth1 - (1000Mbps in both)
Auto-negotiation broken on both.
USB: USB 2.0
LED: 5G, 2.4G, ETH1, ETH2, CTRL, PWR (All support green and red)
BTN: Reset
Other: SD card slot (non-functional)
Serial: 115200bps, near the Ethernet transformers, labeled 9X.
Connections from the arrow to the 9X text:
[NC] - [TXD] - [GND] - [RXD] - [NC]
Installation
------------
0. Connect to the device
Plug your computer into LAN2 (1000Mbps connection required).
If you use the LAN1/POE port, set your computer to force a 100Mbps link.
Connect to the device via TTL (Serial) 115200n8.
Locate the header (or solder pads) labeled 9X,
near the Ethernet jacks/transformers.
There should be an arrow on the other side of the header marking.
The connections should go like this:
(from the arrow to the 9X text): NC - TXD - GND - RXD - NC
1. Prepare for installation
While the AP is powering up, interrupt the startup process.
MAKE SURE TO CHECK YOUR CURRENT PARTITION!
If you see: "Current Partition is : partB" or
"Need to switch partition from partA to partB",
you have to force the device into partA mode, before continuing.
This can be done by changing the PKRstCnt to 5 and resetting the device.
setenv PKRstCnt 5
saveenv
reset
After you interrupt the startup process again,
you should see: Need to switch partition from partB to partA
You can now continue to the next step.
If you see: "Current Partition is : partA",
you can continue to the next step.
2. Prevent partition switching.
To prevent the device from switching partitions,
we are going to modify the startup command.
set bootcmd "setenv PKRstCnt 0; saveenv; bootipq"
setenv
3. First boot
Now, we have to boot the OpenWrt intifs.
The easiest way to do this is by using Tiny PXE.
You can also use the normal U-Boot tftp method.
Run "bootp" this will get an IP from the DHCP server
and possibly the firmware image.
If it doesn't download the firmware image, run "tftpboot".
Now run "bootm" to run the image.
You might see:
"ERROR: new format image overwritten - must RESET the board to recover"
this means that the image you are trying to load is too big.
Use a smaller image for the initial boot.
4. Install OpenWrt from initfs
Once you are booted into OpenWrt,
transfer the OpenWrt upgrade image and
use sysupgrade to install OpenWrt to the device.
Signed-off-by: Kristjan Krušič <kristjan.krusic@krusic22.com>
Diffstat (limited to 'target/linux/ipq806x/image')
-rw-r--r-- | target/linux/ipq806x/image/generic.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ipq806x/image/generic.mk b/target/linux/ipq806x/image/generic.mk index 91739bc858..3e9b366c39 100644 --- a/target/linux/ipq806x/image/generic.mk +++ b/target/linux/ipq806x/image/generic.mk @@ -335,6 +335,20 @@ define Device/netgear_xr500 endef TARGET_DEVICES += netgear_xr500 +define Device/nokia_ac400i + $(call Device/FitImage) + $(call Device/UbiFit) + DEVICE_VENDOR := Nokia + DEVICE_MODEL := AC400i + SOC := qcom-ipq8065 + DEVICE_DTS := qcom-ipq8065-ac400i + BLOCKSIZE := 128k + PAGESIZE := 2048 + BOARD_NAME := ac400i + DEVICE_PACKAGES := ath10k-firmware-qca9984-ct ipq-wifi-nokia-ac400i +endef +TARGET_DEVICES += nokia_ac400i + define Device/qcom_ipq8064-ap148 $(call Device/FitImage) $(call Device/UbiFit) |