Giter Club home page Giter Club logo

Comments (31)

sdebruyn avatar sdebruyn commented on September 13, 2024

I've been using rpi-update daily on the official Raspbian build and I haven't had any problem whatsoever...

from rpi-update.

terrycarlin avatar terrycarlin commented on September 13, 2024

I have an issue also with raspbain and rpi-update. After running rpi-update, the RPi won't boot. Disk access light comes on for a couple of blinks then nothing. Rebuilt SD Card (Transcend class 10 8gb) several times. Same result. Works just fine after building the SD Card, then I run rpi-update, reboot and no joy. Don't know where to start. System doesn't get far enough in the boot cycle to leave any traces. I have tried it on a different SD Card, still no joy.

from rpi-update.

sdebruyn avatar sdebruyn commented on September 13, 2024

Did you update raspbian before running rpi-update?

from rpi-update.

Mebus avatar Mebus commented on September 13, 2024

I downloaded the raspbian image "2012-07-15-wheezy-raspbian.img". Then I ran rpi-update. After rebooting I only saw colorful square on the screen and only the red LED was on. It did not boot.

Because I had already done some configuration on my pi I repaired it by copying all the original files from the image back onto the FAT32 partition and also replaced the kernel modules by the original ones. At least for now it boots and runs. Is there maybe a more elegant way to repair this? Git?

Is rpi-update supposed to work on this image?

from rpi-update.

sdebruyn avatar sdebruyn commented on September 13, 2024

Before you do sudo rpi-update please try sudo apt-get update && sudo apt-get upgrade

from rpi-update.

terrycarlin avatar terrycarlin commented on September 13, 2024

I used 2012-07-15-wheezy-raspbian.img to build the SD Card.
I tried that updating with apt-get update/upgrade before doing the rpi-update. No joy.
I tried just doing a rpi-update on a fresh image. No joy. Both methods just gave me the same symptoms that Mebus described.

from rpi-update.

JanStevens avatar JanStevens commented on September 13, 2024

Also used the 2012-07-15-wheezy image to build the SD card, installing RPI-update not a problem.

First done apt-get update/upgrade then rpi-update, reboot and get the same problems that Mebus described, for now I wont update the rpi-update because it clearly brakes the rpi

from rpi-update.

 avatar commented on September 13, 2024

same here, similar scenario.

After installing 2012-07-15-wheezy image + update && upgrade I started the rpi-update and it broke my whole installation after reboot.

from rpi-update.

sdebruyn avatar sdebruyn commented on September 13, 2024

Hexxeh started working at Google so he doesn't have much time left (except for his 20%) :p So to help him we can try to narrow down the issue. Could you try the following?

  1. put raspbian on your SD
  2. boot it up, update && upgrade
  3. put the SD card in another computer and it update it manually to the latest firmware
  4. try booting it up again
    If this works, then the problem is related to rpi-update. If this doesn't work then rpi-update is working as it should and you should report the issue at the raspberry pi firmware repo because the new firmware is incompatible with existing images.

To update manually:
Download everything from https://github.com/Hexxeh/rpi-firmware (there's an option to download a zip from the website). Open the vc folder and copy the contents of ../hardfp/opt/vc/ to /opt/vc/ on your Raspberry Pi and overwrite existing files (actually you should delete everything that's in it and put the new folder there instead but it isn't super important).
Then copy the modules folder to /lib/ on your Raspberry Pi and overwrite existing files (actually you should delete the existing 3.1.9+ folder but it isn't super important).
Everything else you downloaded from the repo should be in /boot/.

from rpi-update.

terrycarlin avatar terrycarlin commented on September 13, 2024

I downloaded the firmware on Aug 6th @ 9am PDT from the above url.
I followed these instructions and it booted up just fine.
Anything else I can help with?

from rpi-update.

sdebruyn avatar sdebruyn commented on September 13, 2024

That just confirms the issue. I'll take a look when I have some spare time.

from rpi-update.

esalgado avatar esalgado commented on September 13, 2024

I confirm this issue too. I had the RPi updated with apt-get, and then ran the utility. The system didn't start.

I checked /boot with another computer, and saw start.elf was dated 15th July 2012 and was 2.1mb, so I removed it and copied arm224_start.elf to start.elf, and then the system started just fine!

from rpi-update.

JEG2 avatar JEG2 commented on September 13, 2024

I hit this problem last night. I am run that I had not run sudo apt-get upgrade when I hit it.

Today, I planned to debug the script for you, but it worked on the first try. Today I did do the upgrade before running it.

I suspect that's the main culprit here.

@esalgado You say you "updated," which is good, but did you also "upgrade?"

from rpi-update.

sdebruyn avatar sdebruyn commented on September 13, 2024

For non-Linux users: sudo apt-get update doesn't do anything but looking for updates. It downloads a list of updates that are available. sudo apt-get upgrade effectively installs them. So if you never issued that command you shouldn't complain that the latest firmware isn't working...

from rpi-update.

esalgado avatar esalgado commented on September 13, 2024

Hi guys,

I ran apt-get update && apt-get dist-upgrade before trying to use the script, so the system was fully upgraded! :)

from rpi-update.

esalgado avatar esalgado commented on September 13, 2024

did I mention that by replacing boot.elf the issue was solved?

