How to compile OpenWRT for Raspberry Pi4 (64bit) with USB NIC support

 Today I followed up 

How To Compile and Install OpenWRT For The Raspberry Pi 4b

here is a link with a ready image with all the packages pre installed 
1. Login into OS after installation. Open Terminal Window and type the following commands: 2. sudo apt-get update 3. sudo apt-get install git-core subversion mercurial build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev 4. unset SED 5. unset GREP_OPTIONS 6. export GREP_OPTIONS= 7. export PATH=$PATH:~/openwrt/openwrt/staging_dir/host/bin 8. export PATH=$PATH:~/openwrt/openwrt/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.16 9. Install sublime text 3 | www.sublimetext.com 10. Install Balena Etcher | https://www.balena.io/etcher Install OpenWRT Source from GIT: 1. git clone https://github.com/openwrt/openwrt.git From OpenWRT Source Tree 1. cd openwrt 2. ./scripts/feeds update -a 3. ./scripts/feeds install -a To create a custom banner: 1. Generate ACSII text banner. 2. Edit openwrt/package/base-files/files/etc" and paste your ACSII text Run OpenWRT Configuration: 1. make menuconfig Items we need in OpenWRT Configuration: 1. Target System = Broadcom BCM27xx 2. Subtarget = BCM2711 boards 64bit 3. Target Profile = Raspberry Pi 4b 4. Target Images = squashfs 5. Kernel Modules - -- USB Support = kmod-usb-hid = kmod-usb-net = kmod-usb-net-asix = kmod-usb-net-asix-ax88179 = kmod-usb2 = kmod-usb3 6. Libraries -- libssh -- libssh2 7. LUCI - -- Collections - = luci = luci-ssl-openssl 8. Save 9. Exit 10. make (or to use multiple cores) make -jx (where x = cpu cores+1)


Comments

Popular posts from this blog

NordVpn Kill switch on Ubuntu 18.04