申兴琭08009056

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056  发布于  2017-06-12 10:49:37
采纳率 0%
4个问答
10133

刚到手的3519板子,load出错

 
拿到3519的板子,板子uboot和文件系统都已经预先安装好,在自己的虚拟机上安装了交叉编译环境,arm-hi500-gcc和arm-600-gcc都装上了,然后安装了ssh和nfs挂载系统,安装玩sdk后,能够挂载上,也能够编译,想运行sample例子的venc,load3519v101的时候出现下面的问题,请问怎么解决~
/home/Hi3519V101_SDK_V1.0.1.0/mpp_big-little/ko # ./load3519v101 -a -sensor0 mn3
4220 -osmem 64

mmz_start: 0x84000000, mmz_size: 448M
rmmod: can't unload 'hi_acodec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_tlv320aic31': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_adec': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_aenc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ao': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ai': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_aio': unknown symbol in module, or unknown parameter
remove audio
rmmod: can't unload 'hi_pwm': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_ive': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_rc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_jpege': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_h264e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_h265e': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vedu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_chnl': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_venc': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hifb': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vou': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vpss': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_isp': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_viu': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_mipi': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_fisheye': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_vgs': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_region': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_tde': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_sys': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi3519v101_base': unknown symbol in module, or unknown parameter
rmmod: can't unload 'hi_osal': unknown symbol in module, or unknown parameter
Unable to handle kernel paging request at virtual address e12fff26
pgd = c2190000
[e12fff26] *pgd=00000000
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in: hi_osal(O+)
CPU: 1 PID: 280 Comm: insmod Tainted: G           O   3.18.20 #1
task: c2178400 ti: c2bce000 task.ti: c2bce000
PC is at internal_create_group+0x24/0x22c
LR is at sysfs_create_groups+0x48/0x8c
pc : []    lr : []    psr: a0000013
sp : c2bcfda8  ip : c04d0e0e  fp : bf00947c
r10: bf0094c4  r9 : bf009100  r8 : 00000000
r7 : bf002d6c  r6 : bf009100  r5 : bf002d6c  r4 : 00000000
r3 : 00000000  r2 : e12fff1e  r1 : 00000000  r0 : c2bf26e0
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 8219006a  DAC: 00000015

PC: 0xc012b994:
b994  0a000006 e5931000 e3a02000 e1a00005 ebfff7f4 e5b43004 e3530000 1afffff8
b9b4  e596400c e3540000 0a00000a e5943000 e3530000 08bd8070 e5931000 e3a02000
b9d4  e1a00005 ebfff7e7 e5b43004 e3530000 1afffff8 e8bd8070 e8bd8070 e92d4ff0
b9f4  e2509000 e24dd00c 0a00007c e3510000 e5990018 0a000077 e3500000 0a00007f
ba14  e5923008 e1a08002 e1a07001 e3530000 0a00005e e5981000 e3510000 0a000059
ba34  e3a02000 e1a03009 e58d2000 e30021ed ebfff711 e3700a01 e1a05000 8a000068
ba54  e1a00005 ebfff234 e5984008 e3540000 0a000030 e5943000 e3530000 0a00002d
ba74  e3a06000 e1a0a006 ea000016 e5983004 e3530000 0a000005 e1a02006 e5941000

LR: 0xc012be54:
be54  e8bd8070 e92d4070 e2514000 08bd8070 e5941000 e3510000 08bd8070 e1a05000
be74  e1a00005 ebffffd0 e5b41004 e3510000 1afffffa e8bd8070 e3510000 0a00001e
be94  e5912000 e3520000 0a00001b e92d41f0 e1a06000 e1a07001 e1a05001 e3a04000
beb4  ea000003 e5b52004 e2844001 e3520000 0a00000f e3a01000 e1a00006 ebfffec6
bed4  e2508000 0afffff6 e2545001 3a000006 e0874104 e2455001 e5341004 e1a00006
bef4  ebffffb1 e3750001 1afffff9 e1a00008 e8bd81f0 e3a00000 e8bd81f0 e3a00000
bf14  e12fff1e e92d4070 e1a04000 e59051f8 e1a00005 eb03231c e1a00005 ebfe7f1e
bf34  e1a00004 e8bd4070 eafe9c18 e1a02003 e30b3fd8 e34c3012 eafea202 e92d4070

