Skip to contentSkip to conversation

L-O master branch broken ?

DISCUSSION Hemanth V 4 participants 7 messages Jun 18, 2009

lore
Share & tools
lore

Hemanth V

author
#0 lore raw

I get the below error while compiling 3430SDP. I see below commit as the latest one.

Hemanth

commit 3dc15d62d3f8e85d74dcbabc234585cb8dbc2194

Author: Tony Lindgren <[email protected]>
Date:   Thu Jun 18 08:59:09 2009 +0300

Fix iommu.c file permissions

Commit c8c8bfc4c3664317441b0037040c9bdea210fba1 changed the permissions, so undo that. Also checked the other files with:

   $ find arch/arm/*omap* -type f -perm 755

arch/arm/plat-omap/sram.c: In function 'omap_detect_sram':
arch/arm/plat-omap/sram.c:139: error: expected expression before 'else' arch/arm/plat-omap/sram.c:190: warning: ISO C90 forbids mixed declarations and code arch/arm/plat-omap/sram.c:347: error: invalid storage class for function 'omap242x_sram_init' arch/arm/plat-omap/sram.c:368: error: invalid storage class for function 'omap243x_sram_init' arch/arm/plat-omap/sram.c:433: error: expected declaration or statement at end of input make[1]: *** [arch/arm/plat-omap/sram.o] Error 1
make: *** [arch/arm/plat-omap] Error 2

#1 lore raw
Quoted 2 lines · Hemanth V

I get the below error while compiling 3430SDP. I see below commit as the latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's sram.c patch. Also moved around the defines so sram.c build for omap1.

Regards,

Tony

Quoted 33 lines

Hemanth

commit 3dc15d62d3f8e85d74dcbabc234585cb8dbc2194

Author: Tony Lindgren <[email protected]>
Date:   Thu Jun 18 08:59:09 2009 +0300

Fix iommu.c file permissions

Commit c8c8bfc4c3664317441b0037040c9bdea210fba1 changed the permissions, so undo that. Also checked the other files with:

   $ find arch/arm/*omap* -type f -perm 755

arch/arm/plat-omap/sram.c: In function 'omap_detect_sram':
arch/arm/plat-omap/sram.c:139: error: expected expression before 'else' arch/arm/plat-omap/sram.c:190: warning: ISO C90 forbids mixed declarations and code
arch/arm/plat-omap/sram.c:347: error: invalid storage class for function 'omap242x_sram_init'
arch/arm/plat-omap/sram.c:368: error: invalid storage class for function 'omap243x_sram_init'
arch/arm/plat-omap/sram.c:433: error: expected declaration or statement at end of input
make[1]: *** [arch/arm/plat-omap/sram.o] Error 1
make: *** [arch/arm/plat-omap] Error 2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

----- Original Message ----- From: "Tony Lindgren" <[email protected]>

Quoted 7 lines
Quoted 2 lines

I get the below error while compiling 3430SDP. I see below commit as the latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's sram.c patch. Also moved around the defines so sram.c build for omap1.

Booting still seems to have problems. Its hung after start kernel

Bytes transferred = 2480664 (25da18 hex)
## Booting image at 80000000 ...

  Image Name:   Linux-2.6.30-omap1-06022-g6f4712
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2480600 Bytes =  2.4 MB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Starting kernel ...

#3 lore raw
Quoted 20 lines · Hemanth V

----- Original Message ----- From: "Tony Lindgren" <[email protected]>

Quoted 8 lines
Quoted 2 lines

I get the below error while compiling 3430SDP. I see below commit as the latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's
sram.c patch. Also moved around the defines so sram.c build for omap1.

Booting still seems to have problems. Its hung after start kernel

Bytes transferred = 2480664 (25da18 hex)
## Booting image at 80000000 ...

  Image Name:   Linux-2.6.30-omap1-06022-g6f4712
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2480600 Bytes =  2.4 MB
Quoted 7 lines

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Starting kernel ...

Can you see what happens with DEBUG_LL enabled?

Tony

author
#4 lore raw

----- Original Message ----- From: "Tony Lindgren" <[email protected]>
To: "Hemanth V" <[email protected]>
Cc: "Kevin Hilman" <[email protected]>; <[email protected]>
Sent: Thursday, June 18, 2009 3:52 PM
Subject: Re: L-O master branch broken ?

Quoted 26 lines · Hemanth V
Quoted 25 lines

----- Original Message ----- From: "Tony Lindgren" <[email protected]>

Quoted 8 lines
Quoted 2 lines

I get the below error while compiling 3430SDP. I see below commit as the latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's
sram.c patch. Also moved around the defines so sram.c build for omap1.

Booting still seems to have problems. Its hung after start kernel

Bytes transferred = 2480664 (25da18 hex)
## Booting image at 80000000 ...

  Image Name:   Linux-2.6.30-omap1-06022-g6f4712
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2480600 Bytes =  2.4 MB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Quoted 4 lines
Quoted 2 lines

Starting kernel ...

Can you see what happens with DEBUG_LL enabled?

Doesn't seem to show any additional messages even with DEBUG_LL enabled

#5 lore raw
Quoted 36 lines · Hemanth V

----- Original Message -----
From: "Tony Lindgren" <[email protected]>
To: "Hemanth V" <[email protected]>
Cc: "Kevin Hilman" <[email protected]>; <[email protected]>
Sent: Thursday, June 18, 2009 3:52 PM
Subject: Re: L-O master branch broken ?

Quoted 27 lines · Hemanth V
Quoted 26 lines

----- Original Message ----- From: "Tony Lindgren" <[email protected]>

Quoted 9 lines
Quoted 3 lines

I get the below error while compiling 3430SDP. I see below commit as the
latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's
sram.c patch. Also moved around the defines so sram.c build for omap1.

Booting still seems to have problems. Its hung after start kernel

Bytes transferred = 2480664 (25da18 hex)
## Booting image at 80000000 ...

  Image Name:   Linux-2.6.30-omap1-06022-g6f4712
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2480600 Bytes =  2.4 MB

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Starting kernel ...

Can you see what happens with DEBUG_LL enabled?

Doesn't seem to show any additional messages even with DEBUG_LL enabled

Since you don't even see 'Uncompressing Linux....', I'm guessing you have CONFIG_OMAP_LL_DEBUG_UART3=y in your .config

Try setting this to UART1.

Kevin

#6 lore raw
Quoted 54 lines

-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Kevin Hilman
Sent: Thursday, June 18, 2009 10:32 AM
To: V, Hemanth
Cc: Tony Lindgren; [email protected]
Subject: Re: L-O master branch broken ?

Quoted 21 lines · Hemanth V

----- Original Message -----
From: "Tony Lindgren" <[email protected]>
To: "Hemanth V" <[email protected]>
Cc: "Kevin Hilman" <[email protected]>; <[email protected]>
Sent: Thursday, June 18, 2009 3:52 PM
Subject: Re: L-O master branch broken ?

Quoted 12 lines · Hemanth V
Quoted 11 lines

----- Original Message ----- From: "Tony Lindgren" <[email protected]>

Quoted 8 lines
Quoted 3 lines

I get the below error while compiling 3430SDP. I see below commit as the
latest one.

Thanks, pushing a fix right now with the missing brace missing from Kevin's
sram.c patch. Also moved around the defines so sram.c build for

omap1.

Quoted 20 lines
Quoted 19 lines
Quoted 10 lines
Quoted 1 line

Booting still seems to have problems. Its hung after start kernel

Bytes transferred = 2480664 (25da18 hex)
## Booting image at 80000000 ...

  Image Name:   Linux-2.6.30-omap1-06022-g6f4712
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2480600 Bytes =  2.4 MB
Quoted 7 lines

Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK

Starting kernel ...

Can you see what happens with DEBUG_LL enabled?

Quoted 7 lines
Quoted 2 lines

Doesn't seem to show any additional messages even with DEBUG_LL enabled

Since you don't even see 'Uncompressing Linux....', I'm guessing you have CONFIG_OMAP_LL_DEBUG_UART3=y in your .config

Try setting this to UART1.

I tried this on my SDP, and enabling both options, it boots!

But without enabling low level debug, it doesn't...

Does that ring any bells? Am I missing something?

Regards,
Sergio

Quoted 8 lines

Kevin

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html