0

raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1.201
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Sun Nov 12, 2017 1:55 pm

hmm can you try a fresh copy of stretch? just cuz thats what we're using and it seems to work - want to make sure it isnt your hardwre!

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by basselt on Sun Nov 12, 2017 2:18 pm

I did install the latest stretch image: 2017-09-07-raspbian-stretch followed by update en upgrade
On my "old Jessie" setup, the TFT screen works, only touch is inverted and non correctable, as my original post pointed out.
Is there a non-raspberry stretch that is more recent?

Grtz
B

basselt
 
Posts: 22
Joined: Mon Nov 30, 2015 8:19 am

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Sun Nov 12, 2017 2:43 pm

basselt its a bit hard to understand what you are doing or setting up.... :/
raspbian stretch is the most recent. jessie is old and not supported anymore, dont use jessie.

please post a screenshot of the output from the setupscript when you run it.

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by basselt on Sun Nov 12, 2017 3:07 pm

Okay:
I have several Pi's in use. So I have luxury to switch OS's
On Pi2 I did install latest Stretch, plus update (today) Everything installs fine, but result as described.
Since I do get console on TFT (if selected), and I don't get PIXEL desktop on TFT (grey in that case) I checked the touch function anyhow and to my surprise, although NO dekstop is displayed on TFT (but mirror HDMI), the touchscreen works, however with inverted axes.
To check the functionality of the screen I used an older OS "off the shelf" and checked the TFT on that one. Contains Jessie plus original TFT installation. PiTFT works okay on that one, EXCEPT for touch (all inverted, I started the post with that problem, since at the time the TFT did not work at all under stretch)
So NO I am not using Jessie, but used it only to check the hardware (PI and TFT) I just switched SD's.
Stretch is back in the PI2 and whatever I choose during running of the script, I will not get the desktop on my TFT screen. Script runs fine, no errors after reinstalling stretch (except for the mentioned missing maps) and running yr script. It is just not working as it should work. See screenshot

Grtz
B
Attachments
Screenshot script run.png
Screenshot script run.png (144.28 KiB) Viewed 123 times

basselt
 
Posts: 22
Joined: Mon Nov 30, 2015 8:19 am

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Sun Nov 12, 2017 5:12 pm

hmm ok lets just talk about one Pi + OS :) makes it easier
can you verify for when you mirror HDMI, PIXEL appears on HDMI? if so can you paste the output from "cat /etc/rc.local"
thx!

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by basselt on Sun Nov 12, 2017 5:36 pm

Sure:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi

/usr/local/bin/fbcp &
exit 0

basselt
 
Posts: 22
Joined: Mon Nov 30, 2015 8:19 am

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Tue Nov 14, 2017 12:32 am

huh we just tried again and can't reproduce what you're seeing (which is making it tough to debug)
we have a pi3 + 3.5" PiTFT
we use etcher to burn a fresh 2017-09-07-raspbian-stretch.zip
we log into it over ssh and run apt-get update & apt-get upgrade, then reboot
we wget the script, run it, and select 3.5" tft, no console, mirror HDMI, and it works just fine :/
maybe take some pix of your setup and/or try the above?


Code: Select all | TOGGLE FULL SIZE
pi@raspberrypi:~ $ sudo ./adafruit-pitft-helper2.sh
This script downloads and installs
PiTFT Support using userspace touch
controls and a DTO for display drawing.
one of several configuration files.
Run time of up to 5 minutes. Reboot required!

Select configuration:
1. PiTFT 2.4", 2.8" or 3.2" resistive
2. PiTFT 2.2" no touch (not working yet!)
3. PiTFT 2.8" capacitive touch
4. PiTFT 3.5" resistive touch
5. Quit without installing

SELECT 1-5: 4
[PITFT] Checking init system...
Found systemd
/boot is mounted
[PITFT] System update
Updating apt indexes...
.........
Reading package lists...
.........
[PITFT] Installing Python libraries & Software...
Installing Pre-requisite Software...This may take a few minutes!
[PITFT] Updating /boot/config.txt...
[PITFT] Updating SysFS rules for Touchscreen...
[PITFT] Updating TSLib default calibration...
Would you like the console to appear on the PiTFT display? [y/n] n
[PITFT] Making sure console doesn't use PiTFT
Removing console fbcon map from /boot/cmdline.txt
Screen blanking time reset to 10 minutes
Would you like the HDMI display to mirror to the PiTFT display? [y/n] y
[PITFT] Adding FBCP support...
Installing cmake...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Downloading rpi-fbcp...
Uncompressing rpi-fbcp...
Building rpi-fbcp...
Installing rpi-fbcp...
Add fbcp to /etc/rc.local...
Setting raspi-config to boot to desktop w/o login...
sh: 0: getcwd() failed: No such file or directory
Created symlink /etc/systemd/system/default.target → /lib/systemd/system/graphical.target.
sh: 0: getcwd() failed: No such file or directory
Configuring boot/config.txt for forced HDMI
Using x1.5 resolution
[PITFT] Updating X11 default calibration...
[PITFT] Success!

Settings take effect on next boot.

REBOOT NOW? [y/N] y
Reboot started...

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by basselt on Thu Nov 16, 2017 10:17 am

Give me some time. busy. Work :-)
Get back to you, will use Pi3 this weekend to test.
Thnx for patience
B

basselt
 
Posts: 22
Joined: Mon Nov 30, 2015 8:19 am

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Thu Nov 16, 2017 1:41 pm

OK! :)

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by GRath on Thu Nov 16, 2017 6:46 pm

I'm coming here from this github issue.

I've been trying to get a PI-TFT 35r screen working with my Pi3.

I did a fresh OS install of Raspbin (via NOOBS), and ran the beta no-kernel-needed installer script. This seemed to work nicely, but upon rebooting, once the pi has finished booting I'm just served the console. The pi doesn't boot to desktop.

Weirdly if I have HDMI plugged in, the HDMI source displays the Pi's new splash screen (where it loads services), but then just stops there - it makes me think that maybe the screen isn't switching ttys after initial boot? (My linux is pretty rusty, so that could be a very silly thing to say).

This sounds like the same issue basselt is having - This is for a work project, so I should have plenty of time to sink into this for testing and trying to get this resolved.

GRath
 
Posts: 2
Joined: Thu Nov 16, 2017 6:34 pm

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Thu Nov 16, 2017 6:49 pm

hiya grath, can you show what options you picked on the installer script? its probably some minor tweak i need to make once i can see whatcha doing :)

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

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by GRath on Thu Nov 16, 2017 7:10 pm

This is the part where I blush for being really stupid.

I selected the "Would you like the console to appear on the PiTFT display?" option. Which I foolishly thought meant did I want to see the console output that happens on boot.

That's not what that option means.

I've got it working fine now - Once I said "no", I was asked about hdmi mirroring; First I said "no", resulting in a similar situation as before, except on the hdmi source. Second time round I said "yes" to hdmi mirroring, and now it's working fine.

One issue however is that the screen doesn't refresh on/after shutdown - If the screen has power the screen retains it's last image. Is there any work around to fix this?

Even if it was just throwing up a black screen before shutdown would work.

GRath
 
Posts: 2
Joined: Thu Nov 16, 2017 6:34 pm

Re: raspberrypi-kernel : Breaks: raspberrypi-bootloader (< 1

by adafruit2 on Thu Nov 16, 2017 7:13 pm

oh yay! yeah we have to clarify that because we do X display different (stretch changed it and we have to 'mirror' now rather than direct framebuffer)

the persistancy is a 'benefit' of these TFTs, they do not require constant refreshing. which means they will happily keep the last image up forever. best recommendation is to run a script at shutdown that uses 'fbi' to 'display' a fully black image :/

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

Please be positive and constructive with your questions and comments.