Steve Tell wrote:
I wrote up these notes about how I recently installed Bering-uClibc-2.0rc2 on a Soekris net4501, a popular single-board pc that has a serial console and compact flash slot, but no floppy.Looks great - just a couple of comments about some issues I've run into, when doing the same thing:
http://www.telltronics.org/software/Bering/BeringCross.html
* since it's so hard to get the small ones lately, all I have used lately are 64MB cards. The Soekris box tends to "see" these cards differently than my normal computers (regarding their CHS mappings), so this has to be set in fdisk, before partitioning (by going to the "extra functionality" and setting the heads/sectors/cylinders manually). The correct mapping can be seen in the in the BIOS messages when the Soekris box boots up.
I don't know if that's not needed if one doesn't repartition the CF (I always do, since I like to have a spare partition with a "failsafe" setup to boot)
* All of the cards I've seen so far need a master boot record to be installed, before they boot properly. Unfortunately (at least on my version of RedHat (9.0.95 aka Severn/Fedora Test 1)) the simple MBR provided by syslinux is not included in the rpm - so, I built syslinux from source, and then do
dd if=mbr.bin of=/dev/sda bs=512 count=1
to install the MBR
This may not be needed if one just keeps the partitions as they were
* It seems that Redhat has dropped minix support from their kernels (verified on Severn/Fedora and also on RHEL 3.0). This obviously causes a problem when trying to mound the initrd file. The module is built, but is not included in the kernel rpms. On RHEL, one needs to install the "whatever-unsupported.rpm" or (for either version) roll your own kernel (or, mess with the SPEC file for the srpm and rebuild with that).
* Not directly related to LEAF, but to get my usb-reader working on RedHat, I had to
echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0 1" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0 2" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0 3" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0 4" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0 5" > /proc/scsi/scsi
in order to "see" all devices (this is because Red Hat disables the "probe for multiple luns" settings. I got the numbers to put in by running "cdrecord --scanbus"
Thanks for writing that up - I'm sure it will make life a lot easier for people trying to roll their own setup from CF.
Martin
------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ------------------------------------------------------------------------ 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
