Kernel Configuration

198 views
Skip to first unread message

Mark Clark

unread,
Dec 26, 2013, 10:39:40 AM12/26/13
to beckhof...@googlegroups.com
Hello, I am bringing up a Beckhoff CX5000 series system.  I have a kernel and file system built from gentoo Linux and grub2.  The CF card I am using works great from a USB-CF adapter connected to a bootable USB port on the system, however it will not boot from the CF card slot.  I'm missing a driver or some kernel configuration and don't know where to turn next.  Any advice would be greatly appreciated.

-- Mark

Richard Lemon

unread,
Dec 26, 2013, 6:50:02 PM12/26/13
to beckhof...@googlegroups.com
Hi Mark,

the following page from the Beckhoff website might be useful. 



There is an info graphic that shows the unit designations, the CX50x0-x10x where the lower case x are unimportant is a CX5000 without operating system, these are the only systems that I have booted linux on. The windows based units may not boot a different operating system from the CF card slot, from memory they are a locked down system.

Cheers
Richard


On 27 Dec 2013, at 2:39 am, Mark Clark <macl...@gmail.com> wrote:

Hello, I am bringing up a Beckhoff CX5000 series system.  I have a kernel and file system built from gentoo Linux and grub2.  The CF card I am using works great from a USB-CF adapter connected to a bootable USB port on the system, however it will not boot from the CF card slot.  I'm missing a driver or some kernel configuration and don't know where to turn next.  Any advice would be greatly appreciated.

-- Mark

--
You received this message because you are subscribed to the Google Groups "Beckhoff Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beckhoff-linu...@googlegroups.com.
To post to this group, send email to beckhof...@googlegroups.com.
Visit this group at http://groups.google.com/group/beckhoff-linux.
For more options, visit https://groups.google.com/groups/opt_out.

Mark Clark

unread,
Dec 26, 2013, 6:58:05 PM12/26/13
to beckhof...@googlegroups.com
Richard, thanks for your quick response. Your reply is interesting. I have just discovered that using the ide_generic with a probe_mask of 0x03 allows the kernel to mount the cf card. I had already gotten a 3.10 kernel to boot by setting the bios to boot from USB. The USB works fine since it's using the SCSI driver.

I'm curious if I've discovered a back door or if the system is less locked down than expected.

Thanks... Mark.

Mark Clark

unread,
Dec 27, 2013, 9:42:13 AM12/27/13
to beckhof...@googlegroups.com
The Beckhoff I am using is a CX5020.   I have used CX1020 systems before that are running a 2.26 kernel.  This is my own personal first attempt at making a CF for one.  I am using a much newer kernel. 3.10.

I am surprised that it needs to boot a legacy IDE probe.  If you have a 5020 booting Linux would you mind sending me your .config?   My particular application is using the USB-Serial interface to talk to a high speed radio.
Reply all
Reply to author
Forward
0 new messages