public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [Query] NET: QE: UEC: Checking patch status
@ 2008-09-03 22:18 richardretanubun
  2008-09-03 22:50 ` Ben Warren
  2008-09-04  5:27 ` Ben Warren
  0 siblings, 2 replies; 7+ messages in thread
From: richardretanubun @ 2008-09-03 22:18 UTC (permalink / raw)
  To: u-boot

Dear Ben,

Sorry to nag,

I'm just checking in to see if you plan to push the patches I submitted, 
the last discussion on them are listed below:

1. [U-boot] [PATCHv2 1/2] NET: QE: UEC: Make uec_miiphy_read() and 
uec_miiphy_write() use the devname arg.
http://lists.denx.de/pipermail/u-boot/2008-August/038968.html

2. [U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec 
re-initialization based on netretry environment variable.
http://lists.denx.de/pipermail/u-boot/2008-August/038976.html


Some newbie questions:

1. Is there a supposed to be a NACK e-mail if the patch is being rejected?

2. What is the proper way to check about patch status update like this?

Thanks for all your help,

Regards,

- Richard Retanubun.

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

* [U-Boot] [Query] NET: QE: UEC: Checking patch status
  2008-09-03 22:18 [U-Boot] [Query] NET: QE: UEC: Checking patch status richardretanubun
@ 2008-09-03 22:50 ` Ben Warren
  2008-09-04  5:27 ` Ben Warren
  1 sibling, 0 replies; 7+ messages in thread
From: Ben Warren @ 2008-09-03 22:50 UTC (permalink / raw)
  To: u-boot

Hi Richard,

richardretanubun wrote:
> Dear Ben,
>
> Sorry to nag,
>
> I'm just checking in to see if you plan to push the patches I 
> submitted, the last discussion on them are listed below:
>
> 1. [U-boot] [PATCHv2 1/2] NET: QE: UEC: Make uec_miiphy_read() and 
> uec_miiphy_write() use the devname arg.
> http://lists.denx.de/pipermail/u-boot/2008-August/038968.html
>
> 2. [U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec 
> re-initialization based on netretry environment variable.
> http://lists.denx.de/pipermail/u-boot/2008-August/038976.html
>
Sorry, I dropped the ball.  I'll look at them tonight.
>
> Some newbie questions:
>
> 1. Is there a supposed to be a NACK e-mail if the patch is being 
> rejected?
>
Yes, you didn't get one.
> 2. What is the proper way to check about patch status update like this?
>
What you just did.

regards,
Ben

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

* [U-Boot] [Query] NET: QE: UEC: Checking patch status
  2008-09-03 22:18 [U-Boot] [Query] NET: QE: UEC: Checking patch status richardretanubun
  2008-09-03 22:50 ` Ben Warren
@ 2008-09-04  5:27 ` Ben Warren
  2008-09-04 23:47   ` [U-Boot] ppc4xx: glacier broken with latest u-boot Victor Gallardo
  1 sibling, 1 reply; 7+ messages in thread
From: Ben Warren @ 2008-09-04  5:27 UTC (permalink / raw)
  To: u-boot

Hi Richard,
richardretanubun wrote:
> Dear Ben,
>
> Sorry to nag,
>
> I'm just checking in to see if you plan to push the patches I 
> submitted, the last discussion on them are listed below:
>
I apologize for not responding in a more timely fashion.  Let's just say 
the summer's been the busiest I ever had on many fronts and I haven't 
handled juggling all the balls as well as I should have.
> 1. [U-boot] [PATCHv2 1/2] NET: QE: UEC: Make uec_miiphy_read() and 
> uec_miiphy_write() use the devname arg.
> http://lists.denx.de/pipermail/u-boot/2008-August/038968.html
>
I'll ACK this one and pull it in.  It's not strictly formatted properly, 
but no worries.
> 2. [U-Boot] [U-boot] [PATCH 2/2] NET: QE: UEC: Allow uec 
> re-initialization based on netretry environment variable.
> http://lists.denx.de/pipermail/u-boot/2008-August/038976.html
>
>
I'm not crazy about the approach here and will shortly respond directly. 
to the patch.

regards,
Ben

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

* [U-Boot] ppc4xx: glacier broken with latest u-boot
  2008-09-04  5:27 ` Ben Warren
@ 2008-09-04 23:47   ` Victor Gallardo
  2008-09-05  2:06     ` Adam Graham
  0 siblings, 1 reply; 7+ messages in thread
From: Victor Gallardo @ 2008-09-04 23:47 UTC (permalink / raw)
  To: u-boot

Hello Stefan,

I just pulled the latest u-boot (git://git.denx.de/u-boot-ppc4xx.git)
and glacier is broken. It builds, but if load the u-boot it hangs. This
is far as it gets.

U-Boot 1.3.4-03965-g7deb3b3 (Sep  4 2008 - 16:26:55)

CPU:   AMCC PowerPC 460GT Rev. A at 800 MHz (PLB=200, OPB=100, EBC=100
MHz)
       Security/Kasumi support
       Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
       Internal PCI arbiter disabled
       32 kB I-Cache 32 kB D-Cache
Board: Glacier - AMCC PPC460GT Evaluation Board, 2*PCIe, Rev. 13
I2C:   ready
DTT:   1 is 35 C
DRAM:  256 MB (ECC not enabled, 400 MHz, CL3)
FLASH: 64 MB
NAND:  32 MiB
PCI:   Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: link is not up.
PCIE1: initialization as root-complex failed

Regards,

Victor Gallardo

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

* [U-Boot] ppc4xx: glacier broken with latest u-boot
  2008-09-04 23:47   ` [U-Boot] ppc4xx: glacier broken with latest u-boot Victor Gallardo
@ 2008-09-05  2:06     ` Adam Graham
  2008-09-05  9:28       ` Stefan Roese
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Graham @ 2008-09-05  2:06 UTC (permalink / raw)
  To: u-boot

Stefan,

I took a quick look at this problem and tracked the problem down to the
serial console initialization area for the AMCC Glacier and Canyonlands
boards.

  description PPC4xx U-Boot Custodian Tree 
  owner Stefan Roese 
  last change Wed, 3 Sep 2008 15:21:38 +0000 
  URL git://git.denx.de/u-boot-ppc4xx.git 

The problem was introduced 4 days ago with the commit

  committer Wolfgang Denk <wd@denx.de> 
   Sun, 31 Aug 2008 22:16:29 +0000 (00:16 +0200) 
  commit e99e9575bbeba1b7c48e046547cae065ec0071de 
  tree c08553c4d06725bd6013a46068df0059c5b49a00
  parent a13b2d937941f6b525abfcfad96c034f94421188
  parent 08ab4e1780fa63c88dd5a5ab52f4ff4ed1ee1878 

If one were to rebase their git tree to the prior commit, U-Boot will
boot all the way up on the Glacier and Canyonlands boards.

committer Wolfgang Denk <wd@denx.de> 
 Sun, 31 Aug 2008 22:06:05 +0000 (00:06 +0200) 
commit a13b2d937941f6b525abfcfad96c034f94421188 
tree 56e5bdaf62397b2f8cc2be9b17a035d9b059bf8a
parent e155c9e00b5f21a6de28479259c440ba71289d00
parent d6e04258be8f2408845468d3cf722a4cf0433445 


The problem happens within the console_init_r() routine called from the
board_init_r() function.


common/console.c
#else /* CFG_CONSOLE_IS_IN_ENV */

/* Called after the relocation - use desired console functions */
int console_init_r (void)
{
        device_t *inputdev = NULL, *outputdev = NULL;
        int i;
        struct list_head *list = device_get_list();
        struct list_head *pos;
        device_t *dev;

#ifdef CONFIG_SPLASH_SCREEN
        /* suppress all output if splash screen is enabled and we have
           a bmp to display
*/
        if (getenv("splashimage") != NULL)
                gd->flags |= GD_FLG_SILENT;
#endif

        /* Scan devices looking for input and output devices */
        list_for_each(pos, list) {
                dev = list_entry(pos, device_t, list);

                if ((dev->flags & DEV_FLAGS_INPUT) && (inputdev ==
NULL)) {
                        inputdev = dev;
                }
                if ((dev->flags & DEV_FLAGS_OUTPUT) && (outputdev ==
NULL)) {
                        outputdev = dev;
                }
                if(inputdev && outputdev)
                        break;
        }

        /* Initializes output console first */
        if (outputdev != NULL) {
                console_setfile (stdout, outputdev);
                console_setfile (stderr, outputdev);
        }

        /* Initializes input console */
        if (inputdev != NULL) {
                console_setfile (stdin, inputdev);
        }

        gd->flags |= GD_FLG_DEVINIT;    /* device initialization
completed */
(Problem happens here- no more console output)

There are 4 elements in the device_get_list() list.  I did a quick print
of their flags field:
list_head 0x1ffef2a0
dev->flags = 0x80000003
dev->flags = 0x00000003
dev->flags = 0x00000003
dev->flags = 0x80000003

Is the dev->flags for each console serial device have both
DEV_FLAGS_INPUT and the DEV_FLAGS_OUTPUT set?

There was a change in the e99e9575bbeba1b7c48e046547cae065ec0071de
commit with the list processing of the console devices
(common/console.c, common/devices.c).

Unfortunately I can not investigate further tonight (family engagement),
but I hope this helps.

Adam Graham


> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Victor Gallardo
> Sent: Thursday, September 04, 2008 4:47 PM
> To: Stefan Roese; u-boot at lists.denx.de
> Subject: [U-Boot] ppc4xx: glacier broken with latest u-boot
> 
> Hello Stefan,
> 
> I just pulled the latest u-boot (git://git.denx.de/u-boot-ppc4xx.git)
> and glacier is broken. It builds, but if load the u-boot it 
> hangs. This is far as it gets.
> 
> U-Boot 1.3.4-03965-g7deb3b3 (Sep  4 2008 - 16:26:55)
> 
> CPU:   AMCC PowerPC 460GT Rev. A at 800 MHz (PLB=200, OPB=100, EBC=100
> MHz)
>        Security/Kasumi support
>        Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
>        Internal PCI arbiter disabled
>        32 kB I-Cache 32 kB D-Cache
> Board: Glacier - AMCC PPC460GT Evaluation Board, 2*PCIe, Rev. 13
> I2C:   ready
> DTT:   1 is 35 C
> DRAM:  256 MB (ECC not enabled, 400 MHz, CL3)
> FLASH: 64 MB
> NAND:  32 MiB
> PCI:   Bus Dev VenId DevId Class Int
> PCIE0: link is not up.
> PCIE0: initialization as root-complex failed
> PCIE1: link is not up.
> PCIE1: initialization as root-complex failed
> 
> Regards,
> 
> Victor Gallardo
> 

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

* [U-Boot] ppc4xx: glacier broken with latest u-boot
  2008-09-05  2:06     ` Adam Graham
@ 2008-09-05  9:28       ` Stefan Roese
  2008-09-05 11:31         ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Roese @ 2008-09-05  9:28 UTC (permalink / raw)
  To: u-boot

Adam,

On Friday 05 September 2008, Adam Graham wrote:

<snip>

> The problem happens within the console_init_r() routine called from the
> board_init_r() function.

This problem is fixed with the patch I sent out this morning:

devices: Use list_add_tail() instead of list_add() to register a device

Thanks for reporting and initial debugging.

Wolfgang, can you please pick up this patch quickly? Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

* [U-Boot] ppc4xx: glacier broken with latest u-boot
  2008-09-05  9:28       ` Stefan Roese
@ 2008-09-05 11:31         ` Wolfgang Denk
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Denk @ 2008-09-05 11:31 UTC (permalink / raw)
  To: u-boot

Dear Stefan Roese,

In message <200809051128.45671.sr@denx.de> you wrote:
> 
> This problem is fixed with the patch I sent out this morning:
> 
> devices: Use list_add_tail() instead of list_add() to register a device
> 
> Thanks for reporting and initial debugging.
> 
> Wolfgang, can you please pick up this patch quickly? Thanks.

Done. I know that this was a critical one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real Programmers always confuse Christmas and Halloween because
OCT 31 == DEC 25 !  - Andrew Rutherford (andrewr at ucs.adelaide.edu.au)

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

end of thread, other threads:[~2008-09-05 11:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 22:18 [U-Boot] [Query] NET: QE: UEC: Checking patch status richardretanubun
2008-09-03 22:50 ` Ben Warren
2008-09-04  5:27 ` Ben Warren
2008-09-04 23:47   ` [U-Boot] ppc4xx: glacier broken with latest u-boot Victor Gallardo
2008-09-05  2:06     ` Adam Graham
2008-09-05  9:28       ` Stefan Roese
2008-09-05 11:31         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox