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!