[Voyage-linux] MP-954GPS on ALIX.3c board with Voyage Linux 0.5.2
Mali VMS
(spam-protected)
Fri Jul 4 08:04:58 HKT 2008
Hi Punky,
Thanks, I enabled Parallel port support and also patched 8250_pci.c came from COMMELL.
1) patch -b <linux_2.6_8250_pci_patch
patching file 8250_pci.c
Hunk #1 succeeded at 1052 with fuzz 2 (offset 51 lines).
Hunk #2 succeeded at 1195 with fuzz 2 (offset 58 lines).
Hunk #3 FAILED at 2010.
Hunk #4 FAILED at 2033.
Hunk #5 succeeded at 2464 with fuzz 2 (offset 313 lines).
2 out of 5 hunks FAILED -- saving rejects to file 8250_pci.c.rej
2) First try failed:
drivers/serial/8250_pci.c:1057: error: redeclaration of enumerator 'pbn_b0_4_1152000'
drivers/serial/8250_pci.c:1046: error: previous definition of 'pbn_b0_4_1152000' was here
3) I deleted line 1057 in 8250_pci.c and tried again. This time image created.
4) After install and reboot. lspci -v produce the same result.
00:09.0 Ethernet controller: VIA Technologies, Inc. VT6105M [Rhine-III] (rev 96)
Subsystem: VIA Technologies, Inc. Unknown device 0106
Flags: bus master, stepping, medium devsel, latency 64, IRQ 10
I/O ports at 1000 [size=256]
Memory at e0000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
00:0c.0 Serial controller: Oxford Semiconductor Ltd Unknown device 950c (prog-if 06 [16950])
Flags: medium devsel, IRQ 9
I/O ports at 1400 [size=32]
Memory at e0040000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 1440 [size=32]
Memory at e0080000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 1
5) voyage:/# cat /proc/interrupts
CPU0
0: 59426433 XT-PIC-XT timer
2: 0 XT-PIC-XT cascade
4: 498 XT-PIC-XT serial
10: 62555 XT-PIC-XT eth0
14: 6119 XT-PIC-XT ide0
15: 4165 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2
NMI: 0
LOC: 0
ERR: 11
MIS: 0
voyage:/# dmesg |grep tty
Kernel command line: root=LABEL=ROOT_FS console=ttyS0,38400n8
console [ttyS0] enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
5) setserial /dev/ttyS4 port 0x1400 irq 9 uart 16950 baud_base 1152000
6) minicom -s /dev/ttyS4
This time I got
............................................þ
Attached please find the patch and document from COMMELL, is there anything wrong?
8250_pci.c.rej, 8250_pci.c, 8250_pci.c.org are in the file of 8250.tgz for your reference also.
Regards,
Robbert
-----Original Message-----
From: Kim-man 'Punky' TSE [mailto:punkytse at punknix.com]
Sent: Thursday, July 03, 2008 2:51 PM
To: Mali VMS
Cc: voyage-linux at voyage.hk
Subject: Re: [Voyage-linux] MP-954GPS on ALIX.3c board with Voyage Linux 0.5.2
Hi Robbert,
I am looking at it a bit, can you recompile the kernel with parallel
port support. It seems that the Oxford chipset is a multiport I/O. Or
you may install stock Debian kernel (need modifying grub's menu.lst to
boot properly)
--- Parallel port support
<M> PC-style hardware
<M> Multi-IO cards (parallel and serial)
[*] Use FIFO/DMA if available (EXPERIMENTAL)
[*] SuperIO chipset support (EXPERIMENTAL)
<M> Support for PCMCIA management for PC-style ports
<M> AX88796 Parallel Port
[*] IEEE 1284 transfer modes
Regards,
Punky
Mali VMS wrote:
> I am trying to make MP-954GPS on ALIX.3c board with Voyage Linux 0.5.2 work, but no luck.
>
> Below is what I did so far:
> 1. dmesg | fgrep ttyS
> Kernel command line: root=LABEL=ROOT_FS console=ttyS0,38400n8 console [ttyS0] enabled
> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 2. lspci -v 00:0c.0 Serial controller: Oxford Semiconductor Ltd Unknown device 950c (prog-if 06 [16950])
> Flags: medium devsel, IRQ 9
> I/O ports at 1400 [size=32]
> Memory at e0040000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 1440 [size=32]
> Memory at e0080000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [40] Power Management version 1
>
> 00:0c.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (Disabled)
> Flags: medium devsel, IRQ 10
> I/O ports at 1480 [size=32]
> Memory at e00c0000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 14c0 [size=32]
> Memory at e0100000 (32-bit, non-prefetchable) [size=4K]
> Capabilities: [40] Power Management version 1 =========================================================================
> 3. Recompile the kernel to support more tty
> 1) apt-get install linux-source-2.6.23-voyage
> 2) cd /usr/src; tar xjvf linux-source-2.6.23-voyage.tar.bz2;
> cd linux-source-2.6.23; cp /boot/config-2.6.23-486-voyage .config
> 4)make menuconfig -> go to device driver->character ->serial
> <*> 8250/16550 and compatible serial support
> [*] Console on 8250/16550 and compatible serial port <*> 8250/16550 PCI device support
> <M> 8250/16550 PCMCIA device support (20) Maximum number of 8250/16550 serial ports (20) Number of 8250/16550 serial ports to register at runtime [*] Extended 8250/16550 serial driver options [*] Support more than 4 legacy serial ports < > Support Fourport cards < > Support Accent cards < > Support Boca cards < > Support Exar ST16C554/554D Quad UART < > Support Hub6 cards
> [*] Support for sharing serial interrupts [*] Autodetect IRQ on standard ports (unsafe)
> [*] Support RSA serial ports --- Non-8250 serial port support
> < > Digi International NEO PCI Support
>
> 5)make-kpkg --append-to-version "-486-voyage" kernel-image --initrd
> 6)dpkg -i linux-image-2.6.23-486-voyage
> 7)reboot
> 8) dmesg | fgrep ttyS got same result as before.
> 9) setserial /dev/ttyS2 baud_base 115200 spd_cust divisor 24 port 0x1400 irq 9 uart 16950
> 10) minicom -s /dev/ttyS2 -->set baud rate to 4800 8n1, no flow control
> No output fond from minicom.
> 4. cat /proc/interrupts
> CPU0
> 0: 1780899 XT-PIC-XT timer
> 2: 0 XT-PIC-XT cascade
> 4: 522 XT-PIC-XT serial
> 10: 2113 XT-PIC-XT eth0
> 14: 897 XT-PIC-XT ide0
> 15: 1 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2
> NMI: 0
> LOC: 0
> ERR: 0
> MIS: 0
> Is anything wrong?
>
> Thanks!
>
> Robbert
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OS_serialbridge_linux2.6.tar.gz
Type: application/x-gzip
Size: 2309 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080704/df7e3d8b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Application Note for Linux.pdf
Type: application/pdf
Size: 19943 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080704/df7e3d8b/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8250.tgz
Type: application/x-compressed
Size: 29468 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080704/df7e3d8b/attachment-0001.bin>
More information about the Voyage-linux
mailing list