From: slash.tmp@free.fr (Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: ARCH_MULTIPLATFORM + ARM_APPENDED_DTB + custom boot-loader
Date: Thu, 26 Nov 2015 17:53:11 +0100 [thread overview]
Message-ID: <565738F7.1060204@free.fr> (raw)
Hello,
I'm using an ARCH_MULTIPLATFORM kernel with an appended DTB.
I make a uImage out of this zImage+DTB.
On my board, U-Boot passes control to Linux, which boots correctly.
But when I replace U-Boot with a custom boot-loader, Linux tries
to boot some kind of "Generic DT based system" rather than the DT
I appended.
In fact, my setup code is:
static const char *const tango_dt_compat[] = { "sigma,tango4", NULL };
DT_MACHINE_START(TANGO_DT, "Sigma Tango DT")
.dt_compat = tango_dt_compat,
.l2c_aux_mask = ~0,
.l2c_write_sec = tango_l2c_write,
MACHINE_END
When I boot with U-Boot, in the early stage, the kernel prints
[ 0.000000] Machine model: Sigma Designs SMP8758 Vantage-1172 Rev E1
(that's my model property)
But when I boot with the custom boot-loader, it just prints
[ 0.000000] Machine: Sigma Tango DT
(and fails quickly since there are no clocks)
Does someone know what's going on? I thought the ARM_APPENDED_DTB
option was supposed to make DT handling transparent to boot-loaders?
This discussion may be relevant:
https://github.com/raspberrypi/linux/issues/381
Regards.
next reply other threads:[~2015-11-26 16:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-26 16:53 Mason [this message]
2015-11-26 17:10 ` ARCH_MULTIPLATFORM + ARM_APPENDED_DTB + custom boot-loader Mason
2015-11-26 17:14 ` Russell King - ARM Linux
2015-11-26 17:34 ` Mason
2015-11-26 17:18 ` Nicolas Pitre
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=565738F7.1060204@free.fr \
--to=slash.tmp@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).