Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:sinovoip:bananapi_bpi_r3_v1.0_v1.1 [2023/03/04 02:40] – tags, flash layout, fixes garlet | toh:sinovoip:bananapi_bpi_r3_v1.0_v1.1 [2024/02/12 11:13] – external edit | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | + | | |
| - | ---- | + | } --> |
| /* If no unsupported functions known, comment out the following datatable or delete it. | /* If no unsupported functions known, comment out the following datatable or delete it. | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | filter | + | |
| - | filter | + | |
| - | ---- */ | + | " |
| + | " | ||
| + | } --> | ||
| - | ===== Experimental Versions ===== | + | * Two 1G/2.5G capable SFP cages, one of them connected via the on-board MT7531 switch. |
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | + | * PCIe gen-3 x2 Key-M M2/NGFF socket |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | + | |
| - | + | ||
| - | //None at this time.// | + | |
| - | + | ||
| - | ===== Hardware Highlights ===== | + | |
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores, | + | |
| - | header | + | |
| - | align : c, | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| + | * mPCIe slot with SIM card slot and USB 2.0 wired (**no actual PCIe signals on the mPCIe socket!**) | ||
| ===== Installation ===== | ===== Installation ===== | ||
| /* stable release */ | /* stable release */ | ||
| - | /* uncomment once stable release is available | + | <!-- ToH: { |
| - | ---- datatable ---- | + | " |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | filter | + | } --> |
| - | ---- | + | |
| - | */ | + | |
| /* snapshot */ | /* snapshot */ | ||
| - | /* delete once stable release is available | + | /* delete once stable release is available |
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | ---- | + | } --> |
| + | */ | ||
| - | Tip: firmware-selector.openwrt.org can create a custom snapshot with packages like luci-ssl | + | Tip: [[https://firmware-selector.openwrt.org/? |
| - Unzip bananapi_bpi-r3-sdcard and write the image on a micro sd card using: | - Unzip bananapi_bpi-r3-sdcard and write the image on a micro sd card using: | ||
| Line 97: | Line 83: | ||
| # lsblk / | # lsblk / | ||
| ^ START ^ SIZE ^ FSTYPE ^ NAME ^ PARTLABEL ^ | ^ START ^ SIZE ^ FSTYPE ^ NAME ^ PARTLABEL ^ | ||
| - | | | 128.0 MiB | | NAND | | | ||
| - | | | 122.5 MiB | ubi | ├mtdblock0 | / | | ||
| - | | | 2.0 MiB | | ├mtdblock1 | uboot | | ||
| - | | | 3.0 MiB | | ├mtdblock2 | | | ||
| - | | | 0.5 MiB | | ├mtdblock3 | bl2 second stage bootoader | | ||
| | | 7.3 GiB | | mmcblk0 | | | 7.3 GiB | | mmcblk0 | ||
| | 34 | 4.0 MiB | | ├mmcblk0p128 | | | | 34 | 4.0 MiB | | ├mmcblk0p128 | | | ||
| Line 110: | Line 91: | ||
| | 131072 | 104.0 MiB | | ├mmcblk0p5 | production | | | 131072 | 104.0 MiB | | ├mmcblk0p5 | production | | ||
| | 141856 | 6.1 MiB | squashfs | ├mmcblk0p65 | /rom | | | 141856 | 6.1 MiB | squashfs | ├mmcblk0p65 | /rom | | ||
| - | | 154296 | 92.7 MiB | f2fs | + | | 154296 | 92.7 MiB | f2fs |
| + | | | 128.0 MiB | | NAND | | | ||
| + | | | 122.5 MiB | ubi | ├mtdblock0 | / | | ||
| + | | | 2.0 MiB | | ├mtdblock1 | uboot | | ||
| + | | | 3.0 MiB | | ├mtdblock2 | | | ||
| + | | | 0.5 MiB | | └mtdblock3 | bl2 second stage bootloader | | ||
| + | | | 32.0 MiB | | NOR | | | ||
| + | | | 20.0 MiB | | ├mtdblock0 | | | ||
| + | | 10816 | 5.6 MiB | squashfs | └mtdblock0p1 | | | ||
| + | | | 9.1 MiB | | ├mtdblock1 | | | ||
| + | | | 10.5 MiB | | ├mtdblock2 | | | ||
| + | | | 0.5 MiB | | ├mtdblock3 | | | ||
| + | | | 0.5 MiB | | ├mtdblock4 | | | ||
| + | | | 0.2 MiB | | ├mtdblock5 | | | ||
| + | | | 0.2 MiB | | └mtdblock6 | | | ||
| - | /* | ||
| - | f2fs info, including " | ||
| - | cat / | ||
| - | set eMMC partition 5 end at 512MB: | + | To create data partition and resize |
| - | | + | < |
| - | mount / | + | parted / |
| - | umount / | + | # say F to fix gpt global size |
| - | | + | reboot |
| + | |||
| + | mount / | ||
| + | # if resize.f2fs fails, a sysupgrade may fix | ||
| + | </ | ||
| + | Now boot on eMMC(0110) and check if it worked ! | ||
| - | create data partition: | ||
| - | | ||
| - | | ||
| - | */ | ||
| + | Get [[https:// | ||
| + | < | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| Line 165: | Line 161: | ||
| The default network configuration is: | The default network configuration is: | ||
| ^ Interface Name ^ Description | ^ Interface Name ^ Description | ||
| - | | br-lan | + | | br-lan |
| + | | br-wan | ||
| ==== Ports ==== | ==== Ports ==== | ||
| Line 193: | Line 189: | ||
| ==== Info ==== | ==== Info ==== | ||
| - | ---- datatemplatelist dttpllist ---- | + | <!-- ToH: { |
| - | template: meta:template_datatemplatelist | + | " |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| + | ^ Task ^ Power Consumption (Wh) ^ | ||
| + | | Idle | 4.0 | | ||
| + | | 2.4 Ghz | 0.2 .. 1.0 | | ||
| + | | 5.0 Ghz | 0.2 .. 1.0 | | ||
| + | | OpenSSL | 0.2 | | ||
| ==== Photos ==== | ==== Photos ==== | ||
| Line 227: | Line 230: | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect to the JTAG Port of this specific device:\\ | + | JTAG pins are exposed as part of the 26-pin GPIO pin header. As JTAG function is shared |
| - | **Insert photo of PCB with markings for JTAG port** | + | |
| + | Find OpenOCD scripts provided by MediaTek [[https:// | ||
| ===== Bootloader mods ===== | ===== Bootloader mods ===== | ||
| -> [[docs: | -> [[docs: | ||
| + | Boot process: | ||
| + | - Boot ROM (burned into MT7986A SoC, cannot be changed): loads first block of storage device, selected by bootstrap pins connected to switches on the R3 | ||
| + | - ARM Trusted Firmware BL2: starts and initializes the CPU and DRAM, then loads next stage | ||
| + | - ARM Trusted Firmware BL3: contains ARM Trusted Firmware run-time (BL31) and U-Boot (BL33) | ||
| + | - [[: | ||
| + | |||
| + | All parts of the boot process apart from the Boot ROM and the memory initialization function in ARM Trusted Firmware BL2 are provided in source and **are built from source** in the OpenWrt build system. | ||
| + | |||
| + | The U-Boot loader built from source with the OpenWrt image comes with a recovery/ | ||
| ===== Hardware mods ===== | ===== Hardware mods ===== | ||
| Line 536: | Line 549: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | {{tag> | + | [[meta: |
| + | {{tag> | ||