[U-Boot] Using U-Boot to load RTOS
Niti Gupta
gupta.niti61 at gmail.com
Wed Apr 6 17:54:31 CEST 2016
On 6 April 2016 at 18:43, Peng Fan <van.freenix at 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 at 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 at 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 at 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
> >
> >
>
More information about the U-Boot
mailing list