Unfortunately my RISC-V Lichee Console 4A stopped booting properly.
I asked Sipeed if it is possible to boot from micro SD or USB, but they told me it currently isn't supported.
So I decided to write a fresh image to the eMMC.
Here you can find the link to the image: https://wiki.sipeed.com/hardware/en/l...
The procedure is described here: https://wiki.sipeed.com/hardware/en/l...
In short, remove the panel for the SSD to access the Boot button (the white button closest to the hinge). Keep it pressed and press the power button on the keyboard to get it into the proper mode.
Once you see the backlight of the LCD, you can release the buttons.
Connect the Lichee Console with the USB-C port to a host computer, where you have downloaded the U-Boot file and image files (boot and root).
You can install fastboot on Linux with: sudo apt install fastboot
Execute all the commands with sudo, or add your user to the proper group.
Otherwise you might get stopped with the message: waiting for device.
sudo fastboot flash ram u-boot-with-spl-console.bin
sudo fastboot reboot
sudo fastboot flash uboot u-boot-with-spl-console.bin
cd squashfs-root (only if the files are in this sub-directory)
sudo fastboot flash boot boot.ext4
sudo fastboot flash root root.ext4
Writing the root partition will take several minutes, and at first you might think nothing is happening, but keep it running for several minutes.
Once you are done, you can press the reset button, disconnect the Lichee Console from the host computer and boot.
With the image of 20231227 I noticed that the desktop environment is still in portrait mode. You can change the display to landscape (rotate right) in the Settings.
To rotate the touch panel, you can create a shell script (don't forget to set the executable flag (run as program)) and add it to the startup of Xfce.
Update: Sipeed told me you can execute /opt/touch-setup.sh to rotate the screen.
xinput set-prop "pointer:Goodix Capacitive TouchScreen" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
You can add the battery indicator in the Settings for Power.
00:00 Intro
00:47 Find the Image Files
01:53 Writing the Image
04:45 Changing the Display to Landscape
06:13 Changing the Touch Screen to Landscape
08:55 Adding the Battery Indicator
If this video was helpful, please like, comment and subscribe!
Bluesky: https://bsky.app/profile/livinglinux....
#riscv #sipeed #licheepi