|
@@ -62,46 +62,10 @@ Copy files fw_payload.bin.out and image.fit to tftp installation path to use
|
|
|
freelight-u-sdk/work/image.fit
|
|
|
freelight-u-sdk/work/opensbi/platform/starfive/vic7100/firmware/fw_payload.bin.out
|
|
|
|
|
|
-## SDCard Image ##
|
|
|
-
|
|
|
-If you don't already use a local tftp server, then you probably want to make
|
|
|
-the sdcard target; the default size is 16 GBs. NOTE THIS WILL DESTROY ALL
|
|
|
-EXISTING DATA on the target sdcard; make sure you know the correct disk,
|
|
|
-eg, with the lsblk command::
|
|
|
-
|
|
|
- $ lsblk
|
|
|
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
|
|
|
- sda 8:0 0 465.8G 0 disk
|
|
|
- ├─sda1 8:1 0 2M 0 part
|
|
|
- ├─sda2 8:2 0 128M 0 part
|
|
|
- ├─sda3 8:3 0 1000M 0 part [SWAP]
|
|
|
- └─sda4 8:4 0 464.7G 0 part /
|
|
|
- sr0 11:0 1 1024M 0 rom
|
|
|
- mmcblk0 179:0 0 3.6G 0 disk
|
|
|
- ├─mmcblk0p1 179:1 0 130M 0 part
|
|
|
- ├─mmcblk0p2 179:2 0 1M 0 part
|
|
|
- └─mmcblk0p3 179:3 0 3.5G 0 part
|
|
|
-
|
|
|
-you would use the `/dev/mmcblk0` (whole disk) target. Note the build output
|
|
|
-above is only a small initramfs, so the rootfs partition on the card is not
|
|
|
-formatted yet. You will need an sdcard at least 1G (or larger if you want
|
|
|
-to add a full rootfs). Make sure the sdcard is inserted and you have the
|
|
|
-correct device before you run the `make` command below. Then run something
|
|
|
-like:
|
|
|
-
|
|
|
- $ make DISK_IMAGE_SIZE=4 DISK=/dev/mmcblk0 format-nvdla-disk
|
|
|
-
|
|
|
-to generate a 4 GB sdcard. Currently you need to boot it manually from the
|
|
|
-u-boot prompt:
|
|
|
-
|
|
|
- BeagleV # fatload mmc 0 ${ramdisk_addr_r} hifiveu.fit
|
|
|
- (wait for loading)
|
|
|
- BeagleV # bootm ${ramdisk_addr_r}
|
|
|
-
|
|
|
-
|
|
|
-## Running on BeagleV ##
|
|
|
-
|
|
|
-After the BeagleV™ is properly connected to the serial port cable, network cable and power cord turn on the power from the wall power socket to power on the BeagleV™ and you will see the startup information as follows:
|
|
|
+
|
|
|
+## Running on Starlight Board ##
|
|
|
+
|
|
|
+After the Starlight is properly connected to the serial port cable, network cable and power cord turn on the power from the wall power socket to power on the Starlight and you will see the startup information as follows:
|
|
|
|
|
|
bootloader version: 210209-4547a8d
|
|
|
ddr 0x00000000, 1M test
|