NewsCrawler.org

Hello Baochip: first hands-on with the Baochip-1x RISC-V chip board

Photo of the Dabao evaluation board
Photo of Baochip itself on the board
Image: ratfactor.com

The author describes Baochip, the latest open and trustable hardware project by Andrew "bunnie" Huang. The Baochip-1x is a SoC[1] (system on chip) with a RISC-V[2] core, a memory management unit for virtual memory, an I/O coprocessor called BIO, and hardware support for security features such as a true random number generator, AES encryption and many cryptographic hashes. The chip is built to be inspected with inexpensive infrared cameras, so its structure can be checked visually. It was made to run Xous, a microkernel[3] operating system written in Rust.

The author received the Dabao evaluation board with the Baochip-1x from Crowd Supply and connected it to a Linux PC, where it appeared as a serial device. Using GNU screen, the author reached the boot1 command line, which accepts commands such as echo. The self_destruct command permanently wipes and bricks the chip, but only if the exact phrase "void_my_warrantee" is given.

The author plans to program the board by holding its PROG button while connecting the USB-C cable, then dragging UF2[4] files onto the mass storage device that appears. UF2 packages program images into 512-byte blocks so they can be written to memory through a virtual file system. The author's next step is learning enough Rust to blink an LED, and says there is no hurry.

Read the original ratfactor.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page