Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(187 intermediate revisions by the same user not shown)
Line 1: Line 1:
==更新日志==
 
===日期 2018-12-17===
 
* '''Android5 更新如下:'''
 
1) 增加4G网络的支持,支持模块的型号为:Quectel EC20<br />
 
2) 增加音频输出设置,可设置默认输出到耳机或者HDMI<br />
 
3) 在系统Shutdown时,同步关闭一线触摸屏的背光<br />
 
* '''FriendlyCore更新如下:'''
 
1) 增加OV5640摄像头支持<br />
 
2) 更新BL1以提高系统启动的稳定性<br />
 
* '''Lubuntu更新如下:'''
 
1) 增加chromium-browser浏览器,支持网页硬解播放, 支持WebGL<br />
 
2) 将音频输出通道默认设置为HDMI (可通过/etc/asound.conf更改)<br />
 
3) 更新BL1以提高系统启动的稳定性<br />
 
4) 修正前一版本中存在的一些关于软件包报错的issue<br />
 
5) 调整DPMS设置,默认关闭自动休眠<br />
 
===日期 2018-09-06===
 
* 增加10.1寸屏 HD101B 的支持
 
* 提高一线屏识别的可靠性
 
  
===日期 2018-08-11===
+
{{RockchipUnbrick|NanoPC-T4}}
FriendlyCore:
+
* 升级 Qt版本到 5.10,增加 xcb 插件
+
* 增加Qt在目标板的编译工具,可直接在开发板上编译Qt程序
+
* 预装最小版本的 xorg
+
* 增加 OpenCV 的安装支持,详请可查看:https://github.com/friendlyarm/install-opencv-in-friendlycore
+
Android5:
+
* 增加永不睡眠的设置选项
+
 
+
===日期 2018-03-24===
+
* 修正只连接HDMI的情况下开机没图像显示的问题
+
* 增加蓝牙的支持
+
以上更新适用于所有4.4内核的系统,包括FriendlyCore和Lubuntu。
+
 
+
===日期 2017-06-13 ===
+
Linux, Android系统:
+
* 改善了整体系统稳定性;
+
Android系统:
+
* 提升Android下ov5640拍照的稳定性;
+
 
+
===日期 2017-04-18===
+
Ubuntu-Core系统更新如下:
+
* 修改了登录欢迎界面,当用户登录时会打印系统的基本状态信息;
+
* 增加 npi-config 工具,npi-config是一个命令行下的系统配置工具,可以对系统进行一些初始化的配置,可配置的项目包括:用户密码、系统语言、时区、Hostname、SSH开关、自动登录选项等,在命令行执行以下 sudo npi-config 即可进入;
+
* 预装NetworkManager作为网络管理工具;
+
* 新增pi用户,并配置为自动登录,自动登录特性可以使用npi-config工具配置;
+
 
+
===日期 2017-03-08===
+
 
+
1) 启用UART2 <br />
+
2) 增加HD101B屏幕的支持 <br />
+
3) Android4.4和Android5增加硬件访问库,具体可参考:[http://wiki.friendlyarm.com/wiki/index.php/Android_Hardware_Access] <br />
+
4) 修正S430屏在Android4.4下的闪退问题
+
 
+
===日期 2017-02-09===
+
 
+
1) 在Ubuntu Core和Debian系统中 增加7寸电阻屏 S70B 的支持<br /> 
+
2) 调整了 eFlasher Rom 的分区大小,将根分区调整为 1GB
+
 
+
===日期 2016-11-17===
+
 
+
增加H43屏的支持: <br />
+
1) 支持s5p4418与s5p6818平台的开发板  <br />
+
2) OS方面仅支持Debian 和 Ubuntu Core系统,不支持Android <br />
+
 
+
===日期 2016-09-02===
+
 
+
1) Debian 和 Ubuntu Core集成了CAM500A(ov5640)摄像头的demo程序(nanocams); <br />
+
2) 更新了Android 串口访问的程序,下载源代码: <br />
+
<syntaxhighlight lang="bash">
+
git clone https://github.com/friendlyarm/android_SerialPortDemo.git
+
</syntaxhighlight>
+
以前下载过的,用git pull命令更新一下。 <br />
+
内有详细说明,包括eclipse编译、打包成apk,对apk重新签名以获取system权限、关闭selinux等说明文档: <<SerialPortDemo-manual.pdf>>; <br />
+
本次更新适用于NanoPi2, NanoPi 2 Fire, NanoPi-M2, NanoPC-T2, Smart4418 <br />
+
 
+
===日期 2016-08-20===
+
 
+
1) 推出Android4.4固件(s5p4418-kitkat-sd4g-20160803.img.zip) 和源码,Android4.4是专门为企业用户定制,并且支持4G通讯模块,即插即用; <br />
+
2) 推出一键烧写系统的固件s5p4418-eflasher-sd8g-xxx-full.img,直接下载固件回来使用LCD即可一键烧写系统; <br />
+
本次更新适用于NanoPi2, NanoPi 2 Fire, NanoPi-M2, NanoPC-T2, Smart4418 <br />
+
 
+
===日期 2016-07-01===
+
 
+
1) 修复了Ubuntu Core下USB Wi-Fi无法加载固件的问题; <br />
+
2) 更新了Bootloader,支持使用dd命令直接将RAW image写入eMMC并能正常启动; <br />
+
3) 内核bug修正及提高稳定性; <br />
+
本次更新适用于NanoPi2, NanoPi 2 Fire, NanoPi-M2, NanoPC-T2, Smart4418 <br />
+
 
+
===日期 2016-05-21===
+
 
+
* Android
+
1) 增加以太网设置(支持静态IP和DHCP设置); <br />
+
2) 增加硬件访问库 libfriendlyarm-things.so,可用于在Android下操作串口; <br />
+
使用方法可参考此份文档:http://www.arm9home.net/read.php?tid-82748.html。 <br />
+
在 NanoPi2/NanoPi M2/NanoPi2 Fire/NanoPC-T2 上,串口对应的设备名称如下: <br />
+
UART2 -> 未驱动 <br />
+
UART3 -> /dev/ttyAMA2 <br />
+
UART4 -> /dev/ttyAMA3 <br />
+
3) 增加iTest应用程序,内置串口助手功能; <br />
+
注意:运行此串口程序,需要使用system权限。 <br />
+
 
+
* Debian
+
1)增强了内核稳定性; <br />
+
 
+
* Ubuntu core with Qt-Embedded
+
1)开机后显示的界面由Qt Demo换成了一个由友善之臂开发的,开源的Qt程序 (源代码位于/opt
+
目录),该程序启动时显示系统状态信息,例如CPU和内存信息,工作温度和负载等信息,
+
系统同时集成了 qmake,uic 等Qt工具的arm版本,这样你 就可以在开发板上直接生成和编译Qt源代码。 <br />
+
本次更新适用于NanoPi2, NanoPi 2 Fire, NanoPi-M2, NanoPC-T2, Smart4418 <br />
+
 
+
===日期 2016-04-19===
+
 
+
1)增加Debian/Ubuntu第一次开机时自动扩展分区和根文件系统,第一次启动时间会稍长  <br />
+
2) 改善非正常关机/重启导致的根文件系统问题; <br />
+
3) Debian/Ubuntu Core集成原厂开源硬解播放器NxPlayerConsole,须连LCD使用。(原厂库没有源代码) <br />
+
4) Ubuntu Core集成了OpenGL的测试程序gltest1, 完全开源 <br />
+
5)Debian/Ubuntu Core增加了USB Wi-Fi - rtl8187的支持; <br />
+
6) Debian/Ubuntu Core系统的USB摄像头的设备修改为 /dev/video0,方便opencv <br />
+
7) 用wpa_supplicant代替wicd来管理无线网络,使得Console下和X下的网络配置接口上保持一致 <br />
+
本次更新适用于NanoPi2, NanoPi 2 Fire, NanoPi-M2, NanoPC-T2, Smart4418 <br />
+
 
+
 
+
===日期 2016-04-01===
+
 
+
* Debian:
+
1) Debian增加了常用USB Wi-Fi和USB串口的支持; <br />
+
2) 修正了带声卡的板音频输出切换的问题; <br />
+
3) 优化内核,改进稳定性; <br />
+
4) 增加LVDS接口的支持(缺省未启用); <br />
+
* Ubuntu core with Qt-Embedded系统
+
新增系统:Ubuntu Core with Qt-Embedded,这是一个没有X-windows环境,使用Qt-Embedded作为图形界面的轻量级Ubuntu系统,基于官方的Ubuntu core系统开发而成,非常适合于企业用户用作产品的基础OS。<br />
+
本系统除了保留Ubuntu core的特性以外,还包括以下特性: <br />
+
1) 支持电容和电阻触摸屏 (型号:S700, X710, S70) <br />
+
2) 支持WiFi连接 <br />
+
3) 支持以太网连接 <br />
+
4) 支持蓝牙,已预装bluez等相关软件包 <br />
+
5) 支持音频播放 <br />
+
详细可参考WiKi页面:http://wiki.friendlyarm.com/wiki/index.php/Ubuntu_Core_with_Qt-Embedded/zh <br />
+
 
+
 
+
===日期 2016-02-29===
+
 
+
* Kernel:
+
1) 增加了基于CPU ECID生成以太网MAC地址; <br />
+
2) 修复了framebuffer console刷新不及时的问题; <br />
+
3) 优化内核提升了系统运行的稳定性; <br />
+
4) 修复了PWM LED的一个bug,基于PWM LED增加了呼吸灯效果的trigger; <br />
+
* Debian:
+
1) 修复了hostname异常的bug; <br />
+
2) 缺省启用framebuffer console, 可在LCD/HDMI看到启动信息; <br />
+
3) 集成了设置uboot环境变量的工具fw_printenv; <br />
+
* Android:
+
ROM缺省启用了ffmpeg, 可支持更多的视频格式. <br />
+
 
+
===日期 2015-12-01===
+
* 推出新的Android 5.1.1_r6,源代码已推送到 https://github.com/friendlyarm 。
+
* 4.2.1 简易方法制作: 新的固件已支持LCD检测,因此原来分别支持LCD和HDMI的固件已合并为一个固件。
+
* 4.3 在电脑上修改SD卡上的系统: 部分内容只适应于旧版本固件,标记为删除状态。
+
* 6 如何编译系统: 编译时源代码分支更新为 nanopi2-lollipop-mr1。
+
* 6.4.2 编译内核模块: 增加了如何编译支持LCD显示的启动Debian的uImage。
+

Latest revision as of 09:23, 4 June 2024

1 Unbricking Method

If the ROM is not installed correctly, causing the development board to become bricked, and you might not have the opportunity to reinstall the ROM via an SD card, you need to enter Maskrom mode to unbrick it by erasing the storage device.

1.1 Windows Users

1.1.1 Download Required Files

  • Get the necessary tools: Visit here, find RKDevTool_v3.19_for_window.zip and DriverAssitant_v5.12.zip in the 05_Tools directory, and download them to your local machine.
  • Install Rockchip USB driver and RKDevTool: Extract DriverAssitant_v5.12.zip to install the Rockchip USB driver, and extract RKDevTool_v3.19_for_window.zip to obtain the Rockchip flashing tool RKDevTool.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.1.2 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to your computer using a USB data cable.
  • Start RKDevTool on your computer.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button when you see Found One MASKROM Device displayed at the bottom of the interface, as shown below:

Rkdevtool found one maskrom device.png

  • Click the Advanced Function tab in the RKDevTool interface.
  • In the Boot text box, select MiniLoaderAll.bin, then click the Download button.
  • Select EMMC, click Switch Storage, then click the EraseAll button to erase the eMMC.

Rkdevtool erase emmc.png

  • At this point, NanoPC-T4 is restored to its initial state and can be normally booted via SD card or eMMC.

1.2 Linux/Mac Users

1.2.1 Download the Required Files

  • Get the necessary tools: Visit here and find upgrade_tool_v2.30_for_linux.tgz (or for Mac users, select upgrade_tool_v2.25_for_mac.tgz) in the 05_Tools directory and download it locally.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.2.2 Installation for upgrade_tool

The following commands are for Linux, with only slight differences in file and directory names for Mac users:

tar xzf upgrade_tool_v2.30_for_linux.tgz
cd upgrade_tool_v2.30_for_linux
sudo cp upgrade_tool /usr/local/sbin/
sudo chmod 755 /usr/local/sbin/upgrade_tool

1.2.3 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to the computer using a USB data cable.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button after 4 seconds.
  • Check the connection with the following command:
upgrade_tool LD

A result similar to "DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=13 Mode=Maskrom SerialNo=" indicates that the device has been detected.

  • Erase the eMMC with the following command:
upgrade_tool EF MiniLoaderAll.bin
  • At this point, NanoPC-T4 has been restored to its initial state and can boot the system normally via SD card or eMMC.