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

Cant able to boot #15

Open
skand24 opened this issue Apr 29, 2020 · 3 comments
Open

Cant able to boot #15

skand24 opened this issue Apr 29, 2020 · 3 comments

Comments

@skand24
Copy link

skand24 commented Apr 29, 2020

Hello RPI Team,
I've followed the steps what you have given but cant able to boot after flashed
Steps :
repo init "<>"
repo sync
and after source build/envsetup.h
lunch rpi3-eng
m -j

For flashing ( 16 GB Memory Card , RPI 3 b)
sudo OUT=${ODUT} device/brobwind/rpi3/boot/create_partition_table.sh /dev/mmcblk0

=> 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, 0.82448 s, 1.3 MB/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, 1.0497 s, 4.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.0274771 s, 149 kB/s
=> Dump partition table ....
Disk /dev/mmcblk0: 31457280 sectors, 15.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1A3759E8-34C4-46C8-973A-0458C3E53503
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31457246
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 31457246 12.7 GiB FFFF userdata
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A E6200AF6-8D7A-480D-A503-B5F9DF23A7CF rpiboot
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A EE549E6A-E297-4582-B818-47809B3B790A uboot_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 70BE1004-865C-4D77-8B78-0D50ABDE904C uboot_b
PART: BB499290-B57E-49F6-BF41-190386693794 CDA49718-FFD0-4A43-918B-F0032B490F30 boot_a
PART: BB499290-B57E-49F6-BF41-190386693794 D2F6E2E3-8060-43C9-9AEA-32D0A9291A48 boot_b
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 38DF6868-58A6-4D21-8B8B-3A846A37435A system_a
PART: 0F2778C4-5CC1-4300-8670-6C88B7E57ED6 DAAD888C-9A41-4EC0-82D4-1FFED2000D78 system_b
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC F646DE1F-7ACA-4EDF-A012-A0C4DF19227E vbmeta_a
PART: B598858A-5FE3-418E-B8C4-824B41F4ADFC F4C908F2-6893-425E-97B5-BC63DF55AE54 vbmeta_b
PART: 6B2378B0-0FBC-4AA9-A4F6-4D6E17281C47 87EE8F3F-F749-4D37-A7F6-DCEC2A309CFE misc
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A BE063939-9182-4EC9-A325-E30705719366 vendor_a
PART: 314F99D5-B2BF-4883-8D03-E2F2CE507D6A 4AC3550F-BC7F-4E14-83B9-BF461B33EAB6 vendor_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 F30FE960-876E-4D65-82AB-7A3C36CBF58E oem_bootloader_a
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 5286E610-086B-4C8E-B5C2-DC5E8322BE8F oem_bootloader_b
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 46A6534D-A4E6-4BCA-AB39-968010F7AB45 frp
PART: AA3434B2-DDC3-4065-8B1A-18E99EA15CB7 59C49B62-0473-4860-810A-3359A2184282 swap
PART: 0BB7E6ED-4424-49C0-9372-7FBAB465AB4C 193E9404-0649-4A64-85FC-7C7A1437D67D userdata


After flashing ....

Disk /dev/mmcblk0: 15 GiB, 16106127360 bytes, 31457280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1A3759E8-34C4-46C8-973A-0458C3E53503

Device Start End Sectors Size Type
/dev/mmcblk0p1 40 131111 131072 64M unknown
/dev/mmcblk0p2 131112 133159 2048 1M unknown
/dev/mmcblk0p3 133160 135207 2048 1M unknown
/dev/mmcblk0p4 135208 200743 65536 32M unknown
/dev/mmcblk0p5 200744 266279 65536 32M unknown
/dev/mmcblk0p6 266280 1597479 1331200 650M unknown
/dev/mmcblk0p7 1597480 2928679 1331200 650M unknown
/dev/mmcblk0p8 2928680 2928807 128 64K unknown
/dev/mmcblk0p9 2928808 2928935 128 64K unknown
/dev/mmcblk0p10 2928936 2930983 2048 1M unknown
/dev/mmcblk0p11 2930984 3455271 524288 256M unknown
/dev/mmcblk0p12 3455272 3979559 524288 256M unknown
/dev/mmcblk0p13 3979560 3987751 8192 4M unknown
/dev/mmcblk0p14 3987752 3995943 8192 4M unknown
/dev/mmcblk0p15 3995944 4000039 4096 2M unknown
/dev/mmcblk0p16 4000040 4786471 786432 384M unknown
/dev/mmcblk0p17 4786472 31457246 26670775 12.7G unknown

All partitions are unknown and there is no partitions which is having boot flags

Please tell me what I am doing wrong and do i need to anything extra

@brobwind
Copy link
Owner

brobwind commented Apr 30, 2020

Uses "sudo OUT=${OUT} device/brobwind/rpi3/boot/create_partition_table.sh /dev/mmcblk0" or "sudo -E device/brobwind/rpi3/boot/create_partition_table.sh /dev/mmcblk0" command

@skand24
Copy link
Author

skand24 commented May 1, 2020

Hi Team,

Thanks for the support and quick response.
Happy to say, we could able to boot it and faster with class 10 32GB memory card.

Earlier we used class 4, 16GB memory card, may be slow read write it might work slow.

Also, create partition table script did not work is due to out directory is not echo in terminal. We figured out and execute source/envsetup.sh and lunch after that out dir set to terminal.
Further we ran the partition script it worked fine.

But our computer not detecting adb devices and we don't the reason. Even in the developer setting we enabled usb debugging as well but still not detected.

Instead we connected over adb connect with IP address.

Note:
The power is given to raspberry from computer and expected to detect the adb device.
Team please help us to fixing this issue

@brobwind
Copy link
Owner

brobwind commented May 2, 2020

The micro USB port is only for power supply not for USB function.

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

2 participants