documentation icon indicating copy to clipboard operation
documentation copied to clipboard

autoboot.adoc does not sufficiently explain the auto/tryboot mechanism

Open beartronix opened this issue 2 years ago • 4 comments

Hello, sorry if I'm making any formal mistakes. This is my first Issue report.

My problems with autoboot.adoc are:

  1. TRYBOOT link is dead (raspberry-pi.adoc does not exist anymore)
  2. Why is there no connection to cmdline.txt? after all, the root partition selection happens there! How can it not have an influence on tryboot?
  3. How does the partition numbering in autoboot.txt work? does it start with 0 or 1?

In autoboot.adoc, it would be nice to see the partition layout of the "example" code (boot_partitions 2 and 3).

I assume I never got into tryboot mode (only trying secondary rootfs for now, with tryboot_a_b=1); the files in /proc/device-tree/chosen/bootloader are empty.

Is it possible to complement autoboot.adoc with information how it connects to other mechanisms in the boot process (and answers to my questions above)?

Thank you for reading and best regards, Stefan

Edit: I'm using Raspberry PI OS (32 bit). Does this only work for NOOBS/PINN?

beartronix avatar Jul 24 '23 06:07 beartronix

ping @timg236 - I believe this is your area of expertise?

lurch avatar Jul 26 '23 07:07 lurch

~@jehlers42 can you follow up on this one? Thanks!~

aallan avatar Aug 25 '23 14:08 aallan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 26 '23 02:11 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 28 '24 02:01 github-actions[bot]