SP: 0xc2bcfd28:
fd28  000000d0 80000000 20000013 00000000 bf00947c c01f5450 00000001 00001bda
fd48  c012ba14 a0000013 ffffffff c2bcfd94 00000000 c0012398 c2bf26e0 00000000
fd68  e12fff1e 00000000 00000000 bf002d6c bf009100 bf002d6c 00000000 bf009100
fd88  bf0094c4 bf00947c c04d0e0e c2bcfda8 c012bed4 c012ba14 a0000013 ffffffff
fda8  00001000 00000000 c0427180 00000000 bf002d6c bf009100 bf002d6c 00000000
fdc8  00000000 bf0094c4 bf00947c c012bed4 bf009100 bf0090f8 00000000 00000000
fde8  00000000 c024b8dc c2b9e580 c0050740 bf0090f8 bf009168 00000000 c059b720
fe08  c2bce000 bf00e000 00000000 c059b720 c215fb80 bf003058 c059b720 bf0035bc

IP: 0xc04d0d8e:
0d8c  64616f6c 20676e69 75646f6d 6120656c 6177796e 2e2e2e79 0000000a 646c6f68
0dac  00737265 6f4d6401 656c7564 696c2073 64656b6e 3a6e6920 00000000 25732520
0dcc  00000073 616c5b20 75207473 616f6c6e 3a646564 5d732520 00000000 6e696174
0dec  00000074 74696e69 657a6973 00000000 65726f63 657a6973 00000000 65766575
0e0c  0000746e 74696e69 74617473 00000065 63666572 0000746e 76637273 69737265
0e2c  00006e6f 204b7025 25206325 255b0973 000a5d73 204b7025 25206325 00000a73
0e4c  6c6c616b 736d7973 00000000 6c23252b 23252f78 0000786c 73255b20 0000005d
0e6c  6e72656b 632f6c65 756f7267 00632e70 6f726763 203a7075 6e697375 656c2067
0e8c  79636167 6c696620 6f207365 6874206e 65642065 6c756166 69682074 72617265

R0: 0xc2bf2660:
2660  12ab1780 00000000 00000000 c2bf26a0 c2816480 00000000 00000000 00000000
2680  c215f1c0 41ed0011 00001bd7 00000000 00000001 00000000 c2bf2640 c215fbc0
26a0  00000001 00000000 00000000 00000000 5499790f 00000000 c0427100 00000000
26c0  00000024 00000000 00000000 00000000 c215f208 81240212 00001bd8 00000000
26e0  00000003 00000000 c2829230 c215f100 c2898010 00000000 00000000 00000000
2700  58222cea 00000000 00000000 c2bf2740 c2816480 00000000 00000000 00000000
2720  bf009100 41ed0011 00001bd9 00000000 00000001 00000000 c2bf26e0 c04d0e08
2740  00000001 00000000 00000000 00000000 57c6bb9d 00000000 c0427180 00000000

