OMAP: Zoom3: Fix Zoom3 booting issue
Subsystems (3)
PATCH 1/1 OMAP: Zoom3: Fix Zoom3 booting issue
The commit id "5550bc33a1a9002976022cc794fe8c52ad9a0021" seems to be broken zoom3 boot which adds support for UART4 on OMAP4 and OMAP3630.
But, it looks like OMAP3630 UART4 interface and functional clock nodes needs to be added for omap3630. Thus limiting no. of UART's for 3630 to 3 to prevent boot up issues until clock nodes are added for UART4 on OMAP3630.
--- arch/arm/mach-omap2/serial.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/serial.c +6 -1
@@ -764,7 +764,12 @@ void __init omap_serial_init(void) {int i, nr_ports; -if (!(cpu_is_omap3630 () ||cpu_is_omap4430 ())) +/* Limit no.of UART ports to three for OMAP3630 since +* clock nodes are yet to be updated for 3630 UART4. +* TODO: update clock nodes for 3630 UART4 and then enable +* check for !(cpu_is_omap3630()) +*/ +if (!cpu_is_omap4430 ()) nr_ports =3 ;else nr_ports =ARRAY_SIZE (omap_uart);
Signature · 1 line
1.6.0.4
Manju,
Quoted 13 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Manjunatha GK
Sent: Tuesday, March 02, 2010 7:36 AM
To: [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueThe commit id "
5550bc33a1a9002976022cc794fe8c52ad9a0021" seems to be broken
zoom3 boot which adds support for UART4 on OMAP4 and OMAP3630.
Quoted 5 lines
But, it looks like OMAP3630 UART4 interface and functional clock nodes needs
to be added for omap3630. Thus limiting no. of UART's for 3630 to 3 to prevent
boot up issues until clock nodes are added for UART4 on OMAP3630.
I already tried a similar patch here:
http://patchwork.kernel.org/patch/81692/
But as it is really not solving anything, and Tony rejected it, I started working on the needed bits to get UART4 enabled, therefore I have came up with this patch series:
- [RFC v3][PATCH 0/6] OMAP3630: UART4 startup (+ new bugfix!) [1]
Also, I'm working in my spare time on a cleanup proposal [2], which I'll repost today, given some comments from Kevin.
So, if you want to boot, take series [1] and [2], and then you should be able to boot with ttyS0.
Regards,
Sergio
---
[1] http://marc.info/?l=linux-omap&m=126730356232287&w=2
[2] http://marc.info/?l=linux-omap&m=126746974103007&w=2
Quoted 34 lines
Cc Tony Lindgren <[email protected]>Cc Santosh Shilimkar <[email protected]>Signed-off-by Manjunatha GK <[email protected]>Signed-off-by Govindraj R <[email protected]>--- arch/arm/mach-omap2/serial.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)arch/arm/mach-omap2/serial.c +6
-2@@ -764,7 +764,12 @@ void __init omap_serial_init(void) {int i, nr_ports; -if (!(cpu_is_omap3630 () ||cpu_is_omap4430 ())) +/* Limit no.of UART ports to three for OMAP3630 since +* clock nodes are yet to be updated for 3630 UART4. +* TODO: update clock nodes for 3630 UART4 and then enable +* check for !(cpu_is_omap3630()) +*/ +if (!cpu_is_omap4430 ()) nr_ports =3 ;else nr_ports =ARRAY_SIZE (omap_uart); --1.6.0.4
--
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
Quoted 13 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Aguirre, Sergio
Sent: Tuesday, March 02, 2010 10:11 AM
To: G, Manjunath Kondaiah; [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueManju,
<snip>
Quoted 3 lines
So, if you want to boot, take series [1] and [2], and then you should be able to boot with ttyS0.
Yes I could boot the zoom3 with your patchset with console on ttyS0:
Relevant Boot Log:
Quoted 12 lines
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250.0: ttyS0 at MMIO
0x10000000(irq = 262) is a ST16654 console [ttyS0] enabledRegards,
Sergio---
[1] http://marc.info/?l=linux-omap&m=126730356232287&w=2
[2] http://marc.info/?l=linux-omap&m=126746974103007&w=2
Sergio,
Quoted 39 lines
-----Original Message-----
From: Aguirre, Sergio
Sent: Tuesday, March 02, 2010 9:41 PM
To: G, Manjunath Kondaiah; [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueManju,
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Manjunatha GK
Sent: Tuesday, March 02, 2010 7:36 AM
To: [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueQuoted 5 lines
The commit id "
5550bc33a1a9002976022cc794fe8c52ad9a0021" seems to be broken
zoom3 boot which adds support for UART4 on OMAP4 and OMAP3630.But, it looks like OMAP3630 UART4 interface and functional
clock nodes
Quoted 2 lines
needs
to be added for omap3630. Thus limiting no. of UART's for3630 to 3 to
Quoted 2 lines
prevent
boot up issues until clock nodes are added for UART4 on OMAP3630.I already tried a similar patch here:
http://patchwork.kernel.org/patch/81692/
But as it is really not solving anything, and Tony rejected it, I started working on the needed bits to get UART4 enabled, therefore I have came up with this patch series:
Quoted 7 lines
- [RFC v3][PATCH 0/6] OMAP3630: UART4 startup (+ new bugfix!) [1]
Also, I'm working in my spare time on a cleanup proposal [2], which I'll repost today, given some comments from Kevin.
So, if you want to boot, take series [1] and [2], and then you should be able to boot with ttyS0.
Sergio, did you test this combination on zoom3? It seems to be not working on zoom3 with ttyS0 and also with ttyS3.
Where as, reducing number of uarts(for 3630) to 3 seems to working fine for ttyS3 on zoom3.
-Manjunath
Quoted 61 lines
-----Original Message-----
From: G, Manjunath Kondaiah
Sent: Wednesday, March 03, 2010 11:31 AM
To: Aguirre, Sergio; [email protected]
Cc: Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueSergio,
Quoted 8 lines
-----Original Message-----
From: Aguirre, Sergio
Sent: Tuesday, March 02, 2010 9:41 PM
To: G, Manjunath Kondaiah; [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueQuoted 8 lines
Manju,
Quoted 6 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Manjunatha GK
Sent: Tuesday, March 02, 2010 7:36 AM
To: [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar,Santosh; Raja,
Quoted 4 lines
Quoted 4 lines
Govindraj
Subject: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueThe commit id "
5550bc33a1a9002976022cc794fe8c52ad9a0021"seems to be
Quoted 19 lines
Quoted 4 lines
broken
zoom3 boot which adds support for UART4 on OMAP4 and OMAP3630.But, it looks like OMAP3630 UART4 interface and functional
clock nodes
Quoted 2 lines
needs
to be added for omap3630. Thus limiting no. of UART's for3630 to 3 to
Quoted 2 lines
prevent
boot up issues until clock nodes are added for UART4 on OMAP3630.I already tried a similar patch here:
http://patchwork.kernel.org/patch/81692/
But as it is really not solving anything, and Tony rejected it, I started working on the needed bits to get UART4 enabled, therefore I have came up with this patch series:
Quoted 7 lines
- [RFC v3][PATCH 0/6] OMAP3630: UART4 startup (+ new bugfix!) [1]
Also, I'm working in my spare time on a cleanup proposal [2], which I'll repost today, given some comments from Kevin.
So, if you want to boot, take series [1] and [2], and then you should be able to boot with ttyS0.
Quoted 7 lines
Sergio, did you test this combination on zoom3? It seems to be not working
on zoom3 with ttyS0 and also with ttyS3.Where as, reducing number of uarts(for 3630) to 3 seems to working fine for
ttyS3 on zoom3.
To update further, it seems to be working on zoom3 with ttyS0 with following combination of patches:
1.
[RFC,part2,v1,4/4] omap3: zoom 2/3: Change debugboard serial port id [RFC,part2,v1,3/4] omap3: 3630sdp: Explicitly enable all UARTs [RFC,part2,v1,2/4] omap3: zoom2/3 / 3630sdp: Don't init always all uarts [RFC,part2,v1,1/4] omap2/3/4: serial: rename omap_serial_init
2.
[RESEND,PATCH/RFC] OMAP2: serial.c: Fix number of uarts in early_init
3.
[RFC,v3,6/6] omap3: serial: Fix uart4 handling for 3630 [RFC,v3,5/6] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs [RFC,v3,4/6] OMAP clock: Add uart4_ick/fck definitions for 3630 [RFC,v3,3/6] ARM: OMAP3630: PRCM: Add UART4 control bits [RFC,v3,2/6] omap2/3/4: serial: Remove condition for getting uart4_phys [RFC,v3,1/6] OMAP3: serial: Check for zero-based physical addr
-Manjunath
Quoted 90 lines
-----Original Message-----
From: G, Manjunath Kondaiah
Sent: Wednesday, March 03, 2010 12:38 AM
To: G, Manjunath Kondaiah; Aguirre, Sergio; [email protected]
Cc: Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueQuoted 58 lines
-----Original Message-----
From: G, Manjunath Kondaiah
Sent: Wednesday, March 03, 2010 11:31 AM
To: Aguirre, Sergio; [email protected]
Cc: Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueSergio,
Quoted 8 lines
-----Original Message-----
From: Aguirre, Sergio
Sent: Tuesday, March 02, 2010 9:41 PM
To: G, Manjunath Kondaiah; [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueQuoted 8 lines
Manju,
Quoted 6 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap- [email protected]] On Behalf Of Manjunatha GK
Sent: Tuesday, March 02, 2010 7:36 AM
To: [email protected]
Cc: G, Manjunath Kondaiah; Tony Lindgren; Shilimkar,Santosh; Raja,
Quoted 4 lines
Quoted 4 lines
Govindraj
Subject: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueThe commit id "
5550bc33a1a9002976022cc794fe8c52ad9a0021"seems to be
Quoted 19 lines
Quoted 4 lines
broken
zoom3 boot which adds support for UART4 on OMAP4 and OMAP3630.But, it looks like OMAP3630 UART4 interface and functional
clock nodes
Quoted 2 lines
needs
to be added for omap3630. Thus limiting no. of UART's for3630 to 3 to
Quoted 2 lines
prevent
boot up issues until clock nodes are added for UART4 on OMAP3630.I already tried a similar patch here:
http://patchwork.kernel.org/patch/81692/
But as it is really not solving anything, and Tony rejected it, I started working on the needed bits to get UART4 enabled, therefore I have came up with this patch series:
Quoted 7 lines
- [RFC v3][PATCH 0/6] OMAP3630: UART4 startup (+ new bugfix!) [1]
Also, I'm working in my spare time on a cleanup proposal [2], which I'll repost today, given some comments from Kevin.
So, if you want to boot, take series [1] and [2], and then you should be able to boot with ttyS0.
Quoted 7 lines
Sergio, did you test this combination on zoom3? It seems to be not working
on zoom3 with ttyS0 and also with ttyS3.Where as, reducing number of uarts(for 3630) to 3 seems to working fine for
ttyS3 on zoom3.To update further, it seems to be working on zoom3 with ttyS0 with following combination of patches:
1.
[RFC,part2,v1,4/4] omap3: zoom 2/3: Change debugboard serial port id [RFC,part2,v1,3/4] omap3: 3630sdp: Explicitly enable all UARTs [RFC,part2,v1,2/4] omap3: zoom2/3 / 3630sdp: Don't init always all uarts [RFC,part2,v1,1/4] omap2/3/4: serial: renameomap_serial_init2.
[RESEND,PATCH/RFC] OMAP2:serial.c: Fix number of uarts inearly_init
Quoted 7 lines
3.
[RFC,v3,6/6] omap3: serial: Fix uart4 handling for 3630 [RFC,v3,5/6] OMAP3: PRCM: Consider UART4 for 3630 chip inprcm_setup_regs[RFC,v3,4/6] OMAP clock: Add uart4_ick/fck definitions for 3630 [RFC,v3,3/6] ARM: OMAP3630: PRCM: Add UART4 control bits [RFC,v3,2/6] omap2/3/4: serial: Remove condition for gettinguart4_phys[RFC,v3,1/6] OMAP3: serial: Check for zero-based physical addr
Yeah, that should be the total patchlist applied.
I'm assuming you're applying from bottom to top order in your list above...
Regards,
Sergio
Quoted 2 lines
-Manjunath
Quoted 23 lines
Quoted 9 lines
To update further, it seems to be working on zoom3 with ttyS0 with following combination of patches:
1.
[RFC,part2,v1,4/4] omap3: zoom 2/3: Change debugboard serial port id [RFC,part2,v1,3/4] omap3: 3630sdp: Explicitly enable all UARTs [RFC,part2,v1,2/4] omap3: zoom2/3 / 3630sdp: Don't initalways all uarts
Quoted 4 lines
[RFC,part2,v1,1/4] omap2/3/4: serial: rename
omap_serial_init2.
[RESEND,PATCH/RFC] OMAP2:serial.c: Fix number of uarts in
early_initQuoted 4 lines
3.
[RFC,v3,6/6] omap3: serial: Fix uart4 handling for 3630 [RFC,v3,5/6] OMAP3: PRCM: Consider UART4 for 3630 chip in
prcm_setup_regsQuoted 3 lines
[RFC,v3,4/6] OMAP clock: Add uart4_ick/fck definitions for 3630 [RFC,v3,3/6] ARM: OMAP3630: PRCM: Add UART4 control bits [RFC,v3,2/6] omap2/3/4: serial: Remove condition for
Quoted 7 lines
getting
uart4_physQuoted 1 line
[RFC,v3,1/6] OMAP3: serial: Check for zero-based physical addr
Yeah, that should be the total patchlist applied.
I'm assuming you're applying from bottom to top order in your list above...
Yes. But, you will be dropping v1 part2 series right?
Regards,
Manjunath
Quoted 33 lines
-----Original Message-----
From: G, Manjunath Kondaiah
Sent: Wednesday, March 03, 2010 7:39 AM
To: Aguirre, Sergio; [email protected]
Cc: Tony Lindgren; Shilimkar, Santosh; Raja, Govindraj
Subject: RE: [PATCH] OMAP: Zoom3: Fix Zoom3 booting issueQuoted 22 lines
Quoted 7 lines
To update further, it seems to be working on zoom3 with ttyS0 with following combination of patches:
1.
[RFC,part2,v1,4/4] omap3: zoom 2/3: Change debugboard serial port id [RFC,part2,v1,3/4] omap3: 3630sdp: Explicitly enable all UARTs [RFC,part2,v1,2/4] omap3: zoom2/3 / 3630sdp: Don't initalways all uarts
Quoted 4 lines
[RFC,part2,v1,1/4] omap2/3/4: serial: rename
omap_serial_init2.
[RESEND,PATCH/RFC] OMAP2:serial.c: Fix number of uarts in
early_initQuoted 4 lines
3.
[RFC,v3,6/6] omap3: serial: Fix uart4 handling for 3630 [RFC,v3,5/6] OMAP3: PRCM: Consider UART4 for 3630 chip in
prcm_setup_regsQuoted 3 lines
[RFC,v3,4/6] OMAP clock: Add uart4_ick/fck definitions for 3630 [RFC,v3,3/6] ARM: OMAP3630: PRCM: Add UART4 control bits [RFC,v3,2/6] omap2/3/4: serial: Remove condition for
getting
uart4_phys
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
[RFC,v3,1/6] OMAP3: serial: Check for zero-based physical addr
Yeah, that should be the total patchlist applied.
I'm assuming you're applying from bottom to top order in your list above...
Yes. But, you will be dropping v1 part2 series right?
I'll just drop patch #0001 in that series, and resend.
Actually, I'll group the 2 series and resend in a single batch, just to be clear on the dependency between them.
Regards,
Sergio
Quoted 3 lines
Regards,
Manjunath