PMP V

build od-installer.bin


步驟如下:

$ cd
$ wget https://github.com/steward-fu/pmp-v/releases/download/v1.0/rs90-toolchain-2019.04.30.tar
$ tar xvf rs90-toolchain-2019.04.30.tar
$ sudo mv rs90-toolchain /opt/
$ export PATH=$PATH:/opt/rs90-toolchain/usr/bin

$ git clone -b od-installer --single-branch https://github.com/OpenDingux/buildroot od-installer
$ cd od-installer
$ make od_flasher_defconfig
$ make
  Incorrect selection of kernel headers: expected 4.18.x, got 4.20.x

$ vim .config +297
  BR2_TOOLCHAIN_HEADERS_AT_LEAST="4.20"

$ make -j4

$ cd
$ git clone -b jz-5.1-od-installer --single-branch https://github.com/OpenDingux/linux jz-5.1-od-installer
$ cd jz-5.1-od-installer
$ cp ../od-installer/output/images/rootfs.cpio .
$ ARCH=mips make od_installer_defconfig
$ ARCH=mips make vmlinuz.bin

P.S. vmlinuz.bin就是od-installer.bin


返回上一頁