User avatar
PeterO
Posts: 5878
Joined: Sun Jul 22, 2012 4:14 pm

Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 8:20 am

I've just tried to use the "bootcode.bin only" method to boot a 2B V1.1 board, but it doesn't work.
I have a known working root file system on a USB drive, and I can boot the board from an other sdcard that has a fully populated /boot partition.

But with just bootcode.bin on an sdcard all that happens is that the red and green LEDs come on .... then nothing.....

Are the instructions on this page https://www.raspberrypi.org/documentati ... bootmodes/ out of date ?

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 9:30 am

Does the USB drive have the standard fat32 partition with all the boot files? Has it previously worked for you?

User avatar
PeterO
Posts: 5878
Joined: Sun Jul 22, 2012 4:14 pm

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 9:39 am

ShiftPlusOne wrote:
Wed Mar 21, 2018 9:30 am
Does the USB drive have the standard fat32 partition with all the boot files? Has it previously worked for you?
Yes, the USB drive is bootable by itself on a 3B.
As I said, previously I've been booting the 2B with an sdcard with a fully populated /boot partition (and that still works). I just wanted to make it as close as
possible to the setups I have on my 3Bs and 3B+ which all USB boot.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 10:45 am

Can confirm that bootcode.bin isn't behaving properly for me either.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 10:48 am

Downloaded an older one from here and it worked:
https://github.com/raspberrypi/firmware ... otcode.bin

mikerr
Posts: 2825
Joined: Thu Jan 12, 2012 12:46 pm
Location: UK
Contact: Website

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 10:51 am

Confirmed for lack of netbooting too
- newest bootcode.bin from raspbian 2018-03-13 doesn't powerup ethernet lights on my pi2

and older bootcode.bin works ok.


Bah, its working now - maybe my flaky pi2
Last edited by mikerr on Wed Mar 21, 2018 11:02 am, edited 1 time in total.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 10:53 am

Okay the newest bootcode.bin is working for me now.

No idea what changed. Probably nothing and I just didn't have the right usb stick in when testing previously.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 10:54 am

What's the md5sum of bootcode.bin you're using? I see ethernet come on.

User avatar
PeterO
Posts: 5878
Joined: Sun Jul 22, 2012 4:14 pm

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 11:46 am

Thanks for checking...

md5sum bootcode.bin
17efaf1c1ef89289168d71cdc8194982 bootcode.bin


What about the OTP bit ? Does that need to be set because I didn't seem to be able to set it. Is the 2B V1.1 too old ?

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 11:54 am

That md5sum matches what I have.

No idea, I was testing with a random Pi 2 Model B Rev 1.2 on my desk. You shouldn't need to do anything with the OTP when using a separate bootcode.bin.

User avatar
PeterO
Posts: 5878
Joined: Sun Jul 22, 2012 4:14 pm

Re: Does bootcode.bin only boot still work ?

Wed Mar 21, 2018 12:33 pm

I just hooked up the same SD card and USB drive on a 2B V1.2, and it worked fine, but back on the 2B V1.1 nothing is happening.
But SD card with fully populated boot partition still works with the USB drive.

Never mind, I can live with having the boot partition on the SD card.

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Return to “General discussion”