053389530d7fc4351c860dcb532edfaa7c6b1e70
Chip-cn-dat/allwinner-dat/F1C100-dat/2025-07-16-00-51-22.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C100-dat/2025-07-16-00-51-22.png differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/C100-MP5-SCH.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C100-dat/C100-MP5-SCH.pdf differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-dat.md
| ... | ... | @@ -0,0 +1,161 @@ |
| 1 | + |
|
| 2 | +# F1C100-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +- [[F1C100s_Datasheet_V1.0.pdf]] |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +## SCH |
|
| 11 | + |
|
| 12 | +- [[lichee_nano_8.16(Schematic).pdf]] |
|
| 13 | + |
|
| 14 | +- [[C100-MP5-SCH.pdf]] |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +## Note |
|
| 18 | + |
|
| 19 | +- esp8089以modprobe方式挂载,直接通过串口替换原来固件 |
|
| 20 | +- 第二个固件esp8089需要手动modprobe一下 |
|
| 21 | + |
|
| 22 | +- [[ESP8089-dat]] |
|
| 23 | + |
|
| 24 | +- Nano 需要插卡启动(或者焊接spi flash),只插上 USB基本是无反应,屏幕无输出状态,但可在不插卡无 flash 状态下通过 USB 启动 U-boot |
|
| 25 | +- Nano 的系统调试串口是 UART0 ,即板子丝印上的的 “U0:Tx Rx” 标识的两个引脚 |
|
| 26 | + |
|
| 27 | +## SDK |
|
| 28 | + |
|
| 29 | +- [[Linux-dat]]、[[RT-Thread-dat]] (CN)、[[Xboot-dat]] (CN) |
|
| 30 | + |
|
| 31 | +- [[uboot-dat]] - [[sunxi-tools-dat]] |
|
| 32 | + |
|
| 33 | +- [[ubuntu-dat]] |
|
| 34 | + |
|
| 35 | +- [[buildroot-dat]] |
|
| 36 | + |
|
| 37 | +### image == Nano_pub_V*.zip |
|
| 38 | + |
|
| 39 | +为了让大家上手即食,**Nano_pub_V*.zip** 是我们给出的解决方案。 |
|
| 40 | + |
|
| 41 | +Nano_pub_V4\image |
|
| 42 | + |
|
| 43 | +- Nanoflash480272.bin |
|
| 44 | +- Nanoflash800480.bin |
|
| 45 | +- Nanoflash800480.bin.old |
|
| 46 | +- Nanoflash800600.bin |
|
| 47 | +- Nanotf480272.dd |
|
| 48 | +- Nano tf8800480.dd |
|
| 49 | +- Nano tf800600.dd |
|
| 50 | +- test.bin |
|
| 51 | + |
|
| 52 | +modules\tf\4.15.0-next-20180202-licheepi-nano+ |
|
| 53 | + |
|
| 54 | +- kernel |
|
| 55 | +- build |
|
| 56 | +- modules.alias |
|
| 57 | +- modules.alias.bin |
|
| 58 | +- modules.builtin |
|
| 59 | +- modules.builtin.bin |
|
| 60 | +- modules.dep |
|
| 61 | +- modules.dep.bin |
|
| 62 | +- modules.devname |
|
| 63 | +- modules.order |
|
| 64 | +- modules.softdep |
|
| 65 | +- modules.symbols |
|
| 66 | +- modules.symbols.bin |
|
| 67 | + |
|
| 68 | +uboot\800600 |
|
| 69 | + |
|
| 70 | +- u-boot-spi-flash.bin |
|
| 71 | +- u-boot-tf.bin |
|
| 72 | + |
|
| 73 | +build |
|
| 74 | + |
|
| 75 | +- configs |
|
| 76 | +- mnt |
|
| 77 | +- p1 |
|
| 78 | +- p2 |
|
| 79 | +- boot.cmd |
|
| 80 | +- boot.scr |
|
| 81 | +- clear_partion.sh |
|
| 82 | +- env.sh |
|
| 83 | +- fstab |
|
| 84 | +- gen_scr.sh |
|
| 85 | +- pack_flash_img.sh |
|
| 86 | +- pack_tfimg.sh |
|
| 87 | +- pull_br.sh |
|
| 88 | +- pull_kernel.sh |
|
| 89 | +- pulluboot.sh |
|
| 90 | +- README.md |
|
| 91 | +- update-scr.sh |
|
| 92 | +- write_all.sh |
|
| 93 | +- write boot.sh |
|
| 94 | +- write_dd.sh |
|
| 95 | +- write_mkfs.sh |
|
| 96 | +- write_p1.sh |
|
| 97 | +- write_p2.sh |
|
| 98 | +- write_partion.sh |
|
| 99 | +- write_spiflash.sh |
|
| 100 | +- write_swap.sh |
|
| 101 | + |
|
| 102 | +#### V4 |
|
| 103 | +> * 剪裁文件系统大小,优化开机速度. |
|
| 104 | +> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 105 | +> * 支持lichee官方wifi,esp8089. |
|
| 106 | +> * 支持lichee官方触摸屏. |
|
| 107 | +> * 支持lichee官方的RBG2VGA模块. |
|
| 108 | + |
|
| 109 | +#### V3 |
|
| 110 | +> * 支持480*272,800*480,800*600的rgb显示屏. |
|
| 111 | +> * 支持lichee官方wifi,esp8089. |
|
| 112 | +> * 支持lichee官方触摸屏. |
|
| 113 | +> * 支持lichee官方的RBG2VGA模块. |
|
| 114 | + |
|
| 115 | +#### V2 |
|
| 116 | +> * 支持480*272,800*480的rgb显示屏. |
|
| 117 | +> * 支持lichee官方触摸屏. |
|
| 118 | + |
|
| 119 | + |
|
| 120 | +## Image Flashing |
|
| 121 | + |
|
| 122 | +### TF card == linux |
|
| 123 | + |
|
| 124 | +镜像包中的image文件夹下的dd文件,已包含了相应的Bootloader、Kernel、文件系统等等,只需简单两步即可完成烧录; |
|
| 125 | + |
|
| 126 | +插上tf卡后,命令行执行 sudo fdisk -l 查看tf卡盘号; |
|
| 127 | + |
|
| 128 | +执行 即可完成烧录 |
|
| 129 | + |
|
| 130 | + sudo dd if=/path/to/your-dd-image of=/your/tf-card && sync |
|
| 131 | + |
|
| 132 | +### TF card == WIN |
|
| 133 | + |
|
| 134 | +使用软件 win32disk 进行一键烧录,可到 [此处](http://www.onlinedown.net/soft/110173.html) 下载; |
|
| 135 | + |
|
| 136 | + |
|
| 137 | + |
|
| 138 | + |
|
| 139 | +### Flash Empty |
|
| 140 | + |
|
| 141 | +在flash内容为空的情况下(fel模式下的一种情况)进行烧录时,通过micro-usb数据线将Nano与电脑连接,执行 |
|
| 142 | + |
|
| 143 | + sudo sunxi-fel -p spiflash-write 0 Your-Flash-BIN |
|
| 144 | + |
|
| 145 | +### Flash NOT Empty |
|
| 146 | + |
|
| 147 | +若flash中已有系统,可通过: |
|
| 148 | + |
|
| 149 | +- 短接flash的 1、4 两脚,然后重新上电,上电后松开短接,即可重新进入fel模式,进行再次下载 |
|
| 150 | +- 在启动到内核前,回车进入 [[uboot-dat]],执行 sf probe 0;sf erase 0 0x100000;reset即可重新进入fel模式 |
|
| 151 | + |
|
| 152 | + |
|
| 153 | + |
|
| 154 | + |
|
| 155 | + |
|
| 156 | + |
|
| 157 | +## ref |
|
| 158 | + |
|
| 159 | +- [[allwinner-dat]] - [[sipeed-dat]] |
|
| 160 | + |
|
| 161 | +- https://pan.baidu.com/s/1smzuGS9#list/path=%2F |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100s_Datasheet_V1.0.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100s_Datasheet_V1.0.pdf differ |
Chip-cn-dat/allwinner-dat/F1C100-dat/lichee_nano_8.16(Schematic).pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C100-dat/lichee_nano_8.16(Schematic).pdf differ |
Chip-cn-dat/allwinner-dat/F1C600-dat/Allwinner_F1C600_User_Manual_V1.0.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C600-dat/Allwinner_F1C600_User_Manual_V1.0.pdf differ |
Chip-cn-dat/allwinner-dat/F1C600-dat/F1C600-dat.md
| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | + |
|
| 2 | +# F1C600-dat |
|
| 3 | + |
|
| 4 | +- [[F1C600_Datasheet_V1.0.pdf]] |
|
| 5 | + |
|
| 6 | +- [[Allwinner_F1C600_User_Manual_V1.0.pdf]] |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +## ref |
|
| 10 | + |
|
| 11 | +- [[allwinner-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/F1C600-dat/F1C600_Datasheet_V1.0.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/allwinner-dat/F1C600-dat/F1C600_Datasheet_V1.0.pdf differ |
Chip-cn-dat/allwinner-dat/allwinner-dat.md
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | |
| 33 | 33 | - [[XR32F429-dat]] |
| 34 | 34 | |
| 35 | -- [[F1C200-dat]] QFN - [[F1C100-dat]] QFN |
|
| 35 | +- [[F1C600-dat]] - [[F1C200-dat]] QFN - [[F1C100-dat]] QFN |
|
| 36 | 36 | |
| 37 | 37 | - [[virtualbox-dat]] |
| 38 | 38 | |
| ... | ... | @@ -74,4 +74,6 @@ |
| 74 | 74 | |
| 75 | 75 | - [[allwinner]] |
| 76 | 76 | |
| 77 | -- [[chip-cn-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[chip-cn-dat]] |
|
| 1 | + |
|
| 2 | +- [[sipeed-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/RT-Thread-dat/RT-Thread-dat.md
| ... | ... | @@ -0,0 +1,14 @@ |
| 1 | + |
|
| 2 | +# RT-Thread-dat |
|
| 3 | + |
|
| 4 | +- [[allwinner-dat]] |
|
| 5 | + |
|
| 6 | +https://github.com/RT-Thread/rt-thread |
|
| 7 | + |
|
| 8 | +Nano 也得到了优秀国产物联网操作系统 RT-Thread 的官方支持,有rtt相关知识或经验,我们就可以对 Nano 进行快速高效的开发; |
|
| 9 | + |
|
| 10 | +RTT官方已经给出由 uestczyh222 所维护的 Nano固件详细的编译、烧录过程,搬运至此: |
|
| 11 | + |
|
| 12 | +https://github.com/RT-Thread/rt-thread/blob/master/bsp/allwinner_tina/README.md |
|
| 13 | + |
|
| 14 | +git clone https://github.com/RT-Thread/rt-thread.git |
|
| ... | ... | \ No newline at end of file |
SDK-dat/Xboot-dat/Xboot-dat.md
| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | + |
|
| 2 | +# Xboot-dat |
|
| 3 | + |
|
| 4 | +xboot秉持一次编写到处运行的理念,集成各类驱动支持,支持lua虚拟机,是一款优秀的bootloader;xboot无需额外配置直接上手! |
|
| 5 | + |
|
| 6 | +请到 xboot 下载README中给出的官方交叉编译器;请下载5.3.1版本,其5.3.0版本貌似不支持软浮点配置命令。 |
|
| 7 | + |
|
| 8 | + git clone https://github.com/xboot/xboot.git |
|
| 9 | + cd xboot |
|
| 10 | + make CROSS_COMPILE=/path/to/arm-eabi- PLATFORM=arm32-f1c100s #请自行修改到本机地址 |
|
| 11 | + |
|
| 12 | +烧写到RAM中并运行 |
|
| 13 | + |
|
| 14 | + sunxi-fel spl xboot.bin |
|
| 15 | + sunxi-fel -p write 0x80000000 xboot.bin |
|
| 16 | + sunxi-fel exec 0x80000000; |
|
| 17 | + |
|
| 18 | +或烧写到SPI Flash |
|
| 19 | + |
|
| 20 | + sunxi-fel -p spiflash-write 0 xboot.bin |
|
| 21 | + |
|
| 22 | +进入命令行后输入地址 /application/examples 将启动lua虚拟机运行Demo,可以算是xboot的酷炫小惊喜~ |
|
| ... | ... | \ No newline at end of file |
SDK-dat/arm-compiler-dat/arm-compiler-dat.md
| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | +# ARM Cross-Compiler Installation Tutorial |
|
| 2 | + |
|
| 3 | +This guide will walk you through installing the ARM cross-compiler toolchain (version 7.2.1 as an example), configuring your environment, and testing the installation. |
|
| 4 | + |
|
| 5 | +## 1. Download the Toolchain |
|
| 6 | +You can download version 7.2.1 or choose another version as needed: |
|
| 7 | + |
|
| 8 | + wget http://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabi/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi.tar.xz |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +## 2. Extract the Archive |
|
| 12 | + |
|
| 13 | + tar -vxJf gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi.tar.xz |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +## 3. Move the Toolchain to /opt |
|
| 17 | + |
|
| 18 | + sudo cp -r ./gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi /opt/ |
|
| 19 | + |
|
| 20 | + |
|
| 21 | +## 4. Add Toolchain to PATH |
|
| 22 | + |
|
| 23 | +Edit `/etc/bash.bashrc` and add the following line at the end: |
|
| 24 | + |
|
| 25 | + PATH="$PATH:/opt/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin" |
|
| 26 | + |
|
| 27 | + |
|
| 28 | +## 5. Reload Environment Variables |
|
| 29 | + |
|
| 30 | + source /etc/bash.bashrc |
|
| 31 | + |
|
| 32 | + |
|
| 33 | +## 6. Test the Installation |
|
| 34 | +Run the following command to verify the compiler is available: |
|
| 35 | + |
|
| 36 | + arm-linux-gnueabi-gcc -v |
|
| 37 | + |
|
| 38 | +If you encounter issues as a regular user, try switching to the root user with `sudo su` and test again. |
|
| 39 | + |
|
| 40 | + |
|
| 41 | + |
|
| 42 | +## ref |
|
| 43 | + |
|
| 44 | +- [[ubuntu-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/buildroot-dat/buildroot-dat.md
| ... | ... | @@ -0,0 +1,14 @@ |
| 1 | + |
|
| 2 | +# buildroot-dat |
|
| 3 | + |
|
| 4 | +buildroot可用于构建小型的linux根文件系统。 |
|
| 5 | + |
|
| 6 | +大小最小可低至2M,与内核一起可以放入最小8M的spi flash中。 |
|
| 7 | + |
|
| 8 | +buildroot中可以方便地加入第三方软件包(其实已经内置了很多),省去了手工交叉编译的烦恼。 |
|
| 9 | + |
|
| 10 | + |
|
| 11 | + wget https://buildroot.org/downloads/buildroot-2021.02.4.tar.gz |
|
| 12 | + tar xvf buildroot-2021.02.4.tar.gz |
|
| 13 | + cd buildroot-2021.02.4/ |
|
| 14 | + make menuconfig |
|
| ... | ... | \ No newline at end of file |
SDK-dat/linux-dat/linux-dat.md
| ... | ... | @@ -0,0 +1,34 @@ |
| 1 | + |
|
| 2 | +# linux-dat |
|
| 3 | + |
|
| 4 | +- [[ubuntu-dat]] |
|
| 5 | + |
|
| 6 | +完整下载命令为: |
|
| 7 | + |
|
| 8 | + git clone https://gitee.com/LicheePiNano/Linux.git |
|
| 9 | + |
|
| 10 | + git clone --depth=1 -b master https://gitee.com/LicheePiNano/Linux.git |
|
| 11 | + |
|
| 12 | +config == 使用./arch/arm/configs/f1c100s_nano_linux_defconfig 配置文件 |
|
| 13 | + |
|
| 14 | +compile |
|
| 15 | + |
|
| 16 | + make ARCH=arm f1c100s_nano_linux_defconfig |
|
| 17 | + |
|
| 18 | + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8 |
|
| 19 | + |
|
| 20 | + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16 INSTALL_MOD_PATH=out modules |
|
| 21 | + |
|
| 22 | + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16 INSTALL_MOD_PATH=out modules_install |
|
| 23 | + |
|
| 24 | +编译成功后,生成文件所在位置: |
|
| 25 | + |
|
| 26 | +- 内核img文件: ./arch/arm/boot/zImage |
|
| 27 | +- 设备树dtb文件: ./arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dtb |
|
| 28 | +- modules文件夹:./out/lib/modules |
|
| 29 | + |
|
| 30 | +将zImage与dtb文件放入nano第一分区. |
|
| 31 | + |
|
| 32 | +## ref |
|
| 33 | + |
|
| 34 | +- [[allwinner-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/sunxi-tools-dat/sunxi-tools-dat.md
| ... | ... | @@ -0,0 +1,83 @@ |
| 1 | + |
|
| 2 | +# sunxi-tools-dat |
|
| 3 | + |
|
| 4 | +- [[uboot-dat]] |
|
| 5 | + |
|
| 6 | +## for F1C100 |
|
| 7 | + |
|
| 8 | +- [[F1C100-dat]] - [[ubuntu-dat]] |
|
| 9 | + |
|
| 10 | + git clone https://github.com/Icenowy/sunxi-tools.git -b f1c100s-spiflash |
|
| 11 | + |
|
| 12 | + make && sudo make install |
|
| 13 | + |
|
| 14 | +查看芯片信息 |
|
| 15 | + |
|
| 16 | + sudo sunxi-fel ver |
|
| 17 | + AWUSBFEX soc=00001663(F1C100s) 00000001 ver=0001 44 08 |
|
| 18 | + scratchpad=00007e00 00000000 00000000 |
|
| 19 | + |
|
| 20 | +列出所有芯片的信息 |
|
| 21 | + |
|
| 22 | + sudo sunxi-fel -l |
|
| 23 | + |
|
| 24 | +加载并执行uboot的spl |
|
| 25 | + |
|
| 26 | + sudo sunxi-fel spl 文件名 |
|
| 27 | + |
|
| 28 | +把文件内容写入内存指定地址(-p是显示写入进度) sudo sunxi-fel -p |
|
| 29 | + |
|
| 30 | + write 地址 文件名 |
|
| 31 | + |
|
| 32 | +调用指定地址的函数 |
|
| 33 | + |
|
| 34 | + sudo sunxi-fel exec 地址 |
|
| 35 | + |
|
| 36 | +显示spiflash的信息 |
|
| 37 | + |
|
| 38 | + sudo sunxi-fel spiflash-info |
|
| 39 | + |
|
| 40 | +读取spiflash指定地址的数据并写入到文件 |
|
| 41 | + |
|
| 42 | + sudo sunxi-fel spiflash-read 地址 长度 存放数据的文件路径 |
|
| 43 | + |
|
| 44 | +写入指定文件的指定长度的内容到spiflash的指定地址 |
|
| 45 | + |
|
| 46 | + sudo sunxi-fel spiflash-write 地址 长度 存放数据的文件路径 |
|
| 47 | + |
|
| 48 | +## programming |
|
| 49 | + |
|
| 50 | + |
|
| 51 | +1. 以 uboot file-with-spl形式进行(单次运行,测试时个人推荐) |
|
| 52 | + |
|
| 53 | + sunxi-fel uboot /your/path/to/u-boot-sunxi-with-spl.bin |
|
| 54 | + |
|
| 55 | +2. 烧进 spi-flash (开机自启) |
|
| 56 | + |
|
| 57 | + sunxi-fel -p spiflash-write 0 /your/path/to/u-boot-sunxi-with-spl.bin |
|
| 58 | + |
|
| 59 | +note: 重新烧录或重进fel模式时,请在上电时拉低SPI flash 的 CS引脚 |
|
| 60 | + |
|
| 61 | +此时在串口控制台(minicom、putty或其他)输入 bdinfo |
|
| 62 | + |
|
| 63 | +将列出各种板子信息,如: |
|
| 64 | + |
|
| 65 | + arch_number = 0x00000000 |
|
| 66 | + boot_params = 0x80000100 |
|
| 67 | + DRAM bank = 0x00000000 |
|
| 68 | + -> start = 0x80000000 |
|
| 69 | + -> size = 0x02000000 |
|
| 70 | + baudrate = 115200 bps |
|
| 71 | + TLB addr = 0x80FF0000 |
|
| 72 | + relocaddr = 0x80F14000 |
|
| 73 | + reloc off = 0xFF814000 |
|
| 74 | + irq_sp = 0x80E09D90 |
|
| 75 | + sp start = 0x80E09D80 |
|
| 76 | + FB base = 0x81E89000 |
|
| 77 | + Early malloc usage: 118 / 400 |
|
| 78 | + fdt_blob = 80e09da8 |
|
| 79 | + |
|
| 80 | + |
|
| 81 | +## ref |
|
| 82 | + |
|
| 83 | +- [[allwinner-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/uboot-dat/uboot-dat.md
| ... | ... | @@ -0,0 +1,49 @@ |
| 1 | + |
|
| 2 | +# u-boot-dat |
|
| 3 | + |
|
| 4 | +- [[arm-compiler-dat]] |
|
| 5 | + |
|
| 6 | + git clone -b nano-lcd800480 https://gitee.com/LicheePiNano/u-boot.git |
|
| 7 | + |
|
| 8 | +了解u-boot大致结构后,我们就可以开始尝试编译了; |
|
| 9 | + |
|
| 10 | + # 此处告知make采用arm-linux-gnueabi下的所有交叉编译工具,目标架构为Arm,设定各项默认配置为 nano 的spiflash支持版 |
|
| 11 | + |
|
| 12 | + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- f1c100s_nano_uboot_defconfig |
|
| 13 | + |
|
| 14 | + # 若不带spi-flash的板子,请换成 licheepi_nano_defconfig |
|
| 15 | + |
|
| 16 | + # 进行可视化配置 |
|
| 17 | + |
|
| 18 | + make ARCH=arm menuconfig |
|
| 19 | + |
|
| 20 | +## LCD include |
|
| 21 | + |
|
| 22 | +若要在套餐中附带的LCD上输出显示,请通过配置 |
|
| 23 | + |
|
| 24 | + ARM architecture --> Enable graphical uboot console on HDMI, LCD or VGA 为 Y |
|
| 25 | + |
|
| 26 | +接着配置同级的 LCD panel timing details 为: |
|
| 27 | + |
|
| 28 | + x:800,y:480,depth:18,pclk\khz:33000,le:87,ri:40,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0 |
|
| 29 | + |
|
| 30 | +注:此块屏为为 800*480 规格,如为 480*272 请尝试如下配置: |
|
| 31 | + |
|
| 32 | + x:480,y:272,depth:18,pclk\khz:10000,le:42,ri:8,up:11,lo:4,hs:1,vs:1,sync:3,vmode:0 |
|
| 33 | + |
|
| 34 | +并将 LCD panel backlight pwm pin 设为: |
|
| 35 | + |
|
| 36 | + PE6 (查自 Nano 原理图) |
|
| 37 | + |
|
| 38 | +## 开始编译 |
|
| 39 | + |
|
| 40 | + make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8 |
|
| 41 | + |
|
| 42 | +编译完成后,可一看到目录下多了一堆以u-boot带头的文件,我们只需取 |
|
| 43 | + |
|
| 44 | + u-boot-sunxi-with-spl.bin 即可; |
|
| 45 | + |
|
| 46 | + |
|
| 47 | +## ref |
|
| 48 | + |
|
| 49 | +- [[allwinner-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/ubuntu-dat/ubuntu-dat.md
| ... | ... | @@ -23,6 +23,20 @@ apt-get update |
| 23 | 23 | apt-get upgrade |
| 24 | 24 | apt-get install <package_name> |
| 25 | 25 | |
| 26 | +## dependency |
|
| 27 | + |
|
| 28 | + sudo apt-get install gcc make cmake rsync wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev python3-distutils android-tools-mkbootimg -y |
|
| 29 | + |
|
| 30 | + sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32ncurses5 lib32bz2-1.0 -y |
|
| 31 | + |
|
| 32 | + sudo apt-get install vim flex bison texinfo u-boot-tools lib32stdc++6 libusb-1.0-0-dev mtd-utils -y |
|
| 33 | + |
|
| 34 | + sudo apt install libz libusb-1.0-0-dev |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +## SDK |
|
| 38 | + |
|
| 39 | +- [[tina-dat]] |
|
| 26 | 40 | |
| 27 | 41 | ## ref |
| 28 | 42 |
board-3rd-dat/sipeed-dat/sipeed-dat.md
| ... | ... | @@ -14,6 +14,9 @@ github.com/Lichee-Pi |
| 14 | 14 | |
| 15 | 15 | - [[V3S-dat]] |
| 16 | 16 | |
| 17 | +## lichhe nano |
|
| 18 | + |
|
| 19 | +- [[F1C100-dat]] |
|
| 17 | 20 | |
| 18 | 21 | ## ref |
| 19 | 22 |