您尚未登录。

楼主 #1 2018-08-16 11:54:17

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

参考链接: 【1】step by step 编译全志 f1c100s 官方linux bsp

这次完全按照官方的c600 bsp 套路来搞,

sdk,工具链,烧写工具 都是官方的.

再来走一次流程.


上面是运行 fb-test-rect 程序, 也就是 buildroot 里面 fbtest 编译出来的例程。





在线

楼主 #2 2018-08-16 11:55:04

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

1. 克隆c600 bsp 源码:

sudo apt-get install -y libncurses-dev
sudo apt-get install -y lib32z1 lib32ncurses5 lib32stdc++6
sudo apt-get install -y u-boot-tools make g++ gettext python unzip fakeroot
sudo apt-get install -y bison texinfo bc flex
sudo apt-get install -y software-properties-common
sudo curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install

cd /opt
git lfs clone https://bitbucket.org/qq516333132/c600.git

2. 配置:

cd /opt/c600
./build.sh config ###配置
./build.sh -p sunivw1p1 -k linux-3.10 -m all   ###编译
./build.sh pack   ####打包

3. 修改一处代码:
修改 /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c 545行:

return 0;

改为:

return ret;

4. buildroot 编译
因为在c600的buildroot没有搞定直接配置编译,所以单独处理buildroot问题,使用c600 bsp的工具链.

cd /opt/
wget https://buildroot.org/downloads/buildroot-2017.08.1.tar.gz  ###下载buildroot源码
tar xvf buildroot-2017.08.1.tar.gz
cd /opt/buildroot-2017.08.1/
wget https://whycan.cn/files/c600_bsp/buildroot.config -O .config   ###下载配置文件
make ###直接编译

5. 拷贝可执行文件:

cp /opt/buildroot-2017.08.1/output/target/usr/bin/fb-test* /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/bin ##拷贝到根文件系统

一楼运行的就是 fb-test-rect 画随机矩形的demo

6. 重新打包:

cd /opt/c600
./build.sh -p sunivw1p1 -k linux-3.10 -m all   ###编译
./build.sh pack   ####打包
cp tools/pack/sunivw1p1_linux_evb_uart0.img /var/www/html/

/opt/c600/tools/pack/sunivw1p1_linux_evb_uart0.img 这个就是我们生成的文件.

7. 烧录:

全志官方烧录软件: PhoenixSuit_CN_debug.msi
我编译的img: sunivw1p1_linux_evb_uart0.img.tar.gz

串口线接 A0, A1

安装 PhoenixSuit, 装好驱动,
打开 PhoenixSuit,
选择 sunivw1p1_linux_evb_uart0.img 文件,
拔出TF卡, 短路SPI_CLK, 通过USB线连接电脑,
然后就会开始自动烧录,
串口A0,A1可以看到 u-boot的烧录log.





在线

楼主 #3 2018-08-16 11:55:08

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)





在线

楼主 #4 2018-08-16 11:55:13

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

修改分区的方法: 打开 sys_partition_nor.fex

;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------------


;--------------------------------------------------------------------------------------------------
;                                   固件下载参数配置
;--------------------------------------------------------------------------------------------------
;****************************************************
;    mbr的大小, 以Kbyte为单位
;****************************************************
[mbr]
size = 16

;********************************************************************************************************
;                                              分区配置
;
;
;  partition 定义范例:
;    [partition]                ;  //表示是一个分区
;    name        = USERFS2      ; //分区名称
;    size        = 16384        ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
;    downloadfile = "123.fex"   ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
;    keydata     = 1            ; //私有数据分区,重新量产数据将不丢失
;    encrypt     = 1            ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
;    user_type   = ?            ; //私有用法
;    verify      = 1            ; //要求量产完成后校验是否正确
;
; 注:1、name唯一, 不允许同名
;     2、name最大12个字符
;     3、size = 0, 将创建一个无大小的空分区
;     4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
;********************************************************************************************************
[partition_start]


[partition]
    name         = boot
    ;size         = 4224
    ;size         = 5120
	size         = 4608
    downloadfile = "kernel.fex"
    user_type    = 0x8000

[partition]
    name         = rootfs
    ;size         = 10752
    size         = 16384
	;size         = 10880
    downloadfile = "rootfs_squashfs.fex"
    user_type    = 0x8000

[partition]
   name         = env
   size         = 256
   downloadfile = "env_nor.fex"
   user_type    = 0x8000

[partition]
   name         = bootlogo
   size         = 128
;   downloadfile = "bootlogo.fex"
   user_type    = 0x8000

[partition]
   name         = recoverk
   size         = 3072
   downloadfile = "recover_k.fex"   
   user_type    = 0x8000

[partition]
   name         = recoverf
   size         = 6656
   downloadfile = "recover_f.fex"   
   user_type    = 0x8000

[partition]
   name         = private
   size         = 128
   ;ro           = 0
   user_type    = 0x8000   
[/quote]



分区是这样的:
[quote]
/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00001000 "uboot"
mtd1: 00240000 00001000 "boot"
mtd2: 00800000 00001000 "rootfs"
mtd3: 00020000 00001000 "env"
mtd4: 00010000 00001000 "bootlogo"
mtd5: 00180000 00001000 "recoverk"
mtd6: 00340000 00001000 "recoverf"
mtd7: 00010000 00001000 "private"
[/quote]



现在发现 linux 分区 2.4M 已经不够用了, 只能想办法从文件系统割 1M 出来放 linux 分区:

[quote]
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------------


;--------------------------------------------------------------------------------------------------
;                                   固件下载参数配置
;--------------------------------------------------------------------------------------------------
;****************************************************
;    mbr的大小, 以Kbyte为单位
;****************************************************
[mbr]
size = 16

;********************************************************************************************************
;                                              分区配置
;
;
;  partition 定义范例:
;    [partition]                ;  //表示是一个分区
;    name        = USERFS2      ; //分区名称
;    size        = 16384        ; //分区大小 单位: 扇区.分区表示个数最多2^31 * 512 = 2T
;    downloadfile = "123.fex"   ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
;    keydata     = 1            ; //私有数据分区,重新量产数据将不丢失
;    encrypt     = 1            ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
;    user_type   = ?            ; //私有用法
;    verify      = 1            ; //要求量产完成后校验是否正确
;
; 注:1、name唯一, 不允许同名
;     2、name最大12个字符
;     3、size = 0, 将创建一个无大小的空分区
;     4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
;********************************************************************************************************
[partition_start]

[partition]
    name         = boot
    ;size         = 4224
    ;size         = 5120
        size         = [b]6656[/b]
    downloadfile = "kernel.fex"
    user_type    = 0x8000

[partition]
    name         = rootfs
    ;size         = 10752
    size         = [b]14336[/b]
        ;size         = 10880
    downloadfile = "rootfs_squashfs.fex"
    user_type    = 0x8000

[partition]
   name         = env
   size         = 256
   downloadfile = "env_nor.fex"
   user_type    = 0x8000

[partition]
   name         = bootlogo
   size         = 128
;   downloadfile = "bootlogo.fex"
   user_type    = 0x8000

[partition]
   name         = recoverk
   size         = 3072
   downloadfile = "recover_k.fex"
   user_type    = 0x8000

[partition]
   name         = recoverf
   size         = 6656
   downloadfile = "recover_f.fex"
   user_type    = 0x8000

[partition]
   name         = private
   size         = 128
   ;ro           = 0
   user_type    = 0x8000
[/quote]

现在结果:
[quote]
/ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00001000 "uboot"
mtd1: 00340000 00001000 "boot"
mtd2: 00700000 00001000 "rootfs"
mtd3: 00020000 00001000 "env"
mtd4: 00010000 00001000 "bootlogo"
mtd5: 00180000 00001000 "recoverk"
mtd6: 00340000 00001000 "recoverf"
mtd7: 00010000 00001000 "private"

运行结果正常!





在线

楼主 #5 2018-08-16 11:55:18

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

通过配置buildroot重建、修改文件系统, 加入各种软件包:

make  menuconfig -C buildroot/

cp buildroot/.config out/sunivw1p1/linux/common/buildroot/.config

./build.sh -p sunivw1p1 -k linux-3.10 -m buildroot

感谢本站网友 @kandy

2018-10-02





在线

楼主 #6 2018-08-16 11:55:29

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

占坑





在线

楼主 #7 2018-08-17 16:55:36

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180817165413.jpg

按2楼的套路,
做了一个 ucgui 的demo放进去,
发现显示不对,
应该是写像素逻辑没处理好.
发个图片留念一下。

The framebuffer device was opened successfully.
sizeof(unsigned short) = 2
800x480, 16bpp,LCD_XSIZE=800, LCD_YSIZE=480
xoffset:0, yoffset:0, line_length: 1600





在线

楼主 #8 2018-09-17 14:57:51

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180917145724.jpg

[  279.433120] sd 7:0:0:0: [sda] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
[  279.442971] sd 7:0:0:0: [sda] Write Protect is off
[  279.448386] sd 7:0:0:0: [sda] Mode Sense: 03 00 00 00
[  279.455844] sd 7:0:0:0: [sda] No Caching mode page found
[  279.461911] sd 7:0:0:0: [sda] Assuming drive cache: write through
[  279.474863] sd 7:0:0:0: [sda] No Caching mode page found
[  279.480805] sd 7:0:0:0: [sda] Assuming drive cache: write through
[  279.499750]  sda: sda1
[  279.516281] sd 7:0:0:0: [sda] No Caching mode page found
[  279.522366] sd 7:0:0:0: [sda] Assuming drive cache: write through
[  279.529186] sd 7:0:0:0: [sda] Attached SCSI removable disk

/ # mount -t vfat /dev/sda1 /tmp/aaa
[  304.067629] FAT-fs (sda1): IO charset iso8859-1 not found
mount: mounting /dev/sda1 on /tmp/aaa failed: Invalid argument

挂载 U盘出错.





在线

楼主 #9 2018-09-17 15:02:19

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

找到一个帖子, 看能不能解决: https://blog.csdn.net/lanmanck/article/details/6347278

其实这是内核配置问题,主要是文件系统不全,当然,USB驱动和Mass storage/SCSI disk/VFat支持要选上,如果还不行,请参考如下:

1、提示

Unable to load NLS charset  cp437

FAT: codepage cp437 not found

则进入

File systems--》
                Native language support--》
                    <*>   Codepage 437 (United States, Canada)

选上即可,若

2、再提示:

Unable to load NLS charset iso8859-1                                           
                                                                               
FAT: IO charset iso8859-1 not found

则进入:
File systems--》
                Native language support--》
                    <*>   NLS ISO 8859-1  (Latin 1; Western European Languages)

选上即可!





在线

楼主 #10 2018-09-17 15:17:58

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180917151334.png

编译一个,烧进去试一试看




在线

楼主 #11 2018-09-17 15:33:07

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180917153219.png

f1c100s 终于把U盘测试成功了.




在线

楼主 #12 2018-09-17 15:34:37

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180917153212.png

看起来官方烧录文件就是把 u-boot 先跑起来,然后才开始USB通讯、flash擦写校验的。




在线

楼主 #13 2018-09-17 16:37:43

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

CONFIG_USB_SUNXI_USB_DEBUG=y

.config 里面开启USB DEBUG, 可以打印USB相关调试信息.





在线

楼主 #14 2018-09-18 16:02:07

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180918155557.png

QQ20180918160042.png

经过一番折腾,终于把 USB 设备模式编译成功.

重要参考网址: https://www.cnblogs.com/tid-think/p/9207652.html





在线

楼主 #15 2018-09-18 16:04:49

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

[    4.284976]
[    4.284976]
[    4.284976] insmod_host_driver
[    4.284976]
[    4.293332] hci: ERR: sunxi_ehci is null
[    4.297756] hci: ERR: sunxi_ohci is null
[    4.302111] [sw_hcd0]: sunxi_usb_host0_enable start
[    4.307638] -------sunxi_hcd0_soft_disconnect---------
[    4.314015] [sw_hcd0]: open_usb_clock
[    4.318440] [sw_hcd0]: host_init_state = 1
[    4.323040] [sw_hcd0]: [sunxi_hcd_host0]:hcd0 set_regulator_io:ON
[    4.329884] [sw_hcd0]: [sunxi_hcd_host0]: Set USB Power ON
[    4.336032] [sw_hcd0]: sunxi_usb_host0_enable end
[    4.341255] host_chose finished 86!

/ # find . |grep ko$
./lib/modules/3.10.65/g_audio.ko
./lib/modules/3.10.65/g_dbgp.ko
./lib/modules/3.10.65/g_ffs.ko
./lib/modules/3.10.65/g_hid.ko
./lib/modules/3.10.65/g_midi.ko
./lib/modules/3.10.65/g_serial.ko
./lib/modules/3.10.65/g_zero.ko
./lib/modules/3.10.65/gadgetfs.ko
./lib/modules/3.10.65/libcomposite.ko
./lib/modules/3.10.65/snd-rawmidi.ko
./lib/modules/3.10.65/u_serial.ko
./lib/modules/3.10.65/usb_f_acm.ko
./lib/modules/3.10.65/usb_f_obex.ko
./lib/modules/3.10.65/usb_f_serial.ko
./lib/modules/3.10.65/usb_f_ss_lb.ko
./lib/modules/3.10.65/xradio_core.ko
./lib/modules/3.10.65/xradio_mac.ko
./lib/modules/3.10.65/xradio_wlan.ko
/ # insmod ./lib/modules/3.10.65/libcomposite.ko
/ # insmod ./lib/modules/3.10.65/gadgetfs.ko
[   35.043355] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
/ # insmod ./lib/modules/3.10.65/g_audio.ko
[   51.296408] [sw_udc]: alloc request: ep(0xc0484058, ep0, 64), req(0xc1b333c0)
[   51.314170] [sw_udc]: sunxi_udc_set_selfpowered_2320: usb device is not active
[   51.322327]  (null): afunc_bind:968 Error!
[   51.327045] g_audio gadget: Linux USB Audio Gadget, version: Feb 2, 2012
[   51.334544] g_audio gadget: g_audio ready
[   51.338994] [sw_udc]: [sunxi_usb_udc]: binding gadget driver 'g_audio'
/ #

然而还是没卵用.





在线

楼主 #16 2018-09-18 17:14:26

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

原来是上面那个错误是设备树没有配, 缺这两个:

ehci0:ehci0-controller@0x01c1a000 {
            compatible          = "allwinner,sun50i-ehci0";
            reg                 = <0x0 0x01c1a000 0x0 0xFFF>, /*hci0 base*/
                                  <0x0 0x01c00000 0x0 0x100>, /*sram base*/
                                  <0x0 0x01c19000 0x0 0x1000>; /*otg base*/
            interrupts          = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
            clocks              = <&clk_usbphy0>, <&clk_usbehci0>;
            hci_ctrl_no         = <0>;
            status              = "okay";
        };

        ohci0:ohci0-controller@0x01c1a400 {
            compatible          = "allwinner,sun50i-ohci0";
            reg                 = <0x0 0x01c1a000 0x0 0xFFF>, /*hci0 base*/
                                  <0x0 0x01c00000 0x0 0x100>, /*sram base*/
                                  <0x0 0x01c19000 0x0 0x1000>; /*otg base*/
            interrupts          = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
            clocks              = <&clk_usbphy0>, <&clk_usbohci0>;
            hci_ctrl_no         = <0>;
            status              = "okay";
        };

连时钟都没有定义:

看来,要驱动 usb device, 任重道远.





在线

楼主 #17 2018-09-20 17:48:31

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

修改 tools/pack/chips/sunivw1p1/configs/evb/sys_config.fex 开启USB:

;--------------------------------
;[usbc0]:控制器0的配置。
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
;--------------------------------
;--------------------------------
;---       USB0控制标志
;--------------------------------
[usbc0]
usbc0_used          = 1
usb_port_type       = 1
usb_detect_type     = 1
usb_id_gpio         = port:PE02<0><1><default><default>
;usb_det_vbus_gpio   = "axp_ctrl"
;usb_drv_vbus_gpio   = port:PB07<1><0><default><0>
usb_host_init_state = 0
usb_regulator_io    = "nocare"
usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0
;---       USB Device
;usb_luns            = 3
;usb_serial_unique   = 0
;usb_serial_number   = "20080411"





在线

楼主 #18 2018-09-20 18:51:32

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180920184240.png

根据网友 @szyusong 提示 https://whycan.cn/t_1626.html

1. 添加代码

is_udc_enable = is_on;

2. 修改设备树:

修改 sys_config.fex 成为 device only 模式,

仍然无法识别成 usb device, 一头雾水 .





在线

#19 2018-09-20 23:19:14

ippen
会员
注册时间: 2018-07-22
已发帖子: 345
积分: 339.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

修改 tools/pack/chips/sunivw1p1/configs/evb/sys_config.fex 开启USB:


晕哥弄错了,修改这里没用,要修改dtsi文件

离线

#20 2018-09-20 23:23:36

ippen
会员
注册时间: 2018-07-22
已发帖子: 345
积分: 339.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

原来是上面那个错误是设备树没有配, 缺这两个:







连时钟都没有定义:


看来,要驱动 usb device, 任重道远.

我加载usb device driver时系统崩溃,就是调用open_usb_clock的时候,难道真的和时钟有关?

最近编辑记录 ippen (2018-09-20 23:23:53)

离线

#21 2018-09-21 23:42:18

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

云哥,帮忙看下按照你的步骤安装git hub,在执行是出现下面问题
pi@raspberrypi:~ $ sudo curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
Detected operating system as raspbian/stretch.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/github_git-lfs.list...done.
Importing packagecloud gpg key... done.
Running apt-get update... done.

The repository is setup! You can now install packages.
pi@raspberrypi:~ $ sudo apt-get install git-lfs                                 Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git-lfs

离线

楼主 #22 2018-09-22 16:00:54

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

你这个 linux 是什么版本?在树莓派上面跑?没试过,或许不行.





在线

#23 2018-09-22 17:43:58

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

多谢晕哥,我用的是linux 9.4
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.4 (stretch)
Release:        9.4
Codename:       stretch

离线

楼主 #24 2018-09-22 18:23:33

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

qiuchen0403 说:

多谢晕哥,我用的是linux 9.4
pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.4 (stretch)
Release:        9.4
Codename:       stretch

那现在可以了吗。





在线

#25 2018-09-22 18:50:13

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

那现在可以了吗。


还不行,问题依旧。从事update更新了一下,还是有问题。

离线

楼主 #26 2018-09-22 18:51:22

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

第一次看到用树莓派做生产力工具哈





在线

#27 2018-09-22 20:21:35

ippen
会员
注册时间: 2018-07-22
已发帖子: 345
积分: 339.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我用cubieboard做过,但编译速度感人

离线

楼主 #28 2018-09-22 21:58:53

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

ippen 说:

我用cubieboard做过,但编译速度感人

Cubieboard的团队主成员汤亮在大学期间一直沉醉于嵌入式的开发而经常逃课,最终未能按时拿到毕业证,错过了去芯片公司工作的机会,最后成为了一名程序员。回到珠海后,他向同事讲述了所见所闻,并表明了自己的创业心意。最后他们五个人抱着“试试看”的心态,利用业余时间开工。最初的时候,他们并不知道要做什么类型的产品,经常到开发社区里面了解需求。后来有人给汤亮写了一封很长的邮件,告诉他开发板、单板机的市场需求巨大。不久之后,曾经跟他买过机顶盒的海外创客也告诉他“risc + linux + small form factor + community = revolution”,使得他们最终决定做开发板,并命名为Cubieboard。

厉害厉害!





在线

#29 2018-09-22 23:23:35

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

第一次看到用树莓派做生产力工具哈

电脑装Ubuntu太慢了,树莓派也是linux的,想着正好拿来用用。

离线

楼主 #30 2018-09-25 11:15:27

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

/tmp/aaa # dd if=/dev/zero of=zero1.bin
90秒
/tmp/aaa #
/tmp/aaa # ls -l zero1.bin
-rwxr-xr-x    1 root     root     300794368 Jan  1 00:09 zero1.bin
/tmp/aaa #
/tmp/aaa #
/tmp/aaa # dd if=zero1.bin of=/dev/null
587489+0 records in
587489+0 records out
/tmp/aaa # dd if=zero1.bin of=/dev/null
587489+0 records in
587489+0 records out
28秒

测试了一下我手上这个 U盘读速度 10MB/s, 写速度 3MB/s.
测试结果还算满意, 找个Windows的测试工具对比试一试。





在线

楼主 #31 2018-09-25 11:31:00

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

QQ20180925113024.png

同一个U盘在Windows测试!





在线

#32 2018-09-30 11:53:33

wind
会员
注册时间: 2018-07-05
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@晕哥 晕哥你最后这个bsp版本的usb主从切换实现了没,我参照你的步骤主口是通了,也能用u盘了,切换usb_device就gg,单独的测试device还在验证中

离线

#33 2018-09-30 12:53:08

路人甲
会员
注册时间: 2017-09-07
已发帖子: 202
积分: 199.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

wind 说:

@晕哥 晕哥你最后这个bsp版本的usb主从切换实现了没,我参照你的步骤主口是通了,也能用u盘了,切换usb_device就gg,单独的测试device还在验证中

我也一样,按照晕哥方法搞定了 device / host,但是怎么修改 fex otg都无法切换。

离线

楼主 #34 2018-09-30 12:54:54

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

路人甲 说:

我也一样,按照晕哥方法搞定了 device / host,但是怎么修改 fex otg都无法切换。

我们一起加油搞 otg 吧,只差一步之遥了。





在线

#35 2018-10-08 15:41:22

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我按照流程最后运行fb-test-rect的时候才发现没有fb0设备,去内核打开了fb相关配置还是出不来,sys_config文件也打开了lcd0的

离线

楼主 #36 2018-10-08 15:46:56

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

;A31 PAD application
;---------------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
; 描述gpio的形式:Port:端口+组内序号<功能分配><内部电阻状态><驱动能力><输出电平状态>
;---------------------------------------------------------------------------------------------------------

[product]
version = "100"
machine = "evb"

[platform]
eraseflag   = 0
;----------------------------------------------------------------------------------
;   system configuration
;   ?
;dcdc1_vol                                                      ---set dcdc1 voltage,mV,1600-3400,100mV/step
;dcdc2_vol                                                      ---set dcdc2 voltage,mV,600-1540,20mV/step
;dcdc3_vol                                                      ---set dcdc3 voltage,mV,600-1860,20mV/step
;dcdc4_vol                                                      ---set dcdc4 voltage,mV,600-1540,20mV/step
;dcdc5_vol                                                      ---set dcdc5 voltage,mV,1000-2550,50mV/step
;aldo2_vol                                                      ---set aldo2 voltage,mV,700-3300,100mV/step
;aldo3_vol                                                      ---set aldo3 voltage,mV,700-3300,100mV/step
;----------------------------------------------------------------------------------
[target]
boot_clock      = 408
storage_type    = 3
burn_key        = 1

[power_sply]
dcdc1_vol                  = 3000
dcdc2_vol                  = 1200
dcdc3_vol                  = 1200
dcdc4_vol                  = 1200
dcdc5_vol                  = 1500
aldo2_vol                  = 1800
aldo3_vol                  = 3000

[card_boot]
logical_start   = 40960
sprite_gpio0    =

;---------------------------------------------------------------------------------------------------------
; if 1 == standby_mode, then support super standby;
; else, support normal standby.
;---------------------------------------------------------------------------------------------------------
[pm_para]
standby_mode            = 1

[card0_boot_para]
card_ctrl       = 0
card_high_speed = 1
card_line       = 4
sdc_d1          = port:PF0<2><1><2><default>
sdc_d0          = port:PF1<2><1><2><default>
sdc_clk         = port:PF2<2><1><2><default>
sdc_cmd         = port:PF3<2><1><2><default>
sdc_d3          = port:PF4<2><1><2><default>
sdc_d2          = port:PF5<2><1><2><default>
[card2_boot_para]
card_ctrl       = 2
card_high_speed = 1
card_line       = 8
sdc_clk         = port:PC5<3><1><3><default>
sdc_cmd         = port:PC6<3><1><3><default>
sdc_d0          = port:PC8<3><1><3><default>
sdc_d1          = port:PC9<3><1><3><default>
sdc_d2          = port:PC10<3><1><3><default>
sdc_d3          = port:PC11<3><1><3><default>
sdc_d4          = port:PC12<3><1><3><default>
sdc_d5          = port:PC13<3><1><3><default>
sdc_d6          = port:PC14<3><1><3><default>
sdc_d7          = port:PC15<3><1><3><default>
sdc_emmc_rst    = port:PC16<3><1><3><default>
sdc_ds          = port:PC01<3><1><3><default>

[twi_para]
twi_port        = 0
twi_scl         = port:PD12<3><default><default><default>
twi_sda         = port:PD00<3><default><default><default>


[uart_para]
uart_debug_port = 1
uart_debug_tx   = port:PA3<5><1><default><default>
uart_debug_rx   = port:PA2<5><1><default><default>


[jtag_para]
jtag_enable     = 1
jtag_ms         = port:PF0<3><default><default><default>
jtag_ck         = port:PF5<3><default><default><default>
jtag_do         = port:PF3<3><default><default><default>
jtag_di         = port:PF1<3><default><default><default>


;*****************************************************************************
;sdram configuration
;
;*****************************************************************************
[dram_para]

dram_clk        = 480
dram_type       = 3
dram_zq         = 0x77bb
dram_odt_en     = 1
dram_para1      = 0x004319f4
dram_para2      = 0x5
dram_mr0        = 0x620
dram_mr1        = 0x0
dram_mr2        = 0x8
dram_mr3        = 0
dram_tpr0       = 0x06141B10
dram_tpr1       = 0x40416
dram_tpr2       = 0x03030306
dram_tpr3       = 0x2006
dram_tpr4       = 0x05040405
dram_tpr5       = 0x05050302
dram_tpr6       = 0x90006644
dram_tpr7       = 0x42c21590
dram_tpr8       = 0xd05612c0
dram_tpr9       = 0x00083def
dram_tpr10      = 0x18082356
dram_tpr11      = 0x32034156
dram_tpr12      = 0
dram_tpr13      = 0


;----------------------------------------------------------------------------------
;i2c configuration
;----------------------------------------------------------------------------------
[twi0]
twi0_used        = 0
twi0_scl         = port:PD12<3><default><default><default>
twi0_sda         = port:PD00<3><default><default><default>

[twi1]
twi1_used        = 0
twi1_scl         = port:PB00<2><default><default><default>
twi1_sda         = port:PB01<2><default><default><default>

[twi2]
twi2_used        = 0
twi2_scl         = port:PE0<4><default><default><default>
twi2_sda         = port:PE1<4><default><default><default>

;----------------------------------------------------------------------------------
;TWI device configuration
;compatible        --- device name
;reg               --- device address
;----------------------------------------------------------------------------------
;[twi0/twi_board0]
;compatible        =
;reg               =
;----------------------------------------------------------------------------------
;uart configuration
;uart_type ---  2 (2 wire), 4 (4 wire), 8 (8 wire, full function)
;----------------------------------------------------------------------------------
[uart0]
uart0_used       = 1
uart0_port       = 0
uart0_type       = 2
uart0_tx         = port:PE1<5><1><default><default>
uart0_rx         = port:PE0<5><1><default><default>

[uart1]
uart1_used       = 1
uart1_port       = 1
uart1_type       = 2
uart1_tx         = port:PA3<5><1><default><default>
uart1_rx         = port:PA2<5><1><default><default>

;----------------------------------------------------------------------------------
;SPI controller configuration
;----------------------------------------------------------------------------------
[spi0]
spi0_used       = 1
spi0_cs_number  = 1
spi0_cs_bitmap  = 1
spi0_cs0        = port:PC1<2><1><default><default>
spi0_sclk       = port:PC0<2><default><default><default>
spi0_mosi       = port:PC3<2><default><default><default>
spi0_miso       = port:PC2<2><default><default><default>

;----------------------------------------------------------------------------------
;SPI device configuration
;compatible        --- device name
;spi-max-frequency --- work frequency
;reg               --- chip select
;optional properties: spi-cpha, spi-cpol, spi-cs-high
;----------------------------------------------------------------------------------
;[spi0/spi_board0]
;compatible        =
;spi-max-frequency =
;reg               =
;spi-cpha
;spi-cpol
;spi-cs-high

;----------------------------------------------------------------------------------
;resistance tp configuration
;----------------------------------------------------------------------------------
[rtp_para]
rtp_used      = 1
rtp_screen_size = 5
rtp_regidity_level = 5
rtp_press_threshold_enable = 0
rtp_press_threshold = 0x1f40
rtp_sensitive_level = 0xf
rtp_exchange_x_y_flag = 0

;----------------------------------------------------------------------------------
;capacitor tp configuration
;external int function
;wakeup output function
;notice ---    tp_int_port &  tp_io_port use the same port
;----------------------------------------------------------------------------------
[ctp_para]
ctp_used            = 0
ctp_twi_id          = 1
ctp_twi_addr        = 0x5d
ctp_screen_max_x    = 1280
ctp_screen_max_y    = 800
ctp_revert_x_flag   = 1
ctp_revert_y_flag   = 1
ctp_exchange_x_y_flag = 1

