Jump to content

KernelPanic

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by KernelPanic

  1. Do you have this in your kernel .config ?

     

    CONFIG_UNIX98_PTYS=y

    Yes, I do:

    #
    # Character devices
    #
    CONFIG_VT=y
    CONFIG_CONSOLE_TRANSLATIONS=y
    CONFIG_VT_CONSOLE=y
    CONFIG_VT_CONSOLE_SLEEP=y
    CONFIG_HW_CONSOLE=y
    # CONFIG_VT_HW_CONSOLE_BINDING is not set
    CONFIG_UNIX98_PTYS=y
    CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
    CONFIG_LEGACY_PTYS=y
    CONFIG_LEGACY_PTY_COUNT=0
    # CONFIG_SERIAL_NONSTANDARD is not set
    # CONFIG_N_GSM is not set
    # CONFIG_TRACE_SINK is not set
    CONFIG_DEVMEM=y
    # CONFIG_DEVKMEM is not set
  2. Dear Sirs and Madams!

     

    I am working on custom minimal image for NanoPi NEO and I've managed to solve majority of problems, however, if I observe boot process via /dev/ttyUSB0, I still get these two errors:

    HELLO! BOOT0 is starting!
    boot0 version : 4.0.0
    boot0 commit : 1b3a1b587482affdd18aba923de7fe38eb7d5ee1
    
    
    fel_flag = 0x00000000
    rtc[0] value = 0x00000000
    rtc[1] value = 0x00000000
    rtc[2] value = 0x00000000
    rtc[3] value = 0x00000000
    rtc[4] value = 0x00000000
    rtc[5] value = 0x00000000
    rtc[6] value = 0x00000000
    rtc[7] value = 0x00000000
    DRAM DRIVE INFO: V1.3
    the chip id is 0x00000081
    the chip id is 0x00000081
    the chip id is 0x00000081
    the chip id is 0x00000081
    the chip id is 0x00000081
    READ DQS LCDL = 00222223
    DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
    DRAM CLK = 576 MHz
    DRAM zq value: 003b3bfb
    DRAM dram para1: 10f20200
    DRAM dram para2: 00000001
    DRAM workmode1: 000009f4
    DRAM SIZE =512 M
    odt delay 
    dram size =512
    card boot number = 0
    card no is 0
    sdcard 0 line count 4
    [mmc]: mmc driver ver 2015-04-13 16:07:39
    [mmc]: ***Try SD card 0***
    [mmc]: SD/MMC Card: 4bit, capacity: 7386MB
    [mmc]: vendor: Man 0002544d Snr 4583d869
    [mmc]: product: SA08G
    [mmc]: revision: 1.9
    [mmc]: ***SD/MMC 0 init OK!!!***
    sdcard 0 init ok
    The size of uboot is 000e4000.
    sum=168b7a54
    src_sum=168b7a54
    Succeed in loading uboot from sdmmc flash.
    Ready to disable icache.
    Jump to secend Boot.
    SUNXI_NORMAL_MODE   
    [      0.382]e mode
    
    
    U-Boot 2011.09-rc1-00000-g1b3a1b5-dirty (Dec 23 2016 - 20:03:28)  
    
    
    [      0.392]version: 1.1.0
    [      0.395]uboot commit : 1b3a1b587482affdd18aba923de7fe38eb7d5ee1
    
    
    normal mode
    [      0.406]pmbus:   ready
    not set main pmu id
    axp_probe error
    gpio value=0x20000
    [      0.444]PMU: pll1 1008 Mhz,PLL6=600 Mhz
    AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz 
    sid read already 
    fel key new mode
    run key detect
    no key found
    no key input
    dram_para_set start
    dram_para_set end
    normal mode
    [      0.475]DRAM:  512 MiB
    relocation Offset is: 15af2000
    [box standby] read rtc = 0x0
    [box_start_os] mag be start_type no use
    user_gpio config
    user_gpio ok
    gic: normal or no secure os mode
    workmode = 0
    MMC:     0
    [      0.555][mmc]: mmc driver ver 2015-04-13 14:50:00
    [      0.560][mmc]: get sdc_phy_wipe fail.
    [      0.564][mmc]: get sdc0 sdc_erase fail.
    [      0.568][mmc]: get sdc_f_max fail,use default 50000000Hz
    [      0.573][mmc]: get sdc_ex_dly_used fail,use default dly
    [      0.579][mmc]: SUNXI SD/MMC: 0
    [      0.592][mmc]: *Try SD card 0*
    [      0.625][mmc]: CID 0x2544d53 0x41303847 0x194583d8 0x690106bd
    [      0.630][mmc]: mmc clk 50000000
    [      0.634][mmc]: SD/MMC Card: 4bit, capacity: 7386MB
    [      0.638][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB
    [      0.644][mmc]: ***SD/MMC 0 init OK!!!***
    [      0.648][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte
    [      0.654][mmc]: secure_feature 0x0
    [      0.657][mmc]: secure_removal_type  0x0
    [      0.661]sunxi flash init ok
    script config pll_de to 864 Mhz
    Not Found clk pll_video1 in script 
    script config pll_video to 297 Mhz
    script config pll_periph0 to 600 Mhz
    unable to find regulator vcc-hdmi-18 from [pmu1_regu] or [pmu2_regu] 
    enable power vcc-hdmi-18, ret=-1
    DRV_DISP_Init end
    [disk_read_fs] no the partition
    error: open tv_vdid.fex, maybe it is not exist
    [disk_read_fs] no the partition
    error: open disp_rsl.fex, maybe it is not exist
    [disk_read_fs] no the partition
    error: open disp_rsl.fex, maybe it is not exist
    boot_disp.auto_hpd=1
    auto hpd check has 100 times!
    auto check no any connected, the output_type is 4
    [      2.036]finally, output_type=0x4, output_mode=0x4, screen_id=0x0, disp_para=0x0
    try to read logic blk 0 without env partition
    *** Warning - bad CRC, using default environment
    
    
    In:    serial
    Out:   serial
    Err:   serial
    --------fastboot partitions--------
    mbr not exist
    base bootcmd=run setargs_mmc boot_normal
    bootcmd set setargs_mmc
    key 0
    cant find rcvy value
    cant find fstbt value
    no misc partition is found
    to be run cmd=run setargs_mmc boot_normal
    [      2.085][mmc]: MMC Device 2 not found
    [      2.089][mmc]: Can not find mmc dev
    [      2.092][mmc]: read first backup failed in fun sdmmc_secure_storage_read line 1854
    sunxi_secstorage_read fail
    get secure storage map err
    check user data form private
    the private part isn't exist
    WORK_MODE_BOOT
    adver not need show
    sunxi_bmp_logo_display
    
    
    ** Unable to read "bootlogo.bmp" from mmc 0:1 **
    sunxi bmp info error : unable to open logo file bootlogo.bmp
    [      2.126]Hit any key to stop autoboot:  0 
    ## Booting kernel from Legacy Image at 40007800 ...
       Image Name:   Linux-3.4.39-h3
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4736568 Bytes = 4.5 MiB
       Load Address: 40008000
       Entry Point:  40008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    [      4.613][mmc]: MMC Device 2 not found
    [      4.617][mmc]:  mmc  not find,so not exit
    [      4.621]
    Starting kernel ...
    
    
    [sun8i_fixup]: From boot, get meminfo:
            Start:  0x40000000
            Size:   512MB
    ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
    ion_reserve_select: ion chipid  [0x2c00081!
    ion_reserve_common: ion reserve: [0x56000000, 0x60000000]!
    [    0.000000] Booting Linux on physical CPU 0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.4.39-h3 (testuser@work002) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #9 SMP PREEMPT Sun Dec 25 05:37:06 CET 2016
    [    0.000000] cma: CMA: reserved 160 MiB at 56000000
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c0fc7000 s11840 r8192 d12736 u32768
    [    0.000000] Kernel command line: console=ttyS0,115200 console=tty0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait init=/sbin/init storage_type=1 fb_base=0x40000000
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] allocated 1048576 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 342160k/342160k available, 182128k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0910624   (9250 kB)
    [    0.000000]       .init : 0xc0911000 - 0xc0962e40   ( 328 kB)
    [    0.000000]       .data : 0xc0964000 - 0xc0a156f8   ( 710 kB)
    [    0.000000]        .bss : 0xc0a15eac - 0xc0b35b48   (1152 kB)
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:544
    [    0.000000] Architected local timer running at 24.00MHz.
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] console [tty0] enabled
    [    0.000996] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
    [    0.001064] pid_max: default: 32768 minimum: 301
    [    0.001439] Mount-cache hash table entries: 512
    [    0.002510] Initializing cgroup subsys cpuacct
    [    0.002553] Initializing cgroup subsys memory
    [    0.002624] Initializing cgroup subsys devices
    [    0.002656] Initializing cgroup subsys freezer
    [    0.002685] Initializing cgroup subsys blkio
    [    0.002728] Initializing cgroup subsys perf_event
    [    0.002808] CPU: Testing write buffer coherency: ok
    [    0.002885] ftrace: allocating 24837 entries in 73 pages
    [    0.040323] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.040371] [sunxi_smp_prepare_cpus] enter
    [    0.040428] Setting up static identity map for 0x40663670 - 0x406636c8
    [    0.041476] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.041611] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.041611] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.050225] Brought up 4 CPUs
    [    0.050307] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
    [    0.051054] devtmpfs: initialized
    [    0.054009] wakeup src cnt is : 2. 
    [    0.054107] sunxi pm init
    [    0.054257] pinctrl core: initialized pinctrl subsystem
    [    0.064426] NET: Registered protocol family 16
    [    0.065333] DMA: preallocated 2048 KiB pool for atomic coherent allocations
    [    0.065333] script_sysfs_init success
    [    0.065333] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
    [    0.065333] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
    [    0.065333] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.065333] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.065333] script config pll_video to 297 Mhz
    [    0.065333] script config pll_de to 864 Mhz
    [    0.065333] script config pll_ve to 402 Mhz
    [    0.073438] bio: create slab <bio-0> at 0
    [    0.073438] [ARISC] :sunxi-arisc driver v1.04
    [    0.088634] [ARISC] :arisc version: [v0.1.58]
    [    0.175990] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
    [    0.176118] pwm module init!
    [    0.181681] SCSI subsystem initialized
    [    0.181681] usbcore: registered new interface driver usbfs
    [    0.181681] usbcore: registered new interface driver hub
    [    0.181681] usbcore: registered new device driver usb
    [    0.181681] Linux media interface: v0.10
    [    0.181681] Linux video capture interface: v2.00
    [    0.181681] Advanced Linux Sound Architecture Driver Version 1.0.25.
    [    0.181681] Bluetooth: Core ver 2.16
    [    0.181681] NET: Registered protocol family 31
    [    0.181681] Bluetooth: HCI device and connection manager initialized
    [    0.181681] Bluetooth: HCI socket layer initialized
    [    0.181681] Bluetooth: L2CAP socket layer initialized
    [    0.181681] Bluetooth: SCO socket layer initialized
    [    0.181681] Switching to clocksource arch_sys_counter
    [    0.203579] FS-Cache: Loaded
    [    0.203920] CacheFiles: Loaded
    [    0.215748] NET: Registered protocol family 2
    [    0.216064] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.216646] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.216936] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
    [    0.217197] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.217226] TCP: reno registered
    [    0.217249] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.217290] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.217597] NET: Registered protocol family 1
    [    0.217998] RPC: Registered named UNIX socket transport module.
    [    0.218031] RPC: Registered udp transport module.
    [    0.218052] RPC: Registered tcp transport module.
    [    0.218074] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.218664] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
    [    0.218799] sunxi_reg_init enter
    [    0.219482] audit: initializing netlink socket (disabled)
    [    0.219543] type=2000 audit(0.210:1): initialized
    [    0.222020] NTFS driver 2.1.30 [Flags: R/W].
    [    0.222337] fuse init (API version 7.18)
    [    0.222704] msgmni has been set to 988
    [    0.224141] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    [    0.224197] io scheduler noop registered
    [    0.224218] io scheduler deadline registered
    [    0.224290] io scheduler cfq registered (default)
    [    0.224766] [DISP]disp_module_init
    [    0.225089] cmdline,init_disp=
    [    0.225132] cmdline,disp=
    [    0.235328] [DISP] Fb_map_kernel_logo,line:939:this is not a bmp picture
    [    0.250541] Console: switching to colour frame buffer device 160x45
    [    0.266915] [DISP]disp_module_init finish
    [    0.267262] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
    [    0.267442] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
    [    0.267617] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
    [    0.267790] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.
    [    0.268543] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
    [    0.268713] sw_uart_pm()890 - uart0 clk is already enable
    [    0.268868] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
    [    0.376733] console [ttyS0] enabled
    [    1.310478] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
    [    1.448733] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
    [    1.460128] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
    [    1.472032] [drm] Initialized drm 1.1.0 20060810
    [    1.485687] loop: module loaded
    [    1.493791] sunxi_spi_chan_cfg()1383 - [spi-0] has no spi_regulator.
    [    1.505335] sunxi_spi_chan_cfg()1383 - [spi-1] has no spi_regulator.
    [    1.517389] spi spi0: master is unqueued, this is deprecated
    [    1.528397] tun: Universal TUN/TAP device driver, 1.6
    [    1.538353] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    1.550532] PPP generic driver version 2.4.2
    [    1.559774] PPP BSD Compression module registered
    [    1.569280] PPP Deflate Compression module registered
    [    1.580030] PPP MPPE Compression module registered
    [    1.589604] NET: Registered protocol family 24
    [    1.598762] PPTP driver version 0.8.5
    [    1.607246] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.638932] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.652340] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
    [    1.665889] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
    [    1.690050] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
    [    1.701640] hub 1-0:1.0: USB hub found
    [    1.710104] hub 1-0:1.0: 1 port detected
    [    1.739102] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.752404] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
    [    1.765732] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
    [    1.790034] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
    [    1.801555] hub 2-0:1.0: USB hub found
    [    1.809963] hub 2-0:1.0: 1 port detected
    [    1.839037] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.852408] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3
    [    1.865798] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000
    [    1.890044] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00
    [    1.901646] hub 3-0:1.0: USB hub found
    [    1.910317] hub 3-0:1.0: 1 port detected
    [    1.939371] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.952767] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4
    [    1.966139] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
    [    1.990039] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
    [    2.001685] hub 4-0:1.0: USB hub found
    [    2.010515] hub 4-0:1.0: 1 port detected
    [    2.019762] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    2.051280] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    2.064440] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5
    [    2.077447] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400
    [    2.144574] hub 5-0:1.0: USB hub found
    [    2.153308] hub 5-0:1.0: 1 port detected
    [    2.182608] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    2.195828] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6
    [    2.208971] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
    [    2.284561] hub 6-0:1.0: USB hub found
    [    2.293434] hub 6-0:1.0: 1 port detected
    [    2.322774] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    2.336046] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7
    [    2.349215] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400
    [    2.424579] hub 7-0:1.0: USB hub found
    [    2.433430] hub 7-0:1.0: 1 port detected
    [    2.462785] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    2.476090] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8
    [    2.489325] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400
    [    2.564570] hub 8-0:1.0: USB hub found
    [    2.573458] hub 8-0:1.0: 1 port detected
    [    2.582823] Initializing USB Mass Storage driver...
    [    2.593074] usbcore: registered new interface driver usb-storage
    [    2.604387] USB Mass Storage support registered.
    [    2.614237] usbcore: registered new interface driver ums-alauda
    [    2.625555] usbcore: registered new interface driver ums-cypress
    [    2.636955] usbcore: registered new interface driver ums-datafab
    [    2.648220] usbcore: registered new interface driver ums_eneub6250
    [    2.659597] usbcore: registered new interface driver ums-freecom
    [    2.670724] usbcore: registered new interface driver ums-isd200
    [    2.681770] usbcore: registered new interface driver ums-jumpshot
    [    2.692886] usbcore: registered new interface driver ums-karma
    [    2.703695] usbcore: registered new interface driver ums-onetouch
    [    2.714693] usbcore: registered new interface driver ums-realtek
    [    2.725491] usbcore: registered new interface driver ums-sddr09
    [    2.736116] usbcore: registered new interface driver ums-sddr55
    [    2.746706] usbcore: registered new interface driver ums-usbat
    [    2.757179] usbcore: registered new interface driver usbserial
    [    2.767517] usbserial: USB Serial Driver core
    [    2.776172] usbcore: registered new interface driver option
    [    2.786184] USB Serial support registered for GSM modem (1-port)
    [    2.797311] file system registered
    [    2.806559] android_usb gadget: Mass Storage Function, version: 2009/09/11
    [    2.818136] android_usb gadget: Number of LUNs=3
    [    2.827163]  lun0: LUN: removable file: (no medium)
    [    2.836455]  lun1: LUN: removable file: (no medium)
    [    2.845612]  lun2: LUN: removable file: (no medium)
    [    2.855037] android_usb gadget: android_usb ready
    [    2.864797] mousedev: PS/2 mouse device common for all mice
    [    2.875687] ls_fetch_sysconfig_para: ls_unused. 
    [    2.884819] [RTC] WARNING: Rtc time will be wrong!!
    [    2.893888] [RTC] WARNING: use *internal OSC* as clock source
    [    2.904172] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
    [    2.915259] i2c /dev entries driver
    [    2.923179] IR RC5(x) protocol handler initialized
    [    2.946164] tscdev_init: tsc driver is disabled
    [    2.955398] Driver for 1-wire Dallas network protocol.
    [    2.964872] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
    [    2.975787] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
    [    2.987390] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
    [    3.002493] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
    [    3.012555] timeout_to_interv, line 167
    [    3.020638] interv_to_timeout, line 189
    [    3.028656] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
    [    3.041847] device-mapper: uevent: version 1.0.3
    [    3.051209] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [    3.064736] Bluetooth: HCI UART driver ver 2.2
    [    3.073733] Bluetooth: HCI H4 protocol initialized
    [    3.083055] Bluetooth: HCI BCSP protocol initialized
    [    3.092523] Bluetooth: HCILL protocol initialized
    [    3.101732] Bluetooth: HCIATH3K protocol initialized
    [    3.111395] Bluetooth: MSM Sleep Mode Driver Ver 1.2
    [    3.121046] Bluetooth: init no bt used in configuration
    [    3.121052] 
    [    3.136836] [cpu_freq] ERR:get cpu extremity frequency from sysconfig failed, use max_freq
    [    3.152870] no red_led, ignore it!
    [    3.163113] usbcore: registered new interface driver usbhid
    [    3.173851] usbhid: USB HID core driver
    [    3.184005] script_get_item audio_pa_ctrl not found
    [    3.197597] asoc: sndcodec <-> sunxi-codec mapping ok
    [    3.213087] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
    [    3.223269] mmc0: new high speed SDHC card at address 1234
    [    3.235040] mmcblk0: mmc0:1234 SA08G 7.21 GiB 
    [    3.236190] oprofile: using arm/armv7-ca7
    [    3.254118] u32 classifier
    [    3.255572]  mmcblk0: p1 p2
    [    3.269650]     Actions configured
    [    3.278035] Netfilter messages via NETLINK v0.30.
    [    3.287961] nf_conntrack version 0.5.0 (7906 buckets, 31624 max)
    [    3.299763] ctnetlink v0.93: registering with nfnetlink.
    [    3.310511] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
    [    3.323174] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
    [    3.334982] xt_time: kernel timezone is -0000
    [    3.344901] IPv4 over IPv4 tunneling driver
    [    3.354937] gre: GRE over IPv4 demultiplexor driver
    [    3.365265] ip_gre: GRE over IPv4 tunneling driver
    [    3.375396] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.385587] arp_tables: (C) 2002 David S. Miller
    [    3.394822] TCP: cubic registered
    [    3.402518] Initializing XFRM netlink socket
    [    3.411471] NET: Registered protocol family 10
    [    3.421543] Mobile IPv6
    [    3.428244] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    3.438359] IPv6 over IPv4 tunneling driver
    [    3.447867] NET: Registered protocol family 17
    [    3.456657] NET: Registered protocol family 15
    [    3.465535] Bluetooth: RFCOMM TTY layer initialized
    [    3.474746] Bluetooth: RFCOMM socket layer initialized
    [    3.484148] Bluetooth: RFCOMM ver 1.11
    [    3.491899] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    3.501359] Bluetooth: BNEP filters: protocol multicast
    [    3.510638] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    3.520806] L2TP core driver, V2.0
    [    3.528087] PPPoL2TP kernel driver, V2.0
    [    3.535995] L2TP IP encapsulation support (L2TPv3)
    [    3.544926] L2TP netlink interface
    [    3.552258] L2TP ethernet pseudowire support (L2TPv3)
    [    3.561697] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    3.573886] ThumbEE CPU extension supported.
    [    3.582222] Registering SWP/SWPB emulation handler
    [    3.591979] cmdline,disp=
    [    3.629487] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-02 15:57:33 UTC (143853)
    [    3.642264] ths_fetch_sysconfig_para: type err  device_used = 1. 
    [    3.653962] CPU Budget:Register notifier
    [    3.661996] CPU Budget:register Success
    [    3.669821] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
    [    3.686496] ALSA device list:
    [    3.693559]   #0: audiocodec
    [    3.700455]   #1: sndhdmi
    [    4.230061] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5
    [    7.401281] EXT4-fs (mmcblk0p2): recovery complete
    [    7.414302] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.427375] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    7.438365] Freeing init memory: 324K
    [    7.918278] init: Failed to create pty - disabling logging for job
    [    7.929502] init: Temporary process spawn error: No such file or directory
    [    7.969205] init: Failed to create pty - disabling logging for job
    [    7.981261] init: Temporary process spawn error: No such file or directory
    [    8.076671] init: Failed to create pty - disabling logging for job
    [    8.088742] init: Temporary process spawn error: No such file or directory
    [    8.103885] init: Failed to create pty - disabling logging for job
    [    8.116079] init: Temporary process spawn error: No such file or directory
    [    8.131416] init: Failed to create pty - disabling logging for job
    [    8.143639] init: Temporary process spawn error: No such file or directory
    [    8.369951] init: Failed to create pty - disabling logging for job
    [    8.381849] init: Temporary process spawn error: No such file or directory
    [    8.405900] init: Failed to create pty - disabling logging for job
    [    8.417942] init: Temporary process spawn error: No such file or directory
    [    8.438212] init: Failed to create pty - disabling logging for job
    [    8.454745] init: Temporary process spawn error: No such file or directory
    [    8.476736] init: Failed to create pty - disabling logging for job
    [    8.489585] init: Temporary process spawn error: No such file or directory
    [    8.505562] init: Failed to create pty - disabling logging for job
    [    8.523290] init: Failed to create pty - disabling logging for job
    [    8.552596] init: Failed to create pty - disabling logging for job
    [    8.583415] init: Failed to create pty - disabling logging for job
    [    8.599026] init: Failed to create pty - disabling logging for job
    [    8.613592] init: Failed to create pty - disabling logging for job
    [    8.718529] init: Failed to create pty - disabling logging for job
    [    8.746995] init: Failed to create pty - disabling logging for job
    [    8.777812] init: Failed to create pty - disabling logging for job
    [    8.795384] init: Failed to create pty - disabling logging for job
    [    8.814510] init: Failed to create pty - disabling logging for job
    [    9.069827] init: Failed to create pty - disabling logging for job
    [    9.088864] init: Failed to create pty - disabling logging for job
    [    9.208412] init: Failed to create pty - disabling logging for job
    [    9.224610] init: Failed to create pty - disabling logging for job
    [    9.269189] init: Failed to create pty - disabling logging for job
    [    9.284793] init: Failed to create pty - disabling logging for job
    [    9.301157] init: Failed to create pty - disabling logging for job
    [    9.325083] init: Failed to create pty - disabling logging for job
    [    9.344112] init: Failed to create pty - disabling logging for job
    [    9.358476] init: Failed to create pty - disabling logging for job
    [    9.372694] init: Failed to create pty - disabling logging for job
    [    9.394145] init: Failed to create pty - disabling logging for job
    [    9.408119] init: Failed to create pty - disabling logging for job

    What am I still doing wrong, any clues/hints, because no login shell is not shown?

     

    Sincerely,

    Marko

     

  3. Such problems are one of the main reasons that Armbian project started to exists.

     

    Script: https://github.com/igorpecovnik/lib

    Manual: http://docs.armbian.com/Developer-Guide_Build-Preparation/

     

    It will move you to the user level and save a lot of time. Result will be way better.

    This is all ok, I've created new image, however it is too big and full of things which I do not need. I need minimal low latency (realtime) kernel with full ALSA support and (for testing purposes) ssh so I can test image via LAN. Otherwise, superb script you have written!

  4. Dear Sirs and Madams!

     

    I am trying to reconfigure https://github.com/friendlyarm/h3_lichee BSP's kernel via 

    make menuconfig
    
    which is producing following .config file:

     

     

     

    #
    # Automatically generated file; DO NOT EDIT.
    # Linux/arm 3.4.39 Kernel Configuration
    #
    CONFIG_ARM=y
    CONFIG_ARM_HAS_SG_CHAIN=y
    CONFIG_SYS_SUPPORTS_APM_EMULATION=y
    CONFIG_GENERIC_GPIO=y
    # CONFIG_ARCH_USES_GETTIMEOFFSET is not set
    CONFIG_GENERIC_CLOCKEVENTS=y
    CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
    CONFIG_KTIME_SCALAR=y
    CONFIG_HAVE_PROC_CPU=y
    CONFIG_STACKTRACE_SUPPORT=y
    CONFIG_LOCKDEP_SUPPORT=y
    CONFIG_TRACE_IRQFLAGS_SUPPORT=y
    CONFIG_HARDIRQS_SW_RESEND=y
    CONFIG_GENERIC_IRQ_PROBE=y
    CONFIG_GENERIC_LOCKBREAK=y
    CONFIG_RWSEM_GENERIC_SPINLOCK=y
    CONFIG_ARCH_HAS_CPUFREQ=y
    CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
    CONFIG_GENERIC_HWEIGHT=y
    CONFIG_GENERIC_CALIBRATE_DELAY=y
    CONFIG_NEED_DMA_MAP_STATE=y
    CONFIG_VECTORS_BASE=0xffff0000
    CONFIG_ARM_PATCH_PHYS_VIRT=y
    CONFIG_NEED_MACH_IO_H=y
    CONFIG_NEED_MACH_MEMORY_H=y
    CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
    CONFIG_HAVE_IRQ_WORK=y
    CONFIG_IRQ_WORK=y
     
    #
    # General setup
    #
    CONFIG_EXPERIMENTAL=y
    CONFIG_INIT_ENV_ARG_LIMIT=32
    CONFIG_CROSS_COMPILE="arm-linux-gnueabi-"
    CONFIG_LOCALVERSION="-h3"
    # CONFIG_LOCALVERSION_AUTO is not set
    CONFIG_HAVE_KERNEL_GZIP=y
    CONFIG_HAVE_KERNEL_LZMA=y
    CONFIG_HAVE_KERNEL_XZ=y
    CONFIG_HAVE_KERNEL_LZO=y
    CONFIG_KERNEL_GZIP=y
    # CONFIG_KERNEL_LZMA is not set
    # CONFIG_KERNEL_XZ is not set
    # CONFIG_KERNEL_LZO is not set
    CONFIG_DEFAULT_HOSTNAME="soundengine"
    CONFIG_SYSVIPC=y
    CONFIG_SYSVIPC_SYSCTL=y
    # CONFIG_POSIX_MQUEUE is not set
    # CONFIG_BSD_PROCESS_ACCT is not set
    # CONFIG_FHANDLE is not set
    # CONFIG_TASKSTATS is not set
    # CONFIG_AUDIT is not set
    CONFIG_HAVE_GENERIC_HARDIRQS=y
     
    #
    # IRQ subsystem
    #
    CONFIG_GENERIC_HARDIRQS=y
    CONFIG_GENERIC_IRQ_SHOW=y
    CONFIG_IRQ_DOMAIN=y
    # CONFIG_IRQ_DOMAIN_DEBUG is not set
     
    #
    # RCU Subsystem
    #
    CONFIG_TREE_PREEMPT_RCU=y
    CONFIG_PREEMPT_RCU=y
    CONFIG_RCU_FANOUT=32
    # CONFIG_RCU_FANOUT_EXACT is not set
    # CONFIG_RCU_FAST_NO_HZ is not set
    # CONFIG_TREE_RCU_TRACE is not set
    # CONFIG_RCU_BOOST is not set
    CONFIG_IKCONFIG=y
    CONFIG_IKCONFIG_PROC=y
    CONFIG_LOG_BUF_SHIFT=16
    CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
    # CONFIG_CHECKPOINT_RESTORE is not set
    # CONFIG_NAMESPACES is not set
    # CONFIG_SCHED_AUTOGROUP is not set
    # CONFIG_SYSFS_DEPRECATED is not set
    CONFIG_RELAY=y
    CONFIG_BLK_DEV_INITRD=y
    CONFIG_INITRAMFS_SOURCE=""
    CONFIG_RD_GZIP=y
    # CONFIG_RD_BZIP2 is not set
    # CONFIG_RD_LZMA is not set
    # CONFIG_RD_XZ is not set
    # CONFIG_RD_LZO is not set
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    CONFIG_SYSCTL=y
    CONFIG_ANON_INODES=y
    CONFIG_PANIC_TIMEOUT=0
    CONFIG_EXPERT=y
    # CONFIG_UID16 is not set
    # CONFIG_SYSCTL_SYSCALL is not set
    CONFIG_KALLSYMS=y
    # CONFIG_KALLSYMS_ALL is not set
    CONFIG_HOTPLUG=y
    # CONFIG_PRINTK is not set
    # CONFIG_BUG is not set
    # CONFIG_ELF_CORE is not set
    # CONFIG_BASE_FULL is not set
    # CONFIG_FUTEX is not set
    # CONFIG_EPOLL is not set
    # CONFIG_SIGNALFD is not set
    # CONFIG_TIMERFD is not set
    # CONFIG_EVENTFD is not set
    # CONFIG_SHMEM is not set
    CONFIG_AIO=y
    CONFIG_EMBEDDED=y
    CONFIG_HAVE_PERF_EVENTS=y
    CONFIG_PERF_USE_VMALLOC=y
     
    #
    # Kernel Performance Events And Counters
    #
    CONFIG_PERF_EVENTS=y
    # CONFIG_PERF_COUNTERS is not set
    # CONFIG_DEBUG_PERF_USE_VMALLOC is not set
    # CONFIG_VM_EVENT_COUNTERS is not set
    CONFIG_COMPAT_BRK=y
    CONFIG_SLAB=y
    # CONFIG_SLUB is not set
    # CONFIG_SLOB is not set
    # CONFIG_PROFILING is not set
    CONFIG_HAVE_OPROFILE=y
    # CONFIG_KPROBES is not set
    # CONFIG_JUMP_LABEL is not set
    CONFIG_HAVE_KPROBES=y
    CONFIG_HAVE_KRETPROBES=y
    CONFIG_HAVE_DMA_ATTRS=y
    CONFIG_HAVE_DMA_CONTIGUOUS=y
    CONFIG_USE_GENERIC_SMP_HELPERS=y
    CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
    CONFIG_HAVE_CLK=y
    CONFIG_HAVE_DMA_API_DEBUG=y
    CONFIG_HAVE_HW_BREAKPOINT=y
    CONFIG_HAVE_ARCH_JUMP_LABEL=y
     
    #
    # GCOV-based kernel profiling
    #
    # CONFIG_GCOV_KERNEL is not set
    CONFIG_HAVE_GENERIC_DMA_COHERENT=y
    CONFIG_SLABINFO=y
    CONFIG_RT_MUTEXES=y
    CONFIG_BASE_SMALL=1
    CONFIG_MODULES=y
    # CONFIG_MODULE_FORCE_LOAD is not set
    CONFIG_MODULE_UNLOAD=y
    CONFIG_MODULE_FORCE_UNLOAD=y
    # CONFIG_MODVERSIONS is not set
    # CONFIG_MODULE_SRCVERSION_ALL is not set
    CONFIG_STOP_MACHINE=y
    # CONFIG_BLOCK is not set
    # CONFIG_INLINE_SPIN_TRYLOCK is not set
    # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
    # CONFIG_INLINE_SPIN_LOCK is not set
    # CONFIG_INLINE_SPIN_LOCK_BH is not set
    # CONFIG_INLINE_SPIN_LOCK_IRQ is not set
    # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
    CONFIG_UNINLINE_SPIN_UNLOCK=y
    # CONFIG_INLINE_SPIN_UNLOCK_BH is not set
    # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
    # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
    # CONFIG_INLINE_READ_TRYLOCK is not set
    # CONFIG_INLINE_READ_LOCK is not set
    # CONFIG_INLINE_READ_LOCK_BH is not set
    # CONFIG_INLINE_READ_LOCK_IRQ is not set
    # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
    # CONFIG_INLINE_READ_UNLOCK is not set
    # CONFIG_INLINE_READ_UNLOCK_BH is not set
    # CONFIG_INLINE_READ_UNLOCK_IRQ is not set
    # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
    # CONFIG_INLINE_WRITE_TRYLOCK is not set
    # CONFIG_INLINE_WRITE_LOCK is not set
    # CONFIG_INLINE_WRITE_LOCK_BH is not set
    # CONFIG_INLINE_WRITE_LOCK_IRQ is not set
    # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
    # CONFIG_INLINE_WRITE_UNLOCK is not set
    # CONFIG_INLINE_WRITE_UNLOCK_BH is not set
    # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
    # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
    CONFIG_MUTEX_SPIN_ON_OWNER=y
    # CONFIG_FREEZER is not set
     
    #
    # System Type
    #
    CONFIG_MMU=y
    # CONFIG_ARCH_INTEGRATOR is not set
    # CONFIG_ARCH_REALVIEW is not set
    # CONFIG_ARCH_VERSATILE is not set
    # CONFIG_ARCH_VEXPRESS is not set
    CONFIG_ARCH_SUNXI=y
    # CONFIG_ARCH_AT91 is not set
    # CONFIG_ARCH_BCMRING is not set
    # CONFIG_ARCH_HIGHBANK is not set
    # CONFIG_ARCH_CLPS711X is not set
    # CONFIG_ARCH_CNS3XXX is not set
    # CONFIG_ARCH_GEMINI is not set
    # CONFIG_ARCH_PRIMA2 is not set
    # CONFIG_ARCH_EBSA110 is not set
    # CONFIG_ARCH_EP93XX is not set
    # CONFIG_ARCH_FOOTBRIDGE is not set
    # CONFIG_ARCH_MXC is not set
    # CONFIG_ARCH_MXS is not set
    # CONFIG_ARCH_NETX is not set
    # CONFIG_ARCH_H720X is not set
    # CONFIG_ARCH_IOP13XX is not set
    # CONFIG_ARCH_IOP32X is not set
    # CONFIG_ARCH_IOP33X is not set
    # CONFIG_ARCH_IXP23XX is not set
    # CONFIG_ARCH_IXP2000 is not set
    # CONFIG_ARCH_IXP4XX is not set
    # CONFIG_ARCH_DOVE is not set
    # CONFIG_ARCH_KIRKWOOD is not set
    # CONFIG_ARCH_LPC32XX is not set
    # CONFIG_ARCH_MV78XX0 is not set
    # CONFIG_ARCH_ORION5X is not set
    # CONFIG_ARCH_MMP is not set
    # CONFIG_ARCH_KS8695 is not set
    # CONFIG_ARCH_W90X900 is not set
    # CONFIG_ARCH_TEGRA is not set
    # CONFIG_ARCH_PICOXCELL is not set
    # CONFIG_ARCH_PNX4008 is not set
    # CONFIG_ARCH_PXA is not set
    # CONFIG_ARCH_MSM is not set
    # CONFIG_ARCH_SHMOBILE is not set
    # CONFIG_ARCH_RPC is not set
    # CONFIG_ARCH_SA1100 is not set
    # CONFIG_ARCH_S3C24XX is not set
    # CONFIG_ARCH_S3C64XX is not set
    # CONFIG_ARCH_S5P64X0 is not set
    # CONFIG_ARCH_S5PC100 is not set
    # CONFIG_ARCH_S5PV210 is not set
    # CONFIG_ARCH_EXYNOS is not set
    # CONFIG_ARCH_SHARK is not set
    # CONFIG_ARCH_U300 is not set
    # CONFIG_ARCH_U8500 is not set
    # CONFIG_ARCH_NOMADIK is not set
    # CONFIG_ARCH_DAVINCI is not set
    # CONFIG_ARCH_OMAP is not set
    # CONFIG_PLAT_SPEAR is not set
    # CONFIG_ARCH_VT8500 is not set
    # CONFIG_ARCH_ZYNQ is not set
    # CONFIG_GPIO_PCA953X is not set
     
    #
    # System MMU
    #
    CONFIG_SUNXI_CONSISTENT_DMA_SIZE=12
    CONFIG_ARCH_SUN8I=y
    # CONFIG_ARCH_SUN9I is not set
    # CONFIG_ARCH_SUN8IW1 is not set
    # CONFIG_ARCH_SUN8IW3 is not set
    # CONFIG_ARCH_SUN8IW5 is not set
    # CONFIG_ARCH_SUN8IW6 is not set
    CONFIG_ARCH_SUN8IW7=y
    # CONFIG_ARCH_SUN8IW8 is not set
    # CONFIG_ARCH_SUN8IW9 is not set
    # CONFIG_SUN8I_ROOT_DEVICE is not set
    CONFIG_ARCH_SUN8IW7P1=y
    # CONFIG_FPGA_V4_PLATFORM is not set
    # CONFIG_FPGA_V7_PLATFORM is not set
    CONFIG_EVB_PLATFORM=y
     
    #
    # Power management
    #
     
    #
    # Common Features Selection
    #
     
    #
    # Boot Options
    #
    # CONFIG_SUNXI_TRUSTZONE is not set
    CONFIG_HOMLET_PLATFORM=y
    # CONFIG_SUNXI_BOOTUP_EXTEND is not set
    # CONFIG_SUNXI_OOPS_HOOK is not set
    # CONFIG_MEM_512M_DEBUG is not set
     
    #
    # Processor Type
    #
    CONFIG_CPU_V7=y
    CONFIG_CPU_32v6K=y
    CONFIG_CPU_32v7=y
    CONFIG_CPU_ABRT_EV7=y
    CONFIG_CPU_PABRT_V7=y
    CONFIG_CPU_CACHE_V7=y
    CONFIG_CPU_CACHE_VIPT=y
    CONFIG_CPU_COPY_V6=y
    CONFIG_CPU_TLB_V7=y
    CONFIG_CPU_HAS_ASID=y
    CONFIG_CPU_CP15=y
    CONFIG_CPU_CP15_MMU=y
     
    #
    # Processor Features
    #
    # CONFIG_ARM_LPAE is not set
    # CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
    CONFIG_ARM_THUMB=y
    CONFIG_ARM_THUMBEE=y
    CONFIG_SWP_EMULATE=y
    # CONFIG_CPU_ICACHE_DISABLE is not set
    # CONFIG_CPU_DCACHE_DISABLE is not set
    # CONFIG_CPU_BPREDICT_DISABLE is not set
    CONFIG_MIGHT_HAVE_CACHE_L2X0=y
    # CONFIG_CACHE_L2X0 is not set
    CONFIG_ARM_L1_CACHE_SHIFT_6=y
    CONFIG_ARM_L1_CACHE_SHIFT=6
    CONFIG_ARM_DMA_MEM_BUFFERABLE=y
    CONFIG_ARM_NR_BANKS=8
    CONFIG_CPU_HAS_PMU=y
    CONFIG_MULTI_IRQ_HANDLER=y
    # CONFIG_ARM_ERRATA_430973 is not set
    # CONFIG_ARM_ERRATA_458693 is not set
    # CONFIG_ARM_ERRATA_460075 is not set
    # CONFIG_ARM_ERRATA_742230 is not set
    # CONFIG_ARM_ERRATA_742231 is not set
    # CONFIG_ARM_ERRATA_720789 is not set
    # CONFIG_ARM_ERRATA_743622 is not set
    # CONFIG_ARM_ERRATA_751472 is not set
    # CONFIG_ARM_ERRATA_754322 is not set
    # CONFIG_ARM_ERRATA_754327 is not set
    # CONFIG_ARM_ERRATA_764369 is not set
    # CONFIG_ARM_ERRATA_775420 is not set
    CONFIG_ARM_GIC=y
    # CONFIG_FIQ_DEBUGGER is not set
     
    #
    # Bus support
    #
    # CONFIG_PCI_SYSCALL is not set
    # CONFIG_ARCH_SUPPORTS_MSI is not set
    # CONFIG_PCCARD is not set
     
    #
    # Kernel Features
    #
    CONFIG_TICK_ONESHOT=y
    CONFIG_NO_HZ=y
    CONFIG_HIGH_RES_TIMERS=y
    CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
    CONFIG_HAVE_SMP=y
    CONFIG_SMP=y
    CONFIG_SMP_ON_UP=y
    CONFIG_ARM_CPU_TOPOLOGY=y
    # CONFIG_SCHED_MC is not set
    # CONFIG_SCHED_SMT is not set
    # CONFIG_DISABLE_CPU_SCHED_DOMAIN_BALANCE is not set
    CONFIG_HAVE_ARM_SCU=y
    CONFIG_ARM_ARCH_TIMER=y
    # CONFIG_MCPM is not set
    # CONFIG_BIG_LITTLE is not set
    CONFIG_VMSPLIT_3G=y
    # CONFIG_VMSPLIT_2G is not set
    # CONFIG_VMSPLIT_1G is not set
    CONFIG_PAGE_OFFSET=0xC0000000
    CONFIG_NR_CPUS=4
    CONFIG_HOTPLUG_CPU=y
    CONFIG_ARCH_NR_GPIO=2048
    # CONFIG_PREEMPT_NONE is not set
    # CONFIG_PREEMPT_VOLUNTARY is not set
    CONFIG_PREEMPT=y
    CONFIG_PREEMPT_COUNT=y
    CONFIG_HZ=100
    # CONFIG_THUMB2_KERNEL is not set
    CONFIG_AEABI=y
    CONFIG_OABI_COMPAT=y
    # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
    # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
    CONFIG_HAVE_ARCH_PFN_VALID=y
    # CONFIG_HIGHMEM is not set
    # CONFIG_HW_PERF_EVENTS is not set
    CONFIG_SELECT_MEMORY_MODEL=y
    CONFIG_FLATMEM_MANUAL=y
    CONFIG_FLATMEM=y
    CONFIG_FLAT_NODE_MEM_MAP=y
    CONFIG_HAVE_MEMBLOCK=y
    CONFIG_MEMORY_ISOLATION=y
    CONFIG_PAGEFLAGS_EXTENDED=y
    CONFIG_SPLIT_PTLOCK_CPUS=4
    CONFIG_COMPACTION=y
    CONFIG_MIGRATION=y
    # CONFIG_PHYS_ADDR_T_64BIT is not set
    CONFIG_ZONE_DMA_FLAG=0
    CONFIG_VIRT_TO_BUS=y
    # CONFIG_KSM is not set
    CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
    # CONFIG_CLEANCACHE is not set
    CONFIG_FORCE_MAX_ZONEORDER=11
    CONFIG_ALIGNMENT_TRAP=y
    # CONFIG_UACCESS_WITH_MEMCPY is not set
    # CONFIG_SECCOMP is not set
    # CONFIG_CC_STACKPROTECTOR is not set
    # CONFIG_DEPRECATED_PARAM_STRUCT is not set
    CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART=y
     
    #
    # Boot options
    #
    CONFIG_USE_OF=y
    # CONFIG_BUILD_ARM_APPENDED_DTB_IMAGE is not set
    CONFIG_ZBOOT_ROM_TEXT=0
    CONFIG_ZBOOT_ROM_BSS=0
    # CONFIG_ARM_APPENDED_DTB is not set
    CONFIG_CMDLINE="earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init"
    CONFIG_CMDLINE_FROM_BOOTLOADER=y
    # CONFIG_CMDLINE_EXTEND is not set
    # CONFIG_CMDLINE_FORCE is not set
    # CONFIG_XIP_KERNEL is not set
    # CONFIG_KEXEC is not set
    # CONFIG_CRASH_DUMP is not set
    # CONFIG_AUTO_ZRELADDR is not set
     
    #
    # CPU Power Management
    #
     
    #
    # CPU Frequency scaling
    #
    # CONFIG_CPU_FREQ is not set
     
    #
    # CPU Idle
    #
    # CONFIG_CPU_IDLE is not set
    # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
     
    #
    # Floating point emulation
    #
     
    #
    # At least one emulation must be selected
    #
    # CONFIG_FPE_NWFPE is not set
    # CONFIG_FPE_FASTFPE is not set
    CONFIG_VFP=y
    CONFIG_VFPv3=y
    CONFIG_NEON=y
     
    #
    # Userspace binary formats
    #
    CONFIG_BINFMT_ELF=y
    CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
    CONFIG_HAVE_AOUT=y
    # CONFIG_BINFMT_AOUT is not set
    # CONFIG_BINFMT_MISC is not set
     
    #
    # Power management options
    #
    # CONFIG_SUSPEND is not set
    # CONFIG_PM_RUNTIME is not set
    # CONFIG_SUSPEND_TIME is not set
    CONFIG_ARCH_SUSPEND_POSSIBLE=y
    # CONFIG_ARM_CPU_SUSPEND is not set
    CONFIG_ARCH_HIBERNATION_POSSIBLE=y
    CONFIG_NET=y
     
    #
    # Networking options
    #
    CONFIG_PACKET=y
    CONFIG_UNIX=y
    # CONFIG_UNIX_DIAG is not set
    # CONFIG_NET_KEY is not set
    CONFIG_INET=y
    CONFIG_IP_MULTICAST=y
    # CONFIG_IP_ADVANCED_ROUTER is not set
    # CONFIG_IP_PNP is not set
    # CONFIG_NET_IPIP is not set
    # CONFIG_NET_IPGRE_DEMUX is not set
    # CONFIG_IP_MROUTE is not set
    # CONFIG_ARPD is not set
    # CONFIG_SYN_COOKIES is not set
    # CONFIG_INET_AH is not set
    # CONFIG_INET_ESP is not set
    # CONFIG_INET_IPCOMP is not set
    # CONFIG_INET_XFRM_TUNNEL is not set
    # CONFIG_INET_TUNNEL is not set
    # CONFIG_INET_XFRM_MODE_TRANSPORT is not set
    # CONFIG_INET_XFRM_MODE_TUNNEL is not set
    # CONFIG_INET_XFRM_MODE_BEET is not set
    # CONFIG_INET_LRO is not set
    # CONFIG_INET_DIAG is not set
    # CONFIG_TCP_CONG_ADVANCED is not set
    CONFIG_TCP_CONG_CUBIC=y
    CONFIG_DEFAULT_TCP_CONG="cubic"
    # CONFIG_TCP_MD5SIG is not set
    # CONFIG_IPV6 is not set
    # CONFIG_ANDROID_PARANOID_NETWORK is not set
    # CONFIG_NET_ACTIVITY_STATS is not set
    # CONFIG_NETWORK_SECMARK is not set
    # CONFIG_NETWORK_PHY_TIMESTAMPING is not set
    # CONFIG_NETFILTER is not set
    # CONFIG_IP_DCCP is not set
    # CONFIG_IP_SCTP is not set
    # CONFIG_RDS is not set
    # CONFIG_TIPC is not set
    # CONFIG_ATM is not set
    # CONFIG_L2TP is not set
    # CONFIG_BRIDGE is not set
    # CONFIG_NET_DSA is not set
    # CONFIG_VLAN_8021Q is not set
    # CONFIG_DECNET is not set
    # CONFIG_LLC2 is not set
    # CONFIG_IPX is not set
    # CONFIG_ATALK is not set
    # CONFIG_X25 is not set
    # CONFIG_LAPB is not set
    # CONFIG_ECONET is not set
    # CONFIG_WAN_ROUTER is not set
    # CONFIG_PHONET is not set
    # CONFIG_IEEE802154 is not set
    # CONFIG_NET_SCHED is not set
    # CONFIG_DCB is not set
    # CONFIG_DNS_RESOLVER is not set
    # CONFIG_BATMAN_ADV is not set
    # CONFIG_OPENVSWITCH is not set
    CONFIG_RPS=y
    CONFIG_RFS_ACCEL=y
    CONFIG_XPS=y
    CONFIG_BQL=y
    CONFIG_HAVE_BPF_JIT=y
    # CONFIG_BPF_JIT is not set
     
    #
    # Network testing
    #
    # CONFIG_NET_PKTGEN is not set
    # CONFIG_HAMRADIO is not set
    # CONFIG_CAN is not set
    # CONFIG_IRDA is not set
    # CONFIG_BT is not set
    # CONFIG_AF_RXRPC is not set
    CONFIG_WIRELESS=y
    # CONFIG_LINUX_BACKPORTS is not set
    # CONFIG_CFG80211 is not set
    # CONFIG_LIB80211 is not set
     
    #
    # CFG80211 needs to be enabled for MAC80211
    #
    # CONFIG_WIMAX is not set
    # CONFIG_RFKILL is not set
    # CONFIG_NET_9P is not set
    # CONFIG_CAIF is not set
    # CONFIG_CEPH_LIB is not set
    # CONFIG_NFC is not set
     
    #
    # Device Drivers
    #
    CONFIG_SUNXI_ARISC=y
     
    #
    # Generic Driver Options
    #
    CONFIG_UEVENT_HELPER_PATH=""
    CONFIG_DEVTMPFS=y
    # CONFIG_DEVTMPFS_MOUNT is not set
    CONFIG_STANDALONE=y
    CONFIG_PREVENT_FIRMWARE_BUILD=y
    CONFIG_FW_LOADER=y
    CONFIG_FIRMWARE_IN_KERNEL=y
    CONFIG_EXTRA_FIRMWARE=""
    CONFIG_FW_LOADER_USER_HELPER=y
    # CONFIG_DEBUG_DRIVER is not set
    # CONFIG_DEBUG_DEVRES is not set
    # CONFIG_SYS_HYPERVISOR is not set
    # CONFIG_GENERIC_CPU_DEVICES is not set
    CONFIG_REGMAP=y
    CONFIG_REGMAP_I2C=y
    CONFIG_REGMAP_SPI=y
    # CONFIG_DMA_SHARED_BUFFER is not set
    CONFIG_CMA=y
    # CONFIG_CMA_DEBUG is not set
     
    #
    # Default contiguous memory area size:
    #
    CONFIG_CMA_SIZE_MBYTES=16
    CONFIG_CMA_RESERVE_BASE=0x43400000
    CONFIG_CMA_SIZE_SEL_MBYTES=y
    # CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
    # CONFIG_CMA_SIZE_SEL_MIN is not set
    # CONFIG_CMA_SIZE_SEL_MAX is not set
    CONFIG_CMA_ALIGNMENT=0
    CONFIG_CMA_AREAS=7
    CONFIG_SYNC=y
    CONFIG_SW_SYNC=y
    # CONFIG_SW_SYNC_USER is not set
     
    #
    # Bus devices
    #
    # CONFIG_CONNECTOR is not set
    # CONFIG_MTD is not set
    CONFIG_DTC=y
    CONFIG_OF=y
     
    #
    # Device Tree and Open Firmware support
    #
    # CONFIG_PROC_DEVICETREE is not set
    # CONFIG_OF_SELFTEST is not set
    CONFIG_OF_FLATTREE=y
    CONFIG_OF_EARLY_FLATTREE=y
    CONFIG_OF_ADDRESS=y
    CONFIG_OF_IRQ=y
    CONFIG_OF_DEVICE=y
    CONFIG_OF_GPIO=y
    CONFIG_OF_I2C=y
    CONFIG_OF_NET=y
    CONFIG_OF_SPI=y
    CONFIG_OF_MDIO=y
    # CONFIG_PARPORT is not set
     
    #
    # Misc devices
    #
    # CONFIG_SUNXI_VIBRATOR is not set
    # CONFIG_SUN8I_VIBRATOR is not set
    # CONFIG_SENSORS_LIS3LV02D is not set
    # CONFIG_AD525X_DPOT is not set
    # CONFIG_ATMEL_PWM is not set
    # CONFIG_ICS932S401 is not set
    # CONFIG_ENCLOSURE_SERVICES is not set
    # CONFIG_APDS9802ALS is not set
    # CONFIG_ISL29003 is not set
    # CONFIG_ISL29020 is not set
    # CONFIG_SENSORS_TSL2550 is not set
    # CONFIG_SENSORS_BH1780 is not set
    # CONFIG_SENSORS_BH1770 is not set
    # CONFIG_SENSORS_APDS990X is not set
    # CONFIG_HMC6352 is not set
    # CONFIG_SENSORS_AK8975 is not set
    # CONFIG_DS1682 is not set
    # CONFIG_TI_DAC7512 is not set
    CONFIG_UID_STAT=y
    CONFIG_BMP085=m
    # CONFIG_USB_SWITCH_FSA9480 is not set
    # CONFIG_SUNXI_BROM_READ is not set
    # CONFIG_C2PORT is not set
     
    #
    # EEPROM support
    #
    # CONFIG_EEPROM_AT24 is not set
    # CONFIG_EEPROM_AT25 is not set
    # CONFIG_EEPROM_LEGACY is not set
    # CONFIG_EEPROM_MAX6875 is not set
    CONFIG_EEPROM_93CX6=m
    # CONFIG_EEPROM_93XX46 is not set
    # CONFIG_IWMC3200TOP is not set
     
    #
    # Texas Instruments shared transport line discipline
    #
    # CONFIG_TI_ST is not set
    # CONFIG_SENSORS_LIS3_SPI is not set
    # CONFIG_SENSORS_LIS3_I2C is not set
     
    #
    # Altera FPGA firmware download module
    #
    # CONFIG_ALTERA_STAPL is not set
    # CONFIG_SW_3G_MODULE is not set
     
    #
    # SCSI device support
    #
    CONFIG_SCSI_MOD=y
    # CONFIG_SCSI_DMA is not set
    # CONFIG_SCSI_NETLINK is not set
    CONFIG_NETDEVICES=y
    CONFIG_NET_CORE=y
    # CONFIG_BONDING is not set
    # CONFIG_DUMMY is not set
    # CONFIG_EQUALIZER is not set
    # CONFIG_MII is not set
    # CONFIG_NET_TEAM is not set
    # CONFIG_MACVLAN is not set
    # CONFIG_NETCONSOLE is not set
    # CONFIG_NETPOLL is not set
    # CONFIG_NET_POLL_CONTROLLER is not set
    # CONFIG_TUN is not set
    # CONFIG_VETH is not set
     
    #
    # CAIF transport drivers
    #
    CONFIG_ETHERNET=y
    # CONFIG_NET_VENDOR_BROADCOM is not set
    # CONFIG_NET_CALXEDA_XGMAC is not set
    # CONFIG_NET_VENDOR_CHELSIO is not set
    # CONFIG_NET_VENDOR_CIRRUS is not set
    # CONFIG_DM9000 is not set
    # CONFIG_DNET is not set
    # CONFIG_NET_VENDOR_FARADAY is not set
    # CONFIG_NET_VENDOR_INTEL is not set
    # CONFIG_NET_VENDOR_MARVELL is not set
    # CONFIG_NET_VENDOR_MICREL is not set
    # CONFIG_NET_VENDOR_MICROCHIP is not set
    # CONFIG_NET_VENDOR_NATSEMI is not set
    # CONFIG_ETHOC is not set
    # CONFIG_NET_VENDOR_SEEQ is not set
    # CONFIG_NET_VENDOR_SMSC is not set
    # CONFIG_NET_VENDOR_STMICRO is not set
    CONFIG_NET_VENDOR_SUNXI=y
    CONFIG_SUNXI_GETH=y
    CONFIG_GETH_SCRIPT_SYS=y
    CONFIG_GETH_CLK_SYS=y
    CONFIG_PHYLIB=y
     
    #
    # MII PHY device drivers
    #
    # CONFIG_AMD_PHY is not set
    # CONFIG_MARVELL_PHY is not set
    # CONFIG_DAVICOM_PHY is not set
    # CONFIG_QSEMI_PHY is not set
    # CONFIG_LXT_PHY is not set
    # CONFIG_CICADA_PHY is not set
    # CONFIG_VITESSE_PHY is not set
    # CONFIG_SMSC_PHY is not set
    # CONFIG_BROADCOM_PHY is not set
    # CONFIG_ICPLUS_PHY is not set
    # CONFIG_REALTEK_PHY is not set
    # CONFIG_NATIONAL_PHY is not set
    # CONFIG_STE10XP is not set
    # CONFIG_LSI_ET1011C_PHY is not set
    # CONFIG_MICREL_PHY is not set
    # CONFIG_FIXED_PHY is not set
    # CONFIG_MDIO_BITBANG is not set
    # CONFIG_MICREL_KS8995MA is not set
    # CONFIG_PPP is not set
    # CONFIG_SLIP is not set
     
    #
    # USB Network Adapters
    #
    # CONFIG_USB_CATC is not set
    # CONFIG_USB_KAWETH is not set
    # CONFIG_USB_PEGASUS is not set
    # CONFIG_USB_RTL8150 is not set
    # CONFIG_USB_USBNET is not set
    # CONFIG_USB_IPHETH is not set
    # CONFIG_WLAN is not set
     
    #
    # Enable WiMAX (Networking options) to see the WiMAX drivers
    #
    # CONFIG_WAN is not set
    # CONFIG_ISDN is not set
     
    #
    # Input device support
    #
    CONFIG_INPUT=y
    CONFIG_INPUT_FF_MEMLESS=y
    # CONFIG_INPUT_POLLDEV is not set
    # CONFIG_INPUT_SPARSEKMAP is not set
     
    #
    # Userland interfaces
    #
    # CONFIG_INPUT_MOUSEDEV is not set
    # CONFIG_INPUT_JOYDEV is not set
    # CONFIG_INPUT_EVDEV is not set
    # CONFIG_INPUT_EVBUG is not set
    # CONFIG_INPUT_KEYRESET is not set
    CONFIG_INPUT_SW_DEVICE=y
     
    #
    # Input Device Drivers
    #
    # CONFIG_INPUT_KEYBOARD is not set
    # CONFIG_INPUT_MOUSE is not set
    # CONFIG_INPUT_JOYSTICK is not set
    # CONFIG_INPUT_TABLET is not set
    # CONFIG_INPUT_TOUCHSCREEN is not set
    # CONFIG_INPUT_MISC is not set
     
    #
    # Hardware I/O ports
    #
    # CONFIG_SERIO is not set
    # CONFIG_GAMEPORT is not set
     
    #
    # Character devices
    #
    # CONFIG_VT is not set
    # CONFIG_UNIX98_PTYS is not set
    # CONFIG_LEGACY_PTYS is not set
    # CONFIG_SERIAL_NONSTANDARD is not set
    # CONFIG_N_GSM is not set
    # CONFIG_TRACE_SINK is not set
    # CONFIG_DEVMEM is not set
    # CONFIG_DEVKMEM is not set
     
    #
    # Serial drivers
    #
    # CONFIG_SERIAL_8250 is not set
     
    #
    # Non-8250 serial port support
    #
    # CONFIG_SERIAL_MAX3100 is not set
    # CONFIG_SERIAL_MAX3107 is not set
    CONFIG_SERIAL_CORE=y
    CONFIG_SERIAL_CORE_CONSOLE=y
    # CONFIG_SERIAL_TIMBERDALE is not set
    # CONFIG_SERIAL_ALTERA_JTAGUART is not set
    # CONFIG_SERIAL_ALTERA_UART is not set
    # CONFIG_SERIAL_IFX6X60 is not set
    # CONFIG_SERIAL_XILINX_PS_UART is not set
    CONFIG_SERIAL_SUNXI=y
    CONFIG_SERIAL_SUNXI_CONSOLE=y
    # CONFIG_SERIAL_DEBUG is not set
    # CONFIG_TTY_PRINTK is not set
    # CONFIG_HVC_DCC is not set
    # CONFIG_IPMI_HANDLER is not set
    # CONFIG_HW_RANDOM is not set
    # CONFIG_R3964 is not set
    # CONFIG_TCG_TPM is not set
    # CONFIG_DCC_TTY is not set
    # CONFIG_RAMOOPS is not set
    # CONFIG_SUNXI_D7S is not set
    # CONFIG_MATRIX_GPIO_INT is not set
    # CONFIG_MATRIX_PWM is not set
    # CONFIG_MATRIX_ROTARY_ENCODER is not set
    # CONFIG_MATRIX_HCSR04 is not set
    # CONFIG_MATRIX_IR_RECV is not set
    # CONFIG_IR_CUT is not set
    CONFIG_SUNXI_CMATESET=y
    # CONFIG_SUNXI_ARISC_TEST is not set
    # CONFIG_SUNXI_MODULE is not set
    # CONFIG_SUNXI_TIMER_TEST is not set
    # CONFIG_SUNXI_DMA_TEST is not set
    # CONFIG_SUNXI_SCR is not set
    # CONFIG_SUNXI_DI is not set
    CONFIG_SUNXI_SOC_INFO=y
    # CONFIG_ID is not set
    # CONFIG_RESET_KEY is not set
    CONFIG_I2C=y
    CONFIG_I2C_BOARDINFO=y
    CONFIG_I2C_COMPAT=y
    CONFIG_I2C_CHARDEV=y
    # CONFIG_I2C_MUX is not set
    CONFIG_I2C_HELPER_AUTO=y
     
    #
    # I2C Hardware Bus support
    #
     
    #
    # I2C system bus drivers (mostly embedded / system-on-chip)
    #
    # CONFIG_I2C_DESIGNWARE_PLATFORM is not set
    # CONFIG_I2C_GPIO is not set
    # CONFIG_I2C_OCORES is not set
    # CONFIG_I2C_PCA_PLATFORM is not set
    # CONFIG_I2C_PXA_PCI is not set
    # CONFIG_I2C_SIMTEC is not set
    CONFIG_I2C_SUNXI=y
    # CONFIG_I2C_XILINX is not set
     
    #
    # External I2C/SMBus adapter drivers
    #
    # CONFIG_I2C_DIOLAN_U2C is not set
    # CONFIG_I2C_PARPORT_LIGHT is not set
    # CONFIG_I2C_TAOS_EVM is not set
    # CONFIG_I2C_TINY_USB is not set
     
    #
    # Other I2C/SMBus bus drivers
    #
    # CONFIG_I2C_STUB is not set
    # CONFIG_I2C_DEBUG_CORE is not set
    # CONFIG_I2C_DEBUG_ALGO is not set
    # CONFIG_I2C_DEBUG_BUS is not set
    CONFIG_SPI=y
    # CONFIG_SPI_DEBUG is not set
    CONFIG_SPI_MASTER=y
     
    #
    # SPI Master Controller Drivers
    #
    # CONFIG_SPI_ALTERA is not set
    # CONFIG_SPI_BITBANG is not set
    # CONFIG_SPI_GPIO is not set
    # CONFIG_SPI_OC_TINY is not set
    # CONFIG_SPI_PXA2XX_PCI is not set
    CONFIG_SPI_SUNXI=y
    # CONFIG_SPI_XILINX is not set
    # CONFIG_SPI_DESIGNWARE is not set
     
    #
    # SPI Protocol Masters
    #
    CONFIG_SPI_SPIDEV=y
    # CONFIG_SPI_TLE62X0 is not set
    # CONFIG_HSI is not set
     
    #
    # PPS support
    #
    # CONFIG_PPS is not set
     
    #
    # PPS generators support
    #
     
    #
    # PTP clock support
    #
     
    #
    # Enable Device Drivers -> PPS to see the PTP clock options.
    #
    CONFIG_PINCTRL=y
     
    #
    # Pin controllers
    #
    CONFIG_PINMUX=y
    CONFIG_PINCONF=y
    CONFIG_GENERIC_PINCONF=y
    # CONFIG_DEBUG_PINCTRL is not set
    CONFIG_PINCTRL_SUNXI=y
    # CONFIG_PINCTRL_SUNXI_DEBUG is not set
    # CONFIG_SUNXI_PINCTRL_TEST is not set
    CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
    CONFIG_ARCH_REQUIRE_GPIOLIB=y
    CONFIG_GPIOLIB=y
    # CONFIG_DEBUG_GPIO is not set
    CONFIG_GPIO_SYSFS=y
     
    #
    # Memory mapped GPIO drivers:
    #
    # CONFIG_GPIO_GENERIC_PLATFORM is not set
     
    #
    # I2C GPIO expanders:
    #
    # CONFIG_GPIO_MAX7300 is not set
    # CONFIG_GPIO_MAX732X is not set
    # CONFIG_GPIO_PCF857X is not set
    # CONFIG_GPIO_SX150X is not set
    # CONFIG_GPIO_ADP5588 is not set
     
    #
    # PCI GPIO expanders:
    #
     
    #
    # SPI GPIO expanders:
    #
    # CONFIG_GPIO_MAX7301 is not set
    # CONFIG_GPIO_MCP23S08 is not set
    # CONFIG_GPIO_MC33880 is not set
    # CONFIG_GPIO_74X164 is not set
     
    #
    # AC97 GPIO expanders:
    #
     
    #
    # MODULbus GPIO expanders:
    #
    CONFIG_GPIO_SUNXI=y
    # CONFIG_W1 is not set
    # CONFIG_POWER_SUPPLY is not set
    # CONFIG_HWMON is not set
    CONFIG_THERMAL=y
    CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
    # CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
    # CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
    # CONFIG_FAIR_SHARE is not set
    CONFIG_STEP_WISE=y
    # CONFIG_USER_SPACE is not set
    # CONFIG_SUNXI_THERMAL_DYNAMIC is not set
    CONFIG_SUNXI_THERMAL=y
    CONFIG_WATCHDOG=y
    # CONFIG_WATCHDOG_CORE is not set
    # CONFIG_WATCHDOG_NOWAYOUT is not set
     
    #
    # Watchdog Device Drivers
    #
    # CONFIG_SOFT_WATCHDOG is not set
    # CONFIG_DW_WATCHDOG is not set
    # CONFIG_MAX63XX_WATCHDOG is not set
    CONFIG_SUNXI_WDT=y
     
    #
    # USB-based Watchdog Cards
    #
    # CONFIG_USBPCWATCHDOG is not set
    CONFIG_SSB_POSSIBLE=y
     
    #
    # Sonics Silicon Backplane
    #
    # CONFIG_SSB is not set
    CONFIG_BCMA_POSSIBLE=y
     
    #
    # Broadcom specific AMBA
    #
    # CONFIG_BCMA is not set
     
    #
    # Multifunction device drivers
    #
    # CONFIG_MFD_CORE is not set
    # CONFIG_MFD_88PM860X is not set
    # CONFIG_MFD_SM501 is not set
    # CONFIG_MFD_ASIC3 is not set
    # CONFIG_HTC_EGPIO is not set
    # CONFIG_HTC_PASIC3 is not set
    # CONFIG_HTC_I2CPLD is not set
    # CONFIG_TPS6105X is not set
    # CONFIG_TPS65010 is not set
    # CONFIG_TPS6507X is not set
    # CONFIG_MFD_TPS65217 is not set
    # CONFIG_MFD_TPS6586X is not set
    # CONFIG_MFD_TPS65910 is not set
    # CONFIG_MFD_TPS65912_I2C is not set
    # CONFIG_MFD_TPS65912_SPI is not set
    # CONFIG_TWL4030_CORE is not set
    # CONFIG_TWL6040_CORE is not set
    # CONFIG_MFD_STMPE is not set
    # CONFIG_MFD_TC3589X is not set
    # CONFIG_MFD_TMIO is not set
    # CONFIG_MFD_T7L66XB is not set
    # CONFIG_MFD_TC6387XB is not set
    # CONFIG_MFD_TC6393XB is not set
    # CONFIG_PMIC_DA903X is not set
    # CONFIG_MFD_DA9052_SPI is not set
    # CONFIG_MFD_DA9052_I2C is not set
    # CONFIG_PMIC_ADP5520 is not set
    # CONFIG_MFD_MAX8925 is not set
    # CONFIG_MFD_MAX8997 is not set
    # CONFIG_MFD_MAX8998 is not set
    # CONFIG_MFD_S5M_CORE is not set
    # CONFIG_MFD_WM8400 is not set
    # CONFIG_MFD_WM831X_I2C is not set
    # CONFIG_MFD_WM831X_SPI is not set
    # CONFIG_MFD_WM8350_I2C is not set
    # CONFIG_MFD_WM8994 is not set
    # CONFIG_MFD_ACX00 is not set
    # CONFIG_MFD_PCF50633 is not set
    # CONFIG_MFD_MC13XXX is not set
    # CONFIG_ABX500_CORE is not set
    # CONFIG_EZX_PCAP is not set
    # CONFIG_MFD_WL1273_CORE is not set
    # CONFIG_MFD_TPS65090 is not set
    # CONFIG_MFD_AAT2870_CORE is not set
    # CONFIG_MFD_RC5T583 is not set
    # CONFIG_REGULATOR is not set
    CONFIG_PWM=y
    CONFIG_PWM_SUNXI=y
    CONFIG_MEDIA_SUPPORT=y
     
    #
    # Multimedia core support
    #
    # CONFIG_MEDIA_CONTROLLER is not set
    # CONFIG_VIDEO_DEV is not set
    # CONFIG_DVB_CORE is not set
    # CONFIG_VIDEO_MEDIA is not set
     
    #
    # Multimedia drivers
    #
    # CONFIG_RC_CORE is not set
    # CONFIG_AW_TSC is not set
    # CONFIG_VIDEO_ENCODER_DECODER_SUNXI is not set
     
    #
    # Graphics support
    #
    # CONFIG_DRM is not set
    # CONFIG_ION is not set
    # CONFIG_VGASTATE is not set
    # CONFIG_VIDEO_OUTPUT_CONTROL is not set
    # CONFIG_FB is not set
    # CONFIG_EXYNOS_VIDEO is not set
    # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
    CONFIG_SOUND=y
    CONFIG_SOUND_OSS_CORE=y
    CONFIG_SOUND_OSS_CORE_PRECLAIM=y
    CONFIG_SND=y
    CONFIG_SND_TIMER=y
    CONFIG_SND_PCM=y
    CONFIG_SND_RAWMIDI=y
    CONFIG_SND_JACK=y
    CONFIG_SND_SEQUENCER=m
    CONFIG_SND_SEQ_DUMMY=m
    CONFIG_SND_OSSEMUL=y
    CONFIG_SND_MIXER_OSS=m
    CONFIG_SND_PCM_OSS=m
    CONFIG_SND_PCM_OSS_PLUGINS=y
    CONFIG_SND_SEQUENCER_OSS=y
    # CONFIG_SND_HRTIMER is not set
    # CONFIG_SND_DYNAMIC_MINORS is not set
    CONFIG_SND_SUPPORT_OLD_API=y
    # CONFIG_SND_VERBOSE_PROCFS is not set
    # CONFIG_SND_VERBOSE_PRINTK is not set
    # CONFIG_SND_DEBUG is not set
    CONFIG_SND_RAWMIDI_SEQ=m
    # CONFIG_SND_OPL3_LIB_SEQ is not set
    # CONFIG_SND_OPL4_LIB_SEQ is not set
    # CONFIG_SND_SBAWE_SEQ is not set
    # CONFIG_SND_EMU10K1_SEQ is not set
    CONFIG_SND_DRIVERS=y
    CONFIG_SND_DUMMY=m
    CONFIG_SND_ALOOP=m
    CONFIG_SND_VIRMIDI=m
    # CONFIG_SND_MTPAV is not set
    # CONFIG_SND_SERIAL_U16550 is not set
    # CONFIG_SND_MPU401 is not set
    CONFIG_SND_ARM=y
    CONFIG_SND_SPI=y
    CONFIG_SND_USB=y
    # CONFIG_SND_USB_AUDIO is not set
    # CONFIG_SND_USB_UA101 is not set
    # CONFIG_SND_USB_CAIAQ is not set
    # CONFIG_SND_USB_6FIRE is not set
    CONFIG_SND_SOC=y
    CONFIG_SND_SOC_DMAENGINE_PCM=y
    CONFIG_SND_SUNXI_SOC_AUDIOCODEC=y
    CONFIG_SND_SUNXI_SOC_PUBLUC_MACHINE=y
    CONFIG_SND_SUN8IW7_SNDCODEC=y
    CONFIG_SND_SUNXI_SOC_DAUDIO0_INTERFACE=y
    CONFIG_SND_SUNXI_SOC_DAUDIO0_PUBLIC_MACHINE=y
    CONFIG_SND_SUNXI_SOC_DAUDIO1_INTERFACE=y
    CONFIG_SND_SUNXI_SOC_DAUDIO1_PUBLIC_MACHINE=y
    CONFIG_SND_SUNXI_SOC_HDMIAUDIO=y
    CONFIG_SND_SUN8IW7_HDMIPCM=y
    CONFIG_SND_SUNXI_SOC_SPDIF=y
    CONFIG_SND_SUNXI_SOC_AUDIOHUB_INTERFACE=y
    CONFIG_SND_SUN8IW7_AUDIOHUB=y
    CONFIG_SND_SUNXI_SOC_SUPPORT_AUDIO_RAW=y
    CONFIG_SND_SOC_I2C_AND_SPI=y
    # CONFIG_SND_SOC_RT3261 is not set
    # CONFIG_SND_RT_EFFECT is not set
    # CONFIG_SOUND_PRIME is not set
    # CONFIG_HID_SUPPORT is not set
    CONFIG_USB_ARCH_HAS_OHCI=y
    CONFIG_USB_ARCH_HAS_EHCI=y
    CONFIG_USB_ARCH_HAS_XHCI=y
    CONFIG_USB_SUPPORT=y
    CONFIG_USB_COMMON=y
    CONFIG_USB_ARCH_HAS_HCD=y
    CONFIG_USB=y
    # CONFIG_USB_DEBUG is not set
    CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
     
    #
    # Miscellaneous USB options
    #
    # CONFIG_USB_DEVICEFS is not set
    # CONFIG_USB_DEVICE_CLASS is not set
    # CONFIG_USB_DYNAMIC_MINORS is not set
    # CONFIG_USB_OTG_WHITELIST is not set
    # CONFIG_USB_OTG_BLACKLIST_HUB is not set
    # CONFIG_USB_DWC3 is not set
    CONFIG_USB_SUNXI=y
    # CONFIG_USB_SUNXI_DEBUG is not set
    # CONFIG_USB_MON is not set
    # CONFIG_USB_WUSB_CBAF is not set
     
    #
    # USB Host Controller Drivers
    #
    # CONFIG_USB_C67X00_HCD is not set
    # CONFIG_USB_XHCI_HCD is not set
    CONFIG_USB_XHCI_PLATFORM=y
    CONFIG_USB_EHCI_HCD=y
    # CONFIG_USB_EHCI_ROOT_HUB_TT is not set
    # CONFIG_USB_EHCI_TT_NEWSCHED is not set
    # CONFIG_USB_OXU210HP_HCD is not set
    # CONFIG_USB_ISP116X_HCD is not set
    # CONFIG_USB_ISP1760_HCD is not set
    # CONFIG_USB_ISP1362_HCD is not set
    CONFIG_USB_OHCI_HCD=y
    # CONFIG_USB_OHCI_HCD_PLATFORM is not set
    CONFIG_USB_EHCI_HCD_PLATFORM=y
    # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
    # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
    CONFIG_USB_OHCI_LITTLE_ENDIAN=y
    # CONFIG_USB_SL811_HCD is not set
    # CONFIG_USB_R8A66597_HCD is not set
    CONFIG_USB_SUNXI_HCD=y
    CONFIG_USB_SUNXI_HCD0=y
    CONFIG_USB_SUNXI_HCI=y
    CONFIG_USB_SUNXI_EHCI0=y
    CONFIG_USB_SUNXI_EHCI1=y
    CONFIG_USB_SUNXI_OHCI0=y
    CONFIG_USB_SUNXI_OHCI1=y
    CONFIG_USB_SUNXI_EHCI2=y
    CONFIG_USB_SUNXI_OHCI2=y
    CONFIG_USB_SUNXI_EHCI3=y
    CONFIG_USB_SUNXI_OHCI3=y
    CONFIG_USB_SUNXI_HSIC=y
    # CONFIG_SW_USB_3G is not set
    # CONFIG_USB_MUSB_HDRC is not set
    # CONFIG_USB_RENESAS_USBHS is not set
     
    #
    # USB Device Class drivers
    #
    # CONFIG_USB_ACM is not set
    # CONFIG_USB_PRINTER is not set
    # CONFIG_USB_WDM is not set
    # CONFIG_USB_TMC is not set
     
    #
    # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
    #
     
    #
    # also be needed; see USB_STORAGE Help for more info
    #
    # CONFIG_USB_LIBUSUAL is not set
     
    #
    # USB Imaging devices
    #
    # CONFIG_USB_MDC800 is not set
     
    #
    # USB port drivers
    #
    CONFIG_USB_SERIAL=y
    CONFIG_USB_SERIAL_CONSOLE=y
    # CONFIG_USB_EZUSB is not set
    CONFIG_USB_SERIAL_GENERIC=y
    # CONFIG_USB_SERIAL_AIRCABLE is not set
    # CONFIG_USB_SERIAL_ARK3116 is not set
    # CONFIG_USB_SERIAL_BELKIN is not set
    # CONFIG_USB_SERIAL_CH341 is not set
    # CONFIG_USB_SERIAL_WHITEHEAT is not set
    # CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
    # CONFIG_USB_SERIAL_CP210X is not set
    # CONFIG_USB_SERIAL_CYPRESS_M8 is not set
    # CONFIG_USB_SERIAL_EMPEG is not set
    # CONFIG_USB_SERIAL_FTDI_SIO is not set
    # CONFIG_USB_SERIAL_FUNSOFT is not set
    # CONFIG_USB_SERIAL_VISOR is not set
    # CONFIG_USB_SERIAL_IPAQ is not set
    # CONFIG_USB_SERIAL_IR is not set
    # CONFIG_USB_SERIAL_EDGEPORT is not set
    # CONFIG_USB_SERIAL_EDGEPORT_TI is not set
    # CONFIG_USB_SERIAL_F81232 is not set
    # CONFIG_USB_SERIAL_GARMIN is not set
    # CONFIG_USB_SERIAL_IPW is not set
    # CONFIG_USB_SERIAL_IUU is not set
    # CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
    # CONFIG_USB_SERIAL_KEYSPAN is not set
    # CONFIG_USB_SERIAL_KLSI is not set
    # CONFIG_USB_SERIAL_KOBIL_SCT is not set
    # CONFIG_USB_SERIAL_MCT_U232 is not set
    # CONFIG_USB_SERIAL_METRO is not set
    # CONFIG_USB_SERIAL_MOS7720 is not set
    # CONFIG_USB_SERIAL_MOS7840 is not set
    # CONFIG_USB_SERIAL_MOTOROLA is not set
    # CONFIG_USB_SERIAL_NAVMAN is not set
    # CONFIG_USB_SERIAL_PL2303 is not set
    # CONFIG_USB_SERIAL_OTI6858 is not set
    # CONFIG_USB_SERIAL_QCAUX is not set
    # CONFIG_USB_SERIAL_QUALCOMM is not set
    # CONFIG_USB_SERIAL_SPCP8X5 is not set
    # CONFIG_USB_SERIAL_HP4X is not set
    # CONFIG_USB_SERIAL_SAFE is not set
    # CONFIG_USB_SERIAL_SIEMENS_MPI is not set
    # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
    # CONFIG_USB_SERIAL_SYMBOL is not set
    # CONFIG_USB_SERIAL_TI is not set
    # CONFIG_USB_SERIAL_CYBERJACK is not set
    # CONFIG_USB_SERIAL_XIRCOM is not set
    # CONFIG_USB_SERIAL_OPTION is not set
    # CONFIG_USB_SERIAL_OMNINET is not set
    # CONFIG_USB_SERIAL_OPTICON is not set
    # CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set
    # CONFIG_USB_SERIAL_ZIO is not set
    # CONFIG_USB_SERIAL_SSU100 is not set
    # CONFIG_USB_SERIAL_DEBUG is not set
     
    #
    # USB Miscellaneous drivers
    #
    # CONFIG_USB_EMI62 is not set
    # CONFIG_USB_EMI26 is not set
    # CONFIG_USB_ADUTUX is not set
    # CONFIG_USB_SEVSEG is not set
    # CONFIG_USB_RIO500 is not set
    # CONFIG_USB_LEGOTOWER is not set
    # CONFIG_USB_LCD is not set
    # CONFIG_USB_LED is not set
    # CONFIG_USB_CYPRESS_CY7C63 is not set
    # CONFIG_USB_CYTHERM is not set
    # CONFIG_USB_IDMOUSE is not set
    # CONFIG_USB_FTDI_ELAN is not set
    # CONFIG_USB_APPLEDISPLAY is not set
    # CONFIG_USB_SISUSBVGA is not set
    # CONFIG_USB_LD is not set
    # CONFIG_USB_TRANCEVIBRATOR is not set
    # CONFIG_USB_IOWARRIOR is not set
    # CONFIG_USB_TEST is not set
    # CONFIG_USB_ISIGHTFW is not set
    # CONFIG_USB_YUREX is not set
    CONFIG_USB_GADGET=y
    # CONFIG_USB_GADGET_DEBUG is not set
    # CONFIG_USB_GADGET_DEBUG_FILES is not set
    # CONFIG_USB_GADGET_DEBUG_FS is not set
    CONFIG_USB_GADGET_VBUS_DRAW=500
    CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2
    # CONFIG_USB_FUSB300 is not set
    # CONFIG_USB_R8A66597 is not set
    # CONFIG_USB_MV_UDC is not set
    # CONFIG_USB_M66592 is not set
    # CONFIG_USB_NET2272 is not set
    # CONFIG_USB_DUMMY_HCD is not set
    CONFIG_USB_SUNXI_UDC0=y
    CONFIG_USB_GADGET_DUALSPEED=y
    CONFIG_USB_GADGET_SUPERSPEED=y
    # CONFIG_USB_ZERO is not set
    # CONFIG_USB_AUDIO is not set
    # CONFIG_USB_ETH is not set
    # CONFIG_USB_G_NCM is not set
    # CONFIG_USB_GADGETFS is not set
    # CONFIG_USB_FUNCTIONFS is not set
    # CONFIG_USB_G_SERIAL is not set
    CONFIG_USB_MIDI_GADGET=y
    # CONFIG_USB_G_PRINTER is not set
    # CONFIG_USB_G_ANDROID is not set
    # CONFIG_USB_CDC_COMPOSITE is not set
    # CONFIG_USB_G_HID is not set
    # CONFIG_USB_G_DBGP is not set
     
    #
    # OTG and related infrastructure
    #
    CONFIG_USB_OTG_UTILS=y
    # CONFIG_USB_GPIO_VBUS is not set
    # CONFIG_USB_ULPI is not set
    # CONFIG_NOP_USB_XCEIV is not set
    CONFIG_USB_SUNXI_USB=y
    CONFIG_USB_SUNXI_USB_MANAGER=y
    # CONFIG_USB_SUNXI_USB0_NULL is not set
    # CONFIG_USB_SUNXI_USB0_DEVICE_ONLY is not set
    # CONFIG_USB_SUNXI_USB0_HOST_ONLY is not set
    CONFIG_USB_SUNXI_USB0_OTG=y
    CONFIG_USB_SUNXI_USB_DEBUG=y
    CONFIG_USB_SUNXI_HOST=y
    CONFIG_MMC=y
    # CONFIG_MMC_DEBUG is not set
    # CONFIG_MMC_UNSAFE_RESUME is not set
    # CONFIG_MMC_CLKGATE is not set
    # CONFIG_MMC_EMBEDDED_SDIO is not set
    # CONFIG_MMC_PARANOID_SD_INIT is not set
     
    #
    # MMC/SD/SDIO Card Drivers
    #
    # CONFIG_SDIO_UART is not set
    # CONFIG_MMC_TEST is not set
    CONFIG_FATFS_FS_SUPPORT=y
     
    #
    # MMC/SD/SDIO Host Controller Drivers
    #
    # CONFIG_MMC_SDHCI is not set
    # CONFIG_MMC_SDHCI_PXAV3 is not set
    # CONFIG_MMC_SDHCI_PXAV2 is not set
    # CONFIG_MMC_SPI is not set
    # CONFIG_MMC_DW is not set
    CONFIG_MMC_SUNXI=y
    # CONFIG_MMC_DEBUG_SUNXI is not set
    CONFIG_MMC_PRE_DBGLVL_SUNXI=0
    # CONFIG_MMC_VUB300 is not set
    # CONFIG_MMC_USHC is not set
    # CONFIG_MEMSTICK is not set
    CONFIG_NEW_LEDS=y
    CONFIG_LEDS_CLASS=y
     
    #
    # LED drivers
    #
    # CONFIG_LEDS_LM3530 is not set
    # CONFIG_LEDS_PCA9532 is not set
    CONFIG_LEDS_GPIO=y
    CONFIG_SUNXI_LEDS=y
    CONFIG_SUNXI_LEDS_COM=y
    # CONFIG_LEDS_LP3944 is not set
    # CONFIG_LEDS_LP5521 is not set
    # CONFIG_LEDS_LP5523 is not set
    # CONFIG_LEDS_PCA955X is not set
    # CONFIG_LEDS_PCA9633 is not set
    # CONFIG_LEDS_DAC124S085 is not set
    # CONFIG_LEDS_BD2802 is not set
    # CONFIG_LEDS_LT3593 is not set
    # CONFIG_LEDS_RENESAS_TPU is not set
    # CONFIG_LEDS_TCA6507 is not set
    # CONFIG_LEDS_OT200 is not set
    CONFIG_LEDS_TRIGGERS=y
     
    #
    # LED Triggers
    #
    CONFIG_LEDS_TRIGGER_TIMER=y
    # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
    # CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
    # CONFIG_LEDS_TRIGGER_GPIO is not set
    CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
     
    #
    # iptables trigger is under Netfilter config (LED target)
    #
    # CONFIG_SWITCH is not set
    # CONFIG_ACCESSIBILITY is not set
    CONFIG_RTC_LIB=y
    CONFIG_RTC_CLASS=y
    CONFIG_RTC_HCTOSYS=y
    CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
    # CONFIG_RTC_DEBUG is not set
     
    #
    # RTC interfaces
    #
    CONFIG_RTC_INTF_SYSFS=y
    CONFIG_RTC_INTF_PROC=y
    CONFIG_RTC_INTF_DEV=y
    # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
    # CONFIG_RTC_DRV_TEST is not set
     
    #
    # I2C RTC drivers
    #
    # CONFIG_RTC_DRV_DS1307 is not set
    # CONFIG_RTC_DRV_DS1374 is not set
    # CONFIG_RTC_DRV_DS1672 is not set
    # CONFIG_RTC_DRV_DS3232 is not set
    # CONFIG_RTC_DRV_MAX6900 is not set
    # CONFIG_RTC_DRV_RS5C372 is not set
    # CONFIG_RTC_DRV_ISL1208 is not set
    # CONFIG_RTC_DRV_ISL12022 is not set
    # CONFIG_RTC_DRV_X1205 is not set
    # CONFIG_RTC_DRV_PCF8563 is not set
    # CONFIG_RTC_DRV_PCF8583 is not set
    # CONFIG_RTC_DRV_M41T80 is not set
    # CONFIG_RTC_DRV_BQ32K is not set
    # CONFIG_RTC_DRV_S35390A is not set
    # CONFIG_RTC_DRV_FM3130 is not set
    # CONFIG_RTC_DRV_RX8581 is not set
    # CONFIG_RTC_DRV_RX8025 is not set
    # CONFIG_RTC_DRV_EM3027 is not set
    # CONFIG_RTC_DRV_RV3029C2 is not set
     
    #
    # SPI RTC drivers
    #
    # CONFIG_RTC_DRV_M41T93 is not set
    # CONFIG_RTC_DRV_M41T94 is not set
    # CONFIG_RTC_DRV_DS1305 is not set
    # CONFIG_RTC_DRV_DS1390 is not set
    # CONFIG_RTC_DRV_MAX6902 is not set
    # CONFIG_RTC_DRV_R9701 is not set
    # CONFIG_RTC_DRV_RS5C348 is not set
    # CONFIG_RTC_DRV_DS3234 is not set
    # CONFIG_RTC_DRV_PCF2123 is not set
     
    #
    # Platform RTC drivers
    #
    # CONFIG_RTC_DRV_CMOS is not set
    # CONFIG_RTC_DRV_DS1286 is not set
    # CONFIG_RTC_DRV_DS1511 is not set
    # CONFIG_RTC_DRV_DS1553 is not set
    # CONFIG_RTC_DRV_DS1742 is not set
    # CONFIG_RTC_DRV_STK17TA8 is not set
    # CONFIG_RTC_DRV_M48T86 is not set
    # CONFIG_RTC_DRV_M48T35 is not set
    # CONFIG_RTC_DRV_M48T59 is not set
    # CONFIG_RTC_DRV_MSM6242 is not set
    # CONFIG_RTC_DRV_BQ4802 is not set
    # CONFIG_RTC_DRV_RP5C01 is not set
    # CONFIG_RTC_DRV_V3020 is not set
     
    #
    # on-CPU RTC drivers
    #
    CONFIG_RTC_DRV_SUNXI=y
    CONFIG_DMADEVICES=y
    # CONFIG_DMADEVICES_DEBUG is not set
     
    #
    # DMA Devices
    #
    # CONFIG_DW_DMAC is not set
    # CONFIG_TIMB_DMA is not set
    CONFIG_DMA_ENGINE=y
    CONFIG_DMA_VIRTUAL_CHANNELS=y
     
    #
    # DMA Clients
    #
    # CONFIG_NET_DMA is not set
    # CONFIG_ASYNC_TX_DMA is not set
    CONFIG_SUNXI_DMA=y
    # CONFIG_DMATEST is not set
    # CONFIG_AUXDISPLAY is not set
    # CONFIG_UIO is not set
     
    #
    # Virtio drivers
    #
    # CONFIG_VIRTIO_BALLOON is not set
    # CONFIG_VIRTIO_MMIO is not set
     
    #
    # Microsoft Hyper-V guest support
    #
    CONFIG_STAGING=y
    # CONFIG_USBIP_CORE is not set
    # CONFIG_ECHO is not set
    # CONFIG_ASUS_OLED is not set
    # CONFIG_TRANZPORT is not set
    # CONFIG_LINE6_USB is not set
    # CONFIG_USB_SERIAL_QUATECH2 is not set
    # CONFIG_USB_SERIAL_QUATECH_USB2 is not set
    # CONFIG_IIO is not set
    # CONFIG_ZSMALLOC is not set
    # CONFIG_BCM_WIMAX is not set
    # CONFIG_FT1000 is not set
     
    #
    # Speakup console speech
    #
    # CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set
    # CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set
    # CONFIG_STAGING_MEDIA is not set
     
    #
    # Android
    #
    # CONFIG_ANDROID is not set
    # CONFIG_PHONE is not set
    # CONFIG_USB_WPAN_HCD is not set
    # CONFIG_SUNXIOOPS is not set
    CONFIG_CLKDEV_LOOKUP=y
    CONFIG_HAVE_CLK_PREPARE=y
    CONFIG_COMMON_CLK=y
     
    #
    # Common Clock Framework
    #
    # CONFIG_COMMON_CLK_DISABLE_UNUSED is not set
    # CONFIG_COMMON_CLK_ENABLE_SYNCBOOT is not set
    # CONFIG_COMMON_CLK_DEBUG is not set
     
    #
    # SUNXI Clock Configuration
    #
    # CONFIG_SUNXI_CLK_DEFAULT_INIT is not set
    # CONFIG_SUNXI_CLK_AHB_FROM_PLL6 is not set
    CONFIG_PLL6AHB1_CLK_DFT_VALUE=200000000
    CONFIG_AHB1_CLK_DFT_VALUE=200000000
    CONFIG_APB1_CLK_DFT_VALUE=100000000
     
    #
    # Hardware Spinlock drivers
    #
    CONFIG_CLKSRC_MMIO=y
    CONFIG_SUNXI_TIMER=y
    # CONFIG_IOMMU_SUPPORT is not set
     
    #
    # Remoteproc drivers (EXPERIMENTAL)
    #
     
    #
    # Rpmsg drivers (EXPERIMENTAL)
    #
    # CONFIG_VIRT_DRIVERS is not set
    # CONFIG_PM_DEVFREQ is not set
    # CONFIG_GATOR_PERF is not set
     
    #
    # File systems
    #
    # CONFIG_FS_POSIX_ACL is not set
    # CONFIG_FILE_LOCKING is not set
    CONFIG_FSNOTIFY=y
    CONFIG_DNOTIFY=y
    CONFIG_INOTIFY_USER=y
    CONFIG_FANOTIFY=y
    # CONFIG_QUOTA is not set
    # CONFIG_QUOTACTL is not set
    # CONFIG_AUTOFS4_FS is not set
    # CONFIG_FUSE_FS is not set
     
    #
    # Caches
    #
    # CONFIG_FSCACHE is not set
     
    #
    # Pseudo filesystems
    #
    CONFIG_PROC_FS=y
    CONFIG_PROC_SYSCTL=y
    CONFIG_PROC_PAGE_MONITOR=y
    CONFIG_SYSFS=y
    # CONFIG_HUGETLB_PAGE is not set
    # CONFIG_CONFIGFS_FS is not set
    CONFIG_MISC_FILESYSTEMS=y
    # CONFIG_PSTORE is not set
    # CONFIG_NETWORK_FILESYSTEMS is not set
    CONFIG_NLS=y
    CONFIG_NLS_DEFAULT="iso8859-1"
    CONFIG_NLS_CODEPAGE_437=y
    # CONFIG_NLS_CODEPAGE_737 is not set
    # CONFIG_NLS_CODEPAGE_775 is not set
    # CONFIG_NLS_CODEPAGE_850 is not set
    # CONFIG_NLS_CODEPAGE_852 is not set
    # CONFIG_NLS_CODEPAGE_855 is not set
    # CONFIG_NLS_CODEPAGE_857 is not set
    # CONFIG_NLS_CODEPAGE_860 is not set
    # CONFIG_NLS_CODEPAGE_861 is not set
    # CONFIG_NLS_CODEPAGE_862 is not set
    # CONFIG_NLS_CODEPAGE_863 is not set
    # CONFIG_NLS_CODEPAGE_864 is not set
    # CONFIG_NLS_CODEPAGE_865 is not set
    # CONFIG_NLS_CODEPAGE_866 is not set
    # CONFIG_NLS_CODEPAGE_869 is not set
    # CONFIG_NLS_CODEPAGE_936 is not set
    # CONFIG_NLS_CODEPAGE_950 is not set
    # CONFIG_NLS_CODEPAGE_932 is not set
    # CONFIG_NLS_CODEPAGE_949 is not set
    # CONFIG_NLS_CODEPAGE_874 is not set
    # CONFIG_NLS_ISO8859_8 is not set
    # CONFIG_NLS_CODEPAGE_1250 is not set
    # CONFIG_NLS_CODEPAGE_1251 is not set
    CONFIG_NLS_ASCII=y
    CONFIG_NLS_ISO8859_1=y
    # CONFIG_NLS_ISO8859_2 is not set
    # CONFIG_NLS_ISO8859_3 is not set
    # CONFIG_NLS_ISO8859_4 is not set
    # CONFIG_NLS_ISO8859_5 is not set
    # CONFIG_NLS_ISO8859_6 is not set
    # CONFIG_NLS_ISO8859_7 is not set
    # CONFIG_NLS_ISO8859_9 is not set
    # CONFIG_NLS_ISO8859_13 is not set
    # CONFIG_NLS_ISO8859_14 is not set
    # CONFIG_NLS_ISO8859_15 is not set
    # CONFIG_NLS_KOI8_R is not set
    # CONFIG_NLS_KOI8_U is not set
    CONFIG_NLS_UTF8=y
    # CONFIG_FS_BLOCK_COMPAT is not set
     
    #
    # Kernel hacking
    #
    CONFIG_DEFAULT_MESSAGE_LOGLEVEL=7
    # CONFIG_ENABLE_WARN_DEPRECATED is not set
    # CONFIG_ENABLE_MUST_CHECK is not set
    CONFIG_FRAME_WARN=1024
    CONFIG_MAGIC_SYSRQ=y
    # CONFIG_STRIP_ASM_SYMS is not set
    # CONFIG_UNUSED_SYMBOLS is not set
    CONFIG_DEBUG_FS=y
    # CONFIG_HEADERS_CHECK is not set
    # CONFIG_DEBUG_SECTION_MISMATCH is not set
    CONFIG_DEBUG_KERNEL=y
    # CONFIG_DEBUG_SHIRQ is not set
    CONFIG_LOCKUP_DETECTOR=y
    # CONFIG_HARDLOCKUP_DETECTOR_NMI is not set
    CONFIG_HARDLOCKUP_DETECTOR_OTHER_CPU=y
    CONFIG_HARDLOCKUP_DETECTOR=y
    # CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
    CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
    # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
    CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
    # CONFIG_DETECT_HUNG_TASK is not set
    # CONFIG_SCHED_DEBUG is not set
    # CONFIG_SCHEDSTATS is not set
    # CONFIG_TIMER_STATS is not set
    # CONFIG_DEBUG_OBJECTS is not set
    # CONFIG_DEBUG_SLAB is not set
    # CONFIG_DEBUG_KMEMLEAK is not set
    # CONFIG_DEBUG_PREEMPT is not set
    # CONFIG_DEBUG_RT_MUTEXES is not set
    # CONFIG_RT_MUTEX_TESTER is not set
    # CONFIG_DEBUG_SPINLOCK is not set
    # CONFIG_DEBUG_MUTEXES is not set
    # CONFIG_DEBUG_LOCK_ALLOC is not set
    # CONFIG_PROVE_LOCKING is not set
    # CONFIG_SPARSE_RCU_POINTER is not set
    # CONFIG_LOCK_STAT is not set
    # CONFIG_DEBUG_ATOMIC_SLEEP is not set
    # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
    CONFIG_STACKTRACE=y
    # CONFIG_DEBUG_STACK_USAGE is not set
    # CONFIG_DEBUG_KOBJECT is not set
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_DEBUG_VM is not set
    # CONFIG_DEBUG_WRITECOUNT is not set
    # CONFIG_DEBUG_MEMORY_INIT is not set
    # CONFIG_DEBUG_LIST is not set
    # CONFIG_TEST_LIST_SORT is not set
    # CONFIG_DEBUG_SG is not set
    # CONFIG_DEBUG_NOTIFIERS is not set
    # CONFIG_DEBUG_CREDENTIALS is not set
    # CONFIG_RCU_TORTURE_TEST is not set
    CONFIG_RCU_CPU_STALL_TIMEOUT=20
    # CONFIG_RCU_CPU_STALL_VERBOSE is not set
    # CONFIG_RCU_CPU_STALL_INFO is not set
    # CONFIG_RCU_TRACE is not set
    # CONFIG_BACKTRACE_SELF_TEST is not set
    # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
    # CONFIG_DEBUG_PER_CPU_MAPS is not set
    # CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set
    # CONFIG_FAULT_INJECTION is not set
    # CONFIG_DEBUG_PAGEALLOC is not set
    CONFIG_HAVE_FUNCTION_TRACER=y
    CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
    CONFIG_HAVE_DYNAMIC_FTRACE=y
    CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
    CONFIG_HAVE_C_RECORDMCOUNT=y
    CONFIG_TRACING_SUPPORT=y
    # CONFIG_FTRACE is not set
    # CONFIG_DMA_API_DEBUG is not set
    # CONFIG_ATOMIC64_SELFTEST is not set
    # CONFIG_SAMPLES is not set
    CONFIG_HAVE_ARCH_KGDB=y
    # CONFIG_KGDB is not set
    # CONFIG_TEST_KSTRTOX is not set
    CONFIG_STRICT_DEVMEM=y
    CONFIG_ARM_UNWIND=y
    # CONFIG_DEBUG_USER is not set
    # CONFIG_DEBUG_RODATA is not set
    # CONFIG_DEBUG_LL is not set
     
    #
    # Security options
    #
    CONFIG_KEYS=y
    # CONFIG_ENCRYPTED_KEYS is not set
    # CONFIG_KEYS_DEBUG_PROC_KEYS is not set
    # CONFIG_SECURITY_DMESG_RESTRICT is not set
    # CONFIG_SECURITY is not set
    # CONFIG_SECURITYFS is not set
    # CONFIG_TRUSTED_LITTLE_KERNEL is not set
    CONFIG_DEFAULT_SECURITY_DAC=y
    CONFIG_DEFAULT_SECURITY=""
    # CONFIG_CRYPTO is not set
    # CONFIG_BINARY_PRINTF is not set
     
    #
    # Library routines
    #
    CONFIG_BITREVERSE=y
    CONFIG_GENERIC_PCI_IOMAP=y
    CONFIG_GENERIC_IO=y
    # CONFIG_CRC_CCITT is not set
    # CONFIG_CRC16 is not set
    # CONFIG_CRC_T10DIF is not set
    # CONFIG_CRC_ITU_T is not set
    CONFIG_CRC32=y
    # CONFIG_CRC32_SELFTEST is not set
    CONFIG_CRC32_SLICEBY8=y
    # CONFIG_CRC32_SLICEBY4 is not set
    # CONFIG_CRC32_SARWATE is not set
    # CONFIG_CRC32_BIT is not set
    # CONFIG_CRC7 is not set
    # CONFIG_LIBCRC32C is not set
    # CONFIG_CRC8 is not set
    CONFIG_ZLIB_INFLATE=y
    CONFIG_LZO_COMPRESS=y
    CONFIG_LZO_DECOMPRESS=y
    # CONFIG_XZ_DEC is not set
    # CONFIG_XZ_DEC_BCJ is not set
    CONFIG_DECOMPRESS_GZIP=y
    CONFIG_GENERIC_ALLOCATOR=y
    CONFIG_HAS_IOMEM=y
    CONFIG_HAS_IOPORT=y
    CONFIG_HAS_DMA=y
    CONFIG_CPU_RMAP=y
    CONFIG_DQL=y
    CONFIG_NLATTR=y
    # CONFIG_AVERAGE is not set
    # CONFIG_CORDIC is not set
    

     

     

     

    However, If I try to rebuild kernel with instructions taken from wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO#Get_Image_Files, I get following error(s):

     

     

    fs/sync.c: In function ‘vfs_fsync_range’:
    fs/sync.c:206:3: error: implicit declaration of function ‘__blkdev_driver_ioctl’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
     
    scripts/Makefile.build:307: recipe for target 'fs/sync.o' failed
    make[1]: *** [fs/sync.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
      CC [M]  sound/core/seq/seq.o
      CC      net/ipv4/tcp_output.o
      CC      net/core/netevent.o
      CC      kernel/srcu.o
      CC      kernel/semaphore.o
      LD      drivers/clk/sunxi/built-in.o
      CC [M]  sound/core/seq/seq_lock.o
      LD      drivers/clk/built-in.o
      CC      drivers/clocksource/mmio.o
      CC      net/core/neighbour.o
      CC      kernel/notifier.o
      CC      kernel/ksysfs.o
      CC [M]  sound/core/seq/seq_clientmgr.o
      CC      drivers/clocksource/sunxi_timer.o
      CC      net/core/rtnetlink.o
    drivers/clocksource/sunxi_timer.c: In function ‘sunxi_timer_init’:
    drivers/clocksource/sunxi_timer.c:174:2: error: implicit declaration of function ‘of_clk_get’ [-Werror=implicit-function-declaration]
    drivers/clocksource/sunxi_timer.c:174:6: warning: assignment makes pointer from integer without a cast [enabled by default]
    cc1: some warnings being treated as errors
     
    scripts/Makefile.build:307: recipe for target 'drivers/clocksource/sunxi_timer.o' failed
    make[2]: *** [drivers/clocksource/sunxi_timer.o] Error 1
    scripts/Makefile.build:443: recipe for target 'drivers/clocksource' failed
    make[1]: *** [drivers/clocksource] Error 2
    Makefile:946: recipe for target 'drivers' failed
    make: *** [drivers] Error 2
    make: *** Waiting for unfinished jobs....
      CC      net/core/utils.o
      CC      kernel/cred.o
    Makefile:946: recipe for target 'fs' failed
    make: *** [fs] Error 2
    

     

    What did I forgot to include in kernel configuration process?

     

    Sincerely,

    Marko

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines