Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • 社区主页
    1. Home
    2. soso90
    S
    • Profile
    • Following 0
    • Followers 0
    • my integral 659
    • Topics 2
    • Posts 15
    • Best 0
    • Groups 0

    soso90LV 4

    @soso90

    659
    integral
    0
    Reputation
    6
    Profile views
    15
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    soso90 Unfollow Follow

    Latest posts made by soso90

    • Reply: 芒果派麻雀到手试玩

      @jr_online 我用到的是方屏,也是和你一样,lvgl花屏,然后其他显示显示的是变成上下分屏,内容一致,要修改哪里?uboot的分辨率没同步设置?我这边是关了uboot的lcd驱动的

      posted in D1-H/D1s
      S
      soso90
    • Reply: D1s 目前的一些玩法:跑Ubuntu rootfs,显示图片,播放音频 (转载)

      @whycan 之后在烧好tina镜像的卡上新建一个ext4分区,这一步怎么操作~~ 有没有已经搞好的rootfs,直接抄作业。哈哈

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa 可以显示了。不过偏移有问题,还有错位了,迟些上图片,

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @soso90 在 麻雀 d1s spi tft 开坑 中说:

      @yteraa 22222.png tf卡启动,没有修改到tf卡相关。只是添加了spi和改了你说的寄存器范围。刚才spi的dts错误的话,还能识别到。看日志好像现在是识别不到tf卡。

      初步判断,有可能是io口引用冲突导致。这边有个疑问,d1s少了部分io。那么io计算方法是否还是和d1一致,也是按照每个pin有多少个做偏移,还是按照固定的io数去计算

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa 22222.png tf卡启动,没有修改到tf卡相关。只是添加了spi和改了你说的寄存器范围。刚才spi的dts错误的话,还能识别到。看日志好像现在是识别不到tf卡。

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa 现在能识别,也正常挂载7789,就是系统根目录挂不了。真是奇怪~~没有改其他地方,就加了一个pin-name加了default这个,之前dts少了这个,才报申请io失败

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      修改了报错。现在能挂载上驱动。不过启动后,居然挂载不了根目录

      [    3.085565] HDMI2.0 module init end
      [    3.089553] [DISP] bsp_disp_sync_with_hw,line:657:
      [    3.089560] Can't find device(1) for manager 0
      [    3.123954] twi twi2: twi2 supply twi not found, using dummy regulator
      [    3.138531] sunxi_i2c_probe()2262 - [i2c2] probe success
      [    3.148565] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
      [    3.159575] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
      [    3.171753] get det_vbus is fail, -84
      [    3.175843] get id is fail, -84
      [    3.180837] cfg80211: Loading compiled-in X.509 certificates for regulatory database
      [    3.192169] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
      [    3.199858] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    3.209561] clk: Not disabling unused clocks
      [    3.214334] ALSA device list:
      [    3.217807] cfg80211: failed to load regulatory.db
      [    3.223249]   #0: audiocodec
      [    3.226549]   #1: sndhdmi
      [    3.229990] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
      [    3.238747] Please append a correct "root=" boot option; here are the available partitions:
      [    3.248148] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      [    3.257372] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #10
      [    3.263870] Call Trace:
      [    3.266613] [<ffffffe0000333ce>] walk_stackframe+0x0/0xa0
      [    3.272632] [<ffffffe0000335b0>] show_stack+0x2a/0x34
      [    3.278264] [<ffffffe000618532>] dump_stack+0x20/0x28
      [    3.283897] [<ffffffe000038376>] panic+0xee/0x2b6
      [    3.289142] [<ffffffe000000eda>] mount_block_root+0x1ee/0x28a
      [    3.295546] [<ffffffe000000ffc>] mount_root+0x86/0x90
      [    3.301178] [<ffffffe000001116>] prepare_namespace+0x110/0x152
      [    3.307680] [<ffffffe000000b78>] kernel_init_freeable+0x17e/0x19a
      [    3.314478] [<ffffffe00062be42>] kernel_init+0x12/0xee
      [    3.320206] [<ffffffe000032018>] ret_from_exception+0x0/0xc
      [    3.326421] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      
      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa 今天发现串口有更详细的spi日志,dmesg居然没打印出来

      [    0.172839] spi spi1: spi1 supply spi not found, using dummy regulator
      [    0.173158] sunxi_spi_resource_get()2062 - [spi1] SPI MASTER MODE
      [    0.173322] sunxi_spi_select_gpio_state()2005 - [spi1] pinctrl_lookup_state(default) failed! return ffffffffffffffed
      [    0.173335] sunxi_spi_resource_get()2065 - [spi1] Request GPIO failed!
      [    0.173342] sunxi_spi_probe()2494 - [spi1] resource get error
      [    0.173623] spi: probe of spi1 failed with error -22
      
      [    2.536895] [DISP] bsp_disp_sync_with_hw,line:657:
      [    2.536900] Can't find device(1) for manager 0
      [    2.571469] sunxi_spi_probe()2476 - [spi1] Req mem region failed
      [    2.578284] ------------[ cut here ]------------
      [    2.583436] Trying to free already-free IRQ 32
      [    2.588410] WARNING: CPU: 0 PID: 13 at kernel/irq/manage.c:1737 __free_irq+0x7a/0x25a
      [    2.597137] Modules linked in:
      [    2.600544] CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted 5.4.61 #10
      [    2.607539] Workqueue: events deferred_probe_work_func
      [    2.613268] sepc: ffffffe000061598 ra : ffffffe000061598 sp : ffffffe002f23b80
      [    2.621318]  gp : ffffffe0008eb600 tp : ffffffe002f08ac0 t0 : ffffffe0008fa368
      [    2.629366]  t1 : 0000000000000064 t2 : 0000000000000009 s0 : ffffffe002f23bc0
      [    2.637415]  s1 : ffffffe001844638 a0 : 0000000000000022 a1 : 000000000000000a
      [    2.645463]  a2 : 0000000000000087 a3 : ffffffe000858ea0 a4 : ffffffe000858e08
      [    2.653511]  a5 : 0000000000000001 a6 : 0000000000000133 a7 : 0000000000000000
      [    2.661559]  s2 : ffffffe002f3ec00 s3 : ffffffe001844638 s4 : 0000000200000022
      [    2.669607]  s5 : ffffffe002f3ed50 s6 : 0000000000000020 s7 : 0000000000000000
      [    2.677654]  s8 : 0000000000000001 s9 : ffffffffffffffff s10: 0000000000000001
      [    2.685703]  s11: ffffffe002efda80 t3 : ffffffe0008f4b00 t4 : 0000000000001570
      [    2.693750]  t5 : 0000000000001570 t6 : ffffffe0008f5089
      [    2.699667] sstatus: 0000000200000100 sbadaddr: 0000000000000000 scause: 0000000000000003
      [    2.708780] ---[ end trace 0d66c23407f86d75 ]---
      
      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa fbtft没有输出,spi这边还是报那个申请失败:sunxi_spi_probe()2476 - [spi1] Req mem region failed。这个spi失败的话,后面应该也不会去挂载fbtft吧

      posted in D1-H/D1s
      S
      soso90
    • Reply: 麻雀 d1s spi tft 开坑

      @yteraa 按照你说的,改了spi的范围,重新make和pack,还是报这个错误。是哪里还要配置?谢谢哈~ 看来这个东西,应该玩的人也少😊

      posted in D1-H/D1s
      S
      soso90