public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [ARMv8] kernel entry point
Date: Mon, 6 May 2019 09:28:34 -0400	[thread overview]
Message-ID: <20190506132834.GR31207@bill-the-cat> (raw)
In-Reply-To: <VI1PR0401MB24962A70CD3D191E015285F6F1300@VI1PR0401MB2496.eurprd04.prod.outlook.com>

On Mon, May 06, 2019 at 01:06:45PM +0000, Pankaj Bansal wrote:

> Hi Tom et. Al,
> 
> I am facing an issue while booting linux on our ARMv8 based platform.
> In our platform DDR address starts from 0x80000000.
> If I make the linux kernel entry point 0x80080000 in mkimage, then linux boots fine.
> BUT, if I make the linux image entry point as 0x81000000 in mkimage, the kernel doesn't boot.
> 
> => bootm 0xa0000000 - 0xa1000000
> ## Current stack ends at 0xfbb24400 ## Booting kernel from Legacy Image at a0000000 ...
>    Image Name:   linux
>    Image Type:   AArch64 Linux Kernel Image (gzip compressed)
>    Data Size:    9110442 Bytes = 8.7 MiB
>    Load Address: 81000000
>    Entry Point:  81000000
>    Verifying Checksum ... OK
> ## Flattened Device Tree blob at a1000000
>    Booting using the fdt blob at 0xa1000000
>    Uncompressing Kernel Image ... OK
> using: FDT
>    reserving fdt memory region: addr=80000000 size=10000
>    Loading Device Tree to 000000009fff6000, end 000000009ffff2f8 ... OK
> ## Transferring control to Linux (at address 81000000)...
> 
> Starting kernel ...
> 
> I get no kernel logs after this. I am failing to understand why.
> Can you please help me in debugging this issue?

Why are you using a legacy image on AArch64 at all?  You should be using
either the kernel Image (and booti) or a FIT image.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190506/dacb985f/attachment.sig>

  reply	other threads:[~2019-05-06 13:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-06 13:06 [U-Boot] [ARMv8] kernel entry point Pankaj Bansal
2019-05-06 13:28 ` Tom Rini [this message]
2019-05-06 13:33   ` [U-Boot] [EXT] " Pankaj Bansal
2019-05-07  3:00     ` Pankaj Bansal
2019-05-07 10:18       ` Pankaj Bansal
2019-05-10 14:40         ` Pankaj Bansal
2019-05-10 15:05           ` Tom Rini
2019-05-10 15:14             ` Pankaj Bansal
2019-05-10 15:16               ` Tom Rini

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=20190506132834.GR31207@bill-the-cat \
    --to=trini@konsulko.com \
    --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