2158cb23e5a83f488f5e93be61babc22058bad2a
Chip-cn-dat/AIT-dat/ESP-12F-DAT/ESP-12F-DAT.md
| ... | ... | @@ -28,16 +28,16 @@ |
| 28 | 28 | |
| 29 | 29 | ## Pin Definitions |
| 30 | 30 | |
| 31 | -| left | boot mode | func | right | boot mode | func | |
|
| 32 | -| ---- | ------------------- | ---- | ----- | -------------- | ------------ | |
|
| 33 | -| RST | ext. pull-up, w/cap | | TXD | | | |
|
| 34 | -| ADC | | | RXD | | | |
|
| 35 | -| EN | ext. pull-up | | IO5 | | I2C | |
|
| 36 | -| IO16 | | | IO4 | | I2C | |
|
| 37 | -| IO14 | | SCK | IO0 | ext. pull-up | mode select | |
|
| 38 | -| IO12 | | MI | IO2 | ext. pull-up | on-board LED | |
|
| 39 | -| IO13 | | MO | IO15 | ext. pull-down | SS | |
|
| 40 | -| VCC | | | GND | | | |
|
| 31 | +| left | template | boot mode | func | right | template | boot mode | func | |
|
| 32 | +| ---- | -------- | ------------ | ---- | ----- | -------- | --------- | ------------ | |
|
| 33 | +| RST | | ext.u, w/cap | | TXD | | | | |
|
| 34 | +| ADC | | | | RXD | | | | |
|
| 35 | +| EN | | ext.u | | IO5 | | | I2C | |
|
| 36 | +| IO16 | | | | IO4 | | | I2C | |
|
| 37 | +| IO14 | | | SCK | IO0 | | ext.u | boot | |
|
| 38 | +| IO12 | | | MI | IO2 | | ext.u | on-board LED | |
|
| 39 | +| IO13 | | | MO | IO15 | | ext.d | SS | |
|
| 40 | +| VCC | | | | GND | | | | |
|
| 41 | 41 | |
| 42 | 42 | - [[NWI1083-dat]] |
| 43 | 43 |
Chip-cn-dat/WCH-dat/CH340-dat/2025-08-19-14-14-42.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/WCH-dat/CH340-dat/2025-08-19-14-14-42.png differ |
Chip-cn-dat/WCH-dat/CH340-dat/2025-08-19-14-14-53.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/WCH-dat/CH340-dat/2025-08-19-14-14-53.png differ |
Chip-cn-dat/WCH-dat/CH340-dat/CH340-DAT.md
| ... | ... | @@ -28,6 +28,8 @@ V3 pin |
| 28 | 28 | - 在5V 电源电压时外接容量为0.1uF 退耦电容 |
| 29 | 29 | |
| 30 | 30 | |
| 31 | + |
|
| 32 | + |
|
| 31 | 33 | ## datasheet and driver |
| 32 | 34 | |
| 33 | 35 | - [[CH340N-dat]] |
| ... | ... | @@ -36,6 +38,20 @@ V3 pin |
| 36 | 38 | |
| 37 | 39 | - [[CH340SER.zip]] |
| 38 | 40 | |
| 41 | +## SCH |
|
| 42 | + |
|
| 43 | +此电路用于用户连接系统调试中断使用,其功能为将TTL串口转换为USB接口,使得用户可以在电脑中连接该串口进行调试。 |
|
| 44 | + |
|
| 45 | +需要注意的是,由于F1C200S的UART0接口(PE0/PE1引脚)被触摸的I2C接口占用,所以本开发板将CH340的串口连接到了F1C200S的UART1(PA2/PA3引脚)上,后续编译U-Boot和内核时我们需要相应的修改代码。 |
|
| 46 | + |
|
| 47 | + |
|
| 48 | + |
|
| 49 | + |
|
| 50 | + |
|
| 51 | +如上图所示,该部分除了串口转USB外,还兼顾的系统的供电,用户通过Type-C线缆连接该调试口后,将同时为开发板供电。板上的5.1K电阻用于双头Type-C线缆识别从机,为其提供供电,如果R12,R13不焊接会导致使用双头Type-C线时板子没有供电。D2为TVS瞬态抑制二极管用于保护PCB板上原件,防止静电击穿原件。 |
|
| 52 | + |
|
| 53 | + |
|
| 54 | + |
|
| 39 | 55 | ## ref |
| 40 | 56 | |
| 41 | 57 | - legacy wiki page https://w.electrodragon.com/w/Category:CH340 |
Chip-cn-dat/allwinner-dat/F1C100-dat/2025-07-16-00-51-22.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/2025-07-16-00-51-22.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/2025-08-09-01-09-27.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/2025-08-09-01-09-27.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/2025-08-09-01-09-50.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/2025-08-09-01-09-50.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-11.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-11.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-26.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-26.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-16-38.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-16-38.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/C100-MP5-SCH.pdf
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/C100-MP5-SCH.pdf and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/F1C100-HDK-dat.md
| ... | ... | @@ -1,47 +0,0 @@ |
| 1 | - |
|
| 2 | -# F1C100-HDK-dat |
|
| 3 | - |
|
| 4 | -- [[F1C100s_Datasheet_V1.0.pdf]] |
|
| 5 | - |
|
| 6 | -- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 7 | - |
|
| 8 | -- [[EA3036-dat]] - [[USB-OTG-dat]] |
|
| 9 | - |
|
| 10 | -- [[memory-dat]] - [[spi-flash-dat]] - [[sd-dat]] |
|
| 11 | - |
|
| 12 | -## HDK |
|
| 13 | - |
|
| 14 | -- [[LCD-dat]] - [[touchpanel-dat]] |
|
| 15 | - |
|
| 16 | -- [[VGA-dat]] - [[camera-dat]] |
|
| 17 | - |
|
| 18 | -## SCH |
|
| 19 | - |
|
| 20 | -- [[lichee_nano_8.16(Schematic).pdf]] |
|
| 21 | - |
|
| 22 | -- [[C100-MP5-SCH.pdf]] |
|
| 23 | - |
|
| 24 | -## peripherals |
|
| 25 | - |
|
| 26 | -- [[ESP8089-dat]] - [[espressif-dat]] |
|
| 27 | - |
|
| 28 | - |
|
| 29 | -## core chip |
|
| 30 | - |
|
| 31 | - |
|
| 32 | - |
|
| 33 | -filters |
|
| 34 | - |
|
| 35 | - |
|
| 36 | - |
|
| 37 | -## lichee nano footprint |
|
| 38 | - |
|
| 39 | - |
|
| 40 | - |
|
| 41 | - |
|
| 42 | - |
|
| 43 | -## ref |
|
| 44 | - |
|
| 45 | -- [[F1C100-dat]] |
|
| 46 | - |
|
| 47 | -- [[soldering-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/F1C100s_Datasheet_V1.0.pdf
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/F1C100s_Datasheet_V1.0.pdf and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/lichee_nano_8.16(Schematic).pdf
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-HDK-dat/lichee_nano_8.16(Schematic).pdf and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-13-56-44.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-13-56-44.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-14-27-05.png
| ... | ... | Binary files a/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-14-27-05.png and /dev/null differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/F1C100-DTS-dat.md
| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | - |
|
| 2 | -# F1C100-DTS-dat.md |
|
| 3 | - |
|
| 4 | -Linux / arch / arm / boot / dts / suniv-f1c100s-licheepi-nano.dts |
|
| 5 | - |
|
| 6 | -https://gitee.com/LicheePiNano/Linux/blob/master/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts |
|
| 7 | - |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/F1C100-SDK-dat.md
| ... | ... | @@ -1,142 +0,0 @@ |
| 1 | - |
|
| 2 | -# F1C100-SDK-dat |
|
| 3 | - |
|
| 4 | -- [[F1C100-DTS-dat]] - [[F1C100-image-dat]] |
|
| 5 | - |
|
| 6 | -- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 7 | - |
|
| 8 | -## SDK |
|
| 9 | - |
|
| 10 | -system |
|
| 11 | - |
|
| 12 | -- [[code-dat/linux-dat/linux-dat]]、[[RT-Thread-dat]] (CN)、[[Xboot-dat]] (CN) |
|
| 13 | - |
|
| 14 | -use |
|
| 15 | - |
|
| 16 | -- [[sunxi-tools-dat]] - [[docker-dat]] |
|
| 17 | - |
|
| 18 | -build |
|
| 19 | - |
|
| 20 | -- [[uboot-dat]] |
|
| 21 | - |
|
| 22 | -- [[ubuntu-dat]] |
|
| 23 | - |
|
| 24 | -- [[buildroot-dat]] |
|
| 25 | - |
|
| 26 | -- [[lvgl-dat]] - [[openwrt-dat]] - [[wifi-dat]] |
|
| 27 | - |
|
| 28 | - |
|
| 29 | -## Note |
|
| 30 | - |
|
| 31 | -- esp8089以modprobe方式挂载,直接通过串口替换原来固件 |
|
| 32 | -- 第二个固件esp8089需要手动modprobe一下 |
|
| 33 | - |
|
| 34 | -- [[ESP8089-dat]] |
|
| 35 | - |
|
| 36 | -- Nano 需要插卡启动(或者焊接spi flash),只插上 USB基本是无反应,屏幕无输出状态,但可在不插卡无 flash 状态下通过 USB 启动 U-boot |
|
| 37 | -- Nano 的系统调试串口是 UART0 ,即板子丝印上的的 “U0:Tx Rx” 标识的两个引脚 |
|
| 38 | - |
|
| 39 | - |
|
| 40 | - |
|
| 41 | - |
|
| 42 | -## Image Flashing |
|
| 43 | - |
|
| 44 | -### uboot spl |
|
| 45 | - |
|
| 46 | -以 uboot file-with-spl形式进行(单次运行,测试时个人推荐) |
|
| 47 | - |
|
| 48 | - sunxi-fel uboot /your/path/to/u-boot-sunxi-with-spl.bin |
|
| 49 | - sunxi-fel uboot Nano_flash_800600.bin |
|
| 50 | - sunxi-fel uboot Nano_flash_800480.bin |
|
| 51 | - sunxi-fel uboot Nano_flash_480272.bin |
|
| 52 | - |
|
| 53 | -### TF card == linux |
|
| 54 | - |
|
| 55 | -镜像包中的image文件夹下的dd文件,已包含了相应的Bootloader、Kernel、文件系统等等,只需简单两步即可完成烧录; |
|
| 56 | - |
|
| 57 | -插上tf卡后,命令行执行 sudo fdisk -l 查看tf卡盘号; |
|
| 58 | - |
|
| 59 | -执行 即可完成烧录 |
|
| 60 | - |
|
| 61 | - sudo dd if=/path/to/your-dd-image of=/your/tf-card && sync |
|
| 62 | - |
|
| 63 | - |
|
| 64 | - |
|
| 65 | -### TF card == WIN |
|
| 66 | - |
|
| 67 | -使用软件 win32disk 进行一键烧录,可到 [此处](http://www.onlinedown.net/soft/110173.html) 下载; |
|
| 68 | - |
|
| 69 | - |
|
| 70 | -### Flash Empty |
|
| 71 | - |
|
| 72 | -- [[sunxi-tools-dat]] |
|
| 73 | - |
|
| 74 | -在flash内容为空的情况下(fel模式下的一种情况)进行烧录时,通过micro-usb数据线将Nano与电脑连接,执行 |
|
| 75 | - |
|
| 76 | - sudo sunxi-fel -p spiflash-write 0 Your-Flash-BIN |
|
| 77 | - |
|
| 78 | - cd /media/sf_share-folder/Nano_pub_V4/image |
|
| 79 | - |
|
| 80 | - |
|
| 81 | -### Flash NOT Empty |
|
| 82 | - |
|
| 83 | -- [[spi-flash-dat]] |
|
| 84 | - |
|
| 85 | - |
|
| 86 | - |
|
| 87 | - |
|
| 88 | -## how to make image flashimg.bin |
|
| 89 | - |
|
| 90 | -- [[nano_flash_dd.sh]] |
|
| 91 | - |
|
| 92 | -including |
|
| 93 | -- [[uboot-dat]] file |
|
| 94 | -- [[code-dat/linux-dat/linux-dat]] DTB file |
|
| 95 | -- [[code-dat/linux-dat/linux-dat]] kernel file |
|
| 96 | -- [[code-dat/linux-dat/linux-dat]] modules file |
|
| 97 | -- [[buildroot-dat]] rootfs file |
|
| 98 | - |
|
| 99 | - |
|
| 100 | -code to get flashimg.bin |
|
| 101 | - |
|
| 102 | - #!/bin/sh |
|
| 103 | - UBOOT_FILE=./u-boot/u-boot-sunxi-with-spl.bin |
|
| 104 | - DTB_FILE=./Linux/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb |
|
| 105 | - KERNEL_FILE=./Linux/arch/arm/boot/zImage |
|
| 106 | - ROOTFS_FILE=./buildroot-2021.02.4/output/images/rootfs.tar |
|
| 107 | - MOD_FILE=./Linux/out/lib/modules/4.15.0-rc8-licheepi-nano+ |
|
| 108 | - |
|
| 109 | - dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\ |
|
| 110 | - dd if=$UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\ |
|
| 111 | - dd if=$DTB_FILE of=flashimg.bin bs=1K seek=1024 conv=notrunc &&\ |
|
| 112 | - dd if=$KERNEL_FILE of=flashimg.bin bs=1K seek=1088 conv=notrunc &&\ |
|
| 113 | - mkdir rootfs |
|
| 114 | - tar -xvf $ROOTFS_FILE -C ./rootfs &&\ |
|
| 115 | - cp -r $MOD_FILE rootfs/lib/modules/ &&\ |
|
| 116 | - |
|
| 117 | - #为根文件系统制作jffs2镜像包 |
|
| 118 | - #--pad参数指定 jffs2大小 |
|
| 119 | - #由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000 |
|
| 120 | - mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\ |
|
| 121 | - dd if=jffs2.img of=flashimg.bin bs=1K seek=5184 conv=notrunc &&\ |
|
| 122 | - rm -rf rootfs &&\ |
|
| 123 | - rm jffs2.img |
|
| 124 | - |
|
| 125 | -folder rootfs for [[buildroot-dat]] |
|
| 126 | - |
|
| 127 | - |
|
| 128 | -## ref |
|
| 129 | - |
|
| 130 | -- https://pan.baidu.com/s/1smzuGS9#list/path=%2F |
|
| 131 | - |
|
| 132 | -- [[F1C100-dat]] |
|
| 133 | - |
|
| 134 | -- https://github.com/Zepan/ilichee/tree/master/资源文件/镜像烧写 |
|
| 135 | - |
|
| 136 | -- https://github.com/Zepan/ilichee |
|
| 137 | - |
|
| 138 | -- https://mega.nz/folder/A8g1Hb4J#WcuoqvbpasKlVB8-YEpWPA |
|
| 139 | - |
|
| 140 | -- [[sipeed-dat]] |
|
| 141 | - |
|
| 142 | -- Nano_pub_V4.zip |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/F1C100-image-dat.md
| ... | ... | @@ -1,104 +0,0 @@ |
| 1 | - |
|
| 2 | - |
|
| 3 | -# F1C100-image-dat.md |
|
| 4 | - |
|
| 5 | - |
|
| 6 | -## boot |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | - ***** EAGLE DRIVER USER:bdf5087c3deb ***** |
|
| 11 | - esp_sdio_init ----- RETRY ----- |
|
| 12 | - |
|
| 13 | -- a problem of the wrong module |
|
| 14 | - |
|
| 15 | - |
|
| 16 | - |
|
| 17 | -## prebuilt image |
|
| 18 | - |
|
| 19 | -### image == Nano_pub_V*.zip |
|
| 20 | - |
|
| 21 | -为了让大家上手即食,**Nano_pub_V*.zip** 是我们给出的解决方案。 |
|
| 22 | - |
|
| 23 | -Nano_pub_V4\image |
|
| 24 | - |
|
| 25 | -- Nano_flash_480272.bin |
|
| 26 | -- Nano_flash_800480.bin |
|
| 27 | -- Nano_flash_800480.bin.old |
|
| 28 | -- Nano_flash_800600.bin |
|
| 29 | -- Nanotf480272.dd |
|
| 30 | -- Nano tf8800480.dd |
|
| 31 | -- Nano tf800600.dd |
|
| 32 | -- test.bin |
|
| 33 | - |
|
| 34 | -modules\tf\4.15.0-next-20180202-licheepi-nano+ |
|
| 35 | - |
|
| 36 | -- kernel |
|
| 37 | -- build |
|
| 38 | -- modules.alias |
|
| 39 | -- modules.alias.bin |
|
| 40 | -- modules.builtin |
|
| 41 | -- modules.builtin.bin |
|
| 42 | -- modules.dep |
|
| 43 | -- modules.dep.bin |
|
| 44 | -- modules.devname |
|
| 45 | -- modules.order |
|
| 46 | -- modules.softdep |
|
| 47 | -- modules.symbols |
|
| 48 | -- modules.symbols.bin |
|
| 49 | - |
|
| 50 | -uboot\800600 |
|
| 51 | - |
|
| 52 | -- u-boot-spi-flash.bin |
|
| 53 | -- u-boot-tf.bin |
|
| 54 | - |
|
| 55 | -build |
|
| 56 | - |
|
| 57 | -- configs |
|
| 58 | -- mnt |
|
| 59 | -- p1 |
|
| 60 | -- p2 |
|
| 61 | -- boot.cmd |
|
| 62 | -- boot.scr |
|
| 63 | -- clear_partion.sh |
|
| 64 | -- env.sh |
|
| 65 | -- fstab |
|
| 66 | -- gen_scr.sh |
|
| 67 | -- pack_flash_img.sh |
|
| 68 | -- pack_tfimg.sh |
|
| 69 | -- pull_br.sh |
|
| 70 | -- pull_kernel.sh |
|
| 71 | -- pulluboot.sh |
|
| 72 | -- README.md |
|
| 73 | -- update-scr.sh |
|
| 74 | -- write_all.sh |
|
| 75 | -- write boot.sh |
|
| 76 | -- write_dd.sh |
|
| 77 | -- write_mkfs.sh |
|
| 78 | -- write_p1.sh |
|
| 79 | -- write_p2.sh |
|
| 80 | -- write_partion.sh |
|
| 81 | -- write_spiflash.sh |
|
| 82 | -- write_swap.sh |
|
| 83 | - |
|
| 84 | -#### V4 |
|
| 85 | -> * 剪裁文件系统大小,优化开机速度. |
|
| 86 | -> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 87 | -> * 支持lichee官方wifi,esp8089. |
|
| 88 | -> * 支持lichee官方触摸屏. |
|
| 89 | -> * 支持lichee官方的RBG2VGA模块. |
|
| 90 | - |
|
| 91 | -#### V3 |
|
| 92 | -> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 93 | -> * 支持lichee官方wifi,esp8089. |
|
| 94 | -> * 支持lichee官方触摸屏. |
|
| 95 | -> * 支持lichee官方的RBG2VGA模块. |
|
| 96 | - |
|
| 97 | -#### V2 |
|
| 98 | -> * 支持480*272,800*480的rgb显示屏. |
|
| 99 | -> * 支持lichee官方触摸屏. |
|
| 100 | - |
|
| 101 | -## ref |
|
| 102 | - |
|
| 103 | -- [[F1C100-SDK-dat]] |
|
| 104 | - |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-dat.md
| ... | ... | @@ -1,38 +0,0 @@ |
| 1 | - |
|
| 2 | -# F1C100-dat |
|
| 3 | - |
|
| 4 | - |
|
| 5 | -## F1C200-dat |
|
| 6 | - |
|
| 7 | -全志 F1C200s 芯片是全志性价比极高的多媒体芯片之一,具有低成本、低功耗、开发简单、编解码性能强劲等特点,广泛应用于MP4、车载设备等带屏幕的智能硬件产品。 |
|
| 8 | - |
|
| 9 | -主要规格: |
|
| 10 | -- ARM9 CPU |
|
| 11 | -- SIP 64M DDR |
|
| 12 | -- 支持H.264 1920x1080@30fps 解码 |
|
| 13 | -- 支持MJPEG 1280x720@30fps 编码 |
|
| 14 | -- 丰富的音视频接口 |
|
| 15 | - |
|
| 16 | - |
|
| 17 | - |
|
| 18 | -## function application diagram |
|
| 19 | - |
|
| 20 | - |
|
| 21 | - |
|
| 22 | -## chip info |
|
| 23 | - |
|
| 24 | - |
|
| 25 | - |
|
| 26 | -- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 27 | - |
|
| 28 | - |
|
| 29 | -## ref |
|
| 30 | - |
|
| 31 | -- [[allwinner-dat]] - [[sipeed-dat]] |
|
| 32 | - |
|
| 33 | -- https://wiki.sipeed.com/soft/Lichee/zh/Nano-Doc-Backup/index.html |
|
| 34 | - |
|
| 35 | - |
|
| 36 | - |
|
| 37 | -- [[V3S-dat]] |
|
| 38 | - |
Chip-cn-dat/allwinner-dat/F1C100-dat/nano_flash_dd.sh
| ... | ... | @@ -1,22 +0,0 @@ |
| 1 | -#!/bin/sh |
|
| 2 | -UBOOT_FILE=./u-boot/u-boot-sunxi-with-spl.bin |
|
| 3 | -DTB_FILE=./Linux/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb |
|
| 4 | -KERNEL_FILE=./Linux/arch/arm/boot/zImage |
|
| 5 | -ROOTFS_FILE=./buildroot-2021.02.4/output/images/rootfs.tar |
|
| 6 | -MOD_FILE=./Linux/out/lib/modules/4.15.0-rc8-licheepi-nano+ |
|
| 7 | - |
|
| 8 | -dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\ |
|
| 9 | -dd if=$UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\ |
|
| 10 | -dd if=$DTB_FILE of=flashimg.bin bs=1K seek=1024 conv=notrunc &&\ |
|
| 11 | -dd if=$KERNEL_FILE of=flashimg.bin bs=1K seek=1088 conv=notrunc &&\ |
|
| 12 | -mkdir rootfs |
|
| 13 | -tar -xvf $ROOTFS_FILE -C ./rootfs &&\ |
|
| 14 | -cp -r $MOD_FILE rootfs/lib/modules/ &&\ |
|
| 15 | - |
|
| 16 | -#为根文件系统制作jffs2镜像包 |
|
| 17 | -#--pad参数指定 jffs2大小 |
|
| 18 | -#由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000 |
|
| 19 | -mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\ |
|
| 20 | -dd if=jffs2.img of=flashimg.bin bs=1K seek=5184 conv=notrunc &&\ |
|
| 21 | -rm -rf rootfs &&\ |
|
| 22 | -rm jffs2.img |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C200-dat/2025-08-19-14-11-21.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/2025-08-19-14-11-21.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/2025-08-19-14-22-03.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/2025-08-19-14-22-03.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-07-16-00-51-22.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-07-16-00-51-22.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-08-09-01-09-27.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-08-09-01-09-27.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-08-09-01-09-50.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/2025-08-09-01-09-50.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-11.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-11.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-26.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-14-26.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-16-38.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/2025-07-16-13-16-38.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/C100-MP5-SCH.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/C100-MP5-SCH.pdf differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/F1C100-HDK-dat.md
| ... | ... | @@ -0,0 +1,47 @@ |
| 1 | + |
|
| 2 | +# F1C100-HDK-dat |
|
| 3 | + |
|
| 4 | +- [[F1C100s_Datasheet_V1.0.pdf]] |
|
| 5 | + |
|
| 6 | +- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 7 | + |
|
| 8 | +- [[EA3036-dat]] - [[USB-OTG-dat]] |
|
| 9 | + |
|
| 10 | +- [[memory-dat]] - [[spi-flash-dat]] - [[sd-dat]] |
|
| 11 | + |
|
| 12 | +## HDK |
|
| 13 | + |
|
| 14 | +- [[LCD-dat]] - [[touchpanel-dat]] |
|
| 15 | + |
|
| 16 | +- [[VGA-dat]] - [[camera-dat]] |
|
| 17 | + |
|
| 18 | +## SCH |
|
| 19 | + |
|
| 20 | +- [[lichee_nano_8.16(Schematic).pdf]] |
|
| 21 | + |
|
| 22 | +- [[C100-MP5-SCH.pdf]] |
|
| 23 | + |
|
| 24 | +## peripherals |
|
| 25 | + |
|
| 26 | +- [[ESP8089-dat]] - [[espressif-dat]] |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +## core chip |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | +filters |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +## lichee nano footprint |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 42 | + |
|
| 43 | +## ref |
|
| 44 | + |
|
| 45 | +- [[F1C100-dat]] |
|
| 46 | + |
|
| 47 | +- [[soldering-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/F1C100s_Datasheet_V1.0.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/F1C100s_Datasheet_V1.0.pdf differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/lichee_nano_8.16(Schematic).pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-HDK-dat/lichee_nano_8.16(Schematic).pdf differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-13-56-44.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-13-56-44.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-14-27-05.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/2025-07-16-14-27-05.png differ |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/F1C100-DTS-dat.md
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | + |
|
| 2 | +# F1C100-DTS-dat.md |
|
| 3 | + |
|
| 4 | +Linux / arch / arm / boot / dts / suniv-f1c100s-licheepi-nano.dts |
|
| 5 | + |
|
| 6 | +https://gitee.com/LicheePiNano/Linux/blob/master/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts |
|
| 7 | + |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/F1C100-SDK-dat.md
| ... | ... | @@ -0,0 +1,142 @@ |
| 1 | + |
|
| 2 | +# F1C100-SDK-dat |
|
| 3 | + |
|
| 4 | +- [[F1C100-DTS-dat]] - [[F1C100-image-dat]] |
|
| 5 | + |
|
| 6 | +- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 7 | + |
|
| 8 | +## SDK |
|
| 9 | + |
|
| 10 | +system |
|
| 11 | + |
|
| 12 | +- [[code-dat/linux-dat/linux-dat]]、[[RT-Thread-dat]] (CN)、[[Xboot-dat]] (CN) |
|
| 13 | + |
|
| 14 | +use |
|
| 15 | + |
|
| 16 | +- [[sunxi-tools-dat]] - [[docker-dat]] |
|
| 17 | + |
|
| 18 | +build |
|
| 19 | + |
|
| 20 | +- [[uboot-dat]] |
|
| 21 | + |
|
| 22 | +- [[ubuntu-dat]] |
|
| 23 | + |
|
| 24 | +- [[buildroot-dat]] |
|
| 25 | + |
|
| 26 | +- [[lvgl-dat]] - [[openwrt-dat]] - [[wifi-dat]] |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +## Note |
|
| 30 | + |
|
| 31 | +- esp8089以modprobe方式挂载,直接通过串口替换原来固件 |
|
| 32 | +- 第二个固件esp8089需要手动modprobe一下 |
|
| 33 | + |
|
| 34 | +- [[ESP8089-dat]] |
|
| 35 | + |
|
| 36 | +- Nano 需要插卡启动(或者焊接spi flash),只插上 USB基本是无反应,屏幕无输出状态,但可在不插卡无 flash 状态下通过 USB 启动 U-boot |
|
| 37 | +- Nano 的系统调试串口是 UART0 ,即板子丝印上的的 “U0:Tx Rx” 标识的两个引脚 |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 42 | +## Image Flashing |
|
| 43 | + |
|
| 44 | +### uboot spl |
|
| 45 | + |
|
| 46 | +以 uboot file-with-spl形式进行(单次运行,测试时个人推荐) |
|
| 47 | + |
|
| 48 | + sunxi-fel uboot /your/path/to/u-boot-sunxi-with-spl.bin |
|
| 49 | + sunxi-fel uboot Nano_flash_800600.bin |
|
| 50 | + sunxi-fel uboot Nano_flash_800480.bin |
|
| 51 | + sunxi-fel uboot Nano_flash_480272.bin |
|
| 52 | + |
|
| 53 | +### TF card == linux |
|
| 54 | + |
|
| 55 | +镜像包中的image文件夹下的dd文件,已包含了相应的Bootloader、Kernel、文件系统等等,只需简单两步即可完成烧录; |
|
| 56 | + |
|
| 57 | +插上tf卡后,命令行执行 sudo fdisk -l 查看tf卡盘号; |
|
| 58 | + |
|
| 59 | +执行 即可完成烧录 |
|
| 60 | + |
|
| 61 | + sudo dd if=/path/to/your-dd-image of=/your/tf-card && sync |
|
| 62 | + |
|
| 63 | + |
|
| 64 | + |
|
| 65 | +### TF card == WIN |
|
| 66 | + |
|
| 67 | +使用软件 win32disk 进行一键烧录,可到 [此处](http://www.onlinedown.net/soft/110173.html) 下载; |
|
| 68 | + |
|
| 69 | + |
|
| 70 | +### Flash Empty |
|
| 71 | + |
|
| 72 | +- [[sunxi-tools-dat]] |
|
| 73 | + |
|
| 74 | +在flash内容为空的情况下(fel模式下的一种情况)进行烧录时,通过micro-usb数据线将Nano与电脑连接,执行 |
|
| 75 | + |
|
| 76 | + sudo sunxi-fel -p spiflash-write 0 Your-Flash-BIN |
|
| 77 | + |
|
| 78 | + cd /media/sf_share-folder/Nano_pub_V4/image |
|
| 79 | + |
|
| 80 | + |
|
| 81 | +### Flash NOT Empty |
|
| 82 | + |
|
| 83 | +- [[spi-flash-dat]] |
|
| 84 | + |
|
| 85 | + |
|
| 86 | + |
|
| 87 | + |
|
| 88 | +## how to make image flashimg.bin |
|
| 89 | + |
|
| 90 | +- [[nano_flash_dd.sh]] |
|
| 91 | + |
|
| 92 | +including |
|
| 93 | +- [[uboot-dat]] file |
|
| 94 | +- [[code-dat/linux-dat/linux-dat]] DTB file |
|
| 95 | +- [[code-dat/linux-dat/linux-dat]] kernel file |
|
| 96 | +- [[code-dat/linux-dat/linux-dat]] modules file |
|
| 97 | +- [[buildroot-dat]] rootfs file |
|
| 98 | + |
|
| 99 | + |
|
| 100 | +code to get flashimg.bin |
|
| 101 | + |
|
| 102 | + #!/bin/sh |
|
| 103 | + UBOOT_FILE=./u-boot/u-boot-sunxi-with-spl.bin |
|
| 104 | + DTB_FILE=./Linux/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb |
|
| 105 | + KERNEL_FILE=./Linux/arch/arm/boot/zImage |
|
| 106 | + ROOTFS_FILE=./buildroot-2021.02.4/output/images/rootfs.tar |
|
| 107 | + MOD_FILE=./Linux/out/lib/modules/4.15.0-rc8-licheepi-nano+ |
|
| 108 | + |
|
| 109 | + dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\ |
|
| 110 | + dd if=$UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\ |
|
| 111 | + dd if=$DTB_FILE of=flashimg.bin bs=1K seek=1024 conv=notrunc &&\ |
|
| 112 | + dd if=$KERNEL_FILE of=flashimg.bin bs=1K seek=1088 conv=notrunc &&\ |
|
| 113 | + mkdir rootfs |
|
| 114 | + tar -xvf $ROOTFS_FILE -C ./rootfs &&\ |
|
| 115 | + cp -r $MOD_FILE rootfs/lib/modules/ &&\ |
|
| 116 | + |
|
| 117 | + #为根文件系统制作jffs2镜像包 |
|
| 118 | + #--pad参数指定 jffs2大小 |
|
| 119 | + #由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000 |
|
| 120 | + mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\ |
|
| 121 | + dd if=jffs2.img of=flashimg.bin bs=1K seek=5184 conv=notrunc &&\ |
|
| 122 | + rm -rf rootfs &&\ |
|
| 123 | + rm jffs2.img |
|
| 124 | + |
|
| 125 | +folder rootfs for [[buildroot-dat]] |
|
| 126 | + |
|
| 127 | + |
|
| 128 | +## ref |
|
| 129 | + |
|
| 130 | +- https://pan.baidu.com/s/1smzuGS9#list/path=%2F |
|
| 131 | + |
|
| 132 | +- [[F1C100-dat]] |
|
| 133 | + |
|
| 134 | +- https://github.com/Zepan/ilichee/tree/master/资源文件/镜像烧写 |
|
| 135 | + |
|
| 136 | +- https://github.com/Zepan/ilichee |
|
| 137 | + |
|
| 138 | +- https://mega.nz/folder/A8g1Hb4J#WcuoqvbpasKlVB8-YEpWPA |
|
| 139 | + |
|
| 140 | +- [[sipeed-dat]] |
|
| 141 | + |
|
| 142 | +- Nano_pub_V4.zip |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-SDK-dat/F1C100-image-dat.md
| ... | ... | @@ -0,0 +1,104 @@ |
| 1 | + |
|
| 2 | + |
|
| 3 | +# F1C100-image-dat.md |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +## boot |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + ***** EAGLE DRIVER USER:bdf5087c3deb ***** |
|
| 11 | + esp_sdio_init ----- RETRY ----- |
|
| 12 | + |
|
| 13 | +- a problem of the wrong module |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +## prebuilt image |
|
| 18 | + |
|
| 19 | +### image == Nano_pub_V*.zip |
|
| 20 | + |
|
| 21 | +为了让大家上手即食,**Nano_pub_V*.zip** 是我们给出的解决方案。 |
|
| 22 | + |
|
| 23 | +Nano_pub_V4\image |
|
| 24 | + |
|
| 25 | +- Nano_flash_480272.bin |
|
| 26 | +- Nano_flash_800480.bin |
|
| 27 | +- Nano_flash_800480.bin.old |
|
| 28 | +- Nano_flash_800600.bin |
|
| 29 | +- Nanotf480272.dd |
|
| 30 | +- Nano tf8800480.dd |
|
| 31 | +- Nano tf800600.dd |
|
| 32 | +- test.bin |
|
| 33 | + |
|
| 34 | +modules\tf\4.15.0-next-20180202-licheepi-nano+ |
|
| 35 | + |
|
| 36 | +- kernel |
|
| 37 | +- build |
|
| 38 | +- modules.alias |
|
| 39 | +- modules.alias.bin |
|
| 40 | +- modules.builtin |
|
| 41 | +- modules.builtin.bin |
|
| 42 | +- modules.dep |
|
| 43 | +- modules.dep.bin |
|
| 44 | +- modules.devname |
|
| 45 | +- modules.order |
|
| 46 | +- modules.softdep |
|
| 47 | +- modules.symbols |
|
| 48 | +- modules.symbols.bin |
|
| 49 | + |
|
| 50 | +uboot\800600 |
|
| 51 | + |
|
| 52 | +- u-boot-spi-flash.bin |
|
| 53 | +- u-boot-tf.bin |
|
| 54 | + |
|
| 55 | +build |
|
| 56 | + |
|
| 57 | +- configs |
|
| 58 | +- mnt |
|
| 59 | +- p1 |
|
| 60 | +- p2 |
|
| 61 | +- boot.cmd |
|
| 62 | +- boot.scr |
|
| 63 | +- clear_partion.sh |
|
| 64 | +- env.sh |
|
| 65 | +- fstab |
|
| 66 | +- gen_scr.sh |
|
| 67 | +- pack_flash_img.sh |
|
| 68 | +- pack_tfimg.sh |
|
| 69 | +- pull_br.sh |
|
| 70 | +- pull_kernel.sh |
|
| 71 | +- pulluboot.sh |
|
| 72 | +- README.md |
|
| 73 | +- update-scr.sh |
|
| 74 | +- write_all.sh |
|
| 75 | +- write boot.sh |
|
| 76 | +- write_dd.sh |
|
| 77 | +- write_mkfs.sh |
|
| 78 | +- write_p1.sh |
|
| 79 | +- write_p2.sh |
|
| 80 | +- write_partion.sh |
|
| 81 | +- write_spiflash.sh |
|
| 82 | +- write_swap.sh |
|
| 83 | + |
|
| 84 | +#### V4 |
|
| 85 | +> * 剪裁文件系统大小,优化开机速度. |
|
| 86 | +> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 87 | +> * 支持lichee官方wifi,esp8089. |
|
| 88 | +> * 支持lichee官方触摸屏. |
|
| 89 | +> * 支持lichee官方的RBG2VGA模块. |
|
| 90 | + |
|
| 91 | +#### V3 |
|
| 92 | +> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 93 | +> * 支持lichee官方wifi,esp8089. |
|
| 94 | +> * 支持lichee官方触摸屏. |
|
| 95 | +> * 支持lichee官方的RBG2VGA模块. |
|
| 96 | + |
|
| 97 | +#### V2 |
|
| 98 | +> * 支持480*272,800*480的rgb显示屏. |
|
| 99 | +> * 支持lichee官方触摸屏. |
|
| 100 | + |
|
| 101 | +## ref |
|
| 102 | + |
|
| 103 | +- [[F1C100-SDK-dat]] |
|
| 104 | + |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/F1C100-dat.md
| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | + |
|
| 2 | +# F1C100-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## F1C200-dat |
|
| 6 | + |
|
| 7 | +全志 F1C200s 芯片是全志性价比极高的多媒体芯片之一,具有低成本、低功耗、开发简单、编解码性能强劲等特点,广泛应用于MP4、车载设备等带屏幕的智能硬件产品。 |
|
| 8 | + |
|
| 9 | +主要规格: |
|
| 10 | +- ARM9 CPU |
|
| 11 | +- SIP 64M DDR |
|
| 12 | +- 支持H.264 1920x1080@30fps 解码 |
|
| 13 | +- 支持MJPEG 1280x720@30fps 编码 |
|
| 14 | +- 丰富的音视频接口 |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## function application diagram |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +## chip info |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 26 | +- [[F1C100-SDK-dat]] - [[F1C100-HDK-dat]] |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +## ref |
|
| 30 | + |
|
| 31 | +- [[allwinner-dat]] - [[sipeed-dat]] |
|
| 32 | + |
|
| 33 | +- https://wiki.sipeed.com/soft/Lichee/zh/Nano-Doc-Backup/index.html |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +- [[V3S-dat]] |
|
| 38 | + |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C100-dat/nano_flash_dd.sh
| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | +#!/bin/sh |
|
| 2 | +UBOOT_FILE=./u-boot/u-boot-sunxi-with-spl.bin |
|
| 3 | +DTB_FILE=./Linux/arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb |
|
| 4 | +KERNEL_FILE=./Linux/arch/arm/boot/zImage |
|
| 5 | +ROOTFS_FILE=./buildroot-2021.02.4/output/images/rootfs.tar |
|
| 6 | +MOD_FILE=./Linux/out/lib/modules/4.15.0-rc8-licheepi-nano+ |
|
| 7 | + |
|
| 8 | +dd if=/dev/zero of=flashimg.bin bs=1M count=16 &&\ |
|
| 9 | +dd if=$UBOOT_FILE of=flashimg.bin bs=1K conv=notrunc &&\ |
|
| 10 | +dd if=$DTB_FILE of=flashimg.bin bs=1K seek=1024 conv=notrunc &&\ |
|
| 11 | +dd if=$KERNEL_FILE of=flashimg.bin bs=1K seek=1088 conv=notrunc &&\ |
|
| 12 | +mkdir rootfs |
|
| 13 | +tar -xvf $ROOTFS_FILE -C ./rootfs &&\ |
|
| 14 | +cp -r $MOD_FILE rootfs/lib/modules/ &&\ |
|
| 15 | + |
|
| 16 | +#为根文件系统制作jffs2镜像包 |
|
| 17 | +#--pad参数指定 jffs2大小 |
|
| 18 | +#由此计算得到 0x1000000(16M)-0x10000(64K)-0x100000(1M)-0x400000(4M)=0xAF0000 |
|
| 19 | +mkfs.jffs2 -s 0x100 -e 0x10000 --pad=0xAF0000 -d rootfs/ -o jffs2.img &&\ |
|
| 20 | +dd if=jffs2.img of=flashimg.bin bs=1K seek=5184 conv=notrunc &&\ |
|
| 21 | +rm -rf rootfs &&\ |
|
| 22 | +rm jffs2.img |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C200-dat/F1C200-dat.md
| ... | ... | @@ -0,0 +1,39 @@ |
| 1 | + |
|
| 2 | +# F1C200-dat |
|
| 3 | + |
|
| 4 | +- [[F1C100-dat]] |
|
| 5 | + |
|
| 6 | +core |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +其中SVREF用于给DRAM提供参考电压,该部分所需电压为VCC_DRAM/2。VCC_DRAM为DRAM供电,电压为2.5V,VCC_IO为GPIO供电,电压为3.3V,VCC_CORE为核心供电,电压为1.2V。AVCC为模拟供电,该部分非常重要,不接会导致USB Host无法枚举设备,同时需要注意该引脚供电范围为2.5V-3.1V,不可以使用3.3V供电,会导致内部电路损坏。X1为24M晶振,为芯片提供时钟信号,采用22pF负载电容。 |
|
| 11 | + |
|
| 12 | +- [[SDMMC-dat]] - [[memory-dat]] |
|
| 13 | + |
|
| 14 | +- [[serial-dat]] |
|
| 15 | + |
|
| 16 | +- [[LDO-dat]] - [[LDO-3CH-dat]] - [[LDO-dat]] |
|
| 17 | + |
|
| 18 | +- [[USB-dat]] - [[USB-OTG-dat]] |
|
| 19 | + |
|
| 20 | +- [[LED-driver-dat]] - [[parallel-display-dat]] - [[RGB-LCD-dat]] |
|
| 21 | + |
|
| 22 | +- [[ubuntu-dat]] - [[uboot-dat]] - [[linux-dat]] |
|
| 23 | + |
|
| 24 | +- [[video-decodec-dat]] |
|
| 25 | + |
|
| 26 | + |
|
| 27 | +## external GPIOs |
|
| 28 | + |
|
| 29 | +2.7 外部IO接口 |
|
| 30 | +此处引出了未使用的IO,用户可连接其他设备,C35为滤波电容,用于保证电源质量,该部分引脚功能可以参考下图(来源:芯片数据手册14/15页): |
|
| 31 | + |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
|
| 36 | +## ref |
|
| 37 | + |
|
| 38 | +- [[allwinner-dat]] |
|
| 39 | + |
Chip-cn-dat/microne-dat/me6206-dat/me6206-dat.md
| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | + |
|
| 2 | +# me6206-dat |
|
| 3 | + |
|
| 4 | +available in 1.5V, 2.5V, 2.8V, 3.3V |
|
| 5 | + |
|
| 6 | +SOT23-3, SOT89-3 |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +AVCC 3V LDO |
|
| 10 | + |
|
| 11 | +该部分用于AVCC 3V供电,使用XC6206 3V LDO,位号为U10,由于较为简单,此处不在详细说明。 |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +## ref |
|
| 15 | + |
|
| 16 | +- [[microne-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-16-36.png
| ... | ... | Binary files /dev/null and b/Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-16-36.png differ |
Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-18-41.png
| ... | ... | Binary files /dev/null and b/Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-18-41.png differ |
Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-18-59.png
| ... | ... | Binary files /dev/null and b/Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-18-59.png differ |
Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-19-32.png
| ... | ... | Binary files /dev/null and b/Chip-dat/silergy-dat/SY8089-dat/2025-08-19-14-19-32.png differ |
Chip-dat/silergy-dat/SY8089-dat/SY8089-dat.md
| ... | ... | @@ -0,0 +1,52 @@ |
| 1 | + |
|
| 2 | +# SY8089-dat |
|
| 3 | + |
|
| 4 | +该部分主要为主控芯片提供供电,采用SY8089A1AAC,单路最大输出电流2A, |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 8 | +如图,其中C24/C25/C27/C28/C30/C31为DCDC输入/输出滤波电容,L2/L3/L4为相应的电感,R16/R17/R18/R19/R20/R21为DC-DC反馈电阻,用于调节芯片输出电压,EN引脚为芯片使能脚,高电平有效,由于F1C200S对上电时序没有要求,故本开发板直接连接到电源输入,这样上电之后,芯片会直接开始运行,输出电压。 |
|
| 9 | + |
|
| 10 | +在该模块中,我们使用了2520电感,与普通的电感相比,体积更小,但是2520电感在DCR(即直流电阻)参数上,会比普通的电感大一点,电感值的计算公式可以参考下方: |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +图2.6 DCDC电流电感值计算公式 |
|
| 15 | + |
|
| 16 | +其中: |
|
| 17 | + |
|
| 18 | +L为计算出的电感容量 |
|
| 19 | + |
|
| 20 | +Vout为降压芯片输出电压 |
|
| 21 | + |
|
| 22 | +Vin为降压芯片输入电压 |
|
| 23 | + |
|
| 24 | +Fsw为芯片开关频率,SY8089取1.5Mhz,也就是1500000Hz |
|
| 25 | + |
|
| 26 | +Iout,max为最大输出电流 |
|
| 27 | + |
|
| 28 | +如下图所示,本开发板电感值直接参考SY8089数据手册文档,折中后取1.5Uh: |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | +图2.7 SY8089典型应用以及电容电感选型表 |
|
| 33 | + |
|
| 34 | +芯片的反馈电阻控制着芯片的输出电压,可以参考下方公式计算: |
|
| 35 | + |
|
| 36 | + |
|
| 37 | + |
|
| 38 | +图2.8 SY8089芯片反馈电阻计算公式 |
|
| 39 | + |
|
| 40 | +其中: |
|
| 41 | + |
|
| 42 | +Rh为上端分压电阻阻值 |
|
| 43 | + |
|
| 44 | +Rl为下端分压电阻阻值 |
|
| 45 | + |
|
| 46 | +0.6V指的是芯片的Vfb,也就是反馈电阻 |
|
| 47 | + |
|
| 48 | +Vout即最终的电压输出值 |
|
| 49 | + |
|
| 50 | +在这里,我们需要确定Rl和Vout,然后将其代入公式,计算出Rh。 |
|
| 51 | + |
|
| 52 | +为了最大限度地减少轻负载下的功耗,最好为 RH 和 RL 选择较大的电阻值。强烈建议 RL 使用 10k 到 200k 之间的值。 |
|
| ... | ... | \ No newline at end of file |
SDK-dat/arm-compiler-dat/2025-08-19-14-32-16.png
| ... | ... | Binary files /dev/null and b/SDK-dat/arm-compiler-dat/2025-08-19-14-32-16.png differ |
SDK-dat/arm-compiler-dat/arm-compiler-dat.md
| ... | ... | @@ -47,6 +47,22 @@ If you encounter issues as a regular user, try switching to the root user with ` |
| 47 | 47 | gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11) |
| 48 | 48 | |
| 49 | 49 | |
| 50 | + |
|
| 51 | +## setup for uboot |
|
| 52 | + |
|
| 53 | +在上章节中,我们已经配置好了交叉编译器arm-linux-gnueabi,我们只需要修改U-Boot的Makefile,添加以下内容就可以配置好交叉编译环境: |
|
| 54 | + |
|
| 55 | +ARCH ?= arm |
|
| 56 | + |
|
| 57 | +CROSS_COMPILE ?= arm-linux-gnueabi- |
|
| 58 | + |
|
| 59 | +ARCH CROSS_COMPLIE为编译中使用到的架构和编译器,?=指的是如果变量已经被指定则不使用此处提供的变量,修改完的文件可参考下方截图: |
|
| 60 | + |
|
| 61 | + |
|
| 62 | + |
|
| 63 | +图4.x U-Boot编译器的设置 |
|
| 64 | + |
|
| 65 | + |
|
| 50 | 66 | ## ref |
| 51 | 67 | |
| 52 | 68 | - [[ubuntu-dat]] |
| ... | ... | \ No newline at end of file |
SDK-dat/uboot-dat/uboot-dat.md
| ... | ... | @@ -1,10 +1,51 @@ |
| 1 | 1 | |
| 2 | 2 | # u-boot-dat |
| 3 | 3 | |
| 4 | +## prequiresite |
|
| 5 | + |
|
| 4 | 6 | - [[arm-compiler-dat]] |
| 5 | 7 | |
| 8 | + |
|
| 9 | +## clone |
|
| 10 | + |
|
| 6 | 11 | git clone -b nano-lcd800480 https://gitee.com/LicheePiNano/u-boot.git |
| 7 | 12 | |
| 13 | +U-Boot源码托管在github平台上,我们可以直接使用git命令将其取回。 |
|
| 14 | + |
|
| 15 | +U-Boot源码地址:https://github.com/u-boot/u-boot/tree/master |
|
| 16 | + |
|
| 17 | +作者适配好的U-Boot源码地址:https://gitee.com/fhcloud/f1-c200-s-uboot |
|
| 18 | + |
|
| 19 | +作者适配的U-Boot目前使用了master分支的U-Boot。由于后续master分支代码可能会存在更新,所以本指南将使用最近的一个U-Boot版本(v2023.10),指导用户进行修改和配置,编译出自己的U-Boot。 |
|
| 20 | + |
|
| 21 | + git clone https://github.com/u-boot/u-boot.git -b v2023.10 --depth=1 |
|
| 22 | + |
|
| 23 | + |
|
| 24 | +图4.x U-Boot克隆过程 |
|
| 25 | + |
|
| 26 | +其中: |
|
| 27 | + |
|
| 28 | +-b v2023.10 指定Tags为v2023.10 |
|
| 29 | + |
|
| 30 | +--depth=1下载深度为1,可以不下载之前的git commit,可以可以加快下载速度。 |
|
| 31 | + |
|
| 32 | +输入cd u-boot,进入源码目录,这里提示我们目前是头分离模式,我们直接按照要求创建新分支,在新分支下开发即可: |
|
| 33 | + |
|
| 34 | +he@DESKTOP-EP0P00N:~$ cd u-boot |
|
| 35 | + |
|
| 36 | +u-boot/ u-boot-master/ |
|
| 37 | + |
|
| 38 | +he@DESKTOP-EP0P00N:~$ cd u-boot |
|
| 39 | + |
|
| 40 | +he@DESKTOP-EP0P00N:~/u-boot$ git checkout -b dev |
|
| 41 | + |
|
| 42 | +Switched to a new branch 'dev' |
|
| 43 | + |
|
| 44 | +如果不使用Git管理代码,则不需要上面操作,直接忽略提示即可。 |
|
| 45 | + |
|
| 46 | + |
|
| 47 | +## compile |
|
| 48 | + |
|
| 8 | 49 | 了解u-boot大致结构后,我们就可以开始尝试编译了; |
| 9 | 50 | |
| 10 | 51 | # 此处告知make采用arm-linux-gnueabi下的所有交叉编译工具,目标架构为Arm,设定各项默认配置为 nano 的spiflash支持版 |
| ... | ... | @@ -44,6 +85,44 @@ |
| 44 | 85 | u-boot-sunxi-with-spl.bin 即可; |
| 45 | 86 | |
| 46 | 87 | |
| 88 | + |
|
| 89 | +## info |
|
| 90 | + |
|
| 91 | + |
|
| 92 | +U-Boot Overview |
|
| 93 | + |
|
| 94 | +U-Boot (Universal Boot Loader) is an open-source bootloader widely used in embedded device startup processes. As a powerful and versatile boot tool, it supports multiple processor architectures and embedded platforms. |
|
| 95 | + |
|
| 96 | +During system startup, U-Boot is responsible for initializing various hardware components, including but not limited to the CPU, memory controller, interrupt controller, and timer. It also loads the operating system kernel and root filesystem. U-Boot provides an interactive command-line interface for configuration, debugging, and maintenance. |
|
| 97 | + |
|
| 98 | +Typically, U-Boot serves as the first-stage bootloader, with its main task being to load and execute the operating system from different storage media (such as flash, SD card, or network). This makes U-Boot a key role in the embedded device boot process. |
|
| 99 | + |
|
| 100 | +Features and Functions of U-Boot: |
|
| 101 | + |
|
| 102 | +- Cross-platform compatibility: Supports a wide range of processor architectures, including ARM, x86, PowerPC, and MIPS, and can run on various embedded platforms. It adapts flexibly to different hardware configurations and system requirements. |
|
| 103 | +- Highly customizable: Offers rich configuration options and extensibility, allowing developers to tailor and optimize U-Boot for specific embedded system needs. |
|
| 104 | +- Multiple boot methods: Supports serial boot, network boot (via TFTP or NFS), SD card boot, and flash boot. |
|
| 105 | +- Interactive command-line interface: Users can perform device initialization, memory tests, filesystem operations, network configuration, and more. |
|
| 106 | +- Diverse filesystem support: Supports FAT, EXT2/3/4, UBIFS, and other filesystems, enabling loading and booting of different root filesystems. |
|
| 107 | +- Powerful debugging and diagnostic tools: Provides features for system debugging and troubleshooting, such as memory tests, device registration info display, and log recording. |
|
| 108 | + |
|
| 109 | +F1C200S Chip Boot Process: |
|
| 110 | + |
|
| 111 | +1. When power is applied, the internal BROM (non-erasable chip ROM) of the F1C100S starts. |
|
| 112 | +2. It first checks if an SD card is inserted in slot 0. If present, it reads data at an 8K offset to determine if it is valid boot data. If valid, BROM boot ends; otherwise, it proceeds to the next step. |
|
| 113 | +3. It checks for the presence of SPI0 NOR FLASH (e.g., W25QXXX or MX25LXXX) and verifies if valid boot data exists. If found, BROM boot ends; otherwise, it continues. |
|
| 114 | +4. It then checks for SPI0 NAND FLASH and validates if it contains valid boot data. If found, BROM boot ends; otherwise, it moves to the next step. |
|
| 115 | +5. If no bootable media is found in the above steps, the system switches to USB FEL mode, allowing USB programming. |
|
| 116 | +6. After BROM boot ends, the SPL (Second Program Loader) is loaded. SPL loads U-Boot into RAM, and U-Boot is then fully loaded. |
|
| 117 | + |
|
| 118 | +U-Boot Startup Sequence: |
|
| 119 | + |
|
| 120 | +- Upon starting, U-Boot loads the device tree configured at compile time, loads the corresponding drivers, locates the stored kernel or configuration files, and then starts the kernel according to user-defined boot commands and Linux kernel parameters. |
|
| 121 | +- After the kernel starts, U-Boot's role is complete. |
|
| 122 | +- Note: U-Boot also requires a device tree, mainly to help load memory and basic peripherals. This device tree does not need to be complex—usually, only memory and UART nodes are required. |
|
| 123 | + |
|
| 124 | + |
|
| 125 | + |
|
| 47 | 126 | ## ref |
| 48 | 127 | |
| 49 | 128 | - [[allwinner-dat]] |
| ... | ... | \ No newline at end of file |
Tech-dat/Interface-dat/USB-dat/USB-OTG-dat/2025-08-19-14-24-12.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Interface-dat/USB-dat/USB-OTG-dat/2025-08-19-14-24-12.png differ |
Tech-dat/Interface-dat/USB-dat/USB-OTG-dat/USB-OTG-dat.md
| ... | ... | @@ -22,7 +22,19 @@ SCH 2 |
| 22 | 22 |  |
| 23 | 23 | |
| 24 | 24 | |
| 25 | +## USB OTG/USB TYPE-C |
|
| 25 | 26 | |
| 27 | +该部分连接到了芯片的DP/DM引脚,为芯片的USB接口。 |
|
| 28 | + |
|
| 29 | +USB Type-C用于USB Fel模式烧录系统,无供电输入/输出能力。 |
|
| 30 | + |
|
| 31 | +USB OTG处可用于连接其他USB设备,带5V输出,可用于连接其他USB设备,当然也可以接双头USB Type-A线缆用于USB Fel模式。 |
|
| 32 | + |
|
| 33 | +该模块原理图如下所示: |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +需要注意的是,开发板中没有连接ID线(ID线用于识别USB模式),所以在编写设备树时,我们需要强制指定USB模式为主机或从机。 |
|
| 26 | 38 | |
| 27 | 39 | |
| 28 | 40 | ## cell phone type-c gadget |
Tech-dat/interactive-dat/LED-dat/led-driver-dat/2025-08-19-14-25-29.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/LED-dat/led-driver-dat/2025-08-19-14-25-29.png differ |
Tech-dat/interactive-dat/LED-dat/led-driver-dat/2025-08-19-14-25-51.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/LED-dat/led-driver-dat/2025-08-19-14-25-51.png differ |
Tech-dat/interactive-dat/LED-dat/led-driver-dat/led-driver-dat.md
| ... | ... | @@ -43,13 +43,46 @@ https://cdn.sparkfun.com/datasheets/Components/General/FQP30N06L.pdf |
| 43 | 43 | - writing .. == [[mosfet-driver-dat]] |
| 44 | 44 | |
| 45 | 45 | |
| 46 | +## LCD backlight drive |
|
| 46 | 47 | |
| 47 | -## chip |
|
| 48 | + |
|
| 49 | + |
|
| 50 | +### chip |
|
| 48 | 51 | |
| 49 | 52 | - [[silergy-dat]] - [[SY7200-dat]] - [[SY7201-dat]] |
| 50 | 53 | |
| 51 | 54 | - [[powtech-dat]] - [[PT4103-dat]] - [[PT4115-dat]] |
| 52 | 55 | |
| 56 | +### option 3 |
|
| 57 | + |
|
| 58 | +背光驱动 |
|
| 59 | + |
|
| 60 | +该部分用于驱动RGB屏幕背光,标准40Pin RGB屏幕基本采用串联背光,由于本身开发板供电只有5V,所以我们需要使用背光驱动芯片升压到合适的电压,来驱动屏幕背光。同时,背光驱动芯片采用恒流控制,可以避免电流过大导致背光LED烧毁,该部分原理图如下所示: |
|
| 61 | + |
|
| 62 | + |
|
| 63 | + |
|
| 64 | +其中: |
|
| 65 | + |
|
| 66 | +C19 C20为滤波电容,C19电容的耐压需要特别考虑,一般的RGB屏背光电压基本在18V以上(白光LED压降3V*6串),过低的电容耐压会导致电容损坏。 |
|
| 67 | + |
|
| 68 | +BL_CTR为芯片背光控制引脚,此处直接接入了上拉,再开发时可以将BL_CTR引脚接入F1C200S的PWM引脚上,这样可以灵活控制屏幕亮度,同时,有恒流驱动的存在,控制亮度时,背光也不存在明显的频闪。 |
|
| 69 | + |
|
| 70 | +L1 为升压电路的电感,按照要求一般取10uh或22uh即可,不需要使用公式详细计算,但是需要注意电流不能超过电感额定电流。 |
|
| 71 | + |
|
| 72 | +R5为芯片的反馈电阻,用于调节输出的电流,计算公式可参考下方: |
|
| 73 | + |
|
| 74 | + |
|
| 75 | + |
|
| 76 | +图2.13反馈电阻计算公式 |
|
| 77 | + |
|
| 78 | +此处我们选择20ma,所以R1=0.25/0.020(Ω) = 12.5Ω,就近取12Ω。 |
|
| 79 | + |
|
| 80 | +选择的20ma电流可以参考屏幕数据手册: |
|
| 81 | + |
|
| 82 | +图2.14 屏幕数据手册线路原理图 |
|
| 83 | + |
|
| 84 | +如上图,下方说明了LED为2并5串,额定电流为40ma,我们为了保险,选择了20ma,亮度会有所损失。 |
|
| 85 | + |
|
| 53 | 86 | |
| 54 | 87 | ### ref |
| 55 | 88 |
Tech-dat/interactive-dat/display-dat/LCD-dat/parallel-display-dat/RGB-LCD-dat/2025-08-19-14-27-13.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/display-dat/LCD-dat/parallel-display-dat/RGB-LCD-dat/2025-08-19-14-27-13.png differ |
Tech-dat/interactive-dat/display-dat/LCD-dat/parallel-display-dat/RGB-LCD-dat/2025-08-19-14-27-31.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/display-dat/LCD-dat/parallel-display-dat/RGB-LCD-dat/2025-08-19-14-27-31.png differ |
Tech-dat/interactive-dat/display-dat/LCD-dat/parallel-display-dat/RGB-LCD-dat/RGB-LCD-dat.md
| ... | ... | @@ -102,6 +102,23 @@ touch |
| 102 | 102 | - XL |
| 103 | 103 | - YU |
| 104 | 104 | |
| 105 | + |
|
| 106 | +40Pin RGB/触摸接口 |
|
| 107 | + |
|
| 108 | +此处参考屏幕数据手册即可,由于F1C200S只支持RGB565,RGB666,此处使用RGB666,屏蔽了RGB三色的低2位,这样最终色彩影响比较小,同时,F1C200S内置色彩抖动,可以更加接近RGB888效果。 |
|
| 109 | + |
|
| 110 | +其中需要注意的是,CTP_SDA/CTP_SCL最好加上上拉电阻,此处选用了内部上拉,所以并没有加电阻,该部分原理图如下所示: |
|
| 111 | + |
|
| 112 | + |
|
| 113 | + |
|
| 114 | +图2.15 RGB/触摸接口原理图 |
|
| 115 | + |
|
| 116 | +引脚定义可参考屏幕数据手册,如下图: |
|
| 117 | + |
|
| 118 | + |
|
| 119 | + |
|
| 120 | + |
|
| 121 | + |
|
| 105 | 122 | ## 8-bit parallel RGB LCD |
| 106 | 123 | |
| 107 | 124 | # Typical 8-bit Parallel TFT LCD Pinout (Example: ILI9341, ST7789V, HX8357) |
Tech-dat/media-dat/video-dat/video-dat.md
| ... | ... | @@ -24,25 +24,6 @@ |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | |
| 27 | -## compress |
|
| 28 | - |
|
| 29 | -- [[video-decodec-dat]] |
|
| 30 | - |
|
| 31 | -- H.265, H.264, H.263, MJPEG, MPEG-4, VP8, VP9, AV1 |
|
| 32 | - |
|
| 33 | - |
|
| 34 | - |
|
| 35 | - |
|
| 36 | -## resolution compare |
|
| 37 | - |
|
| 38 | -| Resolution Name | short | Megapixels (MP) | Pixel Dimensions | Aspect Ratio | Common Use Cases | |
|
| 39 | -| --------------- | ----- | --------------- | ------------------------ | ------------ | ---------------------------- | |
|
| 40 | -| 1080p (Full HD) | FHD | ~2.1 MP | 1920 × 1080 | 16:9 | HD video, streaming | |
|
| 41 | -| 3MP | | 3.0 MP | 2048 × 1536 (or similar) | 4:3 | Budget security cameras | |
|
| 42 | -| 4MP | | 4.0 MP | 2560 × 1440 | 16:9 | Mid-range security systems | |
|
| 43 | -| 5MP | | 5.0 MP | 2592 × 1944 | 4:3 | Higher-res CCTV, imaging | |
|
| 44 | -| 4K (Ultra HD) | UHD | ~8.3 MP | 3840 × 2160 | 16:9 | High-end video, surveillance | |
|
| 45 | - |
|
| 46 | 27 | |
| 47 | 28 | |
| 48 | 29 | ## analog video |
Tech-dat/media-dat/video-dat/video-decodec-dat/video-decodec-dat.md
| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | + |
|
| 2 | +# video-decodec-dat |
|
| 3 | + |
|
| 4 | +## compress |
|
| 5 | + |
|
| 6 | +- [[video-decodec-dat]] |
|
| 7 | + |
|
| 8 | +- H.265, H.264, H.263, MJPEG, MPEG-4, VP8, VP9, AV1 |
|
| 9 | + |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 13 | +## resolution compare |
|
| 14 | + |
|
| 15 | +| Resolution Name | short | Megapixels (MP) | Pixel Dimensions | Aspect Ratio | Common Use Cases | |
|
| 16 | +| --------------- | ----- | --------------- | ------------------------ | ------------ | ---------------------------- | |
|
| 17 | +| 1080p (Full HD) | FHD | ~2.1 MP | 1920 × 1080 | 16:9 | HD video, streaming | |
|
| 18 | +| 3MP | | 3.0 MP | 2048 × 1536 (or similar) | 4:3 | Budget security cameras | |
|
| 19 | +| 4MP | | 4.0 MP | 2560 × 1440 | 16:9 | Mid-range security systems | |
|
| 20 | +| 5MP | | 5.0 MP | 2592 × 1944 | 4:3 | Higher-res CCTV, imaging | |
|
| 21 | +| 4K (Ultra HD) | UHD | ~8.3 MP | 3840 × 2160 | 16:9 | High-end video, surveillance | |
|
| 22 | + |
|
| 23 | +## ref |
|
| 24 | + |
|
| 25 | +- [[video-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/memory-dat/flash-dat/spi-flash-dat/2025-08-19-14-21-31.png
| ... | ... | Binary files /dev/null and b/Tech-dat/memory-dat/flash-dat/spi-flash-dat/2025-08-19-14-21-31.png differ |
Tech-dat/memory-dat/flash-dat/spi-flash-dat/spi-flash-dat.md
| ... | ... | @@ -39,6 +39,43 @@ bypass flash |
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | |
| 42 | +## SPI NOR Flash |
|
| 43 | + |
|
| 44 | +Nor Flash为F1C200S芯片提供了第二种启动方式。 |
|
| 45 | + |
|
| 46 | +上电后,F1C200S首先从内部BROM (芯片内置,无法擦除)启动; |
|
| 47 | + |
|
| 48 | +首先检查 SD0 有没有插卡, 如果有插卡就读卡 8k偏移数据,是否是合法的启动数据, 如果是BROM 引导结束, 否则进入下一步; |
|
| 49 | + |
|
| 50 | +第二步:检测SPI0 NOR FLASH是否存在, 是否有合法的启动数据, 如果是BROM 引导结束, 否则进入下一步; |
|
| 51 | + |
|
| 52 | +第三步:检测SPI0 NAND FLASH 是否存在, 是否有合法的启动数据, 如果是BROM 引导结束, 否则进入下一步; |
|
| 53 | + |
|
| 54 | +最后,因为找不到任何可以引导的介质,系统会进入usb fel模式,此时可以使用USB烧录。 |
|
| 55 | + |
|
| 56 | +此处SPI Nor Flash可以同时兼容Nand Flash,不过目前裸机资料基本上都是以SPI Nor Flash为基础,所以此处焊接了W25Q128JVEIQ 128Mbit(16Mbyte)SPI Nor Flash。 |
|
| 57 | + |
|
| 58 | +该部分原理图如下所示: |
|
| 59 | + |
|
| 60 | + |
|
| 61 | + |
|
| 62 | +图2.9 W25Q128JVEIQ原理图 |
|
| 63 | + |
|
| 64 | +其中: |
|
| 65 | + |
|
| 66 | +R4为上拉电阻(F1C200S内部也存在上拉电阻,可以不焊),防止未供电时芯片错误写入数据; |
|
| 67 | + |
|
| 68 | +C16为滤波电容; |
|
| 69 | + |
|
| 70 | +SW2为FEL模式开关,将SPI_MISO短路到地后,F1C200S将无法检测到SPI Nor Flash,从而进入USB Fel模式,此时可以松开按键,烧录内容至SPI Nor Flash。 |
|
| 71 | + |
|
| 72 | +/WP为SPI Nor Flash保护引脚,低电平有效,有效时无法写入数据 |
|
| 73 | + |
|
| 74 | +/HOLDor/RESET为SPI Nor Flash保持或者复位输入引脚。 |
|
| 75 | + |
|
| 76 | +此处由于SPI Nor Flash内部默认设置,/HOLDor/RESET和/WP引脚即使不拉高,芯片也会照样运作。 |
|
| 77 | + |
|
| 78 | + |
|
| 42 | 79 | ## ref |
| 43 | 80 | |
| 44 | 81 | - [[memory]] |
| ... | ... | \ No newline at end of file |
Tech-dat/memory-dat/sd-dat/2025-08-19-14-13-40.png
| ... | ... | Binary files /dev/null and b/Tech-dat/memory-dat/sd-dat/2025-08-19-14-13-40.png differ |
Tech-dat/memory-dat/sd-dat/sd-dat.md
| ... | ... | @@ -202,6 +202,28 @@ SCH 3 |
| 202 | 202 | |
| 203 | 203 |  |
| 204 | 204 | |
| 205 | +SCH 4 |
|
| 206 | + |
|
| 207 | +SDMMC接口用于接入Micro SD卡,系统启动时,可以从SD卡中加载U-Boot,内核,RootFS,实现Linux启动。 |
|
| 208 | + |
|
| 209 | +该部分原理图如下所示: |
|
| 210 | + |
|
| 211 | + |
|
| 212 | + |
|
| 213 | +如上图所示,相关线路说明如下所示: |
|
| 214 | + |
|
| 215 | +CLK: SDMMC时钟,每个时钟周期传输一个命令或数据位。频率可在0至25MHz之间变化。SD卡总线管理器可以自由产生0至25MHz的频率,没有任何限制。 |
|
| 216 | + |
|
| 217 | +CMD: 命令传输线,命令通过该CMD线串行传输。 |
|
| 218 | + |
|
| 219 | +D0~D3: 数据通过这些数据线传输。 |
|
| 220 | + |
|
| 221 | +按照SDMMC规范,SDMMC线路还需要增加10K上拉电阻,如果没有可以会影响数据传输,本原理图中R7-R11即上拉电阻。同时,为了保证电源质量,增加了C22滤波电容。 |
|
| 222 | + |
|
| 223 | +SHELL引脚为SDMMC连接器固定引脚,此处接地处理,CD引脚用于探测SD卡是否插入,这一块悬空未使用。 |
|
| 224 | + |
|
| 225 | + |
|
| 226 | + |
|
| 205 | 227 | ## ref |
| 206 | 228 | |
| 207 | 229 | - [[memory-dat]] - [[interface-dat]] - [[sd-card-holder-dat]] - [[microsd-card-holder-dat]] |
Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-37-41.png
| ... | ... | Binary files /dev/null and b/Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-37-41.png differ |
Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-38-19.png
| ... | ... | Binary files /dev/null and b/Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-38-19.png differ |
Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-38-37.png
| ... | ... | Binary files /dev/null and b/Tech-dat/memory-dat/sd-dat/sd-flashing-dat/2025-08-19-14-38-37.png differ |
Tech-dat/memory-dat/sd-dat/sd-flashing-dat/sd-flashing-dat.md
| ... | ... | @@ -5,4 +5,28 @@ |
| 5 | 5 | |
| 6 | 6 | - [win32disk](http://www.onlinedown.net/soft/110173.html) |
| 7 | 7 | |
| 8 | -- [SD Card Formatter](https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip) |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [SD Card Formatter](https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip) |
|
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## 分区 |
|
| 5 | + |
|
| 6 | +GPartd格式化SD卡过程 |
|
| 7 | + |
|
| 8 | +接着开始创建分区, |
|
| 9 | + |
|
| 10 | +首先创建boot分区,用于u-boot读取设备树、内核等文件,我们需要在分区前方空出一定的空间,用于u-boot以及SPL程序存放,如下图所示,首先点击左上角按钮,创建新分区,然后按照下图创建boot分区。 |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +此处为U-Boot以及SPL预留了1Mib的空间,完全足够存放这些程序。 |
|
| 15 | + |
|
| 16 | +接着创建rootfs分区,我们将剩下的空间全部作为rootfs,文件系统选择ext4,如下图所示: |
|
| 17 | + |
|
| 18 | + |
|
| 19 | + |
|
| 20 | +图3.x rootfs分区创建过程 |
|
| 21 | + |
|
| 22 | +最后点击保存,确认后生效,拔出SD卡备用,操作可参考下图: |
|
| 23 | + |
|
| 24 | + |
|
| ... | ... | \ No newline at end of file |
board-series-dat/led-rgb-panel-dat/led-rgb-panel-chip-dat/led-rgb-panel-chip-dat.md
| ... | ... | @@ -3,6 +3,15 @@ |
| 3 | 3 | |
| 4 | 4 | - [[led-rgb-panel-chip-log-dat]] |
| 5 | 5 | |
| 6 | + |
|
| 7 | +- ICND2012 |
|
| 8 | +- RUC7258 |
|
| 9 | +- ICN2038S |
|
| 10 | +- SM5266P |
|
| 11 | +- ICN2037 |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 6 | 15 | ## direct ABCDE addressing |
| 7 | 16 | |
| 8 | 17 | ### DP5125D |
| ... | ... | @@ -46,3 +55,5 @@ https://github.com/hzeller/rpi-rgb-led-matrix/issues/1774 |
| 46 | 55 | ## ref |
| 47 | 56 | |
| 48 | 57 | - [more chip list reference list DMD_STM32](https://github.com/board707/DMD_STM32/wiki/Led_drivers) |
| 58 | + |
|
| 59 | +- [[RMP-driver-dat]] |
|
| ... | ... | \ No newline at end of file |
power-dat/DC-dat/LDO-dat/LDO-3CH-dat/LDO-3CH-dat.md
| ... | ... | @@ -0,0 +1,8 @@ |
| 1 | + |
|
| 2 | +# LDO-3CH-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## seperated options |
|
| 6 | + |
|
| 7 | +- [[SY8089-dat]] - [[silergy-dat]] |
|
| 8 | + |
power-dat/DC-dat/LDO-dat/LDO-dat.md
| ... | ... | @@ -7,6 +7,8 @@ |
| 7 | 7 | |
| 8 | 8 | - [[LDO-2CH-dat]] |
| 9 | 9 | |
| 10 | +- [[LDO-3CH-dat]] |
|
| 11 | + |
|
| 10 | 12 | ## comparable table |
| 11 | 13 | |
| 12 | 14 | | chip | package | VIN | |
| ... | ... | @@ -28,6 +30,10 @@ CE6260 == 500mA CMOS LDO Regulator, Low Dropout Voltage, Dropout Voltage: 120mV@ |
| 28 | 30 | |
| 29 | 31 | [HM6245 ==1A Low Power LDO, Low voltage drop: 0.06V@100mA](https://dfimg.dfrobot.com/5d57611a3416442fa39bffca/wiki/6f630301d84caf0e92266e3c5cf11edc.PDF) |
| 30 | 32 | |
| 33 | +SC622K == 500mA Low Dropout Regulator, Low voltage drop: 0.1V@100mA |
|
| 34 | + |
|
| 35 | +- [[me6206-dat]] - [[microne-dat]] |
|
| 36 | + |
|
| 31 | 37 | ## 9742 |
| 32 | 38 | |
| 33 | 39 |  |