资源简介
RK固件解包工具FWFactoryTool5.50(支持3399/3288)
1、让内核支持启动LOGO
在内核目录中 make menuconfig
Device Drivers ----> Graphics support ---->
选中 Bootup logo ----> Standard 224-color Linux logo
2、制作开机logo的图片
将要当作开机LOGO的图片按照你屏幕的大小进行裁减,并将其保存为bmp格式 或 png格式; 例如linuxlogo.bmp 或 linuxlogo.png
在linux下输入以下命令(for bmp):
#bmptoppm linuxlogo.bmp > linuxlogo.ppm
代码片段和文件信息
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2011-2012 The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms with or without
# modification are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of The Linux Foundation nor
# the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
# AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
# IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL
# EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY
# WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Invoke gcc looking for warnings and causing a failure if there are
# non-whitelisted warnings.
import errno
import re
import os
import sys
import subprocess
# Note that gcc uses unicode which may depend on the locale. TODO:
# force LANG to be set to en_US.UTF-8 to get consistent warnings.
allowed_warnings = set([
“return_address.c:63“
“hid-appleir.c:347“
“hid-magicmouse.c:580“
“hid-ntrig.c:1026“
“core.c:1334“
“menu.c:129“
“bus.c:318“ # FIXME
“atags_to_fdt.c:96“
])
# Capture the name of the object file can find it.
ofile = None
warning_re = re.compile(r‘‘‘(.*/|)([^/]+\.[a-z]+:\d+):(\d+:)? warning:‘‘‘)
def interpret_warning(line):
“““Decode the message from gcc. The messages we care about have a filename and a warning“““
line = line.rstrip(‘\n‘)
m = warning_re.match(line)
if m and m.group(2) not in allowed_warnings:
print “error forbidden warning:“ m.group(2)
# If there is a warning remove any object if it exists.
if ofile:
try:
os.remove(ofile)
except OSError:
pass
sys.exit(1)
def run_gcc():
args = sys.argv[1:]
# Look for -o
try:
i = args.index(‘-o‘)
global ofile
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 0 2018-08-02 16:59 FWFactoryTool5.50_2019127\bin\1100m-s-a
文件 161792 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\adb.exe
文件 96256 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\AdbWinApi.dll
文件 60928 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\AdbWinUsbApi.dll
文件 234496 2018-11-16 15:13 FWFactoryTool5.50_2019127\bin\AFPTool.exe
文件 6170 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_0.bmp
文件 6300 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_1.bmp
文件 6300 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_2.bmp
文件 6300 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_3.bmp
文件 6300 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_4.bmp
文件 6196 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_5.bmp
文件 6680 2019-01-26 11:31 FWFactoryTool5.50_2019127\bin\battery_fail.bmp
文件 16384 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\bmptoppm.exe
文件 10543133 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cc1.exe
文件 41720 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\convert.exe
文件 124430 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cpio.exe
文件 33758 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cramfsck.exe
文件 84509 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygaa-1.dll
文件 35869 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygamd-0.dll
文件 38414 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygao-4.dll
文件 116765 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygapr-1-0.dll
文件 119837 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygaprutil-1-0.dll
文件 226318 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygarchive-2.dll
文件 38429 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygargp-0.dll
文件 6670 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygasprintf-0.dll
文件 18973 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygasyncns-0.dll
文件 115741 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygatk-1.0-0.dll
文件 156701 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygatk-bridge-2.0-0.dll
文件 128541 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygatspi-0.dll
文件 13838 2018-05-14 09:15 FWFactoryTool5.50_2019127\bin\cygattr-1.dll
............此处省略761个文件信息
- 上一篇:百度地图资源采集器
- 下一篇:硬石科技电机控制专题指导手册
相关资源
- 光锥夸克模型中介子介子的Quark Wign
- 瑞芯微RK原厂3399+LPDDR4 200球参考原理图
- Cisco Network Assistant白皮书
- 多目标跟踪MOT16_Benchmark数据集链接
- RK3308 LINUX开发者指南(1).pdf
-
spring-fr
amework-5.0.2.RELEASE 源码包 - network science Albert-László Barabási
- Freemarker 2.3.23 最新中文版参考手册
- n.Software.IPWorks!.2016.V16.0.6446
- 英特尔:registered: 酷睿:trade_mark:双核处
- 英特尔:registered: 酷睿:trade_mark:2 双核
- 英特尔:registered: 酷睿:trade_mark:2 双核
- Unicenter 解决方案和采用英特尔:regis
- 英特尔:registered: 博锐:trade_mark: 技术关
- 面向采用英特尔:registered: 博锐:trade
- 基于Freemarker模板的代码生成器后台代
- springboot+webflux+mongodb+freemarker
- Qt图片浏览器 --基于Qt的Graphics View f
- The Synthesis and Structure of a Novel Three-D
- 抑制肌球蛋白Ⅱ对NRK细胞分裂的影响
- Cluster Ensembles – A Knowledge Reuse fr
- 全新惠普 StorageWorks DAT72X6自动加载磁
- 飞思卡尔68HC08Metrowerks_CodeWarrior开发软
- CC Decoding: Multi-level Sentence Compression-
- HP StorageWorks X9000网络存储系统解决方
- HP StorageWorks EVA存储系统 IT容灾解决方
- 惠普StorageWorks XP12000磁盘阵列
- HP StorageWorks X9000网络存储系统系列产
- HP惠普StorageWorks NAS 解决方案
- arcgis_workstation地址
评论
共有 条评论