ctp_int_port        = port:PA03<6><default><default><default>
ctp_wakeup          = port:PA02<1><default><default><1>
;----------------------------------------------------------------------------------
;touch key configuration
;----------------------------------------------------------------------------------
[tkey_para]
tkey_used           = 0
tkey_twi_id         =
tkey_twi_addr       =
tkey_int            =

;----------------------------------------------------------------------------------
;motor configuration
;----------------------------------------------------------------------------------
[motor_para]
motor_used          = 0
;motor_shake         = port:power3<1><default><default><1>

[nand0_para]
nand0_support_2ch    = 0

nand0_used          = 0
nand0_we            = port:PC00<2><0><1><default>
nand0_ale           = port:PC01<2><0><1><default>
nand0_cle           = port:PC02<2><0><1><default>
nand0_ce0           = port:PC03<2><1><1><default>
nand0_nre           = port:PC04<2><0><1><default>
nand0_rb0           = port:PC05<2><1><1><default>
nand0_d0            = port:PC06<2><0><1><default>
nand0_d1            = port:PC07<2><0><1><default>
nand0_d2            = port:PC08<2><0><1><default>
nand0_d3            = port:PC09<2><0><1><default>
nand0_d4            = port:PC10<2><0><1><default>
nand0_d5            = port:PC11<2><0><1><default>
nand0_d6            = port:PC12<2><0><1><default>
nand0_d7            = port:PC13<2><0><1><default>
nand0_ndqs          = port:PC14<2><0><1><default>

nand0_regulator1                = "vcc-nand"
nand0_regulator2                = "none"
nand0_cache_level = 0x55aaaa55
nand0_flush_cache_num = 0x55aaaa55
nand0_capacity_level = 0x55aaaa55
nand0_id_number_ctl = 0x55aaaa55
nand0_print_level = 0x55aaaa55
nand0_p0 = 0x55aaaa55
nand0_p1 = 0x55aaaa55
nand0_p2 = 0x55aaaa55
nand0_p3 = 0x55aaaa55

;----------------------------------------------------------------------------------
;disp init configuration
;
;disp_mode             (0:screen0<screen0,fb0>)
;screenx_output_type   (0:none; 1:lcd; 3:hdmi;)
;screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
;                      (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
;fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
;fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
;fb0_scaler_mode_enable(scaler mode enable, used FE)
;fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
;lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
;lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
;lcd0_contrast         (LCD contrast, 0~100)
;lcd0_saturation       (LCD saturation, 0~100)
;lcd0_hue              (LCD hue, 0~100)
;----------------------------------------------------------------------------------
[disp_init]
disp_init_enable         = 1
disp_mode                = 0

screen0_output_type      = 1
screen0_output_mode      = 4

screen1_output_type      = 1
screen1_output_mode      = 4

fb0_framebuffer_num      = 2
fb0_pixel_sequence       = 0
fb0_scaler_mode_enable   = 0

fb0_format               = 5
fb0_width                = 800
fb0_height               = 480

fb1_framebuffer_num      = 0
fb1_pixel_sequence       = 0
fb1_scaler_mode_enable   = 0

fb1_format               = 0
fb1_width                = 0
fb1_height               = 0

lcd0_backlight           = 50
lcd1_backlight           = 50

lcd0_bright              = 50
lcd0_contrast            = 50
lcd0_saturation          = 57
lcd0_hue                 = 50

lcd1_bright              = 50
lcd1_contrast            = 50
lcd1_saturation          = 57
lcd1_hue                 = 50

;----------------------------------------------------------------------------------
;lcd0 configuration

;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
;lcd_x:                lcd horizontal resolution
;lcd_y:                lcd vertical resolution
;lcd_width:            width of lcd in mm
;lcd_height:           height of lcd in mm
;lcd_dclk_freq:        in MHZ unit
;lcd_pwm_freq:         in HZ unit
;lcd_pwm_pol:          lcd backlight PWM polarity
;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
;lcd_hbp:              hsync back porch
;lcd_ht:               hsync total cycle
;lcd_vbp:              vsync back porch
;lcd_vt:               vysnc total cycle
;lcd_hspw:             hsync plus width
;lcd_vspw:             vysnc plus width
;lcd_lvds_if:          0:single link;  1:dual link
;lcd_lvds_colordepth:  0:8bit; 1:6bit
;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
;                      8~11bit:dclk phase; 12~15bit:de phase)
;lcd_gamma_en          lcd gamma correction enable
;lcd_bright_curve_en   lcd bright curve correction enable
;lcd_cmap_en           lcd color map function enable
;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
;                      decrease it while lcd is not bright enough; increase while lcd is too bright
;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
;----------------------------------------------------------------------------------
[lcd0]
lcd_used            = 1

lcd_driver_name     = "default_lcd"
lcd_if              = 0
lcd_x               = 800
lcd_y               = 480
lcd_width           = 150
lcd_height          = 94
lcd_dclk_freq       = 33
lcd_pwm_used        = 0
lcd_pwm_ch          = 0
lcd_pwm_freq        = 10000
lcd_pwm_pol         = 0
lcd_hbp             = 46
lcd_ht              = 1055
lcd_hspw            = 0
lcd_vbp             = 23
lcd_vt              = 525
lcd_vspw            = 0

lcd_hv_if           = 0
lcd_hv_smode        = 0
lcd_hv_s888_if      = 0
lcd_hv_syuv_if      = 0
lcd_hv_vspw         = 0
lcd_hv_hspw         = 0

lcd_lvds_if         = 0
lcd_lvds_colordepth = 1
lcd_lvds_mode       = 0
lcd_lvds_ch         = 0
lcd_lvds_bitwidth   = 0
lcd_lvds_io_cross   = 0

lcd_cpu_if          = 0

lcd_frm             = 0
lcd_io_phase        = 0x0000
lcd_gamma_en        = 0
lcd_bright_curve_en = 0
lcd_cmap_en         = 0
deu_mode            = 0
lcdgamma4iep        = 22
lcd_io_cfg0         = 0x04000000
smart_color         = 90

lcd_bl_en_used      = 1
lcd_bl_en           = port:PE12<1><0><default><1>
lcd_power           = port:PA00<1><0><default><1>

lcdd3               = port:PD01<2><0><default><default>
lcdd4               = port:PD02<2><0><default><default>
lcdd5               = port:PD03<2><0><default><default>
lcdd6               = port:PD04<2><0><default><default>
lcdd7               = port:PD05<2><0><default><default>
lcdd10              = port:PD06<2><0><default><default>
lcdd11              = port:PD07<2><0><default><default>
lcdd12              = port:PD08<2><0><default><default>
lcdd13              = port:PD09<2><0><default><default>
lcdd14              = port:PD10<2><0><default><default>
lcdd15              = port:PD11<2><0><default><default>
lcdd19              = port:PD13<2><0><default><default>
lcdd20              = port:PD14<2><0><default><default>
lcdd21              = port:PD15<2><0><default><default>
lcdd22              = port:PD16<2><0><default><default>
lcdd23              = port:PD17<2><0><default><default>
lcdclk              = port:PD18<2><0><default><default>
lcdde               = port:PD19<2><0><default><default>
;lcdhsync            = port:PD20<2><0><default><default>
;lcdvsync            = port:PD21<2><0><default><default>


;----------------------------------------------------------------------------------
;pwm config
;----------------------------------------------------------------------------------
[pwm0_para]
pwm_used            = 0
pwm_positive        = port:PH00<2><0><default><default>

[pwm1_para]
pwm_used            = 0
pwm_positive        = port:PH01<2><0><default><default>

;--------------------------------------------------------------------------------
;vip (video input port) configuration
;vip(x)_used: 0:disable 1:enable
;vip(x)_isp_used 0:not use isp 1:use isp
;vip(x)_fmt: 0:yuv 1:bayer raw rgb
;vip(x)_stby_mode: 0:not shut down power at standby 1:shut down power at standby
;vip(x)_vflip: flip in vertical direction 0:disable 1:enable
;vip(x)_hflip: flip in horizontal direction 0:disable 1:enable
;vip(x)_iovdd: camera module io power handle string, pmu power supply
;vip(x)_iovdd_vol: camera module io power voltage, pmu power supply
;vip(x)_avdd:   camera module analog power handle string, pmu power supply
;vip(x)_avdd_vol:       camera module analog power voltage, pmu power supply
;vip(x)_dvdd:   camera module core power handle string, pmu power supply
;vip(x)_dvdd_vol:       camera module core power voltage, pmu power supply
;vip(x)_afvdd:  camera module vcm power handle string, pmu power supply
;vip(x)_afvdd_vol:      camera module vcm power voltage, pmu power supply
;fill voltage in uV, e.g. iovdd = 2.8V, vip_devx_iovdd_vol = 2800000
;fill handle string as below:
;axp22_eldo3
;axp22_dldo4
;axp22_eldo2
;fill handle string "" when not using any pmu power supply
;--------------------------------------------------------------------------------

[vip0]
vip0_used                = 0
vip0_csi_pck             = port:PE00<2><default><default><default>
vip0_csi_mck             = port:PE01<2><0><1><0>
vip0_csi_hsync           = port:PE02<2><default><default><default>
vip0_csi_vsync           = port:PE03<2><default><default><default>
vip0_csi_d0              = port:PE04<2><default><default><default>
vip0_csi_d1              = port:PE05<2><default><default><default>
vip0_csi_d2              = port:PE06<2><default><default><default>
vip0_csi_d3              = port:PE07<2><default><default><default>
vip0_csi_d4              = port:PE08<2><default><default><default>
vip0_csi_d5              = port:PE09<2><default><default><default>
vip0_csi_d6              = port:PE10<2><default><default><default>
vip0_csi_d7              = port:PE11<2><default><default><default>
vip_csi_sck              = port:PE12<2><default><default><default>
vip_csi_sda              = port:PE13<2><default><default><default>

vip0_mname           = "ov5640"
vip0_twi_addr        = 0x78
vip0_isp_used        = 1
vip0_fmt             = 0
vip0_stby_mode       = 0
vip0_vflip           = 0
vip0_hflip           = 0
vip0_iovdd           = "axp22_eldo3"
vip0_iovdd_vol       = 2800000
vip0_avdd            = "axp22_dldo4"
vip0_avdd_vol        = 2800000
vip0_dvdd            = "axp22_eldo2"
vip0_dvdd_vol        = 1500000
vip0_afvdd           = ""
vip0_afvdd_vol       = 2800000
vip0_power_en        =
vip0_reset           = port:PE16<1><0><1><0>
vip0_pwdn            = port:PE17<1><0><1><0>
vip0_flash_en        =
vip0_flash_mode      =
vip0_af_pwdn         =

;--------------------------------------------------------------------------------
;tv configuration
;
;--------------------------------------------------------------------------------
[tvout_para]
tvout_used          = 0
tvout_channel_num   = 1
tv_en               = port:PE2<1><default><default><0>

[tvin_para]
tvin_used           = 1
tvin_channel_num    = 1

; ------------------------------------------------------------------------------|
; de-interlace configuration
;--------------------------------------------------------------------------------
[di]
di_used             = 0

;--------------------------------------------------------------------------------
;   SDMMC PINS MAPPING                                                          |
; ------------------------------------------------------------------------------|
;   Config Guide                                                                |
;   sdc_used: 1-enable card, 0-disable card                                     |
;   sdc_detmode: card detect mode                                               |
;                1-detect card by gpio polling                                  |
;                2-detect card by gpio irq(must use IO with irq function)       |
;                3-no detect, always in for boot card                           |
;                4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert|
;   sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit                        |
;   sdc_use_wp: 1-with write protect IO, 0-no write protect IO                  |
;   sdc_isio: for sdio card                                                     |
;   sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for|
;                  SD3.0 or eMMC4.5, regulator must be configured. the value is |
;                  the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"    |
;   other: GPIO Mapping configuration                                           |
; ------------------------------------------------------------------------------|
;   Note:                                                                       |
;   1 if detmode=2, sdc_det's config=6                                          |
;     else if detmode=1, sdc_det's config=0                                     |
;     else sdc_det IO is not necessary                                          |
;   2 if the customer wants to support UHS-I and HS200 features, he must provide|
;     an independent power supply for the card. This is only used in platforms  |
;     that supports SD3.0 cards and eMMC4.4+ flashes                            |
;--------------------------------------------------------------------------------
[sdc0]
sdc0_used          = 0
sdc0_detmode       = 4
sdc0_buswidth      = 4
sdc0_d1            = port:PF00<2><1><2><default>
sdc0_d0            = port:PF01<2><1><2><default>
sdc0_clk           = port:PF02<2><1><2><default>
sdc0_cmd           = port:PF03<2><1><2><default>
sdc0_d3            = port:PF04<2><1><2><default>
sdc0_d2            = port:PF05<2><1><2><default>
sdc0_det           = port:PA01<0><1><2><default>
sdc0_use_wp        = 0
sdc0_wp            =
sdc0_isio          = 0
sdc0_regulator     = "none"

[sdc1]
sdc1_used          = 0
sdc1_detmode       = 4
sdc1_buswidth      = 1
sdc1_clk           = port:PC00<3><1><2><default>
sdc1_cmd           = port:PC01<3><1><2><default>
sdc1_d0            = port:PC02<3><1><2><default>
sdc1_det           =
sdc1_use_wp        = 0
sdc1_wp            =
sdc1_isio          = 1
sdc1_regulator     = "none"

; ------------------------------------------------------------------------------|
; sim card configuration
;--------------------------------------------------------------------------------
[smc]
smc_used            =
smc_rst             =
smc_vppen           =
smc_vppp            =
smc_det             =
smc_vccen           =
smc_sck             =
smc_sda             =

;--------------------------------
;[usbc0]:控制器0的配置。
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
;--------------------------------
;--------------------------------
;---       USB0控制标志
;--------------------------------
[usbc0]
usbc0_used          = 1
usb_port_type       = 2
usb_detect_type     = 2
usb_id_gpio         = port:PE02<0><1><default><default>
;usb_det_vbus_gpio   = "axp_ctrl"
;usb_drv_vbus_gpio   = port:PB07<1><0><default><0>
usb_host_init_state = 1
usb_regulator_io    = "nocare"
usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0
;---       USB Device
;usb_luns            = 3
;usb_serial_unique   = 0
;usb_serial_number   = "20080411"

;--------------------------------
;---       USB1控制标志
;--------------------------------
;[usbc1]
;usbc1_used          = 0
;usb_drv_vbus_gpio   = port:PB06<1><0><default><0>
;usb_host_init_state = 1
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0

;--------------------------------------------------------------------------------
; G sensor configuration
; gs_twi_id     ---  TWI ID for controlling Gsensor (0: TWI0, 1: TWI1, 2: TWI2)
;--------------------------------------------------------------------------------
[gsensor_para]
gsensor_used        = 0
gsensor_twi_id      = 2
gsensor_twi_addr    = 0x18
gsensor_int1        = port:PA09<6><1><default><default>
gsensor_int2        =

;--------------------------------------------------------------------------------
; gps gpio configuration
; gps_spi_id            --- the index of SPI controller. 0: SPI0, 1: SPI1, 2: SPI2, 15: no SPI used
; gps_spi_cs_num        --- the chip select number of SPI controller. 0: SPI CS0, 1: SPI CS1
; gps_lradc                     --- the lradc number for GPS used. 0 and 1 is valid, set 2 if not use lradc
;--------------------------------------------------------------------------------
[gps_para]

;--------------------------------------------------------------------------------
;wifi configuration
;wifi_sdc_id    ---  0- SDC0, 1- SDC1, 2- SDC2, 3- SDC3
;wifi_usbc_id  ---  0- USB0, 1- USB1, 2- USB2
;wifi_mod_sel   ---  0- none, 1- bcm40181, 2- bcm40183(wifi+bt),
;                    3 - rtl8723as(wifi+bt), 4- rtl8189es(SM89E00),
;                    5 - rtl8192cu, 6 - rtl8188eu
;--------------------------------------------------------------------------------
[wifi_para]
wifi_used          = 0
wifi_sdc_id        = 1
wifi_usbc_id       = 1
wifi_usbc_type     = 1
wifi_mod_sel       = 3
wifi_power         = "axp22_aldo1"

; 1 - bcm40181 sdio wifi gpio config
;bcm40181_vdd_en        = port:PG18<1><default><default><0>
;bcm40181_vcc_en        = port:PG18<1><default><default><0>
;bcm40181_shdn          = port:PG10<1><default><default><0>
;bcm40181_host_wake     = port:PG12<0><default><default><0>

; 2 - bcm40183 sdio wifi gpio config
;bcm40183_vdd_en        = port:PG18<1><default><default><0>
;bcm40183_vcc_en        = port:PG18<1><default><default><0>
;bcm40183_wl_regon      = port:PG10<1><default><default><0>
;bcm40183_wl_host_wake  = port:PG12<0><default><default><0>
;bcm40183_bt_rst        = port:PG11<1><default><default><0>
;bcm40183_bt_regon      = port:PG11<1><default><default><0>
;bcm40183_bt_wake       = port:XXX<1><default><default><0>
;bcm40183_bt_host_wake  = port:XXX<0><default><default><0>

; 3 - rtl8723as sdio wifi + bt gpio config
;rtk_rtl8723as_wl_dis       = port:PG10<1><default><default><0>
;rtk_rtl8723as_bt_dis       = port:PG11<1><default><default><0>
;rtk_rtl8723as_wl_host_wake = port:PG12<0><default><default><0>
;rtk_rtl8723as_bt_host_wake = port:PG17<0><default><default><0>

; 4 - rtl8189es sdio wifi gpio config
;rtl8189es_vdd_en       = port:PG18<1><default><default><0>
;rtl8189es_vcc_en       = port:PG18<1><default><default><0>
;rtl8189es_shdn         = port:PG10<1><default><default><0>
;rtl8189es_wakeup       = port:PG12<1><default><default><1>

; 5 - rtl8192cu usb wifi gpio config
;rtl8192cu_power    = port:PH27<1><0><default><0>

; 6 - rtl8188eu usb wifi gpio conifg
;rtl8188eu_power    = port:PH27<1><0><default><0>

;--------------------------------------------------------------------------------
;gyroscope
;--------------------------------------------------------------------------------
[gy_para]
gy_used             = 0
gy_twi_id           = 2
gy_twi_addr         = 0x6a
gy_int1             = port:PA10<6><1><default><default>
gy_int2             =

;--------------------------------------------------------------------------------
;light sensor
;--------------------------------------------------------------------------------
[ls_para]
ls_used             = 0
ls_twi_id           = 2
ls_twi_addr         = 0x23
ls_int              = port:PA12<6><1><default><default>

;--------------------------------------------------------------------------------
;compass
;--------------------------------------------------------------------------------
[compass_para]
compass_used        = 0
compass_twi_id      = 2
compass_twi_addr    = 0x0d
compass_int         = port:PA11<6><1><default><default>

;--------------------------------------------------------------------------------
;blue tooth
;bt_used                        ---- blue tooth used (0- no used, 1- used)
;bt_uard_id                     ---- uart index
;--------------------------------------------------------------------------------
[bt_para]
bt_used             =
bt_uart_id          =
bt_wakeup           =
bt_gpio             =
bt_rst              =
;--------------------------------------------------------------------------------
;               NOTE :Make sure spdif_used = 0x1,spdifmach_used = 0x1,
;         if register the sound card spdif.
;--------------------------------------------------------------------------------
[audiospdif]
audiospdif_used          = 0
[spdif_machine]
spdif_machine_used   = 0
;----------------------------------------------------------------------------------
;               NOTE :Make sure hdmi_used = 0x1,hdmimach_used = 0x1,
;         if register the sound card hdmi.
;---------------------------------------------------------------------------------
[audiohdmi]
audiohdmi_used = 0
[hdmi_machine]
hdmi_machine_used = 0
;--------------------------------------------------------------------------------
;allwinner,pcm_lrck_period      :16/32/64/128/256
;allwinner,pcm_lrckr_period :no use
;allwinner,slot_width_select    :16bits/20bits/24bits/32bits
;allwinner,pcm_lsb_first        :0: msb first; 1: lsb first
;allwinner,tx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,rx_data_mode         :0: 16bit linear PCM; 1: 8bit linear PCM; 2: 8bit u-law; 3: 8bit a-law
;allwinner,daudio_master :1: SND_SOC_DAIFMT_CBM_CFM(codec clk & FRM master)        use
;                                                 2: SND_SOC_DAIFMT_CBS_CFM(codec clk slave & FRM master)  not use
;                                                 3: SND_SOC_DAIFMT_CBM_CFS(codec clk master & frame slave) not use
;                                                 4: SND_SOC_DAIFMT_CBS_CFS(codec clk & FRM slave)         use
;allwinner,audio_format: 1:SND_SOC_DAIFMT_I2S(standard i2s format).            use
;                          2:SND_SOC_DAIFMT_RIGHT_J(right justfied format).
;                          3:SND_SOC_DAIFMT_LEFT_J(left justfied format)
;                          4:SND_SOC_DAIFMT_DSP_A(pcm. MSB is available on 2nd BCLK rising edge after LRC rising edge). use
;                          5:SND_SOC_DAIFMT_DSP_B(pcm. MSB is available on 1nd BCLK rising edge after LRC rising edge)
;allwinner,signal_inversion:1:SND_SOC_DAIFMT_NB_NF(normal bit clock + frame)  use
;                                 2:SND_SOC_DAIFMT_NB_IF(normal BCLK + inv FRM)
;                                 3:SND_SOC_DAIFMT_IB_NF(invert BCLK + nor FRM)  use
;                                 4:SND_SOC_DAIFMT_IB_IF(invert BCLK + FRM)
;allwinner,frametype :0: long frame = 2 clock width;  1: short frame
;allwinner,tdm_config :0:pcm 1:i2s
;allwinner,daudio0_used :0:not use 1:use
;-------------------------------------------------------------------------------
;               NOTE :Make sure daudio0mach_used = 0x1,daudio0_used = 0x1,
;         if register the sound card DAUDIO0.
;--------------------------------------------------------------------------------
;[daudio0_machine]
;daudio0_machine_used = 0
;-----------------------------------------------------------------------------
;[daudio0]
;pcm_lrck_period =   0x20
;pcm_lrckr_period =   0x01
;slot_width_select =   0x10
;pcm_lsb_first =   0x0
;tx_data_mode =   0x0
;rx_data_mode =   0x0
;daudio_master =   0x04
;audio_format =   0x01
;signal_inversion =   0x01
;frametype =   0x0
;tdm_config =   0x01
;daudio0_used = 0

;--------------------------------------------------------------------------------------
;allwinner,headphonevol :headphone volume:0x0--0x3f 0db--(-62db) 1db/step
;allwinner,spkervol : speaker volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,earpiecevol : earpiece volume:0x0--0x1f 0db-(-43.5db) 1.5db/step
;allwinner,maingain :   mainmic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,headsetmicgain : headphonemic gain:0x0---0x7 0x0-0db 0x1:24db   3db/step
;allwinner,adcagc_cfg : 1:use adcagc 0:no use
;allwinner,adcdrc_cfg : 1:use adcdrc 0:no use
;allwinner,adchpf_cfg : 1:use adchpf 0:no use
;allwinner,dacdrc_cfg : 1:use adcdrc 0:no use
;allwinner,dachpf_cfg : 1:use adchpf 0:no use
;allwinner,aif2config : 1:use aif2 0:no use
;allwinner,aif3config : 1:use aif3 0:no use
;--------------------------------------------------------------------------------
;               NOTE :Make sure audiocodec_machine_used = 0x1,sun50i2s_used = 0x1
;         sun50codec_used = 0x1,if register the sound card audiocodec.
;---------------------------------------------------------------------------------
;[audiocodec_machine]
;audiocodec_machine_used = 0

;-------------------------------------------------------------------------------------
;used                        ---0:not used,1:used
;pmu_id                      ---0:axp19x,1:axp209,2:axp22x,3:axp806,4:axp808,5:axp809,6:axp803,7:axp813
;pmu_twi_addr                ---slave address
;pmu_twi_id                  ---i2c bus number (0 TWI0, 1 TWI2, 2 TWI3)
;pmu_irq_id                   ---irq number (0 irq0,1 irq1)
;pmu_chg_ic_temp             ---intelligence charge pmu temperature. when it is 0, this function is closed.
;pmu_battery_rdc             ---battery initial resistance
;pmu_battery_cap             ---battery capability,mAh
;pmu_runtime_chgcur          ---set initial charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_suspend_chgcur          ---set suspend charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_shutdown_chgcur         ---set shutdown charging current limite,mA, 300/450/600/750/900/1050/1200/1350/1500/1650/1800/1950/
;pmu_init_chgvol             ---set initial charing target voltage,mV,4100/4220/4200/4240
;pmu_ac_vol                  ---set usb-ac limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_ac_cur                  ---set usb-ac limited current level,mA,500/900, 0 - not limite
;pmu_usbpc_vol               ---set usb-pc limited voltage level,mV,4000/4100/4200/4300/4400/4500/4600/4700,0 - not limite
;pmu_usbpc_cur               ---set usb-pc limited current level,mA,500/900, 0 - not limite
;pmu_battery_warning_level1  ---low power warning high level,5%-20%,1%/step
;pmu_battery_warning_level2  ---low power warning low level,0%-15%,1%/step
;pmu_chgled_func             ---CHGKED pin control, 0:controlled by pmu,1:controlled by Charger
;pmu_chgled_type             ---CHGLED Type select when pmu_chgled_func=0,0:Type A, 1:type B
;pmu_bat_para1               ---battery indication at 3.13V
;pmu_bat_para2               ---battery indication at 3.27V
;pmu_bat_para3               ---battery indication at 3.34V
;pmu_bat_para4               ---battery indication at 3.41V
;pmu_bat_para5               ---battery indication at 3.48V
;pmu_bat_para6               ---battery indication at 3.52V
;pmu_bat_para7               ---battery indication at 3.55V
;pmu_bat_para8               ---battery indication at 3.57V
;pmu_bat_para9               ---battery indication at 3.59V
;pmu_bat_para10              ---battery indication at 3.61V
;pmu_bat_para11              ---battery indication at 3.63V
;pmu_bat_para12              ---battery indication at 3.64V
;pmu_bat_para13              ---battery indication at 3.66V
;pmu_bat_para14              ---battery indication at 3.7V
;pmu_bat_para15              ---battery indication at 3.73V
;pmu_bat_para16              ---battery indication at 3.77V
;pmu_bat_para17              ---battery indication at 3.78V
;pmu_bat_para18              ---battery indication at 3.8V
;pmu_bat_para19              ---battery indication at 3.82V
;pmu_bat_para20              ---battery indication at 3.84V
;pmu_bat_para21              ---battery indication at 3.85V
;pmu_bat_para22              ---battery indication at 3.87V
;pmu_bat_para23              ---battery indication at 3.91V
;pmu_bat_para24              ---battery indication at 3.94V
;pmu_bat_para25              ---battery indication at 3.98V
;pmu_bat_para26              ---battery indication at 4.01V
;pmu_bat_para27              ---battery indication at 4.05V
;pmu_bat_para28              ---battery indication at 4.08V
;pmu_bat_para29              ---battery indication at 4.1V
;pmu_bat_para30              ---battery indication at 4.12V
;pmu_bat_para31              ---battery indication at 4.14V
;pmu_bat_para32              ---battery indication at 4.15V
;pmu_bat_temp_enable         ---battery temp detect enable
;pmu_bat_charge_ltf          ---charge battery temp low threshold voltage
;pmu_bat_charge_htf          ---charge battery temp high threshold voltage
;pmu_bat_shutdown_ltf        ---shutdown battery temp low threshold voltage
;pmu_bat_shutdown_htf        ---shutdown battery temp high threshold voltage
;pmu_bat_temp_para1          ---battery temp -25 voltage
;pmu_bat_temp_para2          ---battery temp -15 voltage
;pmu_bat_temp_para3          ---battery temp -10 voltage
;pmu_bat_temp_para4          ---battery temp -5  voltage
;pmu_bat_temp_para5          ---battery temp  0  voltage
;pmu_bat_temp_para6          ---battery temp  5  voltage
;pmu_bat_temp_para7          ---battery temp  10 voltage
;pmu_bat_temp_para8          ---battery temp  20 voltage
;pmu_bat_temp_para9          ---battery temp  30 voltage
;pmu_bat_temp_para10         ---battery temp  40 voltage
;pmu_bat_temp_para11         ---battery temp  45 voltage
;pmu_bat_temp_para12         ---battery temp  50 voltage
;pmu_bat_temp_para13         ---battery temp  55 voltage
;pmu_bat_temp_para14         ---battery temp  60 voltage
;pmu_bat_temp_para15         ---battery temp  70 voltage
;pmu_bat_temp_para16         ---battery temp  80 voltage
;pmu_powkey_off_time         ---set pek off time,ms, 4000/6000/8000/10000
;pmu_powkey_off_func         ---set pek off func, 0:shutdown,1:restart
;pmu_powkey_off_en           ---set pek offlevel powerdown or not, 0:not powerdown,1:powerdown
;pmu_powkey_long_time        ---set pek pek long irq time,ms,1000/1500/2000/2500
;pmu_powkey_on_time          ---set pek on time,ms,128/1000/2000/3000
;--------------------------------------------------------------------------------------------------------
;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;--------------------------------------------------------------------------------------------------------
[pmu0]
used                       = 0
pmu_id                     = 6
pmu_twi_addr               = 0x34
pmu_twi_id                 = 1
pmu_irq_id                 = 0

pmu_chg_ic_temp            = 0
pmu_battery_rdc            = 100
pmu_battery_cap            = 0
pmu_runtime_chgcur         = 450
pmu_suspend_chgcur         = 1500
pmu_shutdown_chgcur        = 1500
pmu_init_chgvol            = 4200
pmu_ac_vol                 = 4000
pmu_ac_cur                 = 0
pmu_usbpc_vol              = 4400
pmu_usbpc_cur              = 500
pmu_battery_warning_level1 = 15
pmu_battery_warning_level2 = 0
pmu_chgled_func            = 0
pmu_chgled_type            = 0

pmu_bat_para1              = 0
pmu_bat_para2              = 0
pmu_bat_para3              = 0
pmu_bat_para4              = 0
pmu_bat_para5              = 0
pmu_bat_para6              = 0
pmu_bat_para7              = 0
pmu_bat_para8              = 0
pmu_bat_para9              = 5
pmu_bat_para10             = 8
pmu_bat_para11             = 9
pmu_bat_para12             = 10
pmu_bat_para13             = 13
pmu_bat_para14             = 16
pmu_bat_para15             = 20
pmu_bat_para16             = 33
pmu_bat_para17             = 41
pmu_bat_para18             = 46
pmu_bat_para19             = 50
pmu_bat_para20             = 53
pmu_bat_para21             = 57
pmu_bat_para22             = 61
pmu_bat_para23             = 67
pmu_bat_para24             = 73
pmu_bat_para25             = 78
pmu_bat_para26             = 84
pmu_bat_para27             = 88
pmu_bat_para28             = 92
pmu_bat_para29             = 93
pmu_bat_para30             = 94
pmu_bat_para31             = 95
pmu_bat_para32             = 100

pmu_bat_temp_enable        = 0
pmu_bat_charge_ltf         = 2261
pmu_bat_charge_htf         = 388
pmu_bat_shutdown_ltf       = 3200
pmu_bat_shutdown_htf       = 237
pmu_bat_temp_para1         = 7466
pmu_bat_temp_para2         = 4480
pmu_bat_temp_para3         = 3518
pmu_bat_temp_para4         = 2786
pmu_bat_temp_para5         = 2223
pmu_bat_temp_para6         = 1788
pmu_bat_temp_para7         = 1448
pmu_bat_temp_para8         = 969
pmu_bat_temp_para9         = 664
pmu_bat_temp_para10        = 466
pmu_bat_temp_para11        = 393
pmu_bat_temp_para12        = 333
pmu_bat_temp_para13        = 283
pmu_bat_temp_para14        = 242
pmu_bat_temp_para15        = 179
pmu_bat_temp_para16        = 134

pmu_powkey_off_time        = 6000
pmu_powkey_off_func        = 0
pmu_powkey_off_en          = 1
pmu_powkey_long_time       = 1500
pmu_powkey_on_time         = 1000

;--------------------------------------------------------------------------------------------------------
;pmu0 is axp81x
;regulator tree
;--------------------------------------------------------------------------------------------------------
[pmu0_regu]
regulator_count = 23
regulator1                   = "axp28_rtc"
regulator2                   = "axp28_aldo1"
regulator3                   = "axp28_aldo2"
regulator4                   = "axp28_aldo3"
regulator5                   = "axp28_dldo1"
regulator6                   = "axp28_dldo2"
regulator7                   = "axp28_dldo3"
regulator8                   = "axp28_dldo4"
regulator9                   = "axp28_eldo1"
regulator0                   = "axp28_eldo2"
regulator11                  = "axp28_eldo3"
regulator12                  = "axp28_fldo1"
regulator13                  = "axp28_fldo2"
regulator14                  = "axp28_dcdc1"
regulator15                  = "axp28_dcdc2"
regulator16                  = "axp28_dcdc3"
regulator17                  = "axp28_dcdc4"
regulator18                  = "axp28_dcdc5"
regulator19                  = "axp28_dcdc6"
regulator20                  = "axp28_dcdc7"
regulator21                  = "axp28_gpio0ldo"
regulator22                  = "axp28_gpio1ldo"

;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; max_freq: cpu maximum frequency, based on Hz
; min_freq: cpu minimum frequency, based on Hz
;
; LV_count: count of LV_freq/LV_volt, must be < 16
;
; LV1: core vdd is 1.50v if cpu frequency is (1344Mhz,  1536Mhz]
; LV2: core vdd is 1.46v if cpu frequency is (1200Mhz,  1344Mhz]
; LV3: core vdd is 1.32v if cpu frequency is (1008Mhz,  1200Mhz]
; LV4: core vdd is 1.20v if cpu frequency is (816Mhz,   1008Mhz]
; LV5: core vdd is 1.10v if cpu frequency is (648Mhz,    816Mhz]
; LV6: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV7: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
; LV8: core vdd is 1.04v if cpu frequency is (120Mhz,    648Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
;extremity_freq = 1344000000
max_freq = 1200000000
min_freq = 480000000

LV_count = 8

LV1_freq = 1536000000
LV1_volt = 1500

LV2_freq = 1344000000
LV2_volt = 1460

LV3_freq = 1200000000
LV3_volt = 1320

LV4_freq = 1008000000
LV4_volt = 1200

LV5_freq = 816000000
LV5_volt = 1100

LV6_freq = 648000000
LV6_volt = 1040

LV7_freq = 0
LV7_volt = 1040

LV8_freq = 0
LV8_volt = 1040

;----------------------------------------------------------------------------------
;virtual device
;virtual device for pinctrl testing
;device have pin PA1 PA2
;----------------------------------------------------------------------------------
[Vdevice]
Vdevice_used        = 0
Vdevice_0           = port:PB01<4><1><2><default>
Vdevice_1           = port:PB02<4><1><2><default>

这是我的 sys_config.fex, 你对比一下.





在线

#37 2018-10-08 18:13:42

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我替换了sys_config也没出fb0,配置了一通多了个disp设备,晕哥有时间可否分享下你的.config,不行我再清理干净从新走一遍看看~

离线

楼主 #38 2018-10-08 20:25:53

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

我替换了sys_config也没出fb0,配置了一通多了个disp设备,晕哥有时间可否分享下你的.config,不行我再清理干净从新走一遍看看~

现在在外面,晚点或者明天我传上来。





在线

#39 2018-10-09 09:03:37

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

好的,3q!

晕哥 说:

现在在外面,晚点或者明天我传上来。

离线

楼主 #40 2018-10-09 09:12:09

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.65 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPUFREQ=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_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
# 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="C600"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_FHANDLE=y
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_CHIP=y
CONFIG_IRQ_DOMAIN=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_TASKSTATS is not set

#
# RCU Subsystem
#
CONFIG_TINY_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_STALL_COMMON is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
CONFIG_UIDGID_CONVERTED=y
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
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_HAVE_UID16=y
CONFIG_HOTPLUG=y
CONFIG_PANIC_TIMEOUT=0
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_IDLE_POLL_SETUP=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y

#
# GCOV-based kernel profiling
#
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_MODULE_SIG is not set
CONFIG_BLOCK=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_INLINE_READ_UNLOCK=y
CONFIG_INLINE_READ_UNLOCK_IRQ=y
CONFIG_INLINE_WRITE_UNLOCK=y
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_MULTIPLATFORM is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
CONFIG_ARCH_SUNXI=y
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD 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_LPC32XX 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_DAVINCI is not set
# CONFIG_ARCH_OMAP1 is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_SUN8I is not set
# CONFIG_ARCH_SUN9I is not set
CONFIG_ARCH_SUNIV=y
CONFIG_ARCH_SUNIVW1=y
CONFIG_ARCH_SUNIVW1P1=y
# CONFIG_FPGA_V4_PLATFORM is not set
# CONFIG_FPGA_V7_PLATFORM is not set
CONFIG_EVB_PLATFORM=y
# CONFIG_SUNXI_TRUSTZONE is not set
# CONFIG_HOMLET_PLATFORM is not set

#
# Processor Type
#
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5TJ=y
CONFIG_CPU_PABRT_LEGACY=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
CONFIG_CPU_USE_DOMAINS=y

#
# Processor Features
#
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
CONFIG_CPU_DCACHE_WRITETHROUGH=y
# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
CONFIG_NEED_KUSER_HELPERS=y
CONFIG_KUSER_HELPERS=y
# CONFIG_CACHE_L2X0 is not set
CONFIG_ARM_L1_CACHE_SHIFT=5
CONFIG_ARM_NR_BANKS=8
CONFIG_MULTI_IRQ_HANDLER=y

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
# CONFIG_DISABLE_CPU_SCHED_DOMAIN_BALANCE is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_NR_GPIO=288
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
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_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
CONFIG_FRONTSWAP=y
# CONFIG_CMA 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_ARM_FLUSH_CONSOLE_ON_RESTART=y

#
# Boot options
#
CONFIG_USE_OF=y
CONFIG_ATAGS=y
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
# 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=sunxi-uart,0x01c25000 loglevel=8 initcall_debug=1 console=ttyS1 init=/init root=/dev/mtdblock2"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_CMDLINE_EXTEND is not set
CONFIG_CMDLINE_FORCE=y
# CONFIG_XIP_KERNEL is not set
CONFIG_KEXEC=y
CONFIG_ATAGS_PROC=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set

#
# CPU Power Management
#

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# 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

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_COREDUMP is not set

#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HAS_WAKELOCK=y
# CONFIG_WAKELOCK is not set
# CONFIG_SCENELOCK is not set
CONFIG_PM_SLEEP=y
CONFIG_PM_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=100
CONFIG_PM_WAKELOCKS_GC=y
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_APM_EMULATION is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_CPU_PM=y
CONFIG_SUSPEND_TIME=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
CONFIG_UNIX_DIAG=y
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
# 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_NET_IP_TUNNEL is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI 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=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_LRO=y
# 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=y
# 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_HAVE_NET_DSA=y
# 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_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
CONFIG_BQL=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_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
CONFIG_NL80211_TESTMODE=y
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
# CONFIG_LIB80211 is not set
# CONFIG_CFG80211_ALLOW_RECONNECT is not set
# CONFIG_MAC80211 is not set
# 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
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
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_HAVE_CPU_AUTOPROBE is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
# CONFIG_DMA_SHARED_BUFFER is not set

#
# Bus devices
#
# CONFIG_ARM_CCI is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_OF_PARTS=y
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_DATAFLASH is not set
CONFIG_MTD_M25P80=y
# CONFIG_M25PXX_USE_FAST_READ is not set
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# CONFIG_MTD_NAND_IDS is not set
# CONFIG_MTD_NAND is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
# CONFIG_MTD_UBI 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_I2C=y
CONFIG_OF_NET=y
CONFIG_OF_MTD=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_ATMEL_PWM is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ATMEL_SSC 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_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_UID_STAT is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_BMP085_SPI is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM 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 is not set
# CONFIG_EEPROM_93XX46 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_SUNXI_RFKILL=y

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE 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_VXLAN 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
#

#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
# CONFIG_NET_DSA_MV88E6131 is not set
# CONFIG_NET_DSA_MV88E6123_61_65 is not set
# CONFIG_ETHERNET is not set
# CONFIG_PHYLIB 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_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_WIFI_CONTROL_FUNC is not set
CONFIG_XR_WLAN=y
CONFIG_XRMAC=m
CONFIG_XRMAC_RC_DEFAULT="minstrel_ht"
# CONFIG_XRMAC_RC_PID is not set
CONFIG_XRMAC_RC_MINSTREL=y
CONFIG_XRMAC_RC_MINSTREL_HT=y
CONFIG_XRMAC_DEBUGFS=y
CONFIG_XRADIO=m
CONFIG_XRADIO_SDIO=y
CONFIG_XRADIO_NON_POWER_OF_TWO_BLOCKSIZES=y
CONFIG_XRADIO_USE_GPIO_IRQ=y
CONFIG_XRADIO_USE_EXTENSIONS=y
# CONFIG_XRADIO_SUSPEND_POWER_OFF is not set
# CONFIG_XRADIO_EXTEND_SUSPEND is not set

#
# Driver debug features
#
# CONFIG_XRADIO_DEBUG is not set
# CONFIG_ATH_CARDS is not set
# CONFIG_BCMDHD is not set
# CONFIG_BRCMFMAC is not set
# CONFIG_HOSTAP is not set
# CONFIG_LIBERTAS is not set
# CONFIG_WL_TI is not set
# CONFIG_MWIFIEX is not set
# CONFIG_RTL8188EU is not set
# CONFIG_RTL8723BS 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 is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
# CONFIG_INPUT_KEYRESET is not set
# CONFIG_INPUT_KEYCOMBO is not set
# CONFIG_INPUT_SW_DEVICE is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_KEYBOARD_SUNXI=y
CONFIG_WIRELESS_KEY=y
# 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
# CONFIG_INPUT_SENSOR is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
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=y
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

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_SCCNXP is not set
# 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_ARC is not set
# 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_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_DCC_TTY is not set
# CONFIG_SUNXI_DMA_TEST is not set
# CONFIG_SUNXI_SCR is not set
# CONFIG_SUNXI_DI is not set
CONFIG_DUMP_REG=y
CONFIG_DUMP_REG_MISC=y
# CONFIG_SUNXI_TRANSFORM is not set
CONFIG_SUNXI_SYS_INFO=y
# CONFIG_SUNXI_TIMER_TEST 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_CBUS_GPIO is not set
# 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 is not set
CONFIG_I2C_SUNIV=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_FSL_SPI is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not set
CONFIG_SPI_SUNXI=y
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set

#
# Qualcomm MSM SSBI bus support
#
# CONFIG_SSBI is not set
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
# CONFIG_PTP_1588_CLOCK_PCH is not set
CONFIG_PINCTRL=y

#
# Pin controllers
#
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PINCTRL_EXYNOS is not set
# CONFIG_PINCTRL_EXYNOS5440 is not set

#
# Allwinner SOC PINCTRL DRIVER
#
CONFIG_PINCTRL_SUNXI_COMMON=y
# CONFIG_PINCTRL_SUNXI_TEST is not set
# CONFIG_PINCTRL_SUN4I_A10 is not set
# CONFIG_PINCTRL_SUN5I_A10S is not set
# CONFIG_PINCTRL_SUN5I_A13 is not set
# CONFIG_PINCTRL_SUN6I_A31 is not set
# CONFIG_PINCTRL_SUN7I_A20 is not set
# CONFIG_PINCTRL_SUN8I_A23 is not set
# CONFIG_PINCTRL_SUN8IW10P1 is not set
# CONFIG_PINCTRL_SUN50IW1P1 is not set
# CONFIG_PINCTRL_SUN50IW1P1_R is not set
CONFIG_PINCTRL_SUNIVW1P1=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_GPIOLIB=y
CONFIG_OF_GPIO=y
# CONFIG_DEBUG_GPIO is not set
CONFIG_GPIO_SYSFS=y

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_EM is not set
# CONFIG_GPIO_RCAR is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_GRGPIO 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
# CONFIG_GPIO_ADNP 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:
#

#
# USB GPIO expanders:
#
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_POWER_AVS is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG 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_AS3711 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 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_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI 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_VEXPRESS_CONFIG is not set
# CONFIG_REGULATOR is not set
CONFIG_MEDIA_SUPPORT=y

#
# Multimedia core support
#
# CONFIG_MEDIA_CAMERA_SUPPORT is not set
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
# CONFIG_MEDIA_RADIO_SUPPORT is not set
CONFIG_MEDIA_RC_SUPPORT=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
# CONFIG_TTPCI_EEPROM is not set

#
# Media drivers
#
CONFIG_RC_CORE=y
# CONFIG_RC_MAP is not set
CONFIG_RC_DECODERS=y
# CONFIG_LIRC is not set
CONFIG_IR_NEC_DECODER=y
# CONFIG_IR_RC5_DECODER is not set
# CONFIG_IR_RC6_DECODER is not set
# CONFIG_IR_JVC_DECODER is not set
# CONFIG_IR_SONY_DECODER is not set
# CONFIG_IR_RC5_SZ_DECODER is not set
# CONFIG_IR_SANYO_DECODER is not set
# CONFIG_IR_MCE_KBD_DECODER is not set
CONFIG_RC_DEVICES=y
# CONFIG_RC_ATI_REMOTE is not set
# CONFIG_IR_IMON is not set
# CONFIG_IR_MCEUSB is not set
# CONFIG_IR_REDRAT3 is not set
# CONFIG_IR_STREAMZAP is not set
# CONFIG_IR_IGUANA is not set
# CONFIG_IR_TTUSBIR is not set
# CONFIG_RC_LOOPBACK is not set
# CONFIG_IR_GPIO_CIR is not set
CONFIG_IR_SUNXI=y
# CONFIG_MEDIA_USB_SUPPORT is not set

#
# Supported MMC/SDIO adapters
#
# CONFIG_CYPRESS_FIRMWARE is not set

#
# Media ancillary drivers (tuners, sensors, i2c, frontends)
#

#
# Customise DVB Frontends
#
CONFIG_DVB_TUNER_DIB0070=m
CONFIG_DVB_TUNER_DIB0090=m

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
CONFIG_VIDEO_ENCODER_DECODER_SUNXI=y

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
# CONFIG_FB_CFB_FILLRECT is not set
# CONFIG_FB_CFB_COPYAREA is not set
# CONFIG_FB_CFB_IMAGEBLIT is not set
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#

#
# Video support for sunxi
#
CONFIG_SUNIV_FB=y
CONFIG_SUNXI_BOOT_COLORBAR=y
CONFIG_SUNIV_LCD=y
# CONFIG_SUNIV_HDMI is not set
# CONFIG_FB_ARMHDLCD is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_GOLDFISH is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_EXYNOS_VIDEO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
# CONFIG_LOGO is not set
# CONFIG_FB_SSD1307 is not set
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# 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 is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_ARM is not set
# CONFIG_SND_SPI is not set
# CONFIG_SND_USB is not set
CONFIG_SND_SOC=y
CONFIG_SND_SOC_DMAENGINE_PCM=y
# CONFIG_SND_ATMEL_SOC is not set
# CONFIG_SND_DESIGNWARE_I2S is not set
CONFIG_SND_SOC_SUNXI_RW=y
CONFIG_SND_SOC_SUNXI_AUDIO_DMA=y
CONFIG_SND_SOC_SUNXI_TDM=y
CONFIG_SND_SUNXI_SOC=y
CONFIG_SND_SOC_INTERNAL_SUNIVW1P1_AUDIOCODEC=y
CONFIG_SND_SOC_SUNIVW1P1_CODEC_CPU_DAI=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE_I2S=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE_STA33X=y
CONFIG_SND_SOC_SUNIVW1P1_CPU_DAUDIO=y
CONFIG_SND_SOC_DAUDIO_PLATFORM=y
# CONFIG_SND_SOC_VIRCODEC is not set
CONFIG_SND_SOC_DAUDIO0_MACHINE=y
# CONFIG_SND_SOC_DAUDIO1_MACHINE is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_CS4385 is not set
# CONFIG_SND_SOC_DSD is not set
# CONFIG_SND_SUNXI_SOC_SPDIF is not set
# CONFIG_SUNXI_AUDIO_DEBUG is not set
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SOUND_PRIME is not set

#
# HID support
#
CONFIG_HID=y
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_PS3REMOTE is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set

#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
# CONFIG_USB_DEFAULT_PERSIST is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
CONFIG_USB_MON=y
# 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_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_EHCI_HCD_SYNOPSYS is not set
# CONFIG_USB_EHCI_HCD_PLATFORM 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=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_HCI=y
CONFIG_USB_SUNXI_EHCI0=y
CONFIG_USB_SUNXI_EHCI1=y
CONFIG_USB_SUNXI_OHCI0=y
CONFIG_USB_SUNXI_OHCI1=y
# 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_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_CHIPIDEA is not set

#
# USB port drivers
#
# CONFIG_USB_SERIAL 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_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_PHY is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG=y
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2

#
# USB Peripheral Controller
#
# CONFIG_USB_FUSB300 is not set
# CONFIG_USB_R8A66597 is not set
# CONFIG_USB_PXA27X is not set
# CONFIG_USB_MV_UDC is not set
# CONFIG_USB_MV_U3D is not set
# CONFIG_USB_M66592 is not set
# CONFIG_USB_NET2272 is not set
CONFIG_USB_SUNXI_UDC0=y
# CONFIG_USB_DUMMY_HCD is not set
CONFIG_USB_LIBCOMPOSITE=y
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
CONFIG_USB_ETH=y
CONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_ETH_EEM is not set
# CONFIG_USB_G_NCM is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_G_ANDROID is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
CONFIG_USB_SUNXI=y
CONFIG_USB_SUNXI_USB=y
CONFIG_USB_SUNXI_USBC=y
CONFIG_USB_SUNXI_USB_MANAGER=y
CONFIG_USB_SUNXI_HCD0=y
CONFIG_USB_SUNXI_USB0_OTG=y
CONFIG_USB_SUNXI_USB_DEBUG=y
CONFIG_USB_SUNXI_USB_ADB=y
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_UNSAFE_RESUME=y
# 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_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# 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_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_SWITCH is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_SHUTDOWN_ALARM 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_PCF8523 is not set
CONFIG_RTC_DRV_PCF8563=y
# 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
# CONFIG_RTC_DRV_RX4581 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
# CONFIG_RTC_DRV_DS2404 is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_SUNXI is not set
# CONFIG_RTC_DRV_SNVS is not set

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
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
CONFIG_DMA_OF=y

#
# DMA Clients
#
# CONFIG_ASYNC_TX_DMA is not set
CONFIG_SUNXI_DMA=y
# CONFIG_SUNXI_RDMA is not set
# CONFIG_DMATEST is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_DEBUG is not set
# CONFIG_COMMON_CLK_SI5351 is not set

#
# SUNXI Clock Configuration
#
# CONFIG_SUNXI_CLK_DEFAULT_INIT is not set
# CONFIG_SUNXI_CLK_AHB_FROM_PLL6 is not set

#
# Hardware Spinlock drivers
#
# CONFIG_HWSPINLOCK_SUNXI is not set
CONFIG_CLKSRC_OF=y
CONFIG_CLKSRC_MMIO=y
# CONFIG_SUN4I_TIMER is not set
CONFIG_SUNXI_TIMER=y
# CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_PWM is not set
CONFIG_IRQCHIP=y
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_EXT4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
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
CONFIG_GENERIC_ACL=y

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
CONFIG_JFFS2_FS_WBUF_VERIFY=y
# CONFIG_JFFS2_SUMMARY is not set
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_XATTR is not set
# CONFIG_SQUASHFS_ZLIB is not set
# CONFIG_SQUASHFS_LZO is not set
CONFIG_SQUASHFS_XZ=y
# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
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=y
# 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_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=y
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
# 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_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# 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 is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_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_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK 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_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_BUGVERBOSE 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_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set

#
# RCU Debugging
#
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP 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_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST 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_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_ARM_UNWIND is not set
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_RODATA is not set
CONFIG_DEBUG_LL=y
# CONFIG_DEBUG_SUNXI_UART0 is not set
CONFIG_DEBUG_SUNXI_UART1=y
# CONFIG_DEBUG_LL_UART_NONE is not set
# CONFIG_DEBUG_ICEDCC is not set
# CONFIG_DEBUG_SEMIHOSTING is not set
CONFIG_DEBUG_LL_INCLUDE="debug/sunxi.S"
CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h"
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_SET_MODULE_RONX is not set
# CONFIG_CORESIGHT is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_RNG2=y
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_MANAGER2 is not set
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not set
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA1_ARM is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_ARM is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_HW is not set
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=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_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_X86 is not set
# CONFIG_XZ_DEC_POWERPC is not set
# CONFIG_XZ_DEC_IA64 is not set
# CONFIG_XZ_DEC_ARM is not set
# CONFIG_XZ_DEC_ARMTHUMB is not set
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_BCJ is not set
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_GENERIC_ATOMIC64=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_AVERAGE=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
CONFIG_LIBFDT=y
CONFIG_ARCH_HAS_SG_CHAIN=y
# CONFIG_VIRTUALIZATION is not set

上面这个是配置文件.

这几个开关影响LCD驱动:

CONFIG_SUNIV_FB=y
CONFIG_SUNXI_BOOT_COLORBAR=y
CONFIG_SUNIV_LCD=y





在线

#41 2018-10-09 16:51:11

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

终于把显示demo随机矩形跑起来了,特别感谢晕哥提供的.config,sys_config也可参照晕哥的,虽然晕哥强调那几个我都配了但可能还是其它一些未知的配置影响了;然后也给后面调试的朋友再指出两个可能遇到的坑,1.显示的PD7管脚跟daudio模块的管脚有冲突,可以在sunivw1p1.dtsi相关位置屏蔽;2.如果自己设计走线注意lcd_power管脚的正确性和开关逻辑!   目前usb主从显示都通了,接下来再把触摸,串口调通~

离线

楼主 #42 2018-10-09 16:54:54

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

终于把显示demo随机矩形跑起来了,特别感谢晕哥提供的.config,sys_config也可参照晕哥的,虽然晕哥强调那几个我都配了但可能还是其它一些未知的配置影响了;然后也给后面调试的朋友再指出两个可能遇到的坑,1.显示的PD7管脚跟daudio模块的管脚有冲突,可以在sunivw1p1.dtsi相关位置屏蔽;2.如果自己设计走线注意lcd_power管脚的正确性和开关逻辑!   目前usb主从显示都通了,接下来再把触摸,串口调通~

恭喜恭喜!
然后组织给你摊派一个重要的任务,
把OTG切换的功能调通.

^_^





在线

#43 2018-10-09 18:20:01

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

otg软切目前倒是可用的,话说原理图上没有看到id脚呢

晕哥 说:

恭喜恭喜!
然后组织给你摊派一个重要的任务,
把OTG切换的功能调通.

^_^

离线

楼主 #44 2018-10-09 22:38:53

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

otg软切目前倒是可用的,话说原理图上没有看到id脚呢

请教如何操作?





在线

#45 2018-10-10 11:23:23

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

软切的话在/sys/devices/soc.0/usbc0.2/otg_role 这个文件,只需要echo usb_host 或者usb_devices就可以了,数字0,1,2应该也可以的

晕哥 说:
asdf 说:

otg软切目前倒是可用的,话说原理图上没有看到id脚呢

晕哥 说:

恭喜恭喜!
然后组织给你摊派一个重要的任务,
把OTG切换的功能调通.

^_^

请教如何操作?

离线

楼主 #46 2018-10-10 11:29:32

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

能软切也不错,有空我试一试.

asdf 说:

软切的话在/sys/devices/soc.0/usbc0.2/otg_role 这个文件,只需要echo usb_host 或者usb_devices就可以了,数字0,1,2应该也可以的

晕哥 说:
asdf 说:

otg软切目前倒是可用的,话说原理图上没有看到id脚呢

请教如何操作?





在线

#47 2018-10-10 15:12:25

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

话说默认debug串口为uart1,改成uart0后直接烧录都不成功,可有什么好的方案呢,有人实现uart0 debug了么

离线

楼主 #48 2018-10-10 15:21:15

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

话说默认debug串口为uart1,改成uart0后直接烧录都不成功,可有什么好的方案呢,有人实现uart0 debug了么

你是如何改的呢?应该不存在烧录不成功的问题.





在线

#49 2018-10-10 15:29:28

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

就sys_config的uart_para段把debug port设置成0;再把对应的管脚改成PE1,PE0

晕哥 说:
asdf 说:

话说默认debug串口为uart1,改成uart0后直接烧录都不成功,可有什么好的方案呢,有人实现uart0 debug了么

你是如何改的呢?应该不存在烧录不成功的问题.

离线

楼主 #50 2018-10-10 15:33:29

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我记得貌似改过,有空我帮你试一试。

asdf 说:

就sys_config的uart_para段把debug port设置成0;再把对应的管脚改成PE1,PE0

晕哥 说:
asdf 说:

话说默认debug串口为uart1,改成uart0后直接烧录都不成功,可有什么好的方案呢,有人实现uart0 debug了么

你是如何改的呢?应该不存在烧录不成功的问题.





在线

#51 2018-10-10 16:02:28

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

好的,uart1这两个管脚跟触摸冲突了

离线

楼主 #52 2018-10-10 16:15:48

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

好的,uart1这两个管脚跟触摸冲突了

PA2, PA3确实共用了 UART1 和 RTP.





在线

#53 2018-10-10 16:57:08

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

uart0可以用了,sys_config里面全志这边貌似有点坑,像我上面那么改他不认,我尝试把port1设置成PE1,PE0两个引脚,然后debug port还是选1,再把port0设置成PA3,PA2,不过我把port0关了,成功在内核阶段使用;有个地方,inittab从ttyS1改成ttyS0我的rootfs只读不生效,我觉得如果这里能改的话应该直接就可以了,话说为啥我挂载的rootfs是readonly啊,不能操作文件

离线

#54 2018-10-17 19:43:13

xieguimsn
会员
注册时间: 2018-10-17
已发帖子: 1
积分: 1

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

正在按照教程整

离线

#55 2018-10-19 14:18:40

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

路过的有使用过显示的没有,我运行qt程序的时候会出现类似Bad page state的问题,我的显示屏是800x480的,总感觉可能还是哪里没有配置正确,随机矩形可以正确绘制的

[  104.541476] BUG: Bad page state in process syslogd  pfn:81c26
[  104.547844] page:c05184c0 count:0 mapcount:0 mapping:  (null) index:0x2
[  104.555200] page flags: 0x200(arch_1)
[  104.559261] Modules linked in:
[  104.562698] CPU: 0 PID: 53 Comm: syslogd Tainted: G    B        3.10.65 #20
[  104.570431] Backtrace:
[  104.573186] [<c00134a0>] (dump_backtrace+0x0/0x110) from [<c0013640>] (show_stack+0x18/0x1c)
[  104.582570]  r6:c05704f0 r5:c04cf224 r4:c05184c0 r3:00400000
[  104.588887] [<c0013628>] (show_stack+0x0/0x1c) from [<c033f7f8>] (dump_stack+0x20/0x28)
[  104.597812] [<c033f7d8>] (dump_stack+0x0/0x28) from [<c00672b8>] (bad_page+0xdc/0x10c)
[  104.606644] [<c00671dc>] (bad_page+0x0/0x10c) from [<c006829c>] (get_page_from_freelist+0x378/0x4b0)
[  104.616784]  r5:c04c47a8 r4:00000000
[  104.620820] [<c0067f24>] (get_page_from_freelist+0x0/0x4b0) from [<c00684c8>] (__alloc_pages_nodemask+0xf4/0x614)
[  104.632238] [<c00683d4>] (__alloc_pages_nodemask+0x0/0x614) from [<c0072fc4>] (shmem_getpage_gfp+0x2a8/0x5f0)
[  104.643268] [<c0072d1c>] (shmem_getpage_gfp+0x0/0x5f0) from [<c00733b0>] (shmem_write_begin+0x40/0x48)
[  104.653643] [<c0073370>] (shmem_write_begin+0x0/0x48) from [<c0061914>] (generic_file_buffered_write+0xe0/0x23c)
[  104.664993] [<c0061834>] (generic_file_buffered_write+0x0/0x23c) from [<c006330c>] (__generic_file_aio_write+0x31c/0x35c)
[  104.677192] [<c0062ff0>] (__generic_file_aio_write+0x0/0x35c) from [<c00633ac>] (generic_file_aio_write+0x60/0xc0)
[  104.688709] [<c006334c>] (generic_file_aio_write+0x0/0xc0) from [<c0091084>] (do_sync_write+0x7c/0xa0)
[  104.699075] [<c0091008>] (do_sync_write+0x0/0xa0) from [<c0091978>] (vfs_write+0xe0/0x18c)
[  104.708257]  r7:c3a77f78 r6:01020478 r5:0000008b r4:c3aa7140
[  104.714608] [<c0091898>] (vfs_write+0x0/0x18c) from [<c0091d58>] (SyS_write+0x48/0x70)
[  104.723440] [<c0091d10>] (SyS_write+0x0/0x70) from [<c000f8a0>] (ret_fast_syscall+0x0/0x2c)
[  104.732729] BUG: Bad page state in process syslogd  pfn:81c27
[  104.739098] page:c05184e0 count:0 mapcount:0 mapping:  (null) index:0x2
[  104.746453] page flags: 0x200(arch_1)
[  104.750547] Modules linked in:
[  104.753963] CPU: 0 PID: 53 Comm: syslogd Tainted: G    B        3.10.65 #20
[  104.761701] Backtrace:
[  104.764461] [<c00134a0>] (dump_backtrace+0x0/0x110) from [<c0013640>] (show_stack+0x18/0x1c)

离线

#56 2018-10-19 14:25:29

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

https://blog.csdn.net/chenyu105/article/details/9749549
本文记录一次内核模块内存越界,导致故障的排查分析过程,和各位共享交流。

离线

#57 2018-10-19 14:59:10

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

现象基本一致,回头详细看看

lilo 说:

https://blog.csdn.net/chenyu105/article/details/9749549
本文记录一次内核模块内存越界,导致故障的排查分析过程,和各位共享交流。

离线

#58 2018-10-28 00:18:20

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

请教晕哥,在克隆C600源代码的时候,执行sudo curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash正常,到sudo apt-get install git-lfs提示下载失败,说有几个软件包无法下载。可能是什么情况呢?
2018-10-28-00-12-12.png

离线

楼主 #59 2018-10-28 10:36:01

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

上面已经提示了,运行:

apt-get update





在线

#60 2018-10-28 11:08:39

qiuchen0403
会员
注册时间: 2018-05-15
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

上面已经提示了,运行:

apt-get update

运行了,还是一样。
这次是直接安装的ubuntu16.04.5-desktop-amd64

离线

楼主 #61 2018-10-28 11:21:20

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)





