Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Allwinner Nezha D1

The Nezha D1 is a RISC-V single-board computer based on the Allwinner D1 SoC, featuring the XuanTie C906 64-bit RISC-V core. It is one of the first affordable RISC-V Linux SBCs.

Key Features

  • Allwinner D1 SoC with XuanTie C906 RISC-V core at 1 GHz
  • 1 GB DDR3 RAM
  • HDMI output
  • Gigabit Ethernet
  • USB 2.0 Host and OTG
  • GPIO header (compatible with Raspberry Pi HATs)
  • MicroSD card slot
  • WiFi/BT module (optional)

Building/installing an image

  1. git clone https://github.com/YoeDistro/yoe-distro.git
  2. cd yoe-distro
  3. . ./envsetup.sh nezha-d1
  4. yoe_setup
  5. bitbake yoe-simple-image
  6. Insert SD card
  7. lsblk (note SD card device, and substitute for /dev/sdX below)
  8. yoe_install_image /dev/sdX yoe-simple-image
  9. sudo eject /dev/sdX
  10. Install SD card in the Nezha and apply power

Serial Console

The debug UART is available on the GPIO header. Connect a 3.3V USB-to-serial adapter:

  • GND to GND
  • TX to RX
  • RX to TX

Serial settings: 115200 baud, 8N1.

References