您尚未登录。

楼主 # 2021-10-05 13:21:07

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

基于最新的Openwrt 21.02稳定版和主线5.4内核,不定期更新。
不保证所有的和图形框架有关的软件包在任何情况下都能够成功编译。

主要特性
- 内核集成了aodzip大佬的buildroot-tiny200内核补丁,基本上buildroot-tiny200支持的都能支持。
- 默认开启RT_PREEMPT实时补丁。
- 支持全志的csi,drm,mali gpu,编解码器,声卡,musb驱动作为kmod软件包编译。
- 支持network-manager,直接可以取代原来的netifd。
- 加入usb gadget支持。
- kmod软件包的csi支持。
- 支持adb调试。
- 加入鼠标支持。
- esp8089网卡支持(信号可能很弱)。
- 一些型号的触摸屏支持。
- 加入vbox、vmware的drm驱动,方便在虚拟机里调试。
- 支持directfb、sdl2、gtk3、qt5、wayland、xorg、lvgl等框架(gtk3、xorg有点问题)。
- wiringpi的主线移植(支持tiny200)。
- 加入全志的libcedarx库,可以通过gstreamer硬解。

相较于原版新加入的平台 (基本上就只能过个编译)
- imx6ull
- msm8916
- loongson64

相较于原版新加入的板子
- widora tiny200 v2 & v3 (mangopi)
- pine64 pinecube
- friendlyarm nanopi duo2
- sipeed lichee pi zero
- sipeed lichee pi nano
- sinlinx sina33 v3
- sinlinx sinv3s (触摸没调通)
- 某个山寨的A33平板 (q8 tablet)
- 正点原子的imx6ull板子 (基本上就只能跑下串口输出)
- 红米2 (基本上就只能跑下串口输出)

欢迎star!
项目本体

离线

#1 2021-10-05 14:01:09

拉轰的脚踏车
会员
注册时间: 2020-03-20
已发帖子: 288
积分: 222

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

csi,drm,mali gpu,编解码器

这些驱动真的都支持吗?

离线

楼主 #2 2021-10-05 21:32:23

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

拉轰的脚踏车 说:

csi,drm,mali gpu,编解码器

这些驱动真的都支持吗?

当然支持。除了sun4i-csi没设备试以外,其他的都在实机上试过可以工作。

离线

#3 2021-10-05 22:31:30

unturned3
会员
注册时间: 2020-07-01
已发帖子: 271
积分: 300

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

看起来硬件支持很全面啊,顶一下

编解码器是指 video encoder、decoder 吗?在 V3s 上能用?是通过gstreamer、ffmpeg 来调用?

最近编辑记录 unturned3 (2021-10-05 22:32:18)

离线

#4 2021-10-05 22:55:30

memory
会员
注册时间: 2021-08-11
已发帖子: 482
积分: 458

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

请问编译的时候如何选择 V3s / F1C200s / A33 ?

离线

#5 2021-10-06 10:00:22

uuid
会员
注册时间: 2020-12-08
已发帖子: 45
积分: 31

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

搭车请教楼主一个问题,全志的sdk tina 用的是 openwrt 14.07,请问这个版本怎么添加 Qt 支持?

离线

楼主 #6 2021-10-06 10:29:20

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

unturned3 说:

看起来硬件支持很全面啊,顶一下

编解码器是指 video encoder、decoder 吗?在 V3s 上能用?是通过gstreamer、ffmpeg 来调用?

就是 video encoder、decoder,v3s内存有点小,通过gstreamer + omx勉强能用,ffmpeg没改过,只能软解。

memory 说:

请问编译的时候如何选择 V3s / F1C200s / A33 ?

make menuconfig第一个选项选上allwinner soc subtarget里就可以选了。

uuid 说:

搭车请教楼主一个问题,全志的sdk tina 用的是 openwrt 14.07,请问这个版本怎么添加 Qt 支持?

tina的软件包里有qt5,应该直接选上就能编译了,没弄过不是很清楚。

离线

#7 2021-10-06 17:41:42

unturned3
会员
注册时间: 2020-07-01
已发帖子: 271
积分: 300

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

哇,能用 video encoder、decoder 那就太好了,我有空赶紧试试

GitHub 上已经 star 了!

离线

#8 2021-10-07 14:41:39

shawn.d
会员
注册时间: 2020-09-12
已发帖子: 164
积分: 95

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

能SPI NAND启动不?

离线

#9 2021-10-07 20:42:15

电子垃圾专业户
封禁
注册时间: 2021-10-07
已发帖子: 21
积分: 22

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

用了视频硬件编解码估计内存就没多少了!能干什么?网络摄像头不能做,猫眼不能做,防瞌睡检测不能做,只有做做串口屏,唱戏机,口袋游戏机,智能家居网关,交通防炸智能广播音箱才能维持得了生活那样子。

离线

#10 2021-10-08 10:42:47

奔跑的孩子
会员
注册时间: 2021-01-28
已发帖子: 51
积分: 31.5

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

https://github.com/tinalinux/package/tree/r16-v2.1.y/qt/qt5

有些版本的tina确实自带了 Qt5

离线

#11 2021-10-08 17:35:23

小王子&木头人
会员
注册时间: 2018-05-08
已发帖子: 72
积分: 4

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

该评论内容与本帖子无关,鼓励各位坑友积极发言讨论与帖子有关的内容!

离线

  • 不通过:与技术无关

#12 2021-10-09 08:43:22

sunxiang
会员
注册时间: 2021-05-05
已发帖子: 222
积分: 121

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

@handsomehacker
楼主,我也没有玩过openwrt,是不是我的v3s挂载了esp0889,然后也接了网口,就可以当无线路由器来使用了???

最近编辑记录 sunxiang (2021-10-09 08:44:15)

离线

楼主 #13 2021-10-09 10:52:43

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

shawn.d 说:

能SPI NAND启动不?

暂时不能。但是内核和u-boot都支持spi nand。

sunxiang 说:

@handsomehacker
楼主,我也没有玩过openwrt,是不是我的v3s挂载了esp0889,然后也接了网口,就可以当无线路由器来使用了???

当然可以,但是esp8089没在luci里面试过,不知道luci可不可以认出来。

离线

#14 2021-10-09 12:25:38

LinjieGuo
Moderator
注册时间: 2019-07-24
已发帖子: 583
积分: 587
个人网站

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

请问HandsomeMod 是什么含义呢?

离线

#15 2021-10-09 13:54:27

deeyi
会员
注册时间: 2021-10-02
已发帖子: 7
积分: 1.5

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

请问HandsomeMod 是什么含义呢?

离线

#16 2021-10-09 17:52:04

shawn.d
会员
注册时间: 2020-09-12
已发帖子: 164
积分: 95

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

@handsomehacker
应该解决两个问题就可以从SPI NAND启动了一个是boot要跳着烧写,一个是ubifs.

离线

#17 2021-10-09 18:16:07

unturned3
会员
注册时间: 2020-07-01
已发帖子: 271
积分: 300

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

哦,对了,还有个关于 video decoder、encoder 的问题:libcedar 是全志官方的库吗?是一个闭源的二进制包还是什么东西?gstreamer 又是怎么使用 libcedar的呢?麻烦大佬解释一下,多谢多谢

离线

#18 2021-10-10 06:18:34

hoel
会员
注册时间: 2019-06-15
已发帖子: 96
积分: 31

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

unturned3 说:

哦,对了,还有个关于 video decoder、encoder 的问题:libcedar 是全志官方的库吗?是一个闭源的二进制包还是什么东西?gstreamer 又是怎么使用 libcedar的呢?麻烦大佬解释一下,多谢多谢

libcedar 是官方的 allwinner 驱动程序,它不再是真正接近的。 要获得不错的性能,您可能想要尝试 CedarXPlayerTest,它是一个只能作为二进制文件使用的可执行文件

离线

#19 2021-10-19 21:42:49

小王子&木头人
会员
注册时间: 2018-05-08
已发帖子: 72
积分: 4

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

编译f1c100s时发生错误

