您尚未登录。

#1 全志 SOC » PhoenixSuit1.06 烧不了固件了。 » 2023-08-31 15:16:39

chendong
回复: 0

换了台电脑win11 64位的,PhoenixSuit1.06 发现不了v3s了,一直显示未连接,看了看驱动和旧电脑对比,都装好了啊。就是发现了设备。这咋回事了,哪位知道,谢谢。

#2 Re: 全志 SOC » v3s i2c 传输一个大数组失败 » 2023-05-28 00:14:23

王小彬 说:

内核有没有限制我也不清楚,但是可以提供一点建议帮助您排查:

1. 是否有逻辑分析仪,抓个波形,解析一下,看是否每次都是在同一个位置 stop 失败?
2. 能否将数据分包多次发送,看是否可以改善?

都是在那个大数组那个失败,有时候也能过去,失败居多。分包我也试过好像不行,分包第一个包要有寄存器地址和起始信号,但是不能有结束信号,后面的包不能有开始信号。这个咋设置

#3 全志 SOC » v3s i2c 传输一个大数组失败 » 2023-05-27 20:23:56

chendong
回复: 2

大家好,我对一个芯片传输数据,好像数组一大就就报错,数组有9000多字节,传输就报这个错误:[    9.063047] twi_stop()483 - [i2c1] i2c state isn't idle(0xf8)
[    9.069504] sunxi_i2c_core_process()845 - [i2c1] STOP failed!
[    9.076040] sunxi_i2c_do_xfer()998 - [i2c1] incomplete xfer (status: 0x38, dev addr: 0x3b)
[    9.085342] ##### i2c_transfer addr  0xc000 , ret -70

难道内核对数据大小做了限制?有什么方法解决吗,谢谢。

#4 全志 SOC » PhoenixSuit1.06 烧不了固件了。 » 2023-05-19 23:27:45

chendong
回复: 0

换了台电脑win11 63位的,PhoenixSuit1.06 发现不了v3s了,看了看驱动和旧电脑对比,都装好了啊。就是发现了设备。这咋回事了,哪位知道,谢谢。

#5 全志 SOC » v3s ftp 不能覆盖 » 2020-10-13 22:36:25

chendong
回复: 0

v3s linux 移植了一个vsftp 上去,能上传,能删除,就是不能覆盖。一直没找到在哪里配置,哪位大侠有经验请赐教一下。谢谢。

#6 全志 SOC » v3s lradc » 2020-08-18 10:34:36

chendong
回复: 0

大家好,现在想用lradc,来采集一个可变电阻器的值,用的不是主线,用的全志那套东西。有谁知道在sys_config.fex 如何添加这个功能吗?谢谢

#7 全志 SOC » v3s哪里买 » 2020-05-19 10:29:47

chendong
回复: 0

大家v3s都哪里买,淘宝什么价都有。有靠谱厂家没有?

#8 Re: 全志 SOC » 关于CPU 占有率 » 2020-05-12 12:54:37

直接 top命令看。

ntmusic 说:

CPU占用率,是怎么计算出来的,以什么为标准呢?CPU利用率和占用率,是一个概念吗

#9 Re: 全志 SOC » 关于CPU 占有率 » 2020-05-10 23:05:48

pajoke 说:

单线程跑100%很正常。

跑100%有点夸张吧,总的让出点来给其他用,比如串口,485 什么的。

#10 全志 SOC » 关于CPU 占有率 » 2020-05-10 15:59:04

chendong
回复: 9

大家好,大家认为cpu使用率在多少比较合适,现在运行了一些计算的东西,CPU 使用率长时间在70% 的使用率,有没有什么影响,是不是太高了,一般多少算合适。谢谢。

#11 全志 SOC » v3s 网卡不通 » 2020-05-09 11:34:19

chendong
回复: 4

自己画了一版V3S板子,能正常启动,网卡怎么滴都不通。这网络四根线出来接个RJ45 头就完事了。怎么死活不行呢。哪位大侠说说啥情况,谢谢。

#12 Re: 全志 SOC » V3s Linux 应用程序跑了7个小时挂了, 请大家帮我把把脉. » 2020-05-07 08:10:02

这个只能一步一步屏蔽掉代码,看到哪里不增长了。就是费时间。肯定能找出来。

#13 全志 SOC » v3s spi 启动卡住了 » 2020-05-06 21:51:27

chendong
回复: 1

自己画了块v3s的板子,spi 启动,到这卡住不走了。有哪位碰到吗?

U-Boot 2011.09-rc1 (Apr 25 2020 - 19:55:58) Allwinner Technology

[      0.505]version: 1.1.0
[      0.508]uboot commit : 8
[      0.514]pmbus:   ready
not set main pmu id
axp_probe error
[      0.520]PMU: pll1 408 Mhz,PLL6=600 Mhz
AXI=204 Mhz,AHB=204 Mhz, APB1=102 Mhz
set power on vol to default
dcdc2_vol = 1200
axp set dcdc2_vol to 1200 failed
dcdc3_vol = 3300
axp set dcdc3_vol to 3300 failed
aldo2_vol = 2500
axp set aldo2_vol to 2500 failed
aldo3_vol = 3000
axp set aldo3_vol to 3000 failed
ldo1_vol = 3300
axp set ldo1_vol to 3300 failed
ldo2_vol = 3000
axp set ldo2_vol to 3000 failed
ldo3_vol = 3000
axp set ldo3_vol to 3000 failed
find power_sply to end
vbus exist
no battery, limit to dc
no key input
dram_para_set start
dram_para_set end
[      0.651]DRAM:  64 MiB
relocation Offset is: 0309c000

#14 全志 SOC » 关于gcc 的几个问题 » 2020-04-28 17:21:34

chendong
回复: 1

关于gcc库的几个问,一直这个问题没整明白,哪位高人指导一下。
比如的编译器的路径在:
COLLECT_GCC=arm-poky-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/fsl-imx-x11/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/lto-wrapper
Target: arm-poky-linux-gnueabi。

我现在移植一个libmad 的库,进去之后
./configure --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr
这个target, host 这个指定对不对,
这个--prefix=/usr 这个/usr是宿主机的usr,还是编译器里面的usr。这个路径怎么确定。
多谢。

#15 全志 SOC » V3S 串口问题 » 2020-04-22 19:49:25

chendong
回复: 2

V3S串口接一个STC 单片机的串口,只要单片机这边发过来的最地位是1,v3s 接收就会多出一个0xff 字节来,但是单片机直接接到电脑串口上又显示正常,这什么鬼,和v3s 不搭,接以前的ARM9 也没问题。V3S 接收来自电脑串口的信息都对。哪位碰到过。多谢。

#17 Re: 全志 SOC » 请教大家一个问题,全志linux主线uart驱动里面控制一个io脚实现rs485功能,应该如何修改? » 2020-04-21 22:41:14

有梦的地方 说:

请教新唐如何做的?

我原来就是用新塘972 的,用这个模式方法在新塘里面是可以实现485 的。但是这个添加ioctl 之后调试串口输入会有影响,TAB键显不全,删除键不管用,回车键会多出一行空白的来。在新塘那边这么用没事。

#18 Re: 全志 SOC » 请教大家一个问题,全志linux主线uart驱动里面控制一个io脚实现rs485功能,应该如何修改? » 2020-04-21 17:39:08

路人甲 说:

根据楼上这篇文章彻底解决了驱动中gpio控制RS485方向控制问题:

serial8250_tx_chars() 函数中执行 __stop_tx(up) 之后:

                //等待发送完成
                while (port->ops->tx_empty(port) != TIOCSER_TEMT)
                {
                    ;
                }

                gpio_set_value(133, 0);//拉低PE5, 进入接收状态

我这样用调试串口的终端输入有点问题,回车多一行空白,删除键不灵,TAB 键显示不全。

#19 Re: 全志 SOC » v3s 串口做485 » 2020-04-21 16:54:19

smartcar 说:

app控制gpio?

没有啊,驱动自己控制啊。发送完就拉低485控制管脚。

#20 Re: 全志 SOC » v3s 串口做485 » 2020-04-21 16:44:43

smartcar 说:

要实现驱动自动控制gpio收发吗?

平时485 控制信号为低,发送拉高就行了,发送完再拉低。现在就是知道增加一个ioctl 函数怎么会影响调试串口的输入了。

#21 全志 SOC » v3s 串口做485 » 2020-04-21 16:39:17

chendong
回复: 5

大家拿串口485 一般都是怎么实现的,我是在内核串口驱动里面增加了一个.ioctl = serial_rs485_ioctl, 函数接口,然后应用程序里   
       rs485conf.flags = SER_RS485_ENABLED;
       rs485conf.delay_rts_after_send = 1000;
       rs485conf.delay_rts_before_send = 1000;
       ioctl(fd, TIOCSRS485, &rs485conf);
来开启串口的485 功能。功能到是能开启,但是发现会影响调试串口的输入,TAB 键不好使了,删除键也变了,进入这个函数打印发现每次调试串口终端输入都会有这些命令:
[   17.808074] serial_rs485_ioctl1053 - ######### port_line 0,  cmd 0x5401
[   17.817046] serial_rs485_ioctl1053 - ######### port_line 0,  cmd 0x5401
[   17.825895] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5401
[   17.835216] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x540b
[   17.854681] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5401
[   17.863585] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5401
[   17.887645] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5401
[   17.896773] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5402
[   17.907343] serial_rs485_ioctl()1053 - ######### port_line 0,  cmd 0x5401
经查这个些命令的是这个意思
#define TCGETS        0x5401
#define TCSETS        0x5402
#define TCSETSW        0x5403
#define TCSETSF        0x5404
#define TCGETA        0x5405
#define TCSETA        0x5406
#define TCSETAW        0x5407
#define TCSETAF        0x5408
#define TCSBRK        0x5409
#define TCXONC        0x540A
#define TCFLSH        0x540B
#define TIOCEXCL    0x540C
#define TIOCNXCL    0x540D
#define TIOCSCTTY    0x540E
#define TIOCGPGRP    0x540F
#define TIOCSPGRP    0x5410
#define TIOCOUTQ    0x5411
#define TIOCSTI        0x5412
#define TIOCGWINSZ    0x5413
#define TIOCSWINSZ    0x5414
#define TIOCMGET    0x5415
#define TIOCMBIS    0x5416
#define TIOCMBIC    0x5417
#define TIOCMSET    0x5418
哪位有什么好的解决方法,多谢。

#22 Re: 全志 SOC » v3s 串口2 不能收 » 2020-04-21 16:27:22

smartcar 说:

怎么配置的?

就是程序设置那些波特率,奇偶校验什么的。

#23 Re: 全志 SOC » v3s 串口2 不能收 » 2020-04-21 14:37:19

正常了,在ARM9 上的串口配置是可以用,到这不行了,重新配置了一下。

#24 Re: 全志 SOC » v3s 串口2 不能收 » 2020-04-21 14:32:51

smartcar 说:

linux4.13 我三个串口都正常

我是3.4的,调试串口正常,按理说都是一个驱动,不能够啊。

#25 Re: 全志 SOC » v3s 串口2 不能收 » 2020-04-21 14:20:12

smartcar 说:

代码有问题吧

应该没有问题,代码是ARM 9 上运行是正常的。

#26 全志 SOC » v3s 串口2 不能收 » 2020-04-21 14:08:47

chendong
回复: 7

全志V3S 用程序不能收到数据能发出来,而且在内核里串口接收中断里打印能接收到数据,但是在程序里read 不到,齐了怪了。这个程序原来在别的开发板上是么有问题的。

#27 全志 SOC » alsa 打印输出问题 » 2020-04-17 17:15:37

chendong
回复: 1

我在终端输入amixer cset numid=1,iface=MIXER,name='Master Playback Volume' 63
,终端总会输出
numid=1,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw------,values=1,min=0,max=63,step=0
  : values=63
,我不想有后面这些输出,这个在哪屏蔽,哪位大侠知道。

#28 全志 SOC » v3s i2c 写地址 » 2020-04-08 16:44:19

chendong
回复: 5

大家好最近弄v3s 的i2c ,发现在内核对从地址是这么处理的
/* 7-1bits addr, xxxx_xxx0 */
        addr = (i2c->msg[i2c->msg_idx].addr & 0x7f) << 1;
,这要是我的从地址是0x70 , 写的时候变成了0xe0, 没法控制设备啊。我把地址强制成0x70,就可以了,这什么意思?这驱动有问题?按理说不应该啊。

static void sunxi_i2c_addr_byte(struct sunxi_i2c *i2c)
{
    unsigned char addr = 0;
    unsigned char tmp  = 0;

    if (i2c->msg[i2c->msg_idx].flags & I2C_M_TEN) {
        /* 0111_10xx,ten bits address--9:8bits */
        tmp = 0x78 | ( ( (i2c->msg[i2c->msg_idx].addr)>>8 ) & 0x03);
        addr = tmp << 1;//1111_0xx0
        /* how about the second part of ten bits addr? Answer: deal at twi_core_process() */
    }
    else {
        /* 7-1bits addr, xxxx_xxx0 */
        addr = (i2c->msg[i2c->msg_idx].addr & 0x7f) << 1;
    }

    /* read, default value is write */
    if (i2c->msg[i2c->msg_idx].flags & I2C_M_RD) {
        addr |= 1;
    }

#30 Re: 全志 SOC » v3s 文件系统不能显示中文 » 2020-04-03 08:50:21

晕哥 说:

https://whycan.cn/t_1158.html
https://blog.csdn.net/wavemcu/article/details/7202908

记起来了, 当时听xboot说和 busybox 有关, 你可以深入研究一下。

按照网上说的,修改了busybox 下面两个文件,重新编译了,中文还是显示 ??? 号。瞎了。

#31 Re: 全志 SOC » v3s 文件系统不能显示中文 » 2020-04-02 16:58:50

晕哥 说:

https://whycan.cn/files/members/3/2020-04-02_164802.png

下载 mobaxterm, 右击终端 -> Change terminal setting ...

我用putty 登录的,是这个配置,也不行。只能显示问号。还有什么其他地方需要配置的。内核里已经选上中文支持了。

#32 Re: 全志 SOC » v3s 文件系统不能显示中文 » 2020-04-02 16:29:19

是比如建立的中文的文件显示不了,ftp上传的中文文件也显示不了,都是问号。

#33 全志 SOC » v3s 文件系统不能显示中文 » 2020-04-02 15:47:49

chendong
回复: 8

v3s 内核为3.4, 内核里选了中文支持,当时进入系统后还是不能显示中文,目录下创建中文文件显示不了,ftp上传的中文文件也显示不了,都是问号。该怎么改,哪位知道,谢谢,

#35 Re: 全志 SOC » v3s vsftpd 配置 » 2020-03-31 14:37:55

awfans 说:

啊,帮你顶一下,我的dropbear只能密码登录,密钥登录也没搞定。

我现在要求不高,匿名登录就行。

#36 全志 SOC » v3s vsftpd 配置 » 2020-03-31 14:10:41

chendong
回复: 2

vsftpd 匿名能连进来,就是不能上传文件,也不能切换目录。哪位给个配置文件。怎么改都不行。谢谢

#37 Re: 全志 SOC » v3s linux3.4 驱动位置 » 2020-03-30 22:37:25

ubuntu 说:

全志 linux 3.4 的 sdk 用 自己搞的设备树 ---- sys_config.fex

这一搜一大堆,哪个算是?
./tools/pack/out/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/crane-sdv/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/crane-standard/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/tiger-ipc/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/tiger-cdr/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/crane-cdr/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/tiger-standard/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/crane-ipc/sys_config.fex
./tools/pack/chips/sun8iw8p1/configs/tiger-spinand-standard/sys_config.fex

#38 全志 SOC » v3s linux3.4 驱动位置 » 2020-03-30 22:10:02

chendong
回复: 3

大家好:
       想修改一下v3s的驱动,发现DTS 没在linux-3.4\arch\arm\boot\dts 下面啊,没有明确的标识,i2c 驱动也找不到样。哪位赐教一下。谢谢。

#39 Re: 全志 SOC » v3s alsa 问题。 » 2020-03-30 20:08:08

awfans 说:

可能驱动关的,手动调用就好了,我记得论坛有个帖子

好的,谢谢,我找找。

#40 全志 SOC » v3s alsa 问题。 » 2020-03-30 17:17:56

chendong
回复: 2

大家好,最近在弄v3s的alsa,发现一个问题,用madplay 播放完一个mp3 后,用madplay 每次播完后都会自动把alsa 音量设置成静音,这个是全志驱动设置这样的还是哪里弄得。每次用madplay 前还得设置一下音量。谢谢。

#41 Re: 全志 SOC » v3s 移植mpg123 问题 » 2020-03-27 23:56:02

Linux sinlinx 3.4.39

kekemuyu 说:

不知道你是安装的什么系统,我是在v3s上跑了debian系统,然后用apt来安装的mpg123.甚至安装了musicbox,可以在线听网易云音乐.请看我的连接
https://whycan.cn/t_3114.html

#42 全志 SOC » v3s 移植mpg123 问题 » 2020-03-27 23:32:51

chendong
回复: 3

我想移植一个mpg123 上V3S,开发板用aplay 放WAV文件是可以的。用mpg123 就报错。哪位大哥移植成功的,指教一下,谢谢。
mpg123 001.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.13; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes


Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 001.mp3 ...

MPEG 1.0 L III cbr128 44100 j-s

Title:   I'm Yours
Artist:  Jason Mraz
Album:   I'm Yours
Year:    2008-11-14
[src/libout123/modules/alsa.c:241] error: Fatal problem with alsa output, error -5.
[src/libout123/libout123.c:658] error: Error in writing audio (Input/output error?)!
main: [src/mpg123.c:814] error: Deep trouble! Cannot flush to my output anymore!
#

#43 全志 SOC » 全志V3S 编译neon » 2019-09-04 23:35:46

chendong
回复: 0

现在想一只webrtc 上v3s上,但是这个算法好像要用到neon,如何在编译的时候用neon选项(else ifneq ($(findstring neon,@ac_webrtc_instset@)谢谢。
WEBRTC_OTHER_CFLAGS = -fexceptions -DWEBRTC_POSIX=1 @ac_webrtc_cflags@
ifneq ($(findstring sse2,@ac_webrtc_instset@),)
    WEBRTC_SRC = \
              modules/audio_processing/aec/aec_core_sse2.o         \
          modules/audio_processing/aec/aec_rdft_sse2.o             \
          modules/audio_processing/aecm/aecm_core_c.o             \
          modules/audio_processing/ns/nsx_core_c.o                     \
          system_wrappers/source/cpu_features.o
else ifneq ($(findstring neon,@ac_webrtc_instset@),)
    WEBRTC_SRC = \
                 modules/audio_processing/aec/aec_core_neon.o               \
          modules/audio_processing/aec/aec_rdft_neon.o               \
          modules/audio_processing/aecm/aecm_core_c.o                \
          modules/audio_processing/aecm/aecm_core_neon.o             \
          modules/audio_processing/ns/nsx_core_c.o                   \
          modules/audio_processing/ns/nsx_core_neon.o                \
          common_audio/signal_processing/cross_correlation_neon.o    \
          common_audio/signal_processing/downsample_fast_neon.o      \
          common_audio/signal_processing/min_max_operations_neon.o
    WEBRTC_OTHER_CFLAGS += -DWEBRTC_HAS_NEON

#44 Re: 全志 SOC » gcc 库的寻找。 » 2019-08-19 23:42:50

晕哥 说:

应该不会出现这种问题,你的完整编译命令是什么

就是先./configure , 然后make 就这么编译了。

#45 全志 SOC » gcc 库的寻找。 » 2019-08-19 19:35:10

chendong
回复: 2

最近在编译pjsip,我的gcc按照目录是/opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf,我在目录下find ,sinlinx@ubuntu://opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf$ sudo find . -name libpthread.so.0
./arm-linux-gnueabihf/libc/lib/libpthread.so.0
能找到这个库啊。但是make 项目确提示,/opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/7.4.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/libpthread.so.0
这是什么意思,这个ld 和路径什么关系。哪位指教一下,不胜感激。

#46 Re: 全志 SOC » 找不到g++ » 2019-08-02 09:09:13

hzpyl 说:

gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf  好像也用不了。

是编译CPP 文件是吧。

#47 Re: 全志 SOC » 找不到g++ » 2019-08-01 13:41:53

晕哥 说:
root@test4:~# /usr/local/gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
COLLECT_LTO_WRAPPER=/usr/local/gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/7.4.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: '/home/tcwg-buildslave/workspace/tcwg-make-release_0/snapshots/gcc.git~linaro-7.4-2019.02/configure' SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/builds/destdir/i686-pc-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/builds/destdir/i686-pc-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/builds/destdir/i686-pc-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb --with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/sysroots/arm-linux-gnueabihf --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/builds/destdir/i686-pc-linux-gnu/arm-linux-gnueabihf/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release_0/_build/builds/destdir/i686-pc-linux-gnu
Thread model: posix
gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)
root@test4:~#
root@test4:~#
root@test4:~#
root@test4:~# /usr/local/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/usr/local/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/lto-wrapper
Target: arm-linux-gnueabi
Configured with: '/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/gcc.git~linaro-7.2-2017.11/configure' SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --with-float=soft --with-mode=thumb --with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/sysroots/arm-linux-gnueabi --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabi/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabi --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)
root@test4:~#
root@test4:~#
root@test4:~# /usr/local/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++
arm-linux-gnueabi-g++: fatal error: no input files
compilation terminated.
root@test4:~# /usr/local/gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
arm-linux-gnueabihf-g++: fatal error: no input files
compilation terminated.
root@test4:~#

你的 是什么发行版本 Linux? 32bit 的吗?

我的是ubuntu-14.04.6-desktop-amd64 版本。

#48 Re: 全志 SOC » 找不到g++ » 2019-08-01 09:21:29

晕哥 说:

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

root@test4:~# ls /usr/local/ -l
total 409764
drwxr-xr-x  7 root  root      4096 Oct 12  2018 arm-2010q1
-rw-r--r--  1 root  root  82460512 Apr 23  2010 arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
drwxr-xr-x  2 root  root      4096 Jun  2 10:10 bin
drwxr-xr-x  2 root  root      4096 Feb 15  2017 etc
drwxr-xr-x  3 root  root      4096 Jul 23 07:05 frp
drwxr-xr-x  2 root  root      4096 Feb 15  2017 games
drwxr-xr-x  8 11827 9000      4096 Jul  1  2016 gcc-linaro-5.3.1-2016.05-x86_64_arm-eabi
-rw-r--r--  1 root  root 229015824 Feb 26  2018 gcc-linaro-5.3.1-2016.05-x86_64_arm-eabi.tar.xz
drwxr-xr-x  8 11827 9000      4096 Nov 19  2017 gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi
drwxr-xr-x  8 11827 9000      4096 Jan 22  2019 gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf
-rw-r--r--  1 root  root 108038500 Jan 25  2019 gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf.tar.xz
drwxr-xr-x  3 root  root      4096 Jun  6  2018 gnu-mcu-eclipse
drwxr-xr-x  3 root  root      4096 Aug 19  2018 gnutools
drwxr-xr-x  2 root  root      4096 Feb 15  2017 include
drwxr-xr-x  5 root  root      4096 Sep 25  2018 lib
drwxr-xr-x  2 root  root      4096 Sep 25  2018 libexec
lrwxrwxrwx  1 root  root         9 Mar 14  2017 man -> share/man
drwxr-xr-x 11 root  root      4096 Oct  3  2018 riscv-tools
drwxr-xr-x  2 root  root      4096 Feb 15  2017 sbin
drwxr-xr-x 11 root  root      4096 Sep 25  2018 share
drwxr-xr-x  2 root  root      4096 Feb 15  2017 src
drwxr-xr-x  3 root  root      4096 Sep 25  2018 var
root@test4:~#
root@test4:~#
root@test4:~#
root@test4:~# find /usr/local/ |grep linaro |grep g++$
/usr/local/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++
/usr/local/gcc-linaro-5.3.1-2016.05-x86_64_arm-eabi/bin/arm-eabi-g++
/usr/local/gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
root@test4:~#

我安装在opt 下,我find 也有啊
sinlinx@ubuntu://opt$ find . |grep linaro |grep g++$
./gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
./gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
但是编译arm-linux-gnueabihf-g++ 编译一个最简单的hello就提示找不到arm-linux-gnueabihf-g++ .

#49 Re: 全志 SOC » 找不到g++ » 2019-07-31 19:04:10

晕哥 说:

理论上没有问题,晚点有空我试一试

好的。晕哥一定帮我试试。搞了一个礼拜了。多谢。

#50 Re: 全志 SOC » 找不到g++ » 2019-07-31 18:50:21

晕哥 说:

换一个最新版本

gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf ,换了这个最新的版本还是这样。要崩溃了。晕哥你能编译cpp吗?

#51 全志 SOC » 找不到g++ » 2019-07-31 18:11:49

chendong
回复: 10

安装的gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf,gcc 没问题。g++提示找不到。百度了一大圈也没搞定。哪位指点一下。谢谢。

#52 Re: 全志 SOC » 关于编译CPP 文件 » 2019-07-31 13:56:32

大家谁有碰到这事。谢谢。

#53 Re: 全志 SOC » 关于编译CPP 文件 » 2019-07-31 11:03:19

超级萌新 说:

没有 arm-linux-gnueabihf-g++ 这个吗?

这显示有啊。
arm-linux-gnueabihf-g++ -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-g++
COLLECT_LTO_WRAPPER=/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/6.3.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/snapshots/gcc-linaro-6.3-2017.02/configure SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-objc-gc --enable-shared --without-included-gettext --enable-nls --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --with-float=hard --with-mode=thumb --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)

