Skip to contentSkip to conversation

change-post-behaviour-for-tqm5200-boards

PATCH New Martin Krause 2 participants 4 messages Jun 21, 2006 – Oct 9, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change-post-behaviour-for-tqm5200-boards

Change POST behaviour for TQM5200 boards
Patch by Martin Krause, 8 Mar 2006

Now a POST memory test is only performed on STK52XX base boards (and there only if pin PSC6_3 is read as "1" during boot time). On all other TQM5200 base boards no memory test is performed during POST (regardless of the state of pin PSC6_3).

CHANGELOG:

* Change POST behaviour for TQM5200 boards
Patch by Martin Krause, 8 Mar 2006
-------------- next part --------------
A non-text attachment was scrubbed...
Name: change-post-behaviour-for-tqm5200-boards.patch
Type: application/octet-stream
Size: 1236 bytes
Desc: change-post-behaviour-for-tqm5200-boards.patch
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060621/40f31574/attachment.obj

#1 lore raw

PATCH 1/1 change-post-behaviour-for-tqm5200-boards

Quoted 8 lines · In message <[email protected]> you…

Change POST behaviour for TQM5200 boards
Patch by Martin Krause, 8 Mar 2006

Now a POST memory test is only performed on STK52XX base boards (and there only if pin PSC6_3 is read as "1" during boot time). On all other TQM5200 base boards no memory test is performed during POST (regardless of the state of pin PSC6_3).

Please explain the rationale behind this change. Also explain how the user can influence the PSC6_3 port reading.

Put on hold.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Above all else -- sky.
#2 lore raw

PATCH 1/1 change-post-behaviour-for-tqm5200-boards

wd at denx.de wrote on Wednesday, July 19, 2006 2:01 PM:

Quoted 7 lines

In message <[email protected]> you

Quoted 4 lines · wrote:

Change POST behaviour for TQM5200 boards
Patch by Martin Krause, 8 Mar 2006

Quoted 7 lines
Quoted 4 lines

Now a POST memory test is only performed on STK52XX base boards (and there only if pin PSC6_3 is read as "1" during boot time). On all other TQM5200 base boards no memory test is performed during POST (regardless of the state of pin PSC6_3).

Please explain the rationale behind this change. Also explain how the user can influence the PSC6_3 port reading.

Current behaviour for all TQM5200 configurations (without patch):

If CONFIG_POST is defined, The pins PSC6_1 and PSC6_3 are configured as inputs. The state of PSC6_3 is read in in the function post_hotkeys_pressed(). If PSC6_3 is read as "1", a memory test is performed during POST. This test increases boot time a lot. If PSC6_3 is read as "0", the memory test is skipped.

The reason for this was to have an easy way to switch the POST memory test on and off during boot time. On the Evaluation Kit for the TQM5200 (the STK52xx) a Jumper could be used to pull PSC6_3 high or low and so turn the test on and off.

On base boards other than the STK52xx this behaviour could conclict with the designated usage of the pin PSC6_3 on this board.

New behaviour _with_ the patch:

With the patch, PSC6_3 is now only checked (and configured) if CONFIG_STK52XX is defined. So for TQM5200 base boards other than the STK52xx the pin is not configured, not checked, and no memory test is performed.

Regards,
Martin

#3 lore raw

PATCH 1/1 change-post-behaviour-for-tqm5200-boards

In reply to Martin Krause
Quoted 2 lines · In message <[email protected]> you…

* Change POST behaviour for TQM5200 boards

Applied, thanks.

Quoted 1 line

Patch by Martin Krause, 8 Mar 2006

Ummm... 8 Mar 2006??? 21 Jun 2006 !

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A direct quote from the Boss: "We passed over a lot of good people to
get the ones we hired."