RTEMS/i.MX7D u-boot configuration.

JunBeom Kim (EmbedCoreTech) jbkim at e-coretech.kr
Wed Apr 4 04:01:18 UTC 2018


Dear Huber,

Thank you very much.

I was successful to booting RTEMS on i.MX6Q SDP board according to your guide.

I have very interesting problem for testing rtems-libbsd on i.MX6Q.

At this time, I am testing SMP with rtems-libbsd.

When I test SMP example without rtems-libbsd(that is, calling rtems_bsd_initialize, network_ifconfig_xxx), SMP example is working very well.

But, When I test SMP example with rtems-libbsd for calling rtems_bsd_initialize, S/W is stopped. When I check current S/W location using GDB/JTAG, Clock_isr() is still called by timer interupt. Also, _CPU_Thread_Idle_body() is running. 
I guess that there is S/W blocking condition for calling rtems-libbsd API.

I don't know reason.

Anyway, I purchased i.MX7D board in today. Maybe, I can test same SMP example on both boards(i.MX7D and i.MX6Q) next week.

If I have similar problem on i.MX7D, I will let you know that.

Best Regards,
JunBeom Kim
~~~~~~~~~~~~~~~~~~~~~~
President / EmbedCoreTech
Phone: +82-31-396-5584
Fax: +82-504-065-5720
Mobile:+82-10-6425-5720
Email: jbkim at e-coretech.kr 
Web: www.e-coretech.kr 
~~~~~~~~~~~~~~~~~~~~~~

-----Original Message-----
From: Sebastian Huber <sebastian.huber at embedded-brains.de> 
Sent: Tuesday, April 3, 2018 5:19 PM
To: JunBeom Kim (EmbedCoreTech) <jbkim at e-coretech.kr>; users at rtems.org
Subject: Re: RTEMS/i.MX7D u-boot configuration.

On 03/04/18 10:05, JunBeom Kim (EmbedCoreTech) wrote:
> At this time, I did boot RTEMS in u-boot console according to below step in my case.
>
> - fatload mmc 1 0x18000000 imx6q-sabresd.dtb
> - fatload mmc 1 0x10100000 rtems.bin
> - go 0x10100000

Use bootm. You must use a Linux U-Boot image:

mkimage -A arm -O linux -T kernel -a 0x80200000 -e 0x80200000 -n RTEMS -d app.bin.gz app.img

https://www.denx.de/wiki/view/DULG/UBootCmdGroupExec#Section_5.9.4.2.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the users mailing list