Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
toh:huawei:ap5030dn [2023/12/17 19:45] – created codingmarcotoh:huawei:ap5030dn [2024/11/27 12:22] (current) – Add issues section, clarify re watchdog reset. timsmall
Line 6: Line 6:
  
 ===== OpenWrt support ===== ===== OpenWrt support =====
-<color red>**Work in progress.**</color>+Supported since v23.05.4. 
 +===== Installation ===== 
 +See commit: [[commit>?p=openwrt/openwrt.git;a=commit;h=06cdc07f8cc703ef7dcb3e7b329b9abff0806a6e]].
  
-At the moment (Dec 2023), a fully compatible fork is available: https://github.com/Selfnet/openwrt/tree/huawei-ap5030dn-dev.+Note that when booting from the network (tftp boot), there is race with the watchdog during early boot.  This can result in the device resetting before the kernel starts.  You may need to retry the boot several times before a successful network boot.  The same issue does not impact booting from flash, so that once OpenWrt is installed, there are expected to be no further problems. 
 +===== Known Issues ===== 
 +The watchdog issue reference above also impacts booting from flash.  The device will eventually boot because it will reset and then automatically retry, but this may lead to length boot/reboot times.  Tracking issue https://github.com/openwrt/openwrt/issues/16889
  
 +Cable testing is supported on eth1 (physical port GE1).  TDR data collection does not currently work, a WiP patch is available via this issue: https://github.com/openwrt/openwrt/issues/17077
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
Line 28: Line 33:
 ^ [[docs:techref:hardware:port.serial|Serial]]   | [[#Serial|Yes, externally accessible RJ45 port]]     | ^ [[docs:techref:hardware:port.serial|Serial]]   | [[#Serial|Yes, externally accessible RJ45 port]]     |
 ^ [[docs:techref:hardware:port.jtag|JTAG]]       | Probably, but not tested/verified                    | ^ [[docs:techref:hardware:port.jtag|JTAG]]       | Probably, but not tested/verified                    |
 +
 +===== Bootlogs =====
 +==== OEM bootlog ====
 +<WRAP bootlog>
 +<nowiki>DRAM Parameter:
 +    Tap(low, high): 0x3-0x1c
 +    Tap values: 0xf-0xf-0xf-0xf
 +DRAM:  256 MB
 +Press CTRL+T for Full Memory Test in 1 Seconds:  0
 +Board Type: 0x4a
 +Start up the normal boot...
 +DRAM Parameter:
 +    Tap(low, high): 0x3-0x1c
 +    Tap values: 0xf-0xf-0xf-0xf
 +DRAM:  256 MB
 +Press CTRL+T for Full Memory Test in 1 Seconds:  0
 +
 +
 +       ************************************************************
 +       **********************    *********    *********************
 +       ********************       *******       *******************
 +       ******************         *******         *****************
 +       ***********    ***          *****          ***    **********
 +       *********       ***         *****         ***      *********
 +       ********          **         ***         **         ********
 +       ********           **        ***        **          ********
 +       *********           **       ***       **          *********
 +       ***********          **      ***      **         ***********
 +       *****      ***         **    ***    **        ***      *****
 +       *****          ***      **  *****  **     ***          *****
 +       ******             ***   **********   ***             ******
 +       *********                 ********                 *********
 +       ************************************************************
 +       **********             **************             **********
 +       *************  ******************************  *************
 +       ************************************************************
 +
 +                        Welcome To HUAWEI AP World
 +
 +
 +U-Boot version-618(Aug 13 2020  14:15:09)
 +
 +Board Type: 0x4a
 +Flash: 32 MB
 +Boot Rom Version: 618
 +Hardware version: VER.A
 +Ethernet Mac: 00-06-F4-C2-1D-20
 +Ethernet Mac: 00-06-F4-C2-1D-20
 +
 +
 +Start Up time(s) : 2
 +Image: Current Bootup is A
 +Image: Current Bootup is A
 +Boot Kernel A Address: 0x9f66d000
 +Boot Kernel B Address: 0x9f820000
 +Press j or J to stop Bus-Test in 1 seconds:   0
 +POST test:  Begin
 +Testing PCIE  bus : Passed.
 +Testing SPI   bus : Passed.
 +Testing DDR   bus : Passed.
 +Testing RGMII bus : Passed.
 +Testing SGMII bus : Passed.
 +POST test: End
 +
 +Saving POST results: Done
 +
 +Press f or F  to stop Auto-Boot in 3 seconds:  0
 +   Uncompressing Kernel Image ... OK
 +
 +Starting kernel ...
 +
 +Booting QCA955x
 +init_bsp_adapter ...OK.
 +mm_init ...OK.
 +sched_init ...OK.
 +softirq_init ...OK.
 +console_init ...OK.
 +thread_info_cache_init ...OK.
 +fork_init ...OK.
 +dbg_late_init ...OK.
 +imv_init_complete ...OK.
 +Linux version 2.6.34.15-WR4.3.0.0_standard (gcc version 4.8.1 (GCC) )
 +#1 PREEMPT Thu Aug 13 14:15:33 CST 2020
 +flash_size passed from bootloader = 32 MB
 +arg 1: console=ttyS0,9600
 +arg 2: root=/dev/mtdblock5
 +arg 3: rootfstype=squashfs
 +arg 4: init=/sbin/init
 +arg 5: mtdparts=ath-nor0:512k(BiosA)ro,128k(BootupA),128k(BootupB),128k(BootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs);
 +arg 6: mem=254M
 +cpu apb ddr apb cpu-720MHZ,ddr-600MHZ,ahb-200MHZ
 +Zone PFN ranges:
 +  Normal   0x00000000 -> 0x0000fe00
 +Movable zone start PFN for each node
 +early_node_map[1] active PFN ranges
 +    0: 0x00000000 -> 0x0000fe00
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64516
 +Kernel command line: console=ttyS0,9600 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:512k(BiosA)ro,128k(BootupA),128k(BootupB),128k(BootEnv),128k(BoardData),12288k(SysImageA),3072k(configA),512k(BiosB),128k(ResultA),128k(ResultB),12288k(SysImageB),3072k(configB),256k(ArtArgs); mem=254M
 +Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
 +Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
 +FWD_MEM: aligned address 82000000
 +FWD_MEM: 02000000
 +FWD_MEM: Allocating 64MB (16384 pages) of memory at addr 82000000
 +
 +the pci irq_base value: 75
 +
 +the pci irq_base value: 75
 +plat_time_init:.............................................................done
 +Mount-cache hash table entries: 512
 +Registering WDT.............................................................done
 +ath_pcibios_init: bus 0
 +PCI init:...................................................................done
 +ath_pcibios_init(242): PCI 0 CMD write: 0x356
 +registering PCI controller with io_map_base unset
 +ath_pcibios_init: bus 1
 +***** Warning PCIe 1 H/W not found !!!
 +registering PCI controller with io_map_base unset
 +bio: create slab <bio-0> at 0
 +pcibios_map_irq: IRQ 75 for bus 0
 +ath_init_ioctl..............................................................done
 +init_vdso successfull
 +mtd: no mtd-id
 +ath_flash_init..............................................................done
 +Registering OTP.............................................................done
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
 +starting pid 33, tty '': '-/etc/init.d/rcS'
 +MIMC_KERNEL: Module init.
 +Disabling lock debugging due to kernel taint
 +mii_bus 0 successed to register
 +mii_bus 1 successed to register
 +Initializing arch flag Done.
 + ######## 32Bit Kernel ##########
 +######## MSS Memory Device register success  ########
 +
 +eth-diag install ok!
 +
 +Drv_ap_api module:Init
 +Get the HighMem address is 0xc0180000
 +vrp arch
 +get path free Disk 1228
 +get path free size enough!
 +11ac wave1 Target Bin file Selecting
 +Uninstall Target patch Sucess!
 +
 + 230: sys_lseek ret ffffffea shuld be fe040800
 +
 + 230: sys_lseek ret ffffffea shuld be fe040800
 +set ulMcThValue: 512
 +Bootstrap clock 40MHz
 +flash: eepromVersion=2,templateVersion=2
 +flash: macAddr=00-02-03-04-05-06
 +
 +ART Version : 49.347
 +SW Image Version : 0.10.0.1005.100
 +Board Revision : 6
 +ar9300_attach: nf_2_nom -110 nf_2_max -60 nf_2_min -125
 +ID:0 KapTxHook:64
 +ID:1 KapTxHook:64
 +Atheros Attach: dev name wifi0, radio id: 0
 +###############Load radio 0
 +###############Radio[0] enter cs thread
 +Atheros Attach: dev name wifi1, radio id: 1
 + Download AR9888v2_bin
 +###############Load radio 1
 +wifi1 Attach success
 +###############Radio[1] enter cs thread
 +Mount fsimage type: patch
 +User fs folder    : /opt
 +Loop device       : /dev/loop0
 +Mount folder      : /mnt/patch
 +Thu Aug 13 14:17:58 UTC 2020
 +cap32 start, build time 14:17:41
 +MSS_PUB_Init Succ! u32Ret = 0
 +AP_Board_Cfg Succ!  u32Ret = 0
 +Module MEM Init         ...... OK!
 +Module DIAG Init        ...... OK!
 +Module PBUF Init        ...... OK!
 +Module IM Init          ...... OK!
 +Module IIC Init         ...... OK!
 +Module HAL Init         ...... OK!
 +Module Timer Init       ...... OK!
 +Module TIME Init        ...... OK!
 +MSS_Global_Init Succ! ret = 0
 +MSC Process run on core [0], PID = [105]
 +MSC_TCTL_Init Succ!  u32Ret = 0
 +MSC goto scheduler!
 +MSS_PUB_Init Succ, ret = 0
 +AP_Board_Cfg Succ, ret = 0
 +Module MEM Init         ...... OK!
 +Module DIAG Init        ...... OK!
 +Module PBUF Init        ...... OK!
 +Module IM Init          ...... OK!
 +Module IIC Init         ...... OK!
 +Module HAL Init         ...... OK!
 +Module Timer Init       ...... OK!
 +Module TIME Init        ...... OK!
 +MSS_Global_Init Succ, ret = 0
 +
 +VOS_Start ......
 +MSU Init OK
 +MSU_Init Succ, ret = 0
 +MSS_IM_InstGlobalInit Succ, ret = 0
 +MSS_Local_Init Succ, ret = 0
 +kap overload hook ok!
 +
 + PPI_DEV_SysInit begin.
 +
 + CDEV_InitProduct Success !
 +
 + DEV_EVT_InitEvtData Success !
 +
 + PPI_DEV_SysInit End.
 +
 +Task GRSA Init......Ok......OK
 +VRP_SockTm_Init create............OK
 +
 +System recover configuration ......OK!
 +
 +
 +
 +  Press any key to get started
 +</nowiki>
 +</WRAP>\\
 +
  
  • Last modified: 2023/12/17 19:45
  • by codingmarco