Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

latest evbmips/LOONGSON observations



After reading this post:

  http://mail-index.netbsd.org/port-evbmips/2014/12/23/msg000188.html

I dug out my Yeeloong and went hunting:

  http://mail-index.netbsd.org/port-evbmips/2015/02/06/msg000189.html

eventually producing a working 7.99.4 kernel.  A mips/loongson guru
should take a look at this.

Along the way, I tried a few things I hadn't before--taking some cues
from OpenBSD/loongson.

I tried the "wsfb" driver for Xorg and it works quite well, if a bit
sluggish.  The show-stopper is that the screen-saver operates backwards.

After an initial delay, the next keyboard/mouse event blanks the
screen immediately.  After an idle period, the screen is restored, but
the next keyboard/mouse event just blanks it again.

I've added 'xset s off' to my ".xinitrc". to keep it from blanking.

Without an "xorg.conf", the auto-detected "siliconmotion" driver crashes
complaining about:

[  3406.966] (EE) Failed to load /usr/X11R7/lib/modules/drivers/siliconmotion_drv.so: /usr/X11R7/lib/modules/drivers/siliconmotion_drv.so: Undefined symbol "exaOffscreenFree" (symnum = 101)

The "lynxfb" driver cannot be used without another non-"genfb" framebuffer
driver configured.  Without another framebuffer driver present, the
kernel fails to link with:

[...]
--- netbsd_dsk ---
#      link  YEELOONG/netbsd_dsk
/d0/build/nbsd-tst/tools/i386/bin/mips64el--netbsd-ld -Map netbsd_dsk.map --cref -m elf64ltsmip -T /x/nbsd-tst/src/sys/arch/mips/conf/kern.ldscript -Ttext 0xFFFFFFFF80200000 -e start -G 0 -X -o netbsd_dsk ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
lynxfb.o: In function `lynxfb_attach':
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:340: undefined reference to `vcons_init'
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:345: undefined reference to `vcons_init_screen'
/x/nbsd-tst/src/sys/dev/pci/lynxfb.c:353: undefined reference to `vcons_replay_msgbuf'
*** [netbsd_dsk] Error code 1

nbmake: stopped in /d0/build/nbsd-tst/obj/mips64el/sys/arch/evbmips/compile/YEELOONG
1 error

With "lynxfb" and "genfb", the kernel links, but panics during boot with
"cnopen: no console device".  I've since enabled "sisfb" in conjuction
with "lynxfb" to get a working kernel.


A uplcom USB RS232 device is detected and attached properly when
running as a diskless client.  When running with the root filesystem
on an SD card (USB-attached SD card reader), the kernel complains:

[...]
ohci0 at pci0 dev 9 function 0: vendor 1033 product 0035 (rev. 0x44)
ohci0: memory access is disabled
ehci0 at pci0 dev 9 function 1: vendor 1033 product 00e0 (rev. 0x05)
ehci0: interrupting at pci intd
ehci0: EHCI version 1.0
ehci0: wrong number of companions (1 != 0)
ehci0: ohci or uhci probably not configured
usb0 at ehci0: USB revision 2.0
[...]
ohci1 at pci0 dev 14 function 4: vendor 1022 product 2094 (rev. 0x02)
ohci1: memory access is disabled
ehci1 at pci0 dev 14 function 5: vendor 1022 product 2095 (rev. 0x02)
lemote_isa_intr_establish: enable irq 11 0x4a00
ehci1: interrupting at isa irq 11
ehci1: EHCI version 1.0
ehci1: wrong number of companions (1 != 0)
ehci1: ohci or uhci probably not configured
usb1 at ehci1: USB revision 2.0
[...]
ehci0: strange port
umass0 at uhub1 port 1 configuration 1 interface 0
umass0: Generic USB2.0-CRW, rev 2.00/58.87, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic-, Multi-Card, 1.00> disk removable
sd0: fabricating a geometry
sd0: 7580 MB, 7580 cyl, 64 head, 32 sec, 512 bytes/sect x 15523840 sectors


As before, writes to NFS filesystems via I/O redirection or with 'tar'
corrupt the resulting file.  'amd' still fails to start, complaining about
"invalid argument" on all automount points.

I tried using the recently-added "GLASS10x19" and "GLASS10x25" VT220-
like fonts, but GALLANT12x22 is still chosen.  If I disable
FONT_GALLANT12x22 (and FONT_BOLD8x16), the kernel complains that the
font table is empty (in the PMON font).  Nothing further appears, so
it's not clear if the kernel is hung or just unable to display.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index