[Arm-netbook] serial console in new kernel sources
David Given
dg at cowlark.com
Sat May 19 13:31:10 BST 2012
On 19/05/12 00:45, Henrik Nordström wrote:
[...]
>> Apparently it doesn't show up in the kernel configuration tool, and is
>> selected automatically when you enable generic 8250 support. *shrug*
>
> Right. And as it should.
Of course!
Unfortunately... when I turn the driver on, my kernel panics on startup.
[ 0.540000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.560000] serial8250.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a
U6_16550A
[ 0.570000] console [ttyS0] enabled
[ 0.580000] [uart]: used uart info.: 0x05
[ 0.600000] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 1) is a
U6_16550A
[ 0.610000] Unable to handle kernel NULL pointer dereference at
virtual address 0000000c
Backing out my memory hack makes no difference, and everything appears
to work fine with the serial driver disabled. The relevant stanza from
my kernel.conf looks like this:
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_SUNXI=y
CONFIG_SERIAL_8250_NR_UARTS=1
CONFIG_SERIAL_8250_RUNTIME_UARTS=1
# CONFIG_SERIAL_8250_EXTENDED is not set
...
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
I'm just building a vanilla kernel now, in case there's something wrong
with my kernel.conf, but that'll take hours (cross compilation is for
the weak). Is there anything obvious in the above I'm getting wrong?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Never attribute to malice what can be adequately explained by
│ stupidity." --- Nick Diamos (Hanlon's Razor)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20120519/fff39484/attachment.bin
More information about the arm-netbook
mailing list