# VSOS3 Boot Configuration File

[0]
# Default configuration, no buttons pressed during boot.
# This configuration runs the VSOS Shell automatically
#
# Make broken memory unavailable to the system.
BadBit
Driver +BADBIT
BadBit
Driver -BADBIT
# Turn clock up
SetClock -l130 98
Driver +CATSEYES +l +r
# 2-way buffered UART0 driver
Driver +uartin
CatSEyes -l +r
# Set UART1,2 speeds
PReg UARTRV_DIV=0xff14
PReg UARTMUX_DIV=0xff14
CatsEyes +l +r
# Load driver RVParam that you can use to set RISC-V parameters.
Driver +rvparam
# Add -w to RvParam if you want the boot loader to wait for user input
RvParam -mba:67:11:fd:5f:fa
# Load Linux and its accompanying parts to DDR for RISC-V
ddrload +v -brvlbne.bin -B -bcatboard.dtb linux61.vri
CatsEyes +l -r
# Start Ethernet audio input driver, connect to stdaudioin (s)
Driver +AUIEth s
# Start DAC audio playback driver, connect to stdaudioout (s)
Driver +AUODac s
# Set up volume for DAC
AuOutput -l-12
CatsEyes +l +r
# Start stdaudioin to stdaudioout audio copier driver, make it non-verbose (q)
#Driver +AUXPlayB q
# Blink cat's eyes for the last time, by this time Linux has already started
# on the Risc-V side so we are in no hurry.
CatsEyes
Driver -CATSEYES
# Run Terminal program to access Risc-V
#@Echo *** PUSH F4 TO EXIT TERMINAL PROGRAM AND ENTER VSOS SHELL! ***
#Term -a
# Start the user shell. ! = don't expect to return so there is more free memory
Type +v Welcome.txt
!Shell