../../../../build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/meson.build:239: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
../../../../build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/meson.build:239: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
Found pkg-config: /home/leo/HandsomeMod/staging_dir/host/bin/pkg-config (1.7.3)
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency uuid found: YES 2.36.1
Found CMake: /home/leo/HandsomeMod/staging_dir/host/bin/cmake (3.19.1)
Run-time dependency libelogind found: NO (tried pkgconfig and cmake)
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency libudev found: YES 243
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency dbus-1 found: YES 1.13.12
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency libndp found: YES 1.7
Run-time dependency jansson found: NO (tried pkgconfig and cmake)
Run-time dependency libsystemd found: NO (tried pkgconfig and cmake)
Run-time dependency libsystemd-login found: NO (tried pkgconfig and cmake)
Run-time dependency systemd found: NO (tried pkgconfig and cmake)
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency gio-unix-2.0 found: YES 2.66.4
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency gmodule-2.0 found: YES 2.66.4
Library dl found: YES
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency udev found: YES 243
Run-time dependency nss found: NO (tried pkgconfig and cmake)
Using 'PKG_CONFIG_PATH' from environment with value: '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/lib/pkgconfig:/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/usr/share/pkgconfig'
Run-time dependency gnutls found: YES 3.7.1
Has header "pppd/pppd.h" : YES
Program pppd /sbin/pppd /usr/sbin/pppd found: NO

../../../../build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/meson.build:572:4: ERROR: Assert failed: pppd required but not found, please provide a valid pppd path or use -Dppp=false to disable it

A full log can be found at /home/leo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/openwrt-build/meson-logs/meson-log.txt
Makefile:157: recipe for target '/home/leo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/.configured_a17fb5ef857664f03cd0ce37cc5ea591' failed
make[3]: *** [/home/leo/HandsomeMod/build_dir/target-arm_arm926ej-s_musl_eabi/NetworkManager-1.32.2/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 1
make[3]: Leaving directory '/home/leo/HandsomeMod/feeds/handsomefeed/utils/network-manager'
time: package/feeds/handsomefeed/network-manager/compile#11.12#0.71#12.15
    ERROR: package/feeds/handsomefeed/network-manager failed to build.
package/Makefile:112: recipe for target 'package/feeds/handsomefeed/network-manager/compile' failed
make[2]: *** [package/feeds/handsomefeed/network-manager/compile] Error 1
make[2]: Leaving directory '/home/leo/HandsomeMod'
package/Makefile:108: recipe for target '/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/leo/HandsomeMod/staging_dir/target-arm_arm926ej-s_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/leo/HandsomeMod'
/home/leo/HandsomeMod/include/toplevel.mk:228: recipe for target 'world' failed
make: *** [world] Error 2

离线

#20 2021-10-20 01:13:43

hoel
会员
注册时间: 2019-06-15
已发帖子: 96
积分: 31

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

安装缺少的依赖项,pppd 或使用日志中的标志禁用它
-Dppp=false

离线

#21 2021-10-20 22:18:08

小王子&木头人
会员
注册时间: 2018-05-08
已发帖子: 72
积分: 4

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

hoel 说:

安装缺少的依赖项,pppd 或使用日志中的标志禁用它
-Dppp=false

试过了 会导致后续问题

离线

楼主 #22 2021-10-21 18:49:27

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

小王子&木头人 说:
hoel 说:

安装缺少的依赖项,pppd 或使用日志中的标志禁用它
-Dppp=false

试过了 会导致后续问题

你是在选networkmanager之后选了luci是吗?目前还不支持这么搭配,即使编译成功luci也是废的,networkmanager还不支持ubus。
如果需要luci建议还是用netifd,netifd和networkmanager这两个包是有冲突的。
现在networkmanager的ppp的支持已经关掉了,应该在ppp存在的情况下以后不会出现这个错了。

最近编辑记录 handsomehacker (2021-10-21 18:52:00)

离线

#23 2021-10-21 22:00:52

varzhou
会员
注册时间: 2020-07-14
已发帖子: 108
积分: 2

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

大佬牛逼,请问一下关于qcom和mtk的,大佬是如何获取到相关的patch的?

离线

#24 2021-11-03 09:57:59

小王子&木头人
会员
注册时间: 2018-05-08
已发帖子: 72
积分: 4

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

不自持spi nand启动呢

离线

#25 2021-12-01 08:04:39

kwongwo
会员
注册时间: 2020-11-17
已发帖子: 37
积分: 19

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

感谢 @handsomehacker ,最近拿到歪哥的 V3S (sipeed lichee pi 核心板) 路由器,想 试一下 ,但是发现 只有SD卡的固件,请问能支持 SPI-NOR FLASH的profile么?

离线

#26 2021-12-01 14:52:28

qiushui_007
会员
注册时间: 2021-12-01
已发帖子: 1
积分: 1

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

各位高手们, 有在centos7.9下编译成功的吗?

离线

楼主 #27 2021-12-01 16:17:10

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

kwongwo 说:

感谢 @handsomehacker ,最近拿到歪哥的 V3S (sipeed lichee pi 核心板) 路由器,想 试一下 ,但是发现 只有SD卡的固件,请问能支持 SPI-NOR FLASH的profile么?

未来计划支持spi nor和一些其他的启动介质。正在考虑加入dtb overlay或者直接patch设备树的功能,在不改变target的情况下生成适用于不同启动介质的镜像。
但是最近比较忙,没时间折腾。这里有个适用于orangepi (h3)的spi nor makefile,急需要的话可以先参考一下。

https://github.com/melsem/openwrt-19.07.7-spi/blob/master/target/linux/sunxi/image/cortexspi-a7.mk

离线

#28 2021-12-03 13:37:41

kwongwo
会员
注册时间: 2020-11-17
已发帖子: 37
积分: 19

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

@handsomehacker
好的,谢谢哈, 对openwrt的编译不太熟悉, 只能等您更新了.

这个MK文件改一下,然后是不是还要增加一个对应的dts文件,就可以了?

离线

楼主 #29 2021-12-03 14:29:37

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

kwongwo 说:

@handsomehacker
好的,谢谢哈, 对openwrt的编译不太熟悉, 只能等您更新了.

这个MK文件改一下,然后是不是还要增加一个对应的dts文件,就可以了?

还需要加u-boot的设备树和defconfig。

离线

#30 2021-12-03 16:54:00

yang_AE86
会员
注册时间: 2021-10-19
已发帖子: 16
积分: 12

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

有支持D1S/F133计划吗?仰望大佬

离线

#31 2021-12-06 15:15:33

kwongwo
会员
注册时间: 2020-11-17
已发帖子: 37
积分: 19

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

handsomehacker 说:
kwongwo 说:

@handsomehacker
好的,谢谢哈, 对openwrt的编译不太熟悉, 只能等您更新了.

这个MK文件改一下,然后是不是还要增加一个对应的dts文件,就可以了?

还需要加u-boot的设备树和defconfig。


谢谢, 如果 u-boot原来支持了NOR-FLASH 启动的话,是不是只要改一下您提供的那个参考 makefile和加一个 dts,还有改一下 defconfig就可以了?

离线

#32 2021-12-30 21:02:59

Iron
会员
注册时间: 2018-10-23
已发帖子: 65
积分: 29.5
个人网站

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

cool 楼主厉害的狠,👍

离线

#33 2022-02-16 13:06:58

zhongtao1701
会员
注册时间: 2022-02-05
已发帖子: 29
积分: 20

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

首先谢谢大侠handsomehacker 分享,我用sipeed-licheepi-zero-dock的配置构建一个版本,板子是淘宝sipeed店购买Zero拓展板,就是底板和核心板是一起的烧录到SD卡,能够顺利启动,其中以太网可以正常使用, 但是USB的OTG不能正常工作,我使用的是一根micro转OTG延长线,外接一个U盘或FTDI232,我首先用sipeed的版本验证了硬件,发现可以正确枚举设备,后面是分别插U盘和FTDI232的记录。

1) U盘