from rpi-update.

grigorig avatar grigorig commented on September 13, 2024

There was an issue with data loss on the FAT /boot partition. Maybe rpi-update made this issue apparent? After all it replaces most of /boot.

This issue was hopefully fixed recently, but of course that won't help if you try to upgrade from the older Raspbian image.

from rpi-update.

rogeriopvl avatar rogeriopvl commented on September 13, 2024

Hi!

I have the same problem.

The steps I took:

  • Installed Raspbian on the SD with the latest wheezy from http://raspberrypi.org/downloads
  • Then booted up the Pi
  • sudo apt-get update; sudo apt-get upgrade
  • wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update
  • sudo bash
  • rpi-update

Am I missing something in these steps? Or is it a problem with the RPi firmware / rpi-update ?

from rpi-update.

Stonie avatar Stonie commented on September 13, 2024

Worked fine for me last night.... with latest fully updated dist-upgraded
Wheezy image ;)

My /etc/apt/sources.list looks like this:

deb http://ftp.us.debian.org/debian/ wheezy main contrib
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib

Not sure if this is 'correct' or not but seems to be working OK.

Regards,
Stonie.

On Tue, Aug 14, 2012 at 4:52 PM, Rogério Vicente
[email protected]:

Hi!

I have the same problem.

The steps I took:

  • Installed Raspbian on the SD with the latest wheezy from
    http://raspberrypi.org/downloads
  • Then booted up the Pi
  • sudo apt-get update; sudo apt-get upgrade
  • wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x
    /usr/bin/rpi-update
  • sudo bash
  • rpi-update

Am I missing something in these steps? Or is it a problem with the RPi
firmware / rpi-update ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-7717740.

from rpi-update.

JEG2 avatar JEG2 commented on September 13, 2024

Actually, I don't think it was the upgrade that saved me.

Because I was trying to debug the script, I ran it several times before I finally rebooted. In doing that, I accidentally followed these steps.

from rpi-update.

rogeriopvl avatar rogeriopvl commented on September 13, 2024

That's interesting. I'm going to try this when I get home.

On Aug 14, 2012, at 3:13 PM, James Edward Gray II wrote:

Actually, I don't think it was the upgrade that saved me.

Because I was trying to debug the script, I ran it several times before I finally rebooted. In doing that, I accidentally followed these steps.


Reply to this email directly or view it on GitHub.

from rpi-update.

rogeriopvl avatar rogeriopvl commented on September 13, 2024

Ok, although the steps mentioned in that blog post are for debian squeeze, I followed them and still no success.

root@raspberrypi:/home/pi# rpi-update 
Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS
Performing self-update
Autodetecting memory split
Using ARM/GPU memory split of 192MB/64MB
We're running for the first time
Setting up firmware (this will take a few minutes)
Using HardFP libraries
If no errors appeared, your firmware was successfully setup
A reboot is needed to activate the new firmware
root@raspberrypi:/home/pi# reboot

After this... the RPi does not boot.

Just to remind that this is a clean 2012-07-15-wheezy-raspbian.img downloaded from the official Raspberry website, with sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade done.

So the problem is probably from rpi-update or the latest firmware.

from rpi-update.

cathalgarvey avatar cathalgarvey commented on September 13, 2024

Guys, I appreciate that you're trying to narrow down and fix the problem.. but as a stopgap measure, could this script issue a warning that there are outstanding issues and require specific invocation with an --ignore flag or something to continue?
Because it's been 15 days since last post here, but I just nerfed my RPi thinking this script still worked well.

from rpi-update.

Dmole avatar Dmole commented on September 13, 2024

is the problem that people are not using the full cdcard and / if filling up to 100%?

df -h

from rpi-update.

vicary avatar vicary commented on September 13, 2024

Does this mean that if you run rpi-update without first running apt-get update && apt-get upgrade, then you're likely to mess up your boot files?

from rpi-update.

licaon-kter avatar licaon-kter commented on September 13, 2024

not messed up per se, if rpi-update updates to eg. kernel 1001 and then apt-get updates to kernel 999, since /boot/.firmwareversion file still registers that you already have updated to 1001 you are stuck with 999 till you either run rpi-update and get 1002 later or delete /boot/.firmwareversion and rerun rpi-update

from rpi-update.

vicary avatar vicary commented on September 13, 2024

Alright, thanks @licaon-kter.

Don't know how other distros work on it's firmware, would adding a hash check on *.elf files be a quick fix?

from rpi-update.

licaon-kter avatar licaon-kter commented on September 13, 2024

Yeah I guess, I also guess other distros just get the latest firmware as they see fit.

from rpi-update.

Dmole avatar Dmole commented on September 13, 2024

@vicrry
It is sometimes desirable to prevent apt from changing the kernel like for custom builds or regressions, but I guess the right way to do that is with "echo "raspberrypi-bootloader hold" | sudo dpkg --set-selections" ?
regression example:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=18155&p=182710

from rpi-update.

vicary avatar vicary commented on September 13, 2024

@Dmole Sound like some kind of install.sh to me, got smells of 'platform specific' things.

from rpi-update.

stacksjb avatar stacksjb commented on September 13, 2024

I believe this is what has been knocking my machine. Good to know, hope we can get it fixed!

from rpi-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.