> I'm trying to install Bering on a PC104 board with DiskonChip2000, but
> I'm not sure how/where to load the proper driver. I'm at a disadvantage
> here, my background is windows development.
Interesting issue. Let's try it (note: I do not have the hardware here so we
might have to iterate a bit)

1/ Step one: create the mtd device.
According to:
http://www.linuxhq.com/kernel/v2.4/doc/devices.txt.html
We have:
 90 char        Memory Technology Device (RAM, ROM, Flash)
                  0 = /dev/mtd0         First MTD (rw)
                  1 = /dev/mtdr0        First MTD (ro)
                    ...
                 30 = /dev/mtd15        16th MTD (rw)
                 31 = /dev/mtdr15       16th MTD (ro)

So from linux Bering shell edit root.dev.mk
cd /var/log/lrpkg
ae root.dev.mk
at the bottom of the file add:

# ubd devices for UML (J. Nilo)
mknod /dev/ubd0 b 98 0 >null 2>&1
mknod /dev/ubd1 b 98 1 >null 2>&1
mknod /dev/mtd0 b 90 0 >null 2>&1  <-- line to add
cd /
Save the file and backup initrd !!!
That will take care of device creation /dev/mtd0 at boot time.

2/ Step two: load the appropriate modules.
They are here:
http://leaf.sourceforge.net/devel/jnilo/bering/latest/modules/drivers/mtd/
My guess is that you need to load first mdtcore.o then ntfl.o
If you get unresolved reference it means that you need some more :-)
Put the 2 modules in /lib/modules, declare them in /lib/modules and save
module.lrp
Then see if you can mount and access mtd0
Let me know so that I can update the doc on this issue

>I'm also trying to locate an
> Ethernet driver for an i82557 chip. I may be on my own with the net
> driver, but can anyone assist me on the diskonchip?
The appropriate module is eepro100. It's available on the Bering boot floppy.

Jacques


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to