最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】make menuconfig查看和确认已有的针对arm的xscale的pxa的内核linux-2.6.19.1的配置

CrossCompiler crifan 4883浏览 0评论

【背景】

折腾:

【记录】Ubuntu下用arm-xscale-linux-gnueabi交叉编译linux内核linux-2.6.19.1

期间,已经载入了默认的pxa的配置了。

现在去用make menuconfig确认一下,学习一下其已有配置。

【折腾过程】

1.make menuconfig后,主界面的配置:

make menuconfig main ui for linux kernel

文字版:

Linux Kernel v2.6.19.1 Configuration
  ┌─────────────────────────────── Linux Kernel Configuration   
  │ │            Code maturity level options  —>                                          │ │ 
  │ │            General setup  —>                                                        │ │ 
  │ │            Loadable module support  —>                                              │ │ 
  │ │            Block layer  —>                                                          │ │ 
  │ │            System Type  —>                                                          │ │ 
  │ │            Bus support  —>                                                          │ │ 
  │ │            Kernel Features  —>                                                      │ │ 
  │ │            Boot options  —>                                                         │ │ 
  │ │            Floating point emulation  —>                                             │ │ 
  │ │            Userspace binary formats  —>                                             │ │ 
  │ │            Power management options  —>                                             │ │ 
  │ │            Networking  —>                                                           │ │ 
  │ │            Device Drivers  —>                                                       │ │ 
  │ │            File systems  —>                                                         │ │ 
  │ │            Profiling support  —>                                                    │ │ 
  │ │            Kernel hacking  —>                                                       │ │ 
  │ │            Security options  —>                                                     │ │ 
  │ │            Cryptographic options  —>                                                │ │ 
  │ │            Library routines  —>                                                     │ │ 
  │ │        —                                                                            │ │ 
  │ │            Load an Alternate Configuration File                                       │ │ 
  │ │            Save an Alternate Configuration File    

2.再继续看看子菜单Code maturity level options:

文字:

─────────────────────────────── Code maturity level options  │ 
  │ │        [*] Prompt for development and/or incomplete code/drivers                      │ │ 
  │ │                                                                                       │ │ 
  │ │                                                                   

截图:

Code maturity level options

3.General setup:

文字:

────────────────────────────────────── General setup  
  │ │        ()  Local version – append to kernel release                                   │ │ 
  │ │        [*] Automatically append version information to the version string             │ │ 
  │ │        [*] Support for paging of anonymous memory (swap)                              │ │ 
  │ │        [*] System V IPC                                                               │ │ 
  │ │        [ ]   IPC Namespaces                                                           │ │ 
  │ │        [ ] POSIX Message Queues                                                       │ │ 
  │ │        [ ] BSD Process Accounting                                                     │ │ 
  │ │        [ ] Export task/process statistics through netlink (EXPERIMENTAL)              │ │ 
  │ │        [ ] UTS Namespaces                                                             │ │ 
  │ │        [ ] Auditing support                                                           │ │ 
  │ │        < > Kernel .config support                                                     │ │ 
  │ │        [ ] Kernel->user space relay support (formerly relayfs)                        │ │ 
  │ │        ()  Initramfs source file(s)                                                   │ │ 
  │ │        [*] Optimize for size (Look out for broken compilers!)                         │ │ 
  │ │        [ ] Configure standard kernel features (for small systems)  —>               │ │ 
  │ │                                                                        

截图:

General setup for arm

4.Loadable module support

配置:

┌───────────────────────────────── Loadable module support 
  │ │        [*] Enable loadable module support                                             │ │ 
  │ │        [ ]   Module unloading                                                         │ │ 
  │ │        [ ]   Module versioning support                                                │ │ 
  │ │        [ ]   Source checksum for all modules                                          │ │ 
  │ │        [ ]   Automatic kernel module loading        

截图:

Loadable module support

5.Block layer

配置:

───────────────────────────────────────────────────────────────────────────────────────────────
  ┌─────────────────────────────────────── Block layer 
  │ │        — Enable the block layer                                                     │ │ 
  │ │        [ ]   Support for tracing block io actions                                     │ │ 
  │ │              IO Schedulers  —>                                                      │ │ 
  │ │                                                                                       │ │ 
  │ │                                                       

截图:

Block layer

 

6.System Type

配置:

┌─────────────────────────────────────── System Type 
  │ │            ARM system type (PXA2xx-based)  —>                                       │ │ 
  │ │            Intel PXA2xx Implementations  —>                                         │ │ 
  │ │        — Processor Type                                                             │ │ 
  │ │        — Processor Features                                                         │ │ 
  │ │        [ ] Support Thumb user binaries                                                │ │ 
  │ │        [ ] Disable D-Cache (C-bit)               

截图:

System Type

其下的:

Intel PXA2xx Implementations

去看了看其子菜单:

┌────────────────────────────── Intel PXA2xx Implementations 
  │ │            Select target board (LogicPD PXA270 Card Engine Development Platform)  —>

Intel PXA2xx Implementations

配置:

┌────────────────────────────── Intel PXA2xx Implementations 
  │ │            Select target board (LogicPD PXA270 Card Engine Development Platform)  —>│ │ 

而对于:

LogicPD PXA270 Card Engine Development Platform

去查了查,发现:

的确是有对应的板子的:

PXA270 Card Engine

其常见配置为:

PXA270, 520 MHz, 64 MB SDRAM, 32 MB NOR flash, Ethernet, audio, touch

然后也找到了对应的内核中的相关配置:

if ARCH_PXA

的:

config MACH_LOGICPD_PXA270
	bool "LogicPD PXA270 Card Engine Development Platform"
	select PXA27x
	select HAVE_PWM
	select PXA_HAVE_BOARD_IRQS

 

7.Bus support

配置:

────────────────────────────────────────────────────────────────────────────────────────────────

  ┌─────────────────────────────────────── Bus support 
  │ │            PCCARD (PCMCIA/CardBus) support  —>     

截图:

Bus support

8.Kernel Features

截图:

Kernel Features

配置:

┌───────────────────────────────────── Kernel Features 
  │ │        [*] Preemptible Kernel (EXPERIMENTAL)                                          │ │ 
  │ │        [ ] Dynamic tick timer                                                         │ │ 
  │ │        [ ] Use the ARM EABI to compile the kernel                                     │ │ 
  │ │            Memory model (Flat Memory)  —>                                           │ │ 
  │ │        [ ] 64 bit Memory and IO resources (EXPERIMENTAL) 

 

注意:

此处默认是没有选中EABI的:

“Use the ARM EABI to compile the kernel”

对应的解释是:

┌───────────────────────── Use the ARM EABI to compile the kernel

CONFIG_AEABI:

 
This option allows for the kernel to be compiled using the latest

ARM ABI (aka EABI).  This is only useful if you are using a user

space environment that is also compiled with EABI.

 
Since there are major incompatibilities between the legacy ABI and 
EABI, especially with regard to structure member alignment, this

option also changes the kernel syscall calling convention to 
disambiguate both ABIs and allow for backward compatibility support

(selected with CONFIG_OABI_COMPAT).

 
To use this you need GCC version 4.0.0 or later. 
 
Symbol: AEABI [=n] 
Prompt: Use the ARM EABI to compile the kernel

  Defined at arch/arm/Kconfig:530 
  Location:

-> Kernel Features

而我此处的交叉编译器是eabi的,不知道后期编译会不会出错。。

 

9.Boot options

截图:

Boot options

配置:

┌────────────────────────────────────── Boot options 
  │ │        (0x0) Compressed ROM boot loader base address                                  │ │ 
  │ │        (0x0) Compressed ROM boot loader BSS address                                   │ │ 
  │ │        (mem=128M console=ttyW0,115200 root=/dev/mtdblock3 rw rootfstype=jffs2 panic=1)│ │ 
  │ │        [ ] Kernel Execute-In-Place from ROM

10.Floating point emulation

截图:

Floating point emulation

配置:

┌──────────────────────────────── Floating point emulation 
  │ │        — At least one emulation must be selected                                    │ │ 
  │ │        [*] NWFPE math emulation                                                       │ │ 
  │ │        [ ]   Support extended precision                                               │ │ 
  │ │        [ ] FastFPE math emulation (EXPERIMENTAL)

11.Userspace binary formats

截图:

Userspace binary formats

配置:

┌──────────────────────────────── Userspace binary formats 
│ │        [*] Kernel support for ELF binaries                                            │ │ 
│ │        < > Kernel support for a.out and ECOFF binaries                                │ │ 
│ │        < > Kernel support for MISC binaries                                           │ │ 
│ │        < > RISC OS personality

12.Power management options

截图:

Power management options

配置:

┌──────────────────────────────── Power management options 
│ │        [ ] Power Management support                                                   │ │ 
│ │        < > Advanced Power Management Emulation

 

13.Networking

配置:

┌─────────────────────────────────────── Networking 
  │ │        [*] Networking support                                                         │ │ 
  │ │              Networking options  —>                                                 │ │ 
  │ │        [ ]   Amateur Radio support  —>                                              │ │ 
  │ │        < >   IrDA (infrared) subsystem support  —>                                  │ │ 
  │ │        < >   Bluetooth subsystem support  —>                                        │ │ 
  │ │        <*>   Generic IEEE 802.11 Networking Stack                                     │ │ 
  │ │        [ ]     Enable full debugging output                                           │ │ 
  │ │        < >     IEEE 802.11 WEP encryption (802.1x)                                    │ │ 
  │ │        < >     IEEE 802.11i CCMP support                                              │ │ 
  │ │        < >     IEEE 802.11i TKIP encryption                                           │ │ 
  │ │        < >     Software MAC add-on to the IEEE 802.11 networking stack

截图:

Networking config

14.Device Drivers

截图:

Device Drivers 1

Device Drivers 2

配置:

┌───────────────────────────────────── Device Drivers ┌───────────────────────────────────────────────────────────────────────────────────────┐ │ 
│ │            Generic Driver Options  —>                                               │ │ 
│ │            Connector – unified userspace <-> kernelspace linker  —>                 │ │ 
│ │            Memory Technology Devices (MTD)  —>                                      │ │ 
│ │            Parallel port support  —>                                                │ │ 
│ │            Plug and Play support  —>                                                │ │ 
│ │            Block devices  —>                                                        │ │ 
│ │            ATA/ATAPI/MFM/RLL support  —>                                            │ │ 
│ │            SCSI device support  —>                                                  │ │ 
│ │            Serial ATA (prod) and Parallel ATA (experimental) drivers  —>            │ │ 
│ │            Multi-device support (RAID and LVM)  —>                                  │ │ 
│ │            Fusion MPT device support  —>                                            │ │ 
│ │            IEEE 1394 (FireWire) support  —>                                         │ │ 
│ │            I2O device support  —>                                                   │ │ 
│ │            Network device support  —>                                               │ │ 
│ │            ISDN subsystem  —>                                                       │ │ 
│ │            Input device support  —>                                                 │ │ 
│ │            Character devices  —>                                                    │ │ 
│ │            I2C support  —>                                                          │ │ 
│ │            SPI support  —>                                                          │ │ 
│ │            Dallas’s 1-wire bus  —>                                                  │ │ 
│ │            Hardware Monitoring support  —>                                          │ │ 
│ │            Misc devices  —>                                                         │ │ 
│ │            LED devices  —>                                                          │ │ 
│ │            Multimedia devices  —>                                                   │ │ 
│ │            Graphics support  —>                                                 
│ │            Sound  —>                                                                │ │ 
│ │            USB support  —>                                                          │ │ 
│ │            MMC/SD Card support  —>                                                  │ │ 
│ │            Real Time Clock  —>             

 

15.File systems

配置:

┌────────────────────────────────────── File systems  
  │ │        < > Second extended fs support                                                 │ │ 
  │ │        < > Ext3 journalling file system support                                       │ │ 
  │ │        < > Ext4dev/ext4 extended fs support development (EXPERIMENTAL)                │ │ 
  │ │        < > Reiserfs support                                                           │ │ 
  │ │        < > JFS filesystem support                                                     │ │ 
  │ │        < > XFS filesystem support                                                     │ │ 
  │ │        < > GFS2 file system support                                                   │ │ 
  │ │        < > OCFS2 file system support                                                  │ │ 
  │ │        < > Minix fs support                                                           │ │ 
  │ │        < > ROM file system support                                                    │ │ 
  │ │        [*] Inotify file change notification support                                   │ │ 
  │ │        [*]   Inotify support for userspace                                            │ │ 
  │ │        [ ] Quota support                                                              │ │ 
  │ │        < > Kernel automounter support                                                 │ │ 
  │ │        < > Kernel automounter version 4 support (also supports v3)                    │ │ 
  │ │        < > Filesystem in Userspace support                                            │ │ 
  │ │            CD-ROM/DVD Filesystems  —>                                               │ │ 
  │ │            DOS/FAT/NT Filesystems  —>                                               │ │ 
  │ │            Pseudo filesystems  —>                                                   │ │ 
  │ │            Miscellaneous filesystems  —>                                            │ │ 
  │ │            Network File Systems  —>                                                 │ │ 
  │ │            Partition Types  —>                                                      │ │ 
  │ │            Native Language Support  —>     

截图:

File systems

 

16.Profiling support

配置:

  ┌──────────────────────────────────── Profiling support

  │ │        [ ] Profiling support (EXPERIMENTAL)                                           │ │ 

截图:

Profiling support

17.Kernel hacking

配置:

┌───────────────────────────────────── Kernel hacking 
  │ │        [ ] Show timing information on printks                                         │ │ 
  │ │        [*] Enable __must_check logic                                                  │ │ 
  │ │        [*] Magic SysRq key                                                            │ │ 
  │ │        [*] Enable unused/obsolete exported symbols                                    │ │ 
  │ │        [ ] Kernel debugging                                                           │ │ 
  │ │        [ ] Debug Filesystem                                                           │ │ 
  │ │        [ ] Run ‘make headers_check’ when building vmlinux                             │ │ 
  │ │        [ ] Verbose user fault messages 

截图:

Kernel hacking

 

18.Security options

配置:

┌──────────────────────────────────── Security options 
  │ │        [ ] Enable access key retention support                                        │ │ 
  │ │        [ ] Enable different security models                                           │ │ 
  │ │                                                

截图:

Security options

 

19.Cryptographic options

配置:

───────────────────────────────────────────────────────────────────────────────────────────────

  ┌────────────────────────────────── Cryptographic options 
  │ │        [ ] Cryptographic API

截图:

Cryptographic options

 

20.Library routines

配置:

┌──────────────────────────────────── Library routines 
  │ │        < > CRC-CCITT functions                                                        │ │ 
  │ │        < > CRC16 functions                                                            │ │ 
  │ │        — CRC32 functions                                                            │ │ 
  │ │        < > CRC32c (Castagnoli, et al) Cyclic Redundancy-Check 

截图:

Library routines

 

【总结】

就是全部的配置了。

暂时,先不去修改配置。包括那个EABI。等真的出问题了。再去修改。

转载请注明:在路上 » 【记录】make menuconfig查看和确认已有的针对arm的xscale的pxa的内核linux-2.6.19.1的配置

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.176 seconds, using 22.38MB memory