R2: 0xe12ffe9e:
fe9c  ******** ******** ******** ******** ******** ******** ******** ********
febc  ******** ******** ******** ******** ******** ******** ******** ********
fedc  ******** ******** ******** ******** ******** ******** ******** ********
fefc  ******** ******** ******** ******** ******** ******** ******** ********
ff1c  ******** ******** ******** ******** ******** ******** ******** ********
ff3c  ******** ******** ******** ******** ******** ******** ******** ********
ff5c  ******** ******** ******** ******** ******** ******** ******** ********
ff7c  ******** ******** ******** ******** ******** ******** ******** ********
ff9c  ******** ******** ******** ******** ******** ******** ******** ********
Process insmod (pid: 280, stack limit = 0xc2bce238)
Stack: (0xc2bcfda8 to 0xc2bd0000)
fda0:                   00001000 00000000 c0427180 00000000 bf002d6c bf009100
fdc0: bf002d6c 00000000 00000000 bf0094c4 bf00947c c012bed4 bf009100 bf0090f8
fde0: 00000000 00000000 00000000 c024b8dc c2b9e580 c0050740 bf0090f8 bf009168
fe00: 00000000 c059b720 c2bce000 bf00e000 00000000 c059b720 c215fb80 bf003058
fe20: c059b720 bf0035bc bf00e000 bf001434 c059b720 bf00e018 c059b720 c00088d0
fe40: 00000001 00000001 c0591080 c05c0bc0 029ca000 00000000 00000000 c05c0bc0
fe60: 20000013 c00969bc 00000001 00000001 0000001e 00000019 c215fb80 c486b000
fe80: 00000019 c215fb80 c486b000 00000001 00000001 c2bcff58 00000001 bf009488
fea0: c215f200 00000001 c215f224 c0085298 bf009488 00007fff c00829ac 0000065f
fec0: 00000000 c2bcff58 bf009488 c2bce030 bf009488 00000000 c2bcfef4 000005c9
fee0: c215fb80 000002d2 ffffffff 000000d2 00000010 bf005f18 000000b1 00000000
ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff20: 00000000 00000000 00000000 00000000 c000e624 00018f48 b6e5c008 000f4008
ff40: 00000080 c000e624 c2bce000 00000000 00000000 c0085ab8 c486b000 00018f48
ff60: c4883868 c4874da9 c487abe8 000096fc 0000af6c 00000000 00000000 00000000
ff80: 0000002a 0000002b 00000021 00000000 00000013 00000000 bed11ece 000f4008
ffa0: b6e5c008 c000e4a0 bed11ece 000f4008 b6e5c008 00018f48 000f4008 00000000
ffc0: bed11ece 000f4008 b6e5c008 00000080 00000000 bed11dd4 00000077 00000000
ffe0: b6e835e4 bed11b8c 0002f74c b6e835f4 a0000010 b6e5c008 00000000 00000000
[] (internal_create_group) from [] (sysfs_create_groups+0x48/0x8c)
[] (sysfs_create_groups) from [] (device_add+0x3c0/0x53c)
[] (device_add) from [] (himedia_bus_init+0x10/0x48 [hi_osal])
[] (himedia_bus_init [hi_osal]) from [] (himedia_init+0xc/0x70 [hi_osal])
[] (himedia_init [hi_osal]) from [] (osal_init+0x18/0x38 [hi_osal])
[] (osal_init [hi_osal]) from [] (do_one_initcall+0x8c/0x1c8)
[] (do_one_initcall) from [] (load_module+0x1740/0x1e88)
[] (load_module) from [] (SyS_init_module+0xd8/0xec)
[] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x38)
Code: e5990018 0a000077 e3500000 0a00007f (e5923008)
---[ end trace 7c11316fa846ad94 ]---
Segmentation fault
******* Error: There's something wrong, please check! *****


请问我是不是有什么步骤忘记做了,还是有什么其他设置没有设置好,说明文档正在找,希望在论坛里解决快一点~
我来回答
回答21个
时间排序
认可量排序

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 10:51:24
认可0
./load3519v101 -a -sensor0 mn34220 -osmem 64

黄色有点看不清

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 11:04:52
认可0
makefile是编译,链接的话应该就是这个脚本吧,,,,

zuoxf

0个粉丝

1

问答

0

专栏

0

资料

zuoxf 2017-06-12 13:01:14
认可0
配置文件  包含的 驱动 代码包 ,路径是不是错误? 提示不能加载  那么多的文件。

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 13:39:58
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52684&ptid=16866]zuoxf 发表于 2017-6-12 13:01[/url]
配置文件  包含的 驱动 代码包 ,路径是不是错误? 提示不能加载  那么多的文件。[/quote]

路径不应该在load脚本里吗,mpp整个文件夹也没动它,按说应该都在里面的啊,还有什么步骤没做?我看看脚本怎么写的

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 15:31:34
认可0
4、运行MPP业务
    # 在单板linux系统下,进入mpp/ko目录,加载驱动
    cd mpp_xxx/ko
    # default online
    ./load3519v101 -a -sensor0 mn34220 -osmem 64
    Hi3519V101在online模式下只支持一个sensor。
       
    # vi_vpss offline
    ./load3519v101 -a -sensor0 mn34220 -sensor1 ov4689 -osmem 64 -offline -workmode double_pipe
    Hi3519V101在offline模式支持两个sensor输入。分别由-sensor0和-sensor1指定所使用的sensor型号。如果只使

用一个sensor,可以只指定-sensor0或-sensor1其中一个,另外一个不需要指定。
    -workmode选项表示两个VI设备的工作模式,可以选择stitching、double_pipe或single_pipe,double_pipe表示

两个VI设备处于double_pipe拍照模式,stitching表示两个VI设备处于双路拼接模式,
    single_pipe表示两个VI设备单独工作。默认为single_pipe模式。

    # 进入各sample目录下执行相应样例程序(sample需要先在服务器上成功编译过)
    cd mpp_xxx/sample/vio
    ./sample_vio 0 1
这是Hi3519V101SDK安装及升级使用说明上的~

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-06-12 16:41:28
认可0
内存大小是不是对的?
-osmem 64
mmz_size: 448M

你的总内存是512吗?

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 16:45:47
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52708&ptid=16866]wahuqeir 发表于 2017-6-12 16:41[/url]
内存大小是不是对的?
-osmem 64
mmz_size: 448M
[/quote]

应该不是,改mmz_size吗?

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-06-12 17:04:29
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52709&ptid=16866]申兴琭08009056 发表于 2017-6-12 16:45[/url]
应该不是,改mmz_size吗?[/quote]

load3519V101 中有一个mem_total
----这个是总大小

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 17:05:13
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52708&ptid=16866]wahuqeir 发表于 2017-6-12 16:41[/url]
内存大小是不是对的?
-osmem 64
mmz_size: 448M
[/quote]

总内存在哪看,按说明文档中的按128M的总内存来设置,还是不行,感觉有些东西写不下啊(内存地址都有c开头的,我这边从0x80000000开始写的),难到没人遇见这样的问题,我uboot,内核和文件系统都是用的开发板带的,难道都要重新烧一遍。。。。
IP: 0xc04d0d8e:
0d8c  64616f6c 20676e69 75646f6d 6120656c 6177796e 2e2e2e79 0000000a 646c6f68
0dac  00737265 6f4d6401 656c7564 696c2073 64656b6e 3a6e6920 00000000 25732520
0dcc  00000073 616c5b20 75207473 616f6c6e 3a646564 5d732520 00000000 6e696174
0dec  00000074 74696e69 657a6973 00000000 65726f63 657a6973 00000000 65766575
0e0c  0000746e 74696e69 74617473 00000065 63666572 0000746e 76637273 69737265
0e2c  00006e6f 204b7025 25206325 255b0973 000a5d73 204b7025 25206325 00000a73
0e4c  6c6c616b 736d7973 00000000 6c23252b 23252f78 0000786c 73255b20 0000005d
0e6c  6e72656b 632f6c65 756f7267 00632e70 6f726763 203a7075 6e697375 656c2067
0e8c  79636167 6c696620 6f207365 6874206e 65642065 6c756166 69682074 72617265
这些是什么意思啊,谢谢了

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-06-12 17:14:12
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52714&ptid=16866]申兴琭08009056 发表于 2017-6-12 17:05[/url]
总内存在哪看,按说明文档中的按128M的总内存来设置,还是不行,感觉有些东西写不下啊(内存地址都有c开 ...[/quote]

你的是还是demo板,还是自己lay的板?
----如果是demo板,直接跑海思的应该没什么问题!
----如果是你们自己lay的板,内存大小还是你们自己比较清楚吧!

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-06-12 17:24:53
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52714&ptid=16866]申兴琭08009056 发表于 2017-6-12 17:05[/url]
总内存在哪看,按说明文档中的按128M的总内存来设置,还是不行,感觉有些东西写不下啊(内存地址都有c开 ...[/quote]

mem_total=512;              # 512M, total mem  (总内存)
mem_start=0x80000000;       # phy mem start (内存开始地址)

os_mem_size=64;             # 64M, os mem  (OS 内存大小)
mmz_start=0x84000000;       # mmz start addr (MMZ 内存起始地址,0x80000000 + 64x1024x1024 (十六进制))
mmz_size=448M;              # 128M, mmz size (MMZ 内存大小)
os_mem_size + mmz_size <= mem_total

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 17:36:05
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52715&ptid=16866]wahuqeir 发表于 2017-6-12 17:14[/url]
你的是还是demo板,还是自己lay的板?
----如果是demo板,直接跑海思的应该没什么问题!
----如果是你 ...[/quote]