licheepi# [   64.170092] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (98, VALID), retry #0, port1 00000100
[   69.350072] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   69.552104] usb-storage 1-1:1.0: USB Mass Storage device detected
[   69.561298] scsi host0: usb-storage 1-1:1.0
[   70.571234] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.02 PQ: 0 ANSI: 0 CCS
[   70.587025] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  349.448511] usb 1-1: USB disconnect, device number 2

2) FTDI232
[  352.950057] usb 2-1: new full-speed USB device number 2 using ohci-platform


使用HandSomeMd/openwrt,插入设备,系统没有反应,但是会给设备供电,后面是完整的启动记录,  好像USB的驱动都已经加载,
不知道还需要调整些什么,谢谢!

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.171 (forlinx@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r152-de59cfa486)) #0 SMP Sun Feb 6 02:27:36 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero With Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 15 pages/cpu s30924 r8192 d22324 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 14971
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 swiotlb=1 rootwait
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 46692K/60416K available (6625K kernel code, 423K rwdata, 1808K rodata, 2048K init, 245K bss, 13724K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2fc/0x4ac with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000285] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000545] Console: colour dummy device 80x30
[    0.000849] printk: console [tty0] enabled
[    0.000915] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000946] pid_max: default: 32768 minimum: 301
[    0.001159] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001194] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.002304] CPU: Testing write buffer coherency: ok
[    0.002928] /cpus/cpu@0 missing clock-frequency property
[    0.002978] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003859] Setting up static identity map for 0x40200000 - 0x40200060
[    0.004141] rcu: Hierarchical SRCU implementation.
[    0.004786] smp: Bringing up secondary CPUs ...
[    0.004831] smp: Brought up 1 node, 1 CPU
[    0.004848] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.004863] CPU: All CPU(s) started in HYP mode.
[    0.004875] CPU: Virtualization extensions available.
[    0.008774] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.009208] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009261] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.009535] pinctrl core: initialized pinctrl subsystem
[    0.011408] NET: Registered protocol family 16
[    0.011969] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013273] No ATAGs?
[    0.065328] SCSI subsystem initialized
[    0.068291] usbcore: registered new interface driver usbfs
[    0.068449] usbcore: registered new interface driver hub
[    0.068554] usbcore: registered new device driver usb
[    0.068762] pps_core: LinuxPPS API ver. 1 registered
[    0.068786] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.068835] PTP clock support registered
[    0.069212] Advanced Linux Sound Architecture Driver Initialized.
[    0.074288] clocksource: Switched to clocksource arch_sys_counter
[    0.081660] thermal_sys: Registered thermal governor 'step_wise'
[    0.082055] NET: Registered protocol family 2
[    0.082358] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.082949] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.083030] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083071] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.083106] TCP: Hash tables configured (established 1024 bind 1024)
[    0.083270] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083339] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083659] NET: Registered protocol family 1
[    0.097606] kvm [1]: vgic interrupt IRQ16
[    0.097737] kvm [1]: Hyp mode initialized successfully
[    0.100216] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.107483] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.107716] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.124777] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.130284] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.131521] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.131768] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.132047] pwm-backlight backlight: invalid default brightness level: 50, using 10
[    0.138549] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.140777] printk: console [ttyS0] disabled
[    0.161081] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 35, base_baud = 1500000) is a U6_16550A
[    0.719973] printk: console [ttyS0] enabled
[    0.732641] loop: module loaded
[    0.737784] libphy: Fixed MDIO Bus: probed
[    0.742814] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    0.749326] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    0.755477] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.761290] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.773114] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 38000 (expect 58000)
[    0.782611] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.789901] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.797155] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.802124] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.808929] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.814605] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.820282] dwmac-sun8i 1c30000.ethernet: device MAC address d2:a1:ba:33:84:75
[    0.827848] libphy: stmmac: probed
[    0.832037] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    0.838445] libphy: mdio_mux: probed
[    0.842070] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    0.848494] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    0.857181] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.863746] ehci-platform: EHCI generic platform driver
[    0.869510] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.875220] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.883179] ehci-platform 1c1a000.usb: irq 39, io mem 0x01c1a000
[    0.914150] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.920639] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.928998] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.936260] usb usb1: Product: EHCI Host Controller
[    0.941142] usb usb1: Manufacturer: Linux 5.4.171 ehci_hcd
[    0.946645] usb usb1: SerialNumber: 1c1a000.usb
[    0.952340] hub 1-0:1.0: USB hub found
[    0.956693] hub 1-0:1.0: 1 port detected
[    0.961443] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.967823] ohci-platform: OHCI generic platform driver
[    0.973484] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.980244] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.988281] ohci-platform 1c1a400.usb: irq 40, io mem 0x01c1a400
[    1.068376] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    1.076726] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.083957] usb usb2: Product: Generic Platform OHCI controller
[    1.089902] usb usb2: Manufacturer: Linux 5.4.171 ohci_hcd
[    1.095405] usb usb2: SerialNumber: 1c1a400.usb
[    1.100879] hub 2-0:1.0: USB hub found
[    1.105283] hub 2-0:1.0: 1 port detected
[    1.110147] usbcore: registered new interface driver usb-storage
[    1.116628] mousedev: PS/2 mouse device common for all mice
[    1.122994] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.131476] i2c /dev entries driver
[    1.136902] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.145899] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.186830] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.194288] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.229619] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.239337] NET: Registered protocol family 10
[    1.248902] Segment Routing with IPv6
[    1.252772] NET: Registered protocol family 17
[    1.257436] can: controller area network core (rev 20170425 abi 9)
[    1.263716] NET: Registered protocol family 29
[    1.268239] 8021q: 802.1Q VLAN Support v1.8
[    1.272585] Registering SWP/SWPB emulation handler
[    1.285024] simple-framebuffer 43b00000.framebuffer: framebuffer at 0x43b00000, 0x177000 bytes, mapped to 0x(ptrval)
[    1.295675] simple-framebuffer 43b00000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    1.311623] Console: switching to colour frame buffer device 100x30
[    1.328620] simple-framebuffer 43b00000.framebuffer: fb0: simplefb registered!
[    1.341505] hctosys: unable to open rtc device (rtc0)
[    1.350979] ALSA device list:
[    1.357799]   No soundcards found.
[    1.366706] Waiting for root device /dev/mmcblk0p2...
[    1.375841] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.391481] mmc0: new high speed SDHC card at address aaaa
[    1.402734] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[    1.413866]  mmcblk0: p1 p2
[    1.426091] mmc1: new high speed SDIO card at address 0001
[    1.448280] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.459895] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.473739] Freeing unused kernel memory: 2048K
[    1.484400] Run /sbin/init as init process
[    1.545669] init: Console is alive
[    1.553048] init: - watchdog -
[    1.628334] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.639299] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.660781] init: - preinit -
[    1.906661] random: jshn: uninitialized urandom read (4 bytes read)
[    1.943142] random: jshn: uninitialized urandom read (4 bytes read)
[    1.972987] random: jshn: uninitialized urandom read (4 bytes read)
[    2.047121] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[    2.059669] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    2.070588] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.081682] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    2.091546] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
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
[    4.164617] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    4.176385] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.239625] mount_root: mounting /dev/root
[    6.248009] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    6.262879] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.304246] random: fast init done
[    6.323881] urandom-seed: Seeding with /etc/urandom.seed
[    6.372478] dwmac-sun8i 1c30000.ethernet eth0: Link is Down
[    6.390675] procd: - early -
[    6.398449] procd: - watchdog -
[    7.068837] procd: - watchdog -
[    7.076810] procd: - ubus -
[    7.095282] urandom_read: 3 callbacks suppressed
[    7.095292] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.132744] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.142793] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.154824] procd: - init -
Please press Enter to activate this console.
[    7.661448] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.679021] urngd: v1.0.2 started.
[    7.801797] xt_time: kernel timezone is -0000
[    7.812730] random: crng init done
[    7.819046] random: 1 urandom warning(s) missed due to ratelimiting
[    7.847295] PPP generic driver version 2.4.2
[    7.865317] NET: Registered protocol family 24
[    7.917267] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.242348] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY]
[   12.254409] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   12.264827] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   12.275518] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   12.285054] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[   12.483360] br-lan: port 1(eth0) entered blocking state
[   12.491687] br-lan: port 1(eth0) entered disabled state
[   12.500121] device eth0 entered promiscuous mode
[   18.724642] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[   18.736057] br-lan: port 1(eth0) entered blocking state
[   18.744186] br-lan: port 1(eth0) entered forwarding state
[   18.754634] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.844120] vcc5v0: disabling

离线

楼主 #34 2022-02-22 13:25:34

handsomehacker
会员
注册时间: 2020-04-06
已发帖子: 18
积分: 50

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

@yang_AE86
等openwrt主线内核更新到5.15会考虑支持,目前的21.03版本不计划支持。

@kwongwo
不是的,还需要添加一个设备,具体的参照那个仓库里的commit来吧。

@zhongtao1701
需要勾选kmod-usb-core、kmod-musb-core和kmod-sunxi-musb模块,应该就能使用usb了。

离线

#35 2022-02-22 14:26:47

zhongtao1701
会员
注册时间: 2022-02-05
已发帖子: 29
积分: 20

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

谢谢handsomehacker指导,USB可以工作了,参考了一下 https://whycan.com/t_7598.html 中的讨论

离线

#36 2022-05-22 15:41:46

kwongwo
会员
注册时间: 2020-11-17
已发帖子: 37
积分: 19

Re: 开源自己的Openwrt衍生版 HandsomeMod 支持f1c100s/f1c200s v3s

谢谢大佬,研究了一番,想加入v3s支持 spi nor flash,但是还是超纲了,

大佬有空帮忙加一下,或者能不能给一个简单的流程,我比较菜鸡,不好意思,有劳大佬了.

离线

页脚

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

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