* [U-Boot] Using U-Boot to load RTOS
@ 2016-04-05 19:07 Niti Gupta
2016-04-06 1:48 ` Bin Meng
0 siblings, 1 reply; 9+ messages in thread
From: Niti Gupta @ 2016-04-05 19:07 UTC (permalink / raw)
To: u-boot
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.
Thanks,
niti gupta
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
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
0 siblings, 1 reply; 9+ messages in thread
From: Bin Meng @ 2016-04-06 1:48 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
2016-04-06 1:48 ` Bin Meng
@ 2016-04-06 5:21 ` Niti Gupta
2016-04-06 5:39 ` Bin Meng
0 siblings, 1 reply; 9+ messages in thread
From: Niti Gupta @ 2016-04-06 5:21 UTC (permalink / raw)
To: u-boot
Hello Bin,
I am trying to load Segger's embOS.
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
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
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
0 siblings, 2 replies; 9+ messages in thread
From: Bin Meng @ 2016-04-06 5:39 UTC (permalink / raw)
To: u-boot
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.
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
2016-04-06 5:39 ` Bin Meng
@ 2016-04-06 7:28 ` Niti Gupta
2016-04-06 9:03 ` Peng Fan
1 sibling, 0 replies; 9+ messages in thread
From: Niti Gupta @ 2016-04-06 7:28 UTC (permalink / raw)
To: u-boot
On 6 April 2016 at 11:09, Bin Meng <bmeng.cn@gmail.com> 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.
>
> > 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
>
Thanks for reply.
embOS image is .out image. I think it is similar to .elf image. I will try
bootelf command to load this.
Thanks,
Niti
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
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
1 sibling, 1 reply; 9+ messages in thread
From: Peng Fan @ 2016-04-06 9:03 UTC (permalink / raw)
To: u-boot
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
>
>> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
2016-04-06 9:03 ` Peng Fan
@ 2016-04-06 10:02 ` Niti Gupta
2016-04-06 13:13 ` Peng Fan
0 siblings, 1 reply; 9+ messages in thread
From: Niti Gupta @ 2016-04-06 10:02 UTC (permalink / raw)
To: u-boot
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"
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
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
2016-04-06 10:02 ` Niti Gupta
@ 2016-04-06 13:13 ` Peng Fan
2016-04-06 15:54 ` Niti Gupta
0 siblings, 1 reply; 9+ messages in thread
From: Peng Fan @ 2016-04-06 13:13 UTC (permalink / raw)
To: u-boot
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
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] Using U-Boot to load RTOS
2016-04-06 13:13 ` Peng Fan
@ 2016-04-06 15:54 ` Niti Gupta
0 siblings, 0 replies; 9+ messages in thread
From: Niti Gupta @ 2016-04-06 15:54 UTC (permalink / raw)
To: u-boot
On 6 April 2016 at 18:43, Peng Fan <van.freenix@gmail.com> wrote:
> 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.
>
Hello Peng
Thanks for reply. I am building my image using IAR and the sample project
containing BSP for i.MUX6UL provided by embOS. It is a simple application
to check CPU performance. After building this application Start_imxUL.bin
is generated. I am trying to boot this image from sd card. I don't know how
to check or detect entry point of this image. Kindly help me to figure
this out. It will be a great help for me.
Thanks,
Niti
>
> >
> >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 at 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
> >
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-04-06 15:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-04-06 15:54 ` Niti Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox