From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932923AbbJ3WFh (ORCPT ); Fri, 30 Oct 2015 18:05:37 -0400 Received: from casper.infradead.org ([85.118.1.10]:47828 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481AbbJ3WFg (ORCPT ); Fri, 30 Oct 2015 18:05:36 -0400 Subject: Re: [RFC][PATCH] Oops messages transfer using QR codes To: Murtaza Alexandru , linux-kernel@vger.kernel.org References: <1446217392-11981-1-git-send-email-alexandru.murtaza@intel.com> Cc: teodora.baluta@intel.com, levex@linux.com, dirk.hohndel@intel.com, h.peter.anvin@intel.com From: Randy Dunlap X-Enigmail-Draft-Status: N1110 Message-ID: <5633E9A9.3000605@infradead.org> Date: Fri, 30 Oct 2015 15:05:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446217392-11981-1-git-send-email-alexandru.murtaza@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/15 08:03, Murtaza Alexandru wrote: > This patch is continued from this previous RFC: > https://lkml.org/lkml/2014/3/17/525 > > --- > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index ab76b99..822fe7d 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -15,6 +15,23 @@ config PRINTK_TIME > The behavior is also controlled by the kernel command line > parameter printk.time=1. See Documentation/kernel-parameters.txt > > +config QR_OOPS > + bool "Display QR barcode for Oops messages for debugging purposes" > + depends on PRINTK && FB > + select QRLIB > + select ZLIB_DEFLATE > + select ZLIB_INFLATE > + select FB_CFB_FILLRECT > + select REED_SOLOMON > + select REED_SOLOMON_ENC8 > + help > + Selecting this option makes printk() calls to accumulate > + the Oops messages in a buffer, compresses the message > + and prints the OR to the frame buffer device. ? QR > + > + This is an experimental feature at the moment. > + > + -- ~Randy