diff --git a/board/nm/netbird/board.c b/board/nm/netbird/board.c index 5b592ec1b5..b2350794cb 100644 --- a/board/nm/netbird/board.c +++ b/board/nm/netbird/board.c @@ -400,7 +400,7 @@ int board_late_init(void) boot_partition = 0; } - /* mmcblk0p1 => root0, mmcblk0p2 => root1 so +1 */ + /* mmcblk1p1 => root0, mmcblk1p2 => root1 so +1 */ setenv_ulong("root_part", boot_partition + 1); check_reset_button(); diff --git a/board/nm/netbird_v2/board.c b/board/nm/netbird_v2/board.c index 283b8bd151..66d92f77f3 100644 --- a/board/nm/netbird_v2/board.c +++ b/board/nm/netbird_v2/board.c @@ -665,7 +665,7 @@ int board_late_init(void) boot_partition = 0; } - /* mmcblk0p1 => root0, mmcblk0p2 => root1 so +1 */ + /* mmcblk1p1 => root0, mmcblk1p2 => root1 so +1 */ setenv_ulong("root_part", boot_partition + 1); check_reset_button(); diff --git a/board/nm/nrhw20/board.c b/board/nm/nrhw20/board.c index 19a492caa8..2326bd017b 100644 --- a/board/nm/nrhw20/board.c +++ b/board/nm/nrhw20/board.c @@ -579,7 +579,7 @@ static void set_root_partition(void) boot_partition = 0; } - /* mmcblk0p1 => root0, mmcblk0p2 => root1 so +1 */ + /* mmcblk1p1 => root0, mmcblk1p2 => root1 so +1 */ setenv_ulong("root_part", boot_partition + 1); } diff --git a/board/nm/nrhw24/board.c b/board/nm/nrhw24/board.c index 8a80ba3299..bf163ca0e7 100644 --- a/board/nm/nrhw24/board.c +++ b/board/nm/nrhw24/board.c @@ -601,7 +601,7 @@ static void set_root_partition(void) boot_partition = 0; } - /* mmcblk0p1 => root0, mmcblk0p2 => root1 so +1 */ + /* mmcblk1p1 => root0, mmcblk1p2 => root1 so +1 */ setenv_ulong("root_part", boot_partition + 1); } diff --git a/include/configs/am335x_netbird.h b/include/configs/am335x_netbird.h index 7ace4f6a51..e8aa24f724 100644 --- a/include/configs/am335x_netbird.h +++ b/include/configs/am335x_netbird.h @@ -49,7 +49,7 @@ "kernel_addr=0x80000000\0" \ "load_addr=0x83000000\0" \ "root_part=1\0" /* Default root partition, overwritte in board/mv_ebu/a38x/nbhw14_env.c */ \ - "add_sd_bootargs=setenv bootargs $bootargs root=/dev/mmcblk0p$root_part rootfstype=ext4 console=ttyO0,115200 rootwait earlyprintk\0" \ + "add_sd_bootargs=setenv bootargs $bootargs root=/dev/mmcblk1p$root_part rootfstype=ext4 console=ttyO0,115200 rootwait earlyprintk\0" \ "add_version_bootargs=setenv bootargs $bootargs\0" \ "fdt_skip_update=yes\0" \ "ethprime=cpsw\0" \