Subject: NetBSD 1.6.2 on JVC InterLink MP-C303, german version: MP-C33
To: port-hpcmips En <port-hpcmips@netbsd.org>
From: Alexander Korsch <mail@a-korsch.de>
List: port-hpcmips
Date: 06/05/2004 17:10:51
Hello,
First of all, sorry for my english.
I am trying to get NetBSD 1.6.2 running on a JVC MP-C33, the german
version of the international InterLink MP-C303.
My problem is: any time I try to boot the kernel, the device make an
automatic reset, it starts automatically again with the default
setup-procedure of WindowsCE for HPC 2000.
The Hardware:
- InterLink MP-C303 180MHz VR4122 7" 1024x600 64K 32 IrDA USB
- 1GB Transcend CF-card
My actions:
1. I copied pbsdboot.exe, hpcboot.exe (up to Build 9), the
netbsd-GENERIC kernel for mips an all sets on a dos-partition of the
CF-card.
Now I tried to boot the kernel with pbsdboot.exe according to the
online-manuals, but it faild. First I get an error that pbsdboot.exe
can not write the pbsdboot.ini, when I click ok, it says loading image
map but nothing happens, you have to perform a reset,
WinCE-informations were still in the RAM after the reset.
After this I tried the hpcboot.exe which seems to work fine. It starts
to boot the kernel, creats a hpcboot-file/link on the CF-partition ...
but than the device makes a "cold reset", all informations (as
expected) out of the ram where gone, wince standard setup starts
automatically.
At this point the CF-card had no netbsd-partition, so I thought this
could be the reason why the kernel-load failed.
2. I installed the i386-version of netbsd on an old machine with a
CF-IDE adapter attached.
Now I created NetBSD-partitions on the CF-card and unzipped the kernel, base and
etc-files to the netbsd-partition (according to your online-manual:
http://www.netbsd.org/Ports/hpcmips/install.txt, MIPS-version of cause)
### Here is the CF-card fdisk-output:
Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 1985 heads: 16 sectors/track: 63 (1008 sectors/cylinder)
BIOS disk geometry:
cylinders: 991 heads: 32 sectors/track: 63 (2016 sectors/cylinder)
Partition table:
0: sysid 6 (Primary 'big' DOS, 16-bit FAT (> 32MB))
start 63, size 526113 (256 MB), flag 0x0
beg: cylinder 0, head 1, sector 1
end: cylinder 260, head 31, sector 63
1: sysid 169 (NetBSD)
start 261, size 1473696 (719 MB), flag 0x0
beg: cylinder 0, head 4, sector 10
end: cylinder 731, head 4, sector 9
2: <UNUSED>
3: <UNUSED>
### Here is the CF-card disklabel output:
# /dev/rwd1d:
type: ESDI
disk: Transcend 1G0
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 1985
total sectors: 2000880
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 1331200 526176 4.2BSD 1024 8192 87 # (Cyl. 522 - 1842*)
b: 143136 1857744 swap # (Cyl. 1843 - 1984)
c: 2000619 261 unused 0 0 # (Cyl. 0*- 1984)
d: 2000880 0 unused 0 0 # (Cyl. 0 - 1984)
e: 526113 63 MSDOS # (Cyl. 0*- 521)
f: 1473696 261 unused 0 0 # (Cyl. 0*- 1462*)
### Unpacked files on the netbsd CF-card partition (MIPS-version of
cause):
total 3930
-rw-r--r-- 2 root wheel 939 Feb 10 21:17 .cshrc
-rw-r--r-- 2 root wheel 493 Feb 10 21:17 .profile
drwxr-xr-x 2 root wheel 512 Feb 10 20:23 altroot
drwxr-xr-x 2 root wheel 512 Feb 10 21:15 bin
drwxr-xr-x 4 root wheel 17920 Jun 4 20:39 dev
drwxr-xr-x 17 root wheel 1536 Jun 4 20:41 etc
drwxr-xr-x 2 root wheel 512 Feb 10 20:23 home
drwxr-xr-x 2 root wheel 512 Feb 10 20:23 mnt
drwxr-xr-x 2 root wheel 512 Jun 4 20:44 msdos
-r-xr-xr-x 1 root wheel 3975148 Jun 4 20:19 netbsd
drwxr-xr-x 2 root wheel 512 Jun 4 20:37 root
drwxr-xr-x 2 root wheel 2048 Feb 10 21:16 sbin
drwxr-xr-x 2 root wheel 512 Feb 10 20:23 stand
drwxr-xr-t 2 root wheel 512 Feb 10 20:23 tmp
drwxr-xr-x 13 root wheel 512 Feb 10 20:23 usr
drwxr-xr-x 21 root wheel 512 Feb 10 20:23 var
Now I tried again to boot NetBSD.
pbsdboot.exe, hpcboot.exe and also the netbsd-kernel are on my
msdos-partition of the cf-card.
pbsdboot.exe still does not work.
hpcboot.exe seems to work fine, it can found the kernel on the
msdos-partition AND on the netbsd-partitions and tries to boot it. But
than the same thing happens as before: Last warning from hpcboot, that
all data in memory will be erased, black screen, cold reset, automatical start
of windowsce setup.
### Here is the bootlog.txt from hpcboot.exe
BOOT START
sysinfo.dwPageSize = 4096
MemoryManager: LockPages
FileManager: UFS
[0] 0x80000000 size 0x04000000
GetVersionEx
Windows CE 3.0
GetSystemInfo:
wProcessorArchitecture 0x1
dwPageSize 0x1000
dwAllocationGranularity 0x00010000
dwProcessorType 0xfa0
wProcessorLevel 0x4
wProcessorRevision 0xc70
Display: 1024x600 16bpp
VR41
open file "netbsd" (3975148 byte).
Loader: ELF
file size: +0x293d50+[(symbol block: header 664 symbol 111728 string 102240 byte) = 0x34668] = 0x2c8668 byte
address translation table 720 pages.(5760 byte)
allocated 720 page. mapped 720 page.
2nd bootloader vaddr=0x003af000 paddr=0x01d54000
2nd bootloader copy done.
[1] vaddr 0x80001000 file size 0x293d50 mem size 0x2e7380
->load 0x80001000+0x002e7380=0x802e8380 ofs=0x00001000+0x293d50
[zero clear] ->0x80294d50+0x00053630=0x802e8380
->load 0x802e8380+0x00000298=0x802e8618
->load 0x802e8618+0x0001b470=0x80303a88 ofs=0x0039641c+0x1b470
->load 0x80303a88+0x00018f60=0x8031c9e8 ofs=0x003b188c+0x18f60
load link 718 zero clear link 1.
kernel entry address: 0x80001000
framebuffer: 800x600 type=5 linebytes=0 addr=0x00000000
console = 1
jump to 0x81d54000 (info=0x80000111, pvec=0x81a85000)
I canīt tell you how many different boot-options I tried with
hpcboot.exe, also tried some kernel-parameters, but it doesnīt work.
We are two german people who like to run NetBSD on our nice
JVC-devices but no idea how to do this :(
Does anybody have NetBSD running on the "original" device, the
InterLink MP-C303 and can tell us if we need aditional
boot-parameters? And maybe the NetBSD-version running on the device
(maybe only a problem with 1.6.2)?
The only difference between the MP-C303 and the MP-C33 seems to be the
keyboard-layout (german characters), but this shouldnīt be the reason
that NetBSD doesnīt come up in any way, or?
I found a lot of pages in google containing netbsd and mp-c303, but
nearly all of them in jap. lang which I cannot read :(
We are no c-coders, so if anyone can give us a hint how to get it
running, it would be very great!
Thank you very much, we hope for the best.
--
Best regards,
Alexander mailto:mail@a-korsch.de