Hello, On Thu, Apr 2, 2015 at 12:23 PM, Dmitry Eremin-Solenikov <dmitry_ere...@mentor.com> wrote: > Add a tiny simple debug script that will mount all available virtual > file systems and then execute a shell. > > Signed-off-by: Dmitry Eremin-Solenikov <dmitry_ere...@mentor.com>
I think this is easy to be accomplished with a module for initramfs-framework[1]. 1. http://git.openembedded.org/openembedded-core/tree/meta/recipes-core/initrdscripts When we designed it at O.S. Systems we tried to make it very easy to extend and we use it with some products with good success. It also includes a debug module which allow for fancy stuff like to support to dynamic debugging of initramfs using bootparam in following format: shell : starts a shell before and after each module shell=before:<module> : starts a shell before <module> is loaded and run shell=after:<module> : starts a shell after <module> is loaded and run shell-debug : run set -x as soon as possible shell-debug=before:<module> : run set -x before <module> is loaded and run shell-debug=after:<module> : run set -x after <module> is loaded and run The missing aspect is the debugfs which is not mounted but could be added as a module. Please take a look on it as avoid work duplication is a health effort :) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel