dmesg
cat /proc/interrupts
cat /proc/meminfo
cat /proc/cpuinfo
top

bootz 0x10000000 0x12000000 0x11000000

fsck

mkdir -p /mnt/emmc1
mkdir -p /mnt/emmc2

mount /dev/mmcblk0p1 /mnt/emmc1/
mount /dev/mmcblk0p2 /mnt/emmc2/
mount -t nfs -o nolock,nfsvers=3,vers=3 192.168.40.41:/home/zhangyi/work/psoc_ltp/ltp-psoc /mnt/nfs
mount /dev/mmcblk0p2 /mnt

cd /mnt/emmc2/opt/ltp

sed -i 's/#msgctl11/msgctl11/g' ./runtest/syscalls

sed -i 's/fork13 -i 1000000/fork13 -i 100/g' ./runtest/syscalls

cat ./results/results-log-NB1708_FPGA_20181217-20181223
cat ./output/LTP_RUN_ON-screen-log-NB1708_FPGA_20181217-20181223.failed
cat ./output/LTP_RUN_ON-screen-log-NB1708_FPGA_20181217-20181223.tconf
cat ./output/screen-log-NB1708_FPGA_20181217-20181223

cat ./results/results-log-V20181018_1030-20181107_fcntl36_flock

./runltp -p -l results-log-V20181112_1115-20181115 -o screen-log-V20181112_1115-20181115
./runltp -p -l results-log-NB1708_FPGA_20181217-20181219 -o screen-log-NB1708_FPGA_20181217-20181219
./runltp -p -l results-log-NB1708_FPGA_20181217-20181222 -o screen-log-NB1708_FPGA_20181217-20181222
./runltp -p -l results-log-NB1708_FPGA_20181217-20181223 -o screen-log-NB1708_FPGA_20181217-20181223
./runltp -s fcntl36 -I 100 -p -l results-log-V20181018_1030-20181108_fcntl36_flock -o screen-log-V20181018_1030-20181108_fcntl36_flock

cd /mnt/ltp/testcases/bin
lrz -X fcntl36
./fcntl36

编译后运行有问题
./configure AR=arm-linux-gnueabihf-ar CC=arm-linux-gnueabihf-gcc RANLIB=arm-linux-gnueabihf-ranlib STRIP=arm-linux-gnueabihf-strip --host=arm-linux --target=arm-linux LDFLAGS=-pthread

需要绝对地址,以下可以正常运行
sudo ./configure AR=/opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ar CC=/opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc RANLIB=/opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-ranlib STRIP=/opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-strip --target=arm-linux --host=arm-linux LDFLAGS=-pthread

网络启动位流地址:
E:\Idyll\03_Work\32_PSOC\318_PSOC_formal\C-GMAC0-MIO-100M
劳德巴赫 20180929 使用linux-smp-sp.cmm 单核版本
linux-smp.cmm为多核版本

bootz 0x10000000 0x12000000 0x11000000

# down gmac speed to 100M
ifconfig eth0 up; ethtool -s eth0 advertise 0x008
udhcpc
ethtool eth0

##################################################################

# vi /etc/exports
/data/disk1/ *(async,insecure,no_root_squash,no_subtree_check,rw)

/data/disk1:与nfs服务客户端共享的目录,这个路径必须和你前面设置的文件的路径一致!

*:允许所有的网段访问,也可以使用具体的IP
rw:挂接此目录的客户端对该共享目录具有读写权限
async:资料同步写入内存和硬盘
no_root_squash:root用户具有对根目录的完全管理访问权限。
no_subtree_check:不检查父目录的权限。

4、重启rpcbind 服务

nfs是一个RPC程序,使用它前,需要映射好端口,通过rpcbind 设定。

# /etc/init.d/rpcbind restart

5、重启nfs服务

# /etc/init.d/nfs-kernel-server restart

6、挂载指令

# mount -t nfs 192.168.0.128:/data/disk1 /nfsdir
###################################################################

udhcpc
mkdir -p /mnt/nfs;
mount -t nfs -o nolock,nfsvers=3,vers=3 192.168.40.41:/home/zhangyi/work/psoc_ltp/ltp-ddt-fmxx-psoc/install_dir /mnt/nfs;
cd /mnt/nfs/opt/ltp;
ping 192.168.40.41
export PATH=/home/zhangyi/work/ltp-ddt-fmxx-psoc/install_dir/opt/ltp/testcases/bin:$PATH
export PATH=/mnt/nfs/opt/ltp/testcases/bin/ddt/common/:$PATH
export PATH=/mnt/nfs/opt/ltp/testcases/bin/:$PATH

./runltp -P fmxx-psoc-db -f ddt/eth_ping -p -l results-log-V20181112_1115-20181115 -o screen-log-V20181112_1115-20181115

./runltp -P fmxx-psoc-db -f fmxx/test

sudo rm -rf ./results/* ./output/*

vi ./platforms/fmxx-psoc-db-idyll
vi ./runtest/fmxx/test
vi  ./scenario_groups/default-ddt-fmxx
/mnt/nfs/opt/ltp/testcases/bin/ddt/common/common.sh

interface="eth0"; duplex="full";
ethtool -s $interface autoneg off;
ethtool -s $interface duplex $duplex;
final_duplex=`ethtool eth0|grep "Duplex:"|awk '/Duplex: /{ print $2 }'`;
ethtool -s $interface autoneg on;
echo "DUPLEX is $duplex and FINAL_DUPLEX is $final_duplex";

lrz -X common.sh
lrz -X st_log.sh

#canutils
PATH=/usr/sbin/out_canutils/bin:/usr/sbin/out_canutils/sbin:$PATH
/bin:/sbin:/usr/bin:/usr/sbin

bootz 0x10000000 0x12000000 0x11000000
mtd_utils
PATH=/usr/sbin/mtd_utils/sbin:$PATH
mv /install_dir/opt/ltp /opt
cd /opt/ltp

mtd_debug erase /dev/mtd0 0 33554432
flash_eraseall -q -j /dev/mtd0
mkdir /mnt/mtd0
mount -t jffs2 -o async /dev/mtdblock0 /mnt/mtd0

time dd if=/dev/urandom of=/home/srcfile bs=1M count=10
time dd if=/home/srcfile of=/mnt/mtd0/testfile bs=1M count=10
umount /mnt/mtd0

perf-nor
mtd_debug erase /dev/mtd0 0 33554432
flash_eraseall -q -j /dev/mtd0
mkdir -p /mnt/partition_nor
mount -t jffs2 -o async /dev/mtdblock0 /mnt/partition_nor

dd if=/dev/urandom of=/dev/shm/srctest_file_nor_pid bs=1M count=1
./testcases/bin/ddt/filesystem_tests -write -src_file /dev/shm/srctest_file_nor_pid -srcfile_size 1 -file /mnt/partition_nor/test_file_pid -buffer_size 256000 -file_size 4 -performance
rm -f /dev/shm/srctest_file_nor_pid
sync
umount /mnt/partition_nor
rm -rf /mnt/partition_nor
mkdir -p /mnt/partition_nor
mount -t jffs2 -o async /dev/mtdblock0 /mnt/partition_nor
./testcases/bin/ddt/filesystem_tests -read -file /mnt/partition_nor/test_file_pid -buffer_size 256000 -file_size 4 -performance

do_cmd "mkdir -p `dirname $SRC_FILE`"

iperf -c 192.168.40.41 -m -f M -d -t 60 -w 16K

mount -t nfs -o nolock,addr=192.168.40.41,nfsvers=3,vers=3 192.168.40.41':'/home/zhangyi/work/psoc_ltp/ltp_mnt /mnt

##############################
demo board

under uboot
setenv -f ethaddr 00:0a:35:00:01:26
saveenv

dhcp; setenv serverip 192.168.40.41;
tftpboot 0x10000000 /liu/zImage;
tftpboot 0x11000000 /liu/fmxx-ql-ai.dtb;
tftpboot 0x12000000 /zhangyi/u-rootfs;
bootz 0x10000000 0x12000000 0x11000000

udhcpc;
mkdir -p /mnt/nfs;
mount -t nfs -o nolock,nfsvers=3,vers=3 192.168.40.41:/home/zhangyi/work/psoc_ltp/ltp-ddt-fmxx-psoc/install_dir /mnt/nfs;
cd /mnt/nfs/opt/ltp;

./runltp -p -l results-log-demo-20190612 -o screen-log-demo-20190612

ps -o pid,args,psr #psr which cpu

###############################
sdcard demo board
udhcpc no command
su #root
dhclient

bootz to be continued的更多相关文章

  1. (数字IC)低功耗设计入门(八)——物理级低功耗设计&to be continued?

    前面学习了从系统级到门级的低功耗设计,现在简单地了解了一下物理级设计.由于物理级的低功耗设计与后端有关了,这里就不详细学习了.这里主要是学习了一些基本原则,在物理级,进行低功耗设计的基本原则是:    ...

  2. Continued Fractions CodeForces - 305B (java+高精 / 数学)

    A continued fraction of height n is a fraction of form . You are given two rational numbers, one is ...

  3. u-boot bootz 加载kernel 流程分析

    u-boot 加载 kernel 的流程分析. image重要结构体头文件 // include/image.h * * Legacy and FIT format headers used by d ...

  4. CF 305B——Continued Fractions——————【数学技巧】

    B. Continued Fractions time limit per test 2 seconds memory limit per test 256 megabytes input stand ...

  5. 2014-2015 ACM-ICPC East Central North America Regional Contest (ECNA 2014) A、Continued Fractions 【模拟连分数】

    任意门:http://codeforces.com/gym/100641/attachments Con + tin/(ued + Frac/tions) Time Limit: 3000/1000 ...

  6. HDU - 3556 - Continued Fraction

    先上题目: Continued Fraction Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Jav ...

  7. CSUOJ 1638 Continued Fraction

    1638: Continued Fraction Time Limit: 1 Sec  Memory Limit: 128 MB Description Input Output Sample Inp ...

  8. 那些年,我们一起追的面试题。。to be continued!!!

    1.什么是Java虚拟机?为什么Java被称作是“平台无关的编程语言”?答:Java虚拟机是一个可以执行Java字节码的虚拟机进程.Java源文件被编译成能被Java虚拟机执行的字节码文件.Java被 ...

  9. CRM 2011 Install Errors - Tips and Tricks continued(转)

    The more I get to install/upgrade to CRM 2011 in different environment the more I come across differ ...

随机推荐

  1. ng mvc + @Valid + @RequestBody 接收json同时校验javaBean的数据有效性

    @Valid @RequestBody CustomerDto customerBean @RequestMapping(value="/customerDataSync.do", ...

  2. visual studio 编译报错:未能向文件“....csproj.FileListAbsolute.txt”写入命令行,对路径的访问被拒绝

    在网上开始查找出错的解决方法,终于找到了,原来解决方法这么简单,当初以为是权限的问题,后来发现不是权限问题,在VSS中比以前多了两个目录“bin”和“obj”,可能是有人上传的时候将这两个文件夹一起上 ...

  3. php中substr_compare()区分大小写吗

    PHP substr_compare() 函数 定义和用法 substr_compare() 函数从指定的开始位置比较两个字符串. 提示:该函数是二进制安全且选择性地对大小写敏感(区分大小写). 语法 ...

  4. 【POJ2893&HDOJ6620】M × N Puzzle(n*m数码判定)

    题意:给定一个n*m的矩阵,其中不重复地填[0,n*m-1],问是否能通过有限步数将0移到右下角 n,m<=1e3 思路:结论题 当板子了 #include<bits/stdc++.h&g ...

  5. [IOI2018] meetings 会议

    https://www.luogu.org/problemnew/show/P5044 题解 这种关于最大值或者最小值的问题,可以往笛卡尔树的方面想. 先考虑一个朴素的\(dp\),设\(dp[l][ ...

  6. xpath进阶

    目标: 抓取页面列表信息,并且获取第四个单元格得指定属性 代码: import requests from lxml import etree resp = requests.get('http:// ...

  7. yum python mysql

    lrwxrwxrwx root root Jun : pyspark -> /etc/alternatives/pyspark lrwxrwxrwx root root Jul : python ...

  8. 使用eclipse制作war包方法 web项目打包到tomcat

    打开eclipse在左侧右击项目名选择“Export”   在导出画面点击 “Web”->“WAR file”点击“Next”   点击“Browse…”选择文件的导出位置,Target run ...

  9. 【ABAP系列】SAP LSWM处理时,网络中断,出现错误

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[ABAP系列]SAP LSWM处理时,网络中断 ...

  10. python的正则

    一.认识模块  什么是模块:一个模块就是一个包含了python定义和声明的文件,文件名就是加上.py的后缀,但其实import加载的模块分为四个通用类别 : 1.使用python编写的代码(.py文件 ...