#54 Re: 全志 SOC » 关于编译CPP 文件 » 2019-07-31 10:08:59

超级萌新 说:

什么错误

make[2]: Leaving directory `/home/sinlinx/SIN-V3s/pjsip/pjproject-2.8/pjsip/build'
make -f /home/sinlinx/SIN-V3s/pjsip/pjproject-2.8/build/rules.mak APP=PJSUA2_LIB app=pjsua2-lib depend
make[2]: Entering directory `/home/sinlinx/SIN-V3s/pjsip/pjproject-2.8/pjsip/build'
.pjsua2-lib-arm-unknown-linux-gnueabihf.depend:1: *** missing separator.  Stop.
make[2]: Leaving directory `/home/sinlinx/SIN-V3s/pjsip/pjproject-2.8/pjsip/build'
make[1]: *** [depend] Error 2

这个里面全是CPP 文件。而且我编了一个简单的cpp文件,arm-linux-gnueabihf-g++ -W -o hello-cpp hello-c++.cpp,显示没有arm-linux-gnueabihf-g++编译器。编译c是没有问题的。

#55 全志 SOC » 关于编译CPP 文件 » 2019-07-31 09:38:21

chendong
回复: 5

最近在移植pjsip 工程,里面有些库是cpp的,好像make dep 就会报错误,看了一下有库是cpp 文件,这个怎么设置编译路径。我装的工具链是gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf。多谢。

#56 Re: 全志 SOC » 编译器报故障,求帮助。 » 2019-07-28 18:18:58

64bit ,发现用root 编译没问题。晕菜。这个礼拜在一直pjsip 搞死了。咋sip 用configure 出现这个提示
./configure --prefix=/home/sinlinx/SIN-V3s/pjsip/pj-out --host=arm-linux-gnueabihf --disable-video --disable-ffmpeg --disable-v4l2 --disable-openh264 --disable-libyuv --disable-libwebrtc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnueabihf
checking target system type... arm-unknown-linux-gnueabihf
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking whether the C compiler works... no
aconfigure: error: in `//home/sinlinx/SIN-V3s/pjsip/pjproject-2.8':
aconfigure: error: C compiler cannot create executables
See `config.log' for more details

不能创建这个,我还特意用root 配置。谢谢。

#57 全志 SOC » 编译器报故障,求帮助。 » 2019-07-28 17:45:15

chendong
回复: 3

交叉编译现在还是有点蒙圈,哪位解答一下。谢谢
我下载了gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf.tar,解压到了/opt目录下
sinlinx@ubuntu://opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf$ ls
arm-linux-gnueabihf  bin  gcc-linaro-6.3.1-2017.02-linux-manifest.txt  include  lib  libexec  share
然后设置PATH:
export PATH=/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:$PATH
重启,用arm-linux-gnueabihf-gcc -v 查看
sinlinx@ubuntu://opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf$ arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/6.3.1/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: /home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/snapshots/gcc-linaro-6.3-2017.02/configure SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-objc-gc --enable-shared --without-included-gettext --enable-nls --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --with-float=hard --with-mode=thumb --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)
看着没啥问题啊。然后我写可一个hello.c文件测试一下。提示连接不到库,这该怎么设置,晕了。
arm-linux-gnueabihf-gcc -W -o hello hello.c
/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/libc.so.6
/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find /usr/lib/libc_nonshared.a
/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find /lib/ld-linux-armhf.so.3
collect2: error: ld returned 1 exit status

#58 Re: 全志 SOC » ubuntu su 失效的问题 » 2019-07-27 23:56:06

晕哥 说:

我没有用过这个命令,可能是你改过什么导致出问题了吧,一般不建议su去操作。

还请教一下V3S编译器的问题,这个编译器需要定制吗?还是比如现在直接用apt-get install arm-linux-gnueabihf 就可以了。还有些其他版版本?区别是什么?谢谢。

#59 Re: 全志 SOC » ubuntu su 失效的问题 » 2019-07-27 21:33:42

晕哥 说:

sudo su

试一试这个

你这个好使,但是就输入一个su 这个就弄不回来吗?

#60 全志 SOC » ubuntu su 失效的问题 » 2019-07-27 20:33:43

chendong
回复: 7

昨天不知道改什么了,输入su显示这个
sinlinx@ubuntu:~$ su
su: Not setuid and you are not root, expect this to fail
root's password:

输入正确密码也不好使。baidu搜的一些方法好像也不管用。哪位碰到过这个情况。赐教一下解决方法谢谢。

#61 Re: 全志 SOC » 关于buildroot 工具链的位置 » 2019-07-25 19:47:54

晕哥 说:

find . | grep bin/ | grep gcc$

./SIN-V3s/sinlinx-v3s-sdk/buildroot/out/host/bin/arm-linux-gcc
./SIN-V3s/sinlinx-v3s-sdk/buildroot/out/host/bin/arm-buildroot-linux-gnueabihf-gcc
./SIN-V3s/sinlinx-v3s-sdk/buildroot/output/host/opt/ext-toolchain/bin/arm-linux-gnueabihf-gcc
./SIN-V3s/sinlinx-v3s-sdk/buildroot/output/host/bin/arm-linux-gnueabihf-gcc
这一下出了这么多,哪个才是,如果第三方APP 要独立编译的话,是把编译器的路径指到这里来吗?或者直接bash.bashrc把路径加到这里来。谢谢。

#62 全志 SOC » 关于buildroot 工具链的位置 » 2019-07-25 19:24:25

chendong
回复: 3

请教一个问题,buildroot 下载后的工具链放在一般默认放在什么位置?谢谢

#63 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-25 16:50:02

晕哥 说:

你先去试一试我的一键生成吧: https://whycan.cn/t_2169.html

我现在编译一个自己应用程序。但是报错.pjsua2-lib-arm-unknown-linux-gnueabihf.depend:1: *** missing separator.  Stop.
,但是怎会显示arm-unknown-linux-gnueabihf,”unknown”这是没有指定什么平台吗?
我这的PATH 变量
/opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

有点晕。晕哥看看啥问题。多谢。

#64 全志 SOC » 关于arm一些库的位置 » 2019-07-24 23:16:30

chendong
回复: 1

在做交叉编译的时候,arm 链接的库比如alsa 的库,一般在什么地方?哪位赐教一下。

#65 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 20:05:13

晕哥 说:

find . |grep libalsa

还有就是我buildroot   make
./libexec/gcc/i586-buildroot-linux-uclibc/6.4.0/plugin/gengtype" is touched by more than one package: [u'host-gcc-initial', u'host-gcc-final']
好多这个警告,i586-buildroot-linux-uclib 这个是什么编译,不明白这编译器到底该怎么指派。谢谢。

#66 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 19:57:25

晕哥 说:

find . |grep libalsa

我在./configre 里面指定了alsa 的库的目录啊。buildroot/output/host/i586-buildroot-linux-uclibc/sysroot/usr/lib32,  怎么还是跑到opt/下去找alsa 库。

#67 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 18:25:39

晕哥 说:

find . |grep libalsa

麻烦了。用这个搜索没搜到任何东西。崩溃。
opt/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lasound

#68 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 17:09:40

晕哥 说:

buildroot 目录下面的 .config

把 BR2_PACKAGE_ALSA_LIB 这个编译开关打开,

然后重新 make 就可以了。

编译到是过去了,但是在host/output/ 下的include , lib 下面没看到alsa 库。

#69 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 15:39:10

晕哥 说:

rootfs 存放的是根文件系统, 按默认设置里面不会有incude文件夹。


buildroot-2019.02.2$ find . |grep bin |grep gcc$
./output/host/bin/arm-buildroot-linux-gnueabi-gcc
./output/host/bin/arm-linux-gcc

include 在 output/host/ 目录下.

目录下include 下个没有 alsa 文件夹,以前ARM9 是别人做好的。没搞明白这些头文件从哪来的。

#70 Re: 全志 SOC » 求助关于找不到工具链 » 2019-07-24 14:53:12

晕哥 说:

晕哥,为什么我的\rootfs  目录下没有include 文件夹。我在编译pjsip,需要编译alsa 库。谢谢。

#71 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 京东买了个戴尔 DELL 大屏笔记本电脑,真是问题不断 » 2019-07-24 08:18:26

你们虚拟机都装自己电脑上,我一般单独用一台台式机做虚拟机,然后用samba传文件,用putty 登录做编译,用Source Insight 联网编辑代码。

#73 全志 SOC » 关于buildroot 编译时间长的问题 » 2019-07-23 22:13:02

chendong
回复: 6

这个buildroot 时间也太长了。到底是哪里耗时了?一编好几个小时啊。

#74 全志 SOC » 求助关于找不到工具链 » 2019-07-23 19:23:56

chendong
回复: 12

这几天买了一个v3s的开发板。编译的都快疯了。编译demo 老提示
make: arm-buildroot-linux-uclibcgnueabihf-gcc: Command not found,
我是直接在DEMO 下make 的。demo 的makefile 是这么写的
CROSS_COMPILE    ?= arm-buildroot-linux-uclibcgnueabihf-

CPU = cortex-a7
FPU = fpv4-sp-d16

AS                = $(CROSS_COMPILE)as
LD                = $(CROSS_COMPILE)ld
CC                = $(CROSS_COMPILE)gcc
CXX               = $(CROSS_COMPILE)g++
CPP               = $(CC) -E
AR                = $(CROSS_COMPILE)ar
NM                = $(CROSS_COMPILE)nm
STRIP             = $(CROSS_COMPILE)strip
OBJCOPY           = $(CROSS_COMPILE)objcopy
OBJDUMP           = $(CROSS_COMPILE)objdump
RANLIB            = $(CROSS_COMPILE)ranlib
SIZE              = $(CROSS_COMPILE)size
我现在就是搞不明白这个CROSS_COMPILE    路径在哪指定?高人帮忙

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn