Skip to content
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

Boot from USB #28

Closed
dawidroz opened this issue Oct 4, 2019 · 36 comments
Closed

Boot from USB #28

dawidroz opened this issue Oct 4, 2019 · 36 comments
Labels
enhancement New feature or request high prioritity

Comments

@dawidroz
Copy link

dawidroz commented Oct 4, 2019

When are you planning implement booting from USB?

Thanks

@lenisko
Copy link

lenisko commented Oct 4, 2019

As it was already mentioned they will take care of it after network boot which is at BETA phase right now.

@alesoft73
Copy link

We attend the usb boot.. many thanks!!!!

@ghost
Copy link

ghost commented Oct 11, 2019

Now we are waiting for boot USB :)

@timg236
Copy link
Collaborator

timg236 commented Oct 11, 2019

Not a bug - closing issue.

Support and feature requests are best discussed on the Raspberry Pi forums where this question has already been answered - typically the Advanced Users forum
https://www.raspberrypi.org/forums/

@timg236 timg236 closed this as completed Oct 11, 2019
@AndrewCarterUK
Copy link

Hello,

Is there a chance this could be re-opened? Issues don't have to be bugs - they can also be feature requests and GitHub has some helpful labels for categorizing them.

I was subscribed to this so that I had a notification when there was an update. Our company can't switch to using Raspberry Pi 4's until this issue has been resolved, so this thread was providing us value.

@timg236
Copy link
Collaborator

timg236 commented Oct 11, 2019

Ok since it is actually a technical feature there is no active issue I’ll reopen it so you get a notification instead of having to keep an eye on all the commits. We generally don’t pre announce betas or post roadmaps so “are we there yet questions” tend to be ignored :)

@timg236 timg236 reopened this Oct 11, 2019
@ykla
Copy link

ykla commented Oct 21, 2019

Will support USB 3.0?
And the type C only supports provide power for raspberry pi? If possibly supports boot from it?

@lurch
Copy link
Contributor

lurch commented Nov 22, 2019

AFAIK (and I might be wrong!) I think the eventual plan is for the full-size USB ports to support USB host boot and for the USB-C port to support USB device boot.

@raspberrypi raspberrypi deleted a comment from drduker Dec 19, 2019
@raspberrypi raspberrypi deleted a comment from ykla Dec 19, 2019
@raspberrypi raspberrypi locked as off-topic and limited conversation to collaborators Dec 19, 2019
@timg236
Copy link
Collaborator

timg236 commented Dec 19, 2019

Locked conversation because of time-wasting posts (now deleted) so people tracking this issue don't get spammed. When USB MSD boot is available this issue will be updated along with normal forum announcements.
If you want to discuss something Raspberry Pi related then the forums are the best place. Issues on this Github are for technical discussion.

@timg236 timg236 added enhancement New feature or request high prioritity labels May 2, 2020
@raspberrypi raspberrypi unlocked this conversation May 15, 2020
@timg236
Copy link
Collaborator

timg236 commented May 15, 2020

The first beta #127 has been uploaded but it will require updated firmware via rpi-update. That's a few days away.

@ghost
Copy link

ghost commented May 17, 2020

Hi. When we can test this beta?

@ghollingworth
Copy link

Hi. When we can test this beta?

You have been told on a number of occasions that it's coming soon and requires an update to the firmware first. We will then add a message here which you will get as an email if you've subscribed. If you ask one more time I will block you from the organisation.

@raspberrypi raspberrypi deleted a comment May 17, 2020
@2play
Copy link

2play commented May 17, 2020

hi to all,
i get this checksum error
lib/firmware/raspberrypi/bootloader/beta/recovery.bin: FAILED
when I try to do -a update to the beta pieeprom-2020-05-15.bin
The recovery.bin with same date fails the test.
rip-update done also, apt update and upgrade.

Does this file needs updating so -a can work our end?

tx in advance and kind regards

@timg236
Copy link
Collaborator

timg236 commented May 18, 2020

Wait until the package is published

@LufyCZ
Copy link

LufyCZ commented May 18, 2020

hi to all,
i get this checksum error
lib/firmware/raspberrypi/bootloader/beta/recovery.bin: FAILED
when I try to do -a update to the beta pieeprom-2020-05-15.bin
The recovery.bin with same date fails the test.
rip-update done also, apt update and upgrade.

Does this file needs updating so -a can work our end?

tx in advance and kind regards

You can use -i to ignore checksum checks.

@Marcinoo97
Copy link

Will boot from type-c port on a dwc2 controller be possible?

@lurch
Copy link
Contributor

lurch commented May 18, 2020

Will boot from type-c port on a dwc2 controller be possible?

Just out of curiosity, why would you want to do that?

@timg236
Copy link
Collaborator

timg236 commented May 18, 2020

Will boot from type-c port on a dwc2 controller be possible?

no, at least not for anything except USB device boot and you wouldn't want to boot Linux from that it's very slow. It's really a Compute Module feature but will work if you power via the GPIO pins
https://github.com/raspberrypi/usbboot so it's kind of doable on a ModelB but not worth the hassle

@Marcinoo97
Copy link

Will boot from type-c port on a dwc2 controller be possible?

Just out of curiosity, why would you want to do that?

I'm using an OS with a broken xhci support and fixing it will take a long time. Only dwc2 works there.

@timg236
Copy link
Collaborator

timg236 commented May 18, 2020

Which OS?

U-boot already has working xHC which should be a good reference but is probably GPL. Although at least the standard is open and whilst large isn't that bad. The VLI implementation didn't really need much in the way of Pi specific quirks.

@Marcinoo97
Copy link

Windows 10

@raspberrypi raspberrypi deleted a comment from 2play May 19, 2020
@raspberrypi raspberrypi locked as off-topic and limited conversation to collaborators May 19, 2020
@timg236
Copy link
Collaborator

timg236 commented May 19, 2020

Locked until the software is released. As usual support questions should go to the forums first

@raspberrypi raspberrypi unlocked this conversation May 20, 2020
@timg236
Copy link
Collaborator

timg236 commented May 20, 2020

The beta firmware and bootloader releases are now available. Please see the announcement on the Raspberry Pi General forum.

https://www.raspberrypi.org/forums/viewtopic.php?t=274595&p=1663644#p1663644

Support questions should go to the forums first or bug reports in new specific Github issues. I'll close this bug once the release has made it out of beta.

@2play
Copy link

2play commented May 20, 2020

Thank you for the update

@KC-inDomus
Copy link

In the last release not i read "Promote the latest beta EEPROM and recovery.bin to stable and feature freeze USB MSD support until a production release is ready."

What you mean with "feature freeze USB MSD support until a production release is ready"?

@2play
Copy link

2play commented Jun 18, 2020

@KC-inDomus change to stable and update the firmware. its now officially published

@lurch
Copy link
Contributor

lurch commented Jun 18, 2020

See the "Firmware release status" section of https://www.raspberrypi.org/documentation/hardware/raspberrypi/booteeprom.md for more information.

@Misiu
Copy link

Misiu commented Jul 1, 2020

I'm a bit confused 😕
According to the docs:

USB boot is not currently supported. Once it is ready a beta release will be announced on the Raspberry Pi Forums.

Should the docs be updated? If the firmware is stable then it isn't a beta release and USB boot is officially supported.

@timg236
Copy link
Collaborator

timg236 commented Jul 1, 2020

From releases.md "N.B. Although the bootloader has now been promoted to a stable / feature-freeze release USB MSD should still be considered BETA software because this requires updates to the GPU firmware."

@pieter-groeneweg
Copy link

that IS confusing.
so how do we track the progress on the GPU firmware?

@timg236
Copy link
Collaborator

timg236 commented Jul 1, 2020

See earlier comment on this bug

"Support questions should go to the forums first or bug reports in new specific Github issues. I'll close this bug once the release has made it out of beta."

@goon818
Copy link

goon818 commented Jul 16, 2020

Hello, i use the raspberry pi 4 one with 4GB and one with 8GB RAM. The new function Boot from USB only working on the 4GB device. On the 8 GB device i get the message "card not detected." and four time "failed to open device "scard". I try the last stable and the last beta bootloader. I try it with the same USB Stick. On the 4GB it's runing and on the 8GB not. Could it be? What can i try to run it?

@Dark-Sky
Copy link

Dark-Sky commented Jul 16, 2020

Hello, i use the raspberry pi 4 one with 4GB and one with 8GB RAM. The new function Boot from USB only working on the 4GB device. On the 8 GB device i get the message "card not detected." and four time "failed to open device "scard". I try the last stable and the last beta bootloader. I try it with the same USB Stick. On the 4GB it's runing and on the 8GB not. Could it be? What can i try to run it?

Not sure what version you are running but the latest (Today's) my 8G is working ok with sdcard and usb boot with beta and the now stable had been working before that. Is what ever package with you distro that contains the .dat / .elf files that lives in /boot up to date?:

[ray@pi4 ~]$ sudo rpi-eeprom-update
BCM2711 detected
VL805 firmware in bootloader EEPROM
BOOTLOADER: up-to-date
CURRENT: Thu 16 Jul 2020 10:44:17 AM UTC (1594896257)
LATEST: Thu 16 Jul 2020 10:44:17 AM UTC (1594896257)
FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1

[ray@pi4 ~]$ free
total used free shared buff/cache available
Mem: 8013984 208340 7383176 24436 422468 7673320
Swap: 12020972 0 12020972
[ray@pi4 ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 14.5G 0 disk
├─sda1 8:1 1 213.6M 0 part /boot
└─sda2 8:2 1 14.3G 0 part /
zram0 254:0 0 11.5G 0 disk [SWAP]

@goon818
Copy link

goon818 commented Jul 16, 2020

[ray@pi4 ~]$ sudo rpi-eeprom-update
BCM2711 detected
VL805 firmware in bootloader EEPROM
BOOTLOADER: up-to-date
CURRENT: Thu 16 Jul 2020 10:44:17 AM UTC (1594896257)
LATEST: Thu 16 Jul 2020 10:44:17 AM UTC (1594896257)
FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000138a1

[ray@pi4 ~]$ free
total used free shared buff/cache available
Mem: 8013984 208340 7383176 24436 422468 7673320
Swap: 12020972 0 12020972
[ray@pi4 ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 14.5G 0 disk
├─sda1 8:1 1 213.6M 0 part /boot
└─sda2 8:2 1 14.3G 0 part /
zram0 254:0 0 11.5G 0 disk [SWAP]

Thank you for your help. I compare your and my bootloader version. i have the same. Then i go to raspi-config and try to change the bootloader option to usb. i get an error. The i use the command sudo rpi-eeprom-update again. After this reboot the system and after this i can change the boot option to usb and it's run. Without your answer i has not try it again. THX

@timg236
Copy link
Collaborator

timg236 commented Jul 16, 2020

Please post support questions on the forum. This Issue is about USB boot as a feature not for general support requests

@raspberrypi raspberrypi locked as off-topic and limited conversation to collaborators Jul 16, 2020
@timg236
Copy link
Collaborator

timg236 commented Sep 18, 2020

USB msd boot support is now available in the default bootloader version 2020-09-03

@timg236 timg236 closed this as completed Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request high prioritity
Projects
None yet
Development

No branches or pull requests