mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Belisko Marek <marek.belisko@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: command bootu to start kernel
Date: Fri, 29 Oct 2010 10:50:39 +0200	[thread overview]
Message-ID: <4CCA8ADF.2020209@pengutronix.de> (raw)
In-Reply-To: <AANLkTim_NDWXcHj7oPuaTMymHKVtMZCnmCKwVkKuLFBJ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2297 bytes --]

On 10/29/2010 10:45 AM, Belisko Marek wrote:
> HI Baruch,
> 
> On Fri, Oct 29, 2010 at 10:34 AM, Baruch Siach <baruch@tkos.co.il> wrote:
>> Hi Belisko,
>>
>> On Fri, Oct 29, 2010 at 10:20:46AM +0200, Belisko Marek wrote:
>>> I have 2.6.32 kernel but early_printk isn't available and I enable
>>> lowlevel debugging but
>>> don't get nothing else on console. Anyway thanks.
>>
>> Try this patch to see the low level console output:
>>
>> commit 5c31454464ed655401c31c68c895b16eafd2bde5
>> Author: Baruch Siach <baruch@tkos.co.il>
>> Date:   Mon Jan 19 10:41:47 2009 +0200
>>
>>    arm, printk: the famous printascii() hack
>>
>> diff --git a/kernel/printk.c b/kernel/printk.c
>> index 5052b54..d685f8a 100644
>> --- a/kernel/printk.c
>> +++ b/kernel/printk.c
>> @@ -685,6 +685,10 @@ asmlinkage int vprintk(const char *fmt, va_list args)
>>        /* Emit the output into the temporary buffer */
>>        printed_len += vscnprintf(printk_buf + printed_len,
>>                                  sizeof(printk_buf) - printed_len, fmt, args);
>> +       {
>> +               extern void printascii(const char *);
>> +               printascii(printk_buf);
>> +       }
>>
>>
>>        /*
>>
>> --
>>                                                     ~. .~   Tk Open Systems
>> =}------------------------------------------------ooO--U--Ooo------------{=
>>   - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>>
> Patch works like charm. Output from my kernel startup:
> 
> <5>Linux version 2.6.32-rc8 (open-nandra@linux) (gcc version 4.3.5
> (Buildroot 2010.08-rc1) ) #14 Fri Oct 29 10:40:20 CEST 2010
> CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
> CPU: VIVT data cache, VIVT instruction cache
> Machine: MINI2440
> Memory policy: ECC disabled, Data cache writeback
> <7>On node 0 totalpages: 0
> <1>bootmem alloc of 32768 bytes failed!
> <0>Kernel panic - not syncing: Out of memory

do you have a "MEM=32" on your command line?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2010-10-29  8:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 12:42 Belisko Marek
2010-10-27 13:33 ` Juergen Beisert
2010-10-27 13:54   ` Sascha Hauer
2010-10-27 14:03     ` Belisko Marek
2010-10-27 14:38     ` Juergen Beisert
2010-10-29  6:08       ` Belisko Marek
2010-10-29  7:49         ` Belisko Marek
2010-10-29  8:04           ` Marc Reilly
2010-10-29  8:20             ` Belisko Marek
2010-10-29  8:34               ` Baruch Siach
2010-10-29  8:45                 ` Belisko Marek
2010-10-29  8:50                   ` Marc Kleine-Budde [this message]
2010-10-29  9:04                     ` Belisko Marek
2010-10-29  9:12                       ` Marc Kleine-Budde
2010-10-29  9:21                         ` Belisko Marek
2010-10-29  9:26                           ` Marc Kleine-Budde
2010-10-29  9:30                             ` Uwe Kleine-König
2010-10-29  9:31                             ` Belisko Marek
2010-10-29 12:36                               ` Juergen Beisert
2010-11-02 13:53                                 ` Belisko Marek
2010-10-27 13:46 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CCA8ADF.2020209@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=marek.belisko@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox