All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] T1040 booting from NOR Flash
@ 2014-02-11 15:40 Franck Jullien
  2014-02-13  0:56 ` Rommel G Custodio
  0 siblings, 1 reply; 3+ messages in thread
From: Franck Jullien @ 2014-02-11 15:40 UTC (permalink / raw)
  To: u-boot

Hi,

I'd like to know if I have understood it correctly.

When first time booting from NOR, the RCW and PBI must be written
using the JTAG. The last instruction of the PBI must be a jump
(0x13_8080) to the user's code (uboot here).

Am I right ?

Best regards,

Franck.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] T1040 booting from NOR Flash
  2014-02-11 15:40 [U-Boot] T1040 booting from NOR Flash Franck Jullien
@ 2014-02-13  0:56 ` Rommel G Custodio
  2014-02-14 10:24   ` Franck Jullien
  0 siblings, 1 reply; 3+ messages in thread
From: Rommel G Custodio @ 2014-02-13  0:56 UTC (permalink / raw)
  To: u-boot

Dear Franck Jullien,

Franck Jullien <franck.jullien <at> gmail.com> writes:

> 
> Hi,
> 
> I'd like to know if I have understood it correctly.
> 
> When first time booting from NOR, the RCW and PBI must be written
> using the JTAG. The last instruction of the PBI must be a jump
> (0x13_8080) to the user's code (uboot here).

You should not need to bring out the JTAG.

The build process for other FSL boards that require RCW (i.e. P5040) can 
create a single binary that includes RCW, PBI, and u-boot. 

BUT the T1040 right now does not have a build target that creates this 
binary! It seems FSL hasn't gotten about to creating it yet (not in mailine, 
not in patchworks, none in the FSL SDK).

> 
> Am I right ?
> 
> Best regards,
> 
> Franck.
> 

All the best,
Rommel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] T1040 booting from NOR Flash
  2014-02-13  0:56 ` Rommel G Custodio
@ 2014-02-14 10:24   ` Franck Jullien
  0 siblings, 0 replies; 3+ messages in thread
From: Franck Jullien @ 2014-02-14 10:24 UTC (permalink / raw)
  To: u-boot

2014-02-13 1:56 GMT+01:00 Rommel G Custodio <sessyargc+u-boot@gmail.com>:
> Dear Franck Jullien,
>
> Franck Jullien <franck.jullien <at> gmail.com> writes:
>
>>
>> Hi,
>>
>> I'd like to know if I have understood it correctly.
>>
>> When first time booting from NOR, the RCW and PBI must be written
>> using the JTAG. The last instruction of the PBI must be a jump
>> (0x13_8080) to the user's code (uboot here).
>
> You should not need to bring out the JTAG.
>
> The build process for other FSL boards that require RCW (i.e. P5040) can
> create a single binary that includes RCW, PBI, and u-boot.
>
> BUT the T1040 right now does not have a build target that creates this
> binary! It seems FSL hasn't gotten about to creating it yet (not in mailine,
> not in patchworks, none in the FSL SDK).
>
>>
>> Am I right ?
>>
>> Best regards,
>>
>> Franck.
>>
>
> All the best,
> Rommel
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

I did see other platforms generates PBL images with RCW and PBI
built-in. However, this is always with CONFIG_RAMBOOT_PBL set (SPI,
NAND or SD-CARD boot).
This is the memory map described in the t104xrdb/README file:

NOR Flash memory Map
---------------------
163  Start          End             Definition                       Size
164 0xEFF40000      0xEFFFFFFF      u-boot (current bank)            768KB
....
177 0xE8000000      0xE801FFFF      RCW (current bank)               128KB


For me, it means the RCW will not be included in the u-boot binary.

Franck.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-14 10:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11 15:40 [U-Boot] T1040 booting from NOR Flash Franck Jullien
2014-02-13  0:56 ` Rommel G Custodio
2014-02-14 10:24   ` Franck Jullien

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.