您尚未登录。

楼主 #1 2018-01-31 15:46:32

bugfix
会员
注册时间: 2017-11-22
已发帖子: 125
积分: 125

让全志Allwinner V3s的u-boot的LCD动起来

  1. 用谷歌找一张酷炫gif图
    比如 xoApQkbkFnCkrao.gif
    在线 gif转bmp网站,转成一组bmp图片文件。

  2. 用sunxi-fel把前面9帧写入 spi nor flash:

    sudo sunxi-fel -p spiflash-write 0x0600000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-0.bmp
    sudo sunxi-fel -p spiflash-write 0x0660000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-1.bmp
    sudo sunxi-fel -p spiflash-write 0x06C0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-2.bmp
    sudo sunxi-fel -p spiflash-write 0x0720000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-3.bmp
    sudo sunxi-fel -p spiflash-write 0x0780000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-4.bmp
    sudo sunxi-fel -p spiflash-write 0x07E0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-5.bmp
    sudo sunxi-fel -p spiflash-write 0x0840000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-6.bmp
    sudo sunxi-fel -p spiflash-write 0x08A0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-7.bmp
    sudo sunxi-fel -p spiflash-write 0x0900000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-8.bmp
  3. 敲回车键进入u-boot命令行,
    输入命令: sf probe 0 1080000000; sf read 0x41000000 0x0600000 0x60000;sf read 0x41600000 0x0660000 0x60000;sf read 0x41C00000 0x06C0000 0x60000;sf read 0x42200000 0x0720000 0x60000;sf read 0x42800000 0x0780000 0x60000;sf read 0x42E00000 0x07E0000 0x60000;sf read 0x43400000 0x0840000 0x60000;bmp display 0x41000000 0 0;sleep 0.1;bmp display 0x41600000 0 0;sleep 0.1;bmp display 0x41C00000 0 0;sleep 0.1;bmp display 0x42200000 0 0;sleep 0.1;bmp display 0x42800000 0 0;sleep 0.1;bmp display 0x42E00000 0 0;sleep 0.1;bmp display 0x43400000 0 0;

    sf probe 0 1080000000; 
    sf read 0x41000000 0x0600000 0x60000;
    sf read 0x41600000 0x0660000 0x60000;
    sf read 0x41C00000 0x06C0000 0x60000;
    sf read 0x42200000 0x0720000 0x60000;
    sf read 0x42800000 0x0780000 0x60000;
    sf read 0x42E00000 0x07E0000 0x60000;
    sf read 0x43400000 0x0840000 0x60000;
    bmp display 0x41000000 0 0;sleep 0.1;
    bmp display 0x41600000 0 0;sleep 0.1;
    bmp display 0x41C00000 0 0;sleep 0.1;
    bmp display 0x42200000 0 0;sleep 0.1;
    bmp display 0x42800000 0 0;sleep 0.1;
    bmp display 0x42E00000 0 0;sleep 0.1;
    bmp display 0x43400000 0 0;

    现在u-boot的屏幕可以动起来了

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn