Jump to content

Lichee Pi zero


TonyMac32

Recommended Posts

2 hours ago, Kot said:

Hi!

 

I want to add R8723BS Wi-Fi support, so I have downloaded the latest Linux sources here and built it with default settings.

It looks like Wi-Fi is OK (LED is blinking), but there is no keyboard anymore - when I connect a USB keyboard, I have no message and I'm not able to enter any text.

HID support is enabled in menuconfig.

 

I suppose, I didn't enable neccessary options in menuconfig. Please help to find out the reason.

 

Many thanks for help!

With regards,

Maksim

For Wi-Fi support https://www.acmesystems.it/dlink_wifi

Link to comment
Share on other sites

Hey!

 

Can some one point me to explanation how I compile my own device tree for licheepi zero?

I use the licheepi zero board that has extra hardweare so I want to use 800x480 LCD and I need the eth0.

Still need to see how to add touchscreen driver. It uses FT5436 capacitive touch screen. If I fail with TS driver I'll write something on my own and use ATMega32U4 as a bridge between USB and I2C for TS.

LCD is working with their old images (like minmin). But I compiled newer kernel for this.

 

End goal is to check how it works in kiosk mode with touch screen.

Link to comment
Share on other sites

Hello everyone!

 

Well, I have been reading through the entire post and trying to learn and apply what I learned for the past few days. In fact, many of the replies by @TheLinuxBugand @guidolhad the answers and solutions I've been looking for. I had this Licheepi thing for over two months now and I struggled a lot to get Ethernet working. Let alone the space constrained PCB that made things very awkward for soldering/de-soldering even for a pin header, though I'm well trained and experienced in soldering/de-soldering fine pitch QFP128 chips. I didn't mind paying a few bucks more to get a PCB that is less constrained and compact like this one.

 

Well, I'm totally new to SBCs and Embedded Linux and I'm coming from another architecture, but I'm now getting more familiar with the build system and toolchain. I got this board because I needed it to control/interface with an ASIC that is fully supported since kernel 3.5. Of course, the communication is done over SPI bus and I have seen several implementations out there utilizing the Licheepi Zero Dock with the ASIC concerned.

 

For the first time ever, I was able to get Ethernet working. Thanks again for this great and helpful post. However, I still have a few questions regarding the adaptation of SPI bus, device trees and overlays support, GPIOs, interrupts, LCD, framebuffer, and adding support for FT5406 touch screen (the one attached to my LCD at the moment).

 

I tried the Debian image with LXDE available here: https://licheepizero.us/. It works fine with my LCD.

Another website I found for Licheepi pre-compiled images, but non of them worked for some reason:

https://sd-card-images.johang.se/boards/lichee_pi_zero.html

 

If someone can help, I would love to hear from you!

 

Thanks

 

 

 

 

 

Link to comment
Share on other sites

Hello all

 

Lately I have been spending some time trying to update Kernel and OS to my Lichee Zero Pi.

I reached to compile Kernel 5.20 and upgrade Debian from Jessie (8) (official image) to Buster (10), and stop there.

 

I've faced the same USB Keyboard problem, as mentioned before by @Kot, and solved by simply replacing the dtb file in the SD for the one compiled.

 

You can see a short guide how I compiled the Lichee Zero Pi Kernel here

 

Moving from Jessie to Buster was not really complicated but it needs a lot of time,

First I upgraded from Jessie (8) to Stretch (9) and Second from Stretch (9) to Buster (10)

My initial LicheeZero Pi image was: mindb_dd.tar.gz you can downloaded at the unofficial Lichee Zero Pi site.

MOVING FROM JESSIE TO STRETCH

I followed these steps to get Jessie Support using freexian: https://www.freexian.com/lts/extended/docs/how-to-use-extended-lts/

1. Manually installed freexian-archive-keyring package with:

 

wget --no-check-certificate https://deb.freexian.com/extended-lts/pool/main/f/freexian-archive-keyring/freexian-archive-keyring_2022.06.08_all.deb && sudo dpkg -i freexian-archive-keyring_2022.06.08_all.deb

 

2. Modify the sources list to the ones from freexian config file in this location: /etc/apt/sources.list or /etc/apt/sources.list.d/multistrap-debian.list
Comment all lines in the sources list file and add these other lines
 

deb [arch=armhf] http://deb.freexian.com/extended-lts jessie main contrib non-free
deb-src [arch=armhf] http://deb.freexian.com/extended-lts jessie main contrib non-free

 

3.  Installed sudo, correct host name and enable bash history

apt update
# Here, I was able to install sudo
apt install sudo
# Correct the host name adding LicheePi together to localhost: 127.0.0.1	LicheePi localhost
nano /etc/hosts 
# And enable bash history
touch ~/.bash_history

 

4. Modify again source list to add Stretch sources listed here: https://debiansupport.com/mirrors/  sources file /etc/apt/sources.list.d/multistrap-debian.list 

deb [arch=armhf] http://archive.debian.org/debian stretch main contrib non-free
deb-src [arch=armhf] http://archive.debian.org/debian stretch main contrib non-free

deb [arch=armhf] http://archive.debian.org/debian-security stretch/updates main contrib non-free
deb-src [arch=armhf] http://archive.debian.org/debian-security stretch/updates main contrib non-free

 

5. Now Update, Upgrade and dist-upgrade

sudo apt clean
sudo apt update
sudo apt upgrade -y
sudo apt dist-upgrade -y

 

MOVING FROM STRETCH TO BUSTER

Just follow again the steps 4 and 5, but replacing the sources list by the ones of Buster founded in the above link.

 

Hope this help somebody

Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines