页次: 1
https://gitee.com/jiang_xing/f1c100s_buildroot
Buildroot f1c100s一键编译
编译flash
make licheepi_nano-flash_defconfig
make
编译ramdisk
make licheepi_nano-ram_defconfig
make
烧写flash
sudo ./up-flash.sh
在内存中运行
sudo ./up-ram.sh
nes模拟器编译与采蘑菇运行
cd board/f1c100s/apps/infones/linux
make
把InfoNES和Super_mario_brothers.nes复制到"output/target/root"
在回到f1c10s_buildroot目录下 make
sudo ./up-flash.sh 或 sudo ./up-ram.sh
运行嵌入式linux系统,登陆后在/root目录下运行
./InfoNES Super_mario_brothers.nes
修改核心添加RGB与BGR切换功能(画PCB时方便走线)
output/build/linux-5.2.11/arch/arm/boot/dts/suniv-f1c100s.dtsi
RGB
be0: display-backend@1e60000 {
compatible = "allwinner,suniv-f1c100s-display-backend";
reg = <0x01e60000 0x10000>;
reg-names = "be";
interrupts = <31>;
clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
<&ccu CLK_DRAM_DE_BE>;
clock-names = "ahb", "mod",
"ram";
resets = <&ccu RST_BUS_DE_BE>;
reset-names = "be";
assigned-clocks = <&ccu CLK_DE_BE>;
assigned-clock-rates = <300000000>;
rgb-channel-swap = <0>; /* 或者删除这句为RGB格式 */
BGR
be0: display-backend@1e60000 {
compatible = "allwinner,suniv-f1c100s-display-backend";
reg = <0x01e60000 0x10000>;
reg-names = "be";
interrupts = <31>;
clocks = <&ccu CLK_BUS_DE_BE>, <&ccu CLK_DE_BE>,
<&ccu CLK_DRAM_DE_BE>;
clock-names = "ahb", "mod",
"ram";
resets = <&ccu RST_BUS_DE_BE>;
reset-names = "be";
assigned-clocks = <&ccu CLK_DE_BE>;
assigned-clock-rates = <300000000>;
rgb-channel-swap = <1>; /* 设置为1为BGR格式 */
----------------------------
本站下载: f1c100s_buildroot.7z
请用git下载
https://gitee.com/jiang_xing/f1c100s_rt-thread
f1c100s使用RT-THREAD的液晶驱动,使用XBOOT代码移植。能跑RT-THREAD自带的LVGL组件。
我在淘宝上买了一个WIFI模块,RTL8723BS的芯片。想使用F1C100S来驱动,麻烦各位大神帮忙看下我的原理图是否正确。
这是规格书
https://whycan.cn/files/members/1613/RTL8723A.pdf
这是我画的原理图
https://whycan.cn/files/members/1613/WIFI.pdf
BT_WAKE
BT_HOST_WAKE
BT_DIS
这几个引脚该怎么接
RTL8723的蓝牙功能和WIFI功能是否能同时工作?
如果只保留WIFI功能原理图该怎么接?
麻烦各位了。
Linux zero-4.13.y 和 buildroot 编译参考这个: 荔枝派Zero V3s开发板入坑记录 (TF/SD卡启动)(主线Linux,主线u-boot)
文件系统打包成 initramfs:
cd /opt/buildroot-2018.08.2/output/target
find . | cpio -o -Hnewc |gzip -9 > ../rootfs.cpio.gz
mkimage -A arm -T ramdisk -C none -n uInitrd -d ../rootfs.cpio.gz ../rootfs.cpio.gz.uImage
(文件已经在一楼附件内)
uboot命令的SCR文件是怎么生成的?
# cat /proc/interrupts
CPU0
16: 4529 sun4i_irq 13 Edge timer@1c20c00
17: 829674 sun4i_irq 10 Edge sun6i-spi
18: 361 sun4i_irq 29 Edge 1c0c000.lcd-controller
19: 6117 sun4i_irq 23 Edge sunxi-mmc
23: 137 sun4i_irq 20 Edge sun4i-ts
24: 486 sun4i_irq 1 Edge ttyS0
25: 87 sun4i_irq 26 Edge musb-hdrc.1.auto
61: 1 sunxi_pio_edge 34 Edge usb0-id-det
Err: 0
中断来了
页次: 1