New issue
Advanced search Search tips

Issue 715162 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

recovery: debugging Recovery is too hard

Project Member Reported by jclinton@chromium.org, Apr 25 2017

Issue description

I created a doc that describes all of the pain that is involved with debugging a Recovery image failure:

https://docs.google.com/document/d/1DTN-s0TwD-G1kjD66HQFnvQvuc1fT1Yvr3ScUCGB940/edit

Even a two page document doesn't include debugging signing and verification debugging.

The short version is:
 * Get serial console working in a test image, discovery ttyS# port
 * Hack mod_image_for_recovery.sh to enable serial for this port
 * Hack initramfs/recovery/init to send output to console
 * Rebuild, flash, and boot Recovery on hardware

Related, testing in a VM is broken: https://bugs.chromium.org/p/chromium/issues/detail?id=714774

Action items:

 1. Make passing serial console flags and USE flags to mod_image_for_recovery.sh possible.
 2. Investigate sending init console output to console by default (or optionally).
 
Labels: Hotlist-GoodFirstBug

Comment 2 by sjg@chromium.org, Apr 25 2017

Cc: sjg@chromium.org
Can you turn this bug into a specific thing to do? Are you suggesting a --enable-serial flag to mod_image_for_recovery.sh, for example?
Description: Show this description
Done.

Comment 5 by vapier@chromium.org, Apr 25 2017

Cc: hungte@chromium.org vapier@chromium.org

Sign in to add a comment