[uClinux-dev] m68k-bdm-elf-gdb device open failed (post again)
bgoodman at empirix.com
Fri Aug 5 23:35:48 EDT 2005
I think you may have to do a "depmod -ae" after copying in the module, to have it added to all the modules.dep files. After that, I think insmod would reconize it.
Is there actually a /dev/bdmcf0 file? ls -l /dev/bdmcf0
Do the major/minor number match that in /proc/devices?
Hope these tips help...
From: uclinux-dev-bounces at uclinux.org on behalf of John Raz
Sent: Fri 8/5/2005 11:10 PM
To: uClinux development list
Subject: [uClinux-dev] m68k-bdm-elf-gdb device open failed (post again)
I am trying to debug my ColdFire5282 with m68k-bdm-elf-gdb.
I followed the instructions from page
They are a little out of date but the actual driver download at
http://www.sourceforge.net/projects/bdm/ has more up to date instructions.
I am using Fedora Core 3. I created the /dev/bdmcf0 entry, make the
linux-2.6 driver bdm.ko, and build the libs and user apps.
1. The first problem is that the driver
#make install (as root)
doesn't seem to do anything. I would expect
# insmod bdm.ko
to find the module but it does not. I tried copying it manually to
/lib/modules/2.6.11-1.27_FC3/kernel/drivers/char but it still didn't
find it. I ended up doing insmod from the driver directory and it loads
it and it shows up with lsmod and I see the bdm_init_module line in
2. The real problem is that when I try m68k-bdm-elf-gdb it cannot open
the device. I have the M5282Lite board connected to the parallel port,
powered on. I have created the /dev/bdmcf0 char 34, 4 device. The test
[raz at work1 test]$ ./bdm-chk /dev/bdmcf0
BDM Check for Coldfire processors.
trying kernel driver: /dev/bdmcf0
trying bdm server: localhost:/dev/bdmcf0
bdm-remote:open: localhost:6543:/dev/bdmcf0 failed
Open failed: No such device or address
Any ideas on what I'm missing?
Any and all help is appreciated
uClinux-dev mailing list
uClinux-dev at uclinux.org
This message was resent by uclinux-dev at uclinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3835 bytes
Desc: not available
More information about the uClinux-dev