<Industrial Computer (AMD lx processor platform, non-arm) Linux Kernel & busybox compilation option configuration>
(1) configure and compile busybox:
Note: the target machine of this compilation is not an arm board, but an industrial computer (Yanhua 3355). The CPU is amd low power lx800/500 MHz and lx600/366 MHz processor,
So ~, Note that it is different from traditional arm platform transplantation ~
Modify makefile,
Changed row 164 to cross_compile? = NULL
Change row 189 to arch? = I386
# For the ARM platform, cross_compile? = Arm-Linux-, Arch? = Arm,
The default settings are used for the moment. If you do not modify the makefile, runMake menuconfigTo enter the configuration page,
General configuration --->
[*] Show verbose applet usage messages
[*] Store applet usage messages in compressed form
[*] Support-install [-S] to install applet links at runtime
[*] Enable locale support (system needs locale for this to work)
[*] Support for-long-Options
[*] Use the devpts filesystem for unix98 ptys
[*] Support writing pidfiles
[*] Runtime SUID/SGID configuration via/etc/busybox. config
[*] Suppress warning message If/etc/busybox. conf is not readable
Build options --->
[*] Build busybox as a static binary (no shared libs)
[*] Build with large file support (for accessing files> 2 GB)
Installation Options->
[] Don't use/usr
Applets links (as soft-links) --->
(./_ Install) busybox installation prefix
Busybox library tuning --->
(6) Minimum Password legth
(2) MD5: Trade bytes for speed
[*] Fsater/proc scanning code (+ 100 bytes)
[*] Command line editing
(1024) Maximum length of input
[*] Vi-style line editing commands
(15) History Size
[*] History saving
[*] Tab completion
[*] Fancy shell prompts
(4) Copy buffer size, in kilobytes
[*] Use IOCTL names rather than hex values in error mess
[*] Support InfiniBand HW
(2) LINUX module utilities --->
(/Lib/modules) default directory containing modules
(Modules. Dep) default name of modules. Dep
[] Simplified modutils
[*] Insmod
[*] Rmmod
[*] Lsmod
[*] Modprobe
----- Options common to multiple modutils
[] Support Version 2.2/2.4 linux kernels
[*] Support tainted module checking with new kernels
[*] Support for module. aliases file
[*] Support for modules. symbols file
Exit the make menuconfig interface and execute:
Make
Make install
Generate the busybox/_ Install Folder;
(2) configure and compile the kernel:
Decompress the kernel source code:Tar xvzf linux-2.6.32.2.tar.gz
Modify makefile:VI makefile
Enter/in VI to enter the search, enter cross_compile, and find
Export kbuild_buildhost: =$ (subarch)
Arch? = $ (Subarch)
Cross_compile? =
To:
Export kbuild_buildhost: =$ (subarch)
Arch? = X86
Cross_compile? =
If the target machine is an ARM platform and the compiler prefix is arm-Linux-, then:
Export kbuild_buildhost: =$ (subarch)
Arch? = Arm
Cross_compile? = Arm-Linux-
Then executeMake menuconfig
For configuration options, refer:
Http://blog.csdn.net/hello_wyq/archive/2006/09/30/1312066.aspx
Http://www.chinaunix.net/jh/4/16106.html
Http://lamp.linux.gov.cn/Linux/kernel_options.html
Http://blog.csdn.net/bekars/archive/2007/01/24/1492067.aspx
Http://blog.chinaunix.net/u3/116495/showart_2333717.html
Options to be disabled:
General setup
[] Initial Ram filesystem and RAM disk (initramfs/initrd) Support
Enable the block layer
[] Support for large (2 TB +) Block devices and files
[] Block layer data integrity support
Io schedulers --> delete all the following
Power Management and ACPI options
[] Power management support
[] CPU idle PM support
CPU frequency scaling --->
[] CPU frequency scaling
Bus options
[] Message signaled interrupts (MSI and MSI-X)
[] ISA support
[] MCA support
<> Pccard (PCMCIA/carcard) Support
Networking Support
[] Amateur radio support --->
<> CAN Bus Subsystem Support --->
<> IrDA (infrared) Subsystem Support --->
<> Bluetooth Subsystem Support --->
[] Rxrpc dynamic debugging
<> Rxrpc Kerberos Security
<> WiMAX wireless broadband support --->
<> RF switch Subsystem Support --->
<> Plan 9 Resource Sharing support (9p2000) (experimental) --->
Networking options --->
<> PACKET socket
<> Transformation user configuration interface
<> Pf_key sockets
[] Security Marking
[] Network packet filtering framework (netfilter) --->
<> The DCCP protocol (experimental) --->
<> The RDS protocol (experimental)
<> The TIPC protocol (experimental) --->
<> Asynchronous Transfer Mode (ATM)
<> 802.1d Ethernet bridging
[] Distributed switch architecture support --->
<> 802.1Q VLAN support
<> Decnet support
<> ANSI/IEEE 802.2 LLC type 2 Support
<M> the IPX protocol
[] IPX: full internal IPX Network
<> Appletalk protocol support
<> CCITT X.25 packet layer (experimental)
<> Lapb Data Link driver (experimental)
<> Acorn econet/Aun protocols (experimental)
<> WAN router
<> Phonet protocols family
<> IEEE Std 802.15.4 low-rate wireless
[] QoS and/or fair queueing --->
[] Data Center bridging support
Network Testing ---> delete all the following
Device Drivers
<*> Memory technology device (MTD) support --->
<> Parallel port support --->
File Systems // Delete as needed
Kernel hacking // delete all
Security Options // not all
Cryptographic API // encryption algorithm, which can be deleted as needed
Reference: friendly manual and http://blog.csdn.net/cgq081616/archive/2010/03/13/5376102.aspx