Skip to content

Commit

Permalink
K3: Use sfdisk instead of parted for setting flag in boot partition
Browse files Browse the repository at this point in the history
The latest 'parted' package that is shipped with Ubuntu noble does not
allow to set the 'lba' flag on MBR/DOS partitions and fails with an
error. Use 'sfdisk' instead for the same.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
  • Loading branch information
glneo authored and igorpecovnik committed Jan 8, 2025
1 parent 35ec913 commit ef0a4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/sources/families/k3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function post_create_partitions() {

function format_partitions() {
# ROM is very particular about partition IDs
run_host_command_logged parted ${LOOP} set 1 lba on
run_host_command_logged sfdisk --part-type ${LOOP} 1 e
}

function write_uboot_platform() {
Expand Down

0 comments on commit ef0a4a3

Please sign in to comment.