3a+ Battery Life

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: 3a+ Battery Life

Post by VeteranGamer » Sat Mar 23, 2019 12:22 pm

mouth78 wrote:
Sat Mar 23, 2019 11:59 am
I burnt mintypi v4 and works OK with a 3.2" SPI TFT LCD but I wanted to try to improve quality screen so I followed all that steps. The result is a screen full of deformed lines
Have I to burn the image of mintypi again?
What’s steps have you followed....

What was your CMake...
And what is your actual setup (pictures please)...

The only information you’ve given over the two posts you made is that you keep burning the MintyPi v4 and how you want to improve the quality


I’ve used this method on a RPi3 A+ and a RPi0 W
And not had any issues...


working on a RPi0W


Image


Image


Image






.

mouth78
Posts: 11
Joined: Sat Jan 14, 2017 5:40 am
Been thanked: 1 time

Re: 3a+ Battery Life

Post by mouth78 » Sat Mar 23, 2019 1:51 pm

I had burnt SD with Mintypi v4, then insert SD in raspberry pi zero and follow your steps:

via Raspi Config (in the Retropie menu)
disable SPI
enable Overscan

reboot

I've done this via SSH

this is meant to be done at the end, but I found I couldnt even get to this point (so I've done it first)

Code: Select all

sudo nano /etc/rc.local

and add this before end

Code: Select all

/home/pi/fbcp-ili9341/build/fbcp-ili9341 &

now just follow these steps

Code: Select all

sudo apt-get install cmake

git clone https://github.com/juj/fbcp-ili9341.git

cd fbcp-ili9341

mkdir build

cd build

cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV8A=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..

make -j

sudo ./fbcp-ili9341 &


This is the squence:

pi@retropie:/boot $ sudo nano /etc/rc.local
pi@retropie:/boot $ sudo nano /etc/rc.local
pi@retropie:/boot $ sudo apt-get install cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version.
The following packages were automatically installed and are no longer required:
libasn1-8-heimdal libfile-copy-recursive-perl libhcrypto4-heimdal
libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal
libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
python-dnspython samba-dsdb-modules tdb-tools update-inetd
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
pi@retropie:/boot $
pi@retropie:/boot $ git clone https://github.com/juj/fbcp-ili9341.git
fatal: could not create work tree dir 'fbcp-ili9341'.: Permission denied
pi@retropie:/boot $
pi@retropie:/boot $ cd fbcp-ili9341
-bash: cd: fbcp-ili9341: No such file or directory
pi@retropie:/boot $
pi@retropie:/boot $ mkdir build
mkdir: cannot create directory ‘build’: Permission denied
pi@retropie:/boot $
pi@retropie:/boot $ cd build
-bash: cd: build: No such file or directory
pi@retropie:/boot $
pi@retropie:/boot $ cmake -DSPI_BUS_CLOCK_DIVISOR=6 -DILI9341=ON -DARMV6Z=ON -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
pi@retropie:/boot $
pi@retropie:/boot $ make -j
make: *** No targets specified and no makefile found. Stop.
pi@retropie:/boot $
pi@retropie:/boot $ sudo ./fbcp-ili9341 &
[1] 1067
pi@retropie:/boot $ sudo: ./fbcp-ili9341: command not found

[1]+ Exit 1 sudo ./fbcp-ili9341

Now i have white screen and doesn't work...

mouth78
Posts: 11
Joined: Sat Jan 14, 2017 5:40 am
Been thanked: 1 time

Re: 3a+ Battery Life

Post by mouth78 » Sat Mar 23, 2019 2:02 pm

I think in this time I hadn't permissions and commands doesn't work.
Is it possible?What must i do?
I am going to try again.

Sorry but I dont know anything about linux... :?

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: 3a+ Battery Life

Post by VeteranGamer » Sat Mar 23, 2019 2:14 pm

mouth78 wrote:
Sat Mar 23, 2019 1:51 pm
I had burnt SD with Mintypi v4, then insert SD in raspberry pi zero and follow your steps:


Now i have white screen and doesn't work...
for a start....
you need to be using a RetroPie .img, NOT a mintyPi v4.img....
you can download one here...

https://retropie.org.uk/download/


depending on what RPi you have....

this is the only thing that needs to be changed (in the steps that are in my previous post)

this for a RPi3 (-DARMV8A=ON)
a RPi0 would be (-DARMV6Z=ON)



just to be on the safe side

in Raspi Config (in the Retropie menu)
disable SPI
enable Overscan


for a
RPi0W

Code: Select all

cmake -DARMV6Z=ON -DILI9341=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..

for a
RPi3

Code: Select all

cmake -DARMV8A=ON -DILI9341=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..
NB: you still need to follow the steps properly and then just add the relevant Cmake to which system you have


i still don't know what your setup is
what your actually using.... which RPi, what size/type screen.... how you've got it all connected....
(as there could be other issues)


but this should work if you follow the steps properly....





.

mouth78
Posts: 11
Joined: Sat Jan 14, 2017 5:40 am
Been thanked: 1 time

Re: 3a+ Battery Life

Post by mouth78 » Sat Mar 23, 2019 6:35 pm

If I burn a retropie-4.4-rpi1_zero.img in a SD but when I swich on my Pi0 with the SD I get a white screen...
My screen is a 3.2" SPI TFT LCD.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: 3a+ Battery Life

Post by VeteranGamer » Sat Mar 23, 2019 7:09 pm

mouth78 wrote:
Sat Mar 23, 2019 6:35 pm
If I burn a retropie-4.4-rpi1_zero.img in a SD but when I swich on my Pi0 with the SD I get a white screen...
My screen is a 3.2" SPI TFT LCD.
your gonna have to show me how you've wired everything up....
(please post some pictures/images)

you have to
download Retropie
make sure that you've wired the screen up correctly

then

via Raspi Config (in the Retropie menu)
disable SPI
enable Overscan

reboot

I've done this via SSH (you do it how you see fit)

this is meant to be done at the end, but I found I couldnt even get to this point (so I've done it first)

Code: Select all

sudo nano /etc/rc.local
and add this before end

Code: Select all

/home/pi/fbcp-ili9341/build/fbcp-ili9341 &
now just follow these steps

Code: Select all

sudo apt-get install cmake

git clone https://github.com/juj/fbcp-ili9341.git

cd fbcp-ili9341

mkdir build

cd build

cmake -DARMV6Z=ON -DILI9341=ON -DSPI_BUS_CLOCK_DIVISOR=6 -DGPIO_TFT_DATA_CONTROL=24 -DGPIO_TFT_RESET_PIN=25 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON ..

make -j

sudo ./fbcp-ili9341 &



now after this if you dont get this.....


Image


(this is a RPi0W, running Retropie 4.4 with a 3.2" ili9341 LCD)



then
just make sure your wiring is correct....
and just use the mintyPi v4. img....
its not ideal, but for you it will be perfect.....






.

mouth78
Posts: 11
Joined: Sat Jan 14, 2017 5:40 am
Been thanked: 1 time

Re: 3a+ Battery Life

Post by mouth78 » Sat Mar 23, 2019 7:25 pm

I joined screen to raspberry with this:

https://oshpark.com/shared_projects/zUNmnlLF

I suppose solders are OK because screen works with mintypi. When I can I will take some photos.

Regards.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: 3a+ Battery Life

Post by VeteranGamer » Sat Mar 23, 2019 7:30 pm

mouth78 wrote:
Sat Mar 23, 2019 7:25 pm
I joined screen to raspberry with this:

https://oshpark.com/shared_projects/zUNmnlLF

I suppose solders are OK because screen works with mintypi. When I can I will take some photos.

Regards.

then your just not following the steps properly.....
(your doing something wrong)


if it works with the mintyPi.img.....
it might be best for you to stick with that (something is better than nothing)




.

mouth78
Posts: 11
Joined: Sat Jan 14, 2017 5:40 am
Been thanked: 1 time

Re: 3a+ Battery Life

Post by mouth78 » Sun Mar 24, 2019 6:05 am

But something is very strange, I only have to burn SD and put it into RP0. If I burn retropie-4.4-rpi1_zero.img in a SD, then the first time I insert SD into de RP0, must I see image in the screen or have I to configure something in config.txt before insert SD?.

EDIT1: I am going to burn the etropie-4.4-rpi1_zero.img again.
EDIT2: It dosent work...white screen. but I think is normal, with a clean install SPI screen doesn't work, does it?.
But if I don't have extra screen, then how must I begin with this:
" in the advanced options you want to make sure overscan is disabled, and spi is enabled. use the arrow keys to select 'finish' and when prompted, reboot"
Could I use config.txt for this?, how?

I have another dude:
You say next:
"via Raspi Config (in the Retropie menu)
disable SPI
enable Overscan"


moosepr says:
"in the advanced options you want to make sure overscan is disabled, and spi is enabled."

You and moosepr say opposite.

I feel I am near...;).

Regards.
Last edited by mouth78 on Sun Mar 24, 2019 7:08 am, edited 1 time in total.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: 3a+ Battery Life

Post by VeteranGamer » Sun Mar 24, 2019 6:58 am

mouth78 wrote:
Sun Mar 24, 2019 6:05 am
But something is very strange, I only have to burn SD and put it into RP0. If I burn retropie-4.4-rpi1_zero.img in a SD, then the first time I insert SD into de RP0, must I see image in the screen or have I to configure something in config.txt before insert SD?.
I am going to burn the etropie-4.4-rpi1_zero.img again.
Nothing is strange....

I don't think you know what your doing.....

you clearly have NO understanding of what RetroPie is....
let alone trying to enable or install anything on Linux...
(both are very basic and easy things to get your head around)....



if you can't follow these steps....
viewtopic.php?f=42&p=72248#p72239

or have not even bothered to reading up on this (just to get a better understanding)....
https://github.com/juj/fbcp-ili9341


then I think its best you just stick to the pre made/configured .img of mintyPi v4 (thats gonna be the easiest for you)



this is not a hardware or software issue.....
its a USER issue....




.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest