From patchwork Wed Aug 15 17:23:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 177747 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 937A42C0087 for ; Thu, 16 Aug 2012 03:23:19 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B1A4E28186; Wed, 15 Aug 2012 19:23:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t6LUPpM9Ph7I; Wed, 15 Aug 2012 19:23:17 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B8F9628171; Wed, 15 Aug 2012 19:23:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C09BE2814C for ; Wed, 15 Aug 2012 19:23:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0yatrqHrYMGs for ; Wed, 15 Aug 2012 19:23:15 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pb0-f44.google.com (mail-pb0-f44.google.com [209.85.160.44]) by theia.denx.de (Postfix) with ESMTPS id 116B128138 for ; Wed, 15 Aug 2012 19:23:13 +0200 (CEST) Received: by pbbrr4 with SMTP id rr4so125827pbb.3 for ; Wed, 15 Aug 2012 10:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer; bh=Ba7++LsRdGeG3nIEv2VxUlNCjvV5m3lFTuBrXmtwK+4=; b=QIKm5sOjH79D7qtJNI9qkOhzv3YijD3Steo9dezF/JhGYIdczUDL9mzlI4CoHeKWE2 yQYgzC9NnLOF1LTPd8XrFCc3AymXeB/fqFu0CYRAHBqGnQ8fbVda16NSh024hgarbZDy zSgu3E2RInas4SFa7OEHPouOSnmVfOGi8aVvcrivdH9UVyfudnmqoueDsHX2+6j59TJx QLKD24FQ0kYCrLiY7lTHAD8D0H8ZjZSQ7f3UDThgIgpWnA/mioX0R5Kp4Le77PHqHcZe m4dhN7d14HYBKolCtN3XlX4ojmVKTkIqBJH2X9y+kSy86HaTR1wMnOeDvV6yefsvUuOa 6CHQ== Received: by 10.66.81.66 with SMTP id y2mr282051pax.62.1345051391899; Wed, 15 Aug 2012 10:23:11 -0700 (PDT) Received: from localhost.localdomain (ip68-230-54-74.ph.ph.cox.net. [68.230.54.74]) by mx.google.com with ESMTPS id pj3sm795050pbc.53.2012.08.15.10.23.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2012 10:23:11 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Wed, 15 Aug 2012 10:23:20 -0700 Message-Id: <1345051401-6104-1-git-send-email-trini@ti.com> X-Mailer: git-send-email 1.7.9.5 Subject: [U-Boot] [PATCH 1/2] README.SPL: Add a small Debugging section X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Tom Rini --- doc/README.SPL | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/README.SPL b/doc/README.SPL index e4a5ac3..bd375a0 100644 --- a/doc/README.SPL +++ b/doc/README.SPL @@ -78,3 +78,10 @@ an SPL CPU in boards.cfg as follows: This this case CPU will be set to "normal_cpu" during the main u-boot build and "spl_cpu" during the SPL build. + + +Debugging +--------- + +When building SPL with DEBUG set you may also need to set CONFIG_PANIC_HANG +as in most cases do_reset is not defined within SPL.