i have a ws-ap3825i device and need openwrt
how to make custom build to this device?
AP3825i-15363938085K000# cat /proc/cpuinfo
processor : 0
cpu : e500v2
clock : 799.999992MHz
revision : 5.1 (pvr 8021 2051)
bogomips : 100.00
processor : 1
cpu : e500v2
clock : 799.999992MHz
revision : 5.1 (pvr 8021 2051)
bogomips : 100.00
total bogomips : 200.00
timebase : 50000000
platform : P1020 RDB
model : fsl,P1020
Memory : 255 MB
and start log
U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21) (primary)
Power LED ON
CPU0: P1020E, Version: 1.1, (0x80ec0011)
Core: E500, Version: 5.1, (0x80212051)
Clock Configuration:
CPU0:800 MHz, CPU1:800 MHz,
CCB:400 MHz,
DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), LBC:25 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: P1020RDB CPLD: V15.15 PCBA: V15.0
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: ready
SPI: ready
DRAM: Configuring DDR for 666.667 MT/s data rate
DDR: 256 MiB (DDR3, 32-bit, CL=6, ECC off)
Testing DRAM from 0x00010000 to 0x000fffff
DRAM test phase 1:
DRAM test phase 2:
DRAM test passed.
FLASH: 64 MiB
L2: 256 KB enabled
MMC: FSL_ESDHC: 0
PCIe1: Root Complex of mini PCIe SLOT, x1, regs @ 0xffe0a000
01:00.0 - 168c:003c - Network controller
PCIe1: Bus 00 - 01
PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
03:00.0 - 168c:0033 - Network controller
PCIe2: Bus 02 - 03
In: serial
Out: serial
Err: serial
Net: eTSEC1, eTSEC3
### JFFS2 loading '/home/config/shadow'
rescan: First time in use
Scanning JFFS2 FS: . done.
load: loaded '/home/config/shadow' to 0xfac05d0 (57 bytes)
### JFFS2 load complete: 57 bytes loaded
Hit 'd' for diagnostics, or any other key to stop autoboot: 0
## Executing script at 0ff33414
check for watchdog, limit=3...
check for reset by watchdog...
no watchdog...
bSaveEnviron=0 image_order=primary secondary
### JFFS2 loading 'primary.gz.uImage'
load: loaded 'primary.gz.uImage' to 0xa000000 (9338863 bytes)
### JFFS2 load complete: 9338863 bytes loaded
ready to boot kernel... [DTB 1]
## Booting kernel from Legacy Image at 0a000000 ...
Image Name: Linux Kernel Image (LZMA)
Image Type: PowerPC Linux Kernel Image (lzma compressed)
Data Size: 9326511 Bytes = 8.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0a8e4fef
Booting using the fdt blob at 0xa8e4fef
Uncompressing Kernel Image ... OK
Loading Device Tree to 09ffa000, end 09ffffff ... OK
Using P1020 RDB machine description
Memory CAM mapping: 64/64/64 Mb, residual: 63Mb
Linux version 2.6.35--10.51.03.0002 (root@bld-debian1) (gcc version 4.9.2 (crosstool-NG 1.21.0) ) #2 SMP Wed Apr 17 13:33:22 EDT 2019
CPU maps initialized for 1 thread per core
bootconsole [udbg0] enabled
setup_arch: bootmem
mpc85xx_rdb_setup_arch()
Found FSL PCI host bridge at 0x00000000ffe09000. Firmware bus number: 0->1
PCI host bridge /pcie@ffe09000 ranges:
MEM 0x00000000a0000000..0x00000000bfffffff -> 0x00000000a0000000
IO 0x00000000ffc10000..0x00000000ffc1ffff -> 0x0000000000000000
/pcie@ffe09000: PCICSRBAR @ 0xfff00000
Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->1
PCI host bridge /pcie@ffe0a000 ranges:
MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000
IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
/pcie@ffe0a000: PCICSRBAR @ 0xfff00000
MPC85xx RDB board from Freescale Semiconductor
arch: exit
Zone PFN ranges:
DMA 0x00000000 -> 0x0000c000
Normal empty
HighMem 0x0000c000 -> 0x0000ff7f
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x0000ff7f
MMU: Allocated 1088 bytes of context maps for 255 contexts
PERCPU: Embedded 7 pages/cpu @c2396000 s7872 r8192 d12608 u65536
pcpu-alloc: s7872 r8192 d12608 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64896
Kernel command line: mtdparts=ec000000.nor:62848K(FS),128K(CALIB),512K(BootPRI),128K(NVRAM1),128K(NVRAM2),128K(NVRAM3),128K(NVRAM4),128K(NVRAM5),128K(NVRAM6),128K(NVRAM7),128K(NVRAM8),128K(CFG2),128K(CFG1) BOOT_BOOTROM="U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21) (primary)" BOOT_KERNEL=primary console=ttyS0,115200n81 panic=30 ro
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 224740k/261628k available (33992k kernel code, 36888k reserved, 212k data, 153k bss, 30988k init)
Kernel virtual memory layout:
* 0xfffbf000..0xfffff000 : fixmap
* 0xff800000..0xffc00000 : highmem PTEs
* 0xff7d8000..0xff800000 : early ioremap
* 0xcd000000..0xff7d8000 : vmalloc & ioremap
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:512
mpic: Setting up MPIC " OpenPIC " version 1.2 at ffe40000, max 2 CPUs
mpic: ISU size: 256, shift: 8, mask: ff
mpic: Initializing for 256 sources
clocksource: timebase mult[5000000] shift[22] registered
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
mpic: requesting IPIs...
Processor 1 found.
Brought up 2 CPUs
NET: Registered protocol family 16
mpc8xxx_add_controller RESET button signal is high
mpc8xxx_add_controller hwirq 47
PCI: Probing PCI hardware
pci 0000:00:00.0: ignoring class b20 (doesn't match header type 01)
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
pci 0001:02:00.0: ignoring class b20 (doesn't match header type 01)
pci 0001:02:00.0: PCI bridge to [bus 03-ff]
pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x100000)
pci 0000:01:00.0: BAR 6: assigned [mem 0xa0020000-0xa002ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0: bridge window [io 0xff7ec000-0xff7fbfff]
pci 0000:00:00.0: bridge window [mem 0xa0000000-0xbfffffff]
pci 0000:00:00.0: bridge window [mem pref disabled]
pci 0000:00:00.0: enabling device (0106 -> 0107)
pci 0001:02:00.0: BAR 9: can't assign mem pref (size 0x100000)
pci 0001:03:00.0: BAR 6: assigned [mem 0x80200000-0x8020ffff pref]
pci 0001:02:00.0: PCI bridge to [bus 03-03]
pci 0001:02:00.0: bridge window [io 0xff7d9000-0xff7e8fff]
pci 0001:02:00.0: bridge window [mem 0x80000000-0x9fffffff]
pci 0001:02:00.0: bridge window [mem pref disabled]
pci 0001:02:00.0: enabling device (0106 -> 0107)
bio: create slab <bio-0> at 0
Freescale Elo / Elo Plus DMA driver
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 128 (order: 1, 8192 bytes)
NET: Registered protocol family 1
fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel), irq 20
fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel), irq 21
fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel), irq 22
fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel), irq 23
highmem bounce pool size: 64 pages
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 311
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550A
ec000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
cfi_fixup_kern_acc mtd cb8a8600 write and erase f() kern access setup
number of CFI chips: 1
13 cmdlinepart partitions found on MTD device ec000000.nor
Creating 13 MTD partitions on "ec000000.nor":
0x000000000000-0x000003d60000 : "FS"
0x000003d60000-0x000003d80000 : "CALIB"
0x000003d80000-0x000003e00000 : "BootPRI"
0x000003e00000-0x000003e20000 : "NVRAM1"
0x000003e20000-0x000003e40000 : "NVRAM2"
0x000003e40000-0x000003e60000 : "NVRAM3"
0x000003e60000-0x000003e80000 : "NVRAM4"
0x000003e80000-0x000003ea0000 : "NVRAM5"
0x000003ea0000-0x000003ec0000 : "NVRAM6"
0x000003ec0000-0x000003ee0000 : "NVRAM7"
0x000003ee0000-0x000003f00000 : "NVRAM8"
0x000003f00000-0x000003f20000 : "CFG2"
0x000003f20000-0x000003f40000 : "CFG1"
Fixed MDIO Bus: probed
/proc/ptp_1588 created
IEEE1588: disable on the system.
eth0: Dropping NETIF_F_SG since no checksum feature.
gianfar_pool_init 942: init pNetPool c218abfc
gfar_probe 2538: bufLen is 2224 rcvbuf len 1980 gChnEthPool c218abfc
eth0: Gianfar Ethernet Controller Version 1.4-skbr1.1.5, d8:84:66:31:73:95
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: RX BD ring size for Q[1]: 256
eth0: RX BD ring size for Q[2]: 256
eth0: RX BD ring size for Q[3]: 256
eth0: RX BD ring size for Q[4]: 256
eth0: RX BD ring size for Q[5]: 256
eth0: RX BD ring size for Q[6]: 256
eth0: RX BD ring size for Q[7]: 256
eth0: TX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[1]: 256
eth0: TX BD ring size for Q[2]: 256
eth0: TX BD ring size for Q[3]: 256
eth0: TX BD ring size for Q[4]: 256
eth0: TX BD ring size for Q[5]: 256
eth0: TX BD ring size for Q[6]: 256
eth0: TX BD ring size for Q[7]: 256
IEEE1588: disable on the system.
eth1: Dropping NETIF_F_SG since no checksum feature.
gianfar_pool_init 942: init pNetPool c218abfc
gfar_probe 2538: bufLen is 2224 rcvbuf len 1980 gChnEthPool c218abfc
eth1: Gianfar Ethernet Controller Version 1.4-skbr1.1.5, d8:84:66:31:73:94
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: RX BD ring size for Q[1]: 256
eth1: RX BD ring size for Q[2]: 256
eth1: RX BD ring size for Q[3]: 256
eth1: RX BD ring size for Q[4]: 256
eth1: RX BD ring size for Q[5]: 256
eth1: RX BD ring size for Q[6]: 256
eth1: RX BD ring size for Q[7]: 256
eth1: TX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[1]: 256
eth1: TX BD ring size for Q[2]: 256
eth1: TX BD ring size for Q[3]: 256
eth1: TX BD ring size for Q[4]: 256
eth1: TX BD ring size for Q[5]: 256
eth1: TX BD ring size for Q[6]: 256
eth1: TX BD ring size for Q[7]: 256
Freescale PowerQUICC MII Bus: probed
Freescale PowerQUICC MII Bus: probed
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
i2c /dev entries driver
PowerPC Book-E Watchdog Timer Loaded
nf_conntrack version 0.5.0 (3511 buckets, 14044 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Freeing unused kernel memory: 30988k init
init started: BusyBox v1.17.4 (2019-04-17 13:00:44 EDT)
starting pid 44, tty '': '/etc/rc.d/rcS'
data plane cores = 1
fast path cores = 1
rcS: watchdogDis 0 serNum 15363938085K0000
Read/Write Crypto Section successfully !
Waiting for jffsap_drv: trap Monitor has been suspended.
2_gcd_mtd and flush-mtd to finish, wait time 0 seconds.
ap_drv: trap Monitor will resume shortly.
eth0 hw addr: D8:84:66:31:73:95
eth1 hw addr: D8:84:66:31:73:94
cat: can't open '/home/config/previous.cfg': No such file or directory
update_compliance_file: /flash/v3_confData.bin up to date (Ver in Image AP3825i-77 Ver on AP AP3825i-77 format 129)
update_compliance_file:Imported Compliance Table V4.19 dated on 2/27/2019 (AP38XX_Power_Settings_V9.xlsx)
3708+0 records in
3708+0 records out
3708+0 records in
3708+0 records out
MODEL AP3825i
SERVICETYPE siemens
SERVICEATTRS ac_manager,ru_manager
AC_HOSTNAME Controller
VERSIONBASE 0
SERIALNUMBER 15363938085K0000
AP_FLAG 0
AP_MODE 0
NUM_ANTENNAS 6
starting pid 398, tty '': '/sbi
(none) ppc #2 SMP Wed Apr 17 13:33:22 EDT 2019 (none)
(none) login: ap_drv: trap Monitor will resume in a few seconds.
printenv ->
Boot (PRI)-> printenv
AC_HOSTNAME=Controller
AP_FLAG=0
AP_MODE=0
BOOT_BOOTROM="U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21)"
BOOT_KERNEL=primary
CRYPTO_FLAG=3
CURR_VER=U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21) (primary)
DEFAULT_SETTING=0
HW_RELEASE=511
LOGHDR=0xfffec00
LOGHDRRREASON=0xfffec24
MODEL=AP3825i
MOSTRECENTKERNEL=0
NUM_ANTENNAS=6
RADIOADDR0=D8:84:66:42:98:C0
RADIOADDR1=D8:84:66:42:98:C8
REBOOT_PATTERN_WDG=0x5A5A5A5A
REGION=NA
SERIAL#=15363938085K0000
SERVICEATTRS=ac_manager,ru_manager
SERVICETYPE=siemens
VERSIONBASE=0
WATCHDOG_COUNT=0
WATCHDOG_LIMIT=3
WLAN_ORDER_STRING=10
baudrate=115200
boot_diag=if fsload 0x0A000000 diag.gz.uImage; then if imi 0x0A000000; then bootm 0x0A000000 - -; exit; fi; fi;echo ERROR: Problem with diag image, dropping to interactive shell
boot_flash=source boot_kernel
boot_net=tftpboot 0x0a000000 vmlinux.gz.uImage.3825; bootm 0x0a000000 - -
bootargs=console=ttyS0,115200n81 panic=30 ro mtdparts=ec000000.nor:62848K(FS),128K(CALIB),512K(BootPRI),128K(NVRAM1),128K(NVRAM2),128K(NVRAM3),128K(NVRAM4),128K(NVRAM5),128K(NVRAM6),128K(NVRAM7),128K(NVRAM8),128K(CFG2),128K(CFG1) BOOT_KERNEL=primary BOOT_BOOTROM="U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21)"
bootcmd=run boot_flash
bootdelay=2
eth1addr=D8:84:66:31:73:94
ethact=eTSEC1
ethaddr=D8:84:66:31:73:95
filesize=39
mem=261632k
menucmd=run boot_diag
mtddevname=FS
mtddevnum=0
mtdids=nor0=ec000000.nor
mtdparts=mtdparts=ec000000.nor:62848K(FS),128K(CALIB),512K(BootPRI),128K(NVRAM1),128K(NVRAM2),128K(NVRAM3),128K(NVRAM4),128K(NVRAM5),128K(NVRAM6),128K(NVRAM7),128K(NVRAM8),128K(CFG2),128K(CFG1)
netdev=eth0
partition=nor0,0
static_bootargs=console=ttyS0,115200n81 panic=30 ro
stderr=serial
stdin=serial
stdout=serial
uboot=u-boot.bin
ver=U-Boot 2010.12.6 (Feb 26 2015 - 19:39:21) (primary)
Environment size: 1860/65531 bytes
it is mpc85xx category with Atheros AR8035