Initial Commit
- initial default booting image
This commit is contained in:
19
board/nezha/genimage.cfg
Normal file
19
board/nezha/genimage.cfg
Normal 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
|
||||
}
|
||||
}
|
||||
2
board/nezha/linux.fragment
Normal file
2
board/nezha/linux.fragment
Normal file
@@ -0,0 +1,2 @@
|
||||
CONFIG_USB_GADGET=y
|
||||
CONFIG_USB_MUSB_DUAL_ROLE=y
|
||||
4
board/nezha/overlay/boot/extlinux/extlinux.conf
Normal file
4
board/nezha/overlay/boot/extlinux/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label linux
|
||||
kernel /boot/Image
|
||||
# use devicetree from u-boot
|
||||
append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait
|
||||
1
board/nezha/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/nezha/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/nezha/patches/linux/linux.hash
Normal file
2
board/nezha/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 23e3e7b56407250f5411bdab95763d0bc4e3a19dfa431d951df7eacabd61a2f4 linux-6.6.22.tar.xz
|
||||
2
board/nezha/patches/opensbi/opensbi.hash
Normal file
2
board/nezha/patches/opensbi/opensbi.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 319b62a4186fbce9b81a0c5f0ec9f003a10c808397a72138bc9745d9b87b1eb1 opensbi-1.4.tar.gz
|
||||
2
board/nezha/patches/uboot/uboot.hash
Normal file
2
board/nezha/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 36db7c20b179f03aa29009565c6b34380d5629fd5c57ed110244594d9930dfed uboot-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz
|
||||
24
board/nezha/readme.txt
Normal file
24
board/nezha/readme.txt
Normal 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.
|
||||
Reference in New Issue
Block a user