[meta-freescale] Booting u-boot from DDR Through JTAG Debugger

Daiane Angolini daiane.list at gmail.com
Fri Oct 17 07:00:50 PDT 2014


On Fri, Oct 17, 2014 at 9:34 AM, ansaris <ansaris at iwavesystems.com> wrote:
> Hi,
>
> Thanks for your input on our issue.
>
> The problem is, in our custom board there is no USB OTG port.  For
> programming, we are using JTAG debugger.
> With Linux-3.0.35 based BSP we are able to program/boot the target.  But
> imx-3.10.17 GA based BSP we are not able to boot/program the target.

For me, it's very difficult to really know *which* are the u-boot
you're refering when you say Linux-3.0.35 based BSP or imx-3.10.17 GA
based BSP. So, please, make sure you're using the right padding value
for u-boot.bin versus u-boot.imx, and the right loadaddress for your
imx6 chip.

In case you're using 3.0.35 BSP/LTIB you're using u-boot-imx, and this
produces a u-boot.imx binary with different padding. In this case,
which version?
In case you're using 3.0.35 BSP/YOCTO as-is you're using u-boot-fslc,
and it produces a u-boot.bin which should not differs.


Daiane
>
> Thank You,
> Regards,
> Ansari
>
>
> On Thursday 16 October 2014 09:37 PM, Otavio Salvador wrote:
>
> On Thu, Oct 16, 2014 at 12:25 PM, ansaris <ansaris at iwavesystems.com> wrote:
>
> We are using linux-3.10.17 BSP(u-boot-3.10 YOCTO) with solo(512MB) processor
> custom imx6 board.
>
> I have downloaded the u-boot.imx(or u-boot.bin) into DDR using JTAG debugger
> to the memory address 0x17800000.
> I have followed the below mentioned steps:
> 1) memory load tftp://192.168.0.1/u-boot.imx bin 0x17800000
> 2)set cpsr 0xD3
> 3) set sp 0x200
> 4)set pc 0x17800000
> 5)go
>
> But target board is not booting.
>
> We tried the same with linux-3.0 BSP by following steps:
> 1) memory load tftp://192.168.0.1/u-boot.imx bin 0x27800000
> 2)set cpsr 0xD3
> 3) set sp 0x200
> 4)set pc 0x27800bc0
> 5)go
>
> After this, the target board is booting properly.
>
> Whether any changes required to load and boot 3.10 version u-boot?
> Please suggest us.
>
> Why you don't use USB loader for this? We used it daily and it works very
> well.
>
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


More information about the meta-freescale mailing list