您尚未登录。

#1 Re: 全志 SOC » 使用buildroot构建文件系统, mplayer视频播放器, Qt运行库等 » 2022-06-18 22:25:14

晕哥,交叉编译工具链7.5.0,QT里配置了GCC(/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc)
G++(/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++)
qmake(/home/book/Qt/buildroot/buildroot-2017.02.7/output/host/usr/bin/qmake)是5.6.2的
ubantu18.04里qt 5.9.5
编译报错:/lib/ld-linux-armhf.so.3: No such file or directory
构建警告::-1: warning: "/home/book/Qt/buildroot/buildroot-2017.02.7/output/host/usr/bin/arm-linux-gnueabihf-g++" is used by qmake, but "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++" is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your target environment better.
:-1: warning: "/home/book/Qt/buildroot/buildroot-2017.02.7/output/host/usr/bin/arm-linux-gnueabihf-gcc" is used by qmake, but "/home/book/100ask_imx6ull-sdk/ToolChain/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc" is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your target environment better.
晕哥怎么弄

#2 Re: 全志 SOC » buildroot配置上wireless tools,wpa_supplicant编译出错,是什么问题? » 2022-04-18 21:46:29

亲测,按楼上的方法可以,勾上openssl后,sudo make clean在sudo make -j4就通过了

#3 Re: 全志 SOC » 晕哥,帮我看一下,为什么不支持Wlan0? » 2022-04-18 21:41:06

哇酷小二 说:

@11小白11
可能是 wifi模块的使能脚没有拉高引起

嗯嗯,确实是硬件问题,模块风枪吹下来12,13,14脚和晶振外壳短路不和地短路,焊上去12,13,14脚和地和晶振外壳短路,重复很多次都是这样,后来新的8723到了换上去,buildroot2017.02编译了wpa_supplicant指令后ping通百度了
# insmod /example/r8723bs.ko
[  240.077936] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[  240.105159] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
insmod: can't insert '/example/r8723bs.ko': File exists
# lsmod
Module                  Size  Used by    Tainted: G
r8723bs               483328  0
# ifconfig wlan0 up
# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 30:7B:C9:52:99:F8
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.6
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
Priority group 5
   id=0 ssid='OPPO'
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Using driver-based off-channel TX
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 2 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1965d8
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1965d8 match=0500
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=2 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlan0: Own MAC address: 30:7b:c9:52:99:f8
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=2 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 7ab56a61-072e-5097-aa49-081a01b33040
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=0
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=2 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
# udpc[  316.258603] RTL8723BS: rtw_set_802_11_connect(wlan0)  fw_state = 0x00000008
[  316.583314] RTL8723BS: start auth
[  316.590639] RTL8723BS: auth success, start assoc
[  316.609994] RTL8723BS: rtw_cfg80211_indicate_connect(wlan0) BSS not found !!
[  316.617094] RTL8723BS: assoc success
[  316.675789] RTL8723BS: send eapol packet
[  316.689642] RTL8723BS: send eapol packet
[  316.694366] RTL8723BS: set pairwise key camid:4, addr:b8:37:65:cc:4f:cd, kid:0, type:AES
[  317.711418] RTL8723BS: send eapol packet
[  317.715919] RTL8723BS: set group key camid:5, addr:b8:37:65:cc:4f:cd, kid:1, type:TKIP

-sh: udpc: not found
# udhcpc -i wlan0
udhcpc: started, v1.26.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.43.238
udhcpc: lease of 192.168.43.238 obtained, lease time 3600
deleting routers
adding dns 192.168.43.1
# ping www.baidu.com
PING www.baidu.com (36.152.44.95): 56 data bytes
64 bytes from 36.152.44.95: seq=0 ttl=56 time=33.598 ms
64 bytes from 36.152.44.95: seq=1 ttl=56 time=44.777 ms
64 bytes from 36.152.44.95: seq=2 ttl=56 time=38.367 ms
^C
--- www.baidu.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 33.598/38.914/44.777 ms

#4 Re: 全志 SOC » 晕哥,帮我看一下,为什么不支持Wlan0? » 2022-04-10 09:49:26

# insmod r8723bs.ko
[   18.208228] r8723bs: module is from the staging directory, the quality is unknown, you have been warned.
[   18.234538] RTL8723BS: module init start
[   18.238636] RTL8723BS: rtl8723bs v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
[   18.245681] RTL8723BS: rtl8723bs BT-Coex version = BTCOEX20140507-4E40
[   18.252359] RTL8723BS: module init ret =0
# [   24.357352] random: crng init done
[   32.486635] vcc5v0: disabling

#
# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#

#5 Re: 全志 SOC » 晕哥,帮我看一下,为什么不支持Wlan0? » 2022-04-10 09:48:49

pqfeng 说:

问题搞定了,最终结果是出在DTS上。我们的DTS有两个,一个是带dock 的,但带dock 包含了不带dock的

我也遇到了,现在用的带dock的dtb,大佬还记得怎么解决的吗

