The Baikal BFK Rev 1.6 de-payment came to our engineering laboratory on the basis of the first Russian processor for commercial development - SOM Baikal-T1 MIPS .
The dual-core processor "Baikal-T1" on the architecture of the MIPS Warrior P-class P5600 MIPS 32 was announced back in 2015 as part of the import substitution program, its developer is the Russian factory of Baikal Electronics. This on-chip system was created for designing industrial and consumer devices: routers and network drives, thin clients, multimedia centers, CNC systems, etc.
Open the box and see how the standard platform support package (BSP) works on the test board:
We connect the board and download the installation file bsp_baikal_mips_4_00_08.run from the developer’s site.
Debian 8.1 is used as the host system. Add packages to the host system:
$ sudo apt-get install parted kpartx libssl-dev
. , .run- BSP Baikal:
$ mkdir -p ~/baikal-bsp
$ cp <download dir>/bsp_baikal_mips_4_00_08.run ~/baikal-bsp/
$ cd ~/baikal-bsp/
$ chmod +x bsp_baikal_mips_4_00_08.run
$ ./bsp_baikal_mips_4_00_08.run
:
BSP, :
$ cd ~/baikal-bsp/baikal/usr/scripts
$ ./build-boot-img.sh bfk –a
:
:
. USB DFU.
PWR ON (SB2) :
$ cd ~/baikal-bsp
$ sudo baikal/bin/./dfu-util -D baikal/img/bfk-mips.rom -d abf0:1234 -a 0
:
:
openwrt rootfs .
openwrt ( Chaos Calmer 15.05)
$ cd ~/baikal-bsp
$ git clone git://git.openwrt.org/15.05/openwrt.git
Baikal BFK openwrt ( 0001-add-supporting-baikal-BFK-board.patch):
$ cd ~/baikal-bsp /openwrt
$ git checkout -b work
$ git am <download dir>/0001-add-supporting-baikal-BFK-board.patch
:
$ cd ~/baikal-bsp /openwrt
$ cp target/linux/baikal/baikal-bfk-defconfig .config
$ make defconfig
$ make -j4
:
:
$ cd ~/baikal-bsp
$ sudo baikal/bin/./dfu-util -D openwrt/build_dir/target-mipsel_mips32_uClibc-0.9.33.2/linux-baikal_bfk-1.x/bfk-mips.rom -d abf0:1234 -a 0
:
:
Ethernet (ETH 1G) — XS11, :
$ ifconfig eth0 up 10.54.4.250
$ iperf -c 10.54.4.61
:
, , (BSP) 4.4.24 ( ) U-Boot 2014.10 — openwrt, yokto, buildroot. .
«-T1»: 10GbE GbE, USB, SATA, PCIe, GPIO, UART, I2C, SPI.
- — microATX — 244244 . , , JTAG, EJTAG DFU.
, . .
Source: https://habr.com/ru/post/320840/
All Articles