您尚未登录。

楼主 # 2024-05-17 15:13:10

pcj203
会员
注册时间: 2023-06-25
已发帖子: 16
积分: 50

t113-s3 Qemu 模拟器

f1c200s板上实现了linux 启动的qemu 模拟器(基于https://github.com/newluhux/qemu-f1c100s)。但是做的不完整,也算半途而废。
f1c220s主要的问题是旧了点,性能弱了点。
现在t113流行度也比较高,性能更强,支持驱动更大的屏。
虽然计划是在113上支持usb扩展显示器功能。
但是qemu模拟器还是会先搞到一个基础版本,方便解决调试linux/uboot的一些问题。
USB部分的问题其实也可以采用qemu来模拟,但是其实usb相对好开发,调试的问题不多。放在后面搞。
如果不先把qemu工具搞出来,放后面怎么有动力搞?

目前已经完成uboot/Linux SD boot done 进入shell. 当然剪掉了一些外设。
stage1 基本搞完了。
计划的功能:
stage1:
uboot
Linux
SDMMC
uart
stage2:
LCD display > 方便LVGL?其实x86也可以的。纯展示能实现grahic
stage3:
USB


-----------------------------------------

mount: mounting none on /sys/kernel/config failed: No such file or directory
[   38.731691] mmc1: starting CMD18 arg 050f9800 flags 000000b5
[   38.736019] mmc1:     blksz 512 blocks 2 flags 00000200 tsac 100 ms nsac 0
[   38.747550] mmc1:     CMD12 arg 00000000 flags 00000095
[   38.750413] sunxi-mmc-base 4020000.sdmmc: cmd 18(80003352) arg 50f9800 ie 0x0000fbc2 len 1024
[   38.755918] sunxi-mmc-base 4020000.sdmmc: irq: rq (ptrval) mi 00004000 idi 00000102
[   38.762332] mmc1: req done (CMD18): 0: 00000b00 00000000 00000000 00000000
[   38.777930] mmc1:     1024 bytes transferred: 0
[   38.779274] mmc1:     (CMD12): 0: 00000000 00000000 00000000 00000000
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1': No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/strings/0x409': No such file or directory
/bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/manufacturer: nonexistent directory
/bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/product: nonexistent directory
[   39.572245] mmc1: starting CMD18 arg 06841800 flags 000000b5


root@TinaLinux:/# /bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/idVendor: nonexistent directory
/bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/idProduct: nonexistent directory[   43.191924] random: fast init done

mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/ffs.adb': No such file or directory
/bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/product: nonexistent directory
ln: /sys/kernel/config/usb_gadget/g1/configs/c.1/ffs.adb: No such file or directory
mount: mounting adb on /dev/usb-ffs/adb/ failed: No such device
/bin/setusbconfig: line 312: can't create /sys/kernel/config/usb_gadget/g1/UDC: nonexistent directory
mount: mounting none on /sys/kernel/config failed: No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1': No such file or directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/idVendor: nonexistent directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/idProduct: nonexistent directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/strings/0x409': No such file or directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/manufacturer: nonexistent directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/product: nonexistent directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/configs/c.1': No such file or directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/configs/c.1/bmAttributes: nonexistent directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/configs/c.1/MaxPower: nonexistent directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/configs/c.1/strings/0x409': No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/g1/functions/ffs.adb': No such file or directory
ln: /sys/kernel/config/usb_gadget/g1/configs/c.1/ffs.adb: No such file or directory
/etc/rc.common: line 128: can't create /sys/kernel/config/usb_gadget/g1/strings/0x409/serialnumber: nonexistent directory


[ 4801.671146] mmc1:     (CMD12): 0: 00000000 00000000 00000000 00000000
[ 4801.675388] mmc1: starting CMD13 arg 45670000 flags 00000195
[ 4801.678340] sunxi-mmc-base 4020000.sdmmc: cmd 13(8000014d) arg 45670000 ie 0x0000bbc6 len 0
[ 4801.685101] sunxi-mmc-base 4020000.sdmmc: irq: rq (ptrval) mi 00000004 idi 00000000
[ 4801.688294] mmc1: req done (CMD13): 0: 00000900 00000000 00000000 00000000

root@TinaLinux:/# 
root@TinaLinux:/# mount
/dev/root on / type ext2 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=47620k,nr_inodes=11905,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
root@TinaLinux:/# cat /proc/cmdline 
earlyprintk=sunxi-uart,0x2500000 loglevel=8 initcall_debug=1 rodata=0 console=ttyS0,115200 rootwait    root=/dev/mmcblk1

最近编辑记录 pcj203 (2024-05-17 15:16:28)

离线

#1 2024-05-18 16:14:58

vigour1000
会员
注册时间: 2018-11-19
已发帖子: 101
积分: 7

Re: t113-s3 Qemu 模拟器

强列支持 增加LVDS部分

离线

页脚

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

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