Le potato com 3.5inch RPi Display

I’m trying to use the 3.5inch RPi Display with the Le Potato AML-S905X-CC but during installation it comes with the following error
grep: /boot/cmdline.txt: No such file or directory
cp: unable to get status of ‘/boot/cmdline.txt’: Non-existing file or directory
(Reading database… 121100 files and directories currently installed. )
Removing xserver-xorg-input-evdev (1:2.10.6-2)…
Processing triggers for man-db (2.9.4-2)…
Reached:1 Index of /debian bullseye InRelease
Reached:2 Index of /debian bullseye-updates InRelease
Reached:3 Index of /debian-security bullseye-security InReleas and
Reached:4 Index of /debian bullseye InRelease
Reached:5 Index of /repo/ linux InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree… Done
Reading status information… Done
cmake is already the newest version (3.18.4-2+rpt1+rpi1+deb11u1).
The following packages were automatically installed and are no longer needed:
flashrom freeglut3 liba52-0.7.4 libaom0 libaribb24-0 libass9 libavresample4
libavutil56 libbasicusageenvironment1 libboost-program-options1.74.0
libbs2b0 libcddb2 libcodec2-0.9 libdav1d4 libdc1394-25 libdca0 libde265-0
libdvbpsi10 libdvdnav4 libfaad2 libfftw3-double3 libflite1 libftdi1-2
libglu1-mesa libgme0 libgroupsock8 libgsm1 libgssdp-1.2-0
libgstreamer-plugins-bad1.0-0 libgupnp-1.2-0 libgupnp-igd-1.0-4 libilmbase25
libixml10 libkate1 liblilv-0-0 liblirc-client0 liblivemedia77 libltc11
liblua5.2-0 libmjpegutils-2.1-0 libmms0 libmodplug1 libmpcdec6 libmpeg2-4
libmpeg2encpp-2.1-0 libmplex2-2.1-0 libmysofa1 libnice10 libofa0
libopenexr25 libopenmpt-modplug1 libopenmpt0 libopenni2-0 libplacebo72
libpocketsphinx3 libpostproc55 libprotobuf-lite23 libproxy-tools libpulsedsp
libqt5designer5 libqt5help5 libqt5test5 libqt5x11extras5 librabbitmq4
libresid-builder0c2a librtimulib-dev librtimulib-utils librtimulib7
librubberband2 libsbc1 libserd-0-0 libshine3 libsidplay2 libsnappy1v5
libsord-0-0 libsoundtouch1 libsoxr0 libspandsp2 libspatialaudio0
libspeexdsp1 libsphinxbase3 libsratom-0-0 libsrt1.4-gnutls libsrtp2-1
libssh-gcrypt-4 libswresample3 libswscale5 libturbojpeg0 libupnp13
libusageenvironment3 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1
libvidstab1.1 libvlc-bin libvlc5 libvlccore9 libvncclient1 libvo-aacenc0
libvo-amrwbenc0 libwebrtc-audio-processing1 libwildmidi2 libx264-160
libx265-192 libxcb-composite0 libxcb-xv0 libxvidcore4 libzbar0
libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers
ocl-icd-libopencl1 pocketsphinx-en-us pulseaudio-utils python3-kms++
python3-opengl python3-pidng python3-piexif python3-prctl python3-pyqt5
python3-pyqt5.sip python3-rtimulib python3-sense-hat python3-simplejpeg
python3-v4l2 rtkit va-driver-all vdpau-driver-all vlc-bin vlc-data vlc-l10n
vlc-plugin-access-extra vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba
vlc-plugin-skins2 vlc-plugin-video-splitter vlc-plugin-visualization
Use ‘sudo apt autoremove’ to remove them.
0 packages updated, 0 new packages installed, 0 to be removed and 160 not updated.

Cloning into ‘rpi-fbcp’…
remote: Enumerating objects: 61, done.
remote: Total 61 (delta 0), reused 0 (delta 0), pack-reused 61
Receiving objects: 100% (61/61), 18.26 KiB | 1.52 MiB/s, done.
Resolving deltas: 100% (20/20), done.
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as


near the top of the file, but after cmake_minimum_required().

CMake is intending there is a “project(Project)” command on the first
This warning is for project developers. Use -Wno-dev to suppress it.

– The C compiler identification is GNU 10.2.1
– The CXX compiler identification is GNU 10.2.1
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compilation features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Configuring done
– Generating done
– Build files have been written to: /home/wings/LCD-show/rpi-fbcp/build
Scanning dependencies of target fbcp
[50%] Building C object CMakeFiles/fbcp.dir/main.c.o
/home/wings/LCD-show/rpi-fbcp/main.c:9:10: fatal error: bcm_hos

Don’t use garbage instructions written for Raspberry Pi. They barely work on Raspberry Pis. AML-S905X-CC (Le Potato) 480x320 ILI9486 3.5" SPI Touchscreen Display