You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used ubuntu 22.04 to build android 12, sdcard formatted using fdisk and partitions created as per the documentation. but only a black screen is showing and then blue screen. AOSP build and kernel build was successful. Also unable to get the log in minicom using the serial port as it is not booting.
Partition steps
jijith@jijith-Alienware-x14:/media/jijith/SSD/AndroidAutomotive12$ sudo fdisk /dev/sdb
[sudo] password for jijith:
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x9ba2256f
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 62332927 62330880 29.7G 7 HPFS/NTFS/exFAT
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): o
Created a new DOS disklabel with disk identifier 0x5ec62815.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62333951, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 62333951): +128M
Created a new partition 1 of type 'Linux' and of size 128 MiB.
Partition #1 contains a ntfs signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (264192-62333951, default 264192):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (264192-62333951, default 62333951): +1024M
Created a new partition 2 of type 'Linux' and of size 1 GiB.
Partition #2 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): n
Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3): 3
First sector (2361344-62333951, default 2361344):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2361344-62333951, default 62333951): +128M
Created a new partition 3 of type 'Linux' and of size 128 MiB.
Command (m for help): n
Partition type
p primary (3 primary, 0 extended, 1 free)
e extended (container for logical partitions)
Select (default e): p
Selected partition 4
First sector (2623488-62333951, default 2623488):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2623488-62333951, default 62333951):
Created a new partition 4 of type 'Linux' and of size 28.5 GiB.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x5ec62815
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 264191 262144 128M 83 Linux
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux
Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.
Command (m for help): a
Partition number (1-4, default 4): 1
The bootable flag on partition 1 is enabled now.
Command (m for help): t
Partition number (1-4, default 4): 1
Hex code or alias (type L to list all): 0c
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x5ec62815
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 264191 262144 128M c W95 FAT32 (LBA)
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux
Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.
Command (m for help): w
The partition table has been altered.
Syncing disks.
The text was updated successfully, but these errors were encountered:
Used ubuntu 22.04 to build android 12, sdcard formatted using fdisk and partitions created as per the documentation. but only a black screen is showing and then blue screen. AOSP build and kernel build was successful. Also unable to get the log in minicom using the serial port as it is not booting.
Partition steps
jijith@jijith-Alienware-x14:/media/jijith/SSD/AndroidAutomotive12$ sudo fdisk /dev/sdb
[sudo] password for jijith:
Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x9ba2256f
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 62332927 62330880 29.7G 7 HPFS/NTFS/exFAT
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): o
Created a new DOS disklabel with disk identifier 0x5ec62815.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62333951, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 62333951): +128M
Created a new partition 1 of type 'Linux' and of size 128 MiB.
Partition #1 contains a ntfs signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (2-4, default 2): 2
First sector (264192-62333951, default 264192):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (264192-62333951, default 62333951): +1024M
Created a new partition 2 of type 'Linux' and of size 1 GiB.
Partition #2 contains a ext4 signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): n
Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (3,4, default 3): 3
First sector (2361344-62333951, default 2361344):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2361344-62333951, default 62333951): +128M
Created a new partition 3 of type 'Linux' and of size 128 MiB.
Command (m for help): n
Partition type
p primary (3 primary, 0 extended, 1 free)
e extended (container for logical partitions)
Select (default e): p
Selected partition 4
First sector (2623488-62333951, default 2623488):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2623488-62333951, default 62333951):
Created a new partition 4 of type 'Linux' and of size 28.5 GiB.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x5ec62815
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 264191 262144 128M 83 Linux
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux
Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.
Command (m for help): a
Partition number (1-4, default 4): 1
The bootable flag on partition 1 is enabled now.
Command (m for help): t
Partition number (1-4, default 4): 1
Hex code or alias (type L to list all): 0c
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
Command (m for help): p
Disk /dev/sdb: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Disk model: SD/MMC CRW
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: dos
Disk identifier: 0x5ec62815
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 264191 262144 128M c W95 FAT32 (LBA)
/dev/sdb2 264192 2361343 2097152 1G 83 Linux
/dev/sdb3 2361344 2623487 262144 128M 83 Linux
/dev/sdb4 2623488 62333951 59710464 28.5G 83 Linux
Filesystem/RAID signature on partition 1 will be wiped.
Filesystem/RAID signature on partition 2 will be wiped.
Command (m for help): w
The partition table has been altered.
Syncing disks.
The text was updated successfully, but these errors were encountered: