0

PiTFT 3.5 on Ubuntu, Only a Blank Screen
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Scroll_Tro0L on Wed Dec 23, 2015 11:48 am

Ello!

I've been stumped on this one for a bit. I'm trying to get the console to show up on the PiTFT with Ubuntu 14.04. I've gone through the steps with the PiTFT helper twice with no joy. I've also tried Raspbian on it to ensure that the screen works and it does. Currently, the screen stays white once powered and stays white. Do I need to build the Kernel myself for it to work?

This is the source of the image I'm using: https://wiki.ubuntu.com/ARM/RaspberryPi

Thanks in advance!

Scroll_Tro0L
 
Posts: 4
Joined: Wed Dec 23, 2015 11:08 am

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by adafruit2 on Thu Dec 24, 2015 1:54 pm

the kernel should still work, a kernel is a kernel no matter what distro...that said there's probably configuration stuff you have to deal with. i dont know anybody who's gotten ubuntu to work and 99% of Pi users are on raspbian :/

adafruit2
Site Admin
 
Posts: 19908
Joined: Fri Mar 11, 2005 7:36 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Scroll_Tro0L on Thu Dec 24, 2015 5:07 pm

Gotcha, I followed this guide: http://uncle-muddy.me.uk/adafruit-pitft-2-8-on-ubuntu/

Does anything in here stand out as being outdated or different for the 3.5 aside from "-t 35r", do you see anything there that I would need to do differently?

Scroll_Tro0L
 
Posts: 4
Joined: Wed Dec 23, 2015 11:08 am

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Nick_Ros on Fri Feb 26, 2016 1:11 pm

Hey guys,

I am working as well on Ubuntu 14.04 LTS (Trusty Tahr) on Raspberry Pi 2, model B (with 1Gb RAM), because I use ROS (Robot Operating System) and I cannot install it on Raspbian.
Just for reference, I installed Ubuntu 14.04. from here: https://wiki.ubuntu.com/ARM/RaspberryPi, and ROS Indigo (ARM version) on it from here: http://wiki.ros.org/indigo/Installation/UbuntuARM.
All installs completed successfully.

But now I've got the problem: my project, autonomous robot car Neurobot (educational kit for children to learn Linux & ROS coding), should work with your TFT display 3.5" (https://www.adafruit.com/products/2441, this is the best screen for Raspberry Pi I know to date, by the way!), and you have no support for this screen for Ubuntu 14.04., only for Raspbian, which completely does not work for me.

Can you help me to connect Ubuntu 14.04. with your TFT 3,5"?
It is critically important for all the community, because Robot Operating System can be installed only on 14.04., and ROS is the most exciting thing ever to use on Raspberry Pi - even NASA Robonaut 2 is running ROS on ISS space station! Please see how many robots are using ROS: http://wiki.ros.org/Robots

If you will not help me, my startup company will suffer very much without the screen for my project, please provide us all the instructions how to install your great screen, or *.img image of Ubuntu 14.04. LTS with installed drivers.

Thank you very much in advance, guys, you're doing the great job all these years!
Nick Ros
Attachments
20160228-IMG_1288-for WEB.jpg
20160228-IMG_1288-for WEB.jpg (301.59 KiB) Viewed 1660 times
Last edited by Nick_Ros on Sun Feb 28, 2016 5:39 pm, edited 1 time in total.

Nick_Ros
 
Posts: 6
Joined: Fri Feb 26, 2016 12:39 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Sat Feb 27, 2016 6:57 pm

Nick_Ros wrote:Can you help me to connect Ubuntu 14.04. with your TFT 3,5"?


Can you post the kernel config that you are using on Ubuntu 14.04? It should be in /boot. Also please paste the output of:
uname -a

You'll need fbtft kernel module:
https://github.com/notro/fbtft/wiki

If it is not already included, then you'll need to recompile the kernel with that module enabled. Ubuntu should have a kernel sources package. Check out their guide: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Nick_Ros on Sat Feb 27, 2016 8:19 pm

Drew,

Thank you for quick reply.
I use kernel 3.18.0-25-rpi2
I attached the kernel config from /boot as a .txt file to this post.
Also attached config.txt from /boot, which seems like a TFT screen config.
The answer for uname -a is the following:
Linux ubuntu 3.18.0-25-rpi2 #26-Ubuntu SMP PREEMPT Sun Jul 5 06:46:34 UTC 2015 armv7l armv7l armv7l GNU/Linux

Drew, thank you for the links, but they do not seem to be easily implemented by people like me, who runs Linux as a user, not as a kernel programmer.
Can you please provide step-by-step instructions how to do it, or just make it yourself and give us all the *img file, which we can flush to Raspberry Pi microSD card, please? We need a lesson like you have on your website for 3.5" TFT, called "easy install", with high quality line-by-line tutorial how to make it.

Thanks in advance,
Nick
Attachments
config.txt
(1.28 KiB) Downloaded 96 times
config-3.18.0-25-rpi2.txt
(116.9 KiB) Downloaded 83 times

Nick_Ros
 
Posts: 6
Joined: Fri Feb 26, 2016 12:39 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Scroll_Tro0L on Sun Feb 28, 2016 2:24 am

"but they do not seem to be easily implemented by people like me, who runs Linux as a user, not as a kernel programmer."
"Can you please provide step-by-step instructions how to do it"

I'm in the same boat! Thank you for saying what I should have said months ago.

Scroll_Tro0L
 
Posts: 4
Joined: Wed Dec 23, 2015 11:08 am

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Mon Feb 29, 2016 3:03 pm

I will give it a try to compile fbtft for that version of Ubuntu.

For reference, here's instruction I wrote about compiling fbtft. It is for BeagleBone Black but covers similar steps in the kernel config:
BeagleBone Black: build fbtft drivers for latest Linux 3.8 kernel

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Nick_Ros on Mon Feb 29, 2016 8:41 pm

Dear Drew,

Thank you, we will be waiting for your *.img file to download.
Your link is exactly what I was talking about - it is real rocket science :))) even the thermodynamics of rocket engines, I would say :)))
I can try to complete the steps, and will tell you the result.

If you will make it, we will all really appreciate this.
By the way, this is what I need it for: http://www.thingiverse.com/thing:1378603

Thanks again,
Nick

Nick_Ros
 
Posts: 6
Joined: Fri Feb 26, 2016 12:39 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Fri Mar 04, 2016 11:04 am

I compile the kernel and now just need to compile the fbtft kernel modules. I should be able to do that tonight.

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Scroll_Tro0L on Fri Mar 04, 2016 4:38 pm

Thank you very much Drew!

Also, would you consider compiling a guide similar to the one you did for BeagleBone later?

Scroll_Tro0L
 
Posts: 4
Joined: Wed Dec 23, 2015 11:08 am

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Sun Mar 06, 2016 9:01 pm

Yeah, I'll post all the steps. I have run into a snag though. The automated tool to build the installed kernel is oddly building 3.13, not 3.18. I have just emailed the creator of the Ubuntu RPi2 port, Ryan Finnie. I'll update once I hear back from him.

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by Nick_Ros on Sun Mar 06, 2016 11:47 pm

Drew,

Thank you for your support! We will await your kernel compilation.
Can you imagine if you know how to do it and face the snags - how we, who have no idea how to make it - would succeed with this? :)
Anyway, thank you for your time spent, and we all appreciate your efforts!

Nick

Nick_Ros
 
Posts: 6
Joined: Fri Feb 26, 2016 12:39 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Mon Mar 07, 2016 1:51 pm

I've not been able to get in touch with Ryan Finnie who created that unofficial Ubuntu 14.04 image for RPi2.

However, I've gotten advice from Oliver Grawert of Canonical:
There were no official rpi images in 14.04. the supported rpi kernel used in snappy xenial (16.04) images is at https://launchpad.net/ubuntu/+source/linux-raspi2


Oliver also commented:
The only thing we officially support on the rpi yet is ubuntu-snappy, using the linux-raspi2 package which only spans from 4.2 to 4.4 versions.


Do you know if Ubuntu Snappy Core would work for ROS?

I should be able to compile fbtft kernel drivers needed by PiTFT for Ubuntu Snappy Core.

Here's a few links I found that seem to indicate ROS would work:
* Ubuntu ROS apps on the way
* Snappy package for Robot Operating System tutorial

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: PiTFT 3.5 on Ubuntu, Only a Blank Screen

by drewfustini on Mon Mar 07, 2016 2:06 pm

I just got another comment from Oliver Grawert:
snapcraft comes with full ROS support by default (robotics are one of the main targets for snappy ) perhaps you want to take a look ;)


I found this page based on his suggestion:
Using Snappy with ROS

drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Please be positive and constructive with your questions and comments.