Firefly开源社区

打印 上一主题 下一主题

按照编译指导编译出来的img,卡在开机logo处,不能启动

14

积分

0

威望

0

贡献

技术小白

积分
14

按照编译指导编译出来的img,卡在开机logo处,不能启动

发表于 2019-8-14 18:33:29      浏览:10403 | 回复:1        打印      只看该作者   [复制链接] 楼主
如题:主机16.04,按照http://wiki.t-firefly.com/zh_CN/AIO-3288J/linux_compile.html的编译步骤,编译的AIO-3288J-Buildroot 固件,烧入后,卡在开机logo处,

开机的log见附件session.log.
[    7.452994] Event handler is not created
[    7.457452] Country code: CN (CN/38)
[    7.462241] wl_android_wifi_on: Success
[    7.484442] dhd_open : the lock is released.
[    7.488710] dhd_open: Exit ret=0
wlan0: waiting for carrier
eth0: soliciting an IPv6 router
eth0: soliciting a DHCP lease
wlan0: carrier acquired
wlan0: IAID 73:77:1e:62
wlan0: adding address fe80::75aa:22ef:617b:f8ed
wlan0: soliciting an IPv6 router
wlan0: soliciting a DHCP lease
eth0: carrier lost
wlan0: probing for an IPv4LL address
wlan0: using IPv4LL address 169.254.33.69
wlan0: adding route to 169.254.0.0/16
wlan0: adding default route
forked to background, child pid 411
Starting launcher: Date: 2017-01-01 UTC
[12:00:15.484] weston 3.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/ent ... n&version=3.0.0
               Build: unknown (not built from git or tarball)
[12:00:15.503] Command line: weston --tty=2 --idle-time=0
[12:00:15.508] OS: Linux, 4.4.154, #3 SMP Wed Aug 14 01:24:11 PDT 2019, armv7l
[12:00:15.523] Using config file '/etc/xdg/weston/weston.ini'
[12:00:15.527] Output repaint window is 15 ms maximum.
[12:00:15.529] Loading module '/usr/lib/libweston-3/drm-backend.so'
Info: <======= start audio service ========>
[12:00:15.774] initializing drm backend
[12:00:15.796] using /dev/dri/card0
[12:00:15.799] Loading module '/usr/lib/libweston-3/gl-renderer.so'
[12:00:15.819] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
               EGL_KHR_platform_gbm EGL_MESA_platform_gbm
               EGL_KHR_platform_wayland EGL_EXT_platform_wayland
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x750 r0p0 status range [1..1], but none of the GPUs matched:
/dev/mali0 detected as 0x750 r1p0 status 0
[12:00:15.953] failed to initialize display
[12:00:15.954] EGL error state: EGL_NOT_INITIALIZED (0x3001)
[12:00:15.957] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[12:00:15.968] failed to create display
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x750 r0p0 status range [1..1], but none of the GPUs matched:
/dev/mali0 detected as 0x750 r1p0 status 0
[12:00:16.049] failed to initialize display
[12:00:16.049] EGL error state: EGL_NOT_INITIALIZED (0x3001)
[12:00:16.053] failed to initialize egl
[12:00:16.057] fatal: failed to create compositor backend
ssh-keygen: generating new host keys: RSA Failed to create display (No such file or directory)
DSA ECDSA ED25519
Starting sshd: OK
[   20.286482] file system registered
install_listener('tcp:5037','*smartsocket*')
[   20.309497] read descriptors
[   20.316043] read strings
sh: write error: No such device
wpa_supplicant.conf init
wpa_supplicant.conf init
load wifi modules: Rockchip Linux WifiBt init
BT TTY: /dev/ttyS0
Wifi driver is ready for now...
wifibt_load_driver
uevent path:/sys/bus/sdio/devices/./uevent
uevent path:/sys/bus/sdio/devices/../uevent
uevent path:/sys/bus/sdio/devices/mmc1:0001:1/uevent
line: DRIVER=bcmsdh_sdmmc
, prefix: SDIO_ID=.
line: SDIO_CLASS=00
, prefix: SDIO_ID=.
line: SDIO_ID=02D0:A9BF
, prefix: SDIO_ID=.
pid:vid : 02d0:a9bf
found device pid:vid : 02d0:a9bf
wifi detectd return ret:0
SDIO WIFI identify sucess
check_wifi_chip_type_string: AP6255
/data/wifi_chip is not exit,save wifi chip
recognized wifi chip = AP6255, save to /data/wifi_chip
wifibt_load_driver matched ko file path  /system/lib/modules/bcmdhd.ko
wifibt_load_driver insmod /system/lib/modules/bcmdhd.ko
insmod: can't insert '/system/lib/modules/bcmdhd.ko': No such file or directory
wifibt_load_driver insmod /system/lib/modules/bcmdhd.ko failed
OK
/etc/init.d/S66load_wifi_modules: line 42: wl: not found
Starting dnsmasq: OK
Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf...
input-event-daemon: Adding device: /dev/input/event0...
input-event-daemon: Adding device: /dev/input/event1...
input-event-daemon: Adding device: /dev/input/event2...
input-event-daemon: Adding device: /dev/input/event3...
input-event-daemon: Start listening on 4 devices...
done
[   21.573241] [BT_RFKILL]: bt shut off power
[   21.579320] [BT_RFKILL]: rfkill_rk_set_power: set bt wake_host pin output high!
[root@rk3288:/]# [   21.642746] [BT_RFKILL]: ENABLE UART_RTS
[   21.752925] [BT_RFKILL]: DISABLE UART_RTS
[   21.757094] [BT_RFKILL]: bt turn on power
[   22.798321] ttyS0 - failed to request DMA, use interrupt mode
bcm43xx_init
Set Controller UART speed to 1500000 bit/s
Flash firmware /etc/firmware/BCM4345C0.hcd
Set Controller UART speed to 1500000 bit/s
Device setup complete


session.rar

17.1 KB, 下载次数: 3, 下载积分: 灯泡 -1 , 经验 -1

开机串口log

回复

使用道具 举报

789

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
789
发表于 2019-8-15 12:06:31        只看该作者  沙发
出错原因:GPU 和 库文件不匹配。
ERROR: The DDK is not compatible with any of the Mali GPUs on the system.
The DDK was built for 0x750 r0p0 status range [1..1], but none of the GPUs matched:
/dev/mali0 detected as 0x750 r1p0 status 0

楼主可以查看一下 CPU 上的芯片信息,应该是类似 SAAKT23028W,带 ‘W’ 后缀。
启动脚本 /etc/init.d/S10libmali 会根据 GPU 链接对应库文件,但命令 `ln -s libmali-midgard-t76x-r14p0-r1p0-wayland.so libmali.so` 缺少 -f 参数导致链接没更新,而使用了默认链接,加上 -f 参数即可 `ln -sf libmali-midgard-t76x-r14p0-r1p0-wayland.so libmali.so`。
  1. #!/bin/sh
  2. #
  3. # Create libmali link for rk3288....
  4. #

  5. case "$1" in
  6.         start)

  7.                 # create libmali.so link depend on chips type in the runtime
  8.                 GPU_VERSION=$(cat /sys/devices/platform/*gpu/gpuinfo)
  9.                 cd /usr/lib
  10.                 if [ "$GPU_VERSION" = 'Mali-T76x MP4 r1p0 0x0750' -o "$GPU_VERSION" = 'Mali-T76x 4 cores r1p0 0x0750' ];
  11.                 then
  12.                         #rk3288W, r1 version gpu chip
  13.                         ln -s libmali-midgard-t76x-r14p0-r1p0-wayland.so libmali.so
  14.                 else
  15.                         #rk3288, rk3288-C, rk3288-CG
  16.                         ln -s libmali-midgard-t76x-r14p0-r0p0-wayland.so libmali.so
  17.                 fi
  18.                 cd -

  19.                 ;;
  20.         stop)
  21.                 printf "stop finished"
  22.         ;;
  23.         *)
  24.         echo "Usage: $0 {start|stop}"
  25.         exit 1
  26.         ;;
  27. esac
  28. exit 0
复制代码

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表