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

Unable to flash a second time #13

Open
lornova opened this issue Oct 24, 2019 · 0 comments
Open

Unable to flash a second time #13

lornova opened this issue Oct 24, 2019 · 0 comments

Comments

@lornova
Copy link

lornova commented Oct 24, 2019

After the build I flashed an SD card.

When I try to flash the card again (or another SD card) the script exits very quickly with the output below.

What's the cause?

$ sudo OUT=${OUT} device/brobwind/rpi3/boot/create_partition_table.sh /dev/sde
=> Destroy partition table ...
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
=> Install GPT partition table ...
=> Install hybrid MBR partition table ...
=> Install images ....
=> Install: misc(device/brobwind/rpi3/boot/images/misc.img) image ...
2048+0 records in
2048+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 1.11514 s, 940 kB/s
=> Install: oem_bootloader_a(device/brobwind/rpi3/boot/images/oem_bootloader_a.img) image ...
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 2.10722 s, 2.0 MB/s
=> Install: userdata(device/brobwind/rpi3/boot/images/zero_4k.bin) image ...
8+0 records in
8+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00282697 s, 1.4 MB/s
=> Dump partition table ....
Disk /dev/sde: 62521344 sectors, 29.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 300423F2-580B-4F66-89B4-5843743E5E9D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 62521310
Partitions will be aligned on 8-sector boundaries
Total free space is 6 sectors (3.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 40 131111 64.0 MiB FFFF rpiboot
2 131112 133159 1024.0 KiB FFFF uboot_a
3 133160 135207 1024.0 KiB FFFF uboot_b
4 135208 200743 32.0 MiB FFFF boot_a
5 200744 266279 32.0 MiB FFFF boot_b
6 266280 1597479 650.0 MiB FFFF system_a
7 1597480 2928679 650.0 MiB FFFF system_b
8 2928680 2928807 64.0 KiB FFFF vbmeta_a
9 2928808 2928935 64.0 KiB FFFF vbmeta_b
10 2928936 2930983 1024.0 KiB FFFF misc
11 2930984 3455271 256.0 MiB FFFF vendor_a
12 3455272 3979559 256.0 MiB FFFF vendor_b
13 3979560 3987751 4.0 MiB FFFF oem_bootloader_a
14 3987752 3995943 4.0 MiB FFFF oem_bootloader_b
15 3995944 4000039 2.0 MiB FFFF frp
16 4000040 4786471 384.0 MiB FFFF swap
17 4786472 62521310 27.5 GiB FFFF userdata
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 58DCEFFE-11CB-4793-8CBD-B1873747626B rpiboot
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A E52BF61D-4914-4F2F-9768-F08CDD9DF904 uboot_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 17841D7D-2B7A-418C-8BBD-3E9762D7F3C7 uboot_b
PART: BB499290-B57E-49F6-BF41-190386693794 B0C780C0-11FB-4BB1-A941-EF0FCA9D0657 boot_a
PART: BB499290-B57E-49F6-BF41-190386693794 E170383C-5AE0-4304-A458-E1FC80A6D942 boot_b
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 2BEFE2F1-5579-47F1-8CDA-997CF5A59805 system_a
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 4A71F544-56F8-4166-B550-E2144261F305 system_b
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC 0FCFDBBF-BAF6-4D44-9DBE-8D295782651D vbmeta_a
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC A6E13B71-5BC9-4D73-866C-F4D63355E4C0 vbmeta_b
PART: 6B2378B0-0FBC-4AA9-A4F6-4D6E17281C47 5C7A4647-5C13-4AA3-B0DF-3C6929C627DA misc
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 5B450E58-CAED-4095-BF52-0B02D6865B22 vendor_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 93086839-CF56-4E21-9F56-6A5131799CE1 vendor_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 B513191E-63B0-4F42-A02B-8F350B490D8C oem_bootloader_a
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 67B9FC5D-FBFD-4CCE-B938-8DFB8CA8BFD1 oem_bootloader_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 A4994273-7C7F-402D-BF24-081985999619 frp
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 EABA5D26-3934-4EE7-9605-E6050B3FEF2D swap
PART: 0BB7E6ED-4424-49C0-9372-7FBAB465AB4C 35045F08-6973-4F0C-B58B-83F468E97908 userdata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant