WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: possible to Boot piZero 2W from USB key !!!  (Read 1056 times)

Offline Pengo

  • Newbie
  • *
  • Posts: 27
possible to Boot piZero 2W from USB key !!!
« on: November 30, 2021, 01:23:37 AM »
Just found out that it is possible to boot your piZero 2W from USB key

1) download & install raspberry OS and boot
2) copy /boot/bcm2710-rpi-3-b.dtb to /boot/bcm2710-rpi-zero-2.dtb
3) add 'program_usb_boot_mode=1' to /boot/config.txt
4) reboot raspberry OS

5) now you can dd whatever image you want to your USB key and it will boot (I tried with picore 3.1.0 img)

Obviously you'll have to use an OTG cable and you might want to remove the sdcard

« Last Edit: November 30, 2021, 01:26:52 AM by Pengo »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1013
Re: possible to Boot piZero 2W from USB key !!!
« Reply #1 on: November 30, 2021, 06:49:35 AM »
It should support all boot modes supported as the RPI3

Note: that the current kernel in piCore does not properly handle Gadget mode on the Zero2W.   This feature is a late addition to the kernels at rpi, and might still have some debuggging.