From: Johann Obermayr <johann.obermayr@sigmatek.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] use CONFIG_PRE_CONSOLE_BUFFER
Date: Wed, 13 Aug 2014 11:37:21 +0200 [thread overview]
Message-ID: <53EB31D1.4050103@sigmatek.at> (raw)
Hello,
i will use CONFIG_PRE_CONSOLE_BUFFER and have some trouble.
myboard.h
#define CONFIG_PRE_CONSOLE_BUFFER
#define CONFIG_PRE_CON_BUF_SZ 4096
#ifndef __ASSEMBLY__
extern char preConsoleBuffer[] __attribute__ ((section(".data")));
#define CONFIG_PRE_CON_BUF_ADDR preConsoleBuffer
#endif
myboard.c
char preConsoleBuffer[ CONFIG_PRE_CON_BUF_SZ ] __attribute__
((section(".data")));
int board_init()
{
.....
console_init_f();
.....
}
u-boot/arch/arm/lib/board.c
remove console_init_f(); from init_sequence list.
after this changes, u-boot will hang.
use u-boot v2013-04 on arm i.mx6 (Freescale)
Best Regards
Johann
next reply other threads:[~2014-08-13 9:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 9:37 Johann Obermayr [this message]
2014-09-01 5:14 ` [U-Boot] use CONFIG_PRE_CONSOLE_BUFFER Simon Glass
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=53EB31D1.4050103@sigmatek.at \
--to=johann.obermayr@sigmatek.at \
--cc=u-boot@lists.denx.de \
/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