Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:sinovoip:bananapi_bpi_r3_mini [2024/02/20 02:29] – created daniel | toh:sinovoip:bananapi_bpi_r3_mini [2024/08/15 18:09] – Add installation manual wiagn | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| + | |||
| + | ===== Hardware Highlights ===== | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | * Two 10M/ | ||
| + | |||
| + | * PCIe gen-3 x2 Key-M M.2 socket for NVMe SSD (or additional WiFi in Key-A/E to Key-M adapter) | ||
| + | |||
| + | * USB 3.0 only Key-B M.2 slot with SIM card slot (**no actual PCIe signals on the M.2 socket!**) | ||
| + | |||
| + | ===== Installation ===== | ||
| + | /* stable release | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | */ | ||
| + | |||
| + | /* snapshot */ | ||
| + | /* delete once stable release is available */ | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| + | |||
| + | Please see the [[https:// | ||
| + | |||
| + | === Installation instructions for eMMC === | ||
| + | 0. Set boot switch to boot from SPI-NAND (assuming stock rom or immortalwrt running there) | ||
| + | |||
| + | 1. Write GPT partition table to eMMC | ||
| + | Move openwrt-mediatek-filogic-bananapi_bpi-r3-mini-emmc-gpt.bin to the device /tmp using scp and write it to / | ||
| + | dd if=/ | ||
| + | |||
| + | 2. Reboot (to reload partition table) | ||
| + | |||
| + | 3. Write bootloader and OpenWrt images | ||
| + | Move files to the device /tmp using scp: | ||
| + | openwrt-*-bananapi_bpi-r3-mini-emmc-preloader.bin | ||
| + | openwrt-*-bananapi_bpi-r3-mini-emmc-bl31-uboot.fip | ||
| + | openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb | ||
| + | openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb | ||
| + | Write them to the appropriate partitions: | ||
| + | echo 0 > / | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | sync | ||
| + | |||
| + | 4. Remove the device from power, set boot switch to eMMC and boot into OpenWrt. The device will come up with IP 192.168.1.1 and assume the | ||
| + | Ethernet port closer to the USB-C power connector as LAN port. | ||
| + | |||
| + | 5. If you like to have Ethernet support inside U-Boot (eg. to boot via TFTP) you also need to write the PHY firmware to / | ||
| + | echo 0 > / | ||
| + | dd if=/ | ||
| + | dd if=/ | ||
| + | |||
| + | === Installation instructions for NAND === | ||
| + | |||
| + | 0. Set boot switch to boot from eMMC (assuming OpenWrt is installed there by instructions above. Using stock rom or immortalwrt does NOT work!) | ||
| + | |||
| + | 1. Write things to NAND | ||
| + | Move files to the device /tmp using scp: | ||
| + | openwrt-*-bananapi_bpi-r3-mini-snand-preloader.bin | ||
| + | openwrt-*-bananapi_bpi-r3-mini-snand-bl31-uboot.fip | ||
| + | openwrt-*-bananapi_bpi-r3-mini-initramfs-recovery.itb | ||
| + | openwrt-*-bananapi_bpi-r3-mini-squashfs-sysupgrade.itb | ||
| + | Write them to the appropriate locations: | ||
| + | mtd write / | ||
| + | ubidetach -m 1 | ||
| + | ubiformat /dev/mtd1 | ||
| + | ubiattach -m 1 | ||
| + | volsize=$(wc -c < / | ||
| + | ubimkvol /dev/ubi0 -N fip -n 0 -s $volsize -t static | ||
| + | ubiupdatevol /dev/ubi0_0 / | ||
| + | cd / | ||
| + | cat EthMD32.dm.bin EthMD32.DSP.bin > / | ||
| + | ubimkvol /dev/ubi0 -N en8811h-firmware -n 1 -s 147456 -t static | ||
| + | ubiupdatevol /dev/ubi0_1 / | ||
| + | ubimkvol /dev/ubi0 -n 2 -N ubootenv -s 126976 | ||
| + | ubimkvol /dev/ubi0 -n 3 -N ubootenv2 -s 126976 | ||
| + | volsize=$(wc -c < / | ||
| + | ubimkvol /dev/ubi0 -n 4 -N recovery -s $volsize | ||
| + | ubiupdatevol /dev/ubi0_4 / | ||
| + | volsize=$(wc -c < / | ||
| + | ubimkvol /dev/ubi0 -n 5 -N fip -s $volsize | ||
| + | ubiupdatevol /dev/ubi0_5 / | ||
| + | |||
| + | 3. Remove the device from power, set boot switch to NAND, power up and boot into OpenWrt. | ||