您尚未登录。

楼主 #1 2018-04-19 16:57:55

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

【1】step by step 编译全志 f1c100s 官方linux bsp

2018-04-01上架版本:
核心板原理图: Lichee_nano.pdf
底板原理图:    lpi-nano-dock.pdf
网盘资料(有可能会失效):https://pan.baidu.com/s/1smzuGS9
购买地址: 9.9元起 荔枝派Nano 跨界核心板 开发板 多系统 linux


--------------------------------------------------
F1C100s资料集合:
参考链接0: 买个全志arm9 F1C100s 方案的唱戏机回来拆一拆
参考链接1: F1C100s 手册
参考链接2: 看戏机(唱戏机)F1C100原理图
参考链接3: 侨德实业有限公司VS (全志C100电脑升级)流程示意图
参考链接4: 先科唱戏机(看戏机)F1C100s方案运行XBOOT大神的XBOOT系统步骤
参考链接5: F1C100s入坑记录
参考链接6: 编译、安装Windows版本sunxi-fel步骤
参考链接7: 感谢荔枝派群主泽畔友情赠送的nano f1c100s开发板、液晶屏、电容触摸屏.






























正确姿势下载芒果派git hub上 f1c100s bsp代码

如果你的姿势是:

那么恭喜你, 你碰到的坑多大根本填不完。





离线

楼主 #2 2018-04-19 17:02:18

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

How to install git-lfs on Ubuntu 16.04?

  1. sudo apt-get install -y lib32z1 lib32ncurses5 lib32stdc++6

  2. sudo apt-get install -y u-boot-tools make g++ gettext python unzip fakeroot

  3. sudo apt-get install -y bison texinfo bc flex

  4. sudo apt-get install -y software-properties-common

  5. sudo curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash

  6. sudo apt-get install git-lfs

  7. git lfs install

所以直接用下面的命令即可:

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
git lfs clone https://github.com/mirkerson/c600.git




离线

楼主 #3 2018-04-19 17:02:23

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

以下是2018-08-13 更新:
-------------------------------------------------
全志官方烧录软件: PhoenixSuit_CN_debug.msi
我编译的img: sunivw1p1_linux_evb_uart0.img.tar.gz

串口线接 A0, A1





离线

楼主 #4 2018-04-19 17:24:24

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

test -z "/opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin" || /bin/mkdir -p "/opt/c600/out/sunivw1p1/linux/common/sr/bin"
  /bin/bash ./libtool   --mode=install /usr/bin/install -c 'faked' '/opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/b
libtool: install: /usr/bin/install -c faked /opt/c600/out/sunivw1p1/linux/common/buildroot/host/usr/bin/faked
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
make[2]: Leaving directory `/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
make[1]: Leaving directory `/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-fakeroot-1.9.5'
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs
mkdir /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs
cp package/makedevs/makedevs.c /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs
cc -Wall -Werror -O2 /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c -o /opt/c600/out/sunivw1p1ildroot/build/host-makedevs/makedevs
/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c: In function ‘main’:
/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c:374:6: error: variable ‘ret’ set but not used [ut-set-variable]
  int ret = EXIT_SUCCESS;
      ^
cc1: all warnings being treated as errors
make: *** [/opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs] Error 1
make: Leaving directory `/opt/c600/buildroot'
ERROR: build buildroot Failed

一个编译错误。


文件 /opt/c600/out/sunivw1p1/linux/common/buildroot/build/host-makedevs/makedevs.c 最末

return 0;
改为
return ret;

即可。





离线

楼主 #5 2018-04-19 18:01:17

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
make[1]: *** [arch/arm/boot/uImage] Error 1
make: *** [uImage] Error 2
ERROR: build kernel Failed
root@localhost:/opt/c600# mkimage
-bash: mkimage: command not found


解决方法:
ubuntu12.04:
sudo apt-get install uboot-mkimage

ubuntu14.04:
sudo apt-get install u-boot-tools





离线

楼主 #6 2018-04-19 18:05:44

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

In file included from drivers/soc/allwinner/pm-suniv/standby/standby_i.h:21:0,
                 from drivers/soc/allwinner/pm-suniv/standby/standby_clock.h:20,
                 from drivers/soc/allwinner/pm-suniv/standby/standby_clock.c:9:
include/linux/power/aw_pm.h:143:0: warning: "PLL_NUM" redefined
include/linux/power/aw_pm.h:92:0: note: this is the location of the previous definition
include/linux/power/aw_pm.h:153:0: warning: "BUS_NUM" redefined
include/linux/power/aw_pm.h:93:0: note: this is the location of the previous definition
rm -rf *.o drivers/soc/allwinner/pm-suniv/standby/./*.o
  AS      drivers/soc/allwinner/pm-suniv/standby.o
  LD      drivers/soc/allwinner/pm-suniv/built-in.o
  LD      drivers/soc/allwinner/built-in.o
  LD      drivers/soc/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  GZIP    arch/arm/boot/compressed/piggy.gzip
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  Building modules, stage 2.
  MODPOST 3 modules
make: Nothing to be done for `modules'.
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/compile.h
  CC      drivers/soc/allwinner/pm-suniv/standby/main.o
In file included from drivers/soc/allwinner/pm-suniv/standby/standby_i.h:21:0,
                 from drivers/soc/allwinner/pm-suniv/standby/main.c:19:
include/linux/power/aw_pm.h:143:0: warning: "PLL_NUM" redefined
include/linux/power/aw_pm.h:92:0: note: this is the location of the previous definition
include/linux/power/aw_pm.h:153:0: warning: "BUS_NUM" redefined
include/linux/power/aw_pm.h:93:0: note: this is the location of the previous definition
  AS      drivers/soc/allwinner/pm-suniv/standby/suniv-standby.o
  CC      drivers/soc/allwinner/pm-suniv/standby/dram_sys.o
  CC      drivers/soc/allwinner/pm-suniv/standby/standby_clock.o
In file included from drivers/soc/allwinner/pm-suniv/standby/standby_i.h:21:0,
                 from drivers/soc/allwinner/pm-suniv/standby/standby_clock.h:20,
                 from drivers/soc/allwinner/pm-suniv/standby/standby_clock.c:9:
include/linux/power/aw_pm.h:143:0: warning: "PLL_NUM" redefined
include/linux/power/aw_pm.h:92:0: note: this is the location of the previous definition
include/linux/power/aw_pm.h:153:0: warning: "BUS_NUM" redefined
include/linux/power/aw_pm.h:93:0: note: this is the location of the previous definition
rm -rf *.o drivers/soc/allwinner/pm-suniv/standby/./*.o
  AS      drivers/soc/allwinner/pm-suniv/standby.o
  LD      drivers/soc/allwinner/pm-suniv/built-in.o
  LD      drivers/soc/allwinner/built-in.o
  LD      drivers/soc/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 3 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  GZIP    arch/arm/boot/compressed/piggy.gzip
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
Image Name:   Linux-3.10.65
Created:      Thu Apr 19 06:02:31 2018
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2167008 Bytes = 2116.22 kB = 2.07 MB
Load Address: 80008000
Entry Point:  80008000
  Image arch/arm/boot/uImage is ready
‘arch/arm/boot/Image’ -> ‘output/bImage’
‘arch/arm/boot/uImage’ -> ‘output/uImage’
‘arch/arm/boot/zImage’ -> ‘output/zImage’
Copy modules to target ...

sunivw1p1 compile Kernel successful


INFO: build kernel OK.
INFO: build rootfs ...
make: Entering directory `/opt/c600/buildroot'
/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~ttyS1::respawn:/sbin/getty -n -l /bin/ash -L ttyS1 115200 vt100 #~' \
                /opt/c600/out/sunivw1p1/linux/common/buildroot/target/etc/inittab
###################################################################
"3a:9d:33:28:d2:22"
192.168.3.122
###################################################################
make: Leaving directory `/opt/c600/buildroot'
make: Entering directory `/opt/c600/buildroot'
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/include /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/lib/pkgconfig /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/aclocal
find /opt/c600/out/sunivw1p1/linux/common/buildroot/target/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
find /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/gdb
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/man /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/man
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/info /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/info
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/doc /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/doc
rm -rf /opt/c600/out/sunivw1p1/linux/common/buildroot/target/usr/share/gtk-doc
find /opt/c600/out/sunivw1p1/linux/common/buildroot/target -type f -perm +111 '!' -name 'libthread_db*.so*' | \
                xargs /opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/bin/arm-none-linux-gnueabi-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true
find /opt/c600/out/sunivw1p1/linux/common/buildroot/target/lib/modules -type f -name '*.ko' | \
                xargs -r /opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/bin/arm-none-linux-gnueabi-strip --remove-section=.comment --remove-section=.note --strip-unneeded || true
mkdir -p /opt/c600/out/sunivw1p1/linux/common/buildroot/target/etc
# Mandatory configuration file and auxilliary cache directory
# for recent versions of ldconfig
touch /opt/c600/out/sunivw1p1/linux/common/buildroot/target/etc/ld.so.conf
mkdir -p /opt/c600/out/sunivw1p1/linux/common/buildroot/target/var/cache/ldconfig
if [ -x "/opt/c600/out/sunivw1p1/linux/common/buildroot/external-toolchain/bin/arm-none-linux-gnueabi-ldconfig" ]; \
        then \
                /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-g6e1e8f9 > /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
make: Leaving directory `/opt/c600/buildroot'
make: Entering directory `/opt/c600/buildroot'
>>>   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
rootdir=/opt/c600/out/sunivw1p1/linux/common/buildroot/target
table='target/generic/device_table.txt'
Warning: skip syncing
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /opt/c600/out/sunivw1p1/linux/common/buildroot/images/rootfs.squashfs, block size 131072.
[============================================================================================================\] 113/113 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, no xattrs
        duplicates are removed
Filesystem size 2383.61 Kbytes (2.33 Mbytes)
        37.09% of uncompressed filesystem size (6426.59 Kbytes)
Inode table size 3134 bytes (3.06 Kbytes)
        16.84% of uncompressed inode table size (18613 bytes)
Directory table size 4780 bytes (4.67 Kbytes)
        55.35% of uncompressed directory table size (8636 bytes)
Number of duplicate files found 2
Number of inodes 580
Number of files 83
Number of fragments 17
Number of symbolic links  269
Number of device nodes 185
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 43
Number of ids (unique uids + gids) 3
Number of uids 2
        root (0)
        unknown (1000)
Number of gids 3
        root (0)
        tty (5)
        unknown (1000)
make: Leaving directory `/opt/c600/buildroot'
INFO: build rootfs OK.
INFO: ----------------------------------------
INFO: build lichee OK.
INFO: ----------------------------------------
root@localhost:/opt/c600#

编译成功,但是不知道生成的 img 在何处 .

-rw-r--r-- 1 root root  305770 Apr 19 04:55 ./linux-3.10/drivers/staging/ft1000/ft1000-pcmcia/ft1000.img
-rw-r--r-- 1 root root  280414 Apr 19 04:55 ./linux-3.10/drivers/staging/ft1000/ft1000-usb/ft3000.img
-rw-r--r-- 1 root root 7256064 Apr 19 06:02 ./linux-3.10/output/boot.img
-rw-r--r-- 1 root root 7256064 Apr 19 06:02 ./out/sunivw1p1/linux/common/boot.img





离线

楼主 #7 2018-04-19 18:06:05

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

QQ20180419184335.png

QQ20180419184340.png

出师不利
估计和v3s不是同一个软件...
那么问题来了, 哪里有f1c100s的官方烧录软件?





离线

楼主 #8 2018-04-19 18:06:13

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

原来是还没有生成烧录的image文件, 汗!
在 @assert 大神指导下,执行 ./build.sh pack 搞定。

root@localhost:/opt/c600# ./build.sh pack
INFO: packing firmware ...
copying tools file
copying configs file
./out/aultls32.fex
./out/aultools.fex
./out/bootlogo.fex
./out/boot_package.cfg
./out/boot_package.fex
./out/boot_package_nor.cfg
./out/cardscript.fex
./out/cardtool.fex
./out/diskfs.fex
./out/env_burn.cfg
./out/env.cfg
./out/image.cfg
‘./out/image_linux.cfg’ -> ‘./out/image.cfg’
./out/recover_f.fex
./out/recover_k.fex
./out/split_xxxx.fex
./out/sunxi.fex
./out/sys_config.fex
./out/sys_partition_dragonboard.fex
./out/sys_partition_dump.fex
./out/sys_partition.fex
‘./out/sys_partition_linux.fex’ -> ‘./out/sys_partition.fex’
./out/sys_partition_nor.fex
./out/sys_partition_private.fex
./out/test_config.fex
./out/toc0.fex
./out/toc1.fex
./out/usbtool.fex
./out/usbtool_test.fex
copying boot resource
copying boot file
p=soc c=product state=0
p=soc c=platform state=0
p=soc c=target state=0
p=soc c=power_sply state=0
p=soc c=card_boot state=0
p=soc c=pm_para state=0
p=soc c=card0_boot_para state=0
p=soc c=card2_boot_para state=0
p=soc c=twi_para state=0
p=soc c=uart_para state=0
p=soc c=jtag_para state=0
p=soc c=dram state=0
p=soc c=twi0 state=0
p=soc c=twi1 state=0
p=soc c=twi2 state=0
p=soc c=uart0 state=0
p=soc c=uart1 state=0
p=soc c=spi0 state=0
p=soc c=rtp_para state=0
p=soc c=ctp_para state=0
p=soc c=tkey_para state=0
p=soc c=motor_para state=0
p=soc c=nand0 state=0
p=soc c=disp_init state=0
p=soc c=lcd0 state=0
p=soc c=pwm0_para state=0
p=soc c=pwm1_para state=0
p=soc c=vip0 state=0
p=soc c=tvout_para state=0
p=soc c=tvin_para state=0
p=soc c=di state=0
p=soc c=sdc0 state=0
p=soc c=sdc1 state=0
p=soc c=smc state=0
p=soc c=gsensor_para state=0
p=soc c=gps_para state=0
p=soc c=wifi_para state=0
p=soc c=gy_para state=0
p=soc c=ls_para state=0
p=soc c=compass_para state=0
p=soc c=bt_para state=0
p=soc c=audiospdif state=0
p=soc c=spdif_machine state=0
p=soc c=audiohdmi state=0
p=soc c=hdmi_machine state=0
p=soc c=pmu0 state=0
p=soc c=pmu0_regu state=0
p=soc c=dvfs_table state=0
p=soc c=Vdevice state=0
Conver script to dts ok.
./pack: line 439: busybox: command not found
./pack: line 440: busybox: command not found
./pack: line 436:  4466 Segmentation fault      script sys_partition.fex > /dev/null
update_fdt: u-boot-spinor.fex will merage sunxi.fex, generate u-boot-spinor.fex
---0xd0, 0xd
update_fdt: num 216204 randto1k
update_fdt: num 40289 randto1k
file1_len = 35000, file2_len = c000
----------i1111-217088
dtb offset 35000,size c000
update_fdt:genrate /opt/c600/tools/pack/out/u-boot-spinor.fex ok
./pack: line 462: busybox: command not found
pack boot package
./pack: line 469: busybox: command not found
GetPrivateProfileSection read to end
content_count=1
pack boot package
./pack: line 501: busybox: command not found
GetPrivateProfileSection read to end
content_count=1
packing for linux
normal
load file: boot0_spinor.fex ok
load file: boot_package_nor.fex ok
load file: sunxi_mbr.fex ok
load file: sys_partition.bin ok
load file: kernel.fex ok
this is not a partition key
merge_package ok
/opt/c600/tools/pack/pctools/linux/eDragonEx/
/opt/c600/tools/pack/out
Begin Parse sys_partion.fex
Add partion boot-resource.fex BOOT-RESOURCE_FEX
Add partion very boot-resource.fex BOOT-RESOURCE_FEX
FilePath: boot-resource.fex
FileLength=483400Add partion env.fex ENV_FEX000000000
Add partion very env.fex ENV_FEX000000000
FilePath: env.fex
FileLength=20000Add partion boot.fex BOOT_FEX00000000
Add partion very boot.fex BOOT_FEX00000000
FilePath: boot.fex
FileLength=6eb800sys_config.fex Len: 0xab09
config.fex Len: 0x6900
split_xxxx.fex Len: 0x200
sys_partition.fex Len: 0xb49
sunxi.fex Len: 0x9d61
boot0_nand.fex Len: 0x8000
boot0_sdcard.fex Len: 0x8000
u-boot.fex Len: 0x64000
toc1.fex Len: 0x8
toc0.fex Len: 0x8
fes1.fex Len: 0x2740
boot_package.fex Len: 0x68000
full_img.fex Len: 0x2c0000
usbtool.fex Len: 0x23000
aultools.fex Len: 0x26ead
aultls32.fex Len: 0x238dd
cardtool.fex Len: 0x18e00
cardscript.fex Len: 0x779
sunxi_mbr.fex Len: 0x4000
dlinfo.fex Len: 0x4000
arisc.fex Len: 0x6
boot-resource.fex Len: 0x483400
Vboot-resource.fex Len: 0x4
env.fex Len: 0x20000
Venv.fex Len: 0x4
boot.fex Len: 0x6eb800
Vboot.fex Len: 0x4
BuildImg 0
Dragon execute image.cfg SUCCESS !
----------image is at----------

/opt/c600/tools/pack/sunivw1p1_linux_evb_uart0.img

pack finish




离线

楼主 #9 2018-04-19 18:06:19

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

QQ20180419204822.png

烧是烧完了, 两组UART0串口都没反应.





离线

楼主 #10 2018-04-19 18:09:24

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

HELLO! BOOT0 is starting!
boot0 commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
boot0 version : 4.0
run key detect boot0
do_key_test
key pressed value=0x00000003
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 = 623c


U-Boot 2014.07 (Mar 31 2018 - 15:55:09) Allwinner Technology 

uboot commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
uboot:normal mode
[      0.123]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)=-2002244950
sunxi secure storage is not supported
private partition is not exist
fail to find part named env
Using default environment

--------fastboot partitions--------
-total partitions:2-
-name-        -start-       -size-      
boot        : 4000          240000      
UDISK       : 244000        0           
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_nand
fix bootcmd=run setargs_nand boot_normal
key 0
cant find recovery value
cant find fastboot value
no misc partition is found
to be run cmd=run setargs_nand boot_normal
common/fdt_support.c 540--blob = 0x8096e120
emmc or nand path error: <no error>
common/board_r.c 305-initr_sunxi_base-END--
[      0.194]inter uboot shell
Hit any key to stop autoboot:  3  2  1  0 
read partition: boot or recovery
boota: bad boot image magic, maybe not a boot.img?
try to read partition(boot) all
[      3.348]sunxi flash read :offset 4000, 2359296 bytes OK
boota: bad boot image magic, maybe not a boot.img?
boota - boota   - boot android bootimg from memory


Usage:
boota <addr>
    - boot application image stored in memory
	'addr' should be the address of boot image which is kernel+ramdisk.img

sunxi#

烧录我自己编译的 sunivw1p1_linux_evb_uart0.img 只能启动到 u-boot?
而 @assert 给我的img文件能正常启动到linux shell

而且我pack出来的img只有 @assert 给我的一半大小。





离线

楼主 #11 2018-04-20 10:53:55

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

我编译的挂了:

HELLO! BOOT0 is starting!
boot0 commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
boot0 version : 4.0
run key detect boot0
do_key_test
key pressed value=0x00000004
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 = 6244


U-Boot 2014.07 (Mar 31 2018 - 15:55:09) Allwinner Technology 

uboot commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
uboot:normal mode
[      0.123]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)=-2012741624
sunxi secure storage is not supported
[      0.165]usb burn from boot
delay time 0
sunxi_dma_install_int ok
[      0.231]usb prepare ok
[      0.419]timer occur
[      0.419]overtime
[      0.453]do_burn_from_boot usb : no usb exist
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
boot        : 4000          240000      
rootfs      : 244000        800000      
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 = 0x8096e120
emmc or nand path error: <no error>
common/board_r.c 305-initr_sunxi_base-END--
[      0.501]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.652]sunxi flash read :offset 4000, 2359296 bytes OK
## Booting kernel from Legacy Image at 80007800 ...
   Image Name:   Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2243928 Bytes = 2.1 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 0x8096e120,images->ft_len= = 0 , working_fdt = 8096e120, bi_boot_params = 0 fake = 0

正常的是这样的:

HELLO! BOOT0 is starting!
boot0 commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
boot0 version : 4.0
run key detect boot0
do_key_test
key pressed value=0x00000002
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 = 623c


U-Boot 2014.07 (Mar 31 2018 - 15:55:09) Allwinner Technology 

uboot commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
uboot:normal mode
[      0.123]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)=0
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
[      0.419]timer occur
[      0.419]overtime
[      0.453]do_burn_from_boot usb : no usb exist
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
boot        : 4000          240000      
rootfs      : 244000        800000      
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 = 0x8096e120
emmc or nand path error: <no error>
common/board_r.c 305-initr_sunxi_base-END--
[      0.501]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.652]sunxi flash read :offset 4000, 2359296 bytes OK
## Booting kernel from Legacy Image at 80007800 ...
   Image Name:   Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2167000 Bytes = 2.1 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 0x8096e120,images->ft_len= = 0 , working_fdt = 8096e120, bi_boot_params = 0 fake = 0
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (lq@assert) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #6 Thu Apr 12 16:46:36 CST 2018
[    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: 27840k/27840k available, 4928k 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 - 0xc0456228   (  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.005331] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.075240] pid_max: default: 32768 minimum: 301
[    0.080446] Mount-cache hash table entries: 512
[    0.086443] CPU: Testing write buffer coherency: ok
[    0.092225] Setting up static identity map for 0xc02d6f40 - 0xc02d6f98
[    0.101717] devtmpfs: initialized
[    0.107119] pinctrl core: initialized pinctrl subsystem
[    0.112881] NET: Registered protocol family 16
[    0.118581] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.126461] dump_class_init,821, success
[    0.135618] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.152930] No ATAGs?
[    0.162755] bio: create slab <bio-0> at 0
[    0.169190] SCSI subsystem initialized
[    0.173493] usbcore: registered new interface driver usbfs
[    0.179294] usbcore: registered new interface driver hub
[    0.185216] usbcore: registered new device driver usb
[    0.191530] Advanced Linux Sound Architecture Driver Initialized.
[    0.200152] cfg80211: Calling CRDA to update world regulatory domain
[    0.207196] [pm]aw_pm_init!
[    0.210476] [pm]aw_pm_valid!
[    0.213589] Notice: sunivw1p1 just support normal standby.
[    0.219255] [pm]aw_pm_valid!
[    0.222268] Notice: sunivw1p1 just support normal standby.
[    0.228311] Switching to clocksource suniv high-res couter
[    0.268087] codec_config
[    0.270878] (null).sta33x_pwrdn_gpio gpio=135,mul_sel=0,data:1
[    0.277018] codec_config: sta33x_pwrdn_gpio gpio num=135
[    0.282506] codec_request_gpio: test1
[    0.286378] codec_request_gpio: request gpio=135
[    0.291288] codec_request_gpio: L1167 Pin=1
[    0.295718] codec_request_gpio: request gpio(135) ok
[    0.314620] NET: Registered protocol family 2
[    0.321750] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.328999] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.335628] TCP: Hash tables configured (established 512 bind 512)
[    0.342145] TCP: reno registered
[    0.345613] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.351654] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.358753] NET: Registered protocol family 1
[    0.378502] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.385266] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.393104] msgmni has been set to 54
[    0.400276] io scheduler noop registered
[    0.404499] io scheduler deadline registered
[    0.409039] io scheduler cfq registered (default)
[    0.437504] sw_uart_request_gpio(753)
[    0.441362] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[    0.449113] sw_uart_request_gpio(753)
[    0.452967] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.459390] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[    0.467684] console [ttyS1] enabled, bootconsole disabled
[    0.467684] console [ttyS1] enabled, bootconsole disabled
[    0.480364] misc dump reg init
[    0.487608] spi spi0: master is unqueued, this is deprecated
[    0.495441] NorFlash ID: 0xc22019 - 0xc220
[    0.500023] m25p80 spi0.0: found mx25l25635e, expected m25p64
[    0.506639] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
[    0.526714] Creating 8 MTD partitions on "(null)":
[    0.532057] 0x000000000000-0x000000080000 : "uboot"
[    0.540152] 0x000000080000-0x0000002c0000 : "boot"
[    0.548020] 0x0000002c0000-0x000000ac0000 : "rootfs"
[    0.556173] 0x000000ac0000-0x000000ae0000 : "env"
[    0.563897] 0x000000ae0000-0x000000af0000 : "bootlogo"
[    0.572362] 0x000000af0000-0x000000c70000 : "recoverk"
[    0.580788] 0x000000c70000-0x000000fb0000 : "recoverf"
[    0.589019] 0x000000fb0000-0x000000fc0000 : "private"
[    0.597611] usbcore: registered new interface driver usb-storage
[    0.604938] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.612866] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.625197] hub 1-0:1.0: USB hub found
[    0.629428] hub 1-0:1.0: 1 port detected
[    0.635641] support report repeat key value. 
[    0.641166] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.649080] i2c /dev entries driver
[    0.653092] IR NEC protocol handler initialized
[    0.658695] pdev->dev.of_node name :cir
[    0.663260] Registered IR keymap rc_map_sunxi
[    0.670273] input: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0/input1
[    0.678781] rc0: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0
[    0.687891] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.30 2015-10-10 10:03) Compiled in Apr 12 2018 at 16:03:01
[    0.701212] sunxi-mmc 1c0f000.sdmmc: Can't get vmmc regulator string
[    0.708261] IR RX IRQ Serve
[    0.711352] sunxi_ir_recv_irq !!
[    0.714919] receive cnt :5 
[    0.718007] get frist pulse,add head 128 !!
[    0.722632] pusle :1, dur: 16277079 ns
[    0.726777] handle raw data.
[    0.730096] sunxi-mmc 1c0f000.sdmmc: Can't get vqmmc regulator string
[    0.737328] sunxi-mmc 1c0f000.sdmmc: Can't get vdmmc regulator string
[    0.744534] sunxi-mmc 1c0f000.sdmmc: Failed getting OCR mask: 0
[    0.751903] sunxi-mmc 1c0f000.sdmmc: *******************set host ocr**************************
[    0.762007] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.784194] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.814375] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:107
[    0.820703] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.828442] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.835385] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.850983] 
[    0.850983] sunxi_daudio->tx_data_mode =0
[    0.859948] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.871861] failed to get headphone-dect gpio from dts,headphone-dect:-2
[    0.879978] no jack gpio or irq
[    0.889031] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    0.898168] sunxi-codec-machine sound.3:  sun8iw10codec <-> 1c23c00.cpudai0-controller mapping ok
[    0.908170] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.915881] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.923510] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.931204] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.938221] sunxi-codec-machine-i2s sound.5: ASoC: CODEC sta339.2-001c not registered
[    0.947012] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.953807] 
[    0.953807] snd_soc_register_card failed -517
[    0.960434] platform sound.5: Driver sunxi-codec-machine-i2s requests probe deferral
[    0.969109] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.976818] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.984338] TCP: cubic registered
[    0.988082] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.994941] Initializing XFRM netlink socket
[    0.999740] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.011463] NET: Registered protocol family 17
[    1.016760] VFP support v0.3: not present
[    1.023844] sunxi-codec-machine-i2s sound.5: ASoC: CODEC sta339.2-001c not registered
[    1.032663] 
[    1.032663] snd_soc_register_card failed -517
[    1.039463] platform sound.5: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.048169] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    1.054991] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    1.067523] input: gpio_keys.6 as /devices/soc.0/gpio_keys.6/input/input2
[    1.076355] sunxi-codec-machine-i2s sound.5: ASoC: CODEC sta339.2-001c not registered
[    1.085180] 
[    1.085180] snd_soc_register_card failed -517
[    1.092077] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.100361] ALSA device list:
[    1.103693]   #0: audiocodec
[    1.107198] platform sound.5: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.116590] async_waiting @ 1
[    1.119938] async_continuing @ 1 after 3 usec
[    1.138180] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.155716] devtmpfs: mounted
[    1.159135] async_waiting @ 1
[    1.162453] async_continuing @ 1 after 3 usec
[    1.167878] Freeing unused kernel memory: 120K (c03f5000 - c0413000)
/etc/init.d/rcS: line 12: /usr/sbin/net.sh: not found

/ # 




离线

楼主 #12 2018-04-20 10:54:00

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

占位





离线

楼主 #13 2018-04-20 10:54:03

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

占位





离线

楼主 #14 2018-04-25 10:59:15

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

https://whycan.cn/t_864.html

解决方法:

1.
/bin/bash: 行 2: /lichee/out/sun8iw8p1/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: 没有那个文件或目录

在网上查了一下,大概说是我的系统是64位的,而这个程序是32位的,存在兼容问题,需要安装lsb-core,即命令sudo apt-get install lsb-core。

2.但是在这之后又有了新的问题:
./arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

这个问题安装一下下面软件就好了。
apt-get install lib32z1 lib32ncurses5
apt-get install lib32stdc++6

有几个问题需要处理。





离线

#15 2018-04-26 15:42:24

iki1120
会员
注册时间: 2018-03-02
已发帖子: 38
积分: 33

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

固件大小只有一半,不能正常启动kernel的原因可能是分区配置和产品配置的问题。
建议晕哥尝试:
    1,在linux-3.10上层目录执行./build.sh config进行产品配置
    2,在tools目录查找sys_partition.fex,使用nor的话,应该是sys_partition_nor.fex。
看看分区是否合理。

离线

楼主 #16 2018-04-26 15:59:42

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

iki1120 说:

固件大小只有一半,不能正常启动kernel的原因可能是分区配置和产品配置的问题。
建议晕哥尝试:
    1,在linux-3.10上层目录执行./build.sh config进行产品配置
    2,在tools目录查找sys_partition.fex,使用nor的话,应该是sys_partition_nor.fex。
看看分区是否合理。

那个问题后来解决了。
现在是用全志官方软件根本烧不进去,
换几台电脑都不行,
一开始能烧进去的 img 现在换了5台都不行。

165923gsascz2dhd2tadmv.png

现在改用开源的 sunxi-fel, 一点问题都没有。
自己处理烧写地址问题.





离线

#17 2018-05-01 14:57:57

1066950103
会员
注册时间: 2017-11-17
已发帖子: 61
积分: 46

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

iki1120 说:

固件大小只有一半,不能正常启动kernel的原因可能是分区配置和产品配置的问题。
建议晕哥尝试:
    1,在linux-3.10上层目录执行./build.sh config进行产品配置
    2,在tools目录查找sys_partition.fex,使用nor的话,应该是sys_partition_nor.fex。
看看分区是否合理。

请假一下你编译出来了且能正常运行么?用的nor flash 么? 多大的呢? 还有就是需要调整分区参数么?这个linux跑起来之后就只有个 shell 么 有没有简单的应用程序在跑呢?

离线

楼主 #18 2018-05-01 16:30:59

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晚些出教程,
用主线u-boot, bsp linux, jffs2 文件系统,
sunxi-fel 直接烧写 spi flash.





离线

#19 2018-05-17 16:40:36

dgtg
会员
注册时间: 2017-11-08
已发帖子: 257
积分: 216.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

晚些出教程,
用主线u-boot, bsp linux, jffs2 文件系统,
sunxi-fel 直接烧写 spi flash.

晕哥,有更新了没?
等教程...

离线

#20 2018-05-28 22:41:28

1066950103
会员
注册时间: 2017-11-17
已发帖子: 61
积分: 46

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

晚些出教程,
用主线u-boot, bsp linux, jffs2 文件系统,
sunxi-fel 直接烧写 spi flash.

晕哥我继续关注这教程 好久出一个撒? 那里面的硬解码有攻破么?

离线

楼主 #21 2018-05-28 22:49:52

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

不好意思,最近忙一些项目,没有来得及学习f1c100s.

听泽畔群主说,大概下个月会推出硬解码固件和源码。





离线

#22 2018-06-04 10:22:37

wuxx
会员
注册时间: 2018-01-03
已发帖子: 30
积分: 30

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

晚些出教程,
用主线u-boot, bsp linux, jffs2 文件系统,
sunxi-fel 直接烧写 spi flash.

请教一下晕哥,我编译出来的sunivw1p1_linux_evb_uart0.img有30M,要在16M的spi flash里跑是不是还得在哪个地方配置一下重新编译?

离线

楼主 #23 2018-06-04 11:38:03

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

wuxx 说:
晕哥 说:

晚些出教程,
用主线u-boot, bsp linux, jffs2 文件系统,
sunxi-fel 直接烧写 spi flash.

请教一下晕哥,我编译出来的sunivw1p1_linux_evb_uart0.img有30M,要在16M的spi flash里跑是不是还得在哪个地方配置一下重新编译?

官方的 img就酱紫的,V3s的img也会大于30M, 烧进去是没有问题的,原理不知。





离线

#24 2018-06-29 10:27:04

heirun
会员
注册时间: 2018-06-29
已发帖子: 16
积分: 11

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:
iki1120 说:

固件大小只有一半,不能正常启动kernel的原因可能是分区配置和产品配置的问题。
建议晕哥尝试:
    1,在linux-3.10上层目录执行./build.sh config进行产品配置
    2,在tools目录查找sys_partition.fex,使用nor的话,应该是sys_partition_nor.fex。
看看分区是否合理。

那个问题后来解决了。
现在是用全志官方软件根本烧不进去,
换几台电脑都不行,
一开始能烧进去的 img 现在换了5台都不行。

https://whycan.cn/files/members/3/165923gsascz2dhd2tadmv.png

现在改用开源的 sunxi-fel, 一点问题都没有。
自己处理烧写地址问题.

晕哥,请教一下,C600编译出来的是img镜像,如何使用sunxi-fel进行烧录呢?

离线

楼主 #25 2018-06-29 11:01:16

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

本帖九楼那个软件烧录。





离线

#26 2018-06-29 14:39:42

heirun
会员
注册时间: 2018-06-29
已发帖子: 16
积分: 11

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

本帖九楼那个软件烧录。

我使用PhoenixSuit这个软件烧录的时候,一直卡住,界面显示开始烧写固件,进度条却一点没有,最后就超时了,这个是什么原因呀?

离线

#27 2018-07-16 17:44:07

nakanoyip
会员
注册时间: 2018-07-15
已发帖子: 22
积分: 22

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

https://whycan.cn/files/members/3/QQ20180419204822.png

烧是烧完了, 两组UART0串口都没反应.


我用 PhoenixSuit 燒  sunivw1p1_linux_evb_uart0.img 進去後,
情況也是一樣, UART0 串口都沒反應, 後來怎樣解決 ?

离线

楼主 #28 2018-07-16 17:53:36

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

建议还是按 @assert 给出那个方法,用主线u-boot, 全志官方的linux 3.4.





离线

#29 2018-07-16 19:14:32

nakanoyip
会员
注册时间: 2018-07-15
已发帖子: 22
积分: 22

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

建议还是按 @assert 给出那个方法,用主线u-boot, 全志官方的linux 3.4.

晕哥 说:

https://whycan.cn/t_1008.html
源码包下载地址: http://oslife.top/f1c600.tar.bz2
本站临时下载地址: f1c600.tar.bz2

那即是這個裡面的 linux-3.10 ? 還是那裡可以找到呢 ? dts 檔都是用跟 kernel 的 ?
然後改名成 suniv-f1c100s-licheepi-nano.dtb , 給 uboot 引導時用 ?

离线

楼主 #30 2018-07-16 19:40:40

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

我记错了,V3s才是linux3.4
f1c100s 可能是 linux3.10。
dtb文件是全志用一个命令(具体哪个命令不记得了)把 .fex 文本文件生成的。





离线

#31 2018-07-16 20:04:27

nakanoyip
会员
注册时间: 2018-07-15
已发帖子: 22
积分: 22

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

我记错了,V3s才是linux3.4
f1c100s 可能是 linux3.10。
dtb文件是全志用一个命令(具体哪个命令不记得了)把 .fex 文本文件生成的。

用 fex 文件成生, 跟我用 dts 文件, 在 make kernel 時做這個有沒有分別 ?
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs -j4

离线

楼主 #32 2018-07-16 20:18:29

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

这个不太记得了,全志f1c100s使用fex文件而不是dts的原因,估计是为了迎合老客户,他一直的做法都是用fex文本作为设备树。





离线

楼主 #33 2018-07-16 20:32:45

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

刚刚翻了一下与 assert 聊天记录, build.sh 执行后直接可以生成zImage和 dtb 文件。





离线

#34 2018-07-21 10:45:16

gavin
会员
注册时间: 2018-07-21
已发帖子: 6
积分: 6

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

编译出现很多错误,不知为什么


/usr/bin/gcc  -I.     -O2 -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/include -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/usr/include -MT freading.o -MD -MP -MF .deps/freading.Tpo -c -o freading.o freading.c
/usr/bin/gcc  -I.     -O2 -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/include -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/usr/include -MT gl_linkedhash_list.o -MD -MP -MF .deps/gl_linkedhash_list.Tpo -c -o gl_linkedhash_list.o gl_linkedhash_list.c
In file included from clean-temp.h:22:0,
                 from clean-temp.c:23:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from freadahead.h:18:0,
                 from freadahead.c:20:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from freading.h:18:0,
                 from freading.c:20:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
Makefile:1279: recipe for target 'freading.o' failed
make[4]: *** [freading.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Makefile:1279: recipe for target 'freadahead.o' failed
make[4]: *** [freadahead.o] Error 1
mv -f .deps/fd-safer-flag.Tpo .deps/fd-safer-flag.Po
mv -f .deps/dup-safer-flag.Tpo .deps/dup-safer-flag.Po
Makefile:1279: recipe for target 'clean-temp.o' failed
make[4]: *** [clean-temp.o] Error 1
mv -f .deps/gl_linkedhash_list.Tpo .deps/gl_linkedhash_list.Po
make[4]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
Makefile:1083: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
Makefile:1023: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15'
Makefile:976: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15'
package/Makefile.package.in:289: recipe for target '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built' failed
make: *** [/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built] Error 2
make: Leaving directory '/root/linux_bsp/f1c600/buildroot'
ERROR: build buildroot Failed
root@e46b861a6d2d:~/linux_bsp/f1c600#

离线

楼主 #35 2018-07-21 10:50:30

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

https://whycan.cn/t_1014.html

是按这个流程吗?





离线

#36 2018-07-21 10:54:50

gavin
会员
注册时间: 2018-07-21
已发帖子: 6
积分: 6

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

是这个流程啊
我的ubuntu 是16.04
gcc 5.4.0
不知有没有关系

离线

楼主 #37 2018-07-21 10:56:55

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

按提示改下源码,gets改成fgets





离线

楼主 #38 2018-07-21 11:04:39

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

现在只要zImage和dtb,按这个流程有点复杂了,以后整理一个精简版的流程出来。





离线

#39 2018-07-21 11:06:15

gavin
会员
注册时间: 2018-07-21
已发帖子: 6
积分: 6

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

https://whycan.cn/t_1008.html
里面的源码包编译通过了

离线

楼主 #40 2018-07-23 16:43:58

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

gavin 说:

编译出现很多错误,不知为什么


/usr/bin/gcc  -I.     -O2 -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/include -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/usr/include -MT freading.o -MD -MP -MF .deps/freading.Tpo -c -o freading.o freading.c
/usr/bin/gcc  -I.     -O2 -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/include -I/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/host/usr/include -MT gl_linkedhash_list.o -MD -MP -MF .deps/gl_linkedhash_list.Tpo -c -o gl_linkedhash_list.o gl_linkedhash_list.c
In file included from clean-temp.h:22:0,
                 from clean-temp.c:23:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from freadahead.h:18:0,
                 from freadahead.c:20:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
In file included from freading.h:18:0,
                 from freading.c:20:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
Makefile:1279: recipe for target 'freading.o' failed
make[4]: *** [freading.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Makefile:1279: recipe for target 'freadahead.o' failed
make[4]: *** [freadahead.o] Error 1
mv -f .deps/fd-safer-flag.Tpo .deps/fd-safer-flag.Po
mv -f .deps/dup-safer-flag.Tpo .deps/dup-safer-flag.Po
Makefile:1279: recipe for target 'clean-temp.o' failed
make[4]: *** [clean-temp.o] Error 1
mv -f .deps/gl_linkedhash_list.Tpo .deps/gl_linkedhash_list.Po
make[4]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
Makefile:1083: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/lib'
Makefile:1023: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15'
Makefile:976: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15'
package/Makefile.package.in:289: recipe for target '/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built' failed
make: *** [/root/linux_bsp/f1c600/out/sunivw1p1/linux/common/buildroot/build/host-m4-1.4.15/.stamp_built] Error 2
make: Leaving directory '/root/linux_bsp/f1c600/buildroot'
ERROR: build buildroot Failed
root@e46b861a6d2d:~/linux_bsp/f1c600#


修改 lichee/out/sun8iw8p1/linux/common/buildroot/build/host-m4-1.4.15/lib/stdio.h

456 行改成这样:

#if HAVE_RAW_DECL_GETS
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif

参考: https://blog.csdn.net/luckywang1103/article/details/43968079





离线

#41 2018-08-02 08:24:17

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

二进制bin 打包
以16M 大小flash镜像打包脚本为例:

dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\
dd if=$YOUR_UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\
dd if=$YOUR_DTB_FILE of=flashimg.bin bs=1K seek=1024  conv=notrunc &&\
dd if=$YOUR_KERNEL_FILE of=flashimg.bin bs=1K seek=1088  conv=notrunc &&\
mkdir rootfs
tar -xzvf $YOUR_ROOTFS_FILE -C ./rootfs &&\
cp -r $YOUR_MOD_FILE  rootfs/lib/modules/ &&\
# 为根文件系统制作jffs2镜像包
# --pad参数指定 jffs2大小
# 由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\
dd if=jffs2.img of=$YOUR_IMG_FILE  bs=1K seek=5184  conv=notrunc &&\
以上脚本通过对一个生成的16M空bin文件填充 uboot、dtb、kernel、rootfs 生成 16M 镜像,如需修改,请注意各个文件的大小,修改成对应地址(注意对齐)。

怎么烧进FLASH 启动不了?

离线

楼主 #42 2018-08-02 08:29:43

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

二进制bin 打包
以16M 大小flash镜像打包脚本为例:

dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\
dd if=$YOUR_UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\
dd if=$YOUR_DTB_FILE of=flashimg.bin bs=1K seek=1024  conv=notrunc &&\
dd if=$YOUR_KERNEL_FILE of=flashimg.bin bs=1K seek=1088  conv=notrunc &&\
mkdir rootfs
tar -xzvf $YOUR_ROOTFS_FILE -C ./rootfs &&\
cp -r $YOUR_MOD_FILE  rootfs/lib/modules/ &&\
# 为根文件系统制作jffs2镜像包
# --pad参数指定 jffs2大小
# 由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\
dd if=jffs2.img of=$YOUR_IMG_FILE  bs=1K seek=5184  conv=notrunc &&\
以上脚本通过对一个生成的16M空bin文件填充 uboot、dtb、kernel、rootfs 生成 16M 镜像,如需修改,请注意各个文件的大小,修改成对应地址(注意对齐)。

怎么烧进FLASH 启动不了?

把你的串口终端 log 贴出来吧,
没有log没办法判断问题的.





离线

#43 2018-08-02 19:30:40

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

串口终端就是没有输出

离线

楼主 #44 2018-08-02 19:34:02

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

一定要把串口输出先搞定,
这是uboot,kernel的基础。





离线

#45 2018-08-02 20:04:24

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

就是按照二进制bin 打包
以16M 大小flash镜像打包脚本为例:
dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\
dd if=$YOUR_UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\
dd if=$YOUR_DTB_FILE of=flashimg.bin bs=1K seek=1024  conv=notrunc &&\
dd if=$YOUR_KERNEL_FILE of=flashimg.bin bs=1K seek=1088  conv=notrunc &&\
mkdir rootfs
tar -xzvf $YOUR_ROOTFS_FILE -C ./rootfs &&\
cp -r $YOUR_MOD_FILE  rootfs/lib/modules/ &&\
# 为根文件系统制作jffs2镜像包
# --pad参数指定 jffs2大小
# 由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\
dd if=jffs2.img of=$YOUR_IMG_FILE  bs=1K seek=5184  conv=notrunc &&\生产启动文件,串口就没有输出

离线

楼主 #46 2018-08-02 20:26:50

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8


只要烧uboot到tf卡,
串口就有输出。





离线

#47 2018-08-02 21:09:42

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

编译生成 dtb文件
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs -j4

生成的 dtb文件 在 dts同级目录下 没有找到生成 dtb的文件

离线

楼主 #48 2018-08-02 21:39:06

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

dtb 文件在 arch/arm/boot/ 目录下面

也可以用这个命令找:

find . | grep XXX.dtb

find 是查找命令,  点号是当前目录, | 是管道输出, grep 是从查找字符串

比如 f1c100s bsp linux 的dtb 位置:
/opt/c600/linux-3.10/arch/arm/boot/dts/sunivw1p1-evb.dtb





离线

#49 2018-08-02 22:45:56

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

RAM: 32 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI


U-Boot 2018.01-05676-g0018878-dirty (Aug 02 2018 - 20:35:23 +0800) Allwinner Technology

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

Setting up a 480x272 lcd console (overscan 0x0)
In:    serial@1c25000
Out:   serial@1c25000
Err:   serial@1c25000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  2  1  0
spi_flash@0:50000000: failed to activate chip-select 50000000
SF: error -2 reading JEDEC ID
Failed to initialize SPI flash at 0:50000000 (error -2)
No SPI flash selected. Please run `sf probe'
No SPI flash selected. Please run `sf probe'
=>
这是u-boot 启动信息,烧u-boot就可以看到串口有输出,SPIflash打包烧录串口一点信息就没有输出

离线

#50 2018-08-02 22:48:39

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

在uboot源码目录下 进入 ./include/configs/

修改 suniv.h¶
#define CONFIG_BOOTCOMMAND   "sf probe 0:50000000; "                           \
                             "sf read 0x80C00000 0x100000 0x4000; "  \
                             "sf read 0x80008000 0x110000 0x400000; " \
                             "bootz 0x80008000 - 0x80C00000"

离线

#51 2018-08-02 22:49:45

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

修改内核源码目录下的 ./arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts

&spi0 {
    pinctrl-names = "default";
    pinctrl-0 = <&spi0_pins_a>;
    status = "okay";
    spi-max-frequency = <50000000>;
    flash: w25q128@0 {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "winbond,w25q128", "jedec,spi-nor";
        reg = <0>;
        spi-max-frequency = <50000000>;
        partitions {
            compatible = "fixed-partitions";
            #address-cells = <1>;
            #size-cells = <1>;

            partition@0 {
                label = "u-boot";
                reg = <0x000000 0x100000>;
                read-only;
            };

            partition@100000 {
                label = "dtb";
                reg = <0x100000 0x10000>;
                read-only;
            };

            partition@110000 {
                label = "kernel";
                reg = <0x110000 0x400000>;
                read-only;
            };

            partition@510000 {
                label = "rootfs";
                reg = <0x510000 0xAF0000>;
            };
        };
    };
};

添加这个就这样了

离线

楼主 #52 2018-08-03 07:19:30

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

仔细看下49楼出错信息,
应该是你的flash型号没有支持,
如果是这样,
开启配置文件就可以了,
你的是什么flash?





离线

#53 2018-08-03 09:04:54

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

w25q128

离线

楼主 #54 2018-08-03 09:12:23

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

w25q128

spi_flash@0:50000000: failed to activate chip-select 50000000
SF: error -2 reading JEDEC ID
Failed to initialize SPI flash at 0:50000000 (error -2)

你把spi 的时钟频率调低试一试.





离线

#55 2018-08-05 12:54:38

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

我把 0:50000000 改成 "sf probe 0; " uboot可以正常启动了,请问F1C100S全套开发指南吗?再请问我们开发应用程序放在哪里编译,可不可以给一些实例模仿一下。

离线

#56 2018-08-05 13:17:08

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

Nano的设备树在源码的 linux ‣ arch ‣ arm ‣ boot ‣ dts ‣ suniv-f1c100s-licheepi-nano.dts
编译生成 dtb文件
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs -j4

生成的 dtb文件 在 dts同级目录下
但是我们找不到这个 dtb文件。

离线

楼主 #57 2018-08-05 13:28:12

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

开发指南不存在的,全志对资料很保守,经常有全志的员工要求删帖,站长鸭梨也很大。





离线

#58 2018-08-05 13:45:51

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

dd if=/dev/zero of=flashimg.bin bs=16M count=1
dd if=../ubootmainline/u-boot/u-boot-sunxi-with-spl.bin of=flashimg.bin bs=1K conv=notrunc
dd if=../zero41y/linux-zero-4.10.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dtb of=flashimg.bin bs=1K seek=1024  conv=notrunc
dd if=../zero41y/linux-zero-4.10.y/arch/arm/boot/zImage of=flashimg.bin bs=1K seek=1088  conv=notrunc
dd if=../zero_imager/jffs2/jffs2.img of=flashimg.bin  bs=1K seek=5184  conv=notrunc

按上面打包,为什么我打包出来的bin文件有105M多呢?

离线

#59 2018-08-05 13:47:22

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

帮我看看Nano的设备树在源码的 linux ‣ arch ‣ arm ‣ boot ‣ dts目录下为啥没有DTB文件?

离线

楼主 #60 2018-08-05 17:48:10

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

帮我看看Nano的设备树在源码的 linux ‣ arch ‣ arm ‣ boot ‣ dts目录下为啥没有DTB文件?

./arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb

QQ20180805174711.png





离线

楼主 #61 2018-08-05 18:01:21

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

dd if=/dev/zero of=flashimg.bin bs=16M count=1
dd if=../ubootmainline/u-boot/u-boot-sunxi-with-spl.bin of=flashimg.bin bs=1K conv=notrunc
dd if=../zero41y/linux-zero-4.10.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dtb of=flashimg.bin bs=1K seek=1024  conv=notrunc
dd if=../zero41y/linux-zero-4.10.y/arch/arm/boot/zImage of=flashimg.bin bs=1K seek=1088  conv=notrunc
dd if=../zero_imager/jffs2/jffs2.img of=flashimg.bin  bs=1K seek=5184  conv=notrunc

按上面打包,为什么我打包出来的bin文件有105M多呢?

我刚刚试了一下,一切正常, 输入 16MB 的 flashimg.bin, 是不是你的 jffs2.img 文件有问题.





离线

#62 2018-08-05 19:16:03

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

我的在这个目录下找不到,是不是我下载的LINUX有问题?

离线

楼主 #63 2018-08-05 19:45:22

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

我的在这个目录下找不到,是不是我下载的LINUX有问题?

http://nano.lichee.pro/build_sys/kernel.html
按这个一步一步走就可以了,我刚刚就是在干净的环境编译的。





离线

#64 2018-08-06 17:56:32

heirun
会员
注册时间: 2018-06-29
已发帖子: 16
积分: 11

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

仔细看下49楼出错信息,
应该是你的flash型号没有支持,
如果是这样,
开启配置文件就可以了,
你的是什么flash?

nano支持nand flash吗?有哪些型号呢?在哪个文件可以查看呀

离线

楼主 #65 2018-08-06 18:01:07

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

f1c100s本身BROM是支持 spi nand flash的, 著名网友 @assert 已经改出来了,但是目前没有开源.





离线

#66 2018-08-06 18:17:24

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

http://nano.lichee.pro/build_sys/kernel.html
按这个一步一步走就可以了,我刚刚就是在干净的环境编译的
我就是 按这个步骤来的

离线

楼主 #67 2018-08-06 18:36:35

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

http://nano.lichee.pro/build_sys/kernel.html
按这个一步一步走就可以了,我刚刚就是在干净的环境编译的
我就是 按这个步骤来的

然后还是没生成  arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb ?





离线

#68 2018-08-06 19:00:48

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

是的,没有

离线

#69 2018-08-06 19:02:34

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

sun8i-r40-bananapi-m2-ultra.dts
sun8i-r40.dtsi
sun8i-reference-design-tablet.dtsi
sun8i-v3s.dtsi
sun8i-v3s-licheepi-zero-dock.dts
sun8i-v3s-licheepi-zero.dts
sun8i-v40-bananapi-m2-berry.dts
sun9i-a80-cubieboard4.dts
sun9i-a80.dtsi
sun9i-a80-optimus.dts
suniv.dtsi
suniv-f1c100s.dtsi
suniv-f1c100s-licheepi-nano.dts
sunxi-common-regulators.dtsi
sunxi-h3-h5.dtsi
sunxi-itead-core-common.dtsi
sunxi-reference-design-tablet.dtsi
tango4-common.dtsi
tango4-smp8758.dtsi
tango4-vantage-1172.dts
tegra114-dalmore.dts
tegra114.dtsi
tegra114-roth.dts
tegra114-tn7.dts

离线

楼主 #70 2018-08-06 19:12:32

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

感觉还是你操作不对,
不过你可以试一试用命令直接把dts编译成dtb文件。
具体命令你先搜索一下





离线

#71 2018-08-07 09:59:18

guanglun
会员
注册时间: 2018-05-28
已发帖子: 44
积分: 111

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

https://whycan.cn/t_864.html

解决方法:

1.
/bin/bash: 行 2: /lichee/out/sun8iw8p1/linux/common/buildroot/external-toolchain/bin/arm-linux-gnueabi-gcc: 没有那个文件或目录

在网上查了一下,大概说是我的系统是64位的,而这个程序是32位的,存在兼容问题,需要安装lsb-core,即命令sudo apt-get install lsb-core。

2.但是在这之后又有了新的问题:
./arm-linux-gnueabi-gcc: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

这个问题安装一下下面软件就好了。
apt-get install lib32z1 lib32ncurses5
apt-get install lib32stdc++6

有几个问题需要处理。


我编译也遇到了这种情况:
read partition: boot or recovery                                               
boota: bad boot image magic, maybe not a boot.img?                             
try to read partition(boot) all                                                 
[      0.653]sunxi flash read :offset 4000, 2359296 bytes OK                   
## Booting kernel from Legacy Image at 80007800 ...                             
   Image Name:   Linux-3.10.65                                                 
   Image Type:   ARM Linux Kernel Image (uncompressed)                         
   Data Size:    2313480 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 0x8096e120,images->ft_len= = 0 , working_fdt = 8096e120, bi_boot_params = 0

然后就一直不动了,
晕哥怎么解决的啊!

离线

楼主 #72 2018-08-07 10:44:14

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

看起来设备树文件(dtb)出问题?





离线

#73 2018-08-08 21:39:26

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

你是从git clone --depth=1 -b f1c100s-480272lcd-test https://github.com/Icenowy/linux.git
下载的吗

离线

#74 2018-08-08 21:40:46

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

可不可以一个一个来烧录,怎么烧录?

离线

#75 2018-08-08 22:21:37

guanglun
会员
注册时间: 2018-05-28
已发帖子: 44
积分: 111

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

看起来设备树文件(dtb)出问题?

晕哥你11楼遇到的问题和我这个问题一样啊,你下面说已经解决了,把解决方法说明一下啊。。。

离线

#76 2018-08-10 07:41:40

egsen
会员
注册时间: 2018-07-25
已发帖子: 31
积分: 31

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\
dd if=$YOUR_UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\
dd if=$YOUR_DTB_FILE of=flashimg.bin bs=1K seek=1024  conv=notrunc &&\
dd if=$YOUR_KERNEL_FILE of=flashimg.bin bs=1K seek=1088  conv=notrunc &&\
mkdir rootfs
tar -xzvf $YOUR_ROOTFS_FILE -C ./rootfs &&\
cp -r $YOUR_MOD_FILE  rootfs/lib/modules/ &&\
# 为根文件系统制作jffs2镜像包
# --pad参数指定 jffs2大小
# 由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\
dd if=jffs2.img of=$YOUR_IMG_FILE  bs=1K seek=5184  conv=notrunc &&\

@晕哥  cp -r $YOUR_MOD_FILE  rootfs/lib/modules/    YOUR_MOD_FILE这个是什么文件? 做启动文件系统需要用这个吗?

离线

楼主 #77 2018-08-10 08:03:00

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

*.ko 文件拷贝到根文件系统的 lib/modules/ 目录
没有 ko 文件可以忽略.





离线

#78 2018-09-08 11:47:40

szyusong
会员
所在地: 深圳
注册时间: 2018-09-08
已发帖子: 35
积分: 35

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

需要修改 配置才能从 UART0 输出 log。
* 确保可以使用uboot中的bootargs
QQ20180908114017.png
* 采用UART0作为调试口
QQ20180908114442.png

离线

楼主 #79 2018-09-08 11:52:25

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

楼上的朋友, 想问什么问题呢?





离线

#80 2018-09-08 11:59:15

szyusong
会员
所在地: 深圳
注册时间: 2018-09-08
已发帖子: 35
积分: 35

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

可以从 UART0 输出 log 的.config
修改 sunivw1p1-pinctrl.dtsi,uart0 的管脚配置采用 PE0,PE1:

			uart0_pins_a: uart0@0 {
				allwinner,pins = "PE1", "PE0";
				allwinner,pname = "uart0_tx", "uart0_rx";
				allwinner,function = "uart0";
				allwinner,muxsel = <5>;
				allwinner,drive = <1>;
				allwinner,pull = <1>;
			};

需要调整其他用到 PE0,PE1 的配置。

离线

楼主 #81 2018-09-19 15:51:09

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

感谢分享!





离线

#82 2018-12-14 23:37:15

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

请问是使用哪个命令编译内核的?是否使用build.sh+参数编译,麻烦告知下可以吗?谢谢

离线

#83 2018-12-15 20:47:13

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

以下是2018-08-13 更新:
-------------------------------------------------
全志官方烧录软件: PhoenixSuit_CN_debug.msi
我编译的img: sunivw1p1_linux_evb_uart0.img.tar.gz

串口线接 A0, A1

麻烦请告知下调试串口是接的哪2个?我烧录了这个固件,串口没有打印。

离线

#84 2018-12-28 21:36:07

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

How to install git-lfs on Ubuntu 16.04?



所以直接用下面的命令即可:

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
git lfs clone https://github.com/mirkerson/c600.git

请问下晕哥,用这个官方的bsp kernel编译出来的固件,启动后屏幕有显示吗?/dev/目录下有没显示设备?我的貌似没有找到有fb或者disp设备之类的,可能是叫其他名字?

谢谢!

离线

楼主 #85 2018-12-28 22:07:47

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

@qinxiongxu framebuffer 是有的.

你烧我3楼的固件试一试。





离线

#86 2019-01-09 01:15:37

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

@qinxiongxu framebuffer 是有的.

你烧我3楼的固件试一试。


这个固件是800x480的吗,起来显示竖向的RGB颜色条,但是有花屏的方块在不断变化,闪烁。。。

一跑那个fb-test那个程序,内核会奔溃,包内存越界的错误。

我的是lichee nano配套的5寸800x480分辨率的,是我的屏跟你们不同?

离线

楼主 #87 2019-01-09 08:07:20

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

qinxiongxu 说:

这个固件是800x480的吗,起来显示竖向的RGB颜色条,但是有花屏的方块在不断变化,闪烁。。。

一跑那个fb-test那个程序,内核会奔溃,包内存越界的错误。

我的是lichee nano配套的5寸800x480分辨率的,是我的屏跟你们不同?

我记得当时也是在 5寸800x480 LCD 测试的.





离线

#88 2019-01-11 18:02:48

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

我这边是怎么着都显示“尚未检测到设备接入电脑”。请问正确的操作应该是怎样的?
我就是把SPI Flash的CS叫接地,然后接上USB,Windows的设备管理器里面会有设备,PhoenixSuit虽然会跳出来界面,但是一直都是“尚未检测到设备接入电脑)


晕哥 说:

https://whycan.cn/files/members/3/QQ20180419204822.png

烧是烧完了, 两组UART0串口都没反应.

离线

楼主 #89 2019-01-11 18:09:37

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

monosail 说:

我这边是怎么着都显示“尚未检测到设备接入电脑”。请问正确的操作应该是怎样的?
我就是把SPI Flash的CS叫接地,然后接上USB,Windows的设备管理器里面会有设备,PhoenixSuit虽然会跳出来界面,但是一直都是“尚未检测到设备接入电脑)

接上串口线,可以看到log,会显示原因的





离线

#90 2019-01-11 18:16:11

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

串口没有任何输出啊。
我这个操作流程正确吗?
会跟操作系统有关吗?我是win10.

晕哥 说:

接上串口线,可以看到log,会显示原因的

离线

楼主 #91 2019-01-11 18:28:55

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

PhoenixSuit虽然会跳出来界面,

说明USB通讯正常, 软件会把 u-boot 下进去跑, 你看下 sys_config.fex 配置的调试串口是哪一个,

然后接对应的串口看调试信息,

荔枝派nano的 PA 0 .. 3 丝印反了, 注意一下。





离线

#92 2019-06-14 14:26:43

1066950103
会员
注册时间: 2017-11-17
已发帖子: 61
积分: 46

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

我记得当时也是在 5寸800x480 LCD 测试的.

晕哥3楼固件我测试了,用的海豚派配的液晶 看淘宝说明是480x272的,这个液晶显示正常。我自己配置的800*480的内核崩溃了。开完机后显示的是红绿蓝。cat urandom > fb0 这个正常。

离线

楼主 #93 2019-06-14 14:34:13

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

800x480 没有问题: https://whycan.cn/t_1522.html

把奔溃 log 贴上来看下





离线

#94 2019-06-17 16:16:23

晕哥小弟
会员
注册时间: 2019-04-04
已发帖子: 309
积分: 299.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

开发指南不存在的,全志对资料很保守,经常有全志的员工要求删帖,站长鸭梨也很大。

  这个是真的假的?  难道资料越开放,别人越会用到她家的芯片。不知道我这逻辑对不对。

离线

#95 2019-06-17 16:34:44

1066950103
会员
注册时间: 2017-11-17
已发帖子: 61
积分: 46

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

800x480 没有问题: https://whycan.cn/t_1522.html

把奔溃 log 贴上来看下

谢谢链接。这是我有问题的,麻烦看看。

[BEGIN] 2019/6/17 16:20:54
HELLO! BOOT0 is starting!
boot0 commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
boot0 version : 4.0
run key detect boot0
do_key_test
key pressed value=0x00000003
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 = 65a4


U-Boot 2014.07 (Mar 31 2018 - 15:55:09) Allwinner Technology 

uboot commit : 79d2fe0388f5367fe2f42cc3eb1db9113426c15d
 
uboot:normal mode
[      0.123]pmbus:   ready
run key detect
key pressed value=0x1
key pressed value=0x2
no uart input
DRAM:  32 MiB
Relocation Offset is: 017b9000
In:    serial
Out:   serial
Err:   serial
workmode = 0,storage type = 3
[      0.155]spinor:	 0
sunxi spinor is initing...int sunxi_dma_init---
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
[      0.158]sunxi flash init ok 
[      0.158]sunxi flash init ok
*(uint32_t *)(0x81ff0000)=176160992
sunxi secure storage is not supported
[      0.166]usb burn from boot
delay time 0
sunxi_dma_install_int ok
[      0.233]usb prepare ok
usb sof ok
[      0.280]usb probe ok
[      0.280]usb setup ok
key pressed value=0x1
[      0.284]exit usb burn from boot
next work 1
SUNXI_UPDATE_NEXT_ACTION_NULL
--------fastboot partitions--------
-total partitions:8-
-name-        -start-       -size-      
boot        : 4000          240000      
rootfs      : 244000        800000      
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 = 0x8096dfa0
emmc or nand path error: <no error>
common/board_r.c 305-initr_sunxi_base-END--
[      0.366]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.517]sunxi flash read :offset 4000, 2359296 bytes OK
## Booting kernel from Legacy Image at 80007800 ...
   Image Name:   Linux-3.10.65
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2311064 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 0x8096dfa0,images->ft_len= = 0 , working_fdt = 8096dfa0, bi_boot_params = 0 fake = 0
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (du@du) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #86 Fri Jun 14 15:41:50 CST 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 c0492e60, node_mem_map c04af000
[    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: 27480k/27480k available, 5288k 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 - 0xc043bfdc   (4304 kB)
[    0.000000]       .init : 0xc043c000 - 0xc045e454   ( 138 kB)
[    0.000000]       .data : 0xc0460000 - 0xc0493540   ( 206 kB)
[    0.000000]        .bss : 0xc0493540 - 0xc04ae608   ( 109 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.005322] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.075239] pid_max: default: 32768 minimum: 301
[    0.080439] Mount-cache hash table entries: 512
[    0.086443] CPU: Testing write buffer coherency: ok
[    0.092226] Setting up static identity map for 0xc030fdf8 - 0xc030fe50
[    0.101720] devtmpfs: initialized
[    0.107115] pinctrl core: initialized pinctrl subsystem
[    0.112872] NET: Registered protocol family 16
[    0.118586] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.126438] dump_class_init,821, success
[    0.135589] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.153317] No ATAGs?
[    0.163272] bio: create slab <bio-0> at 0
[    0.169748] SCSI subsystem initialized
[    0.174045] usbcore: registered new interface driver usbfs
[    0.179839] usbcore: registered new interface driver hub
[    0.185763] usbcore: registered new device driver usb
[    0.192064] Advanced Linux Sound Architecture Driver Initialized.
[    0.200711] cfg80211: Calling CRDA to update world regulatory domain
[    0.207731] [pm]aw_pm_init!
[    0.211008] [pm]aw_pm_valid!
[    0.214117] Notice: sunivw1p1 just support normal standby.
[    0.219782] [pm]aw_pm_valid!
[    0.222831] Notice: sunivw1p1 just support normal standby.
[    0.228854] Switching to clocksource suniv high-res couter
[    0.267651] codec_config
[    0.270442] (null).sta33x_pwrdn_gpio gpio=135,mul_sel=0,data:1
[    0.276583] codec_config: sta33x_pwrdn_gpio gpio num=135
[    0.282073] codec_request_gpio: test1
[    0.285940] codec_request_gpio: request gpio=135
[    0.290846] codec_request_gpio: L1167 Pin=1
[    0.295278] codec_request_gpio: request gpio(135) ok
[    0.315158] NET: Registered protocol family 2
[    0.322027] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.329274] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.335902] TCP: Hash tables configured (established 512 bind 512)
[    0.342429] TCP: reno registered
[    0.345899] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.351942] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.359042] NET: Registered protocol family 1
[    0.378791] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.385539] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.393390] msgmni has been set to 53
[    0.399227] io scheduler noop registered
[    0.403325] io scheduler deadline registered
[    0.407957] io scheduler cfq registered (default)
[    0.437467] sw_uart_request_gpio(753)
[    0.441323] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[    0.448982] sw_uart_request_gpio(753)
[    0.452836] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.459264] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[    0.467565] console [ttyS1] enabled, bootconsole disabled
[    0.467565] console [ttyS1] enabled, bootconsole disabled
[    0.480485] misc dump reg init
[    0.487773] spi spi0: master is unqueued, this is deprecated
[    0.495866] NorFlash ID: 0xef4018 - 0x0
[    0.500191] m25p80 spi0.0: found w25q128, expected m25p64
[    0.506304] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.526015] Creating 8 MTD partitions on "(null)":
[    0.531359] 0x000000000000-0x000000080000 : "uboot"
[    0.539411] 0x000000080000-0x0000002c0000 : "boot"
[    0.547295] 0x0000002c0000-0x000000ac0000 : "rootfs"
[    0.555402] 0x000000ac0000-0x000000ae0000 : "env"
[    0.563118] 0x000000ae0000-0x000000af0000 : "bootlogo"
[    0.571582] 0x000000af0000-0x000000c70000 : "recoverk"
[    0.579952] 0x000000c70000-0x000000fb0000 : "recoverf"
[    0.588122] 0x000000fb0000-0x000000fc0000 : "private"
[    0.596516] PPP generic driver version 2.4.2
[    0.601887] PPP BSD Compression module registered
[    0.607225] PPP Deflate Compression module registered
[    0.612840] PPP MPPE Compression module registered
[    0.618208] NET: Registered protocol family 24
[    0.623426] usbcore: registered new interface driver usb-storage
[    0.630707] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.638751] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.650909] hub 1-0:1.0: USB hub found
[    0.655289] hub 1-0:1.0: 1 port detected
[    0.661379] support report repeat key value. 
[    0.667016] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.675016] i2c /dev entries driver
[    0.679012] IR NEC protocol handler initialized
[    0.684502] pdev->dev.of_node name :cir
[    0.689156] Registered IR keymap rc_map_sunxi
[    0.696173] input: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0/input1
[    0.704714] rc0: sunxi_ir_recv as /devices/soc.0/1c22c00.cir/rc/rc0
[    0.712265] sunxi cedar version 0.1 
[    0.716552] [cedar]: install start!!!
[    0.720776] cedar-ve the get irq is 102
[    0.725264] cedar-ve the sram base addr is f1c00000, value is 7fffffff
[    0.732500] IR RX IRQ Serve
[    0.735589] sunxi_ir_recv_irq !!
[    0.739156] receive cnt :5 
[    0.742245] get frist pulse,add head 128 !!
[    0.746872] pusle :1, dur: 16277079 ns
[    0.751017] handle raw data.
[    0.754325] cedar-ve the sram for ve addr is f1c00004, value is 70000001
[    0.762676] cedar-ve clk_bass_vir 0x18  is f1c20018, the value:93000800
[    0.770133] cedar-ve clk_bass_vir 0x13c  is f1c2013c, the value:80000000
[    0.777622] cedar-ve clk_bass_vir 0x64  is f1c20064, the value:1
[    0.784279] cedar-ve clk_bass_vir 0x2c4  is f1c202c4, the value:0
[    0.791071] cedar-ve clk_bass_vir 0x100  is f1c20100, the value:1
[    0.797856] [cedar]: install end!!!
[    0.803429] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.30 2015-10-10 10:03) Compiled in Jun 11 2019 at 10:27:08
[    0.816752] sunxi-mmc 1c0f000.sdmmc: Can't get vmmc regulator string
[    0.823830] sunxi-mmc 1c0f000.sdmmc: Can't get vqmmc regulator string
[    0.831053] sunxi-mmc 1c0f000.sdmmc: Can't get vdmmc regulator string
[    0.838257] sunxi-mmc 1c0f000.sdmmc: Failed getting OCR mask: 0
[    0.845541] sunxi-mmc 1c0f000.sdmmc: *******************set host ocr**************************
[    0.855930] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.884730] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.914888] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:107
[    0.921231] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.928974] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.935937] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.951241] 
[    0.951241] sunxi_daudio->tx_data_mode =0
[    0.960183] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.972139] failed to get headphone-dect gpio from dts,headphone-dect:-2
[    0.980264] no jack gpio or irq
[    0.989291] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    0.998428] sunxi-codec-machine sound.4:  sun8iw10codec <-> 1c23c00.cpudai0-controller mapping ok
[    1.008442] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    1.016162] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    1.023743] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    1.031434] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    1.038664] sunxi-codec-machine-i2s sound.6: ASoC: CODEC sta339.2-001c not registered
[    1.047485] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.054288] 
[    1.054288] snd_soc_register_card failed -517
[    1.060918] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.069600] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.077325] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.084820] TCP: cubic registered
[    1.088565] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.095424] Initializing XFRM netlink socket
[    1.100226] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.111950] NET: Registered protocol family 17
[    1.117274] VFP support v0.3: not present
[    1.123311] [LCD] lcd_module_init
[    1.128849] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    1.146134] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    1.164908] sunivw1p1-pinctrl 1c20800.pinctrl: pin PD7 already requested by 1c22000.daudio; cannot claim for lcd0.2
[    1.176578] sunivw1p1-pinctrl 1c20800.pinctrl: pin-103 (lcd0.2) status -22
[    1.184213] sunivw1p1-pinctrl 1c20800.pinctrl: could not request pin 103 on device 1c20800.pinctrl
[    1.194192] platform lcd0.2: Error applying setting, reverse things back
[    1.201680] [DISP WRN] file:drivers/video/sunxi/disp/OSAL/OSAL_Pin.c,line:144:    pinctrl_select_state(active) for allwinner,sunxi-lcd0 fail
[    1.215748] Disp_lcdc_pin_cfg: fail to set lcd0's pin to active state, ret=-22
[    1.787284] BSP_disp_layer_set_para: fb_format=0x0, yuv_ch=0
[    1.836973] sunxi-codec-machine-i2s sound.6: ASoC: CODEC sta339.2-001c not registered
[    1.845792] 
[    1.845792] snd_soc_register_card failed -517
[    1.852375] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.862242] input: gpio_keys.7 as /devices/soc.0/gpio_keys.7/input/input2
[    1.871059] sunxi-codec-machine-i2s sound.6: ASoC: CODEC sta339.2-001c not registered
[    1.879894] 
[    1.879894] snd_soc_register_card failed -517
[    1.886824] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.893986] ALSA device list:
[    1.897405]   #0: audiocodec
[    1.900842] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.910243] async_waiting @ 1
[    1.913586] async_continuing @ 1 after 3 usec
[    1.932185] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.950467] devtmpfs: mounted
[    1.953904] async_waiting @ 1
[    1.957322] async_continuing @ 1 after 2 usec
[    1.962721] Freeing unused kernel memory: 136K (c043c000 - c045e000)
/etc/init.d/rcS: line 12: /usr/sbin/net.sh: not found

/ # fb-test
fb-test 1.1.0 (rosetta)
fb res 800x480 virtual 800x960, line_len 1600, bpp 16
[   11.596785] Unable to handle kernel paging request at virtual address 07e00810
[   11.604980] pgd = c1a84000
[   11.608020] [07e00810] *pgd=00000000
[   11.612012] Internal error: Oops: 5 [#1] ARM
[   11.616735] Modules linked in:
[   11.620131] CPU: 0 PID: 55 Comm: fb-test Not tainted 3.10.65 #86
[   11.626784] task: c145f260 ti: c14e0000 task.ti: c14e0000
[   11.632777] PC is at filemap_fault+0x30/0x39c
[   11.637618] LR is at __do_fault+0xa8/0x448
[   11.642157] pc : [<c0063d50>]    lr : [<c007960c>]    psr: 60000013
[   11.642157] sp : c14e1d80  ip : c14e1dc8  fp : c14e1dc4
[   11.654855] r10: c14feaa8  r9 : 000000a8  r8 : 00000000
[   11.660636] r7 : c1c050ec  r6 : 000000e6  r5 : c1a80820  r4 : c14feaa8
[   11.667857] r3 : 07e007e0  r2 : 00000fff  r1 : c14e1dd8  r0 : c14feaa8
[   11.675081] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   11.682975] Control: 0005317f  Table: 81a84000  DAC: 00000015
[   11.689329] 
[   11.689329] PC: 0xc0063cd0:
[   11.694055] 3cd0  0a000010 e1a00004 e1a01005 ebfff960 ea000009 e3120020 0a000005 ebfff892
[   11.703143] 3cf0  e3500000 0a000006 e285003c ebff6409 ea000004 ebfff8ab ea000001 e1a06005
[   11.712239] 3d10  ea000000 e3a06001 e1a00006 e89da8f0 e1a0c00d e92ddff0 e24cb004 e24dd01c
[   11.721328] 3d30  e5905050 e59f2370 e5957084 e5916004 e5973000 e1a0a000 e50b1030 e50b3034
[   11.730423] 3d50  e1c303d0 e3a03000 e0900002 e0a11003 e1a03620 e1833a01 e1560003 2a0000c7
[   11.739517] 3d70  e1a00007 e1a01006 ebfff84f e2504000 e2859048 0a000017 e51b3030 e5938000
[   11.748611] 3d90  e2188040 1a000044 e59a3028 e5950084 e3130801 1a000041 e5953058 e3530000
[   11.757705] 3db0  12433001 15853058 e5948000 e1a08928 e2188001 0a000039 e58d6000 e5953054
[   11.766801] 
[   11.766801] LR: 0xc007958c:
[   11.771525] 958c  e50b1040 0a00000e e5943028 e3130008 13a06000 1a00000b e1a00004 eb002b7d
[   11.780616] 95ac  e2501000 1a0000f2 e59f03d4 e59f23d4 e1a03001 ebffbb83 e2506000 1a000001
[   11.789708] 95cc  ea0000eb e51b6040 e51b2044 e50b503c e3c23eff e3c3300f e50b3034 e59b3004
[   11.798799] 95ec  e1a00004 e50b3038 e3a03000 e50b3030 e5943048 e24b103c e5933008 e12fff33
[   11.807889] 960c  e59f3384 e1a09000 e0003003 e3530000 1a0000d2 e3100c02 1a00000c e51b5030
[   11.816982] 962c  eb0a5698 e10f2000 e3823080 e121f003 e5953000 e3831001 e5851000 e121f002
[   11.826077] 964c  e3130001 0a000001 e1a00005 ebffa256 e51b3040 e51b5030 e3530000 051b8040
[   11.835168] 966c  0a000036 e5948028 e2188008 1a00000a e1a00006 e1a01005 e51b2044 e1a03004
[   11.844263] 
[   11.844263] SP: 0xc14e1d00:
[   11.848986] 1d00  002284d0 c04ff4f0 c14e1d7c c14e1d18 c0068064 c0063d50 60000013 ffffffff
[   11.858081] 1d20  c14e1d6c 00000000 c14e1dc4 c14e1d38 c000f538 c000a1a0 c14feaa8 c14e1dd8
[   11.867175] 1d40  00000fff 07e007e0 c14feaa8 c1a80820 000000e6 c1c050ec 00000000 000000a8
[   11.876260] 1d60  c14feaa8 c14e1dc4 c14e1dc8 c14e1d80 c007960c c0063d50 60000013 ffffffff
[   11.885353] 1d80  80000093 c049acc0 00000000 c049acc0 07e007e0 c14e1dd8 009897a3 c14feaa8
[   11.894444] 1da0  000000a8 00000000 c1a1e480 00000000 000000a8 c1a86db8 c14e1e14 c14e1dc8
[   11.903530] 1dc0  c007960c c0063d30 c14e1fb0 ffffffff b6f23000 00000000 000000a8 000000e6
[   11.912620] 1de0  b6f23000 00000000 c14e1e04 c14feaa8 c14fc48c 000000e6 c1a86db8 00000000
[   11.921715] 
[   11.921715] IP: 0xc14e1d48:
[   11.926438] 1d48  c14feaa8 c1a80820 000000e6 c1c050ec 00000000 000000a8 c14feaa8 c14e1dc4
[   11.935529] 1d68  c14e1dc8 c14e1d80 c007960c c0063d50 60000013 ffffffff 80000093 c049acc0
[   11.944625] 1d88  00000000 c049acc0 07e007e0 c14e1dd8 009897a3 c14feaa8 000000a8 00000000
[   11.953711] 1da8  c1a1e480 00000000 000000a8 c1a86db8 c14e1e14 c14e1dc8 c007960c c0063d30
[   11.962803] 1dc8  c14e1fb0 ffffffff b6f23000 00000000 000000a8 000000e6 b6f23000 00000000
[   11.971895] 1de8  c14e1e04 c14feaa8 c14fc48c 000000e6 c1a86db8 00000000 000000a8 c1a1e480
[   11.980986] 1e08  c14e1e64 c14e1e18 c007c4e8 c0079574 000000e6 000000a8 00000000 c1a1e480
[   11.990073] 1e28  c14e1e84 c14e1e38 c007c808 c0017240 00000001 b6f23000 c1a84000 000005b7
[   11.999168] 
[   11.999168] FP: 0xc14e1d44:
[   12.003892] 1d44  07e007e0 c14feaa8 c1a80820 000000e6 c1c050ec 00000000 000000a8 c14feaa8
[   12.012979] 1d64  c14e1dc4 c14e1dc8 c14e1d80 c007960c c0063d50 60000013 ffffffff 80000093
[   12.022067] 1d84  c049acc0 00000000 c049acc0 07e007e0 c14e1dd8 009897a3 c14feaa8 000000a8
[   12.031158] 1da4  00000000 c1a1e480 00000000 000000a8 c1a86db8 c14e1e14 c14e1dc8 c007960c
[   12.040246] 1dc4  c0063d30 c14e1fb0 ffffffff b6f23000 00000000 000000a8 000000e6 b6f23000
[   12.049334] 1de4  00000000 c14e1e04 c14feaa8 c14fc48c 000000e6 c1a86db8 00000000 000000a8
[   12.058424] 1e04  c1a1e480 c14e1e64 c14e1e18 c007c4e8 c0079574 000000e6 000000a8 00000000
[   12.067516] 1e24  c1a1e480 c14e1e84 c14e1e38 c007c808 c0017240 00000001 b6f23000 c1a84000
[   12.076615] 
[   12.076615] R0: 0xc14fea28:
[   12.081339] ea28  00000000 00000000 0000013a c1a19c68 c1a19c68 c1489940 c03144e0 00000139
[   12.090427] ea48  c1a80820 00000000 b6f81000 b6f84000 c14febb0 c14fe948 c14feb10 c14febc0
[   12.099521] ea68  c14fea08 00000000 c1a1e480 0000018b 00100077 00000000 00000000 00000000
[   12.108616] ea88  00000000 c1a19be8 c1a19be8 c14897a0 00000000 000b6f81 00000000 00000000
[   12.117708] eaa8  b6e3d000 b6f76000 c14feb00 c14fec60 c14fee29 00000000 c14fec70 b6cb4000
[   12.126801] eac8  c1a1e480 0000018b 00000075 c14d5b85 00000000 c14fe39c 00000138 c14feae4
[   12.135894] eae8  c14feae4 00000000 c03144e0 00000000 c1a80820 00000000 b6f76000 b6f7e000
[   12.144985] eb08  c14fe9f8 c14feaa8 c14fec19 c14fea60 c14fee28 b6cb4000 c1a1e480 00000a8b
[   12.154078] 
[   12.154078] R1: 0xc14e1d58:
[   12.158802] 1d58  00000000 000000a8 c14feaa8 c14e1dc4 c14e1dc8 c14e1d80 c007960c c0063d50
[   12.167892] 1d78  60000013 ffffffff 80000093 c049acc0 00000000 c049acc0 07e007e0 c14e1dd8
[   12.176984] 1d98  009897a3 c14feaa8 000000a8 00000000 c1a1e480 00000000 000000a8 c1a86db8
[   12.186076] 1db8  c14e1e14 c14e1dc8 c007960c c0063d30 c14e1fb0 ffffffff b6f23000 00000000
[   12.195170] 1dd8  000000a8 000000e6 b6f23000 00000000 c14e1e04 c14feaa8 c14fc48c 000000e6
[   12.204261] 1df8  c1a86db8 00000000 000000a8 c1a1e480 c14e1e64 c14e1e18 c007c4e8 c0079574
[   12.213349] 1e18  000000e6 000000a8 00000000 c1a1e480 c14e1e84 c14e1e38 c007c808 c0017240
[   12.222441] 1e38  00000001 b6f23000 c1a84000 000005b7 c1a86db8 c1a1e480 c14feaa8 000000a8
[   12.231533] 
[   12.231533] R4: 0xc14fea28:
[   12.236257] ea28  00000000 00000000 0000013a c1a19c68 c1a19c68 c1489940 c03144e0 00000139
[   12.245347] ea48  c1a80820 00000000 b6f81000 b6f84000 c14febb0 c14fe948 c14feb10 c14febc0
[   12.254434] ea68  c14fea08 00000000 c1a1e480 0000018b 00100077 00000000 00000000 00000000
[   12.263520] ea88  00000000 c1a19be8 c1a19be8 c14897a0 00000000 000b6f81 00000000 00000000
[   12.272609] eaa8  b6e3d000 b6f76000 c14feb00 c14fec60 c14fee29 00000000 c14fec70 b6cb4000
[   12.281700] eac8  c1a1e480 0000018b 00000075 c14d5b85 00000000 c14fe39c 00000138 c14feae4
[   12.290786] eae8  c14feae4 00000000 c03144e0 00000000 c1a80820 00000000 b6f76000 b6f7e000
[   12.299877] eb08  c14fe9f8 c14feaa8 c14fec19 c14fea60 c14fee28 b6cb4000 c1a1e480 00000a8b
[   12.308973] 
[   12.308973] R5: 0xc1a807a0:
[   12.313698] 07a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.322786] 07c0  00000000 c14966c0 00000000 00000000 00000000 00000000 00000000 00000000
[   12.331874] 07e0  00000000 00000000 00000000 00000000 00000000 c1a807f4 c1a807f4 c1a807fc
[   12.340964] 0800  c1a807fc 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   12.350054] 0820  c1a80f00 c1416864 c1820790 c1c00908 c1c05038 c0314fec 00000004 00000000
[   12.359144] 0840  0000001d 00000000 00000200 00000000 00000000 00000000 00000000 00000000
[   12.368225] 0860  00000000 c1496420 00000000 00000000 00000000 00000020 00000000 00000000
[   12.377311] 0880  00000200 00000000 00000000 00000000 00000000 c1a80894 c1a80894 c1a8089c
[   12.386406] 
[   12.386406] R7: 0xc1c0506c:
[   12.391131] 506c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.400227] 508c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.409322] 50ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.418413] 50cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.427503] 50ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.436600] 510c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.445697] 512c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.454783] 514c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   12.463877] 
[   12.463877] R10: 0xc14fea28:
[   12.468698] ea28  00000000 00000000 0000013a c1a19c68 c1a19c68 c1489940 c03144e0 00000139
[   12.477791] ea48  c1a80820 00000000 b6f81000 b6f84000 c14febb0 c14fe948 c14feb10 c14febc0
[   12.486881] ea68  c14fea08 00000000 c1a1e480 0000018b 00100077 00000000 00000000 00000000
[   12.495971] ea88  00000000 c1a19be8 c1a19be8 c14897a0 00000000 000b6f81 00000000 00000000
[   12.505060] eaa8  b6e3d000 b6f76000 c14feb00 c14fec60 c14fee29 00000000 c14fec70 b6cb4000
[   12.514154] eac8  c1a1e480 0000018b 00000075 c14d5b85 00000000 c14fe39c 00000138 c14feae4
[   12.523245] eae8  c14feae4 00000000 c03144e0 00000000 c1a80820 00000000 b6f76000 b6f7e000
[   12.532337] eb08  c14fe9f8 c14feaa8 c14fec19 c14fea60 c14fee28 b6cb4000 c1a1e480 00000a8b
[   12.541441] Process fb-test (pid: 55, stack limit = 0xc14e01b8)
[   12.547990] Stack: (0xc14e1d80 to 0xc14e2000)
[   12.553252] 1d80: 80000093 c049acc0 00000000 c049acc0 07e007e0 c14e1dd8 009897a3 c14feaa8
[   12.562527] 1da0: 000000a8 00000000 c1a1e480 00000000 000000a8 c1a86db8 c14e1e14 c14e1dc8
[   12.571713] 1dc0: c007960c c0063d30 c14e1fb0 ffffffff b6f23000 00000000 000000a8 000000e6
[   12.580871] 1de0: b6f23000 00000000 c14e1e04 c14feaa8 c14fc48c 000000e6 c1a86db8 00000000
[   12.590007] 1e00: 000000a8 c1a1e480 c14e1e64 c14e1e18 c007c4e8 c0079574 000000e6 000000a8
[   12.599135] 1e20: 00000000 c1a1e480 c14e1e84 c14e1e38 c007c808 c0017240 00000001 b6f23000
[   12.608255] 1e40: c1a84000 000005b7 c1a86db8 c1a1e480 c14feaa8 000000a8 c14e1e9c c14e1e68
[   12.617379] 1e60: c007c924 c007c280 c1a86db8 000000a8 c14fec60 b6f239ac c14e1fb0 c145f260
[   12.626502] 1e80: 000000a8 c1a1e480 c14feaa8 80000005 c14e1edc c14e1ea0 c0016c18 c007c87c
[   12.635627] 1ea0: c14e1ebc c14e1eb0 00000000 c1a1e4bc c14e1efc 80000005 c046af70 b6f239ac
[   12.644767] 1ec0: c14e1fb0 b6fbde00 b6f96adc 00000000 c14e1f04 c14e1ee0 c0016e00 c0016b00
[   12.653863] 1ee0: c0016ddc 00000005 c046af70 b6f239ac c14e1fb0 b6fbde00 c14e1fac c14e1f08
[   12.662991] 1f00: c000a26c c0016dec c0023160 c0022f14 00000000 ffffffff 00000004 ffff8f59
[   12.672117] 1f20: c005c860 60000093 00000000 ffffffff 00000000 01400000 c14e1f64 c14e1f48
[   12.681237] 1f40: c005f3d0 c005f2b8 0000000d 00000000 ffffffff 000008bb c14e1f7c c14e1f68
[   12.690377] 1f60: c00234ec c005f374 00000100 0000000d c14e1f94 c14e1f80 c0010854 c0023440
[   12.699507] 1f80: c049fb80 c14e1fb0 c14e1fac 0000871c b6f239ac a0000010 ffffffff bee3bcd8
[   12.708641] 1fa0: 00000000 c14e1fb0 c000f898 c000a240 b6f96cb0 b6f80e08 b6f80e18 fffffff8
[   12.717777] 1fc0: 00000004 b6fbb658 00000001 bee3bcd8 b6fbde00 b6f96adc 00000000 bee3bd4c
[   12.726913] 1fe0: 00000000 bee3bcc0 b6f867d0 b6f239ac a0000010 ffffffff 00000000 00000000
[   12.736008] Backtrace: 
[   12.738801] [<c0063d20>] (filemap_fault+0x0/0x39c) from [<c007960c>] (__do_fault+0xa8/0x448)
[   12.748249] [<c0079564>] (__do_fault+0x0/0x448) from [<c007c4e8>] (handle_pte_fault+0x278/0x5fc)
[   12.758070] [<c007c270>] (handle_pte_fault+0x0/0x5fc) from [<c007c924>] (handle_mm_fault+0xb8/0xcc)
[   12.768178] [<c007c86c>] (handle_mm_fault+0x0/0xcc) from [<c0016c18>] (do_page_fault+0x128/0x278)
[   12.778082] [<c0016af0>] (do_page_fault+0x0/0x278) from [<c0016e00>] (do_translation_fault+0x24/0xbc)
[   12.788377] [<c0016ddc>] (do_translation_fault+0x0/0xbc) from [<c000a26c>] (do_PrefetchAbort+0x3c/0xa0)
[   12.798839]  r8:b6fbde00 r7:c14e1fb0 r6:b6f239ac r5:c046af70 r4:00000005
r3:c0016ddc
[   12.807649] [<c000a230>] (do_PrefetchAbort+0x0/0xa0) from [<c000f898>] (ret_from_exception+0x0/0x10)
[   12.817818] Exception stack(0xc14e1fb0 to 0xc14e1ff8)
[   12.823445] 1fa0:                                     b6f96cb0 b6f80e08 b6f80e18 fffffff8
[   12.832573] 1fc0: 00000004 b6fbb658 00000001 bee3bcd8 b6fbde00 b6f96adc 00000000 bee3bd4c
[   12.841688] 1fe0: 00000000 bee3bcc0 b6f867d0 b6f239ac a0000010 ffffffff
[   12.849056]  r7:bee3bcd8 r6:ffffffff r5:a0000010 r4:b6f239ac
[   12.855430] Code: e5973000 e1a0a000 e50b1030 e50b3034 (e1c303d0) 
[   12.862203] ---[ end trace fcf66e4c308589c9 ]---
[   12.867803] Unable to handle kernel paging request at virtual address 07e007e0
[   12.875987] pgd = c0004000
[   12.879011] [07e007e0] *pgd=00000000
[   12.883003] Internal error: Oops: 805 [#2] ARM
[   12.887919] Modules linked in:
[   12.891318] CPU: 0 PID: 55 Comm: fb-test Tainted: G      D      3.10.65 #86
[   12.899028] task: c145f260 ti: c14e0000 task.ti: c14e0000
[   12.905027] PC is at __mutex_lock_slowpath+0x3c/0xb4
[   12.910528] LR is at mutex_lock+0x3c/0x40
[   12.914973] pc : [<c030e18c>]    lr : [<c030e48c>]    psr: 80000013
[   12.914973] sp : c14e1a40  ip : c14e1a70  fp : c14e1a6c
[   12.927672] r10: b6cc6000  r9 : c14feb00  r8 : c14fec60
[   12.933456] r7 : c14feaa8  r6 : c145f260  r5 : c1c05110  r4 : c1c0510c
[   12.940678] r3 : 07e007e0  r2 : c14e1a44  r1 : c1a0f898  r0 : c1c0510c
[   12.947902] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   12.955796] Control: 0005317f  Table: 81a84000  DAC: 00000015
[   12.962150] 
[   12.962150] PC: 0xc030e10c:
[   12.966875] e10c  e1a03000 e3a02000 e1030092 e3500000 a89da800 e1032090 e1c20fc2 e89da800
[   12.975968] e12c  e1a0c00d e92dd800 e24cb004 e3a02001 e1003092 e3530000 089da800 ebffffe3
[   12.985060] e14c  e89da800 e1a0c00d e92dd870 e24cb004 e24dd014 e1a0200d e3c23d7f e3c3303f
[   12.994154] e16c  e593600c e1a04000 e5903008 e24b2028 e2805004 e50b3024 e5802008 e50b5028
[   13.003247] e18c  e5832000 e5903000 e50b6020 e3530000 ba000003 e3e02000 e1003092 e3530001
[   13.012340] e1ac  0a00000a e5943000 e3530000 ba000003 e3e02000 e1043092 e3530001 0a000003
[   13.021434] e1cc  e3a03002 e5863000 eb000522 eafffff4 e51b3024 e51b2028 e5823004 e5832000
[   13.030528] e1ec  e5943004 e1530005 03a03000 05843000 e24bd018 e89da870 e1a0c00d e92dd870
[   13.039624] 
[   13.039624] LR: 0xc030e40c:
[   13.044348] e40c  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb00031b e3a00000 e1043090
[   13.053431] e42c  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffffa8
[   13.062521] e44c  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb00030b e3a02000 e1043092
[   13.071610] e46c  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffff30
[   13.080704] e48c  e89da818 e1a0c00d e92dd9f0 e24cb004 e24dd00c e1a0200d e3c23d7f e3c3303f
[   13.089800] e4ac  e1a08001 e593100c e1a06000 ebf4b5f2 e1a0300d e3c37d7f e3c7703f e597300c
[   13.098898] e4cc  e3a02001 e5832000 e1c641d8 e1c621d0 e0522004 e0c33005 e58d2000 e1a03005
[   13.107986] e4ec  e1a00006 e1a02004 e58d8004 ebf4b83f e5963028 e3530000 05863030 e5963030
[   13.117077] 
[   13.117077] SP: 0xc14e19c0:
[   13.121801] 19c0  c14e19e4 c14e19d0 c04ff4fc 00000000 c0492e60 c030e18c 80000013 ffffffff
[   13.130893] 19e0  c14e1a2c c14fec60 c14e1a6c c14e19f8 c000f538 c000a1a0 c1c0510c c1a0f898
[   13.139989] 1a00  c14e1a44 07e007e0 c1c0510c c1c05110 c145f260 c14feaa8 c14fec60 c14feb00
[   13.149086] 1a20  b6cc6000 c14e1a6c c14e1a70 c14e1a40 c030e48c c030e18c 80000013 ffffffff
[   13.158181] 1a40  c049d9f8 c1c05110 07e007e0 c1a19cc0 c1a0f8a4 c1c0510c c1c050ec c1a80820
[   13.167274] 1a60  c14e1a84 c14e1a70 c030e48c c030e160 b703d000 c1c0510c c14e1aa4 c14e1a88
[   13.176367] 1a80  c007edb8 c030e460 c14feaa8 00002000 c14e1ae0 00000000 c14e1adc c14e1aa8
[   13.185457] 1aa0  c0079e94 c007ed9c b6cc6000 c14e1ab8 c007b974 c1a1e480 c14fee70 00000000
[   13.194553] 
[   13.194553] IP: 0xc14e19f0:
[   13.199278] 19f0  c000f538 c000a1a0 c1c0510c c1a0f898 c14e1a44 07e007e0 c1c0510c c1c05110
[   13.208372] 1a10  c145f260 c14feaa8 c14fec60 c14feb00 b6cc6000 c14e1a6c c14e1a70 c14e1a40
[   13.217467] 1a30  c030e48c c030e18c 80000013 ffffffff c049d9f8 c1c05110 07e007e0 c1a19cc0
[   13.226561] 1a50  c1a0f8a4 c1c0510c c1c050ec c1a80820 c14e1a84 c14e1a70 c030e48c c030e160
[   13.235651] 1a70  b703d000 c1c0510c c14e1aa4 c14e1a88 c007edb8 c030e460 c14feaa8 00002000
[   13.244742] 1a90  c14e1ae0 00000000 c14e1adc c14e1aa8 c0079e94 c007ed9c b6cc6000 c14e1ab8
[   13.253830] 1ab0  c007b974 c1a1e480 c14fee70 00000000 c1a1e4bc 00000000 00000015 00000001
[   13.262918] 1ad0  c14e1b44 c14e1ae0 c00802a0 c0079e50 c1a1e480 00000001 00000000 00000000
[   13.272009] 
[   13.272009] FP: 0xc14e19ec:
[   13.276732] 19ec  c14e19f8 c000f538 c000a1a0 c1c0510c c1a0f898 c14e1a44 07e007e0 c1c0510c
[   13.285824] 1a0c  c1c05110 c145f260 c14feaa8 c14fec60 c14feb00 b6cc6000 c14e1a6c c14e1a70
[   13.294919] 1a2c  c14e1a40 c030e48c c030e18c 80000013 ffffffff c049d9f8 c1c05110 07e007e0
[   13.304011] 1a4c  c1a19cc0 c1a0f8a4 c1c0510c c1c050ec c1a80820 c14e1a84 c14e1a70 c030e48c
[   13.313105] 1a6c  c030e160 b703d000 c1c0510c c14e1aa4 c14e1a88 c007edb8 c030e460 c14feaa8
[   13.322198] 1a8c  00002000 c14e1ae0 00000000 c14e1adc c14e1aa8 c0079e94 c007ed9c b6cc6000
[   13.331292] 1aac  c14e1ab8 c007b974 c1a1e480 c14fee70 00000000 c1a1e4bc 00000000 00000015
[   13.340382] 1acc  00000001 c14e1b44 c14e1ae0 c00802a0 c0079e50 c1a1e480 00000001 00000000
[   13.349477] 
[   13.349477] R0: 0xc1c0508c:
[   13.354201] 508c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.363290] 50ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.372385] 50cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.381480] 50ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.390576] 510c  ffffffff 07e007e0 c14e1a44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.399664] 512c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.408756] 514c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.417849] 516c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.426945] 
[   13.426945] R1: 0xc1a0f818:
[   13.431668] f818  00000001 09896620 00000000 0000000c 00000000 00000000 00000001 c1a0f834
[   13.440755] f838  c1a0f834 00000000 00000000 00000000 c1a0f848 c1a0f848 c1a0f850 c1a0f850
[   13.449843] f858  c1a0f710 c1a0f9a0 c140aa98 00000000 00000000 00000000 00000001 00000000
[   13.458934] f878  00000000 c0315058 00000000 c1a0f7d0 00000000 00000020 00000000 00000000
[   13.468030] f898  00000000 c1a0f89c c1a0f89c 00000001 c1a0f8a8 c1a0f8a8 00000000 00000000
[   13.477118] f8b8  c0315318 000200da c04680c8 c1a0f8c4 c1a0f8c4 00000000 c18710ec c18710ec
[   13.486210] f8d8  c18710c0 00000001 00000000 00000000 c04a9758 00000000 c1a0f8f8 00000000
[   13.495299] f8f8  00200000 00000000 00000000 c1a0f904 c1a0f904 c1a0f90c c1a0f90c 00000000
[   13.504391] 
[   13.504391] R2: 0xc14e19c4:
[   13.509116] 19c4  c14e19d0 c04ff4fc 00000000 c0492e60 c030e18c 80000013 ffffffff c14e1a2c
[   13.518209] 19e4  c14fec60 c14e1a6c c14e19f8 c000f538 c000a1a0 c1c0510c c1a0f898 c14e1a44
[   13.527301] 1a04  07e007e0 c1c0510c c1c05110 c145f260 c14feaa8 c14fec60 c14feb00 b6cc6000
[   13.536393] 1a24  c14e1a6c c14e1a70 c14e1a40 c030e48c c030e18c 80000013 ffffffff c049d9f8
[   13.545485] 1a44  c1c05110 07e007e0 c1a19cc0 c1a0f8a4 c1c0510c c1c050ec c1a80820 c14e1a84
[   13.554579] 1a64  c14e1a70 c030e48c c030e160 b703d000 c1c0510c c14e1aa4 c14e1a88 c007edb8
[   13.563672] 1a84  c030e460 c14feaa8 00002000 c14e1ae0 00000000 c14e1adc c14e1aa8 c0079e94
[   13.572765] 1aa4  c007ed9c b6cc6000 c14e1ab8 c007b974 c1a1e480 c14fee70 00000000 c1a1e4bc
[   13.581858] 
[   13.581858] R4: 0xc1c0508c:
[   13.586584] 508c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.595677] 50ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.604776] 50cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.613873] 50ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.622962] 510c  ffffffff 07e007e0 c14e1a44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.632053] 512c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.641142] 514c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.650238] 516c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.659339] 
[   13.659339] R5: 0xc1c05090:
[   13.664064] 5090  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.673158] 50b0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.682253] 50d0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.691344] 50f0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 ffffffff
[   13.700437] 5110  07e007e0 c14e1a44 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.709531] 5130  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.718630] 5150  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.727729] 5170  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   13.736820] 
[   13.736820] R6: 0xc145f1e0:
[   13.741543] f1e0  00000000 00000000 00000000 00000000 00000001 00000002 c145f1f8 c145f1f8
[   13.750635] f200  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   13.759723] f220  00000000 00000000 c145f228 c145f228 00000000 00000000 00000000 00000000
[   13.768806] f240  00000000 00000000 00000000 00000020 00000000 0000c350 0000c350 00000000
[   13.777896] f260  00000000 c14e0000 00000002 00400104 00000000 00000001 00000078 00000078
[   13.786985] f280  00000078 00000000 c0313e9c 00000000 00000400 00400000 c145e818 00000000
[   13.796074] f2a0  00000000 c145f2a4 c145f2a4 00000001 ff764b59 00000002 20b78a09 00000000
[   13.805165] f2c0  a92a946c 00000000 2035efa6 00000000 00000000 00000000 c145f2d8 c145f2d8
[   13.814257] 
[   13.814257] R7: 0xc14fea28:
[   13.818983] ea28  00000000 00000000 0000013a c1a19c68 c1a19c68 c1489940 c03144e0 00000139
[   13.828080] ea48  c1a80820 00000000 b6f81000 b6f84000 c14febb0 c14fe948 c14feb10 c14febc0
[   13.837176] ea68  c14fea08 00000000 c1a1e480 0000018b 00100077 00000000 00000000 00000000
[   13.846269] ea88  00000000 c1a19be8 c1a19be8 c14897a0 00000000 000b6f81 00000000 00000000
[   13.855358] eaa8  b6e3d000 b6f76000 c14feb00 c14fec60 c14fee29 00000000 c14fec70 b6cb4000
[   13.864447] eac8  c1a1e480 0000018b 00000075 c14d5b85 00000000 c14fe39c 00000138 c14feae4
[   13.873537] eae8  c14feae4 00000000 c03144e0 00000000 c1a80820 00000000 b6f76000 b6f7e000
[   13.882627] eb08  c14fe9f8 c14feaa8 c14fec19 c14fea60 c14fee28 b6cb4000 c1a1e480 00000a8b
[   13.891722] 
[   13.891722] R8: 0xc14febe0:
[   13.896450] ebe0  00000000 00000000 0000000a c14febec c14febec 00000000 c03144e0 00000000
[   13.905540] ec00  c1a80f00 00000000 b6f8f000 b6f96000 c14feb58 c14febb0 c14fecc8 c14fedd0
[   13.914636] ec20  c14feb10 b6cb4000 c1a1e480 00000a8b 00000070 c14feb84 00000000 00000000
[   13.923724] ec40  00000011 c14fec44 c14fec44 00000000 c03144e0 0000000b c1a80f00 00000000
[   13.932815] ec60  b6cc6000 b6e3d000 c14feaa8 c14fee18 c14feab8 00000000 00000000 b6cb4000
[   13.941908] ec80  c1a1e480 00000107 040444ff 00000001 00000000 00000000 00000176 c14fec9c
[   13.950992] eca0  c14fec9c 00000000 00000000 00000000 c1a80dc0 00000000 b6fbb000 b6fbc000
[   13.960084] ecc0  c14fed10 c14fe9a0 00000001 c14fed78 c14fec18 b6cb4000 c1a1e480 0000018b
[   13.969177] 
[   13.969177] R9: 0xc14fea80:
[   13.973903] ea80  00000000 00000000 00000000 c1a19be8 c1a19be8 c14897a0 00000000 000b6f81
[   13.983000] eaa0  00000000 00000000 b6e3d000 b6f76000 c14feb00 c14fec60 c14fee29 00000000
[   13.992092] eac0  c14fec70 b6cb4000 c1a1e480 0000018b 00000075 c14d5b85 00000000 c14fe39c
[   14.001182] eae0  00000138 c14feae4 c14feae4 00000000 c03144e0 00000000 c1a80820 00000000
[   14.010274] eb00  b6f76000 b6f7e000 c14fe9f8 c14feaa8 c14fec19 c14fea60 c14fee28 b6cb4000
[   14.019363] eb20  c1a1e480 00000a8b 00000070 c14fe44d c14fea24 c14d5c34 00000140 c14feb3c
[   14.028451] eb40  c14feb3c 00000000 c03144e0 00000139 c1a80820 00000000 b6f96000 b6f97000
[   14.037541] eb60  c14fedc0 c14fec08 c14fedd1 00000000 00000000 00000000 c1a1e480 0000018b
[   14.046641] Process fb-test (pid: 55, stack limit = 0xc14e01b8)
[   14.053190] Stack: (0xc14e1a40 to 0xc14e2000)
[   14.060160] Unable to handle kernel paging request at virtual address 07e007e8
[   14.068325] pgd = c14b0000
[   14.071349] [07e007e8] *pgd=00000000
[   14.075398] Internal error: Oops: 5 [#3] ARM
[   14.080126] Modules linked in:
[   14.083529] CPU: 0 PID: 50 Comm: syslogd Tainted: G      D      3.10.65 #86
[   14.091243] task: c145ea80 ti: c14b4000 task.ti: c14b4000
[   14.097245] PC is at __inode_permission+0x30/0x60
[   14.102457] LR is at inode_permission+0x54/0x58
[   14.107478] pc : [<c009a8a8>]    lr : [<c009a92c>]    psr: 60000013
[   14.107478] sp : c14b5e18  ip : c14b5e28  fp : c14b5e24
[   14.120185] r10: 00000041  r9 : c14b4000  r8 : c14b5f60
[   14.125970] r7 : 00000000  r6 : c14a3011  r5 : 00000076  r4 : c14b5ee0
[   14.133195] r3 : 07e007e0  r2 : 07e007e0  r1 : 00000081  r0 : c1c03038
[   14.140421] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   14.148318] Control: 0005317f  Table: 814b0000  DAC: 00000015
[   14.154673] 
[   14.154673] PC: 0xc009a828:
[   14.159398] a828  e5846004 ea000005 e3e0500b ea000000 e3e05023 e1a00004 ebffffb2 e1a04005
[   14.168496] a848  e1a00004 e89da9f8 c0468254 c049d99c 000080d0 e1a0c00d e92dd800 e24cb004
[   14.177588] a868  e3a01000 e1a02001 ebffffb9 e89da800 e1a0c00d e92dd800 e24cb004 e3110002
[   14.186681] a888  0a000002 e590300c e3130008 1a00000d e1d030b2 e3130001 1a000008 e5903018
[   14.195770] a8a8  e5933008 e3530000 0a000001 e12fff33 e89da800 e1d030b2 e3833001 e1c030b2
[   14.204857] a8c8  ebfffdde e89da800 e3e0000c e89da800 e1a0c00d e92dd800 e24cb004 e3110002
[   14.213949] a8e8  e590201c 0a00000d e5922034 e1d030b0 e3120001 0a000009 e2033a0f e3530902
[   14.223040] a908  13530901 0a000003 e3530a0a 03e0001d 1a000002 e89da800 e3e0001d e89da800
[   14.232134] 
[   14.232134] LR: 0xc009a8ac:
[   14.236858] a8ac  e3530000 0a000001 e12fff33 e89da800 e1d030b2 e3833001 e1c030b2 ebfffdde
[   14.245948] a8cc  e89da800 e3e0000c e89da800 e1a0c00d e92dd800 e24cb004 e3110002 e590201c
[   14.255042] a8ec  0a00000d e5922034 e1d030b0 e3120001 0a000009 e2033a0f e3530902 13530901
[   14.264131] a90c  0a000003 e3530a0a 03e0001d 1a000002 e89da800 e3e0001d e89da800 ebffffd2
[   14.273223] a92c  e89da800 e1a0c00d e92dddf0 e24cb004 e24dd028 e1a04001 e1a06000 e4d05001
[   14.282314] a94c  e355002f 0afffffb e3550000 0a0001b6 e5943024 e3130040 0a00000b e5940020
[   14.291406] a96c  e3a01081 ebffffd8 e370000a e1a08000 11a05000 1a000008 e1a00004 e3a01000
[   14.300494] a98c  ebfffa7b e3500000 1a0001a4 e5940020 e3a01001 ebffffcc e1a05000 e3550000
[   14.309583] 
[   14.309583] SP: 0xc14b5d98:
[   14.314305] 5d98  c14b5dbc c14b5da8 c026bef4 c0268920 00000000 c009a8a8 60000013 ffffffff
[   14.323396] 5db8  c14b5e04 c14b5f60 c14b5e24 c14b5dd0 c000f538 c000a1a0 c1c03038 00000081
[   14.332487] 5dd8  07e007e0 07e007e0 c14b5ee0 00000076 c14a3011 00000000 c14b5f60 c14b4000
[   14.341578] 5df8  00000041 c14b5e24 c14b5e28 c14b5e18 c009a92c c009a8a8 60000013 ffffffff
[   14.350663] 5e18  c14b5e34 c14b5e28 c009a92c c009a888 c14b5e84 c14b5e38 c009a974 c009a8e8
[   14.359748] 5e38  c14b5e64 c14b5e48 c008e974 c008e9a8 c14b5e84 c14b5e58 c009b23c c003f974
[   14.368838] 5e58  c14b5e84 c14b5e68 c14b5ee0 c1a80d20 c14a3000 00000000 c14b5f60 00000041
[   14.377925] 5e78  c14b5ed4 c14b5e88 c009d870 c009a940 c14b5ea4 c14b5ec0 c1a801e0 000000ff
[   14.387015] 
[   14.387015] IP: 0xc14b5da8:
[   14.391739] 5da8  00000000 c009a8a8 60000013 ffffffff c14b5e04 c14b5f60 c14b5e24 c14b5dd0
[   14.400825] 5dc8  c000f538 c000a1a0 c1c03038 00000081 07e007e0 07e007e0 c14b5ee0 00000076
[   14.409913] 5de8  c14a3011 00000000 c14b5f60 c14b4000 00000041 c14b5e24 c14b5e28 c14b5e18
[   14.419001] 5e08  c009a92c c009a8a8 60000013 ffffffff c14b5e34 c14b5e28 c009a92c c009a888
[   14.428090] 5e28  c14b5e84 c14b5e38 c009a974 c009a8e8 c14b5e64 c14b5e48 c008e974 c008e9a8
[   14.437180] 5e48  c14b5e84 c14b5e58 c009b23c c003f974 c14b5e84 c14b5e68 c14b5ee0 c1a80d20
[   14.446274] 5e68  c14a3000 00000000 c14b5f60 00000041 c14b5ed4 c14b5e88 c009d870 c009a940
[   14.455365] 5e88  c14b5ea4 c14b5ec0 c1a801e0 000000ff c1820f00 c14b5f78 00000000 00000000
[   14.464459] 
[   14.464459] FP: 0xc14b5da4:
[   14.469181] 5da4  c0268920 00000000 c009a8a8 60000013 ffffffff c14b5e04 c14b5f60 c14b5e24
[   14.478267] 5dc4  c14b5dd0 c000f538 c000a1a0 c1c03038 00000081 07e007e0 07e007e0 c14b5ee0
[   14.487361] 5de4  00000076 c14a3011 00000000 c14b5f60 c14b4000 00000041 c14b5e24 c14b5e28
[   14.496451] 5e04  c14b5e18 c009a92c c009a8a8 60000013 ffffffff c14b5e34 c14b5e28 c009a92c
[   14.505541] 5e24  c009a888 c14b5e84 c14b5e38 c009a974 c009a8e8 c14b5e64 c14b5e48 c008e974
[   14.514625] 5e44  c008e9a8 c14b5e84 c14b5e58 c009b23c c003f974 c14b5e84 c14b5e68 c14b5ee0
[   14.523718] 5e64  c1a80d20 c14a3000 00000000 c14b5f60 00000041 c14b5ed4 c14b5e88 c009d870
[   14.532813] 5e84  c009a940 c14b5ea4 c14b5ec0 c1a801e0 000000ff c1820f00 c14b5f78 00000000
[   14.541902] 
[   14.541902] R0: 0xc1c02fb8:
[   14.546627] 2fb8  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.555715] 2fd8  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.564803] 2ff8  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.573894] 3018  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.582991] 3038  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.592074] 3058  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.601159] 3078  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.610246] 3098  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   14.619333] 
[   14.619333] R4: 0xc14b5e60:
[   14.624056] 5e60  c14b5ee0 c1a80d20 c14a3000 00000000 c14b5f60 00000041 c14b5ed4 c14b5e88
[   14.633139] 5e80  c009d870 c009a940 c14b5ea4 c14b5ec0 c1a801e0 000000ff c1820f00 c14b5f78
[   14.642229] 5ea0  00000000 00000000 c14b5f44 c14b5f60 00000001 ffffff9c c14a3000 c000faa8
[   14.651316] 5ec0  c14b4000 00000000 c14b5f54 c14b5ed8 c009dec4 c009d7f4 00000041 00000000
[   14.660402] 5ee0  c1820790 c1c00088 c14b5f1c c14b5ef8 00000000 c19fecc0 c1820790 c1c00088
[   14.669486] 5f00  c1c03038 00001051 00000002 00000001 00000000 c00a7940 00020d41 00020d41
[   14.678569] 5f20  ffffff9c c14a3000 00000001 c000faa8 c14b4000 00000000 00000004 ffffff9c
[   14.687658] 5f40  c14a3000 00000001 c14b5f94 c14b5f58 c0090b20 c009dea0 c14b4000 00000000
[   14.696746] 
[   14.696746] R6: 0xc14a2f91:
[   14.701468] 2f90  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.710552] 2fb0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.719643] 2fd0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.728733] 2ff0  00000000 00000000 00000000 00000000 c14a3010 000a1be4 8020041a 80300400
[   14.737820] 3010  7261762f 676f6c2f 73656d2f 65676173 2b730073 00312e6f 312e6f73 2e6f7300
[   14.746905] 3030  2e6f0031 2e6f0031 00000031 6f00322e 0000322e 8110041a 8120041a 8130041a
[   14.755993] 3050  8140041a 8150041a 8160041a 8170041a 8180041a 8190041a 81a0041a 81b0041a
[   14.765080] 3070  81c0041a 81d0041a 81e0041a 81f0041a 00000000 00000000 00000000 00000000
[   14.774162] 3090  00000000 00000000 00000000 00000000 81831811 81831c11 8140b811 8140bc11
[   14.783256] 
[   14.783256] R8: 0xc14b5ee0:
[   14.787980] 5ee0  c1820790 c1c00088 c14b5f1c c14b5ef8 00000000 c19fecc0 c1820790 c1c00088
[   14.797072] 5f00  c1c03038 00001051 00000002 00000001 00000000 c00a7940 00020d41 00020d41
[   14.806155] 5f20  ffffff9c c14a3000 00000001 c000faa8 c14b4000 00000000 00000004 ffffff9c
[   14.815242] 5f40  c14a3000 00000001 c14b5f94 c14b5f58 c0090b20 c009dea0 c14b4000 00000000
[   14.824336] 5f60  00020d41 c14b81b6 0000002a 00000300 000a1be4 016c0008 0000000c 00000005
[   14.833421] 5f80  c000faa8 00000000 c14b5fa4 c14b5f98 c0090bd8 c0090a44 00000000 c14b5fa8
[   14.842507] 5fa0  c000f920 c0090bbc 000a1be4 016c0008 000a1be4 00020d41 000001b6 00000000
[   14.851594] 5fc0  000a1be4 016c0008 0000000c 00000005 000b3800 00000000 00000085 bea25cac
[   14.860684] 
[   14.860684] R9: 0xc14b3f80:
[   14.865408] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.874498] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.883579] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.892664] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 81ffd831 81ffdc31
[   14.901754] 4000  00000002 00000001 00000000 c145ea80 c046b6ac 00000000 00000017 c1a1e780
[   14.910844] 4020  c1a1e300 c145ea80 c145e7e0 c145ebe0 00000000 00000000 c14b5d1c c14b5cf8
[   14.919933] 4040  c030efe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.929017] 4060  b6fbf4c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.938116] Process syslogd (pid: 50, stack limit = 0xc14b41b8)
[   14.944669] Stack: (0xc14b5e18 to 0xc14b6000)
[   14.951213] 1a40: c049d9f8 c1c05110 07e007e0 c1a19cc0 c1a0f8a4 c1c0510c c1c050ec c1a80820
[   14.960442] 1a60: c14e1a84 c14e1a70 c030e48c c030e160 b703d000 c1c0510c c14e1aa4 c14e1a88
[   14.969593] 1a80: c007edb8 c030e460 c14feaa8 00002000 c14e1ae0 00000000 c14e1adc c14e1aa8
[   14.978732] 1aa0: c0079e94 c007ed9c b6cc6000 c14e1ab8 c007b974 c1a1e480 c14fee70 00000000
[   14.987860] 1ac0: c1a1e4bc 00000000 00000015 00000001 c14e1b44 c14e1ae0 c00802a0 c0079e50
[   14.996987] 1ae0: c1a1e480 00000001 00000000 00000000 ffffffff c14e1b00 c0040a4c 00000065
[   15.006142] 1b00: 00000400 c1a83000 c14e1b24 c14e1b18 c030f0cc c1a1e4bc c145f260 c14e4000
[   15.015288] 1b20: c14e1b3c c14e1b30 c003cd38 c1a1e480 00000000 00000000 c14e1b5c c14e1b48
[   15.024368] 1b40: c001a808 c00801cc c145f260 c1a1e480 c14e1b7c c14e1b60 c00212d8 c001a7d0
[   15.033499] 1b60: c14e1b7c c14e1b70 c001ca18 c14e1bc2 c14e1bf4 c14e1b80 c0013a08 c0020fcc
[   15.042628] 1b80: c14e01b8 0000000b 60000013 00000008 65010000 33373935 20303030 30613165
[   15.051758] 1ba0: 30303061 30356520 33303162 35652030 30336230 28203433 33633165 30643330
[   15.061086] 1bc0: c0002029 c030dab8 c03e3113 07e00810 00000005 c1a1e480 c14e1d38 00000000
[   15.070332] 1be0: 00010000 00000005 c14e1c1c c14e1bf8 c0016ad0 c00136d4 c14e1d38 07e00810
[   15.079506] 1c00: c14e1d38 c145f260 00000028 c1a1e480 c14e1c5c c14e1c20 c0016d50 c0016a74
[   15.088663] 1c20: 00000000 c1ff666c 00000000 c1a1e4bc 00000001 00000005 00000005 07e00810
[   15.097795] 1c40: c046af20 c14e1d38 000000a8 c14feaa8 c14e1c84 c14e1c60 c0016e00 c0016b00
[   15.106922] 1c60: c0016ddc 00000005 00000005 07e00810 c046af20 c14e1d38 c14e1d34 c14e1c88
[   15.116047] 1c80: c000a1c8 c0016dec 00000000 00000001 c14e1cd4 c14e1ca0 c005a30c c005bc70
[   15.125176] 1ca0: c14e1cc4 c14e1cb0 c0040af4 c04718f4 00000000 ffffffff c14e1cdc c14e1cc8
[   15.134257] 1cc0: c005c860 c005c448 00000000 c04718f4 00000000 01400000 c14e1d04 c14e1ce8
[   15.143381] 1ce0: c005f3d0 c005f2b8 c04ff4fc 00000000 c0492e60 00000001 c04ff4fc 00000000
[   15.152518] 1d00: 002284d0 c04ff4f0 c14e1d7c c14e1d18 c0068064 c0063d50 60000013 ffffffff
[   15.161659] 1d20: c14e1d6c 00000000 c14e1dc4 c14e1d38 c000f538 c000a1a0 c14feaa8 c14e1dd8
[   15.170789] 1d40: 00000fff 07e007e0 c14feaa8 c1a80820 000000e6 c1c050ec 00000000 000000a8
[   15.179915] 1d60: c14feaa8 c14e1dc4 c14e1dc8 c14e1d80 c007960c c0063d50 60000013 ffffffff
[   15.189037] 1d80: 80000093 c049acc0 00000000 c049acc0 07e007e0 c14e1dd8 009897a3 c14feaa8
[   15.198160] 1da0: 000000a8 00000000 c1a1e480 00000000 000000a8 c1a86db8 c14e1e14 c14e1dc8
[   15.207289] 1dc0: c007960c c0063d30 c14e1fb0 ffffffff b6f23000 00000000 000000a8 000000e6
[   15.216410] 1de0: b6f23000 00000000 c14e1e04 c14feaa8 c14fc48c 000000e6 c1a86db8 00000000
[   15.225561] 1e00: 000000a8 c1a1e480 c14e1e64 c14e1e18 c007c4e8 c0079574 000000e6 000000a8
[   15.234707] 1e20: 00000000 c1a1e480 c14e1e84 c14e1e38 c007c808 c0017240 00000001 b6f23000
[   15.243806] 1e40: c1a84000 000005b7 c1a86db8 c1a1e480 c14feaa8 000000a8 c14e1e9c c14e1e68
[   15.252931] 1e60: c007c924 c007c280 c1a86db8 000000a8 c14fec60 b6f239ac c14e1fb0 c145f260
[   15.262055] 1e80: 000000a8 c1a1e480 c14feaa8 80000005 c14e1edc c14e1ea0 c0016c18 c007c87c
[   15.271178] 1ea0: c14e1ebc c14e1eb0 00000000 c1a1e4bc c14e1efc 80000005 c046af70 b6f239ac
[   15.280333] 5e00:                                                       c14b5e34 c14b5e28
[   15.289601] 1ec0: c14e1fb0 b6fbde00 b6f96adc 00000000 c14e1f04 c14e1ee0 c0016e00 c0016b00
[   15.298789] 5e20: c009a92c c009a888 c14b5e84 c14b5e38 c009a974 c009a8e8 c14b5e64 c14b5e48
[   15.307954] 1ee0: c0016ddc 00000005 c046af70 b6f239ac c14e1fb0 b6fbde00 c14e1fac c14e1f08
[   15.317109] 5e40: c008e974 c008e9a8 c14b5e84 c14b5e58 c009b23c c003f974 c14b5e84 c14b5e68
[   15.326241] 1f00: c000a26c c0016dec c0023160 c0022f14 00000000 ffffffff 00000004 ffff8f59
[   15.335370] 5e60: c14b5ee0 c1a80d20 c14a3000 00000000 c14b5f60 00000041 c14b5ed4 c14b5e88
[   15.344451] 5e80: c009d870 c009a940 c14b5ea4 c14b5ec0 c1a801e0 000000ff c1820f00 c14b5f78
[   15.353579] 1f20: c005c860 60000093 00000000 ffffffff 00000000 01400000 c14e1f64 c14e1f48
[   15.362703] 1f40: c005f3d0 c005f2b8 0000000d 00000000 ffffffff 000008bb c14e1f7c c14e1f68
[   15.371838] 5ea0: 00000000 00000000 c14b5f44 c14b5f60 00000001 ffffff9c c14a3000 c000faa8
[   15.380975] 1f60: c00234ec c005f374 00000100 0000000d c14e1f94 c14e1f80 c0010854 c0023440
[   15.390115] 5ec0: c14b4000 00000000 c14b5f54 c14b5ed8 c009dec4 c009d7f4 00000041 00000000
[   15.399246] 1f80: c049fb80 c14e1fb0 c14e1fac 0000871c b6f239ac a0000010 ffffffff bee3bcd8
[   15.408380] 5ee0: c1820790 c1c00088 c14b5f1c c14b5ef8 00000000 c19fecc0 c1820790 c1c00088
[   15.417504] 1fa0: 00000000 c14e1fb0 c000f898 c000a240 b6f96cb0 b6f80e08 b6f80e18 fffffff8
[   15.426634] 5f00: c1c03038 00001051 00000002 00000001 00000000 c00a7940 00020d41 00020d41
[   15.435756] 1fc0: 00000004 b6fbb658 00000001 bee3bcd8 b6fbde00 b6f96adc 00000000 bee3bd4c
[   15.444890] 5f20: ffffff9c c14a3000 00000001 c000faa8 c14b4000 00000000 00000004 ffffff9c
[   15.453970] 5f40: c14a3000 00000001 c14b5f94 c14b5f58 c0090b20 c009dea0 c14b4000 00000000
[   15.463100] 1fe0: 00000000 bee3bcc0 b6f867d0 b6f239ac a0000010 ffffffff 00000000 00000000
[   15.472198] Backtrace: 
[   15.475024] [<c030e150>] (__mutex_lock_slowpath+0x0/0xb4) from [<c030e48c>] (mutex_lock+0x3c/0x40)
[   15.485005]  r6:c1a80820 r5:c1c050ec r4:c1c0510c
[   15.490208] [<c030e450>] (mutex_lock+0x0/0x40) from [<c007edb8>] (unlink_file_vma+0x2c/0x48)
[   15.499614]  r4:c1c0510c r3:b703d000
[   15.503643] [<c007ed8c>] (unlink_file_vma+0x0/0x48) from [<c0079e94>] (free_pgtables+0x54/0xb0)
[   15.513332]  r7:00000000 r6:c14e1ae0 r5:00002000 r4:c14feaa8
[   15.519735] [<c0079e40>] (free_pgtables+0x0/0xb0) from [<c00802a0>] (exit_mmap+0xe4/0x208)
[   15.528994] [<c00801bc>] (exit_mmap+0x0/0x208) from [<c001a808>] (mmput+0x48/0xd0)
[   15.537441]  r6:00000000 r5:00000000 r4:c1a1e480
[   15.542637] [<c001a7c0>] (mmput+0x0/0xd0) from [<c00212d8>] (do_exit+0x31c/0x7e0)
[   15.550975]  r5:c1a1e480 r4:c145f260
[   15.555030] [<c0020fbc>] (do_exit+0x0/0x7e0) from [<c0013a08>] (die+0x344/0x394)
[   15.563224]  r7:c14e1bc2
[   15.566115] [<c00136c4>] (die+0x0/0x394) from [<c0016ad0>] (__do_kernel_fault+0x6c/0x8c)
[   15.575147] [<c0016a64>] (__do_kernel_fault+0x0/0x8c) from [<c0016d50>] (do_page_fault+0x260/0x278)
[   15.585208]  r8:c1a1e480 r7:00000028 r6:c145f260 r5:c14e1d38 r4:07e00810
r3:c14e1d38
[   15.593971] [<c0016af0>] (do_page_fault+0x0/0x278) from [<c0016e00>] (do_translation_fault+0x24/0xbc)
[   15.604273] [<c0016ddc>] (do_translation_fault+0x0/0xbc) from [<c000a1c8>] (do_DataAbort+0x38/0xa0)
[   15.614348]  r8:c14e1d38 r7:c046af20 r6:07e00810 r5:00000005 r4:00000005
r3:c0016ddc
[   15.623162] [<c000a190>] (do_DataAbort+0x0/0xa0) from [<c000f538>] (__dabt_svc+0x38/0x60)
[   15.632273] Exception stack(0xc14e1d38 to 0xc14e1d80)
[   15.637957] 5f60: 00020d41 c14b81b6 0000002a 00000300 000a1be4 016c0008 0000000c 00000005
[   15.647091] 5f80: c000faa8 00000000 c14b5fa4 c14b5f98 c0090bd8 c0090a44 00000000 c14b5fa8
[   15.656213] 5fa0: c000f920 c0090bbc 000a1be4 016c0008 000a1be4 00020d41 000001b6 00000000
[   15.665337] 5fc0: 000a1be4 016c0008 0000000c 00000005 000b3800 00000000 00000085 bea25cac
[   15.674420] 5fe0: 000b33fc bea25bf8 00041594 b6f1d4b4 60000010 000a1be4 00000000 00000000
[   15.683515] Backtrace: 
[   15.686330] [<c009a878>] (__inode_permission+0x0/0x60) from [<c009a92c>] (inode_permission+0x54/0x58)
[   15.696609] [<c009a8d8>] (inode_permission+0x0/0x58) from [<c009a974>] (link_path_walk+0x44/0x764)
[   15.706601] [<c009a930>] (link_path_walk+0x0/0x764) from [<c009d870>] (path_openat.clone.52+0x8c/0x3fc)
[   15.717078] [<c009d7e4>] (path_openat.clone.52+0x0/0x3fc) from [<c009dec4>] (do_filp_open+0x34/0x80)
[   15.727282] [<c009de90>] (do_filp_open+0x0/0x80) from [<c0090b20>] (do_sys_open+0xec/0x178)
[   15.736578]  r7:00000001 r6:c14a3000 r5:ffffff9c r4:00000004
[   15.742930] [<c0090a34>] (do_sys_open+0x0/0x178) from [<c0090bd8>] (SyS_open+0x2c/0x30)
[   15.751894] [<c0090bac>] (SyS_open+0x0/0x30) from [<c000f920>] (ret_fast_syscall+0x0/0x2c)
[   15.761131] Code: e1d030b2 e3130001 1a000008 e5903018 (e5933008) 
[   15.767950] ---[ end trace fcf66e4c308589ca ]---
[   15.773358] Unable to handle kernel paging request at virtual address 07e007e0
[   15.781522] pgd = c0004000
[   15.784594] [07e007e0] *pgd=00000000
[   15.788589] Internal error: Oops: 805 [#4] ARM
[   15.793509] Modules linked in:
[   15.796909] CPU: 0 PID: 50 Comm: syslogd Tainted: G      D      3.10.65 #86
[   15.804621] task: c145ea80 ti: c14b4000 task.ti: c14b4000
[   15.810626] PC is at __mutex_lock_slowpath+0x3c/0xb4
[   15.816129] LR is at mutex_lock+0x3c/0x40
[   15.820573] pc : [<c030e18c>]    lr : [<c030e48c>]    psr: 80000013
[   15.820573] sp : c14b5ad8  ip : c14b5b08  fp : c14b5b04
[   15.833278] r10: 00008000  r9 : 00000015  r8 : c145be18
[   15.839061] r7 : c145be18  r6 : c145ea80  r5 : c1c03690  r4 : c1c0368c
[   15.846285] r3 : 07e007e0  r2 : c14b5adc  r1 : c145be18  r0 : c1c0368c
[   15.853512] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   15.861409] Control: 0005317f  Table: 814b0000  DAC: 00000015
[   15.867765] 
[   15.867765] PC: 0xc030e10c:
[   15.872489] e10c  e1a03000 e3a02000 e1030092 e3500000 a89da800 e1032090 e1c20fc2 e89da800
[   15.881578] e12c  e1a0c00d e92dd800 e24cb004 e3a02001 e1003092 e3530000 089da800 ebffffe3
[   15.890670] e14c  e89da800 e1a0c00d e92dd870 e24cb004 e24dd014 e1a0200d e3c23d7f e3c3303f
[   15.899759] e16c  e593600c e1a04000 e5903008 e24b2028 e2805004 e50b3024 e5802008 e50b5028
[   15.908850] e18c  e5832000 e5903000 e50b6020 e3530000 ba000003 e3e02000 e1003092 e3530001
[   15.917937] e1ac  0a00000a e5943000 e3530000 ba000003 e3e02000 e1043092 e3530001 0a000003
[   15.927023] e1cc  e3a03002 e5863000 eb000522 eafffff4 e51b3024 e51b2028 e5823004 e5832000
[   15.936113] e1ec  e5943004 e1530005 03a03000 05843000 e24bd018 e89da870 e1a0c00d e92dd870
[   15.945210] 
[   15.945210] LR: 0xc030e40c:
[   15.949932] e40c  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb00031b e3a00000 e1043090
[   15.959024] e42c  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffffa8
[   15.968113] e44c  e89da818 e1a0c00d e92dd818 e24cb004 e1a04000 eb00030b e3a02000 e1043092
[   15.977203] e46c  e3530001 089da818 e3e02000 e1043092 e3530001 089da818 e1a00004 ebffff30
[   15.986294] e48c  e89da818 e1a0c00d e92dd9f0 e24cb004 e24dd00c e1a0200d e3c23d7f e3c3303f
[   15.995383] e4ac  e1a08001 e593100c e1a06000 ebf4b5f2 e1a0300d e3c37d7f e3c7703f e597300c
[   16.004465] e4cc  e3a02001 e5832000 e1c641d8 e1c621d0 e0522004 e0c33005 e58d2000 e1a03005
[   16.013553] e4ec  e1a00006 e1a02004 e58d8004 ebf4b83f e5963028 e3530000 05863030 e5963030
[   16.022648] 
[   16.022648] SP: 0xc14b5a58:
[   16.027370] 5a58  00000000 00000001 c04ff4fc 00000000 c0492e60 c030e18c 80000013 ffffffff
[   16.036460] 5a78  c14b5ac4 c145be18 c14b5b04 c14b5a90 c000f538 c000a1a0 c1c0368c c145be18
[   16.045558] 5a98  c14b5adc 07e007e0 c1c0368c c1c03690 c145ea80 c145be18 c145be18 00000015
[   16.054652] 5ab8  00008000 c14b5b04 c14b5b08 c14b5ad8 c030e48c c030e18c 80000013 ffffffff
[   16.063736] 5ad8  bea25000 c1c03690 07e007e0 c14b5af0 c007b140 c1c0368c c1c0366c c14c51e0
[   16.072832] 5af8  c14b5b1c c14b5b08 c030e48c c030e160 00000000 c1c0368c c14b5b3c c14b5b20
[   16.081924] 5b18  c007edb8 c030e460 c145bdc0 00002000 c14b5b78 00000000 c14b5b74 c14b5b40
[   16.091010] 5b38  c0079e7c c007ed9c c14b5b74 c14b5b50 c007b974 c1a1e300 c145be18 00000000
[   16.100094] 
[   16.100094] IP: 0xc14b5a88:
[   16.104818] 5a88  c000f538 c000a1a0 c1c0368c c145be18 c14b5adc 07e007e0 c1c0368c c1c03690
[   16.113909] 5aa8  c145ea80 c145be18 c145be18 00000015 00008000 c14b5b04 c14b5b08 c14b5ad8
[   16.123000] 5ac8  c030e48c c030e18c 80000013 ffffffff bea25000 c1c03690 07e007e0 c14b5af0
[   16.132094] 5ae8  c007b140 c1c0368c c1c0366c c14c51e0 c14b5b1c c14b5b08 c030e48c c030e160
[   16.141182] 5b08  00000000 c1c0368c c14b5b3c c14b5b20 c007edb8 c030e460 c145bdc0 00002000
[   16.150272] 5b28  c14b5b78 00000000 c14b5b74 c14b5b40 c0079e7c c007ed9c c14b5b74 c14b5b50
[   16.159364] 5b48  c007b974 c1a1e300 c145be18 00000000 c1a1e33c 00000000 00000015 00000001
[   16.168459] 5b68  c14b5bdc c14b5b78 c00802a0 c0079e50 c1a1e300 00000001 00000000 00000000
[   16.177547] 
[   16.177547] FP: 0xc14b5a84:
[   16.182270] 5a84  c14b5a90 c000f538 c000a1a0 c1c0368c c145be18 c14b5adc 07e007e0 c1c0368c
[   16.191365] 5aa4  c1c03690 c145ea80 c145be18 c145be18 00000015 00008000 c14b5b04 c14b5b08
[   16.200452] 5ac4  c14b5ad8 c030e48c c030e18c 80000013 ffffffff bea25000 c1c03690 07e007e0
[   16.209538] 5ae4  c14b5af0 c007b140 c1c0368c c1c0366c c14c51e0 c14b5b1c c14b5b08 c030e48c
[   16.218625] 5b04  c030e160 00000000 c1c0368c c14b5b3c c14b5b20 c007edb8 c030e460 c145bdc0
[   16.227721] 5b24  00002000 c14b5b78 00000000 c14b5b74 c14b5b40 c0079e7c c007ed9c c14b5b74
[   16.236805] 5b44  c14b5b50 c007b974 c1a1e300 c145be18 00000000 c1a1e33c 00000000 00000015
[   16.245895] 5b64  00000001 c14b5bdc c14b5b78 c00802a0 c0079e50 c1a1e300 00000001 00000000
[   16.254987] 
[   16.254987] R0: 0xc1c0360c:
[   16.259711] 360c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.268803] 362c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.277896] 364c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.286991] 366c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.296081] 368c  ffffffff 07e007e0 c14b5adc 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.305173] 36ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.314265] 36cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.323356] 36ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.332454] 
[   16.332454] R1: 0xc145bd98:
[   16.337177] bd98  00000000 00000000 00000000 c14a8828 c14a8828 c1489580 00000000 000000b4
[   16.346269] bdb8  00000000 00000000 000b3000 000b4000 c145bd68 c145be18 c145bb10 c145bd78
[   16.355357] bdd8  c145be28 0160a000 c1a1e300 0000018b 00100877 c145b0dd c14d58c4 c14a9b84
[   16.364445] bdf8  000000a3 c14a8728 c14a8728 c14894a0 c03144e0 000000a3 c14c51e0 00000000
[   16.373531] be18  00008000 000ab000 c145bdc0 00000000 c145bdd1 00000000 00000000 00008000
[   16.382616] be38  c1a1e300 0000018b 00000875 c145b0dd c14d586c c14a95ac 000000a2 c145be54
[   16.391708] be58  c145be54 00000000 c03144e0 00000000 c14c51e0 00000000 bea66000 bea88000
[   16.400796] be78  00000000 c14d5160 c14a9699 00000000 c14d5170 07b42000 c1a1e780 0000038b
[   16.409888] 
[   16.409888] R2: 0xc14b5a5c:
[   16.414612] 5a5c  00000001 c04ff4fc 00000000 c0492e60 c030e18c 80000013 ffffffff c14b5ac4
[   16.423703] 5a7c  c145be18 c14b5b04 c14b5a90 c000f538 c000a1a0 c1c0368c c145be18 c14b5adc
[   16.432791] 5a9c  07e007e0 c1c0368c c1c03690 c145ea80 c145be18 c145be18 00000015 00008000
[   16.441877] 5abc  c14b5b04 c14b5b08 c14b5ad8 c030e48c c030e18c 80000013 ffffffff bea25000
[   16.450960] 5adc  c1c03690 07e007e0 c14b5af0 c007b140 c1c0368c c1c0366c c14c51e0 c14b5b1c
[   16.460054] 5afc  c14b5b08 c030e48c c030e160 00000000 c1c0368c c14b5b3c c14b5b20 c007edb8
[   16.469142] 5b1c  c030e460 c145bdc0 00002000 c14b5b78 00000000 c14b5b74 c14b5b40 c0079e7c
[   16.478232] 5b3c  c007ed9c c14b5b74 c14b5b50 c007b974 c1a1e300 c145be18 00000000 c1a1e33c
[   16.487321] 
[   16.487321] R4: 0xc1c0360c:
[   16.492045] 360c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.501141] 362c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.510237] 364c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.519326] 366c  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.528416] 368c  ffffffff 07e007e0 c14b5adc 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.537505] 36ac  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.546593] 36cc  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.555680] 36ec  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.564776] 
[   16.564776] R5: 0xc1c03610:
[   16.569500] 3610  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.578594] 3630  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.587683] 3650  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.596774] 3670  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 ffffffff
[   16.605862] 3690  07e007e0 c14b5adc 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.614956] 36b0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.624041] 36d0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.633134] 36f0  07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0 07e007e0
[   16.642223] 
[   16.642223] R6: 0xc145ea00:
[   16.646947] ea00  00000000 00000000 00000000 00000000 00000001 00000002 c145ea18 c145ea18
[   16.656037] ea20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   16.665119] ea40  00000000 00000000 c145ea48 c145ea48 00000000 00000000 00000000 00000000
[   16.674198] ea60  00000000 00000000 00000000 00000020 00000000 0000c350 0000c350 00000000
[   16.683284] ea80  00000000 c14b4000 00000002 00400104 00000000 00000001 00000078 00000078
[   16.692368] eaa0  00000078 00000000 c0313e9c 00000000 00000400 00400000 c145f298 00000000
[   16.701458] eac0  00000000 c145eac4 c145eac4 00000001 acd511bf 00000003 4802d6a8 00000000
[   16.710544] eae0  11eeade6 00000001 4753ce3a 00000000 00000000 00000000 c145eaf8 c145eaf8
[   16.719636] 
[   16.719636] R7: 0xc145bd98:
[   16.724360] bd98  00000000 00000000 00000000 c14a8828 c14a8828 c1489580 00000000 000000b4
[   16.733446] bdb8  00000000 00000000 000b3000 000b4000 c145bd68 c145be18 c145bb10 c145bd78
[   16.742533] bdd8  c145be28 0160a000 c1a1e300 0000018b 00100877 c145b0dd c14d58c4 c14a9b84
[   16.751622] bdf8  000000a3 c14a8728 c14a8728 c14894a0 c03144e0 000000a3 c14c51e0 00000000
[   16.760712] be18  00008000 000ab000 c145bdc0 00000000 c145bdd1 00000000 00000000 00008000
[   16.769804] be38  c1a1e300 0000018b 00000875 c145b0dd c14d586c c14a95ac 000000a2 c145be54
[   16.778897] be58  c145be54 00000000 c03144e0 00000000 c14c51e0 00000000 bea66000 bea88000
[   16.787984] be78  00000000 c14d5160 c14a9699 00000000 c14d5170 07b42000 c1a1e780 0000038b
[   16.797075] 
[   16.797075] R8: 0xc145bd98:
[   16.801799] bd98  00000000 00000000 00000000 c14a8828 c14a8828 c1489580 00000000 000000b4
[   16.810886] bdb8  00000000 00000000 000b3000 000b4000 c145bd68 c145be18 c145bb10 c145bd78
[   16.819976] bdd8  c145be28 0160a000 c1a1e300 0000018b 00100877 c145b0dd c14d58c4 c14a9b84
[   16.829066] bdf8  000000a3 c14a8728 c14a8728 c14894a0 c03144e0 000000a3 c14c51e0 00000000
[   16.838159] be18  00008000 000ab000 c145bdc0 00000000 c145bdd1 00000000 00000000 00008000
[   16.847246] be38  c1a1e300 0000018b 00000875 c145b0dd c14d586c c14a95ac 000000a2 c145be54
[   16.856338] be58  c145be54 00000000 c03144e0 00000000 c14c51e0 00000000 bea66000 bea88000
[   16.865422] be78  00000000 c14d5160 c14a9699 00000000 c14d5170 07b42000 c1a1e780 0000038b
[   16.874522] Process syslogd (pid: 50, stack limit = 0xc14b41b8)
[   16.881074] Stack: (0xc14b5ad8 to 0xc14b6000)
[   16.886285] 1d20:                                                       c14feaa8 c14e1dd8
[   16.895524] 1d40: 00000fff 07e007e0 c14feaa8 c1a80820 000000e6 c1c050ec 00000000 000000a8
[   16.904673] 1d60: c14feaa8 c14e1dc4 c14e1dc8 c14e1d80 c007960c c0063d50 60000013 ffffffff
[   16.913739]  r8:00000000 r7:c14e1d6c r6:ffffffff r5:60000013 r4:c0063d50
[   16.921336] [<c0063d20>] (filemap_fault+0x0/0x39c) from [<c007960c>] (__do_fault+0xa8/0x448)
[   16.930808] [<c0079564>] (__do_fault+0x0/0x448) from [<c007c4e8>] (handle_pte_fault+0x278/0x5fc)
[   16.940652] [<c007c270>] (handle_pte_fault+0x0/0x5fc) from [<c007c924>] (handle_mm_fault+0xb8/0xcc)
[   16.950763] [<c007c86c>] (handle_mm_fault+0x0/0xcc) from [<c0016c18>] (do_page_fault+0x128/0x278)
[   16.960670] [<c0016af0>] (do_page_fault+0x0/0x278) from [<c0016e00>] (do_translation_fault+0x24/0xbc)
[   16.970950] [<c0016ddc>] (do_translation_fault+0x0/0xbc) from [<c000a26c>] (do_PrefetchAbort+0x3c/0xa0)
[   16.981399]  r8:b6fbde00 r7:c14e1fb0 r6:b6f239ac r5:c046af70 r4:00000005
r3:c0016ddc
[   16.990206] [<c000a230>] (do_PrefetchAbort+0x0/0xa0) from [<c000f898>] (ret_from_exception+0x0/0x10)
[   17.000389] Exception stack(0xc14e1fb0 to 0xc14e1ff8)
[   17.006066] 1fa0:                                     b6f96cb0 b6f80e08 b6f80e18 fffffff8
[   17.015200] 1fc0: 00000004 b6fbb658 00000001 bee3bcd8 b6fbde00 b6f96adc 00000000 bee3bd4c
[   17.024273] 1fe0: 00000000 bee3bcc0 b6f867d0 b6f239ac a0000010 ffffffff
[   17.031642]  r7:bee3bcd8 r6:ffffffff r5:a0000010 r4:b6f239ac
[   17.038023] Code: e2805004 e50b3024 e5802008 e50b5028 (e5832000) 
[   17.044848] ---[ end trace fcf66e4c308589cb ]---
[   17.049976] Fixing recursive fault but reboot is needed!
[   17.055942] 5ac0:                                                       bea25000 c1c03690
[   17.065072] 5ae0: 07e007e0 c14b5af0 c007b140 c1c0368c c1c0366c c14c51e0 c14b5b1c c14b5b08
[   17.074161] 5b00: c030e48c c030e160 00000000 c1c0368c c14b5b3c c14b5b20 c007edb8 c030e460
[   17.083287] 5b20: c145bdc0 00002000 c14b5b78 00000000 c14b5b74 c14b5b40 c0079e7c c007ed9c
[   17.092402] 5b40: c14b5b74 c14b5b50 c007b974 c1a1e300 c145be18 00000000 c1a1e33c 00000000
[   17.101518] 5b60: 00000015 00000001 c14b5bdc c14b5b78 c00802a0 c0079e50 c1a1e300 00000001
[   17.110633] 5b80: 00000000 00000000 ffffffff c14b5b98 c0040a4c 00000090 00000400 c149e000
[   17.119741] 5ba0: c14b5bbc c14b5bb0 c030f0cc c1a1e33c c145ea80 c1907980 c14b5bd4 c14b5bc8
[   17.128849] 5bc0: c003cd38 c1a1e300 00000000 00000000 c14b5bf4 c14b5be0 c001a808 c00801cc
[   17.137960] 5be0: c145ea80 c1a1e300 c14b5c14 c14b5bf8 c00212d8 c001a7d0 c14b5c14 c14b5c08
[   17.147078] 5c00: c001ca18 c14b5c5a c14b5c8c c14b5c18 c0013a08 c0020fcc c14b41b8 0000000b
[   17.156203] 5c20: 60000013 00000008 65010000 33306431 20326230 33313365 31303030 30613120
[   17.165319] 5c40: 30303030 35652038 30333039 28203831 33393565 38303033 c0002029 c030dab8
[   17.174395] 5c60: c03e3113 07e007e8 00000005 c1a1e300 c14b5dd0 00000000 00010000 00000005
[   17.183509] 5c80: c14b5cb4 c14b5c90 c0016ad0 c00136d4 c14b5dd0 07e007e8 c14b5dd0 c145ea80
[   17.192623] 5ca0: 00000028 c1a1e300 c14b5cf4 c14b5cb8 c0016d50 c0016a74 c14b5cdc c14b5cc8
[   17.201734] 5cc0: 00000000 c1a1e33c 00000000 00000005 00000005 07e007e8 c046af20 c14b5dd0
[   17.210843] 5ce0: c14b4000 00000041 c14b5d1c c14b5cf8 c0016e00 c0016b00 c0016ddc 00000005
[   17.219960] 5d00: 00000005 07e007e8 c046af20 c14b5dd0 c14b5dcc c14b5d20 c000a1c8 c0016dec
[   17.229087] 5d20: 00000000 c14e2180 c14b5dec c14b5e70 c14b5d4c c14b5d40 c0267e84 c008e1ec
[   17.238213] 5d40: c14b5d64 c14b5d50 c02687bc c0267e2c c14e2180 c14b5dec c14b5d7c c14b5d68
[   17.247328] 5d60: c04686ec c14e2180 c14b5dec c14b5e70 c14b5d94 c14b5d80 c02688cc c008e308
[   17.256443] 5d80: 00000001 c1905000 c14b5da4 c14b5d98 c026895c c0268828 c14b5dbc c14b5da8
[   17.265553] 5da0: c026bef4 c0268920 00000000 c009a8a8 60000013 ffffffff c14b5e04 c14b5f60
[   17.274661] 5dc0: c14b5e24 c14b5dd0 c000f538 c000a1a0 c1c03038 00000081 07e007e0 07e007e0
[   17.283737] 5de0: c14b5ee0 00000076 c14a3011 00000000 c14b5f60 c14b4000 00000041 c14b5e24
[   17.292852] 5e00: c14b5e28 c14b5e18 c009a92c c009a8a8 60000013 ffffffff c14b5e34 c14b5e28
[   17.301975] 5e20: c009a92c c009a888 c14b5e84 c14b5e38 c009a974 c009a8e8 c14b5e64 c14b5e48
[   17.311097] 5e40: c008e974 c008e9a8 c14b5e84 c14b5e58 c009b23c c003f974 c14b5e84 c14b5e68
[   17.320224] 5e60: c14b5ee0 c1a80d20 c14a3000 00000000 c14b5f60 00000041 c14b5ed4 c14b5e88
[   17.329340] 5e80: c009d870 c009a940 c14b5ea4 c14b5ec0 c1a801e0 000000ff c1820f00 c14b5f78
[   17.338454] 5ea0: 00000000 00000000 c14b5f44 c14b5f60 00000001 ffffff9c c14a3000 c000faa8
[   17.347566] 5ec0: c14b4000 00000000 c14b5f54 c14b5ed8 c009dec4 c009d7f4 00000041 00000000
[   17.356678] 5ee0: c1820790 c1c00088 c14b5f1c c14b5ef8 00000000 c19fecc0 c1820790 c1c00088
[   17.365793] 5f00: c1c03038 00001051 00000002 00000001 00000000 c00a7940 00020d41 00020d41
[   17.374915] 5f20: ffffff9c c14a3000 00000001 c000faa8 c14b4000 00000000 00000004 ffffff9c
[   17.384002] 5f40: c14a3000 00000001 c14b5f94 c14b5f58 c0090b20 c009dea0 c14b4000 00000000
[   17.393112] 5f60: 00020d41 c14b81b6 0000002a 00000300 000a1be4 016c0008 0000000c 00000005
[   17.402222] 5f80: c000faa8 00000000 c14b5fa4 c14b5f98 c0090bd8 c0090a44 00000000 c14b5fa8
[   17.411332] 5fa0: c000f920 c0090bbc 000a1be4 016c0008 000a1be4 00020d41 000001b6 00000000
[   17.420442] 5fc0: 000a1be4 016c0008 0000000c 00000005 000b3800 00000000 00000085 bea25cac
[   17.429549] 5fe0: 000b33fc bea25bf8 00041594 b6f1d4b4 60000010 000a1be4 00000000 00000000
[   17.438639] Backtrace: 
[   17.441424] [<c030e150>] (__mutex_lock_slowpath+0x0/0xb4) from [<c030e48c>] (mutex_lock+0x3c/0x40)
[   17.451407]  r6:c14c51e0 r5:c1c0366c r4:c1c0368c
[   17.456647] [<c030e450>] (mutex_lock+0x0/0x40) from [<c007edb8>] (unlink_file_vma+0x2c/0x48)
[   17.466038]  r4:c1c0368c r3:00000000
[   17.470067] [<c007ed8c>] (unlink_file_vma+0x0/0x48) from [<c0079e7c>] (free_pgtables+0x3c/0xb0)
[   17.479740]  r7:00000000 r6:c14b5b78 r5:00002000 r4:c145bdc0
[   17.486132] [<c0079e40>] (free_pgtables+0x0/0xb0) from [<c00802a0>] (exit_mmap+0xe4/0x208)
[   17.495358] [<c00801bc>] (exit_mmap+0x0/0x208) from [<c001a808>] (mmput+0x48/0xd0)
[   17.503743]  r6:00000000 r5:00000000 r4:c1a1e300
[   17.508974] [<c001a7c0>] (mmput+0x0/0xd0) from [<c00212d8>] (do_exit+0x31c/0x7e0)
[   17.517315]  r5:c1a1e300 r4:c145ea80
[   17.521331] [<c0020fbc>] (do_exit+0x0/0x7e0) from [<c0013a08>] (die+0x344/0x394)
[   17.529569]  r7:c14b5c5a
[   17.532409] [<c00136c4>] (die+0x0/0x394) from [<c0016ad0>] (__do_kernel_fault+0x6c/0x8c)
[   17.541428] [<c0016a64>] (__do_kernel_fault+0x0/0x8c) from [<c0016d50>] (do_page_fault+0x260/0x278)
[   17.551482]  r8:c1a1e300 r7:00000028 r6:c145ea80 r5:c14b5dd0 r4:07e007e8
r3:c14b5dd0
[   17.560283] [<c0016af0>] (do_page_fault+0x0/0x278) from [<c0016e00>] (do_translation_fault+0x24/0xbc)
[   17.570567] [<c0016ddc>] (do_translation_fault+0x0/0xbc) from [<c000a1c8>] (do_DataAbort+0x38/0xa0)
[   17.580616]  r8:c14b5dd0 r7:c046af20 r6:07e007e8 r5:00000005 r4:00000005
r3:c0016ddc
[   17.589438] [<c000a190>] (do_DataAbort+0x0/0xa0) from [<c000f538>] (__dabt_svc+0x38/0x60)
[   17.598554] Exception stack(0xc14b5dd0 to 0xc14b5e18)
[   17.604189] 5dc0:                                     c1c03038 00000081 07e007e0 07e007e0
[   17.613310] 5de0: c14b5ee0 00000076 c14a3011 00000000 c14b5f60 c14b4000 00000041 c14b5e24
[   17.622425] 5e00: c14b5e28 c14b5e18 c009a92c c009a8a8 60000013 ffffffff
[   17.629790]  r8:c14b5f60 r7:c14b5e04 r6:ffffffff r5:60000013 r4:c009a8a8
[   17.637352] [<c009a878>] (__inode_permission+0x0/0x60) from [<c009a92c>] (inode_permission+0x54/0x58)
[   17.647626] [<c009a8d8>] (inode_permission+0x0/0x58) from [<c009a974>] (link_path_walk+0x44/0x764)
[   17.657615] [<c009a930>] (link_path_walk+0x0/0x764) from [<c009d870>] (path_openat.clone.52+0x8c/0x3fc)
[   17.668091] [<c009d7e4>] (path_openat.clone.52+0x0/0x3fc) from [<c009dec4>] (do_filp_open+0x34/0x80)
[   17.678288] [<c009de90>] (do_filp_open+0x0/0x80) from [<c0090b20>] (do_sys_open+0xec/0x178)
[   17.687572]  r7:00000001 r6:c14a3000 r5:ffffff9c r4:00000004
[   17.693915] [<c0090a34>] (do_sys_open+0x0/0x178) from [<c0090bd8>] (SyS_open+0x2c/0x30)
[   17.702857] [<c0090bac>] (SyS_open+0x0/0x30) from [<c000f920>] (ret_fast_syscall+0x0/0x2c)
[   17.712067] Code: e2805004 e50b3024 e5802008 e50b5028 (e5832000) 
[   17.718871] ---[ end trace fcf66e4c308589cc ]---
[   17.723989] Fixing recursive fault but reboot is needed!

离线

#96 2019-06-22 13:21:22

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

楼主你好,请问如何运行官方SDK中的示例程序1.pngnone.png1.png

离线

#97 2019-06-22 13:26:23

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

编译已经成功,系统可以跑起来27PSGMQ.png

离线

#98 2019-06-22 14:34:56

manhere
会员
注册时间: 2019-06-22
已发帖子: 19
积分: 18

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

折腾不动了。。。

离线

楼主 #99 2019-06-22 15:22:26

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

zdl229892205 说:

楼主你好,请问如何运行官方SDK中的示例程序

https://whycan.cn/t_1522.html#p8073

可以按照这个第5步,先编译,然后拷贝





离线

#100 2019-08-13 11:12:24

忙着折腾
会员
注册时间: 2019-02-20
已发帖子: 30
积分: 19

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

在uboot源码目录下 进入 ./include/configs/

修改 suniv.h¶
#define CONFIG_BOOTCOMMAND   "sf probe 0:50000000; "                           \
                             "sf read 0x80C00000 0x100000 0x4000; "  \
                             "sf read 0x80008000 0x110000 0x400000; " \
                             "bootz 0x80008000 - 0x80C00000"

suniv.h这样改会报错:
Failed to initialize SPI flash at 0:50000000 (error -2)

把sf probe 0:50000000 改为 sf probe 0 时:
不会报错了,但SPI读取速度超慢,sf read 0x80008000 0x110000 0x400000这条命令读完要5分钟!!!

把sf probe 0:50000000 改为 sf probe 0 50000000时:
不会报错了,SPI读取速度也正常了,可以启动linux了。

离线

#101 2019-08-13 11:27:02

还能这么玩
会员
注册时间: 2019-04-14
已发帖子: 119
积分: 119

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

对, 这个是官方文档的坑, 一直都没有填

离线

#102 2019-08-13 11:48:17

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

zdl229892205 说:

编译已经成功,系统可以跑起来https://whycan.cn/files/members/1708/27PSGMQ.png

大神你好,你的R6 BSP可以分享下吗

离线

#103 2019-10-22 21:14:10

L1234
会员
注册时间: 2019-10-16
已发帖子: 12
积分: 12

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

egsen 说:

dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\
dd if=$YOUR_UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\
dd if=$YOUR_DTB_FILE of=flashimg.bin bs=1K seek=1024  conv=notrunc &&\
dd if=$YOUR_KERNEL_FILE of=flashimg.bin bs=1K seek=1088  conv=notrunc &&\
mkdir rootfs
tar -xzvf $YOUR_ROOTFS_FILE -C ./rootfs &&\
cp -r $YOUR_MOD_FILE  rootfs/lib/modules/ &&\
# 为根文件系统制作jffs2镜像包
# --pad参数指定 jffs2大小
# 由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000
mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\
dd if=jffs2.img of=$YOUR_IMG_FILE  bs=1K seek=5184  conv=notrunc &&\

@晕哥  cp -r $YOUR_MOD_FILE  rootfs/lib/modules/    YOUR_MOD_FILE这个是什么文件? 做启动文件系统需要用这个吗?


同问  这个是什么文件啊

离线

#104 2019-10-23 09:25:44

L1234
会员
注册时间: 2019-10-16
已发帖子: 12
积分: 12

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

L1234 说:

同问  这个是什么文件啊

@晕哥

离线

楼主 #105 2019-10-23 09:40:16

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

$YOUR_MOD_FILE 即目录下所有的 .ko 文件, 上面这个命令不好, 用 make modules_install 命令更好:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/media/whycan/c3e8d3c2  make modules_install

假设/media/whycan/c3e8d3c2是你的文件系统目录.





离线

#106 2019-10-23 09:48:30

L1234
会员
注册时间: 2019-10-16
已发帖子: 12
积分: 12

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

$YOUR_MOD_FILE 即目录下所有的 .ko 文件, 上面这个命令不好, 用 make modules_install 命令更好:



假设/media/whycan/c3e8d3c2是你的文件系统目录.

这个目录指的是下载的根文件系统目录吗?
会报错make: *** 没有规则可制作目标“modules_install”。 停止。

离线

楼主 #107 2019-10-23 09:52:45

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

运行的目录是Linux源码所在的目录。

如果当前目录不是 Linux源码目录,可以用 -C 参数指定就行:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=/media/whycan/c3e8d3c2  make -C /opt/linux modules_install





离线

#108 2019-10-23 16:44:28

阿黄
会员
注册时间: 2018-10-03
已发帖子: 299
积分: 134

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

想请教下,bsp linux中,对应buildroot和linux kernel的menuconfig 配置 应该怎么配置呢?直接去buildroot文件夹里面和kernel里面 make menuconfig吗?好像不大对

离线

楼主 #109 2019-10-23 16:50:24

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

bsp 那个要看文档,套路有很多不同,不走寻常路。





离线

#110 2019-11-13 10:09:21

太一酱鸭
会员
注册时间: 2019-07-03
已发帖子: 154
积分: 154

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

感觉我和晕哥用的是一个buildroot,晕哥有没有编译buildroot的时候遇到过这种情况,就是,不论你的.config配置是什么,最后一定会编译,mpfr,mpc,还有各种automake,autoconf,lzo,然后我就连环出错了,之前瞎搞弄好了,然后删掉之前的重新打包又开始这样

离线

#111 2019-11-13 10:47:38

太一酱鸭
会员
注册时间: 2019-07-03
已发帖子: 154
积分: 154

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

太一酱鸭 说:

感觉我和晕哥用的是一个buildroot,晕哥有没有编译buildroot的时候遇到过这种情况,就是,不论你的.config配置是什么,最后一定会编译,mpfr,mpc,还有各种automake,autoconf,lzo,然后我就连环出错了,之前瞎搞弄好了,然后删掉之前的重新打包又开始这样

我知道是什么问题了。。。因为我勾选了其他的文件系统,然后其他文件系统自动链接了其他的配置

离线

#112 2019-11-14 11:29:41

hxhlb
会员
注册时间: 2019-11-11
已发帖子: 27
积分: 27

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

所以到底我应该从哪里找到f1c100s的bsp 楼上各位大佬..跪求帮助.

离线

楼主 #113 2019-11-14 11:51:47

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

hxhlb 说:

所以到底我应该从哪里找到f1c100s的bsp 楼上各位大佬..跪求帮助.

他可能后来删了:
git clone https://github.com/qq516333132/c600.git


这个是荔枝派很早以前分享的文件: f1c600.tar.bz2
md5: d7ba43ff533948d6cd0455cf6f742a10
crc32: 1fc536dd





离线

#114 2019-11-27 17:55:40

Vivian
会员
注册时间: 2019-11-27
已发帖子: 10
积分: 10

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

那个问题后来解决了。
现在是用全志官方软件根本烧不进去,
换几台电脑都不行,
一开始能烧进去的 img 现在换了5台都不行。

https://whycan.cn/files/members/3/165923gsascz2dhd2tadmv.png

现在改用开源的 sunxi-fel, 一点问题都没有。
自己处理烧写地址问题.

你好,我现在出现一样的问题,请问 能否指点一下怎么处理?
盼复,谢谢。

离线

楼主 #115 2019-11-27 17:59:59

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

接上串口,u-boot有错误信息输出的。





离线

#116 2019-11-27 18:17:16

Vivian
会员
注册时间: 2019-11-27
已发帖子: 10
积分: 10

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

接上串口,u-boot有错误信息输出的。

只提示fes1 init end就没有别的log了……

离线

楼主 #117 2019-11-27 18:31:05

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

Vivian 说:

只提示fes1 init end就没有别的log了……

感觉 dram  没有初始化成功。

你的板子是荔枝派还是自己做的,要不烧个 路漫漫的固件看下硬件有没有问题。





离线

#118 2019-12-10 17:31:41

zhaolei_cpp
会员
注册时间: 2019-11-12
已发帖子: 23
积分: 22

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

gavin 说:

https://whycan.cn/t_1008.html
里面的源码包编译通过了

这个源码包你还有不? 原帖的链接失效了。

离线

#119 2019-12-14 18:08:00

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

I have compiled, but the lcd is not working
480*272

here is serial log, sys_config.fex, sunivw1p1-pinctrl.dtsi and sunivw1p1smp_defconfig

https://whycan.cn/files/members/2525/serial_log.txt

https://whycan.cn/files/members/2525/sunivw1p1_dtsi.txt

https://whycan.cn/files/members/2525/sunivw1p1-pinctrl_dtsi.txt

https://whycan.cn/files/members/2525/sys_config_fex.txt


photo_2019-12-14_13-38-32.jpg
please check it i am confused ...

最近编辑记录 Biftor (2019-12-14 18:09:28)

离线

楼主 #120 2019-12-14 18:16:00

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

改 sys_config.fex 的这部分:

lcd_x = 800
lcd_y = 480

改为:

lcd_x = 480
lcd_y = 272





离线

#121 2019-12-14 18:26:14

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

改 sys_config.fex 的这部分:

lcd_x = 800
lcd_y = 480

改为:

lcd_x = 480
lcd_y = 272

I did it,
but same result no lcd
also i did clean build too .

https://whycan.cn/files/members/2525/sys_config_fex_20191214-1828.txt

最近编辑记录 Biftor (2019-12-14 18:28:43)

离线

楼主 #122 2019-12-14 18:31:16

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

lcd_used = 1

=>

lcd_used = 0





离线

#123 2019-12-14 18:41:40

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

lcd_used = 1

=>

lcd_used = 0


still no lcd (it is only back light white)

./build clean
./build
./build pack

https://whycan.cn/files/members/2525/sys_config_fex_20191214-1840.txt

最近编辑记录 Biftor (2019-12-14 18:42:20)

离线

#124 2019-12-14 18:48:31

daydayup
会员
注册时间: 2017-10-09
已发帖子: 343
积分: 343

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

参考@晕哥另外一个帖子: https://whycan.cn/t_1522.html

离线

#125 2019-12-14 19:03:10

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

daydayup 说:

参考@晕哥另外一个帖子: https://whycan.cn/t_1522.html


I have tried that too, i got same result .
the lcd is working when i follow
nano.lichee.pro .

but that Kernel linux not support video/audio hardware driver.

离线

#126 2019-12-14 19:46:01

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

离线

楼主 #127 2019-12-14 21:19:36

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp





离线

#128 2019-12-15 02:09:05

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

thanks
ok i will try this one too.

离线

#129 2019-12-15 15:05:37

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

I tried it but failed.

git lfs clone https://github.com/qq516333132/c600.git

first i didn't touch just build

./build.sh config
./build.sh
./build.sh pack

no LCD .

i did

lcd_x = 480
lcd_y = 272

no LCD.

lcd_used = 0

no LCD.

and finally applied them

https://whycan.cn/files/members/2525/sunivw1p1_dtsi.txt

https://whycan.cn/files/members/2525/sunivw1p1-pinctrl_dtsi.txt

no LCD.

what should i do???

离线

楼主 #130 2019-12-15 16:55:40

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

@Biftor 不可能啊, 我的都可以, https://whycan.cn/t_1522.html#p8133

要不你先烧上面的固件试一试, 需要 spi nor flash





离线

#131 2019-12-15 17:03:25

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

@Biftor 不可能啊, 我的都可以, https://whycan.cn/t_1522.html#p8133

要不你先烧上面的固件试一试, 需要 spi nor flash

tell me exactly which spi flash or nor flash i have to buy?
i have winbond 25064fvsig that is 8mb .

离线

楼主 #132 2019-12-15 17:06:25

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

不太记得了, 可能是 MX25L128, 但是你最好买 MX25L256, 比较保险.





离线

#133 2019-12-15 17:43:36

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

不太记得了, 可能是 MX25L128, 但是你最好买 MX25L256, 比较保险.

unfortunately this one is not available here.
i have to order it from China.
i found it
W25Q256JVEIQ
is it okay?

离线

楼主 #134 2019-12-15 18:03:23

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

应该可以, 不完全确定.





离线

#135 2019-12-16 16:38:11

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

应该可以, 不完全确定.

as what you said, I bought W25Q256JVEIQ and soldered.

I tried this https://whycan.cn/t_1008.html#p4839

sunxi-fel.exe -p spiflash-write 0 file.bin

It is working lcd is working and showing the

U-Boot SPL 2018.01-05676-g0018878-dirty (Apr 19 2018 - 20:06:23)
DRAM: 32 MiB
Trying to boot from sunxi SPI


U-Boot 2018.01-05676-g0018878-dirty (Apr 19 2018 - 20:06:23 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
Setting up a 480x272 lcd console (overscan 0x0)
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 w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
device 0 offset 0x100000, size 0x250000
SF: 2424832 bytes @ 0x100000 Read: OK
device 0 offset 0x350000, size 0x7000
SF: 28672 bytes @ 0x350000 Read: OK
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   reserving fdt memory region: addr=81000000 size=10000
   Loading Device Tree to 80e5e000, end 80e679f0 ... OK

Starting kernel ...


Read dt_phys 80e5e000
Read devtree c0e5e000

Read dt_root 0xc0489028d00dfeed
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.65 (lq@assert) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #583 Thu Apr 26 15:02:26 CST 2018
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000]
[    0.000000] Read dt_phys 80e5e000
[    0.000000] Read devtree c0e5e000
[    0.000000]
[    0.000000] Read dt_root 0xc0489028d00dfeed
[    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] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: earlyprintk panic=5 rootwait root=31:03 rw rootfstype=jffs2 init=/linuxrc console=ttyS0,115200
[    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: 27656k/27656k available, 5112k 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 - 0xc041efdc   (4188 kB)
[    0.000000]       .init : 0xc041f000 - 0xc043e0b4   ( 125 kB)
[    0.000000]       .data : 0xc0440000 - 0xc0471e60   ( 200 kB)
[    0.000000]        .bss : 0xc0471e60 - 0xc048ce48   ( 108 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.005448] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.075313] pid_max: default: 32768 minimum: 301
[    0.080529] Mount-cache hash table entries: 512
[    0.087329] CPU: Testing write buffer coherency: ok
[    0.093430] Setting up static identity map for 0xc02f97f8 - 0xc02f9850
[    0.104674] devtmpfs: initialized
[    0.111472] pinctrl core: initialized pinctrl subsystem
[    0.117401] NET: Registered protocol family 16
[    0.124291] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.132278] dump_class_init,821, success
[    0.144827] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.168921] No ATAGs?
[    0.184077] bio: create slab <bio-0> at 0
[    0.191868] SCSI subsystem initialized
[    0.196419] usbcore: registered new interface driver usbfs
[    0.202316] usbcore: registered new interface driver hub
[    0.208382] usbcore: registered new device driver usb
[    0.215103] Advanced Linux Sound Architecture Driver Initialized.
[    0.225403] cfg80211: Calling CRDA to update world regulatory domain
[    0.232528] [pm]aw_pm_init!
[    0.235730] [pm]aw_pm_valid!
[    0.238706] Notice: sunivw1p1 just support normal standby.
[    0.244369] [pm]aw_pm_valid!
[    0.247351] Notice: sunivw1p1 just support normal standby.
[    0.253575] Switching to clocksource suniv high-res couter
[    0.311709] codec_config
[    0.314522] (null).sta33x_pwrdn_gpio gpio=135,mul_sel=0,data:1
[    0.320626] codec_config: sta33x_pwrdn_gpio gpio num=135
[    0.326042] codec_request_gpio: test1
[    0.329857] codec_request_gpio: request gpio=135
[    0.334769] codec_request_gpio: L1167 Pin=1
[    0.339093] codec_request_gpio: request gpio(135) ok
[    0.360061] NET: Registered protocol family 2
[    0.368748] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.375979] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.382564] TCP: Hash tables configured (established 512 bind 512)
[    0.389294] TCP: reno registered
[    0.392678] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.398676] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.406018] NET: Registered protocol family 1
[    0.434271] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.441255] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.450114] msgmni has been set to 54
[    0.458841] io scheduler noop registered
[    0.463066] io scheduler deadline registered
[    0.467563] io scheduler cfq registered (default)
[    0.510190] sw_uart_request_gpio(753)
[    0.514027] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[    0.520414] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[    0.528464] console [ttyS0] enabled, bootconsole disabled
[    0.528464] console [ttyS0] enabled, bootconsole disabled
[    0.541870] sw_uart_request_gpio(753)
[    0.546012] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[    0.554693] misc dump reg init
[    0.564142] spi spi0: master is unqueued, this is deprecated
[    0.572740] NorFlash ID: 0xef4019 - 0x0
[    0.577087] m25p80 spi0.0: found w25q256, expected m25p64
[    0.583473] m25p80 spi0.0: w25q256 (32768 Kbytes)
[    0.602633] partitions_register()897 - Invalid partitions count: -1
[    0.609733] partition_register: enter
[    0.614881] Creating 4 MTD partitions on "(null)":
[    0.620392] 0x000000000000-0x000000080000 : "spl+uboot"
[    0.630359] 0x000000080000-0x0000002e0000 : "kernel"
[    0.639853] 0x0000002e0000-0x0000002f0000 : "script"
[    0.649175] 0x000000400000-0x000001000000 : "rootfs"
[    0.659712] usbcore: registered new interface driver usb-storage
[    0.667133] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.675269] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.688715] hub 1-0:1.0: USB hub found
[    0.693186] hub 1-0:1.0: 1 port detected
[    0.700286] support report repeat key value.
[    0.706120] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.714762] i2c /dev entries driver
[    0.721297] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.30 2015-10-10 10:03) Compiled in Apr 23 2018 at 21:07:18
[    0.734653] sunxi-mmc 1c0f000.sdmmc: Can't get vmmc regulator string
[    0.741837] sunxi-mmc 1c0f000.sdmmc: Can't get vqmmc regulator string
[    0.749032] sunxi-mmc 1c0f000.sdmmc: Can't get vdmmc regulator string
[    0.756292] sunxi-mmc 1c0f000.sdmmc: Failed getting OCR mask: 0
[    0.763849] sunxi-mmc 1c0f000.sdmmc: *******************set host ocr**************************
[    0.774305] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.799378] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.829663] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:110
[    0.836036] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.843903] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 52, RTO !!
[    0.850975] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.867653] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    0.876045]
[    0.876045] snd_soc_register_card failed -517
[    0.883896] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    0.893788] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    0.907644] TCP: cubic registered
[    0.911535] Initializing XFRM netlink socket
[    0.917599] NET: Registered protocol family 17
[    0.922685] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[    0.930186] VFP support v0.3:
[    0.933508] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.940523] not present
[    0.944249] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.952063] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.959758] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 5, RTO !!
[    0.966516] [LCD] lcd_module_init
[    0.971355] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.978433] $s-$dxlssc100
[    0.981563] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    0.988398] $s-$dxlssc100
[    0.991415] $s-$dxlssc100
[    0.995636] of_property_read_u32_array lcd0.lcd_bl_en_used fail
[    1.002333] [DISP WRN] file:drivers/video/sunxi/disp/de_bsp/de/disp_lcd.c,line:499:    lcd0.lcd_bl_en_used
[    1.023169] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.030875] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[    1.037698] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    1.050357] sunxi-mmc 1c0f000.sdmmc: smc 0 p0 err, cmd 1, RTO !!
[    1.057123] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    1.089261] $s-$dxlssc100
[    1.670152] BSP_disp_layer_set_para: fb_format=0x0, yuv_ch=0
[    1.683514] $s-$dxlssc100
[    1.687250] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    1.695602]
[    1.695602] snd_soc_register_card failed -517
[    1.702246] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    1.712255] input: gpio_keys.7 as /devices/soc.0/gpio_keys.7/input/input1
[    1.721131] sunxi-codec-machine-i2s sound.6: ASoC: CPU DAI (null) not registered
[    1.729496]
[    1.729496] snd_soc_register_card failed -517
[    1.736409] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.743680] ALSA device list:
[    1.746987]   No soundcards found.
[    1.751093] platform sound.6: Driver sunxi-codec-machine-i2s requests probe deferral
[    7.031519] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    7.056422] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    7.065690] devtmpfs: mounted
[    7.069984] Freeing unused kernel memory: 124K (c041f000 - c043e000)
start kernel end

Please press Enter to activate this console.
 >>>00:00 #demox
The framebuffer device was opened successfully.
480x272, 32bpp
The framebuffer device was mapped to memory successfully.

but as you see above there is no sound card.

[    1.743680] ALSA device list:
[    1.746987]   No soundcards found.

after that I tried this image you put here
https://whycan.cn/t_1522.html#p8073

sunxi-fel.exe -p spiflash-write 0 file.img

and i get this in loop in serial

U-Boot SPL 2018.01-05676-g0018878-dirty (Apr 19 2018 - 20:06:23)
DRAM: 32 MiB
Trying to boot from sunxi SPI
.
.
.
U-Boot SPL 2018.01-05676-g0018878-dirty (Apr 19 2018 - 20:06:23)
DRAM: 32 MiB
Trying to boot from sunxi SPI

what is your suggestion now?
thanks

最近编辑记录 Biftor (2019-12-16 16:39:27)

离线

楼主 #136 2019-12-16 16:50:50

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

那个 img 文件是全志sdk打包的,不能用sunxi-fel烧录,要用全志官方的烧录软件烧录。





离线

#137 2019-12-16 17:12:14

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

那个 img 文件是全志sdk打包的,不能用sunxi-fel烧录,要用全志官方的烧录软件烧录。

Do you mean PhoenixSuit ?

if yes then
I have tried
but it doesn't working
Just installed it from here https://whycan.cn/t_1522.html#p8073
short circuit pin 4 with GND
plug usb automatically started,
but it didn't get progress after 1 min it gives error
Untitled.jpg

离线

楼主 #138 2019-12-16 17:14:28

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

接上串口,看输出什么?





离线

#139 2019-12-16 17:22:32

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

接上串口,看输出什么?

nothing
it doesn't work.

it boot old bin file i burnt to it.

just stuck on here for a min and then error

Untitled_20191216-1720.jpg

离线

楼主 #140 2019-12-16 17:38:31

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

有几组串口都要试一下,或者打开 sys_comfig.fex 确认一下到底用哪组串口。





离线

#141 2019-12-16 18:28:36

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

有几组串口都要试一下,或者打开 sys_comfig.fex 确认一下到底用哪组串口。


the problem is not Serial port or serial tools.

the problem is burn the img to device .

离线

楼主 #142 2019-12-16 18:39:27

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

Biftor 说:

the problem is not Serial port or serial tools.

the problem is burn the img to device .

对,是这个问题,但是串口会显示更多错误信息。





离线

#143 2019-12-17 14:18:15

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

对,是这个问题,但是串口会显示更多错误信息。

Finally the PhoenixSuit worked and i have flashed this https://whycan.cn/t_1522.html#p8073 image, that you said

and again there is no lcd with this image too :-(

here is my flashing and boot log

https://whycan.cn/files/members/2525/serial_log_flash_startup.txt

also there is no sound driver with this image

[    1.672162] ALSA device list:
[    1.675575]   No soundcards found.

as what i said above in post number #135
https://whycan.cn/t_1014.html#p29941
that bin file,LCD worked well

最近编辑记录 Biftor (2019-12-17 14:20:42)

离线

#144 2019-12-18 08:22:02

notepad--
会员
注册时间: 2019-12-07
已发帖子: 24
积分: 24

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

有没有 /dev/fb0 设备节点?

那试一试:

cat /dev/urandom > /dev/fb0

离线

#145 2019-12-18 18:21:37

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

notepad-- 说:

有没有 /dev/fb0 设备节点?

那试一试:

cat /dev/urandom > /dev/fb0

it shows nothing after while error

/ # cat /dev/urandom > /dev/fb0
cat: write error: No space left on device

I have no idea why this one is working (i mentioned above this in this bin file, LCD working well)
https://whycan.cn/t_1008.html#p4839

is there anybody has its sources?

最近编辑记录 Biftor (2019-12-18 18:38:28)

离线

楼主 #146 2019-12-18 18:32:43

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

这就尴尬了, 我也忘记改了啥了.





离线

#147 2019-12-22 21:34:33

Biftor
会员
注册时间: 2019-11-28
已发帖子: 34
积分: 34

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

他可能后来删了:
git clone https://github.com/qq516333132/c600.git


这个是荔枝派很早以前分享的文件: f1c600.tar.bz2
md5: d7ba43ff533948d6cd0455cf6f742a10
crc32: 1fc536dd


is there any way to get this f1c600.tar.bz2 file?
the link is dead

离线

#148 2020-03-11 11:12:01

nufing
会员
注册时间: 2020-01-02
已发帖子: 92
积分: 81.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

想把调试串口,从 PE0 PE1 改为PA2 PA3 不知道怎么改

离线

#149 2020-03-24 15:29:42

nufing
会员
注册时间: 2020-01-02
已发帖子: 92
积分: 81.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

编译那个, linux 4 版本正常运行,

想编译这个, linux 3的版本,

提示如下错误,不知道怎么解决  ubuntu 版本是  18 64位的

Makefile:241: recipe for target 'autoconf.info' failed
make[3]: *** [autoconf.info] Error 1
make[3]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/doc'
Makefile:338: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65'
Makefile:653: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65'
package/Makefile.package.in:296: recipe for target '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed' failed
make: *** [/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed] Error 2
make: Leaving directory '/root/Documents/C600_Linux/buildroot'
ERROR: build buildroot Failed
root@ubuntu:~/Documents/C600_Linux# apt-get install-recursive
E: Invalid operation install-recursive
root@ubuntu:~/Documents/C600_Linux# apt-get install recursive
Reading package lists... Done
Building dependency tree       
Reading state information... Done

离线

#150 2020-05-02 13:44:24

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

nufing 说:

编译那个, linux 4 版本正常运行,

想编译这个, linux 3的版本,

提示如下错误,不知道怎么解决  ubuntu 版本是  18 64位的

Makefile:241: recipe for target 'autoconf.info' failed
make[3]: *** [autoconf.info] Error 1
make[3]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/doc'
Makefile:338: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65'
Makefile:653: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65'
package/Makefile.package.in:296: recipe for target '/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed' failed
make: *** [/root/Documents/C600_Linux/out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/.stamp_host_installed] Error 2
make: Leaving directory '/root/Documents/C600_Linux/buildroot'
ERROR: build buildroot Failed
root@ubuntu:~/Documents/C600_Linux# apt-get install-recursive
E: Invalid operation install-recursive
root@ubuntu:~/Documents/C600_Linux# apt-get install recursive
Reading package lists... Done
Building dependency tree       
Reading state information... Done

我遇到的也是这个问题,是啥原因。

离线

#151 2020-05-02 13:57:25

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

看提示应该是要安装autoconf这个工具





离线

#152 2020-05-02 14:39:22

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

QQ截图20200502144345.png
QQ截图20200502144306.png

终于编译完成了

out/sunivw1p1/linux/common/buildroot/build/host-autoconf-2.65/doc/autoconf.texi

这个文件按照网上的回答,前面加减号不管用,直接把后面的@c删除就好了,又一个坑

最近编辑记录 bubailong (2020-05-02 14:42:11)

离线

#153 2020-05-02 17:48:31

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:

那个问题后来解决了。
现在是用全志官方软件根本烧不进去,
换几台电脑都不行,
一开始能烧进去的 img 现在换了5台都不行。

https://whycan.cn/files/members/3/165923gsascz2dhd2tadmv.png

现在改用开源的 sunxi-fel, 一点问题都没有。
自己处理烧写地址问题.


晕哥,你这个问题怎么解决的
QQ截图20200502175320.png

离线

#154 2020-05-02 17:59:26

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,388
积分: 1902
个人网站

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

接调试串口看输出信息.





离线

#155 2020-05-02 20:34:52

bubailong
会员
注册时间: 2020-04-16
已发帖子: 104
积分: 74

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

beign to init dram
init dram ok dram_size = 64
--fas 1 run end---


U-Boot 2014.07 (Apr 07 2017 - 14:56:57) Allwinner Technology

uboot commit : b536a600941a03733bbba08d480dc3fbd57047bf

串口1只输出了这么多

离线

#156 2020-07-15 17:56:15

nufing
会员
注册时间: 2020-01-02
已发帖子: 92
积分: 81.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

哇酷小二 说:

接调试串口看输出信息.


sunivw1p1_linux_evb_uart0.img

我这编译生成的, 文件,有 30M, 烧不进 FLASH吧? FLASH只有 16M

离线

#157 2020-07-16 13:56:49

nufing
会员
注册时间: 2020-01-02
已发帖子: 92
积分: 81.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

1066950103 说:

晕哥我继续关注这教程 好久出一个撒? 那里面的硬解码有攻破么?

你搞掂好,硬件解码没有了?

离线

#158 2020-10-29 20:51:22

tang6397
会员
注册时间: 2020-06-27
已发帖子: 95
积分: 94.5

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

懇求一个 f1c100s licheepi  linux bsp lcd(800x480) 64M w25q128 SPI-NAND引导 有.config 的 u-boot 源码 (qt app)

离线

#159 2022-03-16 08:53:01

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

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

bubailong 说:

beign to init dram
init dram ok dram_size = 64
--fas 1 run end---


U-Boot 2014.07 (Apr 07 2017 - 14:56:57) Allwinner Technology

uboot commit : b536a600941a03733bbba08d480dc3fbd57047bf

串口1只输出了这么多

您好,镜像最终烧录进去了么?我也遇到了同样的问题。用串口0烧录没问题,但是修改了以下sys_confug.fex文件中的串口
然后烧录就成了这样,我用的是串口2

离线

#160 2024-04-11 11:24:02

rudy
会员
注册时间: 2024-04-09
已发帖子: 1
积分: 0

Re: 【1】step by step 编译全志 f1c100s 官方linux bsp

晕哥 说:
他可能后来删了:
git clone https://github.com/qq516333132/c600.git


这个是荔枝派很早以前分享的文件: f1c600.tar.bz2
md5: d7ba43ff533948d6cd0455cf6f742a10
crc32: 1fc536dd


为什么我用这个bsp里面编译好的sunivw1p1_linux_evb_uart0.img,自己也编译了一遍 ,烧录上去串口没有任何输出,好奇怪,板子确定是好的,用主线上的uboot正常

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn