@ztcontrol
把出错信息贴出来看看。
whycan 发布的最佳帖子
-
开源基于全志V3s & RP2040(树莓派) 的3D打印机主板,klipper上下位机一体
看了社区里几位大佬的V3s项目做的
做出了挺久了没时间整理,今天搞出来
镜像晚点整理发出来
V3s运行klipper,RP2040做klipper下位机
已经实测过一段时间了,只有一个问题,内存太少,CPU资源也不够,长时间打印可能会报错:lol:。
玩玩还是不错的,
目前只有触摸没有验证AD格式原理图: Explorer.7z
-
回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!
rm output/target; find output/build/ -name .stamp_target_installed |xargs rm ; make
执行这个命令, 药到病除。
-
回复: 请教一下各位大佬,T113 如何进入FEL BOOT?
不插TF卡,并且下拉 SPI FLASH 的 CS/MISO/MOSI 引脚,插入USB OTG 即进入FEL。
-
回复: ubuntu18.04 d1 dependency install failed
I found a solution,hope it works for others as well visit this website -> https://repogen.simplylinux.ch/ and choose your 'country' and 'release' along with necessary 'branches' and 'updates' and go to end of the page till 'Generate list' button and click it to get your new sources.list copy the text in 'sources list' text field and open sources.list file in /etc/apt/ in local file system and open in editable mode i.e., in sudo mode to edit, replace the current data with newly copy data and save it open terminal enter these commands : sudo apt-get update sudo apt-get install lib32stdc++6 you are done. Now, just check if the problem with making AVD is gone or not. Share Improve this answer Follow
-
回复: D1/D1S 的区别是啥?
D1-H / D1 与D1s 比较图 ,一眼看出区别
https://bbs.aw-ol.com/topic/1181名称 D1-H D1s 制程 22nm 22nm CPU XuanTie C906 RISC-V CPU @1.008GHz XuanTie C906 RISC-V CPU @1.008GHz 内存 外置 DDR2/DDR3 SDRAM @ 792MHz 内置 64 MB DDR2 @ 533MHz 外存 SD3.0/SDIO3.0/eMMC5.0 SD3.0/SDIO3.0/eMMC5.0 DSP HiFi4 DSP 无 编码器 JPEG/MJPEG 1080P@60fps JPEG/MJPEG 1080P@60fps 解码器 最大4K,支持格式: H.265, H.264, MPEG-1/2/4, JPEG, VC1, Xvid, Sorenson Spark 最大1080p,支持格式: H.265, H.264, MPEG-1/2/4, JPEG, VC1, Xvid, Sorenson Spark 图形 SmartColor2.0,DI 1080p@60fps,G2D SmartColor2.0,DI 1080p@60fps,G2D 视频输出 HDMI 4K@30fps, RGB 1080p@60fps, Dual link LVDS 1080p@60fps,, 4 lane MIPI DSI 1920 x 1200@60fps, CVBS 支持 NTSC与PAL制式 RGB 1080p@60fps, Dual link LVDS 1080p@60fps,, 4 lane MIPI DSI 1920 x 1200@60fps, CVBS 支持 NTSC与PAL制式 视频输入 8位CSI支持DVP, CVBS 输入支持 NTSC与PAL制式 8位CSI支持DVP, CVBS 输入支持 NTSC与PAL制式 音频Codec 2 DAC, 3 ADC, LINEOUTLP/N, LINEOUTRP/N, HPOUTL/R, MICIN1P/1N, MICIN2P/2N, MICIN3P/3N, LINEINL/R, FMINL/R 2 DAC, 3 ADC, HPOUTL/R , MICIN3P/N, LINEINL/R, FMINL/R I2S 3*I2S 2*I2S DMIC 最大 8 DMIC 最大 8 DMIC OWA OWA TX 与 OWA RX, 支持 S/PDIF 接口 OWA TX 与 OWA RX, 支持 S/PDIF 接口 安全 AES, DES, 3DES, RSA, MD5, SHA, HMAC, 2kbit OTP efuse AES, DES, 3DES, RSA, MD5, SHA, HMAC, 2kbit OTP efuse 外设 USB 2.0 DRD (USB0) , USB 2.0 HOST (USB1), 10/100/1000 Mbps RGMII 或 RMII 接口, 6 个 UART 控制器, 2 个 SPI controllers (SPI0, SPI1), 4 个 TWI 控制器, CIR RX and CIR TX, 8 个独立 PWM 通道, 2-ch GPADC, 4-ch TPADC, 1-ch LRADC, LEDC USB 2.0 DRD (USB0) , USB 2.0 HOST (USB1), 10/100/1000 Mbps RGMII 或 RMII 接口, 6 个 UART 控制器, 2 个 SPI controllers (SPI0, SPI1), 4 个 TWI 控制器, CIR RX and CIR TX, 8 个独立 PWM 通道, 2-ch GPADC, 4-ch TPADC, LEDC 封装 LFBGA 337, 13 mm x 13 mm eLQFP128, 14 mm x 14 mm x 1.4 mm 图片版本
D1-H / D1 与D1s 比较图 ,一眼看出区别
https://bbs.aw-ol.com/topic/1181 -
回复: F133-A/D1S芒果派MQ-R在tina-sdk2.0下无法识别电阻触摸屏
@exoy28
可能是依赖的某些so有问题,或者不存在用 xxx-objdump -x 可执行文件 |grep NEED 一个一个检查一下:
$ prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-objdump -x ./out/d1s-nezha/staging_dir/target/rootfs/bin/busybox |grep NEED NEEDED libcrypt.so.1 NEEDED libm.so.6 NEEDED libc.so.6
-
回复: D1-H Tinalinux下spi1 slave模式如何使用
4.2 Slave 模式驱动范例
需要在 board.dts 中相应的 SPI 节点设备配置 spi_slave_mode = <1>。
4.2.1 Slave 写数据
以 spidev1.0 设备为例,发送 0~9 十个数据:1 #define DEVICE_NAME "/dev/spidev1.0" 2 #define HEAD_LEN 5 3 #define PKT_MAX_LEN 0x40 4 #define STATUS_LEN 0x01 5 6 #define SUNXI_OP_WRITE 0x01 7 #define SUNXI_OP_READ 0x03 8 9 #define STATUS_WRITABLE 0x02 10 #define STATUS_READABLE 0x04 11 12 #define WRITE_DELAY 200 13 #define READ_DELAY 100000 14 15 void dump_data(unsigned char *buf, unsigned int len) 16 { 17 unsigned int i; 18 unsigned char tmp[len*2], cnt = 0; 19 20 for (i = 0; i < len; i++) { 21 if (i%0x10== 0) 22 cnt += sprintf(tmp + cnt, "0x%08x: ", i); 23 24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]); 25 26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) { 27 printf("%s\n", tmp); 28 cnt = 0; 29 } 30 } 31 } 32 33 void batch_rand(char *buf, unsigned int length) 34 { 35 unsigned int i; 36 srand(time(0)); 37 38 for(i = 0; i < length; i++) { 39 *(buf + i) = rand() % 256; 40 } 41 } 42 43 int main(int argc, const char *argv[]) 44 { 45 unsigned int length = 0, test_len; 46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00}; 47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00}; 48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time; 49 int fd, ret; 50 51 test_len = 10;//send 10 numbers 52 if (test_len > PKT_MAX_LEN) { 53 printf("invalid argument, numbers must less 64B\n"); 54 return -1; 55 } 56 57 wbuf_head[4] = test_len; 58 rbuf_head[4] = test_len; 59 60 for (i = 0; i < test_len; i++) 61 wbuf[i] = i; 62 printf("wbuf:\n"); 63 dump_data(wbuf, test_len); 64 65 fd = open(DEVICE_NAME, O_RDWR); 66 if (fd <= 0) { 67 printf("Fail to to open %s\n", DEVICE_NAME); 68 ret = -1; 69 return ret; 70 } 71 72 {//write 73 if (write(fd, wbuf_head, HEAD_LEN) != HEAD_LEN) { 74 printf("W Fail to write head\n"); 75 ret = -1; 76 goto err; 77 } else 78 printf("W write head successful\n"); 79 80 usleep(WRITE_DELAY); 81 82 if (write(fd, wbuf, test_len) != test_len) { 83 printf("W Fail to write data\n"); 84 ret = -1; 85 goto err; 86 } else 87 printf("W write data successful\n"); 88 89 usleep(READ_DELAY); 90 } 91 92 err: 93 if (fd > 0) 94 close(fd); 95 96 return ret; 97 }
4.2.2 Slave 读数据
以 spidev1.0 设备为例,读十个数据:1 #define DEVICE_NAME "/dev/spidev1.0" 2 #define HEAD_LEN 5 3 #define PKT_MAX_LEN 0x40 4 #define STATUS_LEN 0x01 5 6 #define SUNXI_OP_WRITE 0x01 7 #define SUNXI_OP_READ 0x03 8 9 #define STATUS_WRITABLE 0x02 10 #define STATUS_READABLE 0x04 11 12 #define WRITE_DELAY 200 13 #define READ_DELAY 100000 15 void dump_data(unsigned char *buf, unsigned int len) 16 { 17 unsigned int i; 18 unsigned char tmp[len*2], cnt = 0; 19 20 for (i = 0; i < len; i++) { 21 if (i%0x10== 0) 22 cnt += sprintf(tmp + cnt, "0x%08x: ", i); 23 24 cnt += sprintf(tmp + cnt, "%02x ", buf[i]); 25 26 if ( (i%0x10== 0x0f) || (i == (len -1)) ) { 27 printf("%s\n", tmp); 28 cnt = 0; 29 } 30 } 31 } 32 33 void batch_rand(char *buf, unsigned int length) 34 { 35 unsigned int i; 36 srand(time(0)); 37 38 for(i = 0; i < length; i++) { 39 *(buf + i) = rand() % 256; 40 } 41 } 42 43 int main(int argc, const char *argv[]) 44 { 45 unsigned int length = 0, test_len; 46 char wbuf_head[HEAD_LEN] = {SUNXI_OP_WRITE, 0x00, 0x00, 0x00, 0x00}; 47 char rbuf_head[HEAD_LEN] = {SUNXI_OP_READ, 0x00, 0x00, 0x00, 0x00}; 48 char wbuf[PKT_MAX_LEN], rbuf[PKT_MAX_LEN], i, time; 49 int fd, ret; 50 51 test_len = 10; 52 if (test_len > PKT_MAX_LEN) { 53 printf("inval argument, numbers must less 64B\n"); 54 return -1; 55 } 56 57 wbuf_head[4] = test_len; 58 rbuf_head[4] = test_len; 59 60 fd = open(DEVICE_NAME, O_RDWR); 61 if (fd <= 0) { 62 printf("Fail to to open %s\n", DEVICE_NAME); 63 ret = -1; 64 return ret; 65 } 66 67 {//read 68 if (write(fd, rbuf_head, HEAD_LEN) != HEAD_LEN) { 69 printf("R Fail to write head\n"); 70 ret = -1; 71 goto err; 72 } else 73 printf("R write head successful\n"); 75 usleep(READ_DELAY); 76 77 if (read(fd, rbuf, test_len) != test_len) { 78 printf("R Fail to read data\n"); 79 ret = -1; 80 goto err; 81 } else 82 printf("R read data successful\n"); 83 84 usleep(READ_DELAY); 85 86 } 87 88 printf("rbuf:\n"); 89 dump_data(rbuf, test_len); 90 91 err: 92 if (fd > 0) 93 close(fd); 94 95 return ret; 96 }
-
回复: 请问有C语言接口接口获取eth的网速1Gbps / 100Mbps吗?
root@TinaLinux:/# cat /sys/devices/platform/soc/gmac0/net/eth0/speed
100 -
回复: 谁有D1-H sd card image 文件
复制这段内容后打开百度网盘APP,操作更方便哦。 链接:https://pan.baidu.com/s/1h-yRCvY3I7fhlVL9tVIfvw?pwd=awol
提取码:awol -
回复: 在D1的tina上整上overlayfs
@whycan
今天复盘发现前面修改的不到位,[ 4.728131] random: procd: uninitialized urandom read (4 bytes read) formating /dev/by-name/UDISK to ext4 mkfs.ext4: error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directo formating /dev/by-name/rootfs_data to ext4 mkfs.ext4: error while loading shared libraries: libext2fs.so.2: cannot open shared object file: No such file or directo [ 4.922229] mount_root: mounting /dev/root [ 4.929631] mount_root: loading kmods from internal overlay
提示缺库: libext2fs.so.2
修改文件 package/utils/e2fsprogs/Makefile:
$ repo diff package/utils/e2fsprogs/Makefile project package/ diff --git a/utils/e2fsprogs/Makefile b/utils/e2fsprogs/Makefile index 837e77dd..5a99a673 100644 --- a/utils/e2fsprogs/Makefile +++ b/utils/e2fsprogs/Makefile @@ -173,6 +173,8 @@ define Package/e2fsprogs/install $(LN) e2fsck $(1)/usr/sbin/fsck.ext4 $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libe2p.so.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libext2fs.so.2* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcom_err.so.2* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/lib/functions/fsck $(INSTALL_DATA) ./files/e2fsck.sh $(1)/lib/functions/fsck/
启动格式化正常:
Writing superblocks and filesystem accounting information: 0/15 done formating /dev/by-name/rootfs_data to ext4 mke2fs 1.46.4 (18-Aug-2021) [ 10.606705] random: mkfs.ext4: uninitialized urandom read (16 bytes read) [ 10.614536] random: mkfs.ext4: uninitialized urandom read (16 bytes read) Creating filesystem with 12800 1k blocks and 3200 inodes Filesystem UUID: 53820334-39e9-4e0f-87dc-f4d06ba4c2f7 Superblock backups stored on blocks: 8193 Allocating group tables: done Writing inode tables: done Creating journal (1024 blocks): done Writing superblocks and filesystem accounting information: done [ 10.971936] mount_root: mounting /dev/root [ 10.977198] mount_root: loading kmods from internal overlay [ 11.156955] block: attempting to load /etc/config/fstab e2fsck 1.46.4 (18-Aug-2021) /dev/by-name/UDISK: clean, 11/115920 files, 16835/462727 blocks [ 11.328707] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: [ 11.352305] mount_root: switched to extroot [ 11.369502] procd: - early - [ 11.373087] procd: - watchdog -
挂载正常:
root@TinaLinux:/# mount /dev/root on /rom type squashfs (ro,noatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=504672k,nr_inodes=126168,mode=755) proc on /proc type proc (rw,nosuid,nodev,noexec,noatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) /dev/by-name/UDISK on /overlay type ext4 (rw,relatime) overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000) debugfs on /sys/kernel/debug type debugfs (rw,noatime) none on /sys/kernel/config type configfs (rw,relatime) adb on /dev/usb-ffs/adb type functionfs (rw,relatime) /dev/mmcblk0p1 on /mnt/SDCARD type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
读写正常:
root@TinaLinux:/# mkdir -p /opt/ root@TinaLinux:/# root@TinaLinux:/# touch /opt/test.txt root@TinaLinux:/# root@TinaLinux:/#
root@TinaLinux:/# ls /overlay/upper/ etc opt root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# ls /overlay/upper/opt/ test.txt
打包命令:
tar cvf /mnt/hgfs/D/tina_d1_open_v2_for_ext4_overlay_20220320A.tar device/config/chips/d1-h/configs/nezha/sys_partition.fex target/allwinner/d1-h-nezha/base-files/etc/config/fstab target/allwinner/d1-h-nezha/defconfig package/utils/e2fsprogs/Makefile
-
回复: 有关编译c内联矢量指令时,unknown register name ‘v1’ in ‘asm’的问题
@zny666
不应该是 riscv64***-gcc 命令吗? -
回复: 增加Package, 生成的so 无法自动添加到 /usr/lib中
试一试这个,用buildroot:
--来自百度网盘超级会员V4的分享
hi,这是我用百度网盘分享的内容~复制这段内容打开「百度网盘」APP即可获取
链接:https://pan.baidu.com/s/1tADvigD1xtOWqieJmcuPkA?pwd=awol
提取码:awol -
回复: D1s 烧录/调试 SPI NOR FLASH 记录
然后我使用 mboot0 & pack 单独编译出 boot0_spinor.fex, 用xboot的xfel工具,发现居然spinor 初始化失败,一脸懵。
-
回复: D1s 烧录/调试 SPI NOR FLASH 记录
再跟进去, 发现居然 flash id 为零, 这就奇怪了, xfel 都可以烧录,boot0居然告诉我没有flash id。
-
回复: D1s 烧录/调试 SPI NOR FLASH 记录
然后我使用了逻辑分析仪, 一发狠, 连goto 死循环代码都用上了,发现在死循环期间,逻辑分析仪上面啥数据都没有。
-
回复: D1s 烧录/调试 SPI NOR FLASH 记录
我想起了 melis,赶紧克隆/编译/烧录 melis到spi nor, 发现一切正常,实在没有办法,只能比较 sys_config.fex,不比不知道,一比吓一跳,竟然是因为sys_config.fex 里面没有添加 spi 节点。。
-
回复: D1s 烧录/调试 SPI NOR FLASH 记录
(中间省略一万字。。。)
现在 boot0 和 uboot 也起来了, 单独烧录 boot0_nor.fex@0x00000 和 boot_package.fex@0x10000,这样按韦老师那个方法可以用buildroot重新构建编译环境问题不大了。
中间碰到一个 xfel 的bug, 不能在非零地址烧录文件,导致浪费了很多时间,后来把整个flash反复读出来几次才发现是没有烧录进去。
-
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
@rockenergytech
D1 SDK TINA v1.0 / v2.0 默认就是使用 SPI NAND的。 -
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
@rockenergytech
我记得D1s那个板级文件默认是spi nor 配置? -
全志D1s可以申请样片了,本站网友开源原理图与PCB送三片D1s芯片(不能与其他网友作品雷同),还能送三片液晶显示屏
优秀作品列表:
网友 @Excelsior 分享的 D1s 开源原理图与 PCB,待验证
https://bbs.aw-ol.com/topic/489/share/1围观全栈大佬 @lovexulu 的D1s开发板
https://bbs.aw-ol.com/topic/425/share/24液晶随便挑一款吧,资料基本都齐全:
链接1: https://whycan.cn/t_3083.html 3.2 寸 360x640 R61523 I80 8bit/16bit 的IPS 51pin
链接2: https://whycan.cn/t_3347.html 3.0寸 320x480 i80 HX8357 液晶
链接3: https://whycan.cn/t_3307.html 3.97 NT35510 480x800 液晶
链接4: https://whycan.cn/t_3378.html 4.3寸 NT33516 960x540 全新总成
链接5: https://whycan.cn/t_3437.html 4.63寸 854x480 NT35510 TFT 液晶 -
回复: D1s D1 与 D1-H 开源项目合集
SCH & PCB: D1s_开源文件_LCEDA格式.rar
fusion360 格式结构文件:
零部件1.step
零部件3.step切片文件:
D1S02gd.stl
D1S02g.stl转载地址:
围观全栈大佬 @lovexulu 的D1s开发板 (开源在29楼)
https://bbs.aw-ol.com/topic/425/share/29 -
回复: D1s D1 与 D1-H 开源项目合集
板子功能:
1、一路CAN和一路RS485通信
2、TF卡
3、SPI FLASH
4、USB0和USB1
5、音频输入和音频输出
6、RGB565接口TFTLCD显示屏接口
7、DEBUG调试串口-USB转TTL电路版图片
PCB文件: F133_TEST_BOARD.rar
PDF原理图: F133_TEST_BOARD.pdf
-
回复: D1s D1 与 D1-H 开源项目合集
【开源】YuzukiNezha D1s 核心板 Mini-PICE 核心板
https://debugdump.com/topic/922/share/2 -
回复: 请问如何用命令行调整背光亮度?
可能只能用 ioctl 命令控制背光,但是我测试了一下,并没有什么作用,而且屏幕都黑了。
https://blog.csdn.net/weixin_43772810/article/details/111617402
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> //disp驱动部分命令(与背光相关,内核目录:/include/video/sunxi_display2.h) #define DISP_LCD_SET_BRIGHTNESS 0x102 #define DISP_LCD_GET_BRIGHTNESS 0x103 #define DISP_LCD_BACKLIGHT_ENABLE 0x104 #define DISP_LCD_BACKLIGHT_DISABLE 0x105 #define BRIGHTNESS_MAX 255 //最大亮度 int main(int argc, char *argv[]) { int fd; unsigned long args[3]={0}; /*打开disp设备文件*/ fd = open("/dev/disp", O_RDWR, 0); if(fd < 0) { printf("open /dev/disp failed.\n"); return -1; } /*打印旧的背光值*/ args[0] = 0; //选择fb0(lcd0) printf("the old lcd%d brightness is %d\n",\ args[0],ioctl(fd,DISP_LCD_GET_BRIGHTNESS,args)); if(argc != 2) { printf("ERROR: the right format: ./app [brightness]\n"); return -1; } int brightness = atoi(argv[1]); if(brightness < 0 || brightness > BRIGHTNESS_MAX) { printf("ERROR: the range is 0 to %d\n",BRIGHTNESS_MAX); return -1; } /*参数数组填参*/ args[0] = 0; args[1] = brightness; //背光值(本人配置里最高为255) args[2] = 0; //暂时用不到的参数 ioctl(fd,DISP_LCD_SET_BRIGHTNESS,args); printf("the new lcd%d brightness is %d\n",\ args[0],ioctl(fd,DISP_LCD_GET_BRIGHTNESS,args)); close(fd); return 0; }
-
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
本楼是资料汇总楼:
Github仓库:https://github.com/YuzukiHD/Nezha-D1s
硬件资料
以下硬件资料在 CERN Open Hardware Licence Version 2 - Strongly Reciprocal 协议下开源
原理图:SCH_D1s Nezha_2022-04-09.pdf
LCEDA专业版工程文件:Nezha D1s EVB_2022-04-18.zip
OSHWHub开源地址:Nezha D1s
Gerber图形:Gerber_PCB1_2022-04-18.zip
3D Step:3D_PCB1_2022-04-09.step
全层DXF:DXF_PCB1_2022-04-09.dxf
BOM Lists:bom_nezha_d1s.xls
坐标点位:PickAndPlace_Nezha_D1s_2022-04-09.xlsx
贴片图:贴片图
PCB质量保证书:quality.pdf软件资料
D1s在线文档:https://d1s.docs.aw-ol.com
D1s硬件设计指南:D1s硬件设计指南V1.5.pdf
SDK下载方法:https://d1s.docs.aw-ol.com/study/study_2getsdk/
测试固件(请连接屏幕使用):tina_d1s-nezha_480*272_RGB_uart0.7z
板级配置文件:https://github.com/Tina-Linux/tina-d1s-nezha<- 过时了,用下面的SDK配套SDK
SDK百度云下载:链接:https://pan.baidu.com/s/1MF8HIJHuEG71NxOY1riBZw 提取码:awol
NOR 支持包:d1s-nezha-nor.tar.gz
NAND 支持包:d1s-nezha-nand.tar.gz其他资料
Yuzuki个人立创硬件开源平台主页:https://oshwhub.com/GloomyGhost
全志在线开发者论坛:https://bbs.aw-ol.com/
信息更新及资料汇总贴:https://bbs.aw-ol.com/topic/1257/ -
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
5寸液晶屏(电阻触摸): https://item.taobao.com/item.htm?id=624199044282
5寸液晶屏(电容触摸): https://item.taobao.com/item.htm?id=625081551655
(仅负责推荐,没有利益关系)
-
回复: 是不是驱动开启旋转之后,就没有/dev/fb0了?
感觉没有/dev/fb0,需要在应用刷屏的地方调用驱动的FBIOPAN_DISPLAY接口,同步旋转后的buffer才会显示到LCD上。
-
回复: D1哪吒板开发入门,开箱即食,有带SDK的虚拟机下载
D1 / D1s TINA v2.0 百度云盘下载:
链接: https://pan.baidu.com/s/1rTyKuWIwMUlBY4xLJofWEg?pwd=awol
提取码:awol①解压: cat tina_d1_open_v2.tar.bz2.a* | tar -xjv ②从本地repo仓库同步SDK repo sync -l ③ source build/envsetup.sh ④ lunch ⑤ make ⑥ pack
建议先安装一下软件包避免编译或打包出错:
sudo apt-get install build-essential subversion git-core repo libncurses5-dev zlib1g-dev \ gawk flex quilt libssl-dev xsltproc libxml-parser-perl \ mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 \ libncurses-dev zlib1g-dev gawk openssl libssl-dev linux-tools-common gperf -y