Giter Club home page Giter Club logo

handsomemod's Introduction

HandsomeMod 21.03

IOT Freedom For End-user!

Feature Overview

  • Opkg Packager Manager and Procd init.
  • Lower memory usage than Debian or some systemd-based linux.
  • Support Qt5 Gtk3 Xorg Wayland and lots of Graphics Stuff.
  • Support sound csi camera encoder&decoder drm on Allwinner platform.
  • Support librarys commonly use in embedded project.(opencv ncnn wiringpi etc)
  • Support Networkmanager and Connman.
  • Just-enough Generic OS for embedded devices!

Building Firmware

To build your own firmware you need a Linux, BSD or MacOSX system (case sensitive filesystem required). Cygwin is unsupported.

You need gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers installed.

  1. Run "./scripts/feeds update -a" to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default

  2. Run "./scripts/feeds install -a" to install symlinks for all obtained packages into package/feeds/

  3. Run "make menuconfig" to select your preferred configuration for the toolchain, target system & firmware packages.

  4. Run "make" to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the Linux kernel & all chosen applications for your target system.

Mainly Supporting Platform

This means those socs can get better support than others.

  • Allwinner Socs (linux mainline)
  • Qualcomm MSM89xx Family
  • Rapsberry pi
  • X86
  • Freescale I.MX6ULL Family (WIP)
  • Loongson64 Family (WIP)
  • Allwinner Socs (bsp kernel) (Planing)

Thanks

HandsomeMod based on OpenWrt project.

* branch : openwrt-21.02
* commit: fc86176363149493810dc0b424583dd120e7f4c7

https://github.com/openwrt/openwrt

Warning

  • Now this project is not good enough for production environment.
  • Some packages may buggy and unusable.

License

HandsomeMod is licensed under GPL-2.0

handsomemod's People

Contributors

adschm avatar blocktrron avatar guidosarducci avatar handsomeyingyan avatar lga1150 avatar lipnitsk avatar nbd168 avatar neheb avatar wigyori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

handsomemod's Issues

wifi来喽

          wifi来喽

截图 2023-04-25 14-39-20

kmod-wcn36xx.zip

Originally posted by @MageDelfador in #24 (comment)
安装不上啊,Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.33-1-5ee33e9a20046535305ff6e200843117) for kmod-wcn36xx
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-wcn36xx found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package kmod-wcn36xx.

是否可以使用内置的esim卡

手里有个没卡槽的,所以在想能否使用内置的esim卡,使用卡商的流量套餐同时使用openwrt提供的强大功能。

字母G无法被hidg0设备输出

这是我的 gc -l:
ID 18d1:d001 'g1'
UDC ci_hdrc.0
bcdUSB 2.00
bDeviceClass 0x00
bDeviceSubClass 0x00
bDeviceProtocol 0x00
bMaxPacketSize0 64
idVendor 0x18d1
idProduct 0xd001
bcdDevice 0.01
Language: 0x409
Manufacturer HandsomeTech
Product HandsomeMod Device
Serial Number 0123456789
Function, type: ffs instance: adb
dev_name adb
Function, type: hid instance: hid.1
dev 241:0
protocol 1
report_desc 5196a115719e029e7150251751958812951758813955751581912959129517539139567581502565571902965810c0
report_length 8
subclass 0
Configuration: 'c1' ID: 1
MaxPower 2
bmAttributes 0x80
Language: 0x409
configuration c1
adb -> ffs adb
hid.1 -> hid hid.1

这是我测试用的文件内容:
echo -ne '\x00\x00\x39\x00\x00\x00\x00\x00' > /dev/hidg0 #[CAPSLOCK]
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x0A\x00\x00\x00\x00\x00' > /dev/hidg0 #G
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x12\x00\x00\x00\x00\x00' > /dev/hidg0 #O
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x12\x00\x00\x00\x00\x00' > /dev/hidg0 #O
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x07\x00\x00\x00\x00\x00' > /dev/hidg0 #D
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x2C\x00\x00\x00\x00\x00' > /dev/hidg0 #[SPACE]
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x0F\x00\x00\x00\x00\x00' > /dev/hidg0 #L
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x18\x00\x00\x00\x00\x00' > /dev/hidg0 #U
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x06\x00\x00\x00\x00\x00' > /dev/hidg0 #C
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0
sleep 0.1
echo -ne '\x00\x00\x0E\x00\x00\x00\x00\x00' > /dev/hidg0 #K
echo -ne '\x00\x00\x00\x00\x00\x00\x00\x00' > /dev/hidg0

这是文件(模拟HID设备)的输出:
OOD LUCK

在这之中,字母G无法被打印出来,请问我怎么可以解决这个问题?

squashfs-system不能启动

只有ext4的格式启动成功,squashfs-system不能启动 squashfs-system可以方便的恢复出厂设置,有人知道这是什么问题吗?或者说作者是不是这个不支持啊?还有就是无线连接路由器的问题,我的想法就是把它当做Linux来连接无线路由器,那样使用,但是连接成功了,没有网络,ping外网是不通的,具体在哪里设置呢?

xcb-proto编译失败

cp -fpR /tmp/HandsomeMod/build_dir/target-aarch64_cortex-a53+neon_musl/xcb-proto-1.14.1/ipkg-install/usr/lib/{pkgconfig,python3.8} /tmp/HandsomeMod/tmp/stage-xcb-proto/usr/lib/
cp: cannot stat '/tmp/HandsomeMod/build_dir/target-aarch64_cortex-a53+neon_musl/xcb-proto-1.14.1/ipkg-install/usr/lib/python3.8': No such file or directory
make[3]: *** [Makefile:60: /tmp/HandsomeMod/staging_dir/target-aarch64_cortex-a53+neon_musl/stamp/.xcb-proto_installed] Error 1
make[3]: Leaving directory '/tmp/HandsomeMod/feeds/handsomefeed/libs/xcb-proto'

尝试过手动删除cp里的python3.8 但是编译后报错大意是缺少xcb的python依赖之类的

/tmp/HandsomeMod/build_dir/target-aarch64_cortex-a53+neon_musl/xcb-proto-1.14.1/ipkg-install/usr/lib下除了pkgconfig文件夹没有其他任何东西 尝试全局搜索python3.8没有任何结果倒是有python3.9😭

云编译dnsmasq-full报错,请求指点迷津呀!

Configuring libipset13.
Configuring ipset.
Configuring iptables.
Configuring iptables-mod-tproxy.
Configuring microsocks.
Configuring tcping.
Configuring libnghttp2-14.
Configuring libcurl4.
Configuring curl.
Collected errors:

  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/etc/hotplug.d/ntp/25-dnsmasqsec
    But that file is already provided by package * dnsmasq-full
    Configuring xray-core.
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/etc/init.d/dnsmasq
    But that file is already provided by package * dnsmasq-full
    Configuring shadowsocksr-libev-ssr-local.
    Configuring shadowsocksr-libev-ssr-redir.
    Configuring simple-obfs-client.
    Configuring luci-app-ssr-plus.
    Configuring odhcp6c.
    Configuring docker.
    Configuring uci.
    Configuring ip6tables.
    Configuring kmod-ipt-nat6.
    Configuring odhcpd-ipv6only.
    Configuring ipv6helper.
    Configuring kmod-input-evdev.
    Configuring dropbear.
    Configuring kmod-crypto-kpp.
    Configuring kmod-crypto-ecdh.
    Configuring mtd.
    Configuring kmod-crypto-ecb.
    Configuring kmod-hid.
    Configuring kmod-crypto-cmac.
    Configuring kmod-regmap-core.
    Configuring kmod-bluetooth.
    Configuring kmod-qcom-bluetooth.
    Configuring frpc.
    Configuring eudev.
    Configuring qrtr-ns.
    Configuring rmtfs.
    Configuring libconfig11.
    Configuring libusbgx.
    Configuring android-tools-adbd.
    Configuring gc.
    Configuring mount-utils.
    Configuring rootfs-resizer.
    Configuring openstick-tweaks.
    Configuring luci-app-frpc.
    Configuring urandom-seed.
    Configuring logd.
    Configuring qcom-msm8916-modem-openstick-ufi001c-firmware.
    Configuring luci-app-ddnsto.
    Configuring wireless-regdb.
    Configuring kmod-cfg80211.
    Configuring kmod-mac80211.
    Configuring kmod-wcn36xx.
    Configuring qcom-msm8916-openstick-ufi001c-wcnss-firmware.
    Configuring libfdisk1.
    Configuring libncurses6.
    Configuring rpmsgexport.
    Configuring qcom-msm8916-wcnss-openstick-ufi001c-nv.
    Configuring fdisk.
    Configuring luci-lib-fs.
    Configuring luci-app-filetransfer.
    Configuring kmod-qcom-modem.
    Configuring luci-app-docker.
    Configuring kmod-ipt-offload.
    Configuring urngd.
    Configuring ppp-mod-pppoe.
    make[2]: Leaving directory '/workdir/openwrt'
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/etc/uci-defaults/50-dnsmasq-migrate-resolv-conf-auto.sh
    But that file is already provided by package * dnsmasq-full
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/usr/lib/dnsmasq/dhcp-script.sh
    But that file is already provided by package * dnsmasq-full
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/usr/sbin/dnsmasq
    But that file is already provided by package * dnsmasq-full
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/usr/share/acl.d/dnsmasq_acl.json
    But that file is already provided by package * dnsmasq-full
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/usr/share/dnsmasq/dhcpbogushostname.conf
    But that file is already provided by package * dnsmasq-full
  • check_data_file_clashes: Package dnsmasq wants to install file /workdir/openwrt/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/usr/share/dnsmasq/rfc6761.conf
    But that file is already provided by package * dnsmasq-full
  • opkg_install_cmd: Cannot install package dnsmasq.
    make[2]: *** [package/Makefile:70: package/install] Error 255
    make[1]: *** [package/Makefile:111: /workdir/openwrt/staging_dir/target-aarch64_cortex-a53+neon_musl/stamp/.package_install] Error 2
    make[1]: Leaving directory '/workdir/openwrt'
    make: *** [/workdir/openwrt/include/toplevel.mk:230: world] Error 2
    Error: Process completed with exit code 2.

编译网卡,RT5370 报错,

这个网卡的驱动是用的这个,kmod-rt2800-usb

make[4]: Entering directory '/mnt/sdb1/HandsomeMod-master-20221024/build_dir/target-aarch64_cortex-a53+neon_musl/linux-msm89xx_msm8916/backports-5.15.33-1'
make[5]: 'Kconfig.versions' is up to date.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DKBUILD_NO_NLS -c -o conf.o conf.c
make[6]: cc: Command not found
make[6]: *** [: conf.o] Error 127
make[5]: *** [Makefile.real:27: allnoconfig] Error 2
make[4]: *** [Makefile:121: allnoconfig] Error 2
make[4]: Leaving directory '/mnt/sdb1/HandsomeMod-master-20221024/build_dir/target-aarch64_cortex-a53+neon_musl/linux-msm89xx_msm8916/backports-5.15.33-1'
make[3]: *** [Makefile:557: /mnt/sdb1/HandsomeMod-master-20221024/build_dir/target-aarch64_cortex-a53+neon_musl/linux-msm89xx_msm8916/backports-5.15.33-1/.built] Error 2
make[3]: Leaving directory '/mnt/sdb1/HandsomeMod-master-20221024/package/kernel/mac80211'
time: package/kernel/mac80211/regular/compile#0.36#0.27#0.53
ERROR: package/kernel/mac80211 failed to build (build variant: regular).
make[2]: *** [package/Makefile:116: package/kernel/mac80211/compile] Error 1
make[2]: Leaving directory '/mnt/sdb1/HandsomeMod-master-20221024'
make[1]: *** [package/Makefile:110: /mnt/sdb1/HandsomeMod-master-20221024/staging_dir/target-aarch64_cortex-a53+neon_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/mnt/sdb1/HandsomeMod-master-20221024'
make: *** [/mnt/sdb1/HandsomeMod-master-20221024/include/toplevel.mk:230:world] 错误 2

有没有知道这个是什么问题的?是不是解决起来很麻烦?

luci-theme-argon 主题启动报错

/usr/lib/lua/luci/template.lua:97: Failed to execute template 'sysauth'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'header'.
A runtime error occurred: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'themes/argon/header'.
A runtime error occurred: [string "/usr/lib/lua/luci/view/themes/argon/header...."]:20: attempt to call field 'node_childs' (a nil value)

extra仓库版本还停留在1.x

不清楚是不是因为1.x不支持openwrt-21.02的原因

缺少软件包

提示 kmod-nft-compat 不可用 无法找到相应内核的软件包 部分软件无法使用,
系统 HandsomeMod 21.03-Attila-SNAPSHOT r174-97512a1635 / LuCI openwrt-21.02 branch git-22.154.41894-1cf976c

Feed back your work to official OpenWrt.org (supported devices)?

Ahoj,

it seams to me that you added support for platforms that is not present in the official OpenWrt, e.g. the Qualcomm MSM89xx Family/ UFI 4G Router sticks (https://qust.me/post/msm8916/).

Great work, thanks!

To give back to the community, I suggest that you engage with openwrt.org so that your device supports can be added to mainline OpenWrt. Are you willing to do so?

This would also help long term device support, and people who want to use the latest OpenWrt (development) branch or for some other reasons need the official branch.

What exactly are your changes to upstream OpenWrt to get those devices supported you added support for? Do you have a standalone patch which includes only that?

Here is a forum thread about the MSM89xx based 4G WiFi routers in stick format: https://forum.openwrt.org/t/qualcomm-msm8916-lte-router-384mib-ram-2-4gib-flash-android-openwrt/131712/

Regards!

编译成功后需要如何安装到设备上呢?

得到handsomemod-msm89xx-msm8916-Handsome_handsome-openstick-ufi001c-ext4-boot.img.gz和handsomemod-msm89xx-msm8916-Handsome_handsome-openstick-ufi001c-ext4-system.img.gz,需要如何刷到设备上呢?

可以发一下 UFI001C的配置文件吗求求了

image
我想用你们的hansomemod的openwrt在 UFI001c上跑
我外接的拓展坞 想用rtl8812bu无线网卡和rj45网口 ,然后自己编译出来,没有你们主题又学了openwrt编译主题。已经弄了三天了(好吧主要是电脑慢小新13装的黑果)。
真的好难,我在虚拟机里面编译的,真的啥问题都能让我碰到太离谱了。各种百度google 孩子太难了🥹 。
虚拟机ubuntu用curl还一直报错,要浏览器下载文件才能导入。昨天搞了一晚上到两点才算是成功了结果!! 不能用luci的web页面然后傻傻的去重新编译 (我当时不知道可以opkg install ./luci.ipk 安装本文件)服了这件事告诉我们一个道理!在未知的领域一定要先了解了再冲不然就是头铁送。其实我当那个文件出来我就知道,handsomemod的文件有400M 我的只有78M肯定是插在openwrt的编译.config文件中。我就只想在你们官方系统基础上加个网卡,网口驱动太难了。

哎算了我猜肯定没人看,让我在这吐槽一哈。用这个板子的openwrt自带的wget居然不能连校园网我不理解报错是字段太长。然后插卡下了个curl 认证校园网。驱动不了我的rtl8812bu网卡,这个板子连上校园网也没啥用我哭死,校园网还限制设备!!!(本来还打算当开热点用的)不说了继续研究,我不信了在搞一天弄不出来就不要了

build fail for pinecube

trying to create an image for pinecube fails to compile kmod-video-videobuf2 as missing videobuf2-dma-contig.ko

ERROR: module '/workdir/HandsomeMod/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-sunxi_cortexa7/linux-5.4.111/drivers/media/common/videobuf2/videobuf2-dma-contig.ko' is missing.

modules/camera.mk:79: recipe for target '/workdir/HandsomeMod/bin/targets/sunxi/cortexa7/packages/kmod-video-videobuf2_5.4.111-1_arm_cortex-a7_neon-vfpv4.ipk' failed

LOG: https://github.com/juanesf/OpenWrt-PineCube/runs/2458895752?check_suite_focus=true

请求patch重构

内核不断更新,patch逐渐过时,在移植22.03过程中出现大量报错,在此请求各位大佬联合更新内核patch,适配更新的openwrt,我会在近期更新patch,并在此发布编译遇到的问题,请各位大佬,在此解答,谢谢,如果有大佬愿意一起做patch更新,那更好了

error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"

-DCONF_KERNEL_VERSION_3_10 -DCONF_KERNEL_CMA -L/home/jumbo/HandsomeMod/staging_dir/toolchain-arm_arm926ej-s_gcc-8.4.0_musl_eabi/usr/lib -L/home/jumbo/HandsomeMod/staging_dir/toolchain-arm_arm926ej-s_gcc-8.4.0_musl_eabi/lib -znow -zrelro -I./include -c yuv_rotate.c -o yuv_rotate.c.o -fPIC -shared
In file included from yuv_rotate.c:13:
/home/jumbo/HandsomeMod/staging_dir/toolchain-arm_arm926ej-s_gcc-8.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.4.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
#error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
^~~~~
Makefile:18: recipe for target 'yuv_rotate.c.o' failed
make[4]: *** [yuv_rotate.c.o] Error 1
make[4]: Leaving directory '/home/jumbo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/linux-sunxi_arm9/libuapi-1/src'
Makefile:148: recipe for target '/home/jumbo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/linux-sunxi_arm9/libuapi-1/.built' failed
make[3]: *** [/home/jumbo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/linux-sunxi_arm9/libuapi-1/.built] Error 2
make[3]: Leaving directory '/home/jumbo/HandsomeMod/feeds/handsomefeed/nonfree/allwinner/libuapi'
time: package/feeds/handsomefeed/libuapi/compile#0.09#0.00#0.11
ERROR: package/feeds/handsomefeed/libuapi failed to build.
package/Makefile:114: recipe for target 'package/feeds/handsomefeed/libuapi/compile' failed
make[2]: *** [package/feeds/handsomefeed/libuapi/compile] Error 1
make[2]: Leaving directory '/home/jumbo/HandsomeMod'
package/Makefile:110: recipe for target '/home/jumbo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/jumbo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/jumbo/HandsomeMod'
/home/jumbo/HandsomeMod/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

4G流量不显示

173816mang1aib56ddaiqx
这个是modemmanager的bug还是驱动的bug?还是只有我会这样子?

修改RAM运存的方法,

根据这个方法修改,
OpenStick/OpenStick#7

./target/linux/msm89xx/patches-5.10/0083-arm64-dts-add-support-for-Handsome-Openstick-Family.patch
-----------原 运存 385M -----------
73-87行

  •   mpss_mem: gps_mem: mpss@86800000 {
    
  •   	status = "disabled";
    
  •   	reg = <0x0 0x86800000 0x0 0x5500000>;
    
  •   	no-map;
    
  •   };
    
  •   wcnss_mem: wcnss@8df00000 {
    
  •   	reg = <0x0 0x8df00000 0x0 0x600000>;
    
  •   	no-map;
    
  •   };
    
  •   venus_mem: venus@8e500000 {
    
  •   	reg = <0x0 0x8e500000 0x0 0x500000>;
    
  •   	no-map;
    
  •   };
    

-----------原-----------

mpss_mem: mpss@86800000 {这个是4G模块
gps_mem: gps@8bd00000 {这个是GPS
wcnss_mem: wcnss@8bf00000 {这个是WiFi
venus_mem: venus@8c500000 {这个是是显卡

wcnss_mem据说和WiFi有关,不能修改,wcnss_mem: wcnss@8bf00000 {
修改mpss_mem和venus_mem,0x100000 这个是把内存设置成1M,

搜索 0x5500000 修改

-----------修改 运存 473M -----------
73-87行

  •   mpss_mem: gps_mem: mpss@86800000 {
    
  •   	status = "disabled";
    
  •   	reg = <0x0 0x86800000 0x0 0x100000>;
    
  •   	no-map;
    
  •   };
    
  •   wcnss_mem: wcnss@8df00000 {
    
  •   	reg = <0x0 0x8df00000 0x0 0x600000>;
    
  •   	no-map;
    
  •   };
    
  •   venus_mem: venus@8e500000 {
    
  •   	reg = <0x0 0x8e500000 0x0 0x100000>;
    
  •   	no-map;
    
  •   };
    

-----------修改-----------

尝试移植到snapshot,无线貌似起不来 。。。

如题,附ttl日志:

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.0.C4.4-00010
S - IMAGE_VARIANT_STRING=HAAAANAZA
S - OEM_IMAGE_VERSION_STRING=wingtech-desktop
S - Boot Config, 0x000002e1
S - Core 0 Frequency, 0 MHz
B -      1548 - PBL, Start
B -      3497 - bootable_media_detect_entry, Start
B -     62930 - bootable_media_detect_success, Start
B -     62935 - elf_loader_entry, Start
B -     64232 - auth_hash_seg_entry, Start
B -     64445 - auth_hash_seg_exit, Start
B -     78282 - elf_segs_hash_verify_entry, Start
B -    137648 - PBL, End
B -    144326 - SBL1, Start
B -    208467 - pm_device_init, Start
D -     14853 - pm_device_init, Delta
B -    223931 - boot_flash_init, Start
D -         0 - boot_flash_init, Delta
B -    227957 - boot_config_data_table_init, Start
D -     25559 - boot_config_data_table_init, Delta - (452 Bytes)
B -    258060 - CDT version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B -    264435 - sbl1_ddr_set_params, Start
B -    268064 - cpr_init, Start
D -         0 - cpr_init, Delta
B -    273676 - Pre_DDR_clock_init, Start
D -       183 - Pre_DDR_clock_init, Delta
D -         0 - sbl1_ddr_set_params, Delta
B -    286303 - pm_driver_init, Start
D -      7533 - pm_driver_init, Delta
B -    303383 - clock_init, Start
D -        30 - clock_init, Delta
B -    303475 - Image Load, Start
D -     25559 - QSEE Image Loaded, Delta - (571664 Bytes)
B -    329064 - Image Load, Start
D -       488 - SEC Image Loaded, Delta - (2048 Bytes)
B -    336293 - sbl1_efs_handle_cookies, Start
D -       244 - sbl1_efs_handle_cookies, Delta
B -    344070 - Image Load, Start
D -     18300 - QHEE Image Loaded, Delta - (6808 Bytes)
B -    362370 - Image Load, Start
D -     11987 - RPM Image Loaded, Delta - (145640 Bytes)
B -    374387 - Image Load, Start
D -     21472 - APPSBL Image Loaded, Delta - (224592 Bytes)
B -    395890 - QSEE Execution, Start
D -        61 - QSEE Execution, Delta
B -    401563 - SBL1, End
D -    259616 - SBL1, Delta
S - Flash Throughput, 165000 KB/s  (951204 Bytes,  5764 us)
S - DDR Frequency, 400 MHz
Android Bootloader - UART_DM Initialized!!!
[0] welcome to lk

[0] OpenStick Bootloader V0.01
[0] [Author] HandsomeYingyan <[email protected]>
[0] This Bootloader Has Super Handsome Power!
[0] calling constructors
[0] initializing heap
[0] initializing threads
[0] initializing dpc
[0] initializing timers
[0] creating bootstrap completion thread
[10] top of bootstrap2()
[10] initializing platform
[10] platform_init()
[10] initializing target
[10] target_init()
[30] initialising mmc_slot =1
[40]  Initializing MMC host data structure and clock!
[50] Decoded CID fields:
[50] Manufacturer ID: 90
[60] OEM ID: 0x14a
[60] Product Name: H4G1d
[60] Product revision: 0.5
[60] Product serial number: FA132F1
[70] Manufacturing date: 1 2006
[80] Decoded CSD fields:
[80] cmmc_structure: 3
[80] card_cmd_class: f5
[80] write_blk_len: 512
[80] read_blk_len: 512
[90] r2w_factor: 2
[90] sector_size: 0
[90] c_size_mult:7
[90] c_size: 4095
[90] nsac_clk_cycle: 100
[90] taac_ns: 15000000
[100] tran_speed: 0 kbps
[100] erase_blk_len: 1
[100] read_blk_misalign: 0
[100] write_blk_misalign: 0
[110] read_blk_partial: 0
[110] write_blk_partial: 0
[110] wp_grp_size: 16384
[110] Card Capacity: 3909091328 Bytes
[120] SDHC Running in HS200 mode
[130] Done initialization of the card
[140] erase_grpsize: 31
[140] erase_grpmult: 31
[140] wp_grpsize: 15
[140] wp_grpen: 1
[140] perm_wp: 0
[150] temp_wp: 0
[150] mbr partition table dump:
[150]   0: status 0x0, type 0xee, start 0x1, len 0xffffffff
[160]   1: status 0x0, type 0x0, start 0x0, len 0x0
[160]   2: status 0x0, type 0x0, start 0x0, len 0x0
[160]   3: status 0x0, type 0x0, start 0x0, len 0x0
[170] found GPT
[170] initialising mmc_slot =2
[180]  Initializing MMC host data structure and clock!
[190] Error: Command timeout error
[190] Failure getting OCR response from MMC Card
[190] MMC card failed to respond, try for SD card
[200] Error: Command timeout error
[200] The response for CMD8 does not match the supplied value
[210] Failed to initialize SD card
[210] Failed detecting MMC/SDC @ slot2
[210] sdcard init failed![220] pm8x41_get_is_cold_boot: cold boot
[220] calling apps_init()
[220] serial number: fa132f1
[220] fs-boot: Can't open hd2
[230] Unable to load boot.img from ext2. Continuing legacy boot
[230] Unable to locate /bootselect partition
[240] Loading boot image (5234688): start
[280] Loading boot image (5234688): done
[280] use_signed_kernel=0, is_unlocked=1, is_tampered=0.
[290] decompress image start
[550] decompressed image finished.
[550] smem ram ptable found: ver: 1 len: 4
[560] smem ram ptable found: ver: 1 len: 4
[560] smem ram ptable found: ver: 1 len: 4
[560] smem ram ptable found: ver: 1 len: 4
[570] smem ram ptable found: ver: 1 len: 4
[570] smem ram ptable found: ver: 1 len: 4
[570] smem ram ptable found: ver: 1 len: 4
[580] smem ram ptable found: ver: 1 len: 4
[580] smem ram ptable found: ver: 1 len: 4
[590] qcom,msm-id entry not found
[590] Only one appended non-skales DTB, select it.
[600] target_display_panel_node:510: hw_id=24 panel_name=""
[610] cmdline: earlycon console=tty0 console=ttyMSM0,115200 root=/dev/mmcblk0p14 rw rootwait androidboot.emmc=true androidboot.serialno=fa132f1 androidboot.baseband=msm mdss_mdp.panel=0:dsi:0:
[620] Updating device tree: start
[630] smem ram ptable found: ver: 1 len: 4
[670] Setting WLAN mac address in DT: 02:00:0F:A1:32:F1
[700] Setting Bluetooth BD address in DT: 02:00:0F:A1:32:F0
[700] Setting BT mac address in DT: 02:00:0F:A1:32:F0
[710] Updating device tree: done
[710] booting linux @ 0x80000000, ramdisk @ 0x82000000 (0), tags/device tree @ 0x81e00000
[720] Jumping to kernel via monitor
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd030]
[    0.000000] Linux version 5.10.144 (Wacke@HOME-Server) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r20806-5d09118f8e) 12.2.0, GNU ld (GNU Binutils) 2.39) #0 SMP Sat Oct 1 15:22:26 2022
[    0.000000] Machine model: Handsome OpenStick UFI001C
[    0.000000] earlycon: msm_serial_dm0 at MMIO 0x00000000078b0000 (options '')
[    0.000000] printk: bootconsole [msm_serial_dm0] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000085ffffff]
[    0.000000]   node   0: [mem 0x0000000086000000-0x000000008bcfffff]
[    0.000000]   node   0: [mem 0x000000008bd00000-0x000000008defffff]
[    0.000000]   node   0: [mem 0x000000008df00000-0x000000008eafffff]
[    0.000000]   node   0: [mem 0x000000008eb00000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x000000009d400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] psci: OSI mode supported.
[    0.000000] percpu: Embedded 22 pages/cpu s49880 r8192 d32040 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line: earlycon console=tty0 console=ttyMSM0,115200 root=/dev/mmcblk0p14 rw rootwait androidboot.emmc=true androidboot.serialno=fa132f1 androidboot.baseband=msm mdss_mdp.panel=0:dsi:0:
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 360492K/524288K available (8062K kernel code, 970K rwdata, 2236K rodata, 1344K init, 302K bss, 131028K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (phys/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000004] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.010870] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.018750] pid_max: default: 32768 minimum: 301
[    0.029303] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.033942] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.042625] rcu: Hierarchical SRCU implementation.
[    0.049109] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.054085] smp: Bringing up secondary CPUs ...
[    0.061693] Detected VIPT I-cache on CPU1
[    0.061749] CPU1: Booted secondary processor 0x0000000001 [0x410fd030]
[    0.062415] Detected VIPT I-cache on CPU2
[    0.062461] CPU2: Booted secondary processor 0x0000000002 [0x410fd030]
[    0.063104] Detected VIPT I-cache on CPU3
[    0.063145] CPU3: Booted secondary processor 0x0000000003 [0x410fd030]
[    0.063230] smp: Brought up 1 node, 4 CPUs
[    0.097219] SMP: Total of 4 processors activated.
[    0.101294] CPU features: detected: 32-bit EL0 Support
[    0.106069] CPU features: detected: CRC32 instructions
[    0.111109] CPU features: detected: 32-bit EL1 Support
[    0.116297] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.122364] CPU: All CPU(s) started at EL2
[    0.129621] alternatives: patching kernel code
[    0.144366] KASLR disabled due to lack of seed
[    0.144620] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147714] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.158991] pinctrl core: initialized pinctrl subsystem
[    0.166299] NET: Registered protocol family 16
[    0.171387] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.174106] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.181361] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.189495] thermal_sys: Registered thermal governor 'step_wise'
[    0.190752] cpuidle: using governor menu
[    0.203175] ASID allocator initialised with 65536 entries
[    0.236332] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.236367] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.242097] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.248807] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.256747] cryptd: max_cpu_qlen set to 1000
[    0.264690] iommu: Default domain type: Translated 
[    0.266629] SCSI subsystem initialized
[    0.271187] usbcore: registered new interface driver usbfs
[    0.274862] usbcore: registered new interface driver hub
[    0.280337] usbcore: registered new device driver usb
[    0.286249] pps_core: LinuxPPS API ver. 1 registered
[    0.290704] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.295765] PTP clock support registered
[    0.305162] CPUidle PSCI: Initialized CPU PM domain topology
[    0.310144] qcom_scm: convention: smc arm 32
[    0.316225] clocksource: Switched to clocksource arch_sys_counter
[    0.318914] VFS: Disk quotas dquot_6.6.0
[    0.324702] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.329561] NET: Registered protocol family 2
[    0.335463] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.340339] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.346907] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.355162] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.363184] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370234] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.376586] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.383050] NET: Registered protocol family 1
[    0.390289] kvm [1]: IPA Size Limit: 40 bits
[    0.394916] kvm [1]: vgic interrupt IRQ9
[    0.398896] kvm [1]: Hyp mode initialized successfully
[    0.404263] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.412076] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.414069] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.480075] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.481119] msm_serial 78b0000.serial: msm_serial: detected port #0
[    0.485514] msm_serial 78b0000.serial: uartclk = 7372800
[    0.491596] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 29, base_baud = 460800y+HH��0.505497] printk: console [ttyMSM0] enabled
[    0.505497] printk: console [ttyMSM0] enabled
[    0.508828] printk: bootconsole [msm_serial_dm0] disabled
[    0.508828] printk: bootconsole [msm_serial_dm0] disabled
[    0.519177] msm_serial: driver initialized
[    0.524301] qcom-iommu 1ef0000.iommu: iommu sec: pgtable size: 94208
[    0.555068] loop: module loaded
[    0.555850] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    0.589509] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.589545] ehci-platform: EHCI generic platform driver
[    0.595082] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.600089] ohci-platform: OHCI generic platform driver
[    0.606509] usbcore: registered new interface driver usb-storage
[    0.625778] rtc-pm8xxx 200f000.spmi:pmic@0:rtc@6000: registered as rtc0
[    0.625867] rtc-pm8xxx 200f000.spmi:pmic@0:rtc@6000: setting system clock to 1970-01-01T16:08:55 UTC (58135)
[    0.631363] i2c /dev entries driver
[    0.653837] sdhci: Secure Digital Host Controller Interface driver
[    0.653873] sdhci: Copyright(c) Pierre Ossman
[    0.658938] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.665175] ledtrig-cpu: registered to indicate activity on CPUs
[    0.670662] genirq: irq_chip msmgpio did not update eff. affinity mask of irq 63
[    0.679431] NET: Registered protocol family 10
[    0.683326] Segment Routing with IPv6
[    0.686788] NET: Registered protocol family 17
[    0.690455] 8021q: 802.1Q VLAN Support v1.8
[    0.695039] registered taskstats version 1
[    0.730233] s3: Bringing 0uV into 1200000-1200000uV
[    0.730434] s3: supplied by regulator-dummy
[    0.733963] s4: Bringing 0uV into 1800000-1800000uV
[    0.738258] s4: supplied by regulator-dummy
[    0.742986] l1: Bringing 0uV into 1225000-1225000uV
[    0.747240] l1: supplied by s3
[    0.752014] l2: Bringing 0uV into 1200000-1200000uV
[    0.755216] l2: supplied by s3
[    0.759932] l4: Bringing 0uV into 2050000-2050000uV
[    0.763096] l4: supplied by s4
[    0.767827] l5: Bringing 0uV into 1800000-1800000uV
[    0.770992] l5: supplied by s4
[    0.775710] l6: Bringing 0uV into 1800000-1800000uV
[    0.778912] l6: supplied by s4
[    0.783633] l7: Bringing 0uV into 1800000-1800000uV
[    0.786808] l7: supplied by s4
[    0.791515] l8: Bringing 0uV into 2850000-2850000uV
[    0.794712] l8: supplied by regulator-dummy
[    0.799433] l9: Bringing 0uV into 3300000-3300000uV
[    0.803653] l9: supplied by regulator-dummy
[    0.808472] l10: Bringing 0uV into 2700000-2700000uV
[    0.812679] l10: supplied by regulator-dummy
[    0.817838] l11: Bringing 0uV into 1800000-1800000uV
[    0.822142] l11: supplied by regulator-dummy
[    0.827036] l12: Bringing 0uV into 1800000-1800000uV
[    0.831342] l12: supplied by regulator-dummy
[    0.836261] l13: Bringing 0uV into 3075000-3075000uV
[    0.840555] l13: supplied by regulator-dummy
[    0.845425] l14: Bringing 0uV into 1800000-1800000uV
[    0.849764] l14: supplied by regulator-dummy
[    0.854630] l15: Bringing 0uV into 1800000-1800000uV
[    0.858962] l15: supplied by regulator-dummy
[    0.863850] l16: Bringing 0uV into 1800000-1800000uV
[    0.868173] l16: supplied by regulator-dummy
[    0.873037] l17: Bringing 0uV into 2850000-2850000uV
[    0.877263] l17: supplied by regulator-dummy
[    0.882855] l18: Bringing 0uV into 2700000-2700000uV
[    0.886636] l18: supplied by regulator-dummy
[    0.893241] debugfs: Directory '4a9000.thermal-sensor' with parent 'tsens' already present!
[    0.8978�[    0.937761] mmc0: SDHCI controller on 7824900.sdhci [7824900.sdhci] using ADMA 64-bit
[    0.938241] Waiting for root device /dev/mmcblk0p14...
[    1.045532] mmc0: new HS200 MMC card at address 0001
[    1.046308] mmcblk0: mmc0:0001 H4G1d 3.64 GiB 
[    1.049805] mmcblk0boot0: mmc0:0001 H4G1d partition 1 4.00 MiB
[    1.054044] mmcblk0boot1: mmc0:0001 H4G1d partition 2 4.00 MiB
[    1.059833] mmcblk0rpmb: mmc0:0001 H4G1d partition 3 4.00 MiB, chardev (245:0)
[    1.068877]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14
[    1.104935] EXT4-fs (mmcblk0p14): warning: mounting unchecked fs, running e2fsck is recommended
[    1.107034] EXT4-fs (mmcblk0p14): mounted filesystem without journal. Opts: (null)
[    1.112479] VFS: Mounted root (ext4 filesystem) on device 179:14.
[    1.120983] Freeing unused kernel memory: 1344K
[    1.186829] Run /sbin/init as init process
[    1.226944] init: Console is alive
[    1.227147] init: - watchdog -
[    1.364074] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.429327] Key type encrypted registered
[    1.447548] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: [email protected]
[    1.455666] ehci-fsl: Freescale EHCI Host controller driver
[    1.460252] usbcore: registered new interface driver uas
[    1.460713] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.473747] init: - preinit -
[    1.584782] random: jshn: uninitialized urandom read (4 bytes read)
[    1.597839] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    3.690446] mount_root: mounting /dev/root
[    3.692391] EXT4-fs (mmcblk0p14): re-mounted. Opts: (null)
[    3.693582] mount_root: loading kmods from internal overlay
[    3.720091] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    3.722130] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    3.870922] block: attempting to load /etc/config/fstab
[    3.871895] block: extroot: not configured
[    3.878027] urandom-seed: Seeding with /etc/urandom.seed
[    3.892230] procd: - early -
[    3.892343] procd: - watchdog -
[    4.422071] procd: - watchdog -
[    4.422811] procd: - ubus -
[    4.430189] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.474445] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.474689] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.484581] procd: - init -
[    4.614636] urngd: v1.0.2 started.
[    4.644650] random: crng init done
[    4.644676] random: 27 urandom warning(s) missed due to ratelimiting
[    4.658263] kmodloader: loading kernel modules from /etc/modules.d/*
[    4.688690] NET: Registered protocol family 42
[    4.803190] cryptodev: driver 1.12 loaded.
[    4.815574] Bluetooth: Core ver 2.22
[    4.815695] NET: Registered protocol family 31
[    4.818237] Bluetooth: HCI device and connection manager initialized
[    4.822474] Bluetooth: HCI socket layer initialized
[    4.828995] Bluetooth: L2CAP socket layer initialized
[    4.833590] Bluetooth: SCO socket layer initialized
[    4.848120] remoteproc remoteproc0: 4080000.remoteproc is available
[    4.852836] remoteproc remoteproc1: a204000.remoteproc is available
[    4.856611] remoteproc remoteproc1: powering up a204000.remoteproc
[    4.859461] remoteproc remoteproc1: Booting fw image wcnss.mdt, size 7260
[    4.911771] hid: raw HID events driver (C) Jiri Kosina
[    4.927539] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.927565] Bluetooth: BNEP filters: protocol multicast
[    4.931921] Bluetooth: BNEP socket layer initialized
[    4.940739] usbcore: registered new interface driver btusb
[    4.943126] usbcore: registered new interface driver cdc_wdm
[    4.948441] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[    4.953180] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[    4.963129] Bluetooth: HCI UART driver ver 2.3
[    4.967088] Bluetooth: HCI UART protocol H4 registered
[    4.971491] Bluetooth: HCI UART protocol BCSP registered
[    4.976714] Bluetooth: HCI UART protocol QCA registered
[    4.983476] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.987060] Bluetooth: HIDP socket layer initialized
[    4.994176] hso: drivers/net/usb/hso.c: Option Wireless
[    4.998257] usbcore: registered new interface driver hso
[    5.034005] Bluetooth: RFCOMM TTY layer initialized
[    5.034042] Bluetooth: RFCOMM socket layer initialized
[    5.037775] Bluetooth: RFCOMM ver 1.11
[    5.044713] usbcore: registered new interface driver ums-alauda
[    5.047276] usbcore: registered new interface driver ums-cypress
[    5.053103] usbcore: registered new interface driver ums-datafab
[    5.059366] usbcore: registered new interface driver ums-freecom
[    5.065343] usbcore: registered new interface driver ums-isd200
[    5.071405] usbcore: registered new interface driver ums-jumpshot
[    5.077164] usbcore: registered new interface driver ums-karma
[    5.083359] usbcore: registered new interface driver ums-sddr09
[    5.089101] usbcore: registered new interface driver ums-sddr55
[    5.094876] usbcore: registered new interface driver ums-usbat
[    5.107097] usbcore: registered new interface driver usbserial_generic
[    5.107190] usbserial: USB Serial support registered for generic
[    5.115429] wireguard_obf: WireGuard Obfuscated 1.0.20220627 loaded. See www.wireguard.com for information.
[    5.118734] wireguard_obf: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    5.141408] xt_time: kernel timezone is -0000
[    5.142284] usbcore: registered new interface driver cdc_eem
[    5.146101] usbcore: registered new interface driver cdc_ether
[    5.152608] usbcore: registered new interface driver cdc_ncm
[    5.157061] usbcore: registered new interface driver cdc_subset
[    5.239775] PPP generic driver version 2.4.2
[    5.241280] NET: Registered protocol family 24
[    5.244449] usbcore: registered new interface driver qmi_wwan
[    5.249109] usbcore: registered new interface driver rndis_host
[    5.254466] usbcore: registered new interface driver sierra_net
[    5.267221] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    5.267248] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    5.280346] usbcore: registered new interface driver cdc_mbim
[    5.286559] usbcore: registered new interface driver option
[    5.289374] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.298141] kmodloader: done loading kernel modules from /etc/modules.d/*
[    5.351881] remoteproc remoteproc1: remote processor a204000.remoteproc is now up
[    5.472435] qcom_wcnss_ctrl remoteproc1:smd-edge.WCNSS_CTRL.-1.-1: WCNSS Version 1.5 1.2
[    5.506694] wcn36xx: mac address: 02:00:0f:a1:32:f1
[    7.115267] udevd[1699]: starting version 3.2.10
[    7.141709] udevd[1699]: specified group 'tty' unknown
[    7.142022] udevd[1699]: specified group 'kmem' unknown
[    7.145885] udevd[1699]: specified group 'input' unknown
[    7.151150] udevd[1699]: specified group 'video' unknown
[    7.156885] udevd[1699]: specified group 'lp' unknown
[    7.161919] udevd[1699]: specified group 'disk' unknown
[    7.166846] udevd[1699]: specified group 'cdrom' unknown
[    7.172029] udevd[1699]: specified group 'tape' unknown
[    7.177698] udevd[1699]: specified group 'kvm' unknown
[    7.424992] udevd[1704]: starting eudev-3.2.10
[    7.556257] Bluetooth: hci0: command 0xfc0b tx timeout
[   10.717071] using random self ethernet address
[   10.717102] using random host ethernet address
[   10.724728] file system registered
[   10.805709] read descriptors
[   10.805747] read strings
[   12.796048] usb0: HOST MAC 72:e7:bd:1d:36:c7
[   12.796076] usb0: MAC a2:6b:7b:5f:15:06
[   12.799866] l13: voltage operation not allowed
[   14.184910] remoteproc remoteproc0: powering up 4080000.remoteproc
[   14.188081] remoteproc remoteproc0: Booting fw image mba.mbn, size 230272
[   14.188234] br-lan: port 1(usb0) entered blocking state
[   14.192331] qcom-wcnss-pil a204000.remoteproc: unexpected response to sysmon event
[   14.196904] br-lan: port 1(usb0) entered disabled state
[   14.197121] device usb0 entered promiscuous mode
[   14.217100] br-lan: port 1(usb0) entered blocking state
[   14.219501] br-lan: port 1(usb0) entered forwarding state
[   14.256753] qcom-q6v5-mss 4080000.remoteproc: MBA booted without debug policy, loading mpss
[   15.044896] remoteproc remoteproc0: remote processor 4080000.remoteproc is now up
[   40.224915] br-lan: port 1(usb0) entered disabled state
[   40.229060] device usb0 left promiscuous mode
[   40.229185] br-lan: port 1(usb0) entered disabled state
[   42.698608] br-lan: port 1(usb0) entered blocking state
[   42.698639] br-lan: port 1(usb0) entered disabled state
[   42.702902] device usb0 entered promiscuous mode
[   42.710341] br-lan: port 1(usb0) entered blocking state
[   42.712705] br-lan: port 1(usb0) entered forwarding state
[   43.726279] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

实在想不到哪里出问题了,求助。。。

想编译wireguard到openwrt,问题如下

是不是缺少依赖libblake2s.ko,百度一下,有解决方法但不适用,想请教一下如何解决
https://github.com/coolsnowwolf/lede/issues/9483

Package kmod-wireguard is missing dependencies for the following libraries:
libblake2s.ko
make[3]: *** [modules/netsupport.mk:1286: /root/HandsomeMod/bin/targets/msm89xx/msm8916/packages/kmod-wireguard_5.10.33-1_aarch64_cortex-a53_neon.ipk] Error 1
make[3]: Leaving directory '/root/HandsomeMod/package/kernel/linux'
time: package/kernel/linux/compile#3.41#0.68#7.85
    ERROR: package/kernel/linux failed to build.
make[2]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1
make[2]: Leaving directory '/root/HandsomeMod'
make[1]: *** [package/Makefile:110: /root/HandsomeMod/staging_dir/target-aarch64_cortex-a53+neon_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/root/HandsomeMod'
make: *** [/root/HandsomeMod/include/toplevel.mk:230:world] 错误 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.