# How to build OpenWRT image from github

we test it with deepin2014(base on ubuntu14.04)

1,install depend package :

```
apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc unzip subversion file
```

2,get openwrt source code

```
git clone https://github.com/BPI-SINOVOIP/BPI-OpenWRT.git
```

3,enter openwrt dir:

`cd BPI-OpenWRT`

4,update package and install

```
./scripts/feeds update -a
./scripts/feeds install -a
```

5 Enter the customization interface:

![](/files/-M2HXO8QT_K_jPty_KGs)

please choose your need:

Target System default is BananaPi，its the only choice on that matte.，Please change the device selection under Target Profile. The OpenWrt image supports M1, M1+ and R1.

example : i need web and add chinese support

```
LuCI—> 1. Collections  ---> <*> luci  add Luci support ，it mean web GUI support，it is defaultes
LuCI—>2. Modules  ---> <*> luci-i18n-chinese   add chinese also you can choose others.
```

6 Make ,you can add V=s to see more message ,also add -j4 to use quad core to work .

```
make
```

when compile finish bin/sunxi/ dir have a image，file name：openwrt-sunxi-BPI-XX-sdcard-vfat-ext4.img，i compile is BPI-R1，so name is ：openwrt-sunxi-BPI-R1-sdcard-vfat-ext4.img，