#6 Re: 全志 SOC » 小菜鸟又有新问题了, tinyalsa如何编译成arm-linux 静态链接版本 » 2022-04-09 18:48:41

@leefei
我也碰到了,后来make clean后,之后不知道怎么再make就好了

#8 Re: 全志 SOC » 使用buildroot构建文件系统, mplayer视频播放器, Qt运行库等 » 2022-04-07 15:48:57

晕哥,用上面的build2017.02和.config报这个错是因为我编译器的问题吗
mkdir: cannot create directory ‘/disk4’: Permission denied
/usr/bin/make -j1 O=/home/book/buildroot-2017.02.7/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
make[2]: warning: -jN forced in submake: disabling jobserver mode.
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/book/buildroot-2017.02.7/output/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/book/buildroot-2017.02.7/output/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/book/buildroot-2017.02.7/output/build/buildroot-config/tristate.config BR2_CONFIG=/home/book/buildroot-2017.02.7/.config HOST_GCC_VERSION="7" BUILD_DIR=/home/book/buildroot-2017.02.7/output/build SKIP_LEGACY= /home/book/buildroot-2017.02.7/output/build/buildroot-config/conf --silentoldconfig Config.in
>>> host-lzip 1.18 Downloading
--2022-04-07 03:23:33--  http://download.savannah.gnu.org/releases/lzip/lzip-1.18.tar.gz
Resolving download.savannah.gnu.org (download.savannah.gnu.org)... 209.51.188.200, 2001:470:142:5::200
Connecting to download.savannah.gnu.org (download.savannah.gnu.org)|209.51.188.200|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://mirror.yongbok.net/nongnu/lzip/lzip-1.18.tar.gz [following]
--2022-04-07 03:23:33--  http://mirror.yongbok.net/nongnu/lzip/lzip-1.18.tar.gz
Resolving mirror.yongbok.net (mirror.yongbok.net)... 169.56.72.170, 2401:c900:1601:148::3
Connecting to mirror.yongbok.net (mirror.yongbok.net)|169.56.72.170|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95569 (93K) [application/octet-stream]
Saving to: ‘/home/book/buildroot-2017.02.7/output/build/.lzip-1.18.tar.gz.opx3L6/output’

/home/book/buildroot 100%[======================>]  93.33K  35.5KB/s    in 2.6s   

2022-04-07 03:23:37 (35.5 KB/s) - ‘/home/book/buildroot-2017.02.7/output/build/.lzip-1.18.tar.gz.opx3L6/output’ saved [95569/95569]

lzip-1.18.tar.gz: OK (sha1: ef42f3209d02c3b3c217a61c8f127bcb8747b128)
lzip-1.18.tar.gz: OK (sha256: 47f9882a104ab05532f467a7b8f4ddbb898fa2f1e8d9d468556d6c2d04db14dd)
mktemp: failed to create file via template ‘/lzip-1.18.tar.gz.XXXXXX’: Permission denied
--2022-04-07 03:23:37--  http://sources.buildroot.net/lzip-1.18.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.1.37, 172.67.72.56, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.1.37|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 95569 (93K) [application/x-gtar-compressed]
Saving to: ‘/home/book/buildroot-2017.02.7/output/build/.lzip-1.18.tar.gz.X2otSd/output’

/home/book/buildroot 100%[======================>]  93.33K  --.-KB/s    in 0.01s   

2022-04-07 03:23:37 (7.49 MB/s) - ‘/home/book/buildroot-2017.02.7/output/build/.lzip-1.18.tar.gz.X2otSd/output’ saved [95569/95569]

lzip-1.18.tar.gz: OK (sha1: ef42f3209d02c3b3c217a61c8f127bcb8747b128)
lzip-1.18.tar.gz: OK (sha256: 47f9882a104ab05532f467a7b8f4ddbb898fa2f1e8d9d468556d6c2d04db14dd)
mktemp: failed to create file via template ‘/lzip-1.18.tar.gz.XXXXXX’: Permission denied
package/pkg-generic.mk:128: recipe for target '/home/book/buildroot-2017.02.7/output/build/host-lzip-1.18/.stamp_downloaded' failed
make[1]: *** [/home/book/buildroot-2017.02.7/output/build/host-lzip-1.18/.stamp_downloaded] Error 1
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2

#9 Re: 全志 SOC » 荔枝派开发板控制台输出到LCD屏和PC串口,在进入内核时,电脑上xshell不再有输出,也不响应键盘输入 » 2022-03-13 13:27:00

大佬,我也遇到了,只要配置console=tty0后,登录界面就在lcd上了,电脑串口不输出打印信息,现在解决了吗

#10 Re: 全志 SOC » 请教ST7789V,不显示,发现波形完全不对!请高手指点一二!! » 2022-03-13 10:33:57

4.13和4.9.88的内核用网上的修改fb_st7789v.c和tbtft-core.c文件再编译报错定义之类的错,可以换5.几的内核,我感觉4.13和4.9.88的内核不太支持,小白经验发言,错了,大佬踹一脚

页脚

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

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