Hi,
I am using jetson Tx2 device,i have one primary partition and other recovery partition.
primary partition - mmcblk0p1
recovery_partition - mmcblkp33
both the partition have its own image.
I want to boot from recovery partition,what changes i will do in /boot/extlinux/extlinux.conf file for recovery partition.
Any help will will be appropriated.
do i need to change APPEND {cbootargs} for mmcblk0p33.?
If that is a system image which includes a rootfs. Then try to add root=/dev/mmcblk0p33 to your kernel cmdline (extlinux.conf).
see i have made two conf file…
extlinux_pri.conf it has mmcbl0p1
extlinux_rec.conf it has mmcblk0p33
extlinux_pri.conf contains:
IMEOUT 30
DEFAULT primary
LABEL primary
MENU LABEL primary kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND quiet ${cbootargs} root=/dev/mmcblk0p1 rw rootwait sdhci_tegra.en_boot_part_access=1 mem=4070M
=============
extlinux_rec.conf contains:
TIMEOUT 30
DEFAULT recovery
LABEL recovery
MENU LABEL recovery kernel
LINUX /boot/Image
INITRD /boot/initrd
APPEND ${cbootargs} quiet root=/dev/mmcblk0p33 rw rootwait sdhci_tegra.en_boot_part_access=1 mem=4070M
===============
i am not able to boot from recovery partition…this cbootargs only picking mmcblk0p1 only can you please tell how i can select recovery_partition using cbootargs.
Dump your bootloader log from uart first.
if i do cat /proc/cmdline i get below logs
console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmwaa
re root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 consoll
e=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 video=tegrafb no_console_suspend==
1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x1772e0000 gpt usbcore.oo
ld_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvall
ues=0.2031647.1 bl_prof_dataptr=0x10000@0x175840000 sdhci_tegra.en_boot_part_accc
ess=1 quiet root=/dev/mmcblk0p33 rw rootwait sdhci_tegra.en_boot_part_access=1 mm
em=4070M root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8
console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2
================
i dont know why this mmcblk0p1 has not changed to mmcbl0p33…can you please help here…
But the root dev mmcblk0p33 already showed in cmdline. Just got overwrite in the end.
if you will see this after overwrite mmcblk0p33 again it is over written by mmcblk0p1
root=/dev/mmcblk0p33 rw rootwait sdhci_tegra.en_boot_part_access=1 mm
em=4070M root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8
console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2
why it is taking again mmcblk0p1?
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
That is why I asked to dump the full uart log. I am not knowing everything here so need you to provide log so that we may be able to find some clues.