7, use USB Image Tool(<http://www.alexpage.de/>) burn image to sd，insert BPI and booting it.

8 running ：

![](/files/-M2HXO8SsJsRShhc2yFO)

9 Kernel booting message display:

```
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.18.19 (charli@charli-pc) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #3 SMP PREEMPT Mon Aug 24 22:13:58 CST 2015
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: BPI R1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 260096
[    0.000000] free_area_init_node: node 0, pgdat c0503740, node_mem_map ef00a000
[    0.000000]   Normal zone: 1520 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 512 pages used for memmap
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 9 pages/cpu @eefe1000 s6272 r8192 d22400 u36864
[    0.000000] pcpu-alloc: s6272 r8192 d22400 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258576
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk rootwait root=/dev/mmcblk0p2
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1025388K/1040384K available (3811K kernel code, 169K rwdata, 1068K rodata, 200K init, 606K bss, 14996K reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04cbef4   (4880 kB)
[    0.000000]       .init : 0xc04cc000 - 0xc04fe000   ( 200 kB)
[    0.000000]       .data : 0xc04fe000 - 0xc0528738   ( 170 kB)
[    0.000000]        .bss : 0xc0528738 - 0xc05c0048   ( 607 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[    0.000022] Switching to timer-based delay loop, resolution 41ns
[    0.000352] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000510] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns
[    0.000673] Console: colour dummy device 80x30
[    0.000702] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000718] pid_max: default: 32768 minimum: 301
[    0.000824] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000837] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001454] CPU: Testing write buffer coherency: ok
[    0.001761] /cpus/cpu@0 missing clock-frequency property
[    0.001778] /cpus/cpu@1 missing clock-frequency property
[    0.001791] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001847] Setting up static identity map for 0x40011b68 - 0x40011b9c
[    0.060422] CPU1: Booted secondary processor
[    0.060466] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060535] Brought up 2 CPUs
[    0.060557] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.060564] CPU: All CPU(s) started in HYP mode.
[    0.060569] CPU: Virtualization extensions available.
[    0.064967] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.065370] pinctrl core: initialized pinctrl subsystem
[    0.065762] regulator-dummy: no parameters
[    0.071879] NET: Registered protocol family 16
[    0.072229] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.111482] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
[    0.111521] platform ahci-5v: Driver reg-fixed-voltage requests probe deferral
[    0.111550] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.111565] platform usb1-vbus: Driver reg-fixed-voltage requests probe deferral
[    0.111589] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.111603] platform usb2-vbus: Driver reg-fixed-voltage requests probe deferral
[    0.111817] vcc3v0: 3000 mV 
[    0.112040] vcc3v3: 3300 mV 
[    0.112264] vcc5v0: 5000 mV 
[    0.112345] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.112362] platform gmac-3v3: Driver reg-fixed-voltage requests probe deferral
[    0.112811] SCSI subsystem initialized
[    0.112885] libata version 3.00 loaded.
[    0.113197] usbcore: registered new interface driver usbfs
[    0.113274] usbcore: registered new interface driver hub
[    0.113403] usbcore: registered new device driver usb
[    0.113546] pps_core: LinuxPPS API ver. 1 registered
[    0.113553] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.113584] PTP clock support registered
[    0.114654] Switched to clocksource arch_sys_counter
[    0.121779] NET: Registered protocol family 2
[    0.122818] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.122902] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.123024] TCP: Hash tables configured (established 8192 bind 8192)
[    0.123105] TCP: reno registered
[    0.123122] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.123179] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.123443] NET: Registered protocol family 1
[    0.124957] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.125108] audit: initializing netlink subsys (disabled)
[    0.125185] audit: type=2000 audit(0.110:1): initialized
[    0.133939] VFS: Disk quotas dquot_6.5.2
[    0.134207] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.135970] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.135994] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.136719] msgmni has been set to 1490
[    0.138903] bounce: pool size: 64 pages
[    0.138931] io scheduler noop registered
[    0.138946] io scheduler deadline registered
[    0.138996] io scheduler cfq registered (default)
[    0.139318] platform 1c13400.phy: Driver sun4i-usb-phy requests probe deferral
[    0.142025] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.184985] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.187319] console [ttyS0] disabled
[    0.207743] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.828354] console [ttyS0] enabled
[    0.854828] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.886744] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 52, base_baud = 1500000) is a U6_16550A
[    0.899279] platform 1c50000.ethernet: Driver stmmaceth requests probe deferral
[    0.906754] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.913282] ehci-platform: EHCI generic platform driver
[    0.918683] platform 1c14000.usb: Driver ehci-platform requests probe deferral
[    0.926000] platform 1c1c000.usb: Driver ehci-platform requests probe deferral
[    0.933320] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.939546] ohci-platform: OHCI generic platform driver
[    0.944901] platform 1c14400.usb: Driver ohci-platform requests probe deferral
[    0.952185] platform 1c1c400.usb: Driver ohci-platform requests probe deferral
[    0.959587] usbcore: registered new interface driver usb-storage
[    0.965867] mousedev: PS/2 mouse device common for all mice
[    0.971551] 1c22800.lradc supply vref not found, using dummy regulator
[    0.978474] input: 1c22800.lradc as /devices/soc@01c00000/1c22800.lradc/input/input0
[    0.991771] axp20x-regulator axp20x-regulator: regulators node not found
[    0.998630] LDO1: 1300 mV 
[    1.001767] LDO2: at 3000 mV 
[    1.005157] LDO3: at 2275 mV 
[    1.008294] LDO4: at 2800 mV 
[    1.011695] LDO5: at 2800 mV 
[    1.015085] DCDC2: at 1400 mV 
[    1.018533] DCDC3: at 1250 mV 
[    1.021668] axp20x 0-0034: AXP20X driver loaded
[    1.027508] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.036066] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    1.041994] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.084877] sunxi-mmc 1c0f000.mmc: base:0xf00fa000 irq:64
[    1.092685] sunxi-ss 1c15000.crypto-engine: Die ID 0
[    1.099853] TCP: cubic registered
[    1.103201] Initializing XFRM netlink socket
[    1.107611] NET: Registered protocol family 17
[    1.112178] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.124806] 8021q: 802.1Q VLAN Support v1.8
[    1.129125] Registering SWP/SWPB emulation handler
[    1.134455] registered taskstats version 1
[    1.139223] ahci-5v: 5000 mV 
[    1.142597] usb1-vbus: 5000 mV 
[    1.147273] usb2-vbus: 5000 mV 
[    1.150752] gmac-3v3: 3300 mV 
[    1.192892] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.203577] mmc0: new high speed SDHC card at address 0001
[    1.209591] mmcblk0: mmc0:0001 00000 7.44 GiB 
[    1.215221]  mmcblk0: p1 p2
[    1.264746] stmmaceth 1c50000.ethernet: no reset control found
[    1.270578]  Ring mode enabled
[    1.273630]  No HW DMA feature register supported
[    1.278179]  Normal descriptors
[    1.281500]  TX Checksum insertion supported
[    1.292504] libphy: stmmac: probed
[    1.295950] eth0: PHY ID 03625f24 at 0 IRQ POLL (stmmac-0:00) active
[    1.302298] eth0: PHY ID 03625f24 at 1 IRQ POLL (stmmac-0:01)
[    1.308050] eth0: PHY ID 03625f24 at 2 IRQ POLL (stmmac-0:02)
[    1.313789] eth0: PHY ID 03625f24 at 3 IRQ POLL (stmmac-0:03)
[    1.319538] eth0: PHY ID 03625f24 at 4 IRQ POLL (stmmac-0:04)
[    1.325287] eth0: PHY ID 03625f24 at 30 IRQ POLL (stmmac-0:1e)
[    1.331456] ehci-platform 1c14000.usb: EHCI Host Controller
[    1.337154] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    1.345031] ehci-platform 1c14000.usb: irq 71, io mem 0x01c14000
[    1.364665] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    1.370952] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.377753] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.384988] usb usb1: Product: EHCI Host Controller
[    1.389862] usb usb1: Manufacturer: Linux 3.18.19 ehci_hcd
[    1.395353] usb usb1: SerialNumber: 1c14000.usb
[    1.400464] hub 1-0:1.0: USB hub found
[    1.404250] hub 1-0:1.0: 1 port detected
[    1.408963] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.414564] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.422482] ehci-platform 1c1c000.usb: irq 72, io mem 0x01c1c000
[    1.444681] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.450961] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.457766] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.464991] usb usb2: Product: EHCI Host Controller
[    1.469865] usb usb2: Manufacturer: Linux 3.18.19 ehci_hcd
[    1.475355] usb usb2: SerialNumber: 1c1c000.usb
[    1.480460] hub 2-0:1.0: USB hub found
[    1.484246] hub 2-0:1.0: 1 port detected
[    1.488775] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    1.495451] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    1.503327] ohci-platform 1c14400.usb: irq 96, io mem 0x01c14400
[    1.568861] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    1.575669] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.582883] usb usb3: Product: Generic Platform OHCI controller
[    1.588814] usb usb3: Manufacturer: Linux 3.18.19 ohci_hcd
[    1.594296] usb usb3: SerialNumber: 1c14400.usb
[    1.599360] hub 3-0:1.0: USB hub found
[    1.603146] hub 3-0:1.0: 1 port detected
[    1.607711] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.614350] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    1.622242] ohci-platform 1c1c400.usb: irq 97, io mem 0x01c1c400
[    1.688838] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    1.695643] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.702858] usb usb4: Product: Generic Platform OHCI controller
[    1.708790] usb usb4: Manufacturer: Linux 3.18.19 ohci_hcd
[    1.714271] usb usb4: SerialNumber: 1c1c400.usb
[    1.719358] hub 4-0:1.0: USB hub found
[    1.723148] hub 4-0:1.0: 1 port detected
[    1.732286] ahci-5v: disabling
[    1.735459] vcc5v0: disabling
[    1.738427] vcc3v0: disabling
[    1.743698] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.752677] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.766260] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.773791] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.780839] Freeing unused kernel memory: 200K (c04cc000 - c04fe000)
[    1.804732] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    1.896387] init: Console is alive
[    1.900086] init: - watchdog -
[    1.956437] usb 2-1: New USB device found, idVendor=0bda, idProduct=8178
[    1.963264] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.970476] usb 2-1: Product: 802.11n WLAN Adapter
[    1.975289] usb 2-1: Manufacturer: Realtek
[    1.979482] usb 2-1: SerialNumber: 00e04c000001
[    2.114708] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.122202] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.128109] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.137085] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc 
[    2.146090] scsi host0: ahci_platform
[    2.150140] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[    2.504668] ata1: SATA link down (SStatus 0 SControl 300)
[    2.903980] init: - preinit -
[    3.049304] b53_common: found switch: BCM53125, rev 4
[    3.064921]  RX IPC Checksum Offload disabled
[    3.069283]  No MAC Management Counters available
[    4.240130] random: mktemp urandom read with 5 bits of entropy available
[    5.044697] stmmaceth 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    7.303617] mount_root: mounting /dev/root
[    7.313783] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.324800] procd: - early -
[    7.327825] procd: - watchdog -
[    8.196631] procd: - ubus -
[    9.200629] procd: - init -
[    9.740779] NET: Registered protocol family 10
[    9.750621] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.781222] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[    9.789242] Backport generated by backports.git backports-20150129-0-gdd4a670
[    9.797957] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.808055] nf_conntrack version 0.5.0 (16024 buckets, 64096 max)
[    9.895305] xt_time: kernel timezone is -0000
[    9.909554] cfg80211: Calling CRDA to update world regulatory domain
[    9.916314] cfg80211: World regulatory domain updated:
[    9.921471] cfg80211:  DFS Master region: unset
[    9.926943] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.936834] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.944963] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.952992] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.961171] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.969328] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    9.978922] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.987125] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.995867] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.033695] PPP generic driver version 2.4.2
[   10.039216] NET: Registered protocol family 24
[   10.057795] rtl8192cu: Chip version 0x11
[   10.148074] rtl8192cu: MAC address: ac:a2:13:5c:96:bf
[   10.153232] rtl8192cu: Board Type 0
[   10.164227] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[   10.170284] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[   10.177753] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   10.179863] usbcore: registered new interface driver rtl8192cu
[   11.862773] random: nonblocking pool is initialized
[   14.869421] b53_common: found switch: BCM53125, rev 4
[   14.899568]  RX IPC Checksum Offload disabled
[   14.916057]  No MAC Management Counters available
[   14.921020] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.864711] stmmaceth 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.872809] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  220.810635] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[  221.264426] rtl8192cu: MAC auto ON okay!
[  221.301871] rtl8192cu: Tx queue select: 0x05
[  221.725855] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  221.734477] device wlan0 entered promiscuous mode
[  221.739510] br-lan: port 1(wlan0) entered forwarding state
[  221.745096] br-lan: port 1(wlan0) entered forwarding state
[  221.752455] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  221.772506] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  223.741765] br-lan: port 1(wlan0) entered forwarding state
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bananapi.gitbook.io/bpi-r1/en/howtobuildopenwrtimagefromgithub.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
