Thanks to Andy
- Download this repository.
$ git clone --depth 1 https://github.com/soonsebii/wrtnode2p_uboot.git
- Copy wrtnode2p_uboot folder to wrtnode2p/openwrt/package/boot/uboot-mt7628.
$ cp -rf wrtnode2p_uboot ~/wrtnode2p/openwrt/package/boot/uboot-mt7628
- Select uboot-mt7628 package under menuconfig in bootloader.
$ make menuconfig
Boot Loaders ---> [*] uboot-mt7628-sxx
- building uboot with under commands
$ make package/boot/uboot-mt7628/prereq V=s
$ make package/boot/uboot-mt7628/compile V=s
- uboot.bin will generated under wrtnode2p/openwrt/bin/ramips folder