感谢大佬分享, A133的SDK可以拉么
Z
ztcontrol 发布的最新帖子
-
回复: D1S编译nor镜像失败
@null037 在 D1S编译nor镜像失败 中说:
[ 2.287564] VFS: Cannot open root device "mtdblock5" or unknown-block(0,0): error -6 [ 2.296326] Please append a correct "root=" boot option; here are the available partitions: [ 2.305707] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
找不到分区,所以挂不上文件系统分区
多谢, 我后来研究出来了. flash型号没识别
-
directfb运行起来了, 但是以4倍姿态
&lcd0 { lcd_used = <1>; lcd_driver_name = "tft08006"; /* DSI */ lcd_if = <4>; lcd_dsi_if = <0>; lcd_x = <1024>; lcd_y = <600>; lcd_width = <192>; lcd_height = <108>; lcd_dclk_freq = <51>; lcd_hbp = <160>; lcd_ht = <1344>; lcd_hspw = <8>; lcd_vbp = <23>; lcd_vt = <635>; lcd_vspw = <10>; lcd_backlight = <100>; lcd_pwm_used = <1>; lcd_pwm_ch = <7>; lcd_pwm_freq = <1000>; lcd_pwm_pol = <0>; lcd_pwm_max_limit = <255>; lcd_dsi_lane = <4>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; lcd_lvds_mode = <0>; lcd_frm = <0>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; lcd_io_phase = <0x0000>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; lcd_fsync_en = <0>; lcd_fsync_act_time = <1000>; lcd_fsync_dis_time = <1000>; lcd_fsync_pol = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; lcd_gpio_0 = <&pio PD 20 GPIO_ACTIVE_HIGH>; pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>;
root@TinaLinux:/# cat /sys/class/disp/disp/attr/sys screen 0: de_rate 300000000 hz, ref_fps:60 mgr0: 1024x600 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1] dmabuf: cache[0] cache max[0] umap skip[0] umap skip max[14] lcd output backlight(100) fps:60.6 1024x 600 err:1 skip:105 irq:41527 vsync:0 vsync_skip:0 BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[1024, 600;1024, 600;1024, 600] crop[ 0, 0,1024, 600] frame[ 0, 0,1024, 600] addr[ff800000, 0, 0] flags[0x 0] trd[0,0] depth[ 0] root@TinaLinux:/#
-
回复: D1S编译nor镜像失败
@null037 在 D1S编译nor镜像失败 中说:
@ztcontrol 您好,您可以参考FAQ解决:https://d1s.docs.aw-ol.com/faq/
大佬能再问个问题么
我换了一个32MB的norflash, W25Q256JWEIQ
编译下载都能成功. 但是内核启动panic了.[ 2.173512] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 2.188045] get ehci0-controller wakeup-source is fail. [ 2.194049] sunxi ehci0-controller don't init wakeup source [ 2.200300] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fb000, irq_no:2e [ 2.213808] [sunxi-ehci0]: Not init ehci0 [ 2.218877] get ohci0-controller wakeup-source is fail. [ 2.224887] sunxi ohci0-controller don't init wakeup source [ 2.231101] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 [ 2.241563] [sunxi-ohci0]: Not init ohci0 [ 2.250469] clk: Not disabling unused clocks [ 2.256574] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.266288] ALSA device list: [ 2.269595] #0: audiocodec [ 2.272874] cfg80211: failed to load regulatory.db [ 2.278316] alloc_fd: slot 0 not NULL! [ 2.282981] /dev/root: Can't open blockdev [ 2.287564] VFS: Cannot open root device "mtdblock5" or unknown-block(0,0): error -6 [ 2.296326] Please append a correct "root=" boot option; here are the available partitions: [ 2.305707] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.314920] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #46 [ 2.321410] Call Trace: [ 2.324147] [<ffffffe00002612c>] walk_stackframe+0x0/0x98 [ 2.330161] [<ffffffe0000262e4>] show_stack+0x2a/0x34 [ 2.335796] [<ffffffe00044e9c6>] dump_stack+0x20/0x28 [ 2.341422] [<ffffffe00002a7a4>] panic+0xec/0x272 [ 2.346660] [<ffffffe000000ef6>] mount_block_root+0x214/0x27a [ 2.353056] [<ffffffe000000fe2>] mount_root+0x86/0x90 [ 2.358680] [<ffffffe000001134>] prepare_namespace+0x148/0x152 [ 2.365175] [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198 [ 2.371963] [<ffffffe00045f594>] kernel_init+0x12/0xee [ 2.377684] [<ffffffe000024e98>] ret_from_exception+0x0/0xc [ 2.383894] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!
@whycan
麻烦再请教一个问题, 在这个buildroot的代码里, 我想使能RGB屏, 然后按RGB888输出, 应该怎么改, 是不是只需要改DTS就可以, DTS在哪里 -
d1h, docker镜像编译报错
代码什么都没改呢, 刚pull下来, 直接make报错, make clean之后 make -j1也报错, 这是最后报错的地方, 大神们帮看看什么原因,
我需要改什么?/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:187: undefined reference to `av_resample' /home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_free': /home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:51: undefined reference to `av_resample_close' /home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_init': /home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:91: undefined reference to `av_resample_init' collect2: error: ld returned 1 exit status make[6]: *** [Makefile:419: libasound_module_rate_lavcrate.la] Error 1 make[6]: Leaving directory '/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc' make[5]: *** [Makefile:431: all-recursive] Error 1 make[5]: Leaving directory '/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' make[4]: *** [Makefile:363: all] Error 2 make[4]: Leaving directory '/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' make[3]: *** [Makefile:90: /home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/.built] Error 2 make[3]: Leaving directory '/home/nihao/sdk/tina-d1-open_new/package/libs/alsa-plugins' make[2]: *** [package/Makefile:193: package/libs/alsa-plugins/compile] Error 2 make[2]: Leaving directory '/home/nihao/sdk/tina-d1-open_new' make[1]: *** [package/Makefile:189: /home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/nihao/sdk/tina-d1-open_new' make: *** [/home/nihao/sdk/tina-d1-open_new/build/toplevel.mk:306: world] Error 2 [2]+ Done $T/tools/build/buildserver --path $T #### make failed to build some targets (01:05:40 (hh:mm:ss)) ####