yvesgxnk
Posts: 2
Joined: Thu Apr 04, 2013 8:41 am

No boot with some images

Thu Apr 04, 2013 8:46 am

Dear fellows,

This is the experience I would like to share with you, after 2 weeks of Raspberry Pi testing, with hue entusiasm - and frustration as well.

To make the story short: writing images with Raspbian Wheezy and OpenElec were successfull operations, while it failed constantly with Bodhi Linux.

- The issue does not come from the writer: it failed always on Bodhi, never on Raspbian or OpenElec.
- The issue does not come from the SD cards: I use a set of 3, all failed with Bodhi, all succeeded with Raspbian and OpenElec.
- The issue does not come from the method: I used Win32 Image Writer on Windows 7 and DD command line under Linux. Both methods always succeeded with Raspbian and OpenElec, and always failed with Bodhi.

The conclusion is quite clear: the issue must come from the IMG file from Bodhi. But strangely, nobody seems to complain about this, according to a search through dedicated forums... The downloaded file was not corrupted (MD5 check), though, and the writing process always ended up with a success notification from Image Writer and DD.

I realized that the VFAT partition witten on the SDE card was flagged only as LBA - not BOOT. Changing this with GParted had no effect.

Is it possible that the issue could come from the files used for the creation of VFAT partition (kernel.img, start.elf, etc.)? Maybe that Bodhi was correct by the time of the creation of the image found for Raspberry Pi on their website, but that it's not compatible anymore with the Raspberry Pi bought 2 weeks ago (change in the firmware, something like that)?

Comparing the 3 VFAT partitions of the 3 systems written on SD cards shows that kernel.img is the only similar file (same size exactly). All others are different.

Does anybody encounter identical issues when testing several systems, and have an idea for a solution?

Thanks for your feedback

User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1665
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: No boot with some images

Thu Apr 04, 2013 9:10 am

Hi yvesgxnk!

So where did you download that image from? You’ll probably have more success contacting them directly since the Bodhi image isn’t maintained by the Raspberry Pi foundation.

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: No boot with some images

Thu Apr 04, 2013 10:34 am

If its using an old kernel, it won't work with newer Pis with Hynix memory chips. Probably no-one has complained becasue few will use Bodhi linux with the Pi.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: No boot with some images

Thu Apr 04, 2013 10:56 am

What you could try is copy the files from a current Raspbian boot partition to the Bhodi boot partition.

Gr.
Dirk.

yvesgxnk
Posts: 2
Joined: Thu Apr 04, 2013 8:41 am

Re: No boot with some images

Thu Apr 04, 2013 11:26 am

Hi Dave and Pluggy,

Well, the image was of course downloaded on Bodhi's website.
But I didn't contact them because their forum shows a very basic approach to issues... And, as Pluggy says, there are not so many people who use Bodhi with RPi.
Additionnally, without being an expert, I suspect that the issue is simply linked to the way the RPi works, loading one file after another in a defined order, reading them from the VFAT partition. Bodhi itself is not involved - maybe only the files they included in their RPi build.
My RPi starts (red light up), then the green light gets up for 2 or 3 seconds, then... nothing else happens. This is in fact a problem encountered with other images (Raspbian Pisces, Chameleon).
So, I wonder is it would be a good idea to write a SD card with the system I'd like to test, mount the VFAT and replace most files (start.elf, bootcode.bin and start.elf at the minimum) by the one that work from Raspbian or OpenElec...?

drgeoff
Posts: 10765
Joined: Wed Jan 25, 2012 6:39 pm

Re: No boot with some images

Thu Apr 04, 2013 11:36 am

http://www.raspberrypi.org/archives/3534

512 Mbyte RPis with a Hynix memory chip need need a very recent firmware.
Last edited by drgeoff on Thu Apr 04, 2013 11:38 am, edited 1 time in total.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: No boot with some images

Thu Apr 04, 2013 11:37 am

So, I wonder is it would be a good idea to write a SD card with the system I'd like to test, mount the VFAT and replace most files (start.elf, bootcode.bin and start.elf at the minimum) by the one that work from Raspbian or OpenElec...?
that's what I was suggesting. I would copy all the binaries (.elf, .bin, .img and .dat), in effect only leaving config.txt and cmdline.txt

Gr.
Dirk.

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: No boot with some images

Thu Apr 04, 2013 11:39 am

It is certainly worth trying replacing the start.elf and bootcode.bin with ones from a current Raspbian image. [edit]I'd leave the *.img files as they are, as they will probably be specific to Bodhi and would cause problems if they didn't match the modules on the Linux partition [/edit]

BTW the "boot" flag is meaningless on most Linux systems, and especially so on the Pi. It always boots from the first FAT/DOS partition on the card.

axe1
Posts: 8
Joined: Sun May 12, 2013 11:02 pm

Re: No boot with some images

Mon Jun 03, 2013 3:09 pm

I have the same problem here (board with hynix processor), replacing the start.elf and bootcode.bin does not solve it for me.

yvesgxnk is it working for you?

Regards

Return to “Troubleshooting”