xref: /OK3568_Linux_fs/buildroot/board/nezha/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAllwinner Nezha
2*4882a593Smuzhiyun===============
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunNezha is is a low-cost RISC-V 64-bit based platform, powered by an
5*4882a593SmuzhiyunAllwinner D1 SoC.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunHow to build
8*4882a593Smuzhiyun============
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun$ make nezha_defconfig
11*4882a593Smuzhiyun$ make
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunHow to write the SD card
14*4882a593Smuzhiyun========================
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunOnce the build process is finished you will have an image called "sdcard.img"
17*4882a593Smuzhiyunin the output/images/ directory.
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunCopy the bootable "sdcard.img" onto an SD card with "dd":
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  $ sudo dd if=output/images/sdcard.img of=/dev/sdX
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunConnect a TTL UART to the debug connector, insert the microSD card and
24*4882a593Smuzhiyunplug in a USB-C cable to the PWR connector to boot the system.
25