LXDE (Lightweight X11 Desktop Environment) is a desktop environment which is lightweightand fast and uses less RAM and less CPU while being a feature rich desktop environment.
If you want a richer desktop environment (but slower) you can installUbuntu MATE on top of this Image and later de-install LXDE.
I use LXDE just because it is very fast, snappy and responsive!You can always improve, tweak and tune the way you want at any time.This is a very LEAN and MEAN OS image to play and learn how to extend it.
Different than other Raspberry Pi boards, the compute module has built-in 4GB eMMC, so you can directly install the OS on it. Yes, no more SD or TF card, yeah. 给Banana Pi M3 换 64G eMMC! (附对比测试) 阅读15191. Advance Format 是用4096字节代替以前磁盘以512字节为1块的,如果操作系统能使用4k块读写,将会有最佳性能,如果操作系统只能识别512字节,使用4k块硬盘,需要用4k模拟512字节,将会产生很多不必要的写操作。.
This is a preliminary LXDE OS image for the Banana Pi M64 with fully working
- Latest kernel 3.10.105 built with gcc 6.3
- eMMC
- Wifi
- BT (bluetooth)
- OV5640 (camera with AF)
- HDMI 1080P / HDMI 720P
- HDMI digital
- GbE (Gigabit ethernet)
- LEDs (Blue and Green)
- Support for HW decoding/encoding (cedrus H264) - https://github.com/avafinger/cedrusH264_vdpau_A64
- LCD 7' with Touch Screen (LCD Tested and works, Touch needs to be verified)
- LCD 5' (Experimental)
Note
- Don't power the board with microUSB or a PSU with less than 2.5V, Wifi+HDMI+LCD+eMMC draws a lot of power
Things you should do after flashing the OS Image
Run in Shell:
Before you start downloading and flashing you should pay attention to this
- Read through all this document to understand the commands and the whole process,It may looks challenging but it is not.
- We need a linux box to flash the Image into SD CARD, i use LUbuntu 12.04 but could be any distro.
- Grab a good SD CARD (*), 80% of the issues you may have is due to counterfeit or bad sd card brand.
- SD/HC Card reader can also be a source of problems writing to a good SD CARD.(*) If you can be sure your SD card is fine and you still have problems, try using another SDHC card reader
- We need 8GB SD CARD, the OS Image fits in a 4GB but need more space as you will see.
- Get a good PSU with at least 2.5A (be on the safe side).
- Make sure you have HDMI (don't use HDMI to DVI if you can).
- Make sure HDMI is connected to the board very tight or you may experience some flickering or the image will not appear.
- Initial setup is for HDMI 1920x1080 (1080p@60), if you need support for the 7' LCD change a64-2GB.dtb with the correspondig a64-2GB_LCD7-v4.dtb
5' LCD support (Experimental)
Added driver and DTB for the 5' LCD
Note: [USER] is current login user on modern distro, change [USER] accordingly if needed.
- Assembly the kernel modules
- Check if MD5 match this
- Copy kernel Image and modules (make backup of current kernel Image and modules)
3.1 Make backup.... Image and /lib/modules/
3.2 Update
- U-Boot with 5' LCD
- Update DTB with a64-2GB_LCD5.dtb
7' LCD support
LCD Panel (tested by someone else)
- After you create the SD Card with the OS image overwrite a64-2GB.dtb with a64-2GB_LCD7-v4.dtb
for the Touch, see instructions below.
Installation
This is a non orthodox way of flashing the image onto SD card and eMMC.We will do the following steps:
- Download firmware with git clone
- Format SD card, and Decomress kernel
- Boot from SD card to detect the eMMC
- Format eMMC and unzip kernel
There will be no need for requesting unused space on SD card or eMMC, we don't use '.img' file.
Requirements
- Install git and md5sum on your host PC
Manual installation (using git)
- Download the files entirely with gita. In shell type (host PC):b. Rebuild boot and rootfs and check MD5 (must match)c. Insert a new SD card (get a good one, 8 GB or > )d. Find your SD carde. Start flashing... (Warning, make sure you get the correct device or you may WIPE your HDD)Now you have SD card with kernel in it, you can now boot up bpi-m64 with this SD card and it will detect the eMMC:
- Flashing eMMC (the git way) after you boot with SD carda. In shell type (host PC):b. Flash the OS Image to eMMCStart flashing... (eMMC)If everything is OK you can now shutdown and boot up without the SD card.
7' LCD with Touch Screen support (Needs to be verified)
This is the instructions to work with touch on the LCD 7' (S070WV20_MIPI_RGB).The file a64-2GB_LCD7-v4.dtb - DTB (Device Tree Blob) has supportfor LCD and Touch Screen.
a. Add FT5X_TS touch manually to /etc/modules
see if all modules has been loaded:
b. Add TSLIB support or evdev Support
In order to X11 accepts touch screen you will need TSLIB support or EVDEV support.
You can follow this for TSLIB: https://github.com/avafinger/pine64-touchscreen
Change/Add the file xorg.conf for something like this:
or use evdev
Initial setup
- DHCP is activated by default
- Eth0 is not managed, if you connect using Wifi and later wish to get backto DHCP you must issue a ifdown and ifup command to renew DHCP.
- Output mode is HDMI 1080p@60 , to change it to 720p you need to generate a new DTBand set it to 720p or any other HDMI mode inside the DTB.
mini FAQ (Ubuntu Xenial 16.04)
- How to update the distroa. Use command line:
- How to change keyboard layouta. Use command line:
- How to change timezonea. type in command line:
- How to change languageInstall your language package and generate new locale.
- How to play MP4 videos ( MPEG1, MPEG2, MPEG4 )Follow libvdpau-sunxi and install LIBVDPAU and instal mpv
- How to install Ubuntu MATE
- How to change HostnameSuppose you want to change the hostname to 'myhostname':a. edit the file /etc/hostname and change the contents to: myhostnameb. edit the file /etc/hosts and change or add the contentsc. sync and reboot
- How to play with the Leds (led1=Blue and led2=Green)a. LEDs Blue and Green are accessible in /sys/class/leds/b. To disable or change the LED activityc. To enabled. To trigger heartbeat again
- HDMI Digital sound output or Headphone JACK Analog stereo sound outputa. Edit the file as below for JACK sound outputWrite:b. Copy the file a64-2GB.dtb_analog_sound_output to /media/ubuntu/boot/a64/ a64-2GB.dtbc. Edit the file /etc/modules and addrebootInstall alsa-tools and alsa-base:Check the sound cards:d. Better audiocodec support
- Install alsa-base and run alsamixer and unmute audiocodec (JACK)
- For some weird thing alsa-utils breaks audiocodec, if you have problems with alsactl,try to remove /etc/asound.conf (item a.) and revise alsamixer settings
- In my experiments, i had to purge alsa-tools alsa-utils and restart installing againg the alsatype: sudo apt-get purge alsa-tools alsa-utils alsa-baserebootre-install sudo apt-get install alsa-tools alsa-utils alsa-base and run alsamixer to unmute JACK.
Troublehooting
- Nothing on my LCD/Monitor TV displaya. Make sure the HDMI conector is well connected to the boardb. Make sure your LCD/Monitor TV is 1080P capable, the board will boot in HDMI 1080P mode onlyc. Don't use DVI to HDMId. Press HDMI connector with your finger after boot and see you images pops up on screen
- Moving windows on screen is slowInstall Metacity over OpenBox
- Camera is not workinga. Make sure you connect the sensorb. The camera connector at the board side is really horrible, you need to make sure the FPC cable touch the contacts (They should change it on next board revision)c. **Make sure you have the correct DTB (Device Tree Blob) with camera enabled, please note the a64-2GB.dtb_leds has camera disbled to allow full Leds control
- Board does not boota. Watch for some signs during normal bootb. If you don't see any of this signs during boot, you most likely have run into the followingc. Check for SD card integrityd. DO NOT Power the board with microUSB, use the DCIN (power barrel)
Have i missed something or you found wrong or improper information/language grammar or spelling?
*** WIP ***
- initial commit (readme file)
- Add support for LCD 7' and Touch
- Alternative LCD7 pwm
- Touch Enabled
- Add support for 5'