-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warn user if rpi-update is used on raspbian #22
Comments
I've been using rpi-update daily on the official Raspbian build and I haven't had any problem whatsoever... |
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. |
Did you update raspbian before running rpi-update? |
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? |
Before you do |
I used 2012-07-15-wheezy-raspbian.img to build the SD Card. |
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 |
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. |
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?
To update manually: |
I downloaded the firmware on Aug 6th @ 9am PDT from the above url. |
That just confirms the issue. I'll take a look when I have some spare time. |
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! |
I hit this problem last night. I am run that I had not run 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?" |
For non-Linux users: |
Hi guys, I ran apt-get update && apt-get dist-upgrade before trying to use the script, so the system was fully upgraded! :) |
did I mention that by replacing boot.elf the issue was solved? |
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. |
Hi! I have the same problem. The steps I took:
Am I missing something in these steps? Or is it a problem with the RPi firmware / rpi-update ? |
Worked fine for me last night.... with latest fully updated dist-upgraded My /etc/apt/sources.list looks like this: deb http://ftp.us.debian.org/debian/ wheezy main contrib Not sure if this is 'correct' or not but seems to be working OK. Regards, On Tue, Aug 14, 2012 at 4:52 PM, Rogério Vicente
|
Actually, I don't think it was the 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. |
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:
|
Ok, although the steps mentioned in that blog post are for debian squeeze, I followed them and still no success.
After this... the RPi does not boot. Just to remind that this is a clean So the problem is probably from rpi-update or the latest firmware. |
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? |
is the problem that people are not using the full cdcard and / if filling up to 100%? df -h |
Does this mean that if you run |
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 |
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? |
Yeah I guess, I also guess other distros just get the latest firmware as they see fit. |
@vicrry |
@Dmole Sound like some kind of install.sh to me, got smells of 'platform specific' things. |
I believe this is what has been knocking my machine. Good to know, hope we can get it fixed! |
Obviously rpi-update brakes raspbian installations.
Please warn the user if he tries to use rpi-update on raspbian installations.
Thanks.
The text was updated successfully, but these errors were encountered: