RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retropie 4.0 - "Illegal Instruction" on Pi2, but OK on Pi3?

    Scheduled Pinned Locked Moved Help and Support
    illegalinstruction4.0pi2pi3
    17 Posts 2 Posters 10.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chillimonster
      last edited by

      I have a Pi3 that i have used to build a 4.0 image on and got set up exactly how i want it.

      I have backed it up and duplicated it to another identical card and put it in one of the Pi2's i have an it stops with an "Illegal Instruction" message.

      If it did not work on either i could understand, so i am a little baffled.

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        It's not a Raspberry Pi 2 but a 1 ? https://github.com/retropie/retropie-setup/wiki/First-Installation#sd-images

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        C 1 Reply Last reply Reply Quote 0
        • C
          Chillimonster @BuZz
          last edited by

          @BuZz said in Retropie 4.0 - "Illegal Instruction" on Pi2, but OK on Pi3?:

          It's not a Raspberry Pi 2 but a 1 ? https://github.com/retropie/retropie-setup/wiki/First-Installation#sd-images

          Def a pi2 (4 berrys on boot)

          C 1 Reply Last reply Reply Quote 0
          • C
            Chillimonster @Chillimonster
            last edited by

            But if I put it back in the pi3 it boots fine.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              Did you install retropie from binary or source?

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              C 1 Reply Last reply Reply Quote 0
              • C
                Chillimonster @BuZz
                last edited by

                @BuZz

                I installed it from the image on the download page. Installed the roms and set up how I liked it and backed it up.

                Duped to an identical card (more than one and to more than one card just in case it was the card) with the same result.

                I wonder if anything has changed in the underlying code?

                My old 3.7 and 3.8.1 image will quite happily work on whatever pi I stick it in (2 or 3)

                1 Reply Last reply Reply Quote 0
                • C
                  Chillimonster
                  last edited by

                  Tried this in another Pi2 and Pi3.

                  Works fine in the Pi3, but not the Pi2.

                  Something is definitely going on with this.

                  In the Pi2, it goes through my usual video splash screen then drops to terminal (complete with new logo) with "Illegal Instruction" at the top of the screen.

                  Other than the standard emulators that are already present i only have Kodi and Kids Mode installed

                  Am i the only one?

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by

                    nothing I know of has changed - the pre-made image works fine on rpi2/rpi3

                    Perhaps you can give me detail about the error - any other text shown ?

                    Do you have overclock settings in the config.txt that would be unsuitable for the rpi2 ?

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Chillimonster @BuZz
                      last edited by

                      @BuZz

                      Standard Config text, with the only change being the addition of "disable_audio_dither=1"

                      Just drops to terminal with the message.

                      0_1472730124604_14203686_1076268199086944_1007283747_o.jpg

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by

                        and what if you do on the rpi2 - sudo ~/RetroPie-Setup/retropie_packages.sh emulationstation install_bin and reboot ?

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        C 2 Replies Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators
                          last edited by

                          oh you installed kids mode emulationstation ? That is a source install - and it will be built for the rpi3 target.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          C 1 Reply Last reply Reply Quote 1
                          • C
                            Chillimonster @BuZz
                            last edited by

                            @BuZz

                            I'll try that and come back to you (In work at moment so will be later when i try it)

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chillimonster @BuZz
                              last edited by

                              @BuZz said in Retropie 4.0 - "Illegal Instruction" on Pi2, but OK on Pi3?:

                              sudo ~/RetroPie-Setup/retropie_packages.sh emulationstation install_bin

                              Could it be kids mode that is messing with it as i presume that overwrites various parts of ES?

                              1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators
                                last edited by

                                No - I wrote what the problem is above. You installed the experimental "Kids Mode" emulationstation - which is compiled from source for the machine you were on - the RPI3 so it won't work on the RPI2. You will need to re-install it on the RPI2 (it will also work on the RPI3 then).

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Chillimonster @BuZz
                                  last edited by

                                  @BuZz

                                  BINGO!

                                  That will be the issue then - so carrying out the instruction above will sort it?

                                  1 Reply Last reply Reply Quote 0
                                  • BuZzB
                                    BuZz administrators
                                    last edited by

                                    the instruction above will reinstall the standard emulationstation binaries.

                                    if you want the kids mode es - you will have to re-install it from retropie-setup sudo ~/RetroPie-Setup/retropie_setup.sh

                                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      Chillimonster @BuZz
                                      last edited by

                                      @BuZz

                                      Excellent - Thanks for your help.

                                      Makes perfect sense.

                                      I'll re-install ES on the Pi2, then Re-install Kids Mode on the Pi2 and all should be good to go.

                                      Thanks again.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.