Welcome, Guest. Please Login.
YaBB - Yet another Bulletin Board
May 10th, 2025, 1:38pm
News: Welcome to the Cabin! If you want to register send me an e-mail. you can link to my e-mail under the welcome page.


Pages: 1
Observations on My Mistakes with the R-P2. (Read 113 times)
Fernando
YaBB Administrator
*****
NY City




Posts: 2380
Gender: male
Observations on My Mistakes with the R-P2.
Mar 24th, 2016, 12:42pm
 
As many before me did long before, I discovered recently as a couple of days ago, the R-Pi2 will boot and run on the older Wheezy Raspbian. The issue is the SD Card must have a fresh install of Wheezy and then put into the R-Pi2 where the config files will write it for the unit. But it will boot a Wheezy Raspbian set up for the Model B+ if it is not updated and boot and run on both R-Pi's.
 
Thing is, using the SD from the Model B+ on the R-Pi2, the R-Pi2, though it will boot it quickly, will run it slower, as if it were running on a single core of its Quad-Core CPU. Since I had it, I thought the R-Pi2 was running Jessie. But a couple days ago I discovered that there are a few things missing that Jessie is supposed to have: Open Libre Office Suite and a few other Apps.
 
As is you can not tell what Linux you are using from the Desktop. In the terminal, using the "uname -a" will tell you what version number of Debian Linux it is but not its name. But using "cat /etc/os-release" will tell you in detail what Linux it is.
 
For me this was a wake up call. Before using the "cat" command, I decided to update the Raspbian I was using on the R-Pi2. It took a few minutes to get it done as it had to download the updates, but then I noticed that one of tag files said "Wheezy" and not "Jessie." At first I was perplexed by this but I was under the misinformation that the R-Pi2 only runs on Jessie and not on Wheezy and thought that this may have been one of the outdated files Jessie may still be using. So I rebooted the R-Pi2 when the update as done.
 
WHOA! The update fixed a lot of issues the R-Pi2 had, and boots up a lot faster than it ever did. Furthermore this is on a Class 4 SD Card! In fact, it boots up faster than my Class 10 SD Card on my Model B+! Everything else runs faster and cleaner! Minecraft was improved greatly - it boots up faster and things scroll smoothly! It is fast as PC or Laptop a couple years old, definitely a lot faster than a netbook! But the Jessie Apps were still missing.
 
So I decided to check if I was running Jessie or Minimal-Jessie, still under the misinformation that the R-Pi2 only runs on Jessie. Remember: Jessie was released in 12/14 before the release of the R-Pi2 on 2/2/15, and the Raspberry Pi foundation made the comment of 'The R-Pi2 will only run on Jessie...' They also released Minimal-Jessie for the Model A/A+ and Model B for their lower memory configurations, which is Jessie but with the Apps removed so you can install what you need later on. I though that maybe I was running Minimal-Jessie.
 
Using the "uname" command got me nowhere, stating the version number of the Linux kernel and not it's name. However using 'cat' got me the information I needed, and displayed that I was indeed running 'Wheezy' on R-Pi2.  Furthermore, the update updated Wheezy to the point where it will only boot on the R-Pi2 and not on both the Model B+ and the R-Pi2. It was one of the few SDs I had could boot off either machine, now it wont.
 
I do have Jessie downloaded and I remember burning it to an SD Card for the R-Pi2. But I can't find it for some reason. (I do have a bad SD Card that boots up partially and then crashes on any R-Pi it goes on. That might be it, so one day I will need to fix it.)
 
In the least, I should be able to make another SD card with Jessie. But until then, I have a version Wheezy that is for the R-Pi2 only.
Back to top
 
 
View Profile   IP Logged
Fernando
YaBB Administrator
*****
NY City




Posts: 2380
Gender: male
Re: Observations on My Mistakes with the R-P2.
Reply #1 - Mar 29th, 2016, 2:02pm
 
Since Jessie's last updates to add a few things like OpenGL Graphics Routines, many people have complained that making an update that forces the operating system to only boot one system compared to the others (in this case an R-Pi2 to a Model B+) was counter intuitive to the “1 child / 1 computer in every nation” mantra. A teacher in Zimbabwe could have a R-Pi2 and the children in her class have the original model B; when the teacher updates the SD for a student’s machine on her machine, it fails to boot (mostly with “ELF” and Configuration File Failures). At this point the teacher can’t do anything as she does not have the cloning capability in both software and hardware. Sure, there is the ‘dd’ in Linux to clone an SD, she also needs a USB to SD converter box, a cable for it, and understand how the dd command works.
 
Thus Debian and the Raspberry Foundation rushed more intelligent releases of Wheezy and Jessie behind the current release of Jessie, which did not update the kernel or other software but made the boot process intelligent. Now the boot sequence checks to see what R-Pi it is on and it goes ahead checking the configuration files to compare what R-Pi created them. If it is the same kind of R-Pi (like a SD card coming a Model B+ and being installed onto another Model B+), the boot process is very fast. But if the boot process sees that if it came from different R-Pi (like a SD card coming a R-Pi2 and being installed onto a Model B+), the boot process takes a minute or two longer as configuration files are being rewritten to accommodate Raspbian Linux for the R-Pi being booted on.
 
What they did saves a lot of headaches for End Users and minimally skilled Technology Educators. To get it, one has to update their current versions of Wheezy or Jessie by having the R-Pi online and typing “sudo apt-get update” in the console terminal. Wait a few minutes and it is done. Now you will have a Raspbian Linux of Wheezy or Jessie that is universal to what R-Pi’s you may have. Just note that when you change R-Pi’s on the SD, it will take longer to boot; but keeping it on the same R-Pi it will boot very quickly. The problem here is that each SD card has to be updated individually for it to work.
 
So back to me…
 
In updating Wheezy (again), this time it took in the universal boot process and made it universal for that R-Pi the SD Card is put into. The problem before of not booting on another R-Pi’s was “repaired.” So my observations on that are as stated above – switching from different models of R-Pi’s was slower as the configurations files were being rewritten during boot, while booting on the same R-Pi the boot process was a lot quicker than before. Before the update, the booting process was slow. I can speculate that in the past the Model A/B and Model A+/B+ are so much alike that you can (and I often did) switch the SD card between them and there were some adjustments being made to the config files to make it boot on any of these 4 R-Pi’s, but that process took a lot of time. At the same time, the update before the current one, only made it bootable for R-Pi only. Though the boot process was very fast, it was stuck on the R-Pi type it was updated on. The current update fixes this issue with a universal boot.
 
Believe it or not I always thought that the slow booting process was because I was using Class 4 SD cards. I do have Class 10 SD cards, and they do boot a lot faster than the Class 4s without the updates. But now the Class 4s boot faster than the Class 10s! Since I have not updated the Class 10 SD cards yet, I can imagine that the booting speed will be like when I do update them!
 
So now I have 1 SD Card with an updated Wheezy and 1 SD Card with an updated Jessie on them, and both are Class 4 SDs which are a lot faster than the non-updated Wheezy on the Class 10 SD!  But now there is another problem.
 
In case you have noticed, the Raspberry Pi (software) Store is closed. Though most of the software on the R-Pi Store was free, there were some that were not, and payment was made through some European bank. Issues of currency exchanges were such a problem that the bank they were using started to refuse to take payments. This was further heighten by the EU banking system to stop accepting non-EU currency because of failures in currency exchanges on the global scale. There are a lot of poor nations out there trying to get across the digital divide and they cannot afford to buy software and hardware. Using Open Source Software that is free for anyone is a major solution for them. Personally, there was a lot of software there I was interested in – all of it for free. Now where can one, like myself, get all this software we need?
 
Jessie was given the Open Libre Office Suite, which is great to have. Before you had to connect to the Raspberry Pi Store and download it and install it (a must do for Wheezy users). But having Open Libre means that you need a 8GB SD card in order to fit Jessie onto a bootable SD card. Minimal Jessie and Wheezy can fit onto a 4GB SD Card as open Libre is not installed on them. But now you cant get Open Libre if you want it on Wheezy or minimal Jessie. And this is true for a lot of software for the Raspberry Pi, not just for Open Libre.
 
My only recourse is to contact the Raspberry Foundation and see what can be done.
 
Thing for you to do:
 
1) Connect your R-Pi to a network and update the Raspbian on it. This will greatly enhance it and make it able to universally boot across the R-Pi Models.
 
2) Have a couple of SDs and have one for Jessie and one for Wheezy.
 
Note:
 
On a non-updated Raspbian like Wheezy or Jessie, it can boot on any R-Pi you put it on, but it takes a long time for the boot process to happen. The original update screws this up for Raspbian to boot on only 1 type of R-Pi Model though the booting process is now a lot faster. The current update fixes this by making it boot to any R-Pi you put it in and the boot process is still faster if you do not change R-Pi's. In changing R-Pi's, the boot process takes longer to rewrite the config files but it is still faster than the original non-updated Raspian.
 
I have tested the updated Wheezy and Jessie I have on my Model B, Model B+ and R-Pi2; with the update being done on the R-Pi2. They work as stated.
Back to top
 
 
View Profile   IP Logged
Hondo I. Sackett
YaBB Administrator
*****
Behind you!




Posts: 1349
Gender: male
Re: Observations on My Mistakes with the R-P2.
Reply #2 - Mar 29th, 2016, 9:44pm
 
awesome advice and tech help. thanks
Back to top
 
 

Well the cowboy, like the red man, you had to leave your land
You can't raise your stock and plant your crop in the gumbo and the sand
Greed disguised as progress has put us to the test
They won't be glad until we're gone from our home out in the west
It's sad to see those good old days replaced with greed and doubt
Soon we'll leave the country, the campfire has gone out
Bid 'em all adieu, you can't turn the world about
The cowboy left the country, the campfire has gone out
View Profile WWW   IP Logged
Pages: 1