From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752617AbeDRPN0 (ORCPT ); Wed, 18 Apr 2018 11:13:26 -0400 Received: from ozlabs.org ([203.11.71.1]:37417 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbeDRPNZ (ORCPT ); Wed, 18 Apr 2018 11:13:25 -0400 Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Mathieu Malaterre , Christophe LEROY Cc: Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev , LKML Subject: Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION In-Reply-To: References: <20180417104909.22D416C07D@po15720vm.idsi0.si.c-s.fr> <48cdb73c-f0c4-0c8a-19f5-8fce000e7050@c-s.fr> Date: Thu, 19 Apr 2018 01:13:18 +1000 Message-ID: <87fu3spmy9.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mathieu Malaterre writes: > On Wed, Apr 18, 2018 at 8:34 AM, Christophe LEROY ... > >> Can you also provide a copy of the messages you can see (prom_init ...) when >> boot is ok ? > > Hum. I've always been interested in seeing it also myself. Is there a > way to setup env to see those message (netconsole, delayed boot > messages ...) ? I never found a clear documentation on how to do that > on (closed) Apple hardware. If you see nothing after prom_init it usually indicates the kernel died very early in boot before it could find the console. The only option then is to enable one of the hard-coded EARLY_DEBUG options. I don't know which one works on a G4, maybe CONFIG_PPC_EARLY_DEBUG_BOOTX ? I assume it doesn't have a serial port. cheers