bootcode.bin cannot load files when loaded from a GPT drive
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- raspberry-pi
- Domain
- embedded-iot, operating-systems
Research direction
Start by reproducing the boot from the described GPT drive on a Raspberry Pi 3, both with and without another USB peripheral attached. Focus on bootcode.bin loading from the EFIESP partition and whether config.txt is subsequently read. Done means the system proceeds past the rainbow screen and loads the expected configuration in all reported USB-device combinations.
Written by the indexing model from the issue text.
Description
I'm using commit 1a717bb3efc7f4751d8c1839f8d48111a89958f8 from the next branch.
I'm trying to boot from an external hard drive, that is partitioned as GPT. When I have another USB device connected (can be anything, mouse, keyboard, game controller), bootcode loads from the hard drive's EFIESP partition, the rainbow splash appeares, but the green led starts blinking, and nothing more happens. I tried disabling the rainbow screen in config.txt, but it did not have any effect, so seems like it's not loaded at all.
Drive is a Western Digital My Passport Ultra (1TB), partitioned using Windows' diskpart.
Bus 004 Device 002: ID 1058:0837 Western Digital Technologies, Inc.
No ext4 partition was added yet.
Partition table shown by gdisk:
Command (? for help): p
Disk /dev/sdc: 1953458176 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953458142
Partitions will be aligned on 8-sector boundaries
Total free space is 4029 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved ...
2 264192 1288191 500.0 MiB EF00 EFI system partition
3 1288192 1953456127 930.9 GiB 0700 Basic data partition
Command (? for help):
Device is a Raspberry Pi 3 Model B V1.2
Also note that bootcode.bin won't get loaded if the only attached USB peripheral is the external HDD.
- Dominant language
- No language data
- Stars
- 5.6k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/firmware
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
raspberrypi/firmware#2042 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/firmware#2040 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
raspberrypi/firmware#2039 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
raspberrypi/firmware#2038 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
raspberrypi/firmware#2037 · 4 comments ·
All issues in raspberrypi/firmware
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
espressif/esp-iot-solution#786 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100