Initial Commit
- initial default booting image
This commit is contained in:
21
board/visionfive/genimage.cfg
Normal file
21
board/visionfive/genimage.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
# Minimal SD card image for the Starfive VisionFive board
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
# u-boot is hard coded to look at 3rd partition
|
||||
partition dummy1 {
|
||||
size = 512
|
||||
}
|
||||
|
||||
partition dummy2 {
|
||||
size = 512
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
bootable = "true"
|
||||
}
|
||||
}
|
||||
4
board/visionfive/overlay/boot/extlinux/extlinux.conf
Normal file
4
board/visionfive/overlay/boot/extlinux/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/jh7100-starfive-visionfive-v1.dtb
|
||||
append console=ttyS0,115200 root=/dev/mmcblk0p3
|
||||
15
board/visionfive/overlay/boot/uEnv.txt
Normal file
15
board/visionfive/overlay/boot/uEnv.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
fdt_high=0xffffffffffffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
|
||||
scriptaddr=0x88100000
|
||||
script_offset_f=0x1fff000
|
||||
script_size_f=0x1000
|
||||
|
||||
kernel_addr_r=0x84000000
|
||||
kernel_comp_addr_r=0x90000000
|
||||
kernel_comp_size=0x10000000
|
||||
|
||||
fdt_addr_r=0x88000000
|
||||
ramdisk_addr_r=0x88300000
|
||||
|
||||
bootcmd=devnum=0; run mmc_boot
|
||||
32
board/visionfive/readme.txt
Normal file
32
board/visionfive/readme.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
Starfive VisionFive
|
||||
===================
|
||||
|
||||
The VisionFive is a low-cost RISC-V 64-bit based platform, powered by a
|
||||
Starfive JH7100 processor.
|
||||
|
||||
https://doc-en.rvspace.org/Doc_Center/visionfive.html
|
||||
|
||||
How to build
|
||||
============
|
||||
|
||||
$ make visionfive_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
|
||||
|
||||
Preparing the board
|
||||
===================
|
||||
|
||||
Connect a TTL UART cable to pin 6 (GND), 8 (TX) and 10 (RX).
|
||||
|
||||
Insert your SD card.
|
||||
|
||||
Power-up the board using an USB-C cable.
|
||||
Reference in New Issue
Block a user