用谷歌找一张酷炫gif图
比如
用在线 gif转bmp网站,转成一组bmp图片文件。
用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
敲回车键进入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的屏幕可以动起来了
离线