在线

#62 2018-10-28 13:45:39

三贪猪
会员
注册时间: 2018-06-09
已发帖子: 5
积分: 5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@晕哥,按照你这篇编译官方bsp是ok的,下载后也能正常启动,但是无法加载板载声卡啊。我在tools/pack/chips/sunivw1p1/configs/evb/sys_config.fex中设置audiocodec_machine_used=1,也没有用,请教下怎么才能开启声卡驱动。FluxBB bbcode 测试

最近编辑记录 三贪猪 (2018-10-28 13:49:17)

离线

#63 2018-10-28 15:42:21

v3s
会员
注册时间: 2017-09-08
已发帖子: 105
积分: 105

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

上面的红圈是i2s声卡检测吧?你是想用什么声卡?






此人很懒,没有签名!

离线

#64 2018-10-29 07:48:37

三贪猪
会员
注册时间: 2018-06-09
已发帖子: 5
积分: 5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我想用f1c100s内置的codec啊,启动后找不到这个声卡。
[    0.684003] ALSA device list:
[    0.687300]   No soundcards found.

离线

楼主 #65 2018-10-29 08:24:37

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

https://whycan.cn/t_1299.html
https://whycan.cn/t_1008.html

关于声卡你看下上面两个帖子, 我暂时还没有用到.





在线

#66 2018-11-05 13:39:25

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@晕哥  bsp这边内存频率怎么调啊,只支持默认的156?cpu频率在dts调节生效,从276调到了408

离线

楼主 #67 2018-11-05 13:45:59

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

@晕哥  bsp这边内存频率怎么调啊,只支持默认的156?cpu频率在dts调节生效,从276调到了408

应该是 sys_config.fex 里面调,dts是否能调不确定.





在线

#68 2018-11-05 14:13:54

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

dts只有默认的156M才能启动,sys_config单纯调dram段下的clk也是不行的,可能能调但依全志一般都不会描述的

晕哥 说:
asdf 说:

@晕哥  bsp这边内存频率怎么调啊,只支持默认的156?cpu频率在dts调节生效,从276调到了408

应该是 sys_config.fex 里面调,dts是否能调不确定.

离线

#69 2018-11-26 15:00:50

迪卡
会员
所在地: 河北
注册时间: 2018-11-02
已发帖子: 916
积分: 903
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我这github下不动,所以从nano.lichee.pro的百度网盘下载的1.9GB大小C600_Linux.tar.gz,参考https://github.com/mirkerson/c600.git,对照着把带fix
uboot标记的地方都修改了。
./build.sh config
./build.sh
生成的sunivw1p1_linux_evb_uart0.img镜像使用PhoenixSuit烧录无问题,启动后dock底板上RGB的绿灯亮了,串口有信息,可以登录。
既然跑起来了,就开始玩软件了,想安装qt。那么就得用buildroot.
看了一下,BSP目录的buildroot里是没有配置的,out目录里的buildroot才是配置成F1C100S的,使用menuconfig进行配置,在主目录./build.sh会各种报错,失败,应该和晕哥遭遇一样..
接下来,参考晕哥的方法,自己下载buildroot。未完待续....
还有不知道默认编译好的镜像支不支持gpio spi i2c之类的基本接口,还有USB接口,挂载U盘啥的,接电脑虚拟网卡啥的。去尝试一下在kernel3.10目录去menuconfig一下。

离线

#70 2018-11-26 15:59:29

迪卡
会员
所在地: 河北
注册时间: 2018-11-02
已发帖子: 916
积分: 903
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

迪卡 说:

我这github下不动,所以从nano.lichee.pro的百度网盘下载的1.9GB大小C600_Linux.tar.gz,参考https://github.com/mirkerson/c600.git,对照着把带fix
uboot标记的地方都修改了。
./build.sh config
./build.sh
生成的sunivw1p1_linux_evb_uart0.img镜像使用PhoenixSuit烧录无问题,启动后dock底板上RGB的绿灯亮了,串口有信息,可以登录。
既然跑起来了,就开始玩软件了,想安装qt。那么就得用buildroot.
看了一下,BSP目录的buildroot里是没有配置的,out目录里的buildroot才是配置成F1C100S的,使用menuconfig进行配置,在主目录./build.sh会各种报错,失败,应该和晕哥遭遇一样..
接下来,参考晕哥的方法,自己下载buildroot。未完待续....
还有不知道默认编译好的镜像支不支持gpio spi i2c之类的基本接口,还有USB接口,挂载U盘啥的,接电脑虚拟网卡啥的。去尝试一下在kernel3.10目录去menuconfig一下。

把rndis勾上,编译报错...

离线

楼主 #71 2018-11-26 16:10:18

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

迪卡 说:
迪卡 说:

我这github下不动,所以从nano.lichee.pro的百度网盘下载的1.9GB大小C600_Linux.tar.gz,参考https://github.com/mirkerson/c600.git,对照着把带fix
uboot标记的地方都修改了。
./build.sh config
./build.sh
生成的sunivw1p1_linux_evb_uart0.img镜像使用PhoenixSuit烧录无问题,启动后dock底板上RGB的绿灯亮了,串口有信息,可以登录。
既然跑起来了,就开始玩软件了,想安装qt。那么就得用buildroot.
看了一下,BSP目录的buildroot里是没有配置的,out目录里的buildroot才是配置成F1C100S的,使用menuconfig进行配置,在主目录./build.sh会各种报错,失败,应该和晕哥遭遇一样..
接下来,参考晕哥的方法,自己下载buildroot。未完待续....
还有不知道默认编译好的镜像支不支持gpio spi i2c之类的基本接口,还有USB接口,挂载U盘啥的,接电脑虚拟网卡啥的。去尝试一下在kernel3.10目录去menuconfig一下。

把rndis勾上,编译报错...

关于USB问题在这里解决: https://whycan.cn/t_1626.html





在线

#72 2018-11-29 18:00:24

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥,遇到个奇怪问题,uboot烧到板子,串口(uart0)没有任何信息输出,请教这个可能哪里出错了?

离线

楼主 #73 2018-11-29 18:24:04

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

晕哥,遇到个奇怪问题,uboot烧到板子,串口(uart0)没有任何信息输出,请教这个可能哪里出错了?

确定是 uart0输出, 确认烧录文件没有问题, 确认烧进去了(可以读出来比较)?





在线

#74 2018-11-30 09:48:03

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
hai 说:

晕哥,遇到个奇怪问题,uboot烧到板子,串口(uart0)没有任何信息输出,请教这个可能哪里出错了?

确定是 uart0输出, 确认烧录文件没有问题, 确认烧进去了(可以读出来比较)?

确定是烧到flash了, 读取出来的文件内容和烧写的原文件是一样的, 通过LED在uboot代码里点灯也是看到启动流程都运行了

离线

楼主 #75 2018-11-30 09:57:02

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:
晕哥 说:
hai 说:

晕哥,遇到个奇怪问题,uboot烧到板子,串口(uart0)没有任何信息输出,请教这个可能哪里出错了?

确定是 uart0输出, 确认烧录文件没有问题, 确认烧进去了(可以读出来比较)?

确定是烧到flash了, 读取出来的文件内容和烧写的原文件是一样的, 通过LED在uboot代码里点灯也是看到启动流程都运行了

看是不是另外一组复用的uart0,还有检查一下硬件,串口模块是不是好的





在线

#76 2018-11-30 10:04:48

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
hai 说:
晕哥 说:

确定是 uart0输出, 确认烧录文件没有问题, 确认烧进去了(可以读出来比较)?

确定是烧到flash了, 读取出来的文件内容和烧写的原文件是一样的, 通过LED在uboot代码里点灯也是看到启动流程都运行了

看是不是另外一组复用的uart0,还有检查一下硬件,串口模块是不是好的

另外一组指的是哪个? 通过逻辑分析仪测板子的串口uart0引脚都没有波形

离线

楼主 #77 2018-11-30 10:26:35

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:
晕哥 说:
hai 说:

确定是烧到flash了, 读取出来的文件内容和烧写的原文件是一样的, 通过LED在uboot代码里点灯也是看到启动流程都运行了

看是不是另外一组复用的uart0,还有检查一下硬件,串口模块是不是好的

另外一组指的是哪个? 通过逻辑分析仪测板子的串口uart0引脚都没有波形

PE0,PE1 / PF2,PF4 两组都试一试.
如果这两组都从逻辑分析仪检测不到数据,只能怀疑软件写错了,或者口IO坏了.





在线

#78 2018-11-30 12:52:01

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
hai 说:
晕哥 说:

看是不是另外一组复用的uart0,还有检查一下硬件,串口模块是不是好的

另外一组指的是哪个? 通过逻辑分析仪测板子的串口uart0引脚都没有波形

PE0,PE1 / PF2,PF4 两组都试一试.
如果这两组都从逻辑分析仪检测不到数据,只能怀疑软件写错了,或者口IO坏了.

有没有什么好方法检测是否是IO口坏了呢?  搞了好久软件目前查不到原因

离线

楼主 #79 2018-11-30 12:55:06

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:
晕哥 说:
hai 说:

另外一组指的是哪个? 通过逻辑分析仪测板子的串口uart0引脚都没有波形

PE0,PE1 / PF2,PF4 两组都试一试.
如果这两组都从逻辑分析仪检测不到数据,只能怀疑软件写错了,或者口IO坏了.

有没有什么好方法检测是否是IO口坏了呢?  搞了好久软件目前查不到原因

再买两片板子,时间比比板子更值钱





在线

#80 2018-12-03 11:44:16

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
hai 说:
晕哥 说:

PE0,PE1 / PF2,PF4 两组都试一试.
如果这两组都从逻辑分析仪检测不到数据,只能怀疑软件写错了,或者口IO坏了.

有没有什么好方法检测是否是IO口坏了呢?  搞了好久软件目前查不到原因

再买两片板子,时间比比板子更值钱


换了板子可以了,又出现了新的问题:SPL: eGON header is not found , 按着文档做的,这个又是哪里配错了么

离线

#81 2018-12-03 15:56:32

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

前面的问题 SPL: eGON header is not found, 这个搞错了,打包image的时候漏掉了uboot

晕哥,现在遇到个现象uboot启动后卡着很久不动是什么原因呢,串口打印到以下就不动了

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000

离线

楼主 #82 2018-12-03 17:11:39

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK

zImage flash那部分没有读完, 检查一下是不是硬件引起?





在线

#83 2018-12-04 11:50:57

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK

zImage flash那部分没有读完, 检查一下是不是硬件引起?

 


修改成这个得话#define CONFIG_BOOTCOMMAND   "sf probe 0:50000000; "
就启动不了
spi_flash@0:50000000: failed to activate chip-select 50000000
SF: error -2 reading JEDEC ID

改成这个 #define CONFIG_BOOTCOMMAND   "sf probe 0; "  能启动,但就会卡着很久

离线

#84 2018-12-04 13:40:35

lilo
会员
注册时间: 2017-10-15
已发帖子: 215
积分: 215

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

 


修改成这个得话#define CONFIG_BOOTCOMMAND   "sf probe 0:50000000; "
就启动不了
spi_flash@0:50000000: failed to activate chip-select 50000000
SF: error -2 reading JEDEC ID

改成这个 #define CONFIG_BOOTCOMMAND   "sf probe 0; "  能启动,但就会卡着很久

https://whycan.cn/t_1014.html#p7622
https://whycan.cn/t_1623.html#p8850

离线

#85 2018-12-05 11:33:18

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

多谢,已经解决了这个问题,改为 sf probe 0:50000000; 就可以了, 但内核启动到文件系统时停住了 Waiting for root device /dev/mtdblock3...,这个是什么解决的?

离线

楼主 #86 2018-12-05 12:21:18

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

多谢,已经解决了这个问题,改为 sf probe 0:50000000; 就可以了, 但内核启动到文件系统时停住了 Waiting for root device /dev/mtdblock3...,这个是什么解决的?

首先看下log mtdX 分区有没有解析成功





在线

#87 2018-12-05 15:46:25

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

看到log打印里面有mtdX 分区信息,下面是启动信息,帮看下哪里的问题

U-Boot 2018.01-05679-g013ca45-dirty (Dec 04 2018 - 19:57:27 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 816fb000, end 816fff32 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #4 Tue Dec 4 09:24:56 PST 2018
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] random: fast init done
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=0 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 22672K/32768K available (6144K kernel code, 237K rwdata, 1408K rodata, 1024K init, 246K bss, 10096K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 238 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 247 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000044] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000108] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000637] Console: colour dummy device 80x30
[    0.000721] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070229] pid_max: default: 32768 minimum: 301
[    0.070539] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070579] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.071986] CPU: Testing write buffer coherency: ok
[    0.073602] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076103] devtmpfs: initialized
[    0.082575] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.082644] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082887] pinctrl core: initialized pinctrl subsystem
[    0.084834] NET: Registered protocol family 16
[    0.086201] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.087951] cpuidle: using governor menu
[    0.113030] SCSI subsystem initialized
[    0.113369] usbcore: registered new interface driver usbfs
[    0.113518] usbcore: registered new interface driver hub
[    0.113708] usbcore: registered new device driver usb
[    0.114133] pps_core: LinuxPPS API ver. 1 registered
[    0.114157] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114216] PTP clock support registered
[    0.114700] Advanced Linux Sound Architecture Driver Initialized.
[    0.116209] clocksource: Switched to clocksource timer
[    0.141824] NET: Registered protocol family 2
[    0.143213] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.143290] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.143339] TCP: Hash tables configured (established 1024 bind 1024)
[    0.143604] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.143660] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.144112] NET: Registered protocol family 1
[    0.145295] RPC: Registered named UNIX socket transport module.
[    0.145333] RPC: Registered udp transport module.
[    0.145348] RPC: Registered tcp transport module.
[    0.145364] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.147227] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.149010] Initialise system trusted keyrings
[    0.149533] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.166679] NFS: Registering the id_resolver key type
[    0.166761] Key type id_resolver registered
[    0.166785] Key type id_legacy registered
[    0.166900] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.181078] Key type asymmetric registered
[    0.181118] Asymmetric key parser 'x509' registered
[    0.181315] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.181345] io scheduler noop registered
[    0.181363] io scheduler deadline registered
[    0.182113] io scheduler cfq registered (default)
[    0.182146] io scheduler mq-deadline registered
[    0.182165] io scheduler kyber registered
[    0.183270] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.192815] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.357951] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.364478] console [ttyS0] disabled
[    0.384726] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.858243] console [ttyS0] enabled
[    0.868713] panel-simple panel: panel supply power not found, using dummy regulator
[    0.878068] SCSI Media Changer driver v0.25 
[    0.885571] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.890808] 4 ofpart partitions found on MTD device spi0.0
[    0.896352] Creating 4 MTD partitions on "spi0.0":
[    0.901159] 0x000000000000-0x000000100000 : "u-boot"
[    0.907353] 0x000000100000-0x000000110000 : "dtb"
[    0.913034] 0x000000110000-0x000000510000 : "kernel"
[    0.919170] 0x000000510000-0x000001000000 : "rootfs"
[    0.925568] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.932215] ehci-platform: EHCI generic platform driver
[    0.937770] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.943990] ohci-platform: OHCI generic platform driver
[    0.949708] usbcore: registered new interface driver usb-storage
[    0.956735] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.965656] i2c /dev entries driver
[    1.026334] sunxi-mmc 1c0f000.mmc: base:0x351f02b2 irq:19
[    1.033775] usbcore: registered new interface driver usbhid
[    1.039468] usbhid: USB HID core driver
[    1.060924] NET: Registered protocol family 17
[    1.065607] Key type dns_resolver registered
[    1.072196] Loading compiled-in X.509 certificates
[    1.087039] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739bf8)
[    1.095823] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0738edc)
[    1.103610] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.110268] [drm] No driver support for vblank timestamp query.
[    1.164209] Console: switching to colour frame buffer device 60x34
[    1.187599] sun4i-drm display-engine: fb0:  frame buffer device
[    1.194806] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.203995] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.215928] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.221852] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.231975] hub 1-0:1.0: USB hub found
[    1.235909] hub 1-0:1.0: 1 port detected
[    1.241574] using random self ethernet address
[    1.246103] using random host ethernet address
[    1.252430] usb0: HOST MAC 4a:b0:8e:ef:14:4a
[    1.256955] usb0: MAC 46:5f:32:37:fa:b2
[    1.260977] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.268546] g_cdc gadget: g_cdc ready
[    1.273214] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.290859] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.297716] vcc3v3: disabling
[    1.300701] ALSA device list:
[    1.303667]   #0: Loopback 1
[    1.307494] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.316160] cfg80211: failed to load regulatory.db
[    1.321661] Waiting for root device /dev/mtdblock3...
[    5.215667] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
[  201.276343] random: crng init done

离线

楼主 #88 2018-12-05 16:01:06

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

看是不是block相关配置没勾上, 这是我的配置,你参考一下:

CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_BLOCK2MTD=y
CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
CONFIG_DTC=y
CONFIG_OF=y
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
CONFIG_OF_RESERVED_MEM=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_BLK_DEV=y





在线

#89 2018-12-05 16:20:12

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

查了下.config配置文件,发现有两个地方不一样, 下面这两个是在哪里配置的呢?

# CONFIG_MTD_BLOCK2MTD is not set

CONFIG_OF_MDIO=y  这个配置没有在配置文件里面

离线

楼主 #90 2018-12-05 16:24:26

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

查了下.config配置文件,发现有两个地方不一样, 下面这两个是在哪里配置的呢?

# CONFIG_MTD_BLOCK2MTD is not set

CONFIG_OF_MDIO=y  这个配置没有在配置文件里面

linux 源码目录下的 .config 文件,
或者 make menuconfig 文件保存后, 也是更新这个文件.





在线

#91 2018-12-05 16:34:29

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

make menuconfig  里面那个选项可以配这两个的,貌似找不到呢

离线

楼主 #92 2018-12-05 16:36:55

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

make menuconfig  里面那个选项可以配这两个的,貌似找不到呢

那直接修改 .config 更快





在线

#93 2018-12-05 17:05:05

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

加了这个配置后启动还是一样的结果

离线

楼主 #94 2018-12-05 17:13:38

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

加了这个配置后启动还是一样的结果

你这是 f1c100s 主线 linux 吧:
https://whycan.cn/t_1662.html
https://whycan.cn/t_1623.html

从官方正常能跑的固件里面抽出 u-boot, dtb, kernel, jffs2 ,然后一个一个替换试一试。





在线

#95 2018-12-05 17:19:50

hai
会员
注册时间: 2018-11-29
已发帖子: 15
积分: 15

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

bootargs 使用官方文档指导的内核启动到挂载文件系统时就停止了
console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2

bootargs 使用下面这个就可以正常挂载跟文件系统
console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jff2

还搞不清楚什么原因

离线

楼主 #96 2018-12-05 17:44:23

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hai 说:

bootargs 使用官方文档指导的内核启动到挂载文件系统时就停止了
console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2

bootargs 使用下面这个就可以正常挂载跟文件系统
console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jff2

还搞不清楚什么原因

mtdparts=spi0.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) 这串必须传给内行,让内核生成分区, 否则后面找不到根文件系统了。





在线

#97 2018-12-06 23:41:15

小菜
会员
注册时间: 2018-12-06
已发帖子: 45
积分: 45

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我在编译的时候出现:
configure:error:ACC conformance test failed.Stop.
网上查资料说是GCC版本问题,我现在的arm-linux-gnueabi-gcc 是7.3.0版本,使用apt安装的。
请大侠指点如何修改。

离线

楼主 #98 2018-12-07 09:45:20

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

小菜 说:

我在编译的时候出现:
configure:error:ACC conformance test failed.Stop.
网上查资料说是GCC版本问题,我现在的arm-linux-gnueabi-gcc 是7.3.0版本,使用apt安装的。
请大侠指点如何修改。

bsp linux 用的是SDK包里面的gcc, 怎么会是 7.3.0 ?




相关的解决方案:
https://blog.csdn.net/weixin_42421766/article/details/82983170





在线

#99 2018-12-07 09:49:16

小菜
会员
注册时间: 2018-12-06
已发帖子: 45
积分: 45

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我的linux系统是Ubuntu,我使用apt安装了一个armgcc,是7.3的。我不知道bsp linux里面是否是使用的我系统安装的gcc,还是bsp自带的——因为没有输出信息。
前面有一个什么正则错误,我网上查了一下说是新旧格式的问题,改用新格式就没事了,所以怀疑是使用我的7.3的armgcc

离线

楼主 #100 2018-12-07 09:56:14

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

小菜 说:

我的linux系统是Ubuntu,我使用apt安装了一个armgcc,是7.3的。我不知道bsp linux里面是否是使用的我系统安装的gcc,还是bsp自带的——因为没有输出信息。
前面有一个什么正则错误,我网上查了一下说是新旧格式的问题,改用新格式就没事了,所以怀疑是使用我的7.3的armgcc

那你换台电脑,或者换一个新虚拟机镜像,按流程再来一次。





在线

#101 2018-12-07 12:21:52

小菜
会员
注册时间: 2018-12-06
已发帖子: 45
积分: 45

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

在C600里面使用
./build.sh config
./build.sh -p sunivw1p1 -k linux-3.10 -m all
后出现如下问题。

