Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions raspberrypi/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ sudo cp sharp.dtbo /boot/overlays
echo -e "framebuffer_width=400\nframebuffer_height=240\ndtoverlay=sharp" | sudo tee -a /boot/config.txt
sudo sed -i ' 1 s/.*/& fbcon=map:10 fbcon=font:VGA8x16/' /boot/cmdline.txt || { echo "Error: Failed to modify cmdline.txt."; exit 1; }

echo "Setting terminal to monochrome..."
echo 'export TERM=xterm-mono' >> ~/.profile || { echo "Error: Failed to set TERM to xterm-mono"; exit 1; }

echo "Compiling and installing keyboard device driver..."
cd ~/
git clone https://github.com/sqfmi/bbqX0kbd_driver.git || { echo "Error: Failed to clone keyboard driver repository."; exit 1; }
Expand Down