Project

General

Profile

Actions

GalaxyNexusI9250SerialConsole » History » Revision 1

Revision 1/22 | Next »
Denis 'GNUtoo' Carikli, 11/02/2012 10:18 PM


GalaxyNexusSerialConsole

When you connect the cable you get the FIQ debugger, but what if you want kgdb instead:
  • apply that patch:
    diff --git a/arch/arm/mach-omap2/board-tuna.c b/arch/arm/mach-omap2/board-tuna.c
    index a022a43..7098227 100644
    --- a/arch/arm/mach-omap2/board-tuna.c
    +++ b/arch/arm/mach-omap2/board-tuna.c
    @@ -1001,6 +1001,8 @@ static inline void __init board_serial_init(void)
            omap_serial_init_port_pads(0, uart1_pads, uart1_pads_sz, NULL);
            omap_serial_init_port_pads(1, tuna_uart2_pads,
                    ARRAY_SIZE(tuna_uart2_pads), &tuna_uart2_info);
    +       omap_serial_init_port_pads(2,tuna_uart3_pads,
    +               ARRAY_SIZE(tuna_uart3_pads), NULL);
            omap_serial_init_port_pads(3, tuna_uart4_pads,
                                       ARRAY_SIZE(tuna_uart4_pads), NULL);
     }
    
  • remove the FIQ debugger in the kernel configuration.
  • change the CMDLINE trough the kernel configuration:
    Use:
    CONFIG_CMDLINE="console=ttyO2 androidboot.console=ttyO2 [...]"

    Instead of:
    CONFIG_CMDLINE="console=ttyFIQ0 androidboot.console=ttyFIQ0 [...]"

Updated by Denis 'GNUtoo' Carikli over 12 years ago · 1 revisions

Also available in: PDF HTML TXT