linuxer
Published on 2025-05-28 / 27 Visits
0
0

捡2台30不到的路由,还能刷机和做AP 沛喆PZ-L8

没啥好介绍的 看一下图片

image.png

无线规格 3000 最高是 2401? 配置低,做个近范围的AP应该还可以,搞好有集客AP固件

下面先开启SSH 刷机 做路由或 ap

其他没啥好看 主要是看书个

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

先刷个机 好像没用第三方uboot, 刷机方法直接ttl 还有一种是 进入

TTL刷机

看一跑码 按ESC 打断

U-Boot 2016.01 (Oct 29 2022 - 17:16:13 +0800)

DRAM:  smem ram ptable found: ver: 1 len: 4
256 MiB
USB: Node Not found, skipping initialization
gpio_keys_init
NAND:  QPIC controller support serial NAND
ID = 7f7f11c8
Vendor = c8
Device = 11
Serial Nand Device Found With ID : 0xc8 0x11
Serial NAND device Manufacturer:F50D1G41LB(2M)
Device Size:128 MiB, Page size:2048, Spare Size:64, ECC:4-bit
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:   sdhci: Node Not found, skipping initialization

PCI0 is not defined in the device tree
PCI1 is not defined in the device tree
In:    serial@78AF000
Out:   serial@78AF000
Err:   serial@78AF000
machid: 8040000

NAND read: device 0 offset 0x780000, size 0x1000
 4096 bytes read: OK
factory=no

NAND read: device 0 offset 0x100000, size 0x40000
 262144 bytes read: OK

NAND read: device 0 offset 0x140000, size 0x40000
 262144 bytes read: OK
rootfs_num=0
wps_btn_status=1
reset_btn_status=1
Saving Environment to NAND...
Erasing NAND...
Erasing at 0x4e0000 -- 100% complete.
Writing to NAND... OK
Ignore part do not change boot part
resetting ...


U-Boot 2016.01 (Oct 29 2022 - 17:16:13 +0800)

DRAM:  smem ram ptable found: ver: 1 len: 4
256 MiB
USB: Node Not found, skipping initialization
gpio_keys_init
NAND:  QPIC controller support serial NAND
ID = 7f7f11c8
Vendor = c8
Device = 11
Serial Nand Device Found With ID : 0xc8 0x11
Serial NAND device Manufacturer:F50D1G41LB(2M)
Device Size:128 MiB, Page size:2048, Spare Size:64, ECC:4-bit
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:   sdhci: Node Not found, skipping initialization

PCI0 is not defined in the device tree
PCI1 is not defined in the device tree
In:    serial@78AF000
Out:   serial@78AF000
Err:   serial@78AF000
machid: 8040000

NAND read: device 0 offset 0x780000, size 0x1000
 4096 bytes read: OK
factory=no

NAND read: device 0 offset 0x100000, size 0x40000
 262144 bytes read: OK

NAND read: device 0 offset 0x140000, size 0x40000
 262144 bytes read: OK
rootfs_num=0
wps_btn_status=1
reset_btn_status=1
Hit any key to stop autoboot:  0 
Saving Environment to NAND...
Erasing NAND...
Erasing at 0x4e0000 -- 100% complete.
Writing to NAND... OK

Net:   cmbblk is stable 5
S17c reset gpio26, addr: 101a004
S17c reset done
MAC0 addr:a4:39:b6:22:47:4c
PHY ID1: 0x4d
PHY ID2: 0xd0c0
MAC1 addr:a4:39:b6:22:47:4d
athrs17_reg_init done
athrs17_mii_init done
athrs17_vlan_config done
S17c init done
eth0, eth1
IPQ5018#     
Unknown command ' - try 'help'
IPQ5018# printen
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=bootipq
bootdelay=1
done_upgrade=0
eth1addr=a4:39:b6:22:47:4d
ethact=eth0
ethaddr=a4:39:b6:22:47:4c
fdt_high=0x4A400000
fdtcontroladdr=4a9c4004
flash_type=11
ignore_part=1
ipaddr=192.168.10.10
machid=8040000
netmask=255.255.255.0
new_rootfs0=1
rootfs_num=0
serverip=192.168.10.19
soc_hw_version=20180101
soc_version_major=1
soc_version_minor=1
stderr=serial@78AF000
stdin=serial@78AF000
stdout=serial@78AF000
sysfail=0

Environment size: 528/262140 bytes
IPQ5018# ping 192.168.10.19
eth0 up Speed :1000 Full duplex
Using eth0 device

Abort
ping failed; host 192.168.10.19 is not alive
IPQ5018# smem
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=0", size 58 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 464, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 370/155, WL threshold: 4096, image sequence number: 703827458
ubi0: available PEBs: 0, total reserved PEBs: 464, PEBs reserved for bad PEB handling: 20
flash_type:             0xb
flash_index:            0x0
flash_chip_select:      0x0
flash_block_size:       0x20000
flash_density:          0x80000
partition table offset  0x0
No.: Name             Attributes            Start             Size
  0: 0:SBL1           0x0000ffff              0x0          0x80000
  1: 0:MIBIB          0x0000ffff          0x80000          0x80000
  2: 0:BOOTCONFIG     0x0000ffff         0x100000          0x40000
  3: 0:BOOTCONFIG1    0x0000ffff         0x140000          0x40000
  4: 0:QSEE           0x0000ffff         0x280000         0x100000
  5: 0:QSEE_1         0x0000ffff         0x180000         0x100000
  6: 0:DEVCFG         0x0000ffff         0x3c0000          0x40000
  7: 0:DEVCFG_1       0x0000ffff         0x380000          0x40000
  8: 0:CDT            0x0000ffff         0x440000          0x40000
  9: 0:CDT_1          0x0000ffff         0x400000          0x40000
 10: 0:APPSBLENV      0x0000ffff         0x480000          0x80000
 11: 0:APPSBL         0x0000ffff         0x640000         0x140000
 12: 0:APPSBL_1       0x0000ffff         0x500000         0x140000
 13: 0:ART            0x0000ffff         0x780000         0x100000
 14: 0:TRAINING       0x0000ffff         0x880000          0x80000
 15: rootfs           0x0000ffff         0x900000        0x3a00000
        ubi vol 0 kernel
        ubi vol 1 wifi_fw
        ubi vol 2 bt_fw
        ubi vol 3 ubi_rootfs
        ubi vol 4 rootfs_data
 16: rootfs_1         0x0000ffff        0x4300000        0x3a00000
IPQ5018# printenv
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=bootipq
bootdelay=1
done_upgrade=0
eth1addr=a4:39:b6:22:47:4d
ethact=eth0
ethaddr=a4:39:b6:22:47:4c
fdt_high=0x4A400000
fdtcontroladdr=4a9c4004
flash_type=11
ignore_part=1
ipaddr=192.168.10.10
machid=8040000
mtddevname=fs
mtddevnum=0
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x3a00000@0x900000(fs),
netmask=255.255.255.0
new_rootfs0=1
partition=nand0,0
rootfs_num=0
serverip=192.168.10.19
soc_hw_version=20180101
soc_version_major=1
soc_version_minor=1
stderr=serial@78AF000
stdin=serial@78AF000
stdout=serial@78AF000
sysfail=0

直接设置一下固定IP192.168.10.19 就可以直接刷了。。

刷机提前准备好 串口软件和tftp 还有固件 这个刷机直接写入

15: rootfs           0x0000ffff         0x900000        0x3a00000
        ubi vol 0 kernel
        ubi vol 1 wifi_fw
        ubi vol 2 bt_fw
        ubi vol 3 ubi_rootfs
        ubi vol 4 rootfs_data
 16: rootfs_1         0x0000ffff        0x4300000        0x3a00000

开始刷机

tftpboot PZL8-AX3000-openwrt-v1.6.bin && flash rootfs && flash rootfs_1

意思就是上传固件后写入 15和16分区

PS:出现卡这里的一般是网卡设置问题我这里统一改成192.168.1.123

setenv ipaddr 192.168.1.1 && setenv serverip 192.168.1.123
saveenv    

IPQ5018# tftpboot PZL8-AX3000-openwrt-v1.6.bin && flash rootfs && flash rootfs_1
eth0 up Speed :1000 Full duplex
Using eth0 device
TFTP from server 192.168.1.123; our IP address is 192.168.1.1
Filename 'PZL8-AX3000-openwrt-v1.6.bin'.
Load address: 0x44000000
Loading: T T T T T T T T T T 
Retry count exceeded; starting again
IPQ5018# tftpboot PZL8-AX3000-openwrt-v1.6.bin && flash rootfs && flash rootfs_1
eth0 up Speed :1000 Full duplex
Using eth0 device
TFTP from server 192.168.1.123; our IP address is 192.168.1.1
Filename 'PZL8-AX3000-openwrt-v1.6.bin'.
Load address: 0x44000000
Loading: *
Got TFTP_OACK: TFTP remote port: changes from 69 to 54583
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################
         3.4 MiB/s
done
Bytes transferred = 34734080 (2120000 hex)

NAND erase: device 0 offset 0x900000, size 0x3a00000
Erasing at 0x42e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x900000, size 0x2120000
 34734080 bytes written: OK

NAND erase: device 0 offset 0x4300000, size 0x3a00000
Erasing at 0x7ce0000 -- 100% complete.
OK

NAND write: device 0 offset 0x4300000, size 0x2120000
 34734080 bytes written: OK

由于我电脑网卡环境问题我又改了一下 网卡,如果上面能直接刷 就不用改,不行就改一下。。网口我接wan才跑起来

刷完重启 或输入 reset 回车即可。

跑完码了、

Openwrt

好像没啥固件。。一个openwrt 一个集客AP 还是用的N3000 这个型号的 。。

比我脸还干净。。。

openwrt 就这样吧

集客AP

这是链接上的下载速率网速。。


Comment