From: "Dr. Patrick Langfeld" <patrick.langfeld@optimeas.de>
To: barebox@lists.infradead.org
Subject: Re: Error when starting kernel with devicetree on tx53
Date: Sun, 12 May 2013 18:12:11 +0000 [thread overview]
Message-ID: <emf29bd203-0329-4bf9-8b13-7176a8062a4f@plh001-think> (raw)
In-Reply-To: <emde4cb769-926c-4395-89e6-073d8c931261@plh001-think>
Hello,
I try to install barebox 2013.05.0 as bootloader for a karo-TX53 board.
Currently uBoot is used.
As a first try I load the barebox image with uboot over tftp into RAM
and start it from there.
Barebox starts and I can access the menu and select my prepared
boot-entry
2: Boot: optiMEAS Net-Boot
Then barebox loads the Kernel-image "uImage" and the devicetree
"tx53.dtb" from the mountpoint "mnt/tftp".
But then it chrashes with the error message as stated below.
The same kernelimage and devicetree is working when started with Uboot.
Where is my mistake? Am I missing some settings? What else do I have to
configure when I want to start my kernel and using a devicetree?
Thanks for helping.
Patrick
BootScript:
#!/bin/sh
if [ "$1" = menu ]; then
boot-menu-add-entry "$0" "optiMEAS Net-Boot"
exit
fi
global.bootm.image=/mnt/tftp/uImage
global.bootm.oftree=/mnt/tftp/tx53.dtb
#global.bootm.initrd=<path to initrd>
#bootargs-ip
global.linux.bootargs.dyn.root="root=/home/user/development/bsp/branch2_tx53/platform-optimeas-tx53/root"
Messages:
booting ./nfs...
100Mbps full duplex link detected
Image Name: Linux-3.4.37-optimeas-master-rt5
Created: 2013-05-08 9:26:43 UTC
OS: Linux
Architecture: ARM
Type: Kernel Image
Compression: uncompressed
Data Size: 2275608 Bytes = 2.2 MiB
Load Address: 70008000
Entry Point: 70008000
Loading OS U-Boot uImage '/mnt/tftp/uImage'
OS image is at 0x70008000-0x70233917
Loading devicetree from '/mnt/tftp/tx53.dtb'
/mnt/tftp/tx53.dtb is not an oftree but unknown
bad magic: 0x0000f085
Passing control to ARM Linux uImage handler
unable to handle paging request at address 0xfffffffe
pc : [<87f1248a>] lr : [<87f124db>]
sp : 8fffece0 ip : 8fffe924 fp : 00000003
r10: 00000000 r9 : 70008000 r8 : 00000000
r7 : 863e6f34 r6 : 863e6f34 r5 : ffffffea r4 : ffffffea
r3 : 00000000 r2 : 00000000 r1 : 863e6f34 r0 : ffffffea
Flags: Nzcv IRQs off FIQs off Mode SVC_32
[<87f1248a>] (of_find_child_by_name+0xe/0x28) from [<87f124db>]
(of_find_node_by_path+0x37/0x50)
[<87f124db>] (of_find_node_by_path+0x37/0x50) from [<87f127ef>]
(of_add_initrd+0xf/0x84)
[<87f127ef>] (of_add_initrd+0xf/0x84) from [<87f22a55>]
(__do_bootm_linux+0xbd/0x138)
[<87f22a55>] (__do_bootm_linux+0xbd/0x138) from [<87f132ed>]
(do_bootm+0x435/0x4e8)
[<87f132ed>] (do_bootm+0x435/0x4e8) from [<87f03649>]
(execute_command+0x21/0x48)
[<87f03649>] (execute_command+0x21/0x48) from [<87f00177>]
(binfmt_exec_excute+0x43/0x50)
[<87f00177>] (binfmt_exec_excute+0x43/0x50) from [<87f000cd>]
(__exceptions_stop+0x35/0x54)
[<87f000cd>] (__exceptions_stop+0x35/0x54) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d95>]
(parse_string_outer+0x81/0x98)
[<87f00d95>] (parse_string_outer+0x81/0x98) from [<87f0116b>]
(run_list_real+0x3bf/0x620)
[<87f0116b>] (run_list_real+0x3bf/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f013f3>]
(source_script+0x27/0x4c)
[<87f013f3>] (source_script+0x27/0x4c) from [<87f01475>]
(binfmt_sh_excute+0x17/0x20)
[<87f01475>] (binfmt_sh_excute+0x17/0x20) from [<87f000cd>]
(__exceptions_stop+0x35/0x54)
[<87f000cd>] (__exceptions_stop+0x35/0x54) from [<87f00129>]
(execute_binfmt+0x3d/0x48)
[<87f00129>] (execute_binfmt+0x3d/0x48) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d95>]
(parse_string_outer+0x81/0x98)
[<87f00d95>] (parse_string_outer+0x81/0x98) from [<87f0116b>]
(run_list_real+0x3bf/0x620)
[<87f0116b>] (run_list_real+0x3bf/0x620) from [<87f0102f>]
(run_list_real+0x283/0x620)
[<87f0102f>] (run_list_real+0x283/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f013f3>]
(source_script+0x27/0x4c)
[<87f013f3>] (source_script+0x27/0x4c) from [<87f01475>]
(binfmt_sh_excute+0x17/0x20)
[<87f01475>] (binfmt_sh_excute+0x17/0x20) from [<87f000cd>]
(__exceptions_stop+0x35/0x54)
[<87f000cd>] (__exceptions_stop+0x35/0x54) from [<87f00129>]
(execute_binfmt+0x3d/0x48)
[<87f00129>] (execute_binfmt+0x3d/0x48) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d95>]
(parse_string_outer+0x81/0x98)
[<87f00d95>] (parse_string_outer+0x81/0x98) from [<87f0116b>]
(run_list_real+0x3bf/0x620)
[<87f0116b>] (run_list_real+0x3bf/0x620) from [<87f0102f>]
(run_list_real+0x283/0x620)
[<87f0102f>] (run_list_real+0x283/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f013f3>]
(source_script+0x27/0x4c)
[<87f013f3>] (source_script+0x27/0x4c) from [<87f01475>]
(binfmt_sh_excute+0x17/0x20)
[<87f01475>] (binfmt_sh_excute+0x17/0x20) from [<87f000cd>]
(__exceptions_stop+0x35/0x54)
[<87f000cd>] (__exceptions_stop+0x35/0x54) from [<87f00129>]
(execute_binfmt+0x3d/0x48)
[<87f00129>] (execute_binfmt+0x3d/0x48) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f0148d>]
(run_command+0xf/0x1e)
[<87f0148d>] (run_command+0xf/0x1e) from [<87f04d95>]
(menu_action_command+0x19/0x2c)
[<87f04d95>] (menu_action_command+0x19/0x2c) from [<87f05213>]
(menu_show+0x1c3/0x228)
[<87f05213>] (menu_show+0x1c3/0x228) from [<87f16623>]
(do_menu+0x2c7/0x2ec)
[<87f16623>] (do_menu+0x2c7/0x2ec) from [<87f03649>]
(execute_command+0x21/0x48)
[<87f03649>] (execute_command+0x21/0x48) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f0102f>]
(run_list_real+0x283/0x620)
[<87f0102f>] (run_list_real+0x283/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f013f3>]
(source_script+0x27/0x4c)
[<87f013f3>] (source_script+0x27/0x4c) from [<87f01475>]
(binfmt_sh_excute+0x17/0x20)
[<87f01475>] (binfmt_sh_excute+0x17/0x20) from [<87f000cd>]
(__exceptions_stop+0x35/0x54)
[<87f000cd>] (__exceptions_stop+0x35/0x54) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f0102f>]
(run_list_real+0x283/0x620)
[<87f0102f>] (run_list_real+0x283/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f013f3>]
(source_script+0x27/0x4c)
[<87f013f3>] (source_script+0x27/0x4c) from [<87f0144b>]
(do_source+0x33/0x46)
[<87f0144b>] (do_source+0x33/0x46) from [<87f03649>]
(execute_command+0x21/0x48)
[<87f03649>] (execute_command+0x21/0x48) from [<87f012e1>]
(run_list_real+0x535/0x620)
[<87f012e1>] (run_list_real+0x535/0x620) from [<87f00c7b>]
(parse_stream_outer+0xfb/0x194)
[<87f00c7b>] (parse_stream_outer+0xfb/0x194) from [<87f00d6f>]
(parse_string_outer+0x5b/0x98)
[<87f00d6f>] (parse_string_outer+0x5b/0x98) from [<87f0148d>]
(run_command+0xf/0x1e)
[<87f0148d>] (run_command+0xf/0x1e) from [<87f0464d>]
(start_barebox+0x6d/0xc4)
[<87f0464d>] (start_barebox+0x6d/0xc4) from [<87f23701>]
(__start+0x49/0x54)
[<87f23701>] (__start+0x49/0x54) from [<87f00005>]
(__bare_init_start+0x1/0xc)
[<87f23201>] (unwind_backtrace+0x1/0x60) from [<87f17c59>]
(panic+0x1d/0x2c)
[<87f17c59>] (panic+0x1d/0x2c) from [<87f2361d>] (do_exception+0xd/0x10)
[<87f2361d>] (do_exception+0xd/0x10) from [<87f23685>]
(do_data_abort+0x21/0x2c)
[<87f23685>] (do_data_abort+0x21/0x2c) from [<87f233c8>]
(data_abort+0x48/0x60)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next parent reply other threads:[~2013-05-12 18:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <emde4cb769-926c-4395-89e6-073d8c931261@plh001-think>
2013-05-12 18:12 ` Dr. Patrick Langfeld [this message]
2013-05-13 4:59 ` Sascha Hauer
2013-05-13 8:43 ` Re[2]: " Dr. Patrick Langfeld
2013-05-13 12:44 ` 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=emf29bd203-0329-4bf9-8b13-7176a8062a4f@plh001-think \
--to=patrick.langfeld@optimeas.de \
--cc=barebox@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