1 Star 1 Fork 15

路洋 / f1c100s_buildroot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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的linux一键编译 展开 收起
其他
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
其他
1
https://gitee.com/IOTTS/f1c100s_buildroot.git
git@gitee.com:IOTTS/f1c100s_buildroot.git
IOTTS
f1c100s_buildroot
f1c100s_buildroot
master

搜索帮助