From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Using U-Boot to load RTOS
Date: Wed, 6 Apr 2016 21:13:19 +0800 [thread overview]
Message-ID: <20160406131316.GA31108@linux-7smt.suse> (raw)
In-Reply-To: <CAAcjhLJ9CTxopTsm0ZVJdBn5hVyjshX7teeFN+t=i_SnTbK2Mw@mail.gmail.com>
On Wed, Apr 06, 2016 at 03:32:01PM +0530, Niti Gupta wrote:
>
>On 6 April 2016 at 14:33, Peng Fan <van.freenix@gmail.com> wrote:
>
> Hi Niti,
>
> On Wed, Apr 06, 2016 at 01:39:31PM +0800, Bin Meng wrote:
> >On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta <gupta.niti61@gmail.com> wrote:
> >> Hello Bin,
> >>
> >> I am trying to load Segger's embOS.
> >>
> >
> >Please avoid top-posting.
> >
> >I don't know this OS, but you can try 'bootelf' command if embOS image
> >is an ELF image. If there is anything special, you need write your own
> >boot command for the OS.
>
> Besids bootelf, you can directly using command "go", if your image is
> a bin file.
>
> Share my way to boot rtems on i.MX6UL.
>
> first load you os bin file to a dram address, saying 0x80008000,
> then
> dcache off
> icache off
> dcache flush
> icache flush
> go 0x80008000
>
> Regards,
> Peng
>
>
>Hello Peng,
>I tried following commands in order to load os bin file?
>
>"loadb 0x80008000
>## Ready for binary (kermit) download to 0x80008000 at 115200 bps...
>## Total Size ? ? ?= 0x00018fac = 102316 Bytes
>## Start Addr ? ? ?= 0x80008000
>=> dcache off
>=> icache off
>=> dcache flush
>=> icache flush
>=> go 0x8000800"
why change 0x80008000 to 0x8000800 when go command?
0x80008000 is just an example in my side. You should know the entry
address of your embedded os if using bin file.
Regards,
Peng.
>
>but it is showing following errors
>?
>undefined instruction
>pc : [<00912a5c>] ? ? ? ? ?lr : [<9ff5882c>]
>reloc pc : [<e81bfa5c>] ? ?lr : [<8780582c>]
>sp : 9ef50d58 ?ip : e59ff018 ? ? fp : 9ef568b0
>r10: 00000002 ?r9 : 9ef50eb8 ? ? r8 : 9ffa1d04
>r7 : 9efd73a8 ?r6 : 6a0191a8 ? ? r5 : 00000002 ?r4 : 9efd73ac
>r3 : 80008abd ?r2 : 9efd73ac ? ? r1 : 9efd73ac ?r0 : 00000001
>Flags: nZCv ?IRQs off ?FIQs off ?Mode SVC_32
>Resetting CPU ...
>
>resetting ...
>?
>I am using default u-boot for i.MUX6UL ?which is "u-boot-imx6ulevk_sd.imx". Do
>I need to rebuild u-boot after some rework?
>Kindly help, I am completely stuck over here, failed to find appropriate way to
>load RTOS from SD Card.
>
>Thanks,
>Niti Gupta
>
>
> >
> >> Thanks,
> >> Niti Gupta
> >>
> >> On 6 April 2016 at 07:18, Bin Meng <bmeng.cn@gmail.com> wrote:
> >>>
> >>> On Wed, Apr 6, 2016 at 3:07 AM, Niti Gupta <gupta.niti61@gmail.com>
> wrote:
> >>> > Hello,
> >>> >
> >>> >
> >>> > I am working on embedded systems. I want to use u-boot to load rtos
> on
> >>> > freescale i.MUX6UL board but failed to find appropriate way to do
> >>> > this. Kindly help me to find out steps to load rtos from u-boot.
> >>> >
> >>>
> >>> What RTOS are you trying to load?
> >
> >Regards,
> >Bin
> >_______________________________________________
> >U-Boot mailing list
> >U-Boot at lists.denx.de
> >http://lists.denx.de/mailman/listinfo/u-boot
>
>
next prev parent reply other threads:[~2016-04-06 13:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-05 19:07 [U-Boot] Using U-Boot to load RTOS Niti Gupta
2016-04-06 1:48 ` Bin Meng
2016-04-06 5:21 ` Niti Gupta
2016-04-06 5:39 ` Bin Meng
2016-04-06 7:28 ` Niti Gupta
2016-04-06 9:03 ` Peng Fan
2016-04-06 10:02 ` Niti Gupta
2016-04-06 13:13 ` Peng Fan [this message]
2016-04-06 15:54 ` Niti Gupta
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=20160406131316.GA31108@linux-7smt.suse \
--to=van.freenix@gmail.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