Port-mips archive

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

Pencentra 200 (TX3922) boot failure



Hi,

I recently got my hands Fujitsu Pencentra 200 pen tabled, which is
based on Toshiba TX3922 MIPS CPU (hpcmips). NetBSD hpcmips port wiki
lists this device as supported, however I managed to boot it only on
NetBSD 5 (at least on 5.2.3), all versions between NetBSD 3 to current
fails to boot.

All versions starting NetBSD 6 (and NetBSD 4) get stuck on jump after
kernel is loaded by bootloader without any additional logs and only
hard reset helps to restart the device (mainly use hpcboot, since it
is more verbose and lists the device). NetBSD 3 goes to DDB.

I tried to start some debugging, but I got no logs from mach_init() no
matter how early I add them, not even sure if code reaches kernel and
locore.S code is executed unfortunately (don't know how to check
that). NetBSD 6 included big refactoring for MIPS which also doesn't
help... If you have some ideas how to debug or at least identify where
it freezes, would be great.

NetBSD 5 is not perfect, boots fully only once in 5-10 times, but at
least it always starts to load kernel and kernel messages are printed,
but it may freeze on USB of plumvideo driver.

Additionally, it seems that starting NetBSD 8 readelf reports kernel
having FP ABI as hard float, though soft float is expected I believe.
Tag_GNU_MIPS_ABI_FP: Hard float (double precision) instead of
Tag_GNU_MIPS_ABI_FP: Soft float. I get a bunch of warnings like this
on kernel linking stage (mipsel--netbsd-ld: warning: netbsd uses
-mhard-float (set by locore.o),
obj/sys/arch/hpcmips/compile/RAMDISK/lib/kern/libkern.a(ctzsi2.o) uses
-msoft-float).

dmesg from NetBSD 5.2.3: https://dmesgd.nycbug.org/index.cgi?do=view&id=7950

HPC boot logs below before freeze:
--------HPCBOOT--------
MemoryManager: LockPages
FileManager: FAT
hpcboot build number: 14
Fujitsu PenCentra 200 (cpu=0x04208100 machine=0x01420200)
[progress] 2
[0] 0x04000000 size 0x04000000
_WIN32_WCE = 211
GetVersionEx
Windows CE 2.11
GetSystemInfo:
wProcessorArchitecture      0x1
wProcessorLevel             0x3
wProcessorRevision          0x2230
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xfa0
Display: 640x480 8bpp
TX39
[progress] 3
[progress] 4
open file "\Storage Card1\netbsd7"(9046136 byte).
[progress] 5
Loader: ELF
[progress] 6
file size: 0x8499f0+[extra: 0x1fe0] = 0x84bfe0 bytes
address translation table 2144 pages. (0x4300 bytes)
allocated 2144 page. mapped 2144 page.
[progress] 7
2nd bootloader vaddr=0x0090f000 paddr=0x03d05000
2nd bootloader copy done.
[progress] 8
seg[1] vaddr 0x80000000 file size 0x8499f0 mem size 0x891510
        ->load 0x80000000+0x00891510=0x80891510 ofs=0x00000000+0x8499f0
        ->zero 0x808499f0+0x00047b20=0x80891510
[progress] 9
load link 2130, zero clear link 1
kernel entry address: 0x80001000
framebuffer: 640x480 type=3 linebytes=0 addr=0x00000000
console = 2
[progress] 10
jump to 0x83d05000 (info=0x83d04000, pvec=0x83463000)

Regards,
Andrius V


Home | Main Index | Thread Index | Old Index