# f1c100s_dev **Repository Path**: smalleryuan/f1c100s_dev ## Basic Information - **Project Name**: f1c100s_dev - **Description**: fork from fhcloud@gitee 主控芯片f1c100s, 串口为PA2 PA3,7寸1024*600屏幕,GT911触摸。 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-04-04 - **Last Updated**: 2025-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Ubuntu 22.04LTS, F1C100S, UART1(PA2 PA3), 7inch 1024*600 IPS LCD, GT911 Touchscreen. #### Prepare vim ~/.bashrc, add lines to bottom: `replace to your path!` ```sh export ARCH=arm export CROSS_COMPILE=arm-buildroot-linux-gnueabi- export PATH=$PATH:/f1c100s_dev/buildroot-f1c200s/output/host/bin export CC=/f1c100s_dev/buildroot-f1c200s/output/host/bin/arm-buildroot-linux-gnueabi-gcc export CXX=/f1c100s_dev/buildroot-f1c200s/output/host/bin/arm-buildroot-linux-gnueabi-g++ ``` #### Rebuild * buildroot ```sh make f1c200sdev_defconfig make ``` * uboot ```sh make licheepi_nano_defconfig make ``` * kernel ```sh make f1cdev_defconfig make ``` #### SD card partition ```sh # 输入m可查看帮助 # 输入p,查看当前分区情况 # 输入d,删除当前分区,如有多个分区,依次输入d即可,然后输入p确认所有分区已删除 # 输入n,分区类型默认p,分区号默认1,起始扇区默认2048,结束扇区65536 # 输入n,分区类型默认p,分区号默认2,起始扇区默认67584,结束扇区819200 # 输入w,保存修改 # 如显示`The kernel still uses the old partitions. The new table will be used at the next reboot`则重新插拔TF卡即可看到正确的设备。 ``` 格式化: `sudo mkfs.vfat /dev/sdb1 && sudo mkfs.ext4 /dev/sdb2` #### Flash to SD Card ```sh sudo ./flash.sh ``` #### make sd card image 1. install tools: `sudo ./genimage-install.sh` 2. `sudo ./genimage-sdcard.sh` 3. flash image to sd card: `sudo ./genimage-flash.sh` #### change logo 1. `./make_logo.sh -f ` 2. enter kernel dir and `make` 3. make to images file and flash to sd card