Skip to content

2. Building OS

Amit Vitekar edited this page Jul 11, 2018 · 3 revisions

Since we are running this on a Raspberry Pi B+ board so we choose BCM27XX as the target and BCM2708 for the sub-target.

Model SoC Target Subtarget
A BCM2835 @ 700MHz BCM27XX BCM2708
B BCM2835 @ 700MHz BCM27XX BCM2708
CM BCM2835 @ 700MHz BCM27XX BCM2708
A+ BCM2835 @ 700MHz BCM27XX BCM2708
B+ BCM2835 @ 700MHz BCM27XX BCM2708
Zero BCM2835 @ 1GHz BCM27XX BCM2708
2B BCM2836 @ 900MHz BCM27XX BCM2709
3B BCM2837 @ 1.2GHz BCM27XX BCM2710

Now make sure you've selected the LUCI package with SSL enabled from LUCI menu in menuconfig

Now save the configuration in the .config file.

By default the wifi drivers are disabled so edit the package/kernel/mac80211/files/lib/wifi/mac80211.sh file:

vim package/kernel/mac80211/files/lib/wifi/mac80211.sh

Here edit the line from :

option disabled 1

To

# option disabled 1

Now proceed with the commands below:

make download

make check

make V=s -j4 (no of cores of your CPU)

Now wait till the final OS Image builds..

Clone this wiki locally