Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

19
board/nezha/genimage.cfg Normal file
View File

@@ -0,0 +1,19 @@
# Minimal SD card image for the Allwinner Nezha
image sdcard.img {
hdimage {
}
partition u-boot {
in-partition-table = false
image = "u-boot-sunxi-with-spl.bin"
offset = 8K
}
partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
bootable = "true"
offset = 1M
}
}

View File

@@ -0,0 +1,2 @@
CONFIG_USB_GADGET=y
CONFIG_USB_MUSB_DUAL_ROLE=y

View File

@@ -0,0 +1,4 @@
label linux
kernel /boot/Image
# use devicetree from u-boot
append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait

View File

@@ -0,0 +1 @@
../linux/linux.hash

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 23e3e7b56407250f5411bdab95763d0bc4e3a19dfa431d951df7eacabd61a2f4 linux-6.6.22.tar.xz

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1 opensbi-1.4.tar.gz

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 36db7c20b179f03aa29009565c6b34380d5629fd5c57ed110244594d9930dfed uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz

24
board/nezha/readme.txt Normal file
View File

@@ -0,0 +1,24 @@
Allwinner Nezha
===============
Nezha is is a low-cost RISC-V 64-bit based platform, powered by an
Allwinner D1 SoC.
How to build
============
$ make nezha_defconfig
$ make
How to write the SD card
========================
Once the build process is finished you will have an image called "sdcard.img"
in the output/images/ directory.
Copy the bootable "sdcard.img" onto an SD card with "dd":
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
Connect a TTL UART to the debug connector, insert the microSD card and
plug in a USB-C cable to the PWR connector to boot the system.