From: Mark Rutland <mark.rutland@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Booting armv8 kernel on uboot
Date: Wed, 21 May 2014 10:40:38 +0100 [thread overview]
Message-ID: <20140521094038.GC17827@leverpostej> (raw)
In-Reply-To: <1400661995829-180377.post@n7.nabble.com>
On Wed, May 21, 2014 at 09:46:35AM +0100, Vishal Bhoj wrote:
> Hi ,
Hi,
> I have added mmc driver into the vexpress64 board file for uboot and tested
> it on FVP base model. I tried booting a kernel on that but it is aborting
> with the following message:
> Final value for argc=3
> Loading Kernel Image ... OK
> kernel loaded at 0x00080000, end = 0x00827024
> using: FDT
> reserving fdt memory region: addr=80000000 size=10000
> ## initrd_high = 0xffffffffffffffff, copy_to_ram = 1
> ramdisk load start = 0x00000000, ramdisk load end = 0x00000000
> ## device tree at 0000000090008000 ... 000000009000a850 (len=22609 [0x5851])
> Loading Device Tree to 000000009fffa000, end 000000009ffff850 ... OK
> Initial value for argc=3
> Final value for argc=3
> ## Transferring control to Linux (at address 80000)...
> Starting kernel ...
>
> "Synchronous Abort" handler, esr 0x02000000
That ESR_ELx value means Unknown/uncategorized. It would be fantastic if
U-Boot would tell us what EL it's branching to the kernel at as a matter
of course -- it's not really possible to debug from logs otherwise.
Which EL are you loading the kernel at?
> ELR: 80000
And that's the start address of the loaded kernel image (i.e. the very
first instruction), so the likely cause is that the first instruction is
invalid, either in memory or the I-cache.
It's a shame we don't have a dump here of the value at the ELR, that
could tell us if the Image is corrupt or if some cache maintenance has
been missed.
Are you definitely loading a valid Image?
> LR: fff90fc8
> x0 : 000000009fffa000 x1 : 000000001c090000
> x2 : 000000001c090000 x3 : 0000000000000020
Unrelated, but x1-x3 should be zero here per the boot protocol. That
needs to be fixed ASAP or it's not going to be possible to ever make use
of them.
Thanks,
Mark.
> x4 : 00000000fff6b834 x5 : 0000000000000000
> x6 : 00000000fff6bb40 x7 : 00000000ffffffd0
> x8 : 000000000000000f x9 : 000000007ff8e000
> x10: 00000000fffb7188 x11: 0000000000000000
> x12: 0000000000006000 x13: 0000000000000004
> x14: 0000000000000003 x15: 00000000fffc7c20
> x16: 0000000000000000 x17: 0000000000000000
> x18: 00000000fff6beb8 x19: 0000000000080000
> x20: 00000000fffc7a70 x21: 0000000000000000
> x22: 0000000000000000 x23: 00000000fff6d8d8
> x24: 0000000000000000 x25: 00000000fffc2630
> x26: 0000000000000000 x27: 0000000080008000
> x28: 0000000000000000 x29: 00000000fff6bb40
>
> Can anyone please provide the procedure on how to boot the kernel with
> u-boot on armv8 models ?
>
>
>
> --
> View this message in context: http://u-boot.10912.n7.nabble.com/Booting-armv8-kernel-on-uboot-tp180377.html
> Sent from the U-Boot mailing list archive at Nabble.com.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
next prev parent reply other threads:[~2014-05-21 9:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 8:46 [U-Boot] Booting armv8 kernel on uboot Vishal Bhoj
2014-05-21 9:40 ` Mark Rutland [this message]
2014-05-21 15:28 ` Tom Rini
2014-05-21 15:34 ` Mark Rutland
2014-05-22 5:48 ` Vishal Bhoj
2014-05-22 12:39 ` Tom Rini
2014-05-22 13:07 ` Vishal Bhoj
2014-05-22 14:26 ` fenghua at phytium.com.cn
2014-05-22 16:36 ` Tom Rini
2014-05-22 16:55 ` Vishal Bhoj
2014-05-26 13:45 ` fenghua at phytium.com.cn
2014-05-27 13:56 ` fenghua at phytium.com.cn
2014-05-28 4:44 ` TigerLiu at via-alliance.com
2014-05-29 13:00 ` fenghua at phytium.com.cn
2014-06-04 4:31 ` Vishal Bhoj
2014-06-04 9:35 ` Sudeep Holla
2014-05-23 5:38 ` TigerLiu at via-alliance.com
-- strict thread matches above, loose matches on Subject: below --
2016-07-20 11:28 [U-Boot] Booting armv8 Kernel on UBoot Rajkumar Ramasamy
2016-07-21 4:11 Rajkumar Ramasamy
2016-07-21 5:14 Rajkumar Ramasamy
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=20140521094038.GC17827@leverpostej \
--to=mark.rutland@arm.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