From 31ff96d9f99f993cb43d79f0c411fe6bf55633bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristjan=20Kru=C5=A1i=C4=8D?= Date: Sat, 18 Mar 2023 12:28:23 +0100 Subject: [PATCH] ipq806x: add support for Nokia Airscale AC400i MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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č [ drop -2G and -5G from variant BDF ] Signed-off-by: Christian Marangi --- board-nokia_ac400i.qca9984 | Bin 0 -> 24316 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 board-nokia_ac400i.qca9984 diff --git a/board-nokia_ac400i.qca9984 b/board-nokia_ac400i.qca9984 new file mode 100644 index 0000000000000000000000000000000000000000..0747cab65a8349732682a96b5c87348bca5f9ab5 GIT binary patch literal 24316 zcmeHOeNy`h`)kk#W%=Jv|*j+Pw%}0ayx4a@M{T8QasI zNKQ{%xIHy3V_{m#ieRdhyjP)0LCwWa>{qDL6nipPY}mUiO|dX?b!c#K8jQt*{vsGl zwCKR!c|1XA`~i&s#eMWEcu4{vYm*-`0T=+&NhDYyA|6n7AS5K@zd!xNlL)5)k|ZOT z!WUX`yuJE!OA`$}5{gfnMg@RpQd%0D+iuV_5=2JZfv4>ongBRYC1E^^apuj#oWN_ZIRP1uW@ZGY7FvwU=qFrzcz6JI@$~cr>@v>4 zPLRgwa^ISxduEs>KFw@M{OeUMZV0Dro znq>g$STX>N{dO|NtZyc}%`yN7Suz06Q7sX9)_BhNy^&tuGIAMt^AB1EAcU-@Y_iFJ z8b3G2o4garL~^&u9)L(vO6l#%bYr?PkCLOwGsZJU{c#>} z^YJI2A)C+0HW=+gQV0uT#xIkMA_vJN(iyaaddLhpgEq1nmUw8}NLHBbHJbei8#hX0 zmH>BmN0afAc>#0${Cr^Rm#@G0&1ifSO0*6sfBWVpW@m@e-~hiHLjNS%-__O5ue=!*)DdVVe}6we5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