是demo板,我看了下uboot信息,好像有关的样子,能看出来吗?
恩,说的对,脚本里也是这样写的
System startup


U-Boot 2010.06 (Nov 30 2016 - 19:59:33)

Check Flash Memory Controller v100 ... Found
SPI Nor(cs 0) ID: 0xc2 0x20 0x19
Block:64KB Chip:32MB Name:"MX25L(256/257)XX"
SPI Nor total size: 32MB
MMC:   
EMMC/MMC/SD controller initialization.
Card did not respond to voltage select!
No EMMC/MMC/SD device found !
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
32768 KiB hi_fmc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.18.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3089181 Bytes = 2.9 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.18.20 (pub@BVT-SDK-SERVER1) (gcc version 4.9.4 20150629 (prerelease) (Hisilicon_v500_20150831) ) #1 SMP Wed Nov 30 20:00:41 HKT 2016
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Hisilicon HI3519V101 DEMO Board
cmz zone is not set!
cma: Reserved 16 MiB at 0x83000000
Memory policy: Data cache writealloc
PERCPU: Embedded 9 pages/cpu @c2f4e000 s7424 r8192 d21248 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mem=64M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),3M(kernel),28M(rootfs)
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 42160K/65536K available (4315K kernel code, 198K rwdata, 1128K rodata, 220K init, 338K bss, 23376K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0558f88   (5444 kB)
      .init : 0xc0559000 - 0xc0590000   ( 220 kB)
      .data : 0xc0590000 - 0xc05c1ac0   ( 199 kB)
       .bss : 0xc05c1ac0 - 0xc061657c   ( 339 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 24.00MHz (phys).
sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
Switching to timer-based delay loop, resolution 41ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x8041efa0 - 0x8041eff8
ARM CCI driver probed
CPU1: Booted secondary processor
CPU1: thread -1, cpu 0, socket 1, mpidr 80000100
Brought up 2 CPUs
SMP: Total of 2 processors activated (96.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
Serial: AMBA PL011 UART driver
12100000.uart: ttyAMA0 at MMIO 0x12100000 (irq = 36, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 12120000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12120000.spi: mapped registers from 0x12120000 to fea20000
ssp-pl022 12121000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12121000.spi: mapped registers from 0x12121000 to fea21000
ssp-pl022 12122000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12122000.spi: mapped registers from 0x12122000 to fea22000
ssp-pl022 12123000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 12123000.spi: mapped registers from 0x12123000 to fea23000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
futex hash table entries: 512 (order: 3, 32768 bytes)
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 82
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
pl061_gpio 12140000.gpio_chip: PL061 GPIO chip @0x12140000 registered
pl061_gpio 12141000.gpio_chip: PL061 GPIO chip @0x12141000 registered
pl061_gpio 12142000.gpio_chip: PL061 GPIO chip @0x12142000 registered
pl061_gpio 12143000.gpio_chip: PL061 GPIO chip @0x12143000 registered
pl061_gpio 12144000.gpio_chip: PL061 GPIO chip @0x12144000 registered
pl061_gpio 12145000.gpio_chip: PL061 GPIO chip @0x12145000 registered
pl061_gpio 12146000.gpio_chip: PL061 GPIO chip @0x12146000 registered
pl061_gpio 12147000.gpio_chip: PL061 GPIO chip @0x12147000 registered
pl061_gpio 12148000.gpio_chip: PL061 GPIO chip @0x12148000 registered
pl061_gpio 12149000.gpio_chip: PL061 GPIO chip @0x12149000 registered
pl061_gpio 1214a000.gpio_chip: PL061 GPIO chip @0x1214a000 registered
pl061_gpio 1214b000.gpio_chip: PL061 GPIO chip @0x1214b000 registered
pl061_gpio 1214c000.gpio_chip: PL061 GPIO chip @0x1214c000 registered
pl061_gpio 1214d000.gpio_chip: PL061 GPIO chip @0x1214d000 registered
pl061_gpio 1214e000.gpio_chip: PL061 GPIO chip @0x1214e000 registered
pl061_gpio 12150000.gpio_chip: PL061 GPIO chip @0x12150000 registered
brd: module loaded
hisi-sfc hisi_spi_nor.0: all blocks is unlocked.
hisi-sfc hisi_spi_nor.0: mx25l25635f (32768 Kbytes)
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000002000000 : "rootfs"
SPI Nand ID Table Version 2.2
Cannot found a valid SPI Nand Device
libphy: hisi_gemac_mii_bus: probed
(unnamed net_device) (uninitialized): using random MAC address d6:f2:ad:03:b3:f5
attached PHY 1 to driver Generic PHY, PHY_ID=0x1cc916
higmac: ETH MAC supporte CCI.
Higmac dma_sg_phy: 0x82ac0000
ETH: rgmii, phy_addr=1
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 1
xhci-hcd 10180000.xhci: irq 54, io mem 0x10180000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 10180000.xhci: xHCI Host Controller
xhci-hcd 10180000.xhci: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform: EHCI generic platform driver
ehci-platform 10120000.ehci: EHCI Host Controller
ehci-platform 10120000.ehci: new USB bus registered, assigned bus number 3
ehci-platform 10120000.ehci: irq 51, io mem 0x10120000
ehci-platform 10120000.ehci: USB 2.0 started, EHCI 1.00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform: OHCI generic platform driver
ohci-platform 10110000.ohci: Generic Platform OHCI controller
ohci-platform 10110000.ohci: new USB bus registered, assigned bus number 4
ohci-platform 10110000.ohci: irq 52, io mem 0x10110000
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
hisi-i2c-v110 12110000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12110000.i2c: mapped registers from 0x12110000 to 0xfea10000
hisi-i2c-v110 12111000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12111000.i2c: mapped registers from 0x12111000 to 0xfea11000
hisi-i2c-v110 12112000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12112000.i2c: mapped registers from 0x12112000 to 0xfea12000
hisi-i2c-v110 12113000.i2c: HISILICON I2C V110 bus driver
hisi-i2c-v110 12113000.i2c: mapped registers from 0x12113000 to 0xfea13000
CPUidle for CPU1 registered
himci: mmc host probe
himci: mmc host probe
himci: mmc host probe
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
NET: Registered protocol family 17
Registering SWP/SWPB emulation handler
VFS: Mounted root (jffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing unused kernel memory: 220K (c0559000 - c0590000)
random: init urandom read with 0 bits of entropy available

            _ _ _ _ _ _ _ _ _ _ _ _
            \  _  _   _  _ _ ___
            / /__/ \ |_/
           / __   /  -  _ ___
          / /  / /  / /
  _ _ _ _/ /  /  \_/  \_ ______
___________\___\__________________

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-12 17:44:01
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52720&ptid=16866]wahuqeir 发表于 2017-6-12 17:24[/url]
mem_total=512;              # 512M, total mem  (总内存)
mem_start=0x80000000;       # phy mem sta ...[/quote]

谢谢兄弟了,看的出来你是手打的。
脚本里设置也有:
SNS_TYPE0=mn34220;              # sensor type
SNS_TYPE1=NULL;                 # sensor type
WORK_MODE=single_pipe;          #stitching,single_pipe,double_pipe

mem_total=512;              # 512M, total mem
mem_start=0x80000000;       # phy mem start

os_mem_size=64;             # 64M, os mem
mmz_start=0x84000000;       # mmz start addr
mmz_size=448;              # 128M, mmz size
还是没解决,我再想想办法

wahuqeir

0个粉丝

1

问答

0

专栏

1

资料

wahuqeir 2017-06-12 18:01:10
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52726&ptid=16866]申兴琭08009056 发表于 2017-6-12 17:44[/url]
谢谢兄弟了,看的出来你是手打的。
脚本里设置也有:
SNS_TYPE0=mn34220;              # sensor type
...[/quote]

还有一个办法,你按照load3519V101 里面,一步一步的执行

zuoxf

0个粉丝

1

问答

0

专栏

0

资料

zuoxf 2017-06-12 22:35:37
认可0
建议你还是从 头文件 库 驱动方面看看, 没有加载到 当前项目。demo 板子应该有能跑的例子程序啊,如果例子都不能跑起来,在仔细过一遍,所有步骤重新来。

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2017-06-13 08:01:11
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52726&ptid=16866]申兴琭08009056 发表于 2017-6-12 17:44[/url]
谢谢兄弟了,看的出来你是手打的。
脚本里设置也有:
SNS_TYPE0=mn34220;              # sensor type
...[/quote]

板子进入linux后,进入有mmz.ko的目录

输入下面命令
insmod mmz.ko mmz=anonymous,0,0x84000000,448M anony=1 || report_error

看看是否正确

另外,楼主脚本里面
“mmz_size=448;              # 128M, mmz size”
是不是应该是448M?

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-13 10:39:47
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52740&ptid=16866]zuoxf 发表于 2017-6-12 22:35[/url]
建议你还是从 头文件 库 驱动方面看看, 没有加载到 当前项目。demo 板子应该有能跑的例子程序啊,如果例子 ...[/quote]

找店家换了Hi3519 V101R001C02SPC020就好了,管家买的时候给我的sdk是Hi3519 V101R001C02SPC021,我看了下load脚本文件,基本一样,还是不知道是什么原因,待我问下他c20和c21的区别吧

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-13 10:50:41
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52746&ptid=16866]zhuangweiye 发表于 2017-6-13 08:01[/url]
板子进入linux后,进入有mmz.ko的目录

输入下面命令
[/quote]

3519里没找到,内核里有个mmz文件夹,那个应该不是吧,看下是哪个类似的,

找店家换了sdk sample能跑了。但是还是没找到原因

申兴琭08009056

0个粉丝

4

问答

0

专栏

0

资料

申兴琭08009056 2017-06-13 10:52:24
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=52746&ptid=16866]zhuangweiye 发表于 2017-6-13 08:01[/url]
板子进入linux后,进入有mmz.ko的目录

输入下面命令
[/quote]

恩,是448M,不过改了还是不行,笔误笔误

qn1568622017

0个粉丝

1

问答

0

专栏

0

资料

qn1568622017 2019-11-25 14:20:06
认可0
:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@:@
加载中···
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区