>>> host-lzo 2.03 Autoreconfiguring
main::scan_file() called too early to check prototype at /home/f1c100s/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/aclocal line 618.
acinclude.m4:165: the serial number must appear before any macro definition
acinclude.m4:207: the serial number must appear before any macro definition
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autoconf'.
libtoolize: copying file `autoconf/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
main::scan_file() called too early to check prototype at /home/f1c100s/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/aclocal line 618.
acinclude.m4:165: the serial number must appear before any macro definition
acinclude.m4:207: the serial number must appear before any macro definition
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/f1c100s/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/automake line 4113.
autoreconf: /home/f1c100s/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/automake failed with exit status: 255
make: *** [/home/f1c100s/c600/out/sunivw1p1/linux/common/buildroot/build/host-lzo-2.03/.stamp_configured] 错误 1
make: 离开目录“/home/f1c100s/c600/buildroot”
ERROR: build buildroot Failed

离线

#102 2018-12-12 18:39:12

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

官方sdk的uboot阶段又能i2c通信成功的没,我看twi0 base地址都是错的,有点方

离线

#103 2019-01-07 18:42:59

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

参考链接: 【1】step by step 编译全志 f1c100s 官方linux bsp

这次完全按照官方的c600 bsp 套路来搞,

sdk,工具链,烧写工具 都是官方的.

再来走一次流程.
上面是运行 fb-test-rect 程序, 也就是 buildroot 里面 fbtest 编译出来的例程。


晕哥,这个声卡正常吗?

离线

楼主 #104 2019-01-07 19:16:15

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@qinxiongxu

bsp linux 里面的声卡是可以用的, 好几个网友测试过了.





在线

#105 2019-01-07 19:58:58

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

@qinxiongxu

bsp linux 里面的声卡是可以用的, 好几个网友测试过了.


好的,另外,BSP里面的泽畔店里的800x480的屏驱动支持吗?

离线

#106 2019-01-07 20:03:12

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

这里下载地址下了很多次,都是下着下着失败了,然后重新下载还是失败。。。

Cloning into 'c600'...
fatal: unable to access 'https://bitbucket.org/qq516333132/c600.git/': Failed to connect to bitbucket.org port 443: Connection timed out
Error(s) during clone:
git clone failed: exit status 128
failed

晕哥,还有其他下载链接吗?

离线

楼主 #107 2019-01-07 20:29:01

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@千石级灯

试一试这个: https://github.com/qq516333132/c600.git





在线

#108 2019-01-09 01:08:27

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

@千石级灯

试一试这个: https://github.com/qq516333132/c600.git

晕哥,我下载了这个BSP。同时也将FB,LCD等打开了,但是启动起来,屏幕背景大部分是黑色的,但是会显示大小变化方块的花屏颜色,,之前开了内核config的fb color bar,会有RGB的颜色调显示,但是也是有变换的颜色块在闪,显示异常。

请问下晕哥,部分闪烁花屏的问题,还有哪些地方要调整的吗?

离线

楼主 #109 2019-01-09 08:09:18

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

qinxiongxu 说:

晕哥,我下载了这个BSP。同时也将FB,LCD等打开了,但是启动起来,屏幕背景大部分是黑色的,但是会显示大小变化方块的花屏颜色,,之前开了内核config的fb color bar,会有RGB的颜色调显示,但是也是有变换的颜色块在闪,显示异常。

请问下晕哥,部分闪烁花屏的问题,还有哪些地方要调整的吗?

屏有没有问题呢?
怎么感觉硬件有问题呢





在线

#110 2019-01-09 14:25:11

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

屏有没有问题呢?
怎么感觉硬件有问题呢


我烧录出厂的固件屏幕显示正常,fb-test,rect测试demo运行也正常。

离线

#111 2019-01-11 18:30:46

monosail
会员
注册时间: 2019-01-06
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我用之前晕哥dump出来的u-boot.bin,dtb.bin和rootfs_jffs2.bin用linux下的sunxi-fel写入spi flash
然后自己用bsp编译了一个zImage,仅仅修改了UART1换到UART0
CONFIG_DEBUG_SUNXI_UART0=y
# CONFIG_DEBUG_SUNXI_UART1 is not set

启动kernel到usb core之后就再也没有log了,除了“No ATAGs?”之外似乎也没有报什么错了。不知道有没有人遇到过?

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (monosail@ubuntu) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #8 Fri Jan 11 02:20:52 PST 2019
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sunivw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: ECC disabled, Data cache writethrough
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c04420a0, node_mem_map c0457000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x01c25000 loglevel=8 initcall_debug=1 console=ttyS1 init=/init root=/dev/mtdblock2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 27876k/27876k available, 4892k 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 : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03f4fdc   (4020 kB)
[    0.000000]       .init : 0xc03f5000 - 0xc0413b04   ( 123 kB)
[    0.000000]       .data : 0xc0414000 - 0xc0442780   ( 186 kB)
[    0.000000]        .bss : 0xc0442780 - 0xc0456248   (  79 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=528000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005424] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.075316] pid_max: default: 32768 minimum: 301
[    0.080663] Mount-cache hash table entries: 512
[    0.087567] CPU: Testing write buffer coherency: ok
[    0.093784] Setting up static identity map for 0xc02d6f48 - 0xc02d6fa0
[    0.105110] devtmpfs: initialized
[    0.111770] pinctrl core: initialized pinctrl subsystem
[    0.117666] NET: Registered protocol family 16
[    0.124688] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.133120] dump_class_init,821, success
[    0.144622] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.167167] No ATAGs?
[    0.183319] bio: create slab <bio-0> at 0
[    0.191086] SCSI subsystem initialized
[    0.195610] usbcore: registered new interface driver usbfs
[    0.201505] usbcore: registered new interface driver hub
[    0.207590] usbcore: registered new device driver usb
▒

离线

楼主 #112 2019-01-11 18:44:02

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

看下没改之前的log,然后对比一下





在线

#113 2019-01-14 19:37:26

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我用晕哥提供的sys_config & .config编译的,运行fb-test,内核奔溃了

/dev/下面fb有8个fb0~7,disp设备。

奔溃的log:

/tmp # ./fb-test -f 0 -g
fb-test 1.1.0 (rosetta)
fb res 800x480 virtual 800x960, line_len 1600, bpp 16
[   71.014762] Unable to handle kernel paging request at virtual address 07e00810
[   71.022928] pgd = c147c000
[   71.025936] [07e00810] *pgd=00000000
[   71.029925] Internal error: Oops: 5 [#1] ARM
[   71.034643] Modules linked in:
[   71.038034] CPU: 0 PID: 56 Comm: fb-test Not tainted 3.10.65 #85
[   71.044679] task: c1452fc0 ti: c169a000 task.ti: c169a000
[   71.050686] PC is at filemap_fault+0x30/0x39c
[   71.055525] LR is at __do_fault+0xa8/0x448
[   71.060066] pc : [<c005ef8c>]    lr : [<c007483c>]    psr: 60000013
[   71.060066] sp : c169bd80  ip : c169bdc8  fp : c169bdc4
[   71.072761] r10: c163b630  r9 : 000000a8  r8 : 00000000
[   71.078542] r7 : c1c020ec  r6 : 000000e6  r5 : c1682dc0  r4 : c163b630
[   71.085760] r3 : 07e007e0  r2 : 00000fff  r1 : c169bdd8  r0 : c163b630
[   71.092982] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   71.100872] Control: 0005317f  Table: 8147c000  DAC: 00000015
[   71.107223] 
[   71.107223] PC: 0xc005ef0c:
[   71.111945] ef0c  0a000010 e1a00004 e1a01005 ebfff960 ea000009 e3120020 0a000005 ebfff892
[   71.121037] ef2c  e3500000 0a000006 e285003c ebff6dcf ea000004 ebfff8ab ea000001 e1a06005
[   71.130124] ef4c  ea000000 e3a06001 e1a00006 e89da8f0 e1a0c00d e92ddff0 e24cb004 e24dd01c
[   71.139210] ef6c  e5905050 e59f2370 e5957084 e5916004 e5973000 e1a0a000 e50b1030 e50b3034
[   71.148297] ef8c  e1c303d0 e3a03000 e0900002 e0a11003 e1a03620 e1833a01 e1560003 2a0000c7
[   71.157382] efac  e1a00007 e1a01006 ebfff84f e2504000 e2859048 0a000017 e51b3030 e5938000
[   71.166469] efcc  e2188040 1a000044 e59a3028 e5950084 e3130801 1a000041 e5953058 e3530000
[   71.175550] efec  12433001 15853058 e5948000 e1a08928 e2188001 0a000039 e58d6000 e5953054
[   71.184639] 
[   71.184639] LR: 0xc00747bc:
[   71.189361] 47bc  e50b1040 0a00000e e5943028 e3130008 13a06000 1a00000b e1a00004 eb002b7d
[   71.198448] 47dc  e2501000 1a0000f2 e59f03d4 e59f23d4 e1a03001 ebffbb46 e2506000 1a000001
[   71.207530] 47fc  ea0000eb e51b6040 e51b2044 e50b503c e3c23eff e3c3300f e50b3034 e59b3004
[   71.216610] 481c  e1a00004 e50b3038 e3a03000 e50b3030 e5943048 e24b103c e5933008 e12fff33
[   71.225693] 483c  e59f3384 e1a09000 e0003003 e3530000 1a0000d2 e3100c02 1a00000c e51b5030
[   71.234780] 485c  eb0a5082 e10f2000 e3823080 e121f003 e5953000 e3831001 e5851000 e121f002
[   71.243862] 487c  e3130001 0a000001 e1a00005 ebffa259 e51b3040 e51b5030 e3530000 051b8040
[   71.252943] 489c  0a000036 e5948028 e2188008 1a00000a e1a00006 e1a01005 e51b2044 e1a03004
[   71.262026] 
[   71.262026] SP: 0xc169bd00:
[   71.266748] bd00  c003d9f4 c003d960 00000004 c169bd18 c169bd34 c005ef8c 60000013 ffffffff
[   71.275836] bd20  c169bd6c 00000000 c169bdc4 c169bd38 c000d898 c00085a0 c163b630 c169bdd8
[   71.284914] bd40  00000fff 07e007e0 c163b630 c1682dc0 000000e6 c1c020ec 00000000 000000a8
[   71.293998] bd60  c163b630 c169bdc4 c169bdc8 c169bd80 c007483c c005ef8c 60000013 ffffffff
[   71.303082] bd80  80000093 c04ae9e0 00000000 c04ae9e0 07e007e0 c169bdd8 00988bc2 c163b630
[   71.312169] bda0  000000a8 00000000 c19e8a80 00000000 000000a8 c147edb8 c169be14 c169bdc8
[   71.321254] bdc0  c007483c c005ef6c c169bfb0 ffffffff b6ea7000 00000000 000000a8 000000e6
[   71.330332] bde0  b6ea7000 00000000 c169be04 c163b630 c16ac29c 000000e6 c147edb8 00000000
[   71.339421] 
[   71.339421] IP: 0xc169bd48:
[   71.344143] bd48  c163b630 c1682dc0 000000e6 c1c020ec 00000000 000000a8 c163b630 c169bdc4
[   71.353230] bd68  c169bdc8 c169bd80 c007483c c005ef8c 60000013 ffffffff 80000093 c04ae9e0
[   71.362307] bd88  00000000 c04ae9e0 07e007e0 c169bdd8 00988bc2 c163b630 000000a8 00000000
[   71.371392] bda8  c19e8a80 00000000 000000a8 c147edb8 c169be14 c169bdc8 c007483c c005ef6c
[   71.380474] bdc8  c169bfb0 ffffffff b6ea7000 00000000 000000a8 000000e6 b6ea7000 00000000
[   71.389554] bde8  c169be04 c163b630 c16ac29c 000000e6 c147edb8 00000000 000000a8 c19e8a80
[   71.398637] be08  c169be64 c169be18 c0077718 c00747a4 000000e6 000000a8 00000000 c19e8a80
[   71.407719] be28  c169be84 c169be38 c0077a38 c0015240 00000001 b6ea7000 c147c000 000005b7
[   71.416802] 
[   71.416802] FP: 0xc169bd44:
[   71.421524] bd44  07e007e0 c163b630 c1682dc0 000000e6 c1c020ec 00000000 000000a8 c163b630
[   71.430608] bd64  c169bdc4 c169bdc8 c169bd80 c007483c c005ef8c 60000013 ffffffff 80000093
[   71.439691] bd84  c04ae9e0 00000000 c04ae9e0 07e007e0 c169bdd8 00988bc2 c163b630 000000a8
[   71.448775] bda4  00000000 c19e8a80 00000000 000000a8 c147edb8 c169be14 c169bdc8 c007483c
[   71.457861] bdc4  c005ef6c c169bfb0 ffffffff b6ea7000 00000000 000000a8 000000e6 b6ea7000
[   71.466938] bde4  00000000 c169be04 c163b630 c16ac29c 000000e6 c147edb8 00000000 000000a8
[   71.476023] be04  c19e8a80 c169be64 c169be18 c0077718 c00747a4 000000e6 000000a8 00000000
[   71.485106] be24  c19e8a80 c169be84 c169be38 c0077a38 c0015240 00000001 b6ea7000 c147c000
[   71.494194] 
[   71.494194] R0: 0xc163b5b0:
[   71.498917] b5b0  00000000 00000000 00000176 c163b5bc c163b5bc 00000000 00000000 00000000
[   71.507999] b5d0  c1820f00 00000000 00b23000 00b44000 c163ba50 c169cb00 c169cd79 c163bab8
[   71.517087] b5f0  c169cab8 b6298000 c19e8d80 0000018f 00100077 00000000 00000000 00000000
[   71.526173] b610  00000000 c146d6e8 c146d6e8 c14456e0 00000000 00000b23 00000000 00000000
[   71.535253] b630  b6dc1000 b6efa000 c169c1b8 c163b580 c169c4e1 00000000 c163b590 b6c37000
[   71.544333] b650  c19e8a80 0000018f 00000075 c169c8c5 00000000 c169cd94 00000138 c163b66c
[   71.553422] b670  c163b66c 00000000 c030e4e0 00000000 c1682dc0 00000000 c163b738 000b4000
[   71.562509] b690  c163b580 c163b738 c163b6f1 c163b590 c163b748 00008000 c19e8900 0000018f
[   71.571598] 
[   71.571598] R1: 0xc169bd58:
[   71.576321] bd58  00000000 000000a8 c163b630 c169bdc4 c169bdc8 c169bd80 c007483c c005ef8c
[   71.585403] bd78  60000013 ffffffff 80000093 c04ae9e0 00000000 c04ae9e0 07e007e0 c169bdd8
[   71.594487] bd98  00988bc2 c163b630 000000a8 00000000 c19e8a80 00000000 000000a8 c147edb8
[   71.603572] bdb8  c169be14 c169bdc8 c007483c c005ef6c c169bfb0 ffffffff b6ea7000 00000000
[   71.612662] bdd8  000000a8 000000e6 b6ea7000 00000000 c169be04 c163b630 c16ac29c 000000e6
[   71.621742] bdf8  c147edb8 00000000 000000a8 c19e8a80 c169be64 c169be18 c0077718 c00747a4
[   71.630826] be18  000000e6 000000a8 00000000 c19e8a80 c169be84 c169be38 c0077a38 c0015240
[   71.639909] be38  00000001 b6ea7000 c147c000 000005b7 c147edb8 c19e8a80 c163b630 000000a8
[   71.648994] 
[   71.648994] R4: 0xc163b5b0:
[   71.653717] b5b0  00000000 00000000 00000176 c163b5bc c163b5bc 00000000 00000000 00000000
[   71.662802] b5d0  c1820f00 00000000 00b23000 00b44000 c163ba50 c169cb00 c169cd79 c163bab8
[   71.671891] b5f0  c169cab8 b6298000 c19e8d80 0000018f 00100077 00000000 00000000 00000000
[   71.680972] b610  00000000 c146d6e8 c146d6e8 c14456e0 00000000 00000b23 00000000 00000000
[   71.690048] b630  b6dc1000 b6efa000 c169c1b8 c163b580 c169c4e1 00000000 c163b590 b6c37000
[   71.699130] b650  c19e8a80 0000018f 00000075 c169c8c5 00000000 c169cd94 00000138 c163b66c
[   71.708212] b670  c163b66c 00000000 c030e4e0 00000000 c1682dc0 00000000 c163b738 000b4000
[   71.717289] b690  c163b580 c163b738 c163b6f1 c163b590 c163b748 00008000 c19e8900 0000018f
[   71.726372] 
[   71.726372] R5: 0xc1682d40:
[   71.731095] 2d40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   71.740174] 2d60  00000000 c14505a0 00000000 00000000 00000000 00000000 00000000 00000000
[   71.749255] 2d80  00000000 00000000 00000000 00000000 00000000 c1682d94 c1682d94 c1682d9c
[   71.758341] 2da0  c1682d9c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   71.767419] 2dc0  c1682f00 c19c2864 c1820830 c1413e58 c1c02038 c030f12c 00000004 00000000
[   71.776497] 2de0  0000001d 00000000 00000200 00000000 00000000 00000000 00000000 00000000
[   71.785574] 2e00  00000000 c14505a0 00000000 00000000 00000000 00000020 00000000 00000000
[   71.794655] 2e20  00000200 00000000 00000000 00000000 00000000 c1682e34 c1682e34 c1682e3c
[   71.803739] 
[   71.803739] R7: 0xc1c0206c:
[   71.808462] 206c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.817550] 208c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.826635] 20ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.835722] 20cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.844809] 20ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.853890] 210c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.862979] 212c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.872064] 214c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   71.881154] 
[   71.881154] R10: 0xc163b5b0:
[   71.885971] b5b0  00000000 00000000 00000176 c163b5bc c163b5bc 00000000 00000000 00000000
[   71.895051] b5d0  c1820f00 00000000 00b23000 00b44000 c163ba50 c169cb00 c169cd79 c163bab8
[   71.904132] b5f0  c169cab8 b6298000 c19e8d80 0000018f 00100077 00000000 00000000 00000000
[   71.913217] b610  00000000 c146d6e8 c146d6e8 c14456e0 00000000 00000b23 00000000 00000000
[   71.922298] b630  b6dc1000 b6efa000 c169c1b8 c163b580 c169c4e1 00000000 c163b590 b6c37000
[   71.931381] b650  c19e8a80 0000018f 00000075 c169c8c5 00000000 c169cd94 00000138 c163b66c
[   71.940458] b670  c163b66c 00000000 c030e4e0 00000000 c1682dc0 00000000 c163b738 000b4000
[   71.949538] b690  c163b580 c163b738 c163b6f1 c163b590 c163b748 00008000 c19e8900 0000018f
[   71.958635] Process fb-test (pid: 56, stack limit = 0xc169a1b8)
[   71.965177] Stack: (0xc169bd80 to 0xc169c000)
[   71.970411] bd80: 80000093 c04ae9e0 00000000 c04ae9e0 07e007e0 c169bdd8 00988bc2 c163b630
[   71.979650] bda0: 000000a8 00000000 c19e8a80 00000000 000000a8 c147edb8 c169be14 c169bdc8
[   71.988794] bdc0: c007483c c005ef6c c169bfb0 ffffffff b6ea7000 00000000 000000a8 000000e6
[   71.997904] bde0: b6ea7000 00000000 c169be04 c163b630 c16ac29c 000000e6 c147edb8 00000000
[   72.007011] be00: 000000a8 c19e8a80 c169be64 c169be18 c0077718 c00747a4 000000e6 000000a8
[   72.016109] be20: 00000000 c19e8a80 c169be84 c169be38 c0077a38 c0015240 00000001 b6ea7000
[   72.025208] be40: c147c000 000005b7 c147edb8 c19e8a80 c163b630 000000a8 c169be9c c169be68
[   72.034307] be60: c0077b54 c00774b0 c147edb8 000000a8 c163b580 b6ea79ac c169bfb0 c1452fc0
[   72.043409] be80: 000000a8 c19e8a80 c163b630 80000005 c169bedc c169bea0 c0014c18 c0077aac
[   72.052477] bea0: c169bebc c169beb0 00000000 c19e8abc c169befc 80000005 c046edd0 b6ea79ac
[   72.061588] bec0: c169bfb0 b6f41e00 b6f1aadc 00000000 c169bf04 c169bee0 c0014e00 c0014b00
[   72.070691] bee0: c0014ddc 00000005 c046edd0 b6ea79ac c169bfb0 b6f41e00 c169bfac c169bf08
[   72.079790] bf00: c000866c c0014dec c00210a4 c0020e58 00000000 ffffffff 00000004 ffffa68f
[   72.088888] bf20: c0057f78 60000093 00000000 ffffffff 00000000 01400000 c169bf64 c169bf48
[   72.097987] bf40: c005a7dc c005a6c4 0000000d 00000000 ffffffff 0001295c c169bf7c c169bf68
[   72.107088] bf60: c0021430 c005a780 00000100 0000000d c169bf94 c169bf80 c000ebb4 c0021384
[   72.116191] bf80: c04b38e0 c169bfb0 c169bfac 00008750 b6ea79ac a0000010 ffffffff bec1bcb8
[   72.125292] bfa0: 00000000 c169bfb0 c000dbf8 c0008640 b6f1acb0 b6f04e08 b6f04e18 fffffff8
[   72.134396] bfc0: 00000004 b6f3f658 00000001 bec1bcb8 b6f41e00 b6f1aadc 00000000 bec1bd2c
[   72.143517] bfe0: 00000000 bec1bca0 b6f0a7d0 b6ea79ac a0000010 ffffffff 00000000 00000000
[   72.152560] Backtrace: 
[   72.155382] [<c005ef5c>] (filemap_fault+0x0/0x39c) from [<c007483c>] (__do_fault+0xa8/0x448)
[   72.164796] [<c0074794>] (__do_fault+0x0/0x448) from [<c0077718>] (handle_pte_fault+0x278/0x5fc)
[   72.174583] [<c00774a0>] (handle_pte_fault+0x0/0x5fc) from [<c0077b54>] (handle_mm_fault+0xb8/0xcc)
[   72.184660] [<c0077a9c>] (handle_mm_fault+0x0/0xcc) from [<c0014c18>] (do_page_fault+0x128/0x278)
[   72.194535] [<c0014af0>] (do_page_fault+0x0/0x278) from [<c0014e00>] (do_translation_fault+0x24/0xbc)
[   72.204800] [<c0014ddc>] (do_translation_fault+0x0/0xbc) from [<c000866c>] (do_PrefetchAbort+0x3c/0xa0)
[   72.215232]  r8:b6f41e00 r7:c169bfb0 r6:b6ea79ac r5:c046edd0 r4:00000005
r3:c0014ddc
[   72.224007] [<c0008630>] (do_PrefetchAbort+0x0/0xa0) from [<c000dbf8>] (ret_from_exception+0x0/0x10)
[   72.234144] Exception stack(0xc169bfb0 to 0xc169bff8)
[   72.239749] bfa0:                                     b6f1acb0 b6f04e08 b6f04e18 fffffff8
[   72.248847] bfc0: 00000004 b6f3f658 00000001 bec1bcb8 b6f41e00 b6f1aadc 00000000 bec1bd2c
[   72.257943] bfe0: 00000000 bec1bca0 b6f0a7d0 b6ea79ac a0000010 ffffffff
[   72.265293]  r7:bec1bcb8 r6:ffffffff r5:a0000010 r4:b6ea79ac
[   72.271595] Code: e5973000 e1a0a000 e50b1030 e50b3034 (e1c303d0) 
[   72.278381] ---[ end trace 0bd2973d6b25fb2b ]---
[   72.283912] Unable to handle kernel paging request at virtual address 07e007e0
[   72.291926] pgd = c0004000
[   72.295043] [07e007e0] *pgd=00000000
[   72.299022] Internal error: Oops: 805 [#2] ARM
[   72.303931] Modules linked in:
[   72.307326] CPU: 0 PID: 56 Comm: fb-test Tainted: G      D      3.10.65 #85
[   72.315030] task: c1452fc0 ti: c169a000 task.ti: c169a000
[   72.321048] PC is at __mutex_lock_slowpath+0x3c/0xb4
[   72.326546] LR is at mutex_lock+0x3c/0x40
[   72.330989] pc : [<c0307bb4>]    lr : [<c0307eb4>]    psr: 80000013
[   72.330989] sp : c169ba40  ip : c169ba70  fp : c169ba6c
[   72.343682] r10: b6c4a000  r9 : c169c1b8  r8 : c163b580
[   72.349462] r7 : c163b630  r6 : c1452fc0  r5 : c1c02110  r4 : c1c0210c
[   72.356684] r3 : 07e007e0  r2 : c169ba44  r1 : c19cd378  r0 : c1c0210c
[   72.363904] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   72.371797] Control: 0005317f  Table: 8147c000  DAC: 00000015
[   72.378149] 
[   72.378149] PC: 0xc0307b34:
[   72.382872] 7b34  e1a03000 e3a02000 e1030092 e3500000 a89da800 e1032090 e1c20fc2 e89da800
[   72.391962] 7b54  e1a0c00d e92dd800 e24cb004 e3a02001 e1003092 e3530000 089da800 ebffffe3
[   72.401047] 7b74  e89da800 e1a0c00d e92dd870 e24cb004 e24dd014 e1a0200d e3c23d7f e3c3303f
[   72.410133] 7b94  e593600c e1a04000 e5903008 e24b2028 e2805004 e50b3024 e5802008 e50b5028
[   72.419217] 7bb4  e5832000 e5903000 e50b6020 e3530000 ba000003 e3e02000 e1003092 e3530001
[   72.428302] 7bd4  0a00000a e5943000 e3530000 ba000003 e3e02000 e1043092 e3530001 0a000003
[   72.437390] 7bf4  e3a03002 e5863000 eb00050e eafffff4 e51b3024 e51b2028 e5823004 e5832000
[   72.446475] 7c14  e5943004 e1530005 03a03000 05843000 e24bd018 e89da870 e1a0c00d e92dd870
[   72.455562] 
[   72.455562] LR: 0xc0307e34:
[   72.460283] 7e34  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb000307 e3a00000 e1043090
[   72.469366] 7e54  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffffa8
[   72.478450] 7e74  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb0002f7 e3a02000 e1043092
[   72.487539] 7e94  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffff30
[   72.496621] 7eb4  e89da818 e1a0c00d e92dd8f0 e24cb004 e24dd008 e1a0200d e3c23d7f e3c3303f
[   72.505703] 7ed4  e1a07001 e593100c e1a06000 ebf4c5bd e1a0200d e3c23d7f e3c3303f e593300c
[   72.514790] 7ef4  e3a02001 e5832000 e1c641d8 e1c621d0 e0522004 e0c33005 e58d2000 e1a03005
[   72.523874] 7f14  e1a00006 e1a02004 e58d7004 ebf4c80a e5963028 e3530000 05863030 e5963030
[   72.532955] 
[   72.532955] SP: 0xc169b9c0:
[   72.537677] b9c0  c169b9e4 c169b9d0 c05134fc 00000000 c04a6de4 c0307bb4 80000013 ffffffff
[   72.546760] b9e0  c169ba2c c163b580 c169ba6c c169b9f8 c000d898 c00085a0 c1c0210c c19cd378
[   72.555844] ba00  c169ba44 07e007e0 c1c0210c c1c02110 c1452fc0 c163b630 c163b580 c169c1b8
[   72.564930] ba20  b6c4a000 c169ba6c c169ba70 c169ba40 c0307eb4 c0307bb4 80000013 ffffffff
[   72.574007] ba40  c04b1720 c1c02110 07e007e0 c19e3b00 c19cd384 c1c0210c c1c020ec c1682dc0
[   72.583092] ba60  c169ba84 c169ba70 c0307eb4 c0307b88 b6fc1000 c1c0210c c169baa4 c169ba88
[   72.592179] ba80  c0079fe8 c0307e88 c163b630 00002000 c169bae0 00000000 c169badc c169baa8
[   72.601262] baa0  c00750c4 c0079fcc b6c4a000 c169bab8 c0076ba4 c19e8a80 c169c318 00000000
[   72.610349] 
[   72.610349] IP: 0xc169b9f0:
[   72.615070] b9f0  c000d898 c00085a0 c1c0210c c19cd378 c169ba44 07e007e0 c1c0210c c1c02110
[   72.624151] ba10  c1452fc0 c163b630 c163b580 c169c1b8 b6c4a000 c169ba6c c169ba70 c169ba40
[   72.633236] ba30  c0307eb4 c0307bb4 80000013 ffffffff c04b1720 c1c02110 07e007e0 c19e3b00
[   72.642318] ba50  c19cd384 c1c0210c c1c020ec c1682dc0 c169ba84 c169ba70 c0307eb4 c0307b88
[   72.651401] ba70  b6fc1000 c1c0210c c169baa4 c169ba88 c0079fe8 c0307e88 c163b630 00002000
[   72.660479] ba90  c169bae0 00000000 c169badc c169baa8 c00750c4 c0079fcc b6c4a000 c169bab8
[   72.669568] bab0  c0076ba4 c19e8a80 c169c318 00000000 c19e8abc 00000000 00000015 00000001
[   72.678652] bad0  c169bb44 c169bae0 c007b4d0 c0075080 c19e8a80 00000001 00000000 00000000
[   72.687731] 
[   72.687731] FP: 0xc169b9ec:
[   72.692452] b9ec  c169b9f8 c000d898 c00085a0 c1c0210c c19cd378 c169ba44 07e007e0 c1c0210c
[   72.701540] ba0c  c1c02110 c1452fc0 c163b630 c163b580 c169c1b8 b6c4a000 c169ba6c c169ba70
[   72.710618] ba2c  c169ba40 c0307eb4 c0307bb4 80000013 ffffffff c04b1720 c1c02110 07e007e0
[   72.719702] ba4c  c19e3b00 c19cd384 c1c0210c c1c020ec c1682dc0 c169ba84 c169ba70 c0307eb4
[   72.728793] ba6c  c0307b88 b6fc1000 c1c0210c c169baa4 c169ba88 c0079fe8 c0307e88 c163b630
[   72.737879] ba8c  00002000 c169bae0 00000000 c169badc c169baa8 c00750c4 c0079fcc b6c4a000
[   72.746960] baac  c169bab8 c0076ba4 c19e8a80 c169c318 00000000 c19e8abc 00000000 00000015
[   72.756047] bacc  00000001 c169bb44 c169bae0 c007b4d0 c0075080 c19e8a80 00000001 00000000
[   72.765132] 
[   72.765132] R0: 0xc1c0208c:
[   72.769855] 208c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.778930] 20ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.788020] 20cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.797108] 20ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.806199] 210c  ffffffff 07e007e0 c169ba44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.815287] 212c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.824375] 214c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.833463] 216c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   72.842550] 
[   72.842550] R1: 0xc19cd2f8:
[   72.847273] d2f8  00000001 09896616 00000000 0000000c 00000000 00000000 00000001 c19cd314
[   72.856353] d318  c19cd314 00000000 00000000 00000000 c19cd328 c19cd328 c19cd330 c19cd330
[   72.865430] d338  c19cd1f0 c19cd480 c1413080 00000000 00000000 00000000 00000001 00000000
[   72.874513] d358  00000000 c030f198 00000000 c19cd2b0 00000000 00000020 00000000 00000000
[   72.883591] d378  00000000 c19cd37c c19cd37c 00000001 c19cd388 c19cd388 00000000 00000000
[   72.892673] d398  c030f458 000200da c046c0d8 c19cd3a4 c19cd3a4 00000000 c186496c c186496c
[   72.901754] d3b8  c1864940 00000001 00000000 00000000 c04bd1a4 00000000 c19cd3d8 00000000
[   72.910836] d3d8  00200000 00000000 00000000 c19cd3e4 c19cd3e4 c19cd3ec c19cd3ec 00000000
[   72.919920] 
[   72.919920] R2: 0xc169b9c4:
[   72.924643] b9c4  c169b9d0 c05134fc 00000000 c04a6de4 c0307bb4 80000013 ffffffff c169ba2c
[   72.933727] b9e4  c163b580 c169ba6c c169b9f8 c000d898 c00085a0 c1c0210c c19cd378 c169ba44
[   72.942814] ba04  07e007e0 c1c0210c c1c02110 c1452fc0 c163b630 c163b580 c169c1b8 b6c4a000
[   72.951896] ba24  c169ba6c c169ba70 c169ba40 c0307eb4 c0307bb4 80000013 ffffffff c04b1720
[   72.960978] ba44  c1c02110 07e007e0 c19e3b00 c19cd384 c1c0210c c1c020ec c1682dc0 c169ba84
[   72.970066] ba64  c169ba70 c0307eb4 c0307b88 b6fc1000 c1c0210c c169baa4 c169ba88 c0079fe8
[   72.979150] ba84  c0307e88 c163b630 00002000 c169bae0 00000000 c169badc c169baa8 c00750c4
[   72.988233] baa4  c0079fcc b6c4a000 c169bab8 c0076ba4 c19e8a80 c169c318 00000000 c19e8abc
[   72.997319] 
[   72.997319] R4: 0xc1c0208c:
[   73.002042] 208c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.011127] 20ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.020212] 20cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.029300] 20ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.038385] 210c  ffffffff 07e007e0 c169ba44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.047467] 212c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.056556] 214c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.065638] 216c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.074724] 
[   73.074724] R5: 0xc1c02090:
[   73.079445] 2090  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.088533] 20b0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.097621] 20d0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.106710] 20f0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 ffffffff
[   73.115790] 2110  07e007e0 c169ba44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.124879] 2130  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.133964] 2150  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.143040] 2170  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   73.152132] 
[   73.152132] R6: 0xc1452f40:
[   73.156855] 2f40  00000000 00000000 00000000 00000000 00000000 00000001 00000002 c1452f5c
[   73.165940] 2f60  c1452f5c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   73.175022] 2f80  00000000 00000000 00000000 c1452f8c c1452f8c 00000000 00000000 00000000
[   73.184105] 2fa0  00000000 00000000 00000000 00000000 00000020 00000000 0000c350 0000c350
[   73.193186] 2fc0  00000000 c169a000 00000002 00400104 00000000 00000001 00000078 00000078
[   73.202268] 2fe0  00000078 00000000 c030deac 00000000 00000400 00400000 c1452d58 00000000
[   73.211353] 3000  00000000 c1453004 c1453004 00000001 d51dd2d2 00000010 169c290b 00000000
[   73.220435] 3020  9b9f7e6f 00000000 15ed8cd9 00000000 00000000 00000000 c1453038 c1453038
[   73.229521] 
[   73.229521] R7: 0xc163b5b0:
[   73.234243] b5b0  00000000 00000000 00000176 c163b5bc c163b5bc 00000000 00000000 00000000
[   73.243323] b5d0  c1820f00 00000000 00b23000 00b44000 c163ba50 c169cb00 c169cd79 c163bab8
[   73.252406] b5f0  c169cab8 b6298000 c19e8d80 0000018f 00100077 00000000 00000000 00000000
[   73.261488] b610  00000000 c146d6e8 c146d6e8 c14456e0 00000000 00000b23 00000000 00000000
[   73.270564] b630  b6dc1000 b6efa000 c169c1b8 c163b580 c169c4e1 00000000 c163b590 b6c37000
[   73.279650] b650  c19e8a80 0000018f 00000075 c169c8c5 00000000 c169cd94 00000138 c163b66c
[   73.288731] b670  c163b66c 00000000 c030e4e0 00000000 c1682dc0 00000000 c163b738 000b4000
[   73.297814] b690  c163b580 c163b738 c163b6f1 c163b590 c163b748 00008000 c19e8900 0000018f
[   73.306899] 
[   73.306899] R8: 0xc163b500:
[   73.311623] b500  c169c084 c169c86c 00000140 c19e3a68 c19e3a68 c1445080 c030e4e0 0000013b
[   73.320710] b520  c144a500 00000000 b6f5a000 b6f5b000 c163b000 c163b1b8 c163b010 00000000
[   73.329799] b540  00000000 00000000 c19e8000 0000018f 00100877 c163b1e4 c146cb2c c146c70c
[   73.338883] b560  0000001f c19e3a88 c19e3a88 c1445040 c030e4e0 0000001f c1820a00 00000000
[   73.347972] b580  b6c4a000 b6dc1000 c163b630 c169c4d0 c163b640 00000000 00000000 b6c37000
[   73.357047] b5a0  c19e8a80 00000107 040444ff 00000001 00000000 00000000 00000176 c163b5bc
[   73.366133] b5c0  c163b5bc 00000000 00000000 00000000 c1820f00 00000000 00b23000 00b44000
[   73.375218] b5e0  c163ba50 c169cb00 c169cd79 c163bab8 c169cab8 b6298000 c19e8d80 0000018f
[   73.384307] 
[   73.384307] R9: 0xc169c138:
[   73.389030] c138  00000000 00000000 00000000 c146da68 c146da68 c1445680 00000000 00001f86
[   73.398109] c158  00000000 00000000 b6f08000 b6f13000 c169cf78 c163b7e8 c163b7f9 00000000
[   73.407192] c178  00000000 00000000 c19e8a80 0000018f 00000075 c169c39c 00000000 00000000
[   73.416273] c198  0000000a c169c19c c169c19c 00000000 c030e4e0 00000000 c1682f00 00000000
[   73.425352] c1b8  b6efa000 b6f02000 c163b9a0 c163b630 c169cf89 c163b7f8 c169c4e0 b6c37000
[   73.434432] c1d8  c19e8a80 00000a8f 00000070 c169cd3d c163b9cc c169ce44 00000140 c169c1f4
[   73.443514] c1f8  c169c1f4 00000000 c030e4e0 00000139 c1682dc0 00000000 b6f40000 b6f41000
[   73.452594] c218  c169c2c0 c169c268 c169c2d1 00000000 00000000 00000000 c19e8a80 0000018f
[   73.461684] Process fb-test (pid: 56, stack limit = 0xc169a1b8)
[   73.468231] Stack: (0xc169ba40 to 0xc169c000)
[   73.475093] Unable to handle kernel paging request at virtual address 07e007dc
[   73.483226] pgd = c1688000
[   73.486227] [07e007dc] *pgd=00000000
[   73.490199] Internal error: Oops: 5 [#3] ARM
[   73.494919] Modules linked in:
[   73.498315] CPU: 0 PID: 45 Comm: syslogd Tainted: G      D      3.10.65 #85
[   73.506019] task: c1452a80 ti: c1680000 task.ti: c1680000
[   73.512030] PC is at __d_lookup_rcu+0x58/0x11c
[   73.516956] LR is at lookup_fast+0x44/0x26c
[   73.521590] pc : [<c009ef24>]    lr : [<c0095774>]    psr: 20000013
[   73.521590] sp : c1681db8  ip : c1681e00  fp : c1681dfc
[   73.534287] r10: c1681e04  r9 : 00000003  r8 : 0029ab98
[   73.540068] r7 : c1681ee8  r6 : c1413660  r5 : 07e007e0  r4 : 07e007d8
[   73.547286] r3 : 07e007e0  r2 : 07e007e0  r1 : 00000014  r0 : c1413660
[   73.554508] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   73.562399] Control: 0005317f  Table: 81688000  DAC: 00000015
[   73.568753] 
[   73.568753] PC: 0xc009eea4:
[   73.573474] eea4  e1a01000 e50b0020 e1a00005 ebffd570 e24b1014 e5210010 e1a00004 ebffffda
[   73.582568] eec4  e24bd014 e89da830 e1a0c00d e92ddff0 e24cb004 e24dd01c e50b3038 e5913008
[   73.591650] eee4  e1c180d0 e1a07001 e59f10ec e1a0a002 e50b3030 e08822a0 e59f30e0 e0020291
[   73.600735] ef04  e5931004 e5933000 e2611020 e1a02132 e1a06000 e7935102 e50b9034 ea000027
[   73.609819] ef24  e5943004 e5942010 e1520006 1a000022 e594200c e3520000 0a00001f e3c33001
[   73.618903] ef44  e58a3000 e5962000 e3120002 0a00000c e5942018 e1520008 1a000017 e1a00006
[   73.627991] ef64  e51b1038 e1a02004 e58d7000 ebfff982 e3500000 0a000015 e3500001 1affffe7
[   73.637075] ef84  ea00000d e1c421d8 e1530009 01520008 1a000009 e5941020 e51b2030 e51b3034
[   73.646167] 
[   73.646167] LR: 0xc00956f4:
[   73.650889] 56f4  e24bd018 e89da870 e1a0c00d e92dd830 e24cb004 e1a04000 e1a05001 e5900004
[   73.659979] 5714  eb0023c9 e5940000 e5953000 e1500003 089da830 eb003cc5 e89da830 e1a0c00d
[   73.669060] 5734  e92ddff0 e24cb004 e24dd00c e5903024 e1a05001 e3130040 e1a04000 e1a07002
[   73.678143] 5754  e590a000 e5906004 e2801008 0a000051 e1a00006 e24b2030 e5943020 eb0025d5
[   73.687227] 5774  e2508000 0a000041 e5983028 e5873000 e51b3030 e5982004 e1520003 1a000075
[   73.696310] 5794  e5962004 e5943028 e1520003 1a000071 e51b3030 e5843028 e5983000 e3130004
[   73.705393] 57b4  03a06001 0a000009 e5983058 e5941024 e5933000 e12fff33 e2506000 ca000003
[   73.714481] 57d4  e376000a 13a09000 03a09001 ea00002b e585a000 e5858004 e5950004 e5903000
[   73.723567] 
[   73.723567] SP: 0xc1681d38:
[   73.728288] 1d38  c0261d9c c008951c c1681d64 c1681d50 c02626d4 c009ef24 20000013 ffffffff
[   73.737370] 1d58  c1681da4 0029ab98 c1681dfc c1681d70 c000d898 c00085a0 c1413660 00000014
[   73.746451] 1d78  07e007e0 07e007e0 07e007d8 07e007e0 c1413660 c1681ee8 0029ab98 00000003
[   73.755533] 1d98  c1681e04 c1681dfc c1681e00 c1681db8 c0095774 c009ef24 20000013 ffffffff
[   73.764616] 1db8  c02d9d2c c0307b64 c1681e14 c1c00038 00000003 c1691011 c1681dec c1681ee0
[   73.773699] 1dd8  c1681e54 c1413660 c1681e5c c1681ee8 c1680000 c1820830 c1681e34 c1681e00
[   73.782782] 1df8  c0095774 c009eedc 00000000 c1681f60 c1681e24 c1681ee0 00000000 c1691015
[   73.791860] 1e18  c1691014 c1681ee8 c1680000 c1691014 c1681e84 c1681e38 c0095e28 c0095740
[   73.800943] 
[   73.800943] IP: 0xc1681d80:
[   73.805666] 1d80  07e007d8 07e007e0 c1413660 c1681ee8 0029ab98 00000003 c1681e04 c1681dfc
[   73.814751] 1da0  c1681e00 c1681db8 c0095774 c009ef24 20000013 ffffffff c02d9d2c c0307b64
[   73.823833] 1dc0  c1681e14 c1c00038 00000003 c1691011 c1681dec c1681ee0 c1681e54 c1413660
[   73.832913] 1de0  c1681e5c c1681ee8 c1680000 c1820830 c1681e34 c1681e00 c0095774 c009eedc
[   73.841993] 1e00  00000000 c1681f60 c1681e24 c1681ee0 00000000 c1691015 c1691014 c1681ee8
[   73.851077] 1e20  c1680000 c1691014 c1681e84 c1681e38 c0095e28 c0095740 0029ab98 00000003
[   73.860165] 1e40  c1691011 c0089cd8 c1681e84 c1681e58 c009656c c003d2c8 c1681e84 c1681e68
[   73.869246] 1e60  c1681ee0 c1682140 c1691000 00000000 c1681f60 00000041 c1681ed4 c1681e88
[   73.878332] 
[   73.878332] FP: 0xc1681d7c:
[   73.883053] 1d7c  07e007e0 07e007d8 07e007e0 c1413660 c1681ee8 0029ab98 00000003 c1681e04
[   73.892134] 1d9c  c1681dfc c1681e00 c1681db8 c0095774 c009ef24 20000013 ffffffff c02d9d2c
[   73.901212] 1dbc  c0307b64 c1681e14 c1c00038 00000003 c1691011 c1681dec c1681ee0 c1681e54
[   73.910292] 1ddc  c1413660 c1681e5c c1681ee8 c1680000 c1820830 c1681e34 c1681e00 c0095774
[   73.919374] 1dfc  c009eedc 00000000 c1681f60 c1681e24 c1681ee0 00000000 c1691015 c1691014
[   73.928458] 1e1c  c1681ee8 c1680000 c1691014 c1681e84 c1681e38 c0095e28 c0095740 0029ab98
[   73.937538] 1e3c  00000003 c1691011 c0089cd8 c1681e84 c1681e58 c009656c c003d2c8 c1681e84
[   73.946619] 1e5c  c1681e68 c1681ee0 c1682140 c1691000 00000000 c1681f60 00000041 c1681ed4
[   73.955705] 
[   73.955705] R0: 0xc14135e0:
[   73.960427] 35e0  00000000 c051e6ec c1413660 00000000 0023ee05 00000003 c1413604 00000000
[   73.969510] 3600  c1c00198 00766564 692e6472 6567616d 00000000 00000000 00000000 00000000
[   73.978591] 3620  00000000 00000000 00000000 00000001 00000000 c19c2800 00000000 00000000
[   73.987673] 3640  c1413640 c1413640 c14136d8 c14137e0 c1413650 c1413650 00000000 c1c00228
[   73.996756] 3660  00000000 00000002 00000000 00000000 c1413660 00000000 00000000 00000001
[   74.005838] 3680  c141368c 00000000 c1c00038 746f002f 00000000 00000000 00000000 00000000
[   74.014923] 36a0  00000000 00000000 00000000 00000000 00000000 00000024 00000000 c19c2800
[   74.024005] 36c0  00000000 00000000 c14136c8 c14136c8 c14136d0 c14136d0 c1ff3ca8 c1413648
[   74.033090] 
[   74.033090] R6: 0xc14135e0:
[   74.037813] 35e0  00000000 c051e6ec c1413660 00000000 0023ee05 00000003 c1413604 00000000
[   74.046895] 3600  c1c00198 00766564 692e6472 6567616d 00000000 00000000 00000000 00000000
[   74.055976] 3620  00000000 00000000 00000000 00000001 00000000 c19c2800 00000000 00000000
[   74.065058] 3640  c1413640 c1413640 c14136d8 c14137e0 c1413650 c1413650 00000000 c1c00228
[   74.074148] 3660  00000000 00000002 00000000 00000000 c1413660 00000000 00000000 00000001
[   74.083231] 3680  c141368c 00000000 c1c00038 746f002f 00000000 00000000 00000000 00000000
[   74.092313] 36a0  00000000 00000000 00000000 00000000 00000000 00000024 00000000 c19c2800
[   74.101395] 36c0  00000000 00000000 c14136c8 c14136c8 c14136d0 c14136d0 c1ff3ca8 c1413648
[   74.110484] 
[   74.110484] R7: 0xc1681e68:
[   74.115205] 1e68  c1691000 00000000 c1681f60 00000041 c1681ed4 c1681e88 c0098ba0 c0095c70
[   74.124290] 1e88  c1681ea4 c1681ec0 c1682780 000000ff c16845a0 c1681f78 00000000 00000000
[   74.133368] 1ea8  c1681f44 c1681f60 00000001 ffffff9c c1691000 c000de08 c1680000 00000000
[   74.142451] 1ec8  c1681f54 c1681ed8 c00991f4 c0098b24 00000041 00000000 c1820830 c1413660
[   74.151531] 1ee8  0029ab98 00000003 c1691011 c0089cd8 c1820830 c1413660 c1c00038 00000051
[   74.160611] 1f08  00000002 00000000 00000000 c00a2c08 00020d41 00020d41 ffffff9c c1691000
[   74.169695] 1f28  00000001 c000de08 c1680000 00000000 00000004 ffffff9c c1691000 00000001
[   74.178777] 1f48  c1681f94 c1681f58 c008be50 c00991d0 c1680000 00000000 00020d41 c16881b6
[   74.187860] 
[   74.187860] R10: 0xc1681d84:
[   74.192679] 1d84  07e007e0 c1413660 c1681ee8 0029ab98 00000003 c1681e04 c1681dfc c1681e00
[   74.201764] 1da4  c1681db8 c0095774 c009ef24 20000013 ffffffff c02d9d2c c0307b64 c1681e14
[   74.210847] 1dc4  c1c00038 00000003 c1691011 c1681dec c1681ee0 c1681e54 c1413660 c1681e5c
[   74.219928] 1de4  c1681ee8 c1680000 c1820830 c1681e34 c1681e00 c0095774 c009eedc 00000000
[   74.229008] 1e04  c1681f60 c1681e24 c1681ee0 00000000 c1691015 c1691014 c1681ee8 c1680000
[   74.238087] 1e24  c1691014 c1681e84 c1681e38 c0095e28 c0095740 0029ab98 00000003 c1691011
[   74.247168] 1e44  c0089cd8 c1681e84 c1681e58 c009656c c003d2c8 c1681e84 c1681e68 c1681ee0
[   74.256252] 1e64  c1682140 c1691000 00000000 c1681f60 00000041 c1681ed4 c1681e88 c0098ba0
[   74.265344] Process syslogd (pid: 45, stack limit = 0xc16801b8)
[   74.271892] Stack: (0xc1681db8 to 0xc1682000)
[   74.278457] ba40: c04b1720 c1c02110 07e007e0 c19e3b00 c19cd384 c1c0210c c1c020ec c1682dc0
[   74.287669] ba60: c169ba84 c169ba70 c0307eb4 c0307b88 b6fc1000 c1c0210c c169baa4 c169ba88
[   74.296797] ba80: c0079fe8 c0307e88 c163b630 00002000 c169bae0 00000000 c169badc c169baa8
[   74.305908] baa0: c00750c4 c0079fcc b6c4a000 c169bab8 c0076ba4 c19e8a80 c169c318 00000000
[   74.315013] bac0: c19e8abc 00000000 00000015 00000001 c169bb44 c169bae0 c007b4d0 c0075080
[   74.324119] bae0: c19e8a80 00000001 00000000 00000000 ffffffff c169bb00 c003e3a0 00000068
[   74.333219] bb00: 00000400 c16a4000 c169bb24 c169bb18 c0308aa4 c19e8abc c1452fc0 c16a6000
[   74.342281] bb20: c169bb3c c169bb30 c003a68c c19e8a80 00000000 00000000 c169bb5c c169bb48
[   74.351401] bb40: c0018808 c007b3fc c1452fc0 c19e8a80 c169bb7c c169bb60 c001f220 c00187d0
[   74.360503] bb60: c169bb7c c169bb70 c001a9bc c169bbc2 c169bbf4 c169bb80 c0011d68 c001ef6c
[   74.369599] bb80: c169a1b8 0000000b 60000013 00000008 65010000 33373935 20303030 30613165
[   74.378696] bba0: 30303061 30356520 33303162 35652030 30336230 28203433 33633165 30643330
[   74.387792] bbc0: c0002029 c03074e4 c03e241f 07e00810 00000005 c19e8a80 c169bd38 00000000
[   74.396889] bbe0: 00010000 00000005 c169bc1c c169bbf8 c0014ad0 c0011a34 c169bd38 07e00810
[   74.405985] bc00: c169bd38 c1452fc0 00000028 c19e8a80 c169bc5c c169bc20 c0014d50 c0014a74
[   74.415081] bc20: c049f160 00000000 00000000 c19e8abc c0048d8c 00000005 00000005 07e00810
[   74.424184] bc40: c046ed80 c169bd38 000000a8 c163b630 c169bc84 c169bc60 c0014e00 c0014b00
[   74.433292] bc60: c0014ddc 00000005 00000005 07e00810 c046ed80 c169bd38 c169bd34 c169bc88
[   74.442355] bc80: c00085c8 c0014dec c169bcac c169bc98 c003e368 c003e2d0 00000001 c1452fc0
[   74.451452] bca0: c169bcc4 c169bcb0 c003e448 c003e358 c19c270c 00000001 c169bcd4 c169bcc8
[   74.460550] bcc0: c003e488 c003e408 c169bd04 c169bcd8 c003d998 c003e484 00000000 60000093
[   74.469644] bce0: 40000093 c191b498 00000000 00000060 c19c2600 a0000013 c169bd24 c169bd08
[   74.478945] bd00: c003d9f4 c003d960 00000004 c169bd18 c169bd34 c005ef8c 60000013 ffffffff
[   74.488167] bd20: c169bd6c 00000000 c169bdc4 c169bd38 c000d898 c00085a0 c163b630 c169bdd8
[   74.497310] bd40: 00000fff 07e007e0 c163b630 c1682dc0 000000e6 c1c020ec 00000000 000000a8
[   74.506431] bd60: c163b630 c169bdc4 c169bdc8 c169bd80 c007483c c005ef8c 60000013 ffffffff
[   74.515534] bd80: 80000093 c04ae9e0 00000000 c04ae9e0 07e007e0 c169bdd8 00988bc2 c163b630
[   74.524676] 1da0:                                                       c02d9d2c c0307b64
[   74.533903] bda0: 000000a8 00000000 c19e8a80 00000000 000000a8 c147edb8 c169be14 c169bdc8
[   74.543040] 1dc0: c1681e14 c1c00038 00000003 c1691011 c1681dec c1681ee0 c1681e54 c1413660
[   74.552101] 1de0: c1681e5c c1681ee8 c1680000 c1820830 c1681e34 c1681e00 c0095774 c009eedc
[   74.561216] bdc0: c007483c c005ef6c c169bfb0 ffffffff b6ea7000 00000000 000000a8 000000e6
[   74.570333] bde0: b6ea7000 00000000 c169be04 c163b630 c16ac29c 000000e6 c147edb8 00000000
[   74.579456] 1e00: 00000000 c1681f60 c1681e24 c1681ee0 00000000 c1691015 c1691014 c1681ee8
[   74.588555] be00: 000000a8 c19e8a80 c169be64 c169be18 c0077718 c00747a4 000000e6 000000a8
[   74.597672] 1e20: c1680000 c1691014 c1681e84 c1681e38 c0095e28 c0095740 0029ab98 00000003
[   74.606773] be20: 00000000 c19e8a80 c169be84 c169be38 c0077a38 c0015240 00000001 b6ea7000
[   74.615881] 1e40: c1691011 c0089cd8 c1681e84 c1681e58 c009656c c003d2c8 c1681e84 c1681e68
[   74.624983] be40: c147c000 000005b7 c147edb8 c19e8a80 c163b630 000000a8 c169be9c c169be68
[   74.634092] 1e60: c1681ee0 c1682140 c1691000 00000000 c1681f60 00000041 c1681ed4 c1681e88
[   74.643201] be60: c0077b54 c00774b0 c147edb8 000000a8 c163b580 b6ea79ac c169bfb0 c1452fc0
[   74.652273] be80: 000000a8 c19e8a80 c163b630 80000005 c169bedc c169bea0 c0014c18 c0077aac
[   74.661377] 1e80: c0098ba0 c0095c70 c1681ea4 c1681ec0 c1682780 000000ff c16845a0 c1681f78
[   74.670477] 1ea0: 00000000 00000000 c1681f44 c1681f60 00000001 ffffff9c c1691000 c000de08
[   74.679578] bea0: c169bebc c169beb0 00000000 c19e8abc c169befc 80000005 c046edd0 b6ea79ac
[   74.688682] 1ec0: c1680000 00000000 c1681f54 c1681ed8 c00991f4 c0098b24 00000041 00000000
[   74.697782] bec0: c169bfb0 b6f41e00 b6f1aadc 00000000 c169bf04 c169bee0 c0014e00 c0014b00
[   74.706887] 1ee0: c1820830 c1413660 0029ab98 00000003 c1691011 c0089cd8 c1820830 c1413660
[   74.715995] bee0: c0014ddc 00000005 c046edd0 b6ea79ac c169bfb0 b6f41e00 c169bfac c169bf08
[   74.725109] 1f00: c1c00038 00000051 00000002 00000000 00000000 c00a2c08 00020d41 00020d41
[   74.734210] bf00: c000866c c0014dec c00210a4 c0020e58 00000000 ffffffff 00000004 ffffa68f
[   74.743316] 1f20: ffffff9c c1691000 00000001 c000de08 c1680000 00000000 00000004 ffffff9c
[   74.752371] 1f40: c1691000 00000001 c1681f94 c1681f58 c008be50 c00991d0 c1680000 00000000
[   74.761472] bf20: c0057f78 60000093 00000000 ffffffff 00000000 01400000 c169bf64 c169bf48
[   74.770574] bf40: c005a7dc c005a6c4 0000000d 00000000 ffffffff 0001295c c169bf7c c169bf68
[   74.779680] 1f60: 00020d41 c16881b6 0000002a 00000300 000a1be4 01f86008 0000000c 00000005
[   74.788785] bf60: c0021430 c005a780 00000100 0000000d c169bf94 c169bf80 c000ebb4 c0021384
[   74.797897] 1f80: c000de08 00000000 c1681fa4 c1681f98 c008bf08 c008bd74 00000000 c1681fa8
[   74.806996] bf80: c04b38e0 c169bfb0 c169bfac 00008750 b6ea79ac a0000010 ffffffff bec1bcb8
[   74.816102] 1fa0: c000dc80 c008beec 000a1be4 01f86008 000a1be4 00020d41 000001b6 00000000
[   74.825202] bfa0: 00000000 c169bfb0 c000dbf8 c0008640 b6f1acb0 b6f04e08 b6f04e18 fffffff8
[   74.834304] 1fc0: 000a1be4 01f86008 0000000c 00000005 000b3800 00000000 00000085 bec68cac
[   74.843401] bfc0: 00000004 b6f3f658 00000001 bec1bcb8 b6f41e00 b6f1aadc 00000000 bec1bd2c
[   74.852465] bfe0: 00000000 bec1bca0 b6f0a7d0 b6ea79ac a0000010 ffffffff 00000000 00000000
[   74.861542] Backtrace: 
[   74.864366] [<c0307b78>] (__mutex_lock_slowpath+0x0/0xb4) from [<c0307eb4>] (mutex_lock+0x3c/0x40)
[   74.874327]  r6:c1682dc0 r5:c1c020ec r4:c1c0210c
[   74.879496] [<c0307e78>] (mutex_lock+0x0/0x40) from [<c0079fe8>] (unlink_file_vma+0x2c/0x48)
[   74.888863]  r4:c1c0210c r3:b6fc1000
[   74.892892] [<c0079fbc>] (unlink_file_vma+0x0/0x48) from [<c00750c4>] (free_pgtables+0x54/0xb0)
[   74.902510]  r7:00000000 r6:c169bae0 r5:00002000 r4:c163b630
[   74.908857] [<c0075070>] (free_pgtables+0x0/0xb0) from [<c007b4d0>] (exit_mmap+0xe4/0x208)
[   74.918080] [<c007b3ec>] (exit_mmap+0x0/0x208) from [<c0018808>] (mmput+0x48/0xd0)
[   74.926484]  r6:00000000 r5:00000000 r4:c19e8a80
[   74.931643] [<c00187c0>] (mmput+0x0/0xd0) from [<c001f220>] (do_exit+0x2c4/0x784)
[   74.939963]  r5:c19e8a80 r4:c1452fc0
[   74.943991] [<c001ef5c>] (do_exit+0x0/0x784) from [<c0011d68>] (die+0x344/0x394)
[   74.952169]  r7:c169bbc2
[   74.955036] [<c0011a24>] (die+0x0/0x394) from [<c0014ad0>] (__do_kernel_fault+0x6c/0x8c)
[   74.964042] [<c0014a64>] (__do_kernel_fault+0x0/0x8c) from [<c0014d50>] (do_page_fault+0x260/0x278)
[   74.974070]  r8:c19e8a80 r7:00000028 r6:c1452fc0 r5:c169bd38 r4:07e00810
r3:c169bd38
[   74.982820] [<c0014af0>] (do_page_fault+0x0/0x278) from [<c0014e00>] (do_translation_fault+0x24/0xbc)
[   74.993071] [<c0014ddc>] (do_translation_fault+0x0/0xbc) from [<c00085c8>] (do_DataAbort+0x38/0xa0)
[   75.003112]  r8:c169bd38 r7:c046ed80 r6:07e00810 r5:00000005 r4:00000005
r3:c0014ddc
[   75.011848] [<c0008590>] (do_DataAbort+0x0/0xa0) from [<c000d898>] (__dabt_svc+0x38/0x60)
[   75.020943] Exception stack(0xc169bd38 to 0xc169bd80)
[   75.026605] 1fe0: 000b33fc bec68bf8 00041594 b6e5e4b4 60000010 000a1be4 00000000 00000000
[   75.035684] Backtrace: 
[   75.038453] [<c009eecc>] (__d_lookup_rcu+0x0/0x11c) from [<c0095774>] (lookup_fast+0x44/0x26c)
[   75.048038] [<c0095730>] (lookup_fast+0x0/0x26c) from [<c0095e28>] (link_path_walk+0x1c8/0x764)
[   75.057715] [<c0095c60>] (link_path_walk+0x0/0x764) from [<c0098ba0>] (path_openat.clone.52+0x8c/0x3fc)
[   75.068158] [<c0098b14>] (path_openat.clone.52+0x0/0x3fc) from [<c00991f4>] (do_filp_open+0x34/0x80)
[   75.078318] [<c00991c0>] (do_filp_open+0x0/0x80) from [<c008be50>] (do_sys_open+0xec/0x178)
[   75.087592]  r7:00000001 r6:c1691000 r5:ffffff9c r4:00000004
[   75.093960] [<c008bd64>] (do_sys_open+0x0/0x178) from [<c008bf08>] (SyS_open+0x2c/0x30)
[   75.102877] [<c008bedc>] (SyS_open+0x0/0x30) from [<c000dc80>] (ret_fast_syscall+0x0/0x2c)
[   75.112038] Code: e1a06000 e7935102 e50b9034 ea000027 (e5943004) 
[   75.118831] ---[ end trace 0bd2973d6b25fb2c ]---
[   75.124313] bd20:                                                       c163b630 c169bdd8
[   75.133514] bd40: 00000fff 07e007e0 c163b630 c1682dc0 000000e6 c1c020ec 00000000 000000a8
[   75.142583] bd60: c163b630 c169bdc4 c169bdc8 c169bd80 c007483c c005ef8c 60000013 ffffffff
[   75.151675]  r8:00000000 r7:c169bd6c r6:ffffffff r5:60000013 r4:c005ef8c
[   75.159247] [<c005ef5c>] (filemap_fault+0x0/0x39c) from [<c007483c>] (__do_fault+0xa8/0x448)
[   75.168673] [<c0074794>] (__do_fault+0x0/0x448) from [<c0077718>] (handle_pte_fault+0x278/0x5fc)
[   75.178460] [<c00774a0>] (handle_pte_fault+0x0/0x5fc) from [<c0077b54>] (handle_mm_fault+0xb8/0xcc)
[   75.188535] [<c0077a9c>] (handle_mm_fault+0x0/0xcc) from [<c0014c18>] (do_page_fault+0x128/0x278)
[   75.198404] [<c0014af0>] (do_page_fault+0x0/0x278) from [<c0014e00>] (do_translation_fault+0x24/0xbc)
[   75.208654] [<c0014ddc>] (do_translation_fault+0x0/0xbc) from [<c000866c>] (do_PrefetchAbort+0x3c/0xa0)
[   75.219072]  r8:b6f41e00 r7:c169bfb0 r6:b6ea79ac r5:c046edd0 r4:00000005
r3:c0014ddc
[   75.227835] [<c0008630>] (do_PrefetchAbort+0x0/0xa0) from [<c000dbf8>] (ret_from_exception+0x0/0x10)
[   75.237986] Exception stack(0xc169bfb0 to 0xc169bff8)
[   75.243617] bfa0:                                     b6f1acb0 b6f04e08 b6f04e18 fffffff8
[   75.252707] bfc0: 00000004 b6f3f658 00000001 bec1bcb8 b6f41e00 b6f1aadc 00000000 bec1bd2c
[   75.261760] bfe0: 00000000 bec1bca0 b6f0a7d0 b6ea79ac a0000010 ffffffff
[   75.269099]  r7:bec1bcb8 r6:ffffffff r5:a0000010 r4:b6ea79ac
[   75.275416] Code: e2805004 e50b3024 e5802008 e50b5028 (e5832000) 
[   75.282165] ---[ end trace 0bd2973d6b25fb2d ]---
[   75.287302] Fixing recursive fault but reboot is needed!

离线

楼主 #114 2019-01-14 19:50:54

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

有没有试过烧二楼的镜像呢?





在线

#115 2019-01-14 20:11:44

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

烧过,运行fb-test,rect没有奔溃,但是屏幕异常显示现象一样。

离线

楼主 #116 2019-01-14 20:15:00

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

qinxiongxu 说:

烧过,运行fb-test,rect没有奔溃,但是屏幕异常显示现象一样。

一样的奔溃信息?





在线

#117 2019-01-15 00:23:16

qinxiongxu
会员
注册时间: 2018-12-13
已发帖子: 88
积分: 75.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
qinxiongxu 说:

烧过,运行fb-test,rect没有奔溃,但是屏幕异常显示现象一样。

一样的奔溃信息?


二楼的镜像没有奔溃,但是屏幕显示异常。。。

我编译的是这个链接的 https://github.com/qq516333132/c600.git

然后用了你的配置文件,改了daudio pin脚与LCD DATA pin脚冲突,然后编译出来的,没改其他,然后运行fb-test会崩溃。

离线

#118 2019-02-19 11:14:01

asdf
会员
注册时间: 2018-10-08
已发帖子: 58
积分: 58

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

各位路过的大虾,有人用f1c100s跑成功过emmc的没,看datasheet只能通过sd相关引脚转,我自己焊了个tf接口转的emmc,windows,ubuntu都能正常读写,本以为能够像sd卡那样用起来,结果发现烧录,包括在内核当设备都不可用,用逻辑分析仪跟过,cmd0,cmd8后回复R7时,argument内部的vol电压和echo值全都是0,然后cmd0,cmd1回复R1时的card status的值为0x00ff8000,也不知道这是个什么状态,然后就再没相关反应咯!

离线

楼主 #119 2019-02-19 11:23:01

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

asdf 说:

各位路过的大虾,有人用f1c100s跑成功过emmc的没,看datasheet只能通过sd相关引脚转,我自己焊了个tf接口转的emmc,windows,ubuntu都能正常读写,本以为能够像sd卡那样用起来,结果发现烧录,包括在内核当设备都不可用,用逻辑分析仪跟过,cmd0,cmd8后回复R7时,argument内部的vol电压和echo值全都是0,然后cmd0,cmd1回复R1时的card status的值为0x00ff8000,也不知道这是个什么状态,然后就再没相关反应咯!

eMMC肯定是没有问题, 可以兼容SD模式

我在 V3s 上面试过了, 也是用转接板。

这是okplay做的: https://whycan.cn/t_355.html#p4428





在线

#120 2019-04-15 11:06:43

wind
会员
注册时间: 2018-07-05
已发帖子: 12
积分: 12

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

问一下你们的usb插上hub后,鼠标跟u盘一起正常工作么?只有鼠标正常,再插u盘枚举过了到驱动设备就如下:

[   37.705141] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002
[   37.708624] hub 1-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
[   38.083216] hub 1-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
[   38.163629] usb 1-1.1: new high-speed USB device number 4 using sunxi_hcd_host0
[   38.264069] usb 1-1.1: default language 0x0409
[   38.266160] usb 1-1.1: udev 4, busnum 1, minor = 3
[   38.270524] usb 1-1.1: New USB device found, idVendor=0781, idProduct=5567
[   38.277451] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   38.284729] usb 1-1.1: Product: Cruzer Blade
[   38.288833] usb 1-1.1: Manufacturer: SanDisk
[   38.293097] usb 1-1.1: SerialNumber: 4C530099960420113525
[   38.303103] usb 1-1.1: usb_probe_device
[   38.304409] usb 1-1.1: configuration #1 chosen from 1 choice
[   38.319994] usb 1-1.1: adding 1-1.1:1.0 (config #1, interface 0)
[   38.325714] usb-storage 1-1.1:1.0: usb_probe_interface
[   38.328430] usb-storage 1-1.1:1.0: usb_probe_interface - got id
[   38.334512] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[   38.340833] scsi0 : usb-storage 1-1.1:1.0
[   38.352666] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002
[   60.153312] usb 1-1.1: reset high-speed USB device number 4 using sunxi_hcd_host0
[   60.233184] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0002

然后reset就一直走不动了

离线

#121 2019-05-31 10:50:31

tongjinlv
会员
所在地: 深圳
注册时间: 2018-08-10
已发帖子: 61
积分: 56
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我编译出来的咋那么大啊,有20几M  通过修改tools/pack/chips/sunivw1p1/configs/default/sys_partition_nor.fex  降到 19M 还有什么办法降啊






www.trtos.com   极客虫 ,makeymakey,arduboy 爱好者

离线

楼主 #122 2019-05-31 10:52:56

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

官方的格式并不是 bin 格式, 而是烧录软件可以解析的格式,所以生成的 img 文件大小和 flash 大小没有直接关系,不要在意大小。





在线

#123 2019-05-31 15:49:36

zdl229892205
会员
注册时间: 2019-05-31
已发帖子: 17
积分: 17

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

正在找这个东西,感谢!

离线

#124 2019-05-31 15:57:16

zdl229892205
会员
注册时间: 2019-05-31
已发帖子: 17
积分: 17

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥,您好,请教您一下,全志官网上写的 F1c100s 只支持melis 系统,我们公司和全志有合作,问过他们内部技术人员,他们说是芯片内部linux 部分给封了,这样看来这个封锁是可以解除的?

离线

楼主 #125 2019-05-31 16:56:56

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

没有理解 "封了" 的意思?还请详细解说





在线

#126 2019-11-15 17:49:50

hxhlb
会员
注册时间: 2019-11-11
已发帖子: 27
积分: 27

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

1. 克隆c600 bsp 源码:


2. 配置:
...


对于这个烧录步骤, 我始终都不能成功, 以Linux为例子, 执行lsusb 可以看到电脑上有个Onda的USB, 但是烧录软件毫无反应...Windows也是一样的, 从设备管理器也能看到新插入的设备, 但是烧录软件也没反应, 我是买的lichee nano, 难道这个板子要有什么特殊设置才行?

离线

楼主 #127 2019-11-15 17:52:49

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

bsp编译出来的img不是用这种方式烧录,要用官方烧录软件。





在线

#128 2019-11-15 18:07:35

hxhlb
会员
注册时间: 2019-11-11
已发帖子: 27
积分: 27

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

bsp编译出来的img不是用这种方式烧录,要用官方烧录软件。

晕哥, PhoenixSuit 不是官方烧录吗??

离线

楼主 #129 2019-11-15 21:53:25

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

hxhlb 说:

晕哥, PhoenixSuit 不是官方烧录吗??

是用 PhoenixSuit 烧录, 如果没反应, 要接串口看日志,具体哪组串口你翻下帖子.





在线

#130 2019-11-28 19:26:48

hxhlb
会员
注册时间: 2019-11-11
已发帖子: 27
积分: 27

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

是用 PhoenixSuit 烧录, 如果没反应, 要接串口看日志,具体哪组串口你翻下帖子.

忘了反馈了, 我那是因为我的Linux升级了QT4, 导致跟官方提供的LiveSuite不匹配, 然后检测不到.... 最后我重新编译了一版匹配的QT4放到LD_LIBRARYPATH里就行了, 而我测试的那台Windows机器不是我的, 我并不知道我用的那个USB口正好是坏的, 真是倒霉....

离线

#131 2019-12-03 18:19:27

zhaolei_cpp
会员
注册时间: 2019-11-12
已发帖子: 23
积分: 22

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥,我做了快一天了,总是这个错误:
 ERROR: Script_to_dts: Can not find dtc compiler.
#./build.sh pack

ERROR: Script_to_dts: Can not find dtc compiler.


dtc 已经是最新版本了
 dtc 已经是最新版本了

最近编辑记录 zhaolei_cpp (2019-12-03 18:42:22)

离线

#132 2019-12-03 18:45:50

daydayup
会员
注册时间: 2017-10-09
已发帖子: 343
积分: 343

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

估计不是调用系统的 dtc 命令,你要跟踪编译脚本

离线

#133 2019-12-03 19:32:05

zhaolei_cpp
会员
注册时间: 2019-11-12
已发帖子: 23
积分: 22

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

daydayup 说:

估计不是调用系统的 dtc 命令,你要跟踪编译脚本

你说的完全正确。

我跟踪脚本了。的确是调用的代码里面的dtc,
但是没有编译只有代码,手工编译也不成功。

系统的dtc不认识传入的命令行,也没法用。


真难呀~~~~~~

离线

#134 2019-12-05 00:50:10

zhaolei_cpp
会员
注册时间: 2019-11-12
已发帖子: 23
积分: 22

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

楼主能不能提供一个 sunxi-fel  用的 flash 版本。谢谢啦。我的Windows驱动安装不上。

离线

楼主 #135 2019-12-05 10:35:07

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

zhaolei_cpp 说:

楼主能不能提供一个 sunxi-fel  用的 flash 版本。谢谢啦。我的Windows驱动安装不上。

linux编译非常容易的





在线

#136 2019-12-05 16:32:00

zhaolei_cpp
会员
注册时间: 2019-11-12
已发帖子: 23
积分: 22

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

linux编译非常容易的

谢谢晕哥,我编译成功了。

离线

#137 2019-12-05 23:42:52

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

1. 克隆c600 bsp 源码:


2. 配置:


3. 修改一处代码:
修改 /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c 545行:


4. buildroot 编译
因为在c600的buildroot没有搞定直接配置编译,所以单独处理buildroot问题,使用c600 bsp的工具链.


5. 拷贝可执行文件:

一楼运行的就是 fb-test-rect 画随机矩形的demo

6. 重新打包:


/opt/c600/tools/pack/sunivw1p1_linux_evb_uart0.img 这个就是我们生成的文件.

7. 烧录:

嗨,大家好

我想编译它时遇到问题。
它只是失败了。
您能检查一下怎么了吗?

对不起我不懂中文。
我使用翻译器。
谢谢。

Hi guys

i have problem when i want to compile it.
it just failed.
can you please check what's wrong with it?

sorry i don't know Chinese .
i am using translator.
Thanks.

Ubuntu 18.0.4.3 LTS
Screenshot%20from%202019-12-05%2018-38-19.png

离线

楼主 #138 2019-12-06 07:11:00

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

Biftor 说:

嗨,大家好

我想编译它时遇到问题。
它只是失败了。
您能检查一下怎么了吗?

对不起我不懂中文。
我使用翻译器。
谢谢。

Hi guys

i have problem when i want to compile it.
it just failed.
can you please check what's wrong with it?

sorry i don't know Chinese .
i am using translator.
Thanks.

Ubuntu 18.0.4.3 LTS

try this: sudo apt-get install libtool m4 automake





在线

#139 2019-12-06 15:07:49

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:

try this: sudo apt-get install libtool m4 automake

thanks but
not worked
because i have installed it already .

biftor@ubuntu:~/opt/c600$ sudo apt-get install libtool m4 automake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
automake is already the newest version (1:1.15.1-3ubuntu2).
libtool is already the newest version (2.4.6-2).
m4 is already the newest version (1.4.18-1).
0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded.

最近编辑记录 Biftor (2019-12-06 15:09:01)

离线

#140 2019-12-06 15:28:59

还能这么玩
会员
注册时间: 2019-04-14
已发帖子: 119
积分: 119

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

@Biftor 这样也不行的话, 那看不出什么原因导致这个问题的了.

离线

#141 2019-12-06 15:50:40

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

还能这么玩 说:

@Biftor 这样也不行的话, 那看不出什么原因导致这个问题的了.

should i try old version of Ubuntu?
for example Ubuntu 16.0.4.6 ?


I did nothing on my own .
I just installed clean Ubuntu and did exactly what the first post said (follow the guide), but as you see the result it failed .
as i see here another guy had this problem too (posy number #101 https://whycan.cn/t_1522.html#p12689)

btw does it contain working hardware video/audio decoder?

最近编辑记录 Biftor (2019-12-06 15:53:15)

离线

#142 2019-12-06 15:58:34

还能这么玩
会员
注册时间: 2019-04-14
已发帖子: 119
积分: 119

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

对, 你可以试一试 Ubuntu 14.04 / 16.04

离线

#143 2019-12-06 17:09:59

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

还能这么玩 说:

对, 你可以试一试 Ubuntu 14.04 / 16.04

我试过Live Ubuntu 16.04,没有这样的错误。

有没有机会修复Ubuntu 18.04中的错误?

我还需要知道硬件视频/音频解码器是否在工作吗?

我没有spi-flash是否可以使在此上传的框架软件(第一篇文章 https://whycan.cn/t_1522.html#p8073)与sdcard一起使用?
我正在尝试licheepi nano

I tried live Ubuntu 16.04 there wasn't such errors .

Is there any chance to fix the errors in Ubuntu 18.04?

also i need to know does the hardware Video/Audio decoder working on this?

i don't have spi-flash is there anyway to make the uploaded framewares here(first post https://whycan.cn/t_1522.html#p8073) working with sdcard?

i am trying with licheepi nano

最近编辑记录 Biftor (2019-12-06 17:11:03)

离线

楼主 #144 2019-12-06 17:25:01

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

f1c100s bsp驱动比较全, 应该支持声卡,不过这个版本比较老,不完全确定是否支持。





在线

#145 2019-12-19 22:07:10

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

晕哥 说:
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.65 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPUFREQ=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_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
# 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="C600"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_FHANDLE=y
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_CHIP=y
CONFIG_IRQ_DOMAIN=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_TASKSTATS is not set

#
# RCU Subsystem
#
CONFIG_TINY_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_RCU_STALL_COMMON is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
CONFIG_UIDGID_CONVERTED=y
# CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set
# CONFIG_SCHED_AUTOGROUP is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
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_HAVE_UID16=y
CONFIG_HOTPLUG=y
CONFIG_PANIC_TIMEOUT=0
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_GENERIC_IDLE_POLL_SETUP=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y

#
# GCOV-based kernel profiling
#
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
# CONFIG_MODULE_SIG is not set
CONFIG_BLOCK=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_INLINE_READ_UNLOCK=y
CONFIG_INLINE_READ_UNLOCK_IRQ=y
CONFIG_INLINE_WRITE_UNLOCK=y
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_MULTIPLATFORM is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
CONFIG_ARCH_SUNXI=y
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD 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_LPC32XX 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_DAVINCI is not set
# CONFIG_ARCH_OMAP1 is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_SUN8I is not set
# CONFIG_ARCH_SUN9I is not set
CONFIG_ARCH_SUNIV=y
CONFIG_ARCH_SUNIVW1=y
CONFIG_ARCH_SUNIVW1P1=y
# CONFIG_FPGA_V4_PLATFORM is not set
# CONFIG_FPGA_V7_PLATFORM is not set
CONFIG_EVB_PLATFORM=y
# CONFIG_SUNXI_TRUSTZONE is not set
# CONFIG_HOMLET_PLATFORM is not set

#
# Processor Type
#
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5TJ=y
CONFIG_CPU_PABRT_LEGACY=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WBI=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
CONFIG_CPU_USE_DOMAINS=y

#
# Processor Features
#
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
CONFIG_ARM_THUMB=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
CONFIG_CPU_DCACHE_WRITETHROUGH=y
# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
CONFIG_NEED_KUSER_HELPERS=y
CONFIG_KUSER_HELPERS=y
# CONFIG_CACHE_L2X0 is not set
CONFIG_ARM_L1_CACHE_SHIFT=5
CONFIG_ARM_NR_BANKS=8
CONFIG_MULTI_IRQ_HANDLER=y

#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
# CONFIG_DISABLE_CPU_SCHED_DOMAIN_BALANCE is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_NR_GPIO=288
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_HZ=100
CONFIG_SCHED_HRTICK=y
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_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
CONFIG_FRONTSWAP=y
# CONFIG_CMA 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_ARM_FLUSH_CONSOLE_ON_RESTART=y

#
# Boot options
#
CONFIG_USE_OF=y
CONFIG_ATAGS=y
# CONFIG_DEPRECATED_PARAM_STRUCT is not set
# 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=sunxi-uart,0x01c25000 loglevel=8 initcall_debug=1 console=ttyS1 init=/init root=/dev/mtdblock2"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_CMDLINE_EXTEND is not set
CONFIG_CMDLINE_FORCE=y
# CONFIG_XIP_KERNEL is not set
CONFIG_KEXEC=y
CONFIG_ATAGS_PROC=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set

#
# CPU Power Management
#

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# 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

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
# CONFIG_BINFMT_MISC is not set
# CONFIG_COREDUMP is not set

#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HAS_WAKELOCK=y
# CONFIG_WAKELOCK is not set
# CONFIG_SCENELOCK is not set
CONFIG_PM_SLEEP=y
CONFIG_PM_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=100
CONFIG_PM_WAKELOCKS_GC=y
CONFIG_PM_RUNTIME=y
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_APM_EMULATION is not set
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_CPU_PM=y
CONFIG_SUSPEND_TIME=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
CONFIG_UNIX_DIAG=y
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=y
CONFIG_XFRM_USER=y
CONFIG_XFRM_SUB_POLICY=y
CONFIG_XFRM_MIGRATE=y
CONFIG_XFRM_STATISTICS=y
# 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_NET_IP_TUNNEL is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI 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=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_LRO=y
# 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=y
# 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_HAVE_NET_DSA=y
# 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_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
CONFIG_BQL=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_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_CFG80211=y
CONFIG_NL80211_TESTMODE=y
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
CONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_INTERNAL_REGDB is not set
CONFIG_CFG80211_WEXT=y
# CONFIG_LIB80211 is not set
# CONFIG_CFG80211_ALLOW_RECONNECT is not set
# CONFIG_MAC80211 is not set
# 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
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
# CONFIG_STANDALONE is not set
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_HAVE_CPU_AUTOPROBE is not set
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=y
CONFIG_REGMAP_SPI=y
# CONFIG_DMA_SHARED_BUFFER is not set

#
# Bus devices
#
# CONFIG_ARM_CCI is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
CONFIG_MTD_OF_PARTS=y
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_DATAFLASH is not set
CONFIG_MTD_M25P80=y
# CONFIG_M25PXX_USE_FAST_READ is not set
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# CONFIG_MTD_NAND_IDS is not set
# CONFIG_MTD_NAND is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
# CONFIG_MTD_UBI 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_I2C=y
CONFIG_OF_NET=y
CONFIG_OF_MTD=y
CONFIG_OF_RESERVED_MEM=y
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_ATMEL_PWM is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ATMEL_SSC 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_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_UID_STAT is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_BMP085_SPI is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_LATTICE_ECP3_CONFIG is not set
# CONFIG_SRAM 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 is not set
# CONFIG_EEPROM_93XX46 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_SUNXI_RFKILL=y

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_SCSI_UFSHCD is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE 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_VXLAN 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
#

#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6060 is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
# CONFIG_NET_DSA_MV88E6131 is not set
# CONFIG_NET_DSA_MV88E6123_61_65 is not set
# CONFIG_ETHERNET is not set
# CONFIG_PHYLIB 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_RTL8152 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
CONFIG_WLAN=y
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_WIFI_CONTROL_FUNC is not set
CONFIG_XR_WLAN=y
CONFIG_XRMAC=m
CONFIG_XRMAC_RC_DEFAULT="minstrel_ht"
# CONFIG_XRMAC_RC_PID is not set
CONFIG_XRMAC_RC_MINSTREL=y
CONFIG_XRMAC_RC_MINSTREL_HT=y
CONFIG_XRMAC_DEBUGFS=y
CONFIG_XRADIO=m
CONFIG_XRADIO_SDIO=y
CONFIG_XRADIO_NON_POWER_OF_TWO_BLOCKSIZES=y
CONFIG_XRADIO_USE_GPIO_IRQ=y
CONFIG_XRADIO_USE_EXTENSIONS=y
# CONFIG_XRADIO_SUSPEND_POWER_OFF is not set
# CONFIG_XRADIO_EXTEND_SUSPEND is not set

#
# Driver debug features
#
# CONFIG_XRADIO_DEBUG is not set
# CONFIG_ATH_CARDS is not set
# CONFIG_BCMDHD is not set
# CONFIG_BRCMFMAC is not set
# CONFIG_HOSTAP is not set
# CONFIG_LIBERTAS is not set
# CONFIG_WL_TI is not set
# CONFIG_MWIFIEX is not set
# CONFIG_RTL8188EU is not set
# CONFIG_RTL8723BS 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 is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
# CONFIG_INPUT_KEYRESET is not set
# CONFIG_INPUT_KEYCOMBO is not set
# CONFIG_INPUT_SW_DEVICE is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_KEYBOARD_SUNXI=y
CONFIG_WIRELESS_KEY=y
# 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
# CONFIG_INPUT_SENSOR is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_SERIO_APBPS2 is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
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=y
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

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX310X is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_SCCNXP is not set
# 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_ARC is not set
# 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_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_DCC_TTY is not set
# CONFIG_SUNXI_DMA_TEST is not set
# CONFIG_SUNXI_SCR is not set
# CONFIG_SUNXI_DI is not set
CONFIG_DUMP_REG=y
CONFIG_DUMP_REG_MISC=y
# CONFIG_SUNXI_TRANSFORM is not set
CONFIG_SUNXI_SYS_INFO=y
# CONFIG_SUNXI_TIMER_TEST 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_CBUS_GPIO is not set
# 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 is not set
CONFIG_I2C_SUNIV=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_FSL_SPI is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_SC18IS602 is not set
CONFIG_SPI_SUNXI=y
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set

#
# Qualcomm MSM SSBI bus support
#
# CONFIG_SSBI is not set
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
# CONFIG_PTP_1588_CLOCK_PCH is not set
CONFIG_PINCTRL=y

#
# Pin controllers
#
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_PINCTRL_SINGLE is not set
# CONFIG_PINCTRL_EXYNOS is not set
# CONFIG_PINCTRL_EXYNOS5440 is not set

#
# Allwinner SOC PINCTRL DRIVER
#
CONFIG_PINCTRL_SUNXI_COMMON=y
# CONFIG_PINCTRL_SUNXI_TEST is not set
# CONFIG_PINCTRL_SUN4I_A10 is not set
# CONFIG_PINCTRL_SUN5I_A10S is not set
# CONFIG_PINCTRL_SUN5I_A13 is not set
# CONFIG_PINCTRL_SUN6I_A31 is not set
# CONFIG_PINCTRL_SUN7I_A20 is not set
# CONFIG_PINCTRL_SUN8I_A23 is not set
# CONFIG_PINCTRL_SUN8IW10P1 is not set
# CONFIG_PINCTRL_SUN50IW1P1 is not set
# CONFIG_PINCTRL_SUN50IW1P1_R is not set
CONFIG_PINCTRL_SUNIVW1P1=y
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIO_DEVRES=y
CONFIG_GPIOLIB=y
CONFIG_OF_GPIO=y
# CONFIG_DEBUG_GPIO is not set
CONFIG_GPIO_SYSFS=y

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_EM is not set
# CONFIG_GPIO_RCAR is not set
# CONFIG_GPIO_TS5500 is not set
# CONFIG_GPIO_GRGPIO 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
# CONFIG_GPIO_ADNP 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:
#

#
# USB GPIO expanders:
#
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_POWER_AVS is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG 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_AS3711 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_AAT2870_CORE is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_MC13XXX_SPI is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_HTC_I2CPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX77686 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS65010 is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS65910 is not set
# CONFIG_MFD_TPS65912 is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 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_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_ARIZONA_SPI 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_VEXPRESS_CONFIG is not set
# CONFIG_REGULATOR is not set
CONFIG_MEDIA_SUPPORT=y

#
# Multimedia core support
#
# CONFIG_MEDIA_CAMERA_SUPPORT is not set
# CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
# CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
# CONFIG_MEDIA_RADIO_SUPPORT is not set
CONFIG_MEDIA_RC_SUPPORT=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
# CONFIG_TTPCI_EEPROM is not set

#
# Media drivers
#
CONFIG_RC_CORE=y
# CONFIG_RC_MAP is not set
CONFIG_RC_DECODERS=y
# CONFIG_LIRC is not set
CONFIG_IR_NEC_DECODER=y
# CONFIG_IR_RC5_DECODER is not set
# CONFIG_IR_RC6_DECODER is not set
# CONFIG_IR_JVC_DECODER is not set
# CONFIG_IR_SONY_DECODER is not set
# CONFIG_IR_RC5_SZ_DECODER is not set
# CONFIG_IR_SANYO_DECODER is not set
# CONFIG_IR_MCE_KBD_DECODER is not set
CONFIG_RC_DEVICES=y
# CONFIG_RC_ATI_REMOTE is not set
# CONFIG_IR_IMON is not set
# CONFIG_IR_MCEUSB is not set
# CONFIG_IR_REDRAT3 is not set
# CONFIG_IR_STREAMZAP is not set
# CONFIG_IR_IGUANA is not set
# CONFIG_IR_TTUSBIR is not set
# CONFIG_RC_LOOPBACK is not set
# CONFIG_IR_GPIO_CIR is not set
CONFIG_IR_SUNXI=y
# CONFIG_MEDIA_USB_SUPPORT is not set

#
# Supported MMC/SDIO adapters
#
# CONFIG_CYPRESS_FIRMWARE is not set

#
# Media ancillary drivers (tuners, sensors, i2c, frontends)
#

#
# Customise DVB Frontends
#
CONFIG_DVB_TUNER_DIB0070=m
CONFIG_DVB_TUNER_DIB0090=m

#
# Tools to develop new frontends
#
# CONFIG_DVB_DUMMY_FE is not set
CONFIG_VIDEO_ENCODER_DECODER_SUNXI=y

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
# CONFIG_FB_CFB_FILLRECT is not set
# CONFIG_FB_CFB_COPYAREA is not set
# CONFIG_FB_CFB_IMAGEBLIT is not set
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#

#
# Video support for sunxi
#
CONFIG_SUNIV_FB=y
CONFIG_SUNXI_BOOT_COLORBAR=y
CONFIG_SUNIV_LCD=y
# CONFIG_SUNIV_HDMI is not set
# CONFIG_FB_ARMHDLCD is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_GOLDFISH is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_EXYNOS_VIDEO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
# CONFIG_LOGO is not set
# CONFIG_FB_SSD1307 is not set
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_COMPRESS_OFFLOAD=y
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# 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 is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_ARM is not set
# CONFIG_SND_SPI is not set
# CONFIG_SND_USB is not set
CONFIG_SND_SOC=y
CONFIG_SND_SOC_DMAENGINE_PCM=y
# CONFIG_SND_ATMEL_SOC is not set
# CONFIG_SND_DESIGNWARE_I2S is not set
CONFIG_SND_SOC_SUNXI_RW=y
CONFIG_SND_SOC_SUNXI_AUDIO_DMA=y
CONFIG_SND_SOC_SUNXI_TDM=y
CONFIG_SND_SUNXI_SOC=y
CONFIG_SND_SOC_INTERNAL_SUNIVW1P1_AUDIOCODEC=y
CONFIG_SND_SOC_SUNIVW1P1_CODEC_CPU_DAI=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE_I2S=y
CONFIG_SND_SOC_SUNIVW1P1_AUDIO_CODEC_MACHINE_STA33X=y
CONFIG_SND_SOC_SUNIVW1P1_CPU_DAUDIO=y
CONFIG_SND_SOC_DAUDIO_PLATFORM=y
# CONFIG_SND_SOC_VIRCODEC is not set
CONFIG_SND_SOC_DAUDIO0_MACHINE=y
# CONFIG_SND_SOC_DAUDIO1_MACHINE is not set
# CONFIG_SND_SOC_DMIC is not set
# CONFIG_SND_SOC_CS4385 is not set
# CONFIG_SND_SOC_DSD is not set
# CONFIG_SND_SUNXI_SOC_SPDIF is not set
# CONFIG_SUNXI_AUDIO_DEBUG is not set
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SND_SIMPLE_CARD is not set
# CONFIG_SOUND_PRIME is not set

#
# HID support
#
CONFIG_HID=y
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not set
# CONFIG_HID_APPLE is not set
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
# CONFIG_HID_BELKIN is not set
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_EZKEY is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not set
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO_TPKBD is not set
# CONFIG_HID_LOGITECH is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MICROSOFT is not set
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_PS3REMOTE is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SONY is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set

#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
# CONFIG_USB_DEFAULT_PERSIST is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_OTG=y
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
CONFIG_USB_MON=y
# 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_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_EHCI_HCD_SYNOPSYS is not set
# CONFIG_USB_EHCI_HCD_PLATFORM 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=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_HCI=y
CONFIG_USB_SUNXI_EHCI0=y
CONFIG_USB_SUNXI_EHCI1=y
CONFIG_USB_SUNXI_OHCI0=y
CONFIG_USB_SUNXI_OHCI1=y
# 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_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_CHIPIDEA is not set

#
# USB port drivers
#
# CONFIG_USB_SERIAL 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_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_PHY is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG=y
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2

#
# USB Peripheral Controller
#
# CONFIG_USB_FUSB300 is not set
# CONFIG_USB_R8A66597 is not set
# CONFIG_USB_PXA27X is not set
# CONFIG_USB_MV_UDC is not set
# CONFIG_USB_MV_U3D is not set
# CONFIG_USB_M66592 is not set
# CONFIG_USB_NET2272 is not set
CONFIG_USB_SUNXI_UDC0=y
# CONFIG_USB_DUMMY_HCD is not set
CONFIG_USB_LIBCOMPOSITE=y
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not set
CONFIG_USB_ETH=y
CONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_ETH_EEM is not set
# CONFIG_USB_G_NCM is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FUNCTIONFS is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_G_ANDROID is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_ACM_MS is not set
# CONFIG_USB_G_MULTI is not set
# CONFIG_USB_G_HID is not set
# CONFIG_USB_G_DBGP is not set
CONFIG_USB_SUNXI=y
CONFIG_USB_SUNXI_USB=y
CONFIG_USB_SUNXI_USBC=y
CONFIG_USB_SUNXI_USB_MANAGER=y
CONFIG_USB_SUNXI_HCD0=y
CONFIG_USB_SUNXI_USB0_OTG=y
CONFIG_USB_SUNXI_USB_DEBUG=y
CONFIG_USB_SUNXI_USB_ADB=y
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
CONFIG_MMC_UNSAFE_RESUME=y
# 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_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# 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_VUB300 is not set
# CONFIG_MMC_USHC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_SWITCH is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
# CONFIG_RTC_SHUTDOWN_ALARM 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_PCF8523 is not set
CONFIG_RTC_DRV_PCF8563=y
# 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
# CONFIG_RTC_DRV_RX4581 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
# CONFIG_RTC_DRV_DS2404 is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_SUNXI is not set
# CONFIG_RTC_DRV_SNVS is not set

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
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
CONFIG_DMA_OF=y

#
# DMA Clients
#
# CONFIG_ASYNC_TX_DMA is not set
CONFIG_SUNXI_DMA=y
# CONFIG_SUNXI_RDMA is not set
# CONFIG_DMATEST is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_DEBUG is not set
# CONFIG_COMMON_CLK_SI5351 is not set

#
# SUNXI Clock Configuration
#
# CONFIG_SUNXI_CLK_DEFAULT_INIT is not set
# CONFIG_SUNXI_CLK_AHB_FROM_PLL6 is not set

#
# Hardware Spinlock drivers
#
# CONFIG_HWSPINLOCK_SUNXI is not set
CONFIG_CLKSRC_OF=y
CONFIG_CLKSRC_MMIO=y
# CONFIG_SUN4I_TIMER is not set
CONFIG_SUNXI_TIMER=y
# CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_PWM is not set
CONFIG_IRQCHIP=y
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_EXT4_FS is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
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
CONFIG_GENERIC_ACL=y

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
CONFIG_JFFS2_FS_WBUF_VERIFY=y
# CONFIG_JFFS2_SUMMARY is not set
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
CONFIG_SQUASHFS=y
# CONFIG_SQUASHFS_XATTR is not set
# CONFIG_SQUASHFS_ZLIB is not set
# CONFIG_SQUASHFS_LZO is not set
CONFIG_SQUASHFS_XZ=y
# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
# CONFIG_SQUASHFS_EMBEDDED is not set
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
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=y
# 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_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=y
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_PRINTK_TIME=y
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
# 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_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# 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 is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_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_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK 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_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_BUGVERBOSE 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_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set

#
# RCU Debugging
#
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP 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_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST 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_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_ARM_UNWIND is not set
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_RODATA is not set
CONFIG_DEBUG_LL=y
# CONFIG_DEBUG_SUNXI_UART0 is not set
CONFIG_DEBUG_SUNXI_UART1=y
# CONFIG_DEBUG_LL_UART_NONE is not set
# CONFIG_DEBUG_ICEDCC is not set
# CONFIG_DEBUG_SEMIHOSTING is not set
CONFIG_DEBUG_LL_INCLUDE="debug/sunxi.S"
CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h"
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_SET_MODULE_RONX is not set
# CONFIG_CORESIGHT is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_RNG2=y
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_MANAGER2 is not set
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not set
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA1_ARM is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_ARM is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_HW is not set
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=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_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=y
# CONFIG_XZ_DEC_X86 is not set
# CONFIG_XZ_DEC_POWERPC is not set
# CONFIG_XZ_DEC_IA64 is not set
# CONFIG_XZ_DEC_ARM is not set
# CONFIG_XZ_DEC_ARMTHUMB is not set
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_BCJ is not set
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_GENERIC_ATOMIC64=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_AVERAGE=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
CONFIG_LIBFDT=y
CONFIG_ARCH_HAS_SG_CHAIN=y
# CONFIG_VIRTUALIZATION is not set

上面这个是配置文件.

这几个开关影响LCD驱动:



Hi, I decided to try again,
after follow the first post again , there was no lcd .
then i tried to use what you said here.
I have exact copied your configs, and not worked ...

here is my serial log and files

HELLO! BOOT0 is starting!
boot0 commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d

boot0 version : 4.0
run key detect boot0
do_key_test
reg_val=0x00000000----------------------
dram size =32
Reg pull reg_val=0x00000000,read=0x00000010
Succeed in reading toc file head.
The size of toc is 00050000.
Entry_name        = u-boot
Ready to disable icache.
Jump to secend Boot.
board/sunxi/common/board_common.c 510--nodeoffset = 669c


U-Boot 2014.07 (Mar 31 2018 - 15:55:09) Allwinner Technology

uboot commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d

uboot:normal mode
[      0.124]pmbus:   ready
run key detect
no uart input
DRAM:  32 MiB
Relocation Offset is: 017b9000
In:    serial
Out:   serial
Err:   serial
workmode = 0,storage type = 3
[      0.154]spinor:     0
sunxi spinor is initing...int sunxi_dma_init---
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
[      0.156]sunxi flash init ok
[      0.157]sunxi flash init ok
*(uint32_t *)(0x81ff0000)=41
sunxi secure storage is not supported
[      0.164]usb burn from boot
delay time 0
sunxi_dma_install_int ok
[      0.231]usb prepare ok
set address 0x18
usb sof ok
[      0.288]usb probe ok
[      0.289]usb setup ok
sunxi usb error: received bytes 0x20 is not equal cbw struct size 0x1f
key pressed value=0x1
[      0.304]exit usb burn from boot
next work 1
SUNXI_UPDATE_NEXT_ACTION_NULL
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-
boot        : 4000          340000
rootfs      : 344000        700000
env         : a44000        20000
bootlogo    : a64000        10000
recoverk    : a74000        180000
recoverf    : bf4000        340000
private     : f34000        10000
UDISK       : f44000        0
-----------------------------------
base bootcmd=run setargs_mmc boot_normal
bootcmd set setargs_nand
fix bootcmd=run setargs_mmc boot_normal
key 0
cant find recovery value
cant find fastboot value
no misc partition is found
to be run cmd=run setargs_mmc boot_normal
common/fdt_support.c 540--blob = 0x8096de40
emmc or nand path error: <no error>
common/board_r.c 305-initr_sunxi_base-END--
[      0.386]inter uboot shell
Hit any key to stop autoboot:  0
read partition: boot or recovery
boota: bad boot image magic, maybe not a boot.img?
try to read partition(boot) all
[      0.595]sunxi flash read :offset 4000, 3407872 bytes OK
## Booting kernel from Legacy Image at 80007800 ...
   Image Name:   Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2353688 Bytes = 2.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ...
OK
## Transferring control to Linux (at address 80008000)...

arch/arm/lib/bootm.c 72 Starting kernel ...

--r2 0x8096de40,images->ft_len= = 0 , working_fdt = 8096de40, bi_boot_params = 0 fake = 0
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (biftor@BiftorUbuntu) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #65 Thu Dec 19 20:06:25 +0330 2019
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sunivw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: ECC disabled, Data cache writethrough
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c04a6c30, node_mem_map c04c3000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x01c25000 loglevel=8 initcall_debug=1 console=ttyS1 init=/init root=/dev/mtdblock2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 27400k/27400k available, 5368k 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 : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0453fdc   (4400 kB)
[    0.000000]       .init : 0xc0454000 - 0xc04738bc   ( 127 kB)
[    0.000000]       .data : 0xc0474000 - 0xc04a7300   ( 205 kB)
[    0.000000]        .bss : 0xc04a7300 - 0xc04c2a88   ( 110 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=528000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005326] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.075241] pid_max: default: 32768 minimum: 301
[    0.080442] Mount-cache hash table entries: 512
[    0.086433] CPU: Testing write buffer coherency: ok
[    0.092223] Setting up static identity map for 0xc0320d40 - 0xc0320d98
[    0.101736] devtmpfs: initialized
[    0.107161] pinctrl core: initialized pinctrl subsystem
[    0.112923] NET: Registered protocol family 16
[    0.118652] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.126520] dump_class_init,821, success
[    0.135682] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.152312] No ATAGs?
[    0.163268] bio: create slab <bio-0> at 0
[    0.169717] SCSI subsystem initialized
[    0.174025] usbcore: registered new interface driver usbfs
[    0.179835] usbcore: registered new interface driver hub
[    0.185764] usbcore: registered new device driver usb
[    0.192043] Advanced Linux Sound Architecture Driver Initialized.
[    0.200713] cfg80211: Calling CRDA to update world regulatory domain
[    0.207735] [pm]aw_pm_init!
[    0.211017] [pm]aw_pm_valid!
[    0.214122] Notice: sunivw1p1 just support normal standby.
[    0.219789] [pm]aw_pm_valid!
[    0.222841] Notice: sunivw1p1 just support normal standby.
[    0.228883] Switching to clocksource suniv high-res couter
[    0.267797] codec_config
[    0.270591] (null).sta33x_pwrdn_gpio gpio=135,mul_sel=0,data:1
[    0.276736] codec_config: sta33x_pwrdn_gpio gpio num=135
[    0.282225] codec_request_gpio: test1
[    0.286091] codec_request_gpio: request gpio=135
[    0.290999] codec_request_gpio: L1167 Pin=1
[    0.295426] codec_request_gpio: request gpio(135) ok
[    0.315183] NET: Registered protocol family 2
[    0.322029] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.329281] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.335913] TCP: Hash tables configured (established 512 bind 512)
[    0.342435] TCP: reno registered
[    0.345909] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.351955] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.359060] NET: Registered protocol family 1
[    0.379238] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.385956] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.393506] msgmni has been set to 53
[    0.400659] io scheduler noop registered
[    0.404877] io scheduler deadline registered
[    0.409415] io scheduler cfq registered (default)
[    0.438719] sw_uart_request_gpio(753)
[    0.442576] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[    0.450307] sw_uart_request_gpio(753)
[    0.454164] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.460592] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[    0.468887] console [ttyS1] enabled, bootconsole disabled
[    0.468887] console [ttyS1] enabled, bootconsole disabled
[    0.481575] misc dump reg init
[    0.488786] spi spi0: master is unqueued, this is deprecated
[    0.496612] NorFlash ID: 0xef4019 - 0x0
[    0.500935] m25p80 spi0.0: found w25q256, expected m25p64
[    0.507177] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    0.526869] Creating 8 MTD partitions on "(null)":
[    0.532215] 0x000000000000-0x000000080000 : "uboot"
[    0.540261] 0x000000080000-0x0000003c0000 : "boot"
[    0.548086] 0x0000003c0000-0x000000ac0000 : "rootfs"
[    0.556167] 0x000000ac0000-0x000000ae0000 : "env"
[    0.563834] 0x000000ae0000-0x000000af0000 : "bootlogo"
[    0.572229] 0x000000af0000-0x000000c70000 : "recoverk"
[    0.580614] 0x000000c70000-0x000000fb0000 : "recoverf"
[    0.588790] 0x000000fb0000-0x000000fc0000 : "private"
[    0.597739] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.605109] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[    0.611994] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.618935] ohci_hcd: block sizes: ed 64 td 64
[    0.624312] usbcore: registered new interface driver usb-storage
[    0.631848] support report repeat key value.
[    0.637469] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.645418] i2c /dev entries driver
[    0.649422] IR NEC protocol handler initialized
[    0.655108] pdev->dev.of_node name :cir
[    0.659683] Registered IR keymap rc_map_sunxi
[    0.666683] input: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0/input1
[    0.675223] rc0: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0
[    0.682760] sunxi cedar version 0.1
[    0.687057] [cedar]: install start!!!
[    0.691282] cedar-ve the get irq is 102
[    0.695769] cedar-ve the sram base addr is f1c00000, value is 7fffffff
[    0.703001] IR RX IRQ Serve
[    0.706096] sunxi_ir_recv_irq !!
[    0.709664] receive cnt :5
[    0.712754] get frist pulse,add head 128 !!
[    0.717383] pusle :1, dur: 16277079 ns
[    0.721530] handle raw data.
[    0.724832] cedar-ve the sram for ve addr is f1c00004, value is 70000001
[    0.733028] cedar-ve clk_bass_vir 0x18  is f1c20018, the value:93000800
[    0.740486] cedar-ve clk_bass_vir 0x13c  is f1c2013c, the value:80000000
[    0.747964] cedar-ve clk_bass_vir 0x64  is f1c20064, the value:1
[    0.754656] cedar-ve clk_bass_vir 0x2c4  is f1c202c4, the value:0
[    0.761411] cedar-ve clk_bass_vir 0x100  is f1c20100, the value:1
[    0.768188] [cedar]: install end!!!
[    0.773425] usbcore: registered new interface driver usbhid
[    0.779703] usbhid: USB HID core driver
[    0.787524] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    0.795865]
[    0.795865] snd_soc_register_card failed -517
[    0.802403] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    0.812264] TCP: cubic registered
[    0.816076] Initializing XFRM netlink socket
[    0.820875] NET: Registered protocol family 17
[    0.826180] VFP support v0.3: not present
[    0.832226] [LCD] lcd_module_init
[    1.415618] BSP_disp_layer_set_para: fb_format=0x0, yuv_ch=0
[    1.437183] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    1.445520]
[    1.445520] snd_soc_register_card failed -517
[    1.452101] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.462049] input: gpio_keys.7 as /devices/soc.0/gpio_keys.7/input/input2
[    1.470869] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    1.479215]
[    1.479215] snd_soc_register_card failed -517
[    1.486159] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.493329] ALSA device list:
[    1.496751]   No soundcards found.
[    1.500773] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.510135] async_waiting @ 1
[    1.513485] async_continuing @ 1 after 3 usec
[    1.529959] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.547581] devtmpfs: mounted
[    1.551006] async_waiting @ 1
[    1.554327] async_continuing @ 1 after 3 usec
[    1.559773] Freeing unused kernel memory: 124K (c0454000 - c0473000)
/etc/init.d/rcS: line 12: /usr/sbin/net.sh: not found

/ #

https://whycan.cn/files/members/2525/sunivw1p1smp_defconfig_20191220-0027.txt
https://whycan.cn/files/members/2525/sys_config_fex_20191220-0027.txt


as you see, I have to set this up, no matter what the cost is.

最近编辑记录 Biftor (2019-12-20 00:46:26)

离线

#146 2020-02-22 22:41:36

tianyingkeji
会员
所在地: beijing
注册时间: 2019-01-06
已发帖子: 11
积分: 6
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

Biftor 说:

嗨,大家好

我想编译它时遇到问题。
它只是失败了。
您能检查一下怎么了吗?

对不起我不懂中文。
我使用翻译器。
谢谢。

Hi guys

i have problem when i want to compile it.
it just failed.
can you please check what's wrong with it?

sorry i don't know Chinese .
i am using translator.
Thanks.

Ubuntu 18.0.4.3 LTS
https://whycan.cn/files/members/2525/Screenshot%20from%202019-12-05%2018-38-19.png



thank you for waitting ……  you can fix your bug for log 。 to delete brace at automake line 4113.Becase the new perl Curly braces are not supported.

最近编辑记录 tianyingkeji (2020-02-22 22:44:23)

离线

#147 2020-04-29 15:13:39

sknown
会员
注册时间: 2020-04-28
已发帖子: 7
积分: 2

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

我的编译后起不来,看下版主的

离线

#148 2020-04-29 15:14:50

sknown
会员
注册时间: 2020-04-28
已发帖子: 7
积分: 2

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

还是没法烧,怎么办

离线

#149 2020-04-29 15:21:10

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

sknown 说:

还是没法烧,怎么办

什么情况,接串口看下log





离线

#150 2020-05-03 20:41:48

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

按照晕哥的流程,到第6步骤 重新打包失败了,什么原因

[/	/opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/bin/arm-none-linux-gnueabi-ldconfig -r /opt/c600/out/sunivw1p1/linux/common/buildroot/target; \
else \
	/sbin/ldconfig -r /opt/c600/out/sunivw1p1/linux/common/buildroot/target; \
fi
echo 2011.02 > /opt/c600/out/sunivw1p1/linux/common/buildroot/target/etc/br-version
"target/suniv.sh" /opt/c600/out/sunivw1p1/linux/common/buildroot/target
mkdir: cannot create directory ‘/opt/c600/out/sunivw1p1/linux/common/buildroot/target/lib/firmware’: File exists
cp: cannot stat '/opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/arm-linux-gnueabi/libc/lib/arm-linux-gnueabi/*': No such file or directory
rm -f /opt/c600/out/sunivw1p1/linux/common/buildroot/build/locales.nopurge
for i in C en_US; do echo $i >> /opt/c600/out/sunivw1p1/linux/common/buildroot/build/locales.nopurge; done
for dir in /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/locale; \
do \
	for lang in $(cd $dir; ls .|grep -v man); \
	do \
		grep -qx $lang /opt/c600/out/sunivw1p1/linux/common/buildroot/build/locales.nopurge || rm -rf $dir/$lang; \
	done; \
done
>>>   Generating root filesystem image rootfs.squashfs
rm -f /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
touch /opt/c600/out/sunivw1p1/linux/common/buildroot/build/.fakeroot.00000
cat /opt/c600/out/sunivw1p1/linux/common/buildroot/build/.fakeroot* > /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
echo "chown -R 0:0 /opt/c600/out/sunivw1p1/linux/common/buildroot/target" >> /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
echo "/opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/makedevs -d target/generic/device_table.txt /opt/c600/out/sunivw1p1/linux/common/buildroot/target" >> /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
echo "	/opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/mksquashfs /opt/c600/out/sunivw1p1/linux/common/buildroot/target /opt/c600/out/sunivw1p1/linux/common/buildroot/images/rootfs.squashfs -noappend -comp xz && chmod 0644 /opt/c600/out/sunivw1p1/linux/common/buildroot/images/rootfs.squashfs" >> /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
chmod a+x /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
/opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/fakeroot -- /opt/c600/out/sunivw1p1/linux/common/buildroot/build/_fakeroot.fs
fakeroot: preload library not found, aborting.
fs/squashfs/squashfs.mk:41: recipe for target '/opt/c600/out/sunivw1p1/linux/common/buildroot/images/rootfs.squashfs' failed
make: *** [/opt/c600/out/sunivw1p1/linux/common/buildroot/images/rootfs.squashfs] Error 1
make: Leaving directory '/opt/c600/buildroot'
ERROR: build buildroot Failed
root@ubuntu:/opt/c600# 

最近编辑记录 bubailong (2020-05-03 20:50:29)

离线

#151 2020-05-03 22:12:51

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

1. 克隆c600 bsp 源码:
https://bitbucket.org/qq516333132/c600.git


晕哥,能把这个源码放在github上吗,我这下载实在太慢了,几KB

离线

#152 2020-05-03 22:15:38

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

bubailong 说:

1. 克隆c600 bsp 源码:
https://bitbucket.org/qq516333132/c600.git


晕哥,能把这个源码放在github上吗,我这下载实在太慢了,几KB

https://github.com/qq516333132/c600





离线

#153 2020-05-03 22:18:34

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

谢谢,我下载试试

离线

#154 2020-05-03 22:25:32

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

bubailong 说:

谢谢,我下载试试


下载最后失败了,这个正常吗?

Cloning into 'c600'...
remote: Enumerating objects: 74701, done.
remote: Counting objects: 100% (74701/74701), done.
remote: Compressing objects: 100% (59675/59675), done.
remote: Total 74701 (delta 13906), reused 74701 (delta 13906), pack-reused 0
Receiving objects: 100% (74701/74701), 821.27 MiB | 11.14 MiB/s, done.
Resolving deltas: 100% (13906/13906), done.
Checking connectivity... done.
Checking out files: 100% (72815/72815), done.
batch response: Currently only supports Enterprise projects                     
error: failed to fetch some objects from 'https://gitee.com/bubailong/c600.git/info/lfs'

离线

#155 2020-05-21 16:15:46

auroal1
会员
注册时间: 2020-05-21
已发帖子: 7
积分: 7

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

终于把显示demo随机矩形跑起来了,特别感谢晕哥提供的.config,sys_config也可参照晕哥的,虽然晕哥强调那几个我都配了但可能还是其它一些未知的配置影响了;

离线

#156 2020-07-15 12:40:13

nufing
会员
注册时间: 2020-01-02
已发帖子: 92
积分: 81.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

4. buildroot 编译
因为在c600的buildroot没有搞定直接配置编译,所以单独处理buildroot问题,使用c600 bsp的工具链.

cd /opt/
wget https://buildroot.org/downloads/buildroot-2017.08.1.tar.gz  ###下载buildroot源码
tar xvf buildroot-2017.08.1.tar.gz
cd /opt/buildroot-2017.08.1/
wget https://whycan.cn/files/c600_bsp/buildroot.config -O .config   ###下载配置文件
make ###直接编译

5. 拷贝可执行文件:

cp /opt/buildroot-2017.08.1/output/target/usr/bin/fb-test* /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/bin ##拷贝到根文件系统


这里 下载了  buildroot-2017.08.1, 并且正常编译,
后面的:
./build.sh -p sunivw1p1 -k linux-3.10 -m all   ###编译
./build.sh pack   ####打包

好像没有使用到 buildroot-2017.08.1.tar.gz. 那下载这个有什么用了?

最近编辑记录 nufing (2020-07-15 12:41:26)

离线

#157 2020-07-15 14:56:51

jared1716
会员
注册时间: 2020-07-15
已发帖子: 2
积分: 2

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

强烈建议楼主写一份详细点的包括环境搭建资料出来供大家参考!!

离线

#158 2020-10-02 09:46:21

mengx
会员
注册时间: 2020-09-11
已发帖子: 2
积分: 2

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

您好,老大,我现在遇到几个问题,请教您:
1、我的flash型号是xt25f128b,原bps应该是不支持,具体怎么添加?
2、我现在编译了用sunix-fel烧了,启动不了,串口没有任何输出(换过好几个端口都一样没输出),屏也只有背光亮。(烧录的时间相对比较长,大约三分钟)
3、我需要用电阻触摸ns2009,我看了一下sys_confing.fex里:如果用rtp,并没有ic的配置;是否在ctp里配置?如果不是,那又如何配置呢?

离线

#159 2020-10-02 10:58:34

哦豁哦豁
会员
注册时间: 2020-01-17
已发帖子: 79
积分: 79

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

1. 应该是修改 m25p80.c 那个文件,或者目录里面其他参与编译的文件.
2. bsp sdk 生成 img 文件用 官方烧录软件烧录.
3. ns2009实际上就是 tsc2007 (破解??逆向设计??), 可以看他的其他i2c设备怎么配置,一葫芦画瓢即可.

离线

#160 2020-10-29 20:58:15

tang6397
会员
注册时间: 2020-06-27
已发帖子: 95
积分: 94.5

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

懇求一个 f1c100s licheepi  linux bsp lcd(800x480) 64M w25q128 SPI-NAND引导 有.config 的 u-boot 源码 (qt app)

离线

#161 2022-03-08 10:29:04

wakerze
会员
注册时间: 2022-02-28
已发帖子: 9
积分: 4

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

修改sys_config.fex的引导为TF卡后,使用TF烧录依然没有反映,晕哥可否赐教需要修改哪里呢

离线

#162 2022-03-08 10:46:04

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

wakerze 说:

修改sys_config.fex的引导为TF卡后,使用TF烧录依然没有反映,晕哥可否赐教需要修改哪里呢

如何烧录的?





离线

#163 2022-03-10 11:52:01

tigger
Moderator
注册时间: 2021-06-18
已发帖子: 172
积分: 111

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

D1s 切换:

echo usb_device > /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/otg_role

echo usb_host > /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/otg_role

echo null > /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/otg_role


或者:

cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device

cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host

cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/otg_role

离线

#164 2023-06-25 15:31:58

bidezhi7777
会员
注册时间: 2021-04-22
已发帖子: 23
积分: 3

Re: 【2】step by step 编译全志 f1c100s 官方linux bsp (重建文件系统已经搞定,详见5楼)

F1C100S的checksum是怎么来的???

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn