Roboard DM & P x-Linux kernel update kernel 2.6.35.7

Source: Internet
Author: User

Update X-Linux kernel and kernel version (2.6.35.7) on the roboard. My environment is: boot: syslinux, file system busybox

 

1. Because vortex86dx is used on the roboard, the config file uses the default i386 configuration file.

Make i386_defconfig

Then type

Make menuconfig

Start Configuration

 

2. Important configurations

Processor type and features --->

Processor family (Pentium-Pro) --->

Select "486" (Note: No quotation marks)

 

Device Drivers --->

Serial ATA and parallel ata drivers --->

<*> It8211/2 PATA support (optional)

 

After these two parts are selected, compile

Make
Bzimage

We should be able to start the kernel! However, please note that (3 .)

 

3. Supplement to hda and SDA questions:

A. Modify syslinux. cfg in the configuration file of syslinux:

Append root =/dev/hda2 needs to be modified,

Append root =/dev/s
Da2

B. Modify/etc/fstab IN THE busybox File System:

/Dev/hda1/boot msdos Ro, defaults 0 0
/Dev/hda2/ext3 defaults, noatime 0 1 needs to be modified,

/Dev/s
Da1/boot msdos Ro, defaults 0 0
/Dev/s
Da2/ext3 defaults, noatime 0 1

If the kernel is 2.6.29, you can use hda. The specific type depends on the random response.

 

4. About some hardware drivers:

A. Nic (RDC r6040)

Device Drivers --->

[*] Network device support --->

[*] Ethernet (10 or 100 Mbit) --->

[*] RDC r6040 Fast Ethernet Adapter support

 

B. Sound Card (c-media cm119a)

You only need to add the universal driver of ALSA.

Device Drivers --->

[*] Sound Card support --->

[*] Advanced Linux sound Architecture --->

<*> Sequencer support

<*> OSS mixer API

<*> Oss pcm (digital audio) API

[*] Oss pcm (digital audio) API-include plugin system

[*] OSS sequencer API

[*] Support old ALSA API

[*] USB sound devices --->

<*> USB audio/MIDI driver

 

C. wireless network adapter (vt6655)

Device Drivers --->

[*] Staging drivers --->

[] Exclude staging drivers from being build

<*> Via technologies vt6655 support

 

5. Add another Nic

However, after starting, the screen will not stop printing:

If the network cable is connected to: eth0: link up, 100 Mbps, full-duplex, LPA 0x4de1

If the network cable is disconnected: eth0: link down

However, Ping can connect to the network!

 

This is because of the r6040 driver problem. To solve this problem, you can modify $ linux_kernel/Drivers/NET/r6040.c.

In the static void r6040_timer (unsigned long data) Function

Comment out mii_check_media (& LP-> mii_if, 1, 1 );

 

 

In this case, the size of the compiled kernel is 4192kb in my environment. Of course, you can cut it by yourself. At last, it can be compressed to about 2 MB!


 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.