# ubuntu18.04 不能用此命令:sudo apt-get install repo,如果以通过此方式安装,那么删除
sudo apt-get remove repo
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
export REPO_URL='https://gerrit.googlesource.com/git-repo'
git config --global credential.helper store
mkdir /opt/R329/
cd /opt/R329/
#xxxxxx是账号,yyyyyy是密码
repo init -u https://xxxxxx:yyyyyy@sdk.aw-ol.com/git_repo/R329_Tina_jishu/manifest.git -b master -m R329-Tina-jishu.xml
repo sync接上HUB,鼠标键盘手柄一起测试:
root@TinaLinux:/# chmod +x /tmp/detect2 && /tmp/detect2
🔌 添加设备: /dev/input/event0 (sunxi_ir_recv) -> special-keys
🔌 添加设备: /dev/input/event1 (sunxi-gpadc0/channel0/input0) -> special-keys
🔌 添加设备: /dev/input/event2 (audiocodec Headphones) -> unknown
🔌 添加设备: /dev/input/event5 (gt9xxnew_ts) -> touchscreen
🔌 添加设备: /dev/input/event6 (A4Tech USB Keyboard) -> keyboard
🔌 添加设备: /dev/input/event7 (A4Tech USB Keyboard) -> special-keys
🔌 添加设备: /dev/input/event4 (USB gamepad ) -> special-keys
🔌 添加设备: /dev/input/event3 ( USB OPTICAL MOUSE) -> mouse
✅ 正在监听输入事件和热插拔...(Ctrl+C 退出)
[USB gamepad ] (special-keys): t=86981.448700, type=4, code=4, val=589827
[USB gamepad ] (special-keys): t=86981.448700, type=1, code=290, val=1
[USB gamepad ] (special-keys): t=86981.448700, type=0, code=0, val=0
[USB gamepad ] (special-keys): t=86981.648719, type=4, code=4, val=589827
[USB gamepad ] (special-keys): t=86981.648719, type=1, code=290, val=0
[USB gamepad ] (special-keys): t=86981.648719, type=0, code=0, val=0
[ USB OPTICAL MOUSE] (mouse): t=86983.889697, type=2, code=0, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86983.889697, type=2, code=1, val=-3
[ USB OPTICAL MOUSE] (mouse): t=86984.145699, type=0, code=0, val=0
[A4Tech USB Keyboard] (keyboard): t=86985.946704, type=4, code=4, val=458831
[A4Tech USB Keyboard] (keyboard): t=86985.946704, type=1, code=106, val=1
[A4Tech USB Keyboard] (keyboard): t=86985.946704, type=0, code=0, val=0
[A4Tech USB Keyboard] (keyboard): t=86986.050719, type=4, code=4, val=458831
[A4Tech USB Keyboard] (keyboard): t=86986.050719, type=1, code=106, val=0
[A4Tech USB Keyboard] (keyboard): t=86986.050719, type=0, code=0, val=0支持USB鼠标键盘拔插:hotplug.c
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include <string.h>
#include <poll.h>
#include <errno.h>
#include <sys/inotify.h>
#include <linux/input.h>
#include <linux/input-event-codes.h>
#define MAX_DEVICES 64
#define EVENT_NAME_PREFIX "event"
#define INPUT_DIR "/dev/input"
// --- 工具宏 ---
#define BITS_PER_LONG (sizeof(long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define OFF(x) ((x)%BITS_PER_LONG)
#define BIT(x) (1UL<<OFF(x))
#define LONG(x) ((x)/BITS_PER_LONG)
static inline int test_bit(int bit, const unsigned long *array) {
return (array[LONG(bit)] >> OFF(bit)) & 1;
}
// --- 设备类型判断(改进版)---
const char* get_device_type(int fd) {
unsigned long evbit[NBITS(EV_MAX)] = {0};
unsigned long keybit[NBITS(KEY_MAX)] = {0};
unsigned long absbit[NBITS(ABS_MAX)] = {0};
unsigned long propbit[NBITS(INPUT_PROP_MAX)] = {0};
if (ioctl(fd, EVIOCGBIT(0, sizeof(evbit)), evbit) < 0)
return "unknown";
if (test_bit(EV_KEY, evbit))
ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit);
if (test_bit(EV_ABS, evbit))
ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit);
ioctl(fd, EVIOCGPROP(sizeof(propbit)), propbit); // 可能失败,但没关系
int has_direct = test_bit(INPUT_PROP_DIRECT, propbit);
// ✅ 优先:多点触摸 + DIRECT → touchscreen
if (test_bit(EV_ABS, evbit) &&
test_bit(ABS_MT_POSITION_X, absbit) &&
test_bit(ABS_MT_POSITION_Y, absbit)) {
return has_direct ? "touchscreen" : "multitouch";
}
if (test_bit(EV_ABS, evbit) &&
test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit) &&
test_bit(BTN_TOUCH, keybit)) {
return has_direct ? "touchscreen" : "touchpad";
}
if (test_bit(EV_REL, evbit)) {
unsigned long relbit[NBITS(REL_MAX)] = {0};
ioctl(fd, EVIOCGBIT(EV_REL, sizeof(relbit)), relbit);
if (test_bit(REL_X, relbit) && test_bit(REL_Y, relbit) &&
test_bit(BTN_MOUSE, keybit))
return "mouse";
}
if (test_bit(EV_KEY, evbit)) {
if (test_bit(KEY_A, keybit) || test_bit(KEY_SPACE, keybit) ||
test_bit(KEY_ENTER, keybit) || test_bit(KEY_ESC, keybit))
return "keyboard";
if (test_bit(BTN_TOUCH, keybit))
return "touch-button";
return "special-keys";
}
return "unknown";
}
void get_device_name(int fd, char *name, size_t size) {
if (ioctl(fd, EVIOCGNAME(size), name) < 0)
snprintf(name, size, "unknown");
}
// --- 动态管理设备 ---
struct device {
int fd;
char path[64];
char name[256];
const char* type;
};
static struct device devices[MAX_DEVICES];
static int dev_count = 0;
int add_device(const char *basename) {
if (dev_count >= MAX_DEVICES) return -1;
char path[256];
snprintf(path, sizeof(path), "%s/%s", INPUT_DIR, basename);
int fd = open(path, O_RDONLY | O_NONBLOCK);
if (fd < 0) return -1;
char name[256];
get_device_name(fd, name, sizeof(name));
const char* type = get_device_type(fd);
printf("🔌 添加设备: %s (%s) -> %s\n", path, name, type);
struct device *dev = &devices[dev_count];
dev->fd = fd;
strncpy(dev->path, path, sizeof(dev->path)-1);
strncpy(dev->name, name, sizeof(dev->name)-1);
dev->type = type;
dev_count++;
return 0;
}
void remove_device_by_fd(int fd) {
for (int i = 0; i < dev_count; i++) {
if (devices[i].fd == fd) {
printf("⏏️ 移除设备: %s (%s)\n", devices[i].path, devices[i].name);
close(fd);
// 移动最后一个覆盖
if (i != dev_count - 1) {
devices[i] = devices[dev_count - 1];
}
dev_count--;
return;
}
}
}
void scan_initial_devices() {
DIR *dir = opendir(INPUT_DIR);
if (!dir) return;
struct dirent *entry;
while ((entry = readdir(dir)) != NULL) {
if (strncmp(entry->d_name, EVENT_NAME_PREFIX, strlen(EVENT_NAME_PREFIX)) == 0) {
add_device(entry->d_name);
}
}
closedir(dir);
}
// --- 主函数 ---
int main(void) {
int inotify_fd = inotify_init1(IN_NONBLOCK);
if (inotify_fd < 0) {
perror("inotify_init1");
return EXIT_FAILURE;
}
int watch_desc = inotify_add_watch(inotify_fd, INPUT_DIR, IN_CREATE | IN_DELETE);
if (watch_desc < 0) {
perror("inotify_add_watch /dev/input");
close(inotify_fd);
return EXIT_FAILURE;
}
// 初始扫描
scan_initial_devices();
printf("✅ 正在监听输入事件和热插拔...(Ctrl+C 退出)\n");
struct input_event ev;
char inotify_buf[4096];
while (1) {
// 构建 pollfd 数组:所有设备 + inotify_fd
struct pollfd *pfds = malloc((dev_count + 1) * sizeof(struct pollfd));
for (int i = 0; i < dev_count; i++) {
pfds[i].fd = devices[i].fd;
pfds[i].events = POLLIN;
}
pfds[dev_count].fd = inotify_fd;
pfds[dev_count].events = POLLIN;
int ret = poll(pfds, dev_count + 1, -1);
if (ret < 0) {
perror("poll");
free(pfds);
break;
}
// 检查 inotify 事件(热插拔)
if (pfds[dev_count].revents & POLLIN) {
ssize_t len = read(inotify_fd, inotify_buf, sizeof(inotify_buf));
if (len > 0) {
char *ptr = inotify_buf;
while (ptr < inotify_buf + len) {
struct inotify_event *event = (struct inotify_event *)ptr;
if (event->len > 0 && strncmp(event->name, EVENT_NAME_PREFIX, strlen(EVENT_NAME_PREFIX)) == 0) {
if (event->mask & IN_CREATE) {
add_device(event->name);
} else if (event->mask & IN_DELETE) {
// 需要找到对应 fd(通过路径匹配)
char path[256];
snprintf(path, sizeof(path), "%s/%s", INPUT_DIR, event->name);
for (int i = 0; i < dev_count; i++) {
if (strcmp(devices[i].path, path) == 0) {
remove_device_by_fd(devices[i].fd);
break;
}
}
}
}
ptr += sizeof(struct inotify_event) + event->len;
}
}
}
// 检查输入事件
for (int i = 0; i < dev_count; i++) {
if (pfds[i].revents & POLLIN) {
ssize_t bytes;
while ((bytes = read(pfds[i].fd, &ev, sizeof(ev))) == sizeof(ev)) {
printf("[%s] (%s): t=%ld.%06ld, type=%d, code=%d, val=%d\n",
devices[i].name, devices[i].type,
ev.time.tv_sec, ev.time.tv_usec,
ev.type, ev.code, ev.value);
}
}
}
free(pfds);
}
// 清理
for (int i = 0; i < dev_count; i++) {
close(devices[i].fd);
}
inotify_rm_watch(inotify_fd, watch_desc);
close(inotify_fd);
return EXIT_SUCCESS;
}拔插USB鼠标键盘和游戏手柄 测试:
root@TinaLinux:/#
root@TinaLinux:/# chmod +x /tmp/detect2 && /tmp/detect2
🔌 添加设备: /dev/input/event0 (sunxi_ir_recv) -> special-keys
🔌 添加设备: /dev/input/event1 (sunxi-gpadc0/channel0/input0) -> special-keys
🔌 添加设备: /dev/input/event2 (audiocodec Headphones) -> unknown
🔌 添加设备: /dev/input/event3 (A4Tech USB Keyboard) -> keyboard
🔌 添加设备: /dev/input/event4 (A4Tech USB Keyboard) -> special-keys
🔌 添加设备: /dev/input/event5 (gt9xxnew_ts) -> touchscreen
✅ 正在监听输入事件和热插拔...(Ctrl+C 退出)
⏏️ 移除设备: /dev/input/event3 (A4Tech USB Keyboard)
⏏️ 移除设备: /dev/input/event4 (A4Tech USB Keyboard)
🔌 添加设备: /dev/input/event3 ( USB OPTICAL MOUSE) -> mouse
[ USB OPTICAL MOUSE] (mouse): t=86070.380692, type=2, code=0, val=-5
[ USB OPTICAL MOUSE] (mouse): t=86070.380692, type=2, code=1, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86070.380692, type=0, code=0, val=0
[ USB OPTICAL MOUSE] (mouse): t=86070.388716, type=2, code=0, val=-4
[ USB OPTICAL MOUSE] (mouse): t=86070.716714, type=2, code=0, val=1
[ USB OPTICAL MOUSE] (mouse): t=86070.716714, type=2, code=1, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86070.716714, type=0, code=0, val=0
[ USB OPTICAL MOUSE] (mouse): t=86070.724699, type=2, code=0, val=1
[ USB OPTICAL MOUSE] (mouse): t=86070.724699, type=2, code=1, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86070.724699, type=0, code=0, val=0
[ USB OPTICAL MOUSE] (mouse): t=86070.748693, type=2, code=1, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86070.748693, type=0, code=0, val=0
[ USB OPTICAL MOUSE] (mouse): t=86070.772708, type=2, code=0, val=-2
[ USB OPTICAL MOUSE] (mouse): t=86070.772708, type=2, code=1, val=-3
[ USB OPTICAL MOUSE] (mouse): t=86070.772708, type=0, code=0, val=0
⏏️ 移除设备: /dev/input/event3 ( USB OPTICAL MOUSE)
🔌 添加设备: /dev/input/event3 (USB gamepad ) -> special-keys
[USB gamepad ] (special-keys): t=86191.685715, type=3, code=0, val=127
[USB gamepad ] (special-keys): t=86191.685715, type=3, code=1, val=127
[USB gamepad ] (special-keys): t=86191.685715, type=0, code=0, val=0
[USB gamepad ] (special-keys): t=86243.085705, type=3, code=1, val=0
[USB gamepad ] (special-keys): t=86243.085705, type=0, code=0, val=0
[USB gamepad ] (special-keys): t=86243.253702, type=3, code=1, val=127
[USB gamepad ] (special-keys): t=86243.253702, type=0, code=0, val=0
[USB gamepad ] (special-keys): t=86244.533720, type=4, code=4, val=589826
[USB gamepad ] (special-keys): t=86244.533720, type=1, code=289, val=1
[USB gamepad ] (special-keys): t=86244.533720, type=0, code=0, val=0detect2.c
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>
#include <string.h>
#include <poll.h>
#include <errno.h>
#include <linux/input.h>
#include <linux/input-event-codes.h>
#define MAX_DEVICES 64
#define BITS_PER_LONG (sizeof(long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define OFF(x) ((x)%BITS_PER_LONG)
#define BIT(x) (1UL<<OFF(x))
#define LONG(x) ((x)/BITS_PER_LONG)
static inline int test_bit(int bit, const unsigned long *array) {
return (array[LONG(bit)] >> OFF(bit)) & 1;
}
const char* get_device_type(int fd) {
unsigned long evbit[NBITS(EV_MAX)] = {0};
unsigned long keybit[NBITS(KEY_MAX)] = {0};
unsigned long absbit[NBITS(ABS_MAX)] = {0};
unsigned long propbit[NBITS(INPUT_PROP_MAX)] = {0};
if (ioctl(fd, EVIOCGBIT(0, sizeof(evbit)), evbit) < 0)
return "unknown";
// 先获取所有需要的位图
if (test_bit(EV_KEY, evbit))
ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit);
if (test_bit(EV_ABS, evbit))
ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit);
// 获取设备属性(用于区分 touchscreen vs touchpad)
int has_direct = 0, has_pointer = 0;
if (ioctl(fd, EVIOCGPROP(sizeof(propbit)), propbit) >= 0) {
has_direct = test_bit(INPUT_PROP_DIRECT, propbit);
has_pointer = test_bit(INPUT_PROP_POINTER, propbit);
}
// ✅ 优先判断:多点触摸 + DIRECT → touchscreen
if (test_bit(EV_ABS, evbit) &&
test_bit(ABS_MT_POSITION_X, absbit) &&
test_bit(ABS_MT_POSITION_Y, absbit)) {
if (has_direct) {
return "touchscreen"; // 明确是触摸屏
} else {
return "multitouch-device"; // 保守判断
}
}
// 单点绝对坐标 + BTN_TOUCH
if (test_bit(EV_ABS, evbit) &&
test_bit(ABS_X, absbit) && test_bit(ABS_Y, absbit) &&
test_bit(BTN_TOUCH, keybit)) {
if (has_direct) {
return "touchscreen";
} else if (has_pointer) {
return "touchpad";
} else {
// 启发式:分辨率高可能是屏,低可能是板(简化处理)
return "touch-input";
}
}
// 鼠标:相对移动 + 按键
if (test_bit(EV_REL, evbit)) {
unsigned long relbit[NBITS(REL_MAX)] = {0};
ioctl(fd, EVIOCGBIT(EV_REL, sizeof(relbit)), relbit);
if (test_bit(REL_X, relbit) && test_bit(REL_Y, relbit) &&
test_bit(BTN_MOUSE, keybit)) {
return "mouse";
}
}
// 键盘:包含基本字符或控制键
if (test_bit(EV_KEY, evbit)) {
// 常见键盘按键
if (test_bit(KEY_A, keybit) || test_bit(KEY_Z, keybit) ||
test_bit(KEY_1, keybit) || test_bit(KEY_SPACE, keybit) ||
test_bit(KEY_ESC, keybit) || test_bit(KEY_ENTER, keybit)) {
return "keyboard";
}
// 如果只有特殊功能键(如你的 gt911 的 KEY_SWITCHVIDEOMODE),不视为键盘
}
// 游戏手柄/摇杆
if (test_bit(EV_ABS, evbit) &&
(test_bit(ABS_RX, absbit) || test_bit(ABS_X, absbit)) &&
(test_bit(BTN_A, keybit) || test_bit(BTN_TRIGGER, keybit))) {
return "joystick/gamepad";
}
// 如果有 BTN_TOUCH 但没 ABS_X/Y,可能是虚拟按键?归为 button
if (test_bit(BTN_TOUCH, keybit)) {
return "touch-button"; // 如屏幕上的虚拟键
}
// 仅有一些特殊 KEY_*
if (test_bit(EV_KEY, evbit)) {
return "special-keys"; // 如电源、音量、多媒体键
}
return "unknown";
}
// 获取设备名称
void get_device_name(int fd, char *name, size_t size) {
if (ioctl(fd, EVIOCGNAME(size), name) < 0) {
snprintf(name, size, "unknown");
}
}
int main(void) {
struct pollfd fds[MAX_DEVICES];
char names[MAX_DEVICES][256];
const char* types[MAX_DEVICES];
int fd_count = 0;
char path[256];
DIR *dir;
struct dirent *entry;
dir = opendir("/dev/input");
if (!dir) {
perror("opendir /dev/input");
return EXIT_FAILURE;
}
while ((entry = readdir(dir)) != NULL) {
if (strncmp(entry->d_name, "event", 5) == 0) {
snprintf(path, sizeof(path), "/dev/input/%s", entry->d_name);
int fd = open(path, O_RDONLY | O_NONBLOCK);
if (fd < 0) {
fprintf(stderr, "无法打开 %s: %s\n", path, strerror(errno));
continue;
}
char name[256];
get_device_name(fd, name, sizeof(name));
const char* type = get_device_type(fd);
printf("监听 [%s] (%s) -> 类型: %s\n", path, name, type);
fds[fd_count].fd = fd;
fds[fd_count].events = POLLIN;
strncpy(names[fd_count], name, sizeof(names[fd_count]) - 1);
types[fd_count] = type;
fd_count++;
if (fd_count >= MAX_DEVICES) break;
}
}
closedir(dir);
if (fd_count == 0) {
fprintf(stderr, "未找到任何 event 设备。\n");
return EXIT_FAILURE;
}
printf("\n开始监听输入事件...(按 Ctrl+C 退出)\n");
struct input_event ev;
while (1) {
int ret = poll(fds, fd_count, -1);
if (ret < 0) {
perror("poll");
break;
}
for (int i = 0; i < fd_count; i++) {
if (fds[i].revents & POLLIN) {
ssize_t bytes;
while ((bytes = read(fds[i].fd, &ev, sizeof(ev))) == sizeof(ev)) {
printf("[%s] (%s): time=%ld.%06ld, type=%d, code=%d, value=%d\n",
names[i], types[i],
ev.time.tv_sec, ev.time.tv_usec,
ev.type, ev.code, ev.value);
}
}
}
}
for (int i = 0; i < fd_count; i++) {
close(fds[i].fd);
}
return EXIT_SUCCESS;
}测试:
root@TinaLinux:/# chmod +x /tmp/detect2 && /tmp/detect2
监听 [/dev/input/event0] (sunxi_ir_recv) -> 类型: special-keys
监听 [/dev/input/event1] (sunxi-gpadc0/channel0/input0) -> 类型: special-keys
监听 [/dev/input/event2] (audiocodec Headphones) -> 类型: unknown
监听 [/dev/input/event3] (A4Tech USB Keyboard) -> 类型: keyboard
监听 [/dev/input/event4] (A4Tech USB Keyboard) -> 类型: special-keys
监听 [/dev/input/event5] (gt9xxnew_ts) -> 类型: touchscreen
开始监听输入事件...(按 Ctrl+C 退出)
[gt9xxnew_ts] (touchscreen): time=84163.016200, type=1, code=330, value=1
[gt9xxnew_ts] (touchscreen): time=84163.016200, type=3, code=53, value=680
[gt9xxnew_ts] (touchscreen): time=84163.016200, type=3, code=54, value=399
[gt9xxnew_ts] (touchscreen): time=84163.016200, type=3, code=48, value=9
...
[gt9xxnew_ts] (touchscreen): time=84163.036021, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84167.859830, type=4, code=4, value=458756
[A4Tech USB Keyboard] (keyboard): time=84167.859830, type=1, code=30, value=1
[A4Tech USB Keyboard] (keyboard): time=84167.859830, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84167.931824, type=4, code=4, value=458756
[A4Tech USB Keyboard] (keyboard): time=84167.931824, type=1, code=30, value=0
[A4Tech USB Keyboard] (keyboard): time=84167.931824, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.259844, type=4, code=4, value=458979
[A4Tech USB Keyboard] (keyboard): time=84176.259844, type=1, code=125, value=1
[A4Tech USB Keyboard] (keyboard): time=84176.259844, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.451820, type=4, code=4, value=458811
[A4Tech USB Keyboard] (keyboard): time=84176.451820, type=1, code=60, value=1
[A4Tech USB Keyboard] (keyboard): time=84176.451820, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.547841, type=4, code=4, value=458811
[A4Tech USB Keyboard] (keyboard): time=84176.547841, type=1, code=60, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.547841, type=0, code=0, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.627824, type=4, code=4, value=458979
[A4Tech USB Keyboard] (keyboard): time=84176.627824, type=1, code=125, value=0
[A4Tech USB Keyboard] (keyboard): time=84176.627824, type=0, code=0, value=0
[sunxi-gpadc0/channel0/input0] (special-keys): time=84180.164279, type=1, code=103, value=1
[sunxi-gpadc0/channel0/input0] (special-keys): time=84180.164279, type=0, code=0, value=0
[sunxi-gpadc0/channel0/input0] (special-keys): time=84180.301283, type=1, code=103, value=0
[sunxi-gpadc0/channel0/input0] (special-keys): time=84180.301283, type=0, code=0, value=0驱动开启:
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
CONFIG_LEDS_USER=y
CONFIG_INPUT_LEDS=y点亮:
echo 1 > "/sys/class/leds/input4::numlock/brightness"
echo 1 > "/sys/class/leds/input4::scrolllock/brightness"
echo 1 > "/sys/class/leds/input4::capslock/brightness"熄灭:
echo 0 > "/sys/class/leds/input4::numlock/brightness"
echo 0 > "/sys/class/leds/input4::scrolllock/brightness"
echo 0 > "/sys/class/leds/input4::capslock/brightness"[lv_pro_res_media_list_init, 752]debug media filename: /tmp/USB0//1.Ice.mp4
[lv_pro_res_media_list_init, 752]debug media filename: /tmp/USB0//birds.mp4
[lv_pro_res_media_list_init, 752]debug media filename: /tmp/USB0//P1000186.MP4
[lv_pro_res_media_list_init, 752]debug media filename: /tmp/USB0//start_movie2.mp4
[lv_pro_res_media_list_init, 752]debug media filename: /tmp/USB0//5.Ice.Age.Collision.Course.2016.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
switch_page_create_hide cur_id 4, next_id 5
type=4, value=13, code=4 --- ---
last_value=13, in.value=13, stamp_current=44724, stamp_last=44653, stamp_current-stamp_last = 71 ----
last_value == in.value ---------------
same key as last 100ms press, now continue ... ...
[media_player_message_process, 141]debug media get screen size: width = 1080, height = 1920.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
------------------------------------------[ 41.622806] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
-------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 00:00:45] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 00:00:45.788] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 00:00:45.788] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 00:00:45.804] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 00:00:45.804] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 00:00:45.804] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 00:00:45.805] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 00:00:45.805] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 00:00:45.805] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 00:00:45.805] PID: 1281 TID: 1787 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fadaa3220, pUser: 0x3fab533330
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1456>: screen:w 1080, screen:h 1920
[1970-01-01 00:00:45] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 00:00:45] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fadaa3040, pUser: 0x3fab533330
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fab50d360
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:00:45] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 00:00:45] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 00:00:45] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/tmp/USB0//1.Ice.mp4'
[1970-01-01 00:00:45] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 00:00:45] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 00:00:45] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 00:00:45] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///tmp/USB0//1.Ice.mp4'
[1970-01-01 00:00:45] DEBUG : awplayer <__FileStreamConnect:425>: (22/0/2928659149) path:'file:///tmp/USB0//1.Ice.mp4'
[1970-01-01 00:00:45] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mkv'
[1970-01-01 00:00:46] DEBUG : awplayer <matroska_read_header:2398>: track are already parsed while parsing seekhead
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 2928659149, bSeekable = 1, duration = 4869952, audioNum = 2, videoNum = 1, subtitleNum = 0
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1920, nHeight = 1040, nFrameRate = 23976, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 6, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[1]*** eCodecFormat = 0x5, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:00:46] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
INFO : cedarc <log_set_level:82>: Set log level to 5 from /vendor/etc/cedarc.conf
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 00:00:46] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:1080, s_h:1920
[1970-01-01 00:00:46] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 00:00:46] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerResetNativeWindow:1206>: LayerResetNativeWindow : 0
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 259
[1970-01-01 00:00:46] DEBUG : awplayer <VideoRenderCompSetDeinterlace:371>: video render component setting deinterlace: 0x3fab49e870
[1970-01-01 00:00:46] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 00:00:46] DEBUG : awplayer <PlayerConfigDropDelayFrame:1957>: VideoDecCompSetDropDelayFrames
[1970-01-01 00:00:46] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[1970-01-01 00:00:46] DEBUG : awplayer <XPlayerPrepareAsync:761>: prepareAsync
[1970-01-01 00:00:46] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
[1970-01-01 00:00:46] INFO : awplayer <XPlayerThread:2165>: xxxxxxxxxx video size: width = 1920, height = 1040
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1920,height = 1040
*****tplayer:video width = 1920,height = 1040
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1920, height = 1040
[CallbackForTPlayer, 231]debug TPLAYER_NOTIFY_PREPARED,has prepared.
[tplayer_play_url, 480]debug preparing...
[tplayer_play_url, 487]debug prepared ok
[1970-01-01 00:00:46] DEBUG : awplayer <XPlayerStart:811>: start
[1970-01-01 00:00:46] DEBUG : awplayer <XPlayerThread:2340>: process message XPLAYER_COMMAND_START.
[1970-01-01 00:00:46] DEBUG : awplayer <PlayerStart:786>: player start
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 261
[1970-01-01 00:00:46] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
[lv_pro_res_movie_set_ratio, 935]error: not ready!
[1970-01-01 00:00:46] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
(Allwinner Audio Middle Layer),line(972) : Create Decoder!!=====
[1970-01-01 00:00:46] DEBUG : awplayer <handleStart:1098>: Create libadecoder success...
(Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
(AllwinnerAlibs),line(43) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(700) : ----Loading so success!
(AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(904) : eSubCodecFormat :0
(AllwinnerAlibs),line(905) : nChannelNum :6
(AllwinnerAlibs),line(906) : nBitsPerSample :16
(AllwinnerAlibs),line(907) : nSampleRate :48000
(AllwinnerAlibs),line(908) : nAvgBitrate :0
(AllwinnerAlibs),line(909) : nMaxBitRate :0
(AllwinnerAlibs),line(910) : nFileSize :0
(AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(912) : eDataEncodeType :1
(AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fab515bf0
(AllwinnerAlibs),line(915) : nFlags :0
(AllwinnerAlibs),line(916) : nBlockAlign :0
(AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
[1970-01-01 00:00:46] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
[1970-01-01 00:00:46] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
[1970-01-01 00:00:46] INFO : awplayer <handleStart:326>: audio render process start message.
[1970-01-01 00:00:46] DEBUG : awplayer <initSoundDevice:574>: init sound device.
[1970-01-01 00:00:46] DEBUG : awplayer <initSoundDevice:581>: set sound devide param, sample rate = 48000, channel num = 6.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:00:46.438] PID: 1281 TID: 1794 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:6,sc->bytes_per_sample:2
[1970-01-01 00:00:46] DEBUG : demuxComponent <DemuxThread:2088>: process message DEMUX_COMMAND_START.
[1970-01-01 00:00:46] INFO : awplayer <fade_in:81>: fade_in size 23040
[1970-01-01 00:00:46] WARNING: awplayer <callbackProcess:3788>: message 0x40a not handled.
[1970-01-01 00:00:46] WARNING: awplayer <checkSampleRate:765>: sample rate change from 48000 to 48000.
[1970-01-01 00:00:46] WARNING: awplayer <checkSampleRate:767>: channel num change from 6 to 2.
[1970-01-01 00:00:46] WARNING: awplayer <checkSampleRate:769>: bitPerSample num change from 16 to 16.
[1970-01-01 00:00:46] WARNING: awplayer <checkSampleRate:771>: if need direct out put flag change from 0 to 1.
[1970-01-01 00:00:46] WARNING: awplayer <checkSampleRate:773>: data type change from 1 to 1.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:00:46.477] PID: 1281 TID: 1794 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:2
[1970-01-01 00:00:46] DEBUG : awplayer <startSoundDevice:806>: start sound device.
DEBUG : tsoundcontrol <TSoundDeviceStart:221>: TSoundDeviceStart: sc->sound_status = 2
DEBUG : tsoundcontrol <openSoundDevice:44>: openSoundDevice in default style
WARNING: cedarc <H264MallocBuffer:1587>: h264 scale down fbm buffer number need double check!
[1970-01-01 00:00:46] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2111>: video buffer info: nWidth[1056],nHeight[1920],nBufferCount[5],ePixelFormat[5]
[1970-01-01 00:00:46] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2114>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 257
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1291>: get the fbm buf info
[1[ 42.701077] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1293>: fbmBufInfo->bProgressiveFlag = 1
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1303>: lc->mNumHoldByLayer = 2
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerSetDisplayPixelFormat:719>: Layer set expected pixel format, format = 5
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerSetDisplayBufferSize:671>: __LayerSetDisplayBufferSize:width = 1056,height = 1920
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerSetDisplayBufferCount:1179>: LayerSetBufferCount: count = 5
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 263
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1307>: get the fbm buf info
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1313>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:1194>: num hold by gpu is 2
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:248>: setLayerBuffer:Fmt(5),(1056 1920, 0 x 0)
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:251>: Disp(1056x1920)buf_cnt(5),ProFlag(0),SoftDecFlag(0)
[1970-01-01 00:00:46.816] PID: 1283 TID: 1330 <I> : [amix_mod_server_recv 496] connect successfully, id:5
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [amix_mod_server_cs_work 263]
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [amix_mod_server_cs_work 316] AMIX_CS_STREAM_OPEN
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [amix_mod_server_stream_add 72]
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [sfx_cs_get_stream_uid 38]
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [sfx_cs_get_stream_uid 44] stream_id 1
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <I> : [amix_mod_server_stream_add 98] io_id:65537, mix_id:1, stream_id:1
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [amix_mod_server_cs_work 340] period_size:960, period_count:4, channels:2 bit:16 shm_size:30720
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [amix_mod_server_link_create 151]
[1970-01-01 00:00:46.820] PID: 1283 TID: 1795 <D> : [_amix_sem_posix_create 219]
[1970-01-01 00:00:46.821] PID: 1283 TID: 1795 <D> : [amix_open_stream 181] bit:16, rate:48000, channels:2
[1970-01-01 00:00:46.821] PID: 1283 TID: 1795 <D> : [amix_open_stream 182] period_size:1024, period_count:4
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[0]:0x3fa907b000
[1970-01-01 00:00:46.824] PID: 1283 TID: 1795 <I> : [amix_mod_server_cs_work 360] open stream dev(OUT_SPK-0x10001) success
[1970-01-01 00:00:46.825] PID: 1281 TID: 1794 <I> AUDIO_ROUTE: <openDevice:76>: amix_dev_open succeed device_type OUT_SPK
[1970-01-01 00:00:46] DEBUG : awplayer <startSoundDevice:808>: audio device start end
[1970-01-01 00:00:46] DEBUG : awplayer <CallbackProcess:3182>: first audio pts = 0
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[1]:0x3fa8c20000
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[2]:0x3fa8939000
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[3]:0x3fa8652000
[1970-01-01 00:00:46] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[4]:0x3fa836b000
[1970-01-01 00:00:46] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 260
[1970-01-01 00:00:46] INFO : awplayer <callbackProcess:3629>: xxxxxx[ 43.014049] dma dma0chan3: The timeout func is not suportted or chan->private is NULL, timeout mode not used
xxxx video size : width = 1040, height = 1920
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1040,height = 1920
*****tplayer:video width = 1040,height = 1920
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1040, height = 1920
[CallbackForTPlayer, 382]debug warning: unknown callback from Tinaplayer.
[1970-01-01 00:00:46] DEBUG : awplayer <CallbackProcess:3055>: first video pts = 0
[1970-01-01 00:00:46] DEBUG : awplayer <LayerSetDisplayRect:1535>: Layer set display rect,(20 0, 1040x1920)
[1970-01-01 00:00:46] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(0.000)
[1970-01-01 00:00:47] WARNING: awplayer <CallbackProcess:3930>: reset the timer to 0.120, time difference is -0.250
[1970-01-01 00:00:48] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(1.001)
[1970-01-01 00:00:48] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:48] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:48] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:49] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(2.002)
[1970-01-01 00:00:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:50] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(3.003)
[1970-01-01 00:00:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:51] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(4.004)
[1970-01-01 00:00:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:52] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(5.005)
[1970-01-01 00:00:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:00:53] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(6.006)
[1970-01-01 00:00:54] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(7.007)
[1970-01-01 00:00:55] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(8.008)
[1970-01-01 00:00:56] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(9.009)
[1970-01-01 00:00:57] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(10.010)
[1970-01-01 00:00:58] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(11.011)
[1970-01-01 00:00:59] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(12.012)
[1970-01-01 00:01:00] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(13.013)
[1970-01-01 00:01:01] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(14.014)
[1970-01-01 00:01:02] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(15.015)
[1970-01-01 00:01:03] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(16.016)
[1970-01-01 00:01:04] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(17.017)
[1970-01-01 00:01:05] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(18.018)
[1970-01-01 00:01:06] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(19.019)
[1970-01-01 00:01:07] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(20.020)
[1970-01-01 00:01:08] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(21.021)
[1970-01-01 00:01:09] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(22.022)
[1970-01-01 00:01:10] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(23.023)
[1970-01-01 00:01:11] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(24.024)
[1970-01-01 00:01:12] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(25.025)
[1970-01-01 00:01:13] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(26.026)
[1970-01-01 00:01:14] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(27.027)
[1970-01-01 00:01:15] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(28.028)
[1970-01-01 00:01:16] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(29.029)
[1970-01-01 00:01:17] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(30.030)
[1970-01-01 00:01:18] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(31.031)
[1970-01-01 00:01:19] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(32.032)
[1970-01-01 00:01:20] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(33.033)
[1970-01-01 00:01:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(34.034)
[1970-01-01 00:01:22] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(35.035)
[1970-01-01 00:01:23] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(36.036)
[1970-01-01 00:01:24] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(37.037)
[1970-01-01 00:01:25] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(38.038)
[1970-01-01 00:01:26] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(39.039)
[1970-01-01 00:01:27] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(40.040)
[1970-01-01 00:01:28] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(41.041)
[1970-01-01 00:01:29] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(42.000)
[1970-01-01 00:01:30] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(43.001)
[1970-01-01 00:01:31] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(44.002)
[1970-01-01 00:01:32] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(45.003)
[1970-01-01 00:01:33] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(46.004)
[1970-01-01 00:01:34] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(47.005)
[1970-01-01 00:01:35] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(48.006)
[1970-01-01 00:01:36] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(49.007)
[1970-01-01 00:01:37] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(50.008)
[1970-01-01 00:01:38] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(51.009)
[1970-01-01 00:01:39] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(52.010)
[1970-01-01 00:01:40] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(53.011)
[1970-01-01 00:01:41] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(54.012)
[1970-01-01 00:01:42] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(55.013)
[1970-01-01 00:01:43] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(56.014)
[1970-01-01 00:01:44] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(57.015)
[1970-01-01 00:01:45] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(58.016)
[1970-01-01 00:01:46] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(59.017)
[1970-01-01 00:01:47] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(60.018)
[1970-01-01 00:01:48] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(61.019)
[1970-01-01 00:01:49] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(62.020)
[1970-01-01 00:01:50] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(63.021)
[1970-01-01 00:01:51] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(64.022)
[1970-01-01 00:01:52] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(65.023)
[1970-01-01 00:01:53] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(66.024)
[1970-01-01 00:01:54] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(67.025)
[1970-01-01 00:01:55] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(68.026)
[1970-01-01 00:01:56] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(69.027)
[1970-01-01 00:01:57] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(70.028)
[1970-01-01 00:01:58] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(71.029)
[1970-01-01 00:01:59] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(72.030)
[1970-01-01 00:02:00] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(73.031)
[1970-01-01 00:02:01] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(74.032)
[1970-01-01 00:02:02] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(75.033)
[1970-01-01 00:02:03] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(76.034)
[1970-01-01 00:02:04] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(77.035)
[1970-01-01 00:02:05] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(78.036)
[1970-01-01 00:02:06] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(79.037)
[1970-01-01 00:02:07] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(80.038)
[1970-01-01 00:02:08] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(81.039)
[1970-01-01 00:02:09] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(82.040)
[1970-01-01 00:02:10] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(83.000)
[1970-01-01 00:02:11] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(84.001)
[1970-01-01 00:02:12] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(85.002)
[1970-01-01 00:02:13] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(86.003)
[1970-01-01 00:02:14] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(87.004)
[1970-01-01 00:02:15] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(88.005)
[1970-01-01 00:02:16] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(89.006)
[1970-01-01 00:02:17] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(90.007)
[1970-01-01 00:02:18] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(91.008)
[1970-01-01 00:02:19] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(92.009)
[1970-01-01 00:02:20] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(93.010)
[1970-01-01 00:02:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(94.011)
[1970-01-01 00:02:22] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(95.012)
[1970-01-01 00:02:23] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(96.013)
[1970-01-01 00:02:24] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(97.014)
[1970-01-01 00:02:25] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(98.015)
[1970-01-01 00:02:26] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(99.016)
[1970-01-01 00:02:27] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(100.017)
[1970-01-01 00:02:28] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(101.018)
[1970-01-01 00:02:28] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:28] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:28] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:28] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:29] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(102.019)
[1970-01-01 00:02:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:30] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(103.020)
[1970-01-01 00:02:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:02:31] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(104.021)
[1970-01-01 00:02:32] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(105.022)
[1970-01-01 00:02:33] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(106.023)
[1970-01-01 00:02:34] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(107.024)
[1970-01-01 00:02:35] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(108.025)
[1970-01-01 00:02:36] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(109.026)
[1970-01-01 00:02:37] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(110.027)
[1970-01-01 00:02:38] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(111.028)
[1970-01-01 00:02:39] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(112.029)
[1970-01-01 00:02:40] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(113.030)
[1970-01-01 00:02:41] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(114.031)
[1970-01-01 00:02:42] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(115.032)
[1970-01-01 00:02:43] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(116.033)
[1970-01-01 00:02:44] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(117.034)
[1970-01-01 00:02:45] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(118.035)
[1970-01-01 00:02:46] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(119.036)
[1970-01-01 00:02:47] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(120.037)
[1970-01-01 00:02:48] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(121.038)
[1970-01-01 00:02:49] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(122.039)
[1970-01-01 00:02:50] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(123.040)
[1970-01-01 00:02:51] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(124.041)
[1970-01-01 00:02:52] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(125.000)
[1970-01-01 00:02:53] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(126.001)
[1970-01-01 00:02:54] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(127.002)
[1970-01-01 00:02:55] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(128.003)
[1970-01-01 00:02:56] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(129.004)
[1970-01-01 00:02:57] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(130.005)
[1970-01-01 00:02:58] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(131.006)
[1970-01-01 00:02:59] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(132.007)
[1970-01-01 00:03:00] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(133.008)
[1970-01-01 00:03:01] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(134.009)
[1970-01-01 00:03:02] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(135.010)
[1970-01-01 00:03:03] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(136.011)
[1970-01-01 00:03:04] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(137.012)
[1970-01-01 00:03:05] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(138.013)
[1970-01-01 00:03:06] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(139.014)
[1970-01-01 00:03:07] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(140.015)
[1970-01-01 00:03:08] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(141.016)
[1970-01-01 00:03:09] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(142.017)
[1970-01-01 00:03:10] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(143.018)
[1970-01-01 00:03:11] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(144.019)
[1970-01-01 00:03:12] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(145.020)
[1970-01-01 00:03:13] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(146.021)
[1970-01-01 00:03:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:14] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(147.022)
[1970-01-01 00:03:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:15] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(148.023)
[1970-01-01 00:03:15] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:16] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(149.024)
[1970-01-01 00:03:17] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(150.025)
[1970-01-01 00:03:17] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:18] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(151.026)
[1970-01-01 00:03:19] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(152.027)
[1970-01-01 00:03:20] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(153.028)
[1970-01-01 00:03:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(154.029)
[1970-01-01 00:03:22] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(155.030)
[1970-01-01 00:03:23] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(156.031)
[1970-01-01 00:03:24] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(157.032)
[1970-01-01 00:03:25] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(158.033)
[1970-01-01 00:03:26] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(159.034)
[1970-01-01 00:03:27] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(160.035)
[1970-01-01 00:03:28] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(161.036)
[1970-01-01 00:03:29] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(162.037)
[1970-01-01 00:03:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:29] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:30] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(163.038)
[1970-01-01 00:03:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:30] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:31] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(164.039)
[1970-01-01 00:03:31] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:31] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:31] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:31] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:32] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(165.040)
[1970-01-01 00:03:32] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:32] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:32] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:32] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:33] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:33] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(166.041)
[1970-01-01 00:03:33] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:33] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:33] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:34] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:34] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(167.000)
[1970-01-01 00:03:34] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:34] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:34] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:03:35] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(168.001)
[1970-01-01 00:03:36] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(169.002)
[1970-01-01 00:03:37] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(170.003)
[ 213.702627] sleep[2477]: unhandled signal 4 code 0x1 at 0x000000000003d5b0 in busybox[10000+56000]
[ 213.712885] CPU: 0 PID: 2477 Comm: sleep Not tainted 6.6.0 #139
[ 213.719498] Hardware name: sun251iw1 (DT)
[ 213.723960] epc : 000000000003d5b0 ra : 000000000003d5aa sp : 0000003fc1473b00
[ 213.732003] gp : 0000000000067aa8 tp : 0000003f88555a38 t0 : 0000000000000065
[ 213.740046] t1 : 0000003f88555a38 t2 : 0000003f884c07d0 s0 : 0000000000000000
[ 213.748089] s1 : 0000000000000003 a0 : 0000000000000000 a1 : 0000003fc1473ae0
[ 213.756130] a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000
[ 213.764170] a5 : fffffffffffff000 a6 : 0000000000000000 a7 : 0000000000000065
[ 213.772211] s2 : 0000003fc1473ba8 s3 : 0000003fc1473e3c s4 : 00000000000000e0
[ 213.780253] s5 : 0000000000000001 s6 : 0000000000000000 s7 : 0000000000000000
[ 213.788294] s8 : 0000003f885533c8 s9 : 0000000000000000 s10: 0000003f885557c8
[ 213.796337] s11: 0000000000068274 t3 : 0000003f88513570 t4 : ffffffffb3d3c623
[ 213.804379] t5 : 0000000000000001 t6 : 0000000000000061
[ 213.810291] status: 0000000200004020 badaddr: 0000000000009474 cause: 0000000000000002
[1970-01-01 00:03:38] WARNING: awplayer <CallbackProcess:3930>: reset the timer to 170.760, time difference is -0.119
[1970-01-01 00:03:38] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(171.004)
[ 214.413144] sh[1282]: unhandled signal 4 code 0x1 at 0x000000000002d210 in busybox[10000+56000]
[ 214.423126] CPU: 0 PID: 1282 Comm: sh Not tainted 6.6.0 #139
[ 214.429459] Hardware name: sun251iw1 (DT)
[ 214.433925] epc : 000000000002d210 ra : 0000003f95f65800 sp : 0000003ff18d0c90
[ 214.441968] gp : 0000000000067aa8 tp : 0000003f9600ba38 t0 : 0000000000000104
[ 214.450011] t1 : 0000003f9600ba38 t2 : 0000003f95f767d0 s0 : 0000000000000104
[ 214.458054] s1 : 0000003f9600b970 a0 : 0000000000000000 a1 : 0000003ff18d0c90
[ 214.466096] a2 : 0000000000000000 a3 : 0000000000000000 a4 : 0000000000000000
[ 214.474137] a5 : 0000000000000000 a6 : 0000000000000000 a7 : 0000000000000104
[ 214.482179] s2 : 0000003f96008820 s3 : 0000000000000001 s4 : 0000000000068ed0
[ 214.490221] s5 : 0000000000000001 s6 : 0000000000010001 s7 : 00000000000679f8
[ 214.498263] s8 : 0000000000000000 s9 : 0000000000000004 s10: 0000003f96008108
[ 214.506304] s11: 0000000000068274 t3 : 0000003f95fabaa0 t4 : 0000000000000000
[ 214.514347] t5 : 3c00000040001201 t6 : 0000000000000002
[ 214.520259] status: 0000000200004020 badaddr: 000000000000887c cause: 0000000000000002
[ 214.918546] init[1]: unhandled signal 11 code 0x1 at 0x00000000000000f8 in busybox[10000+56000]
[ 214.935564] CPU: 0 PID: 1 Comm: init Not tainted 6.6.0 #139
[ 214.942177] Hardware name: sun251iw1 (DT)
[ 214.953193] epc : 00000000000490c0 ra : 00000000000490b8 sp : 0000003ff9c7cab0
[ 214.963616] gp : 0000000000067aa8 tp : 0000003f9c91fa38 t0 : 0000000000000089
[ 214.973633] t1 : 0000003f9c91fa38 t2 : 0000000000068ca4 s0 : 0000000000000000
[ 214.981954] s1 : 000000000005a050 a0 : 0000000000000011 a1 : 0000000000000000
[ 214.996808] a2 : 0000000000000000 a3 : 0000000000000008 a4 : 0000000000000000
[ 215.019715] a5 : fffffffffffff000 a6 : ffffffffffffffea a7 : 0000000000000089
[ 215.057175] s2 : 0000003ff9c7cc18 s3 : 0000003ff9c7ce8f s4 : 00000000000000e0
[1970-01-01 00:03:39] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(172.005) [ 215.075750] s5 : 0000000000000001 s6 : 0000000000000000 s7 : 0000000000000000
[ 215.094396] s8 : 0000003f9c91d3c8 s9 : 0000000000000000 s10: 0000003f9c91f7c8
[ 215.103062] s11: 0000000000068274 t3 : 0000003f9c8c8950 t4 : 000000000006a180
[ 215.115430] t5 : 0000003ff9c7cf7b t6 : 000000002f206c00
[ 215.124857] status: 0000000200004020 badaddr: 00000000000000f8 cause: 000000000000000d
[ 215.363114] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 215.371667] CPU: 0 PID: 1 Comm: init Not tainted 6.6.0 #139
[ 215.377878] Hardware name: sun251iw1 (DT)
[ 215.382340] Call Trace:
[ 215.385062] [<ffffffff8000564c>] dump_backtrace+0x1c/0x24
[ 215.391096] [<ffffffff805c7be0>] show_stack+0x2e/0x38
[ 215.396733] [<ffffffff805d846a>] dump_stack_lvl+0x22/0x32
[ 215.402762] [<ffffffff805d848e>] dump_stack+0x14/0x1c
[ 215.408392] [<ffffffff805c7e8c>] panic+0xfc/0x27e
[ 215.413636] [<ffffffff8000e396>] do_exit+0x19e/0x63a
[ 215.419177] [<ffffffff8000e970>] do_group_exit+0x22/0x82
[ 215.425097] [<ffffffff800178f6>] get_signal+0x46e/0x576
[ 215.430930] [<ffffffff800047ae>] arch_do_signal_or_restart+0x38/0x476
[ 215.438109] [<ffffffff8004acdc>] exit_to_user_mode_prepare+0x42/0x86
[ 215.445209] [<ffffffff805d8d3a>] irqentry_exit_to_user_mode+0x10/0x18
[ 215.452390] [<ffffffff805d8d58>] irqentry_exit+0x16/0x3e
[ 215.458314] [<ffffffff805d8ade>] do_page_fault+0x2c/0x36
[ 215.464236] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
[ 215.470589] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b ]---HDMI输入正常,播放视频死机。
[1970-01-01 00:05:00] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:05:00] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:05:00] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(167.000)
[1970-01-01 00:05:00] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:05:00] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:05:01] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:05:01] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(168.001)
[1970-01-01 00:05:02] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(169.002)
[1970-01-01 00:05:03] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(170.003)
[1970-01-01 00:05:04] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(171.004)
[1970-01-01 00:05:05] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(172.005)
[1970-01-01 00:05:05] ERROR : awplayer <__FileStreamSeek:291>: invalid arguments, offset(470995718919523), size(2928659149), curPos(101748862)
[1970-01-01 00:05:05] ERROR : awplayer <ebml_read_num:403>: Invalid EBML number size tag 0xa at pos(0xff519d9)
[1970-01-01 00:05:05] ERROR : awplayer <ebml_peek_id:498>: Invalid id(0) at pos (0xff519da)
[1970-01-01 00:05:06] ERROR : awplayer <ebml_read_num:403>: Invalid EBML number size tag 0xc at pos(0x130b6a1f)
[1970-01-01 00:05:06] ERROR : awplayer <ebml_peek_id:498>: Invalid id(0) at pos (0x130b6a20)
ERROR : cedarc <H264CheckNewFrame:2064>: here1: the first slice of the frame is not 0
[1970-01-01 00:05:06] WARNING: awplayer <CallbackProcess:3624>: Audio AjumpT = 119 ms, abjump =0 ms ,aajump = 119 ms.
[1970-01-01 00:05:06] WARNING: awplayer <CallbackProcess:3626>: Video VjumpT = 1919 ms, vbjump =172714 ms ,vajump = 174633 ms.
[1970-01-01 00:05:06] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(174.633)
[1970-01-01 00:05:06] WARNING: awplayer <CallbackProcess:3930>: reset the timer to 174.600, time difference is -0.138
[1970-01-01 00:05:06] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(175.008) [ 207.680072] Unable to handle kernel paging request at virtual address 00000078b978b978
[ 207.690876] Oops [#1]
[ 207.693448] Modules linked in: aic8800_fdrv aic8800_bsp gt9xxnew_ts
[ 207.700475] CPU: 0 PID: 1754 Comm: lv_projector Not tainted 6.6.0 #141
[ 207.707751] Hardware name: sun251iw1 (DT)
[ 207.712212] epc : 0x78b978b978
[ 207.715616] ra : rcu_core+0x282/0x3b0
[ 207.719809] epc : 00000078b978b978 ra : ffffffff80046a70 sp : ffffffc800003e90
[ 207.727851] gp : ffffffff80a4ddd8 tp : ffffffd803891200 t0 : 00003d0900007d00
[ 207.735895] t1 : 0000000000000240 t2 : 0000000000000002 s0 : ffffffc800003f10
[ 207.743936] s1 : ffffffff809438f0 a0 : ffffffc801000000 a1 : 0000000000000ffb
[ 207.751979] a2 : ffffffd803896300 a3 : 0000000000000ffb a4 : b977b978b979b979
[ 207.760020] a5 : b978b978b978b978 a6 : 0000000000000ffc a7 : ffffffff80a5b858
[ 207.768062] s2 : 0000000000000000 s3 : ffffffc800003e90 s4 : 000000000000000a
[ 207.776104] s5 : ffffffff80a4f090 s6 : ffffffff80943528 s7 : 0000000000000002
[ 207.784146] s8 : 0000000000000001 s9 : ffffffff80046b14 s10: 0000000000000008
[ 207.792188] s11: ffffffff8079a210 t3 : 0000000000000001 t4 : 00000000000000cf
[ 207.800231] t5 : 0000000000000000 t6 : ffffffff80a7fa60
[ 207.806143] status: 0000000200000120 badaddr: 00000078b978b978 cause: 000000000000000c
[ 207.814967] Code: Unable to access instruction at 0x00000078b978b964.
[ 207.822364] ---[ end trace 0000000000000000 ]---
[ 207.827541] Kernel panic - not syncing: Fatal exception in interrupt
[ 207.834662] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---666
这个用哪个通讯协议呢? Ubuntu Linux下应该免驱吧?
memory 说:吼,你这个通电次数和时间,看起来是不关机玩家了hhh
还能这么看,确实是的,很少关机,牛逼楼主!
看 carveout 内存占用情况:
root@TinaLinux:/#
root@TinaLinux:/# cat /sys/kernel/debug/carveout_heap/carveout
Carveout memory layout(0: free, 1: busy, unit: 128KB):
0xffffffd804000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 3f 00 00
0xffffffd805400000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xffffffd806800000: 00 00 00 00 00 00 00 00 00 00 00 00 00
Carveout area start:0xffffffd804000000 end:0xffffffd807500000
Carveout area Total:53MB Free:36096KB ~= 35MB
root@TinaLinux:/#
root@TinaLinux:/#oom,看下/proc/meminfo里cma内存是否预留太大?
root@TinaLinux:/# cat /proc/meminfo
MemTotal: 64564 kB
MemFree: 11744 kB
MemAvailable: 26548 kB
Buffers: 12 kB
Cached: 14520 kB
SwapCached: 0 kB
Active: 7576 kB
Inactive: 12948 kB
Active(anon): 40 kB
Inactive(anon): 5956 kB
Active(file): 7536 kB
Inactive(file): 6992 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 6000 kB
Mapped: 7888 kB
Shmem: 8 kB
KReclaimable: 4460 kB
Slab: 27228 kB
SReclaimable: 4460 kB
SUnreclaim: 22768 kB
KernelStack: 1328 kB
PageTables: 600 kB
SecPageTables: 0 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 32280 kB
Committed_AS: 10436 kB
VmallocTotal: 67108864 kB
VmallocUsed: 2132 kB
VmallocChunk: 0 kB
Percpu: 32 kB
root@TinaLinux:/#没有CMA
[ 1185.531342] rc rc0: two consecutive events of type space
[ 1862.637004] sunxi:disp:[WARN]: [DE]: rcq unprotect not at safe region
[ 1865.183112] sunxi:disp:[WARN]: [DE]: rcq unprotect not at safe region
[ 2261.076711] sunxi:disp:[WARN]: [DE]: rcq unprotect not at safe region
[ 3192.561514] pgrep invoked oom-killer: gfp_mask=0xcc0(GFP_KERNEL), order=0, oom_score_adj=0
[ 3192.589531] CPU: 0 PID: 14983 Comm: pgrep Not tainted 6.6.0 #80
[ 3192.596145] Hardware name: sun251iw1 (DT)
[ 3192.600603] Call Trace:
[ 3192.603323] [<ffffffff8000564c>] dump_backtrace+0x1c/0x24
[ 3192.609346] [<ffffffff805d3114>] show_stack+0x2e/0x38
[ 3192.614975] [<ffffffff805e6a4a>] dump_stack_lvl+0x22/0x32
[ 3192.620997] [<ffffffff805e6a6e>] dump_stack+0x14/0x1c
[ 3192.626626] [<ffffffff805d4e0a>] dump_header+0x42/0x20a
[ 3192.632447] [<ffffffff8006f6dc>] oom_kill_process+0x92/0x244
[ 3192.638756] [<ffffffff8006fc38>] out_of_memory+0x26a/0x294
[ 3192.644865] [<ffffffff8009e83a>] __alloc_pages+0x5aa/0x686
[ 3192.650985] [<ffffffff8009e97a>] __alloc_pages_node+0x64/0x88
[ 3192.657390] [<ffffffff8009eb26>] __get_free_pages+0x14/0x52
[ 3192.663598] [<ffffffff800fbeac>] proc_pid_cmdline_read+0x1ac/0x21c
[ 3192.670491] [<ffffffff800b0b6e>] vfs_read+0x88/0x116
[ 3192.676029] [<ffffffff800b0f2a>] ksys_read+0x66/0xa8
[ 3192.681562] [<ffffffff800b0f80>] __riscv_sys_read+0x14/0x1c
[ 3192.687770] [<ffffffff805e703e>] do_trap_ecall_u+0x98/0xec
[ 3192.693884] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
[ 3192.707616] Mem-Info:
[ 3192.712167] active_anon:14 inactive_anon:3786 isolated_anon:0
[ 3192.712167] active_file:6 inactive_file:245 isolated_file:0
[ 3192.712167] unevictable:0 dirty:0 writeback:0
[ 3192.712167] slab_reclaimable:1574 slab_unreclaimable:7302
[ 3192.712167] mapped:45 shmem:4 pagetables:196
[ 3192.712167] sec_pagetables:0 bounce:0
[ 3192.712167] kernel_misc_reclaimable:0
[ 3192.712167] free:1682 free_pcp:63 free_cma:0
[ 3192.754607] Node 0 active_anon:56kB inactive_anon:15144kB active_file:24kB inactive_file:980kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:180kB dirty:0kB writeback:0kB shmem:16kB writeback_tmp:0kB kernel_stack:1472kB pagetables:784kB sec_pagetables:0kB all_unreclaimable? no
[ 3192.783751] DMA32 free:6728kB boost:0kB min:984kB low:1228kB high:1472kB reserved_highatomic:4096KB active_anon:56kB inactive_anon:15144kB active_file:24kB inactive_file:980kB unevictable:0kB writepending:0kB present:131072kB managed:64564kB mlocked:0kB bounce:0kB free_pcp:240kB local_pcp:240kB free_cma:0kB
[ 3192.814317] lowmem_reserve[]: 0 0 0
[ 3192.818546] DMA32: 366*4kB (MEH) 142*8kB (MEH) 132*16kB (UMEH) 39*32kB (UMEH) 10*64kB (MEH) 1*128kB (E) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 6728kB
[ 3192.834864] 263 total pagecache pages
[ 3192.839108] 0 pages in swap cache
[ 3192.842967] Free swap = 0kB
[ 3192.846316] Total swap = 0kB
[ 3192.849724] 32768 pages RAM
[ 3192.853003] 0 pages HighMem/MovableOnly
[ 3192.857501] 16627 pages reserved
[ 3192.861161] Unreclaimable slab info:
[ 3192.865300] Name Used Total
[ 3192.871512] bio-96 8KB 8KB
[ 3192.877536] bio-184 3KB 3KB
[ 3192.883561] jffs2_refblock 11KB 11KB
[ 3192.889555] jffs2_full_dnode 3KB 3KB
[ 3192.895591] ip_fib_alias 3KB 3KB
[ 3192.901609] TCP 31KB 31KB
[ 3192.907661] bio-224 8KB 8KB
[ 3192.913796] ep_head 4KB 4KB
[ 3192.919854] sgpool-128 30KB 30KB
[ 3192.925851] sgpool-64 15KB 15KB
[ 3192.931843] sgpool-32 7KB 7KB
[ 3192.937724] sgpool-16 3KB 3KB
[ 3192.944044] request_queue 15KB 15KB
[ 3192.950105] bio-160 4KB 15KB
[ 3192.956118] skbuff_small_head 7KB 7KB
[ 3192.962109] skbuff_head_cache 8KB 8KB
[ 3192.968164] configfs_dir_cache 3KB 3KB
[ 3192.974253] file_lock_cache 3KB 3KB
[ 3192.980261] file_lock_ctx 3KB 3KB
[ 3192.986270] fsnotify_mark_connector 4KB 4KB
[ 3192.992884] pde_opener 3KB 3KB
[ 3192.998918] seq_file 3KB 3KB
[ 3193.005080] sigqueue 3KB 3KB
[ 3193.011103] shmem_inode_cache 458KB 458KB
[ 3193.017128] mnt_cache 11KB 11KB
[ 3193.023135] vm_area_struct 73KB 75KB
[ 3193.029136] files_cache 11KB 37KB
[ 3193.035176] sighand_cache 107KB 125KB
[ 3193.041224] task_struct 220KB 252KB
[ 3193.047356] anon_vma 26KB 27KB
[ 3193.053381] mm_struct 105KB 112KB
[ 3193.059394] vmap_area 153KB 153KB
[ 3193.065278] kmalloc-8k 6280KB 6288KB
[ 3193.071301] kmalloc-4k 1384KB 1504KB
[ 3193.077275] kmalloc-2k 248KB 256KB
[ 3193.083313] kmalloc-1k 1000KB 1000KB
[ 3193.089361] kmalloc-512 455KB 460KB
[ 3193.095393] kmalloc-256 380KB 396KB
[ 3193.101565] kmalloc-192 143KB 149KB
[ 3193.107597] kmalloc-128 3577KB 3580KB
[ 3193.113601] kmalloc-64 826KB 840KB
[ 3193.119486] kmem_cache_node 8KB 8KB
[ 3193.125486] kmem_cache 15KB 15KB
[ 3193.131510] Tasks state (memory values in pages):
[ 3193.136986] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[ 3193.146787] [ 1522] 0 1522 328 30 24576 0 0 adbd
[ 3193.156039] [ 1550] 0 1550 321 33 24576 0 0 dbus-daemon
[ 3193.165940] [ 1569] 0 1569 17743 3608 163840 0 0 lv_projector
[ 3193.175939] [ 1570] 0 1570 292 26 28672 0 0 sh
[ 3193.184948] [ 1571] 0 1571 446 58 28672 0 0 amix_server
[ 3193.194844] [ 1572] 0 1572 292 25 28672 0 0 sh
[ 3193.203854] [ 1574] 0 1574 292 24 24576 0 0 sh
[ 3193.212898] [ 1618] 0 1618 1117 61 28672 0 0 wpa_supplicant
[ 3193.223124] [ 14978] 0 14978 292 24 28672 0 0 sh
[ 3193.232115] [ 14979] 0 14979 291 23 24576 0 0 ps
[ 3193.241142] [ 14980] 0 14980 289 22 24576 0 0 grep
[ 3193.250380] [ 14981] 0 14981 289 21 24576 0 0 grep
[ 3193.259580] [ 14982] 0 14982 292 25 24576 0 0 awk
[ 3193.268733] [ 14983] 0 14983 291 22 28672 0 0 pgrep
[ 3193.278030] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=lv_projector,pid=1569,uid=0
[ 3193.288146] Out of memory: Killed process 1569 (lv_projector) total-vm:70972kB, anon-rss:14252kB, file-rss:176kB, shmem-rss:4kB, UID:0 pgtables:160kB oom_score_adj:0
[ 3195.310796] del_iface: 000000003b699bad, 71
[ 3195.327987] Exit. P2P interface stopped
root@TinaLinux:/#有一个虚拟机编译出来的固件播放视频就是容易死机,不知道啥情况。
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000043e00000..0x0000000043ffffff (2048 KiB) map non-reusable opensbi@43e00000
[ 0.000000] OF: reserved mem: 0x0000000044000000..0x00000000471fffff (51200 KiB) map non-reusable carveout
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500c00 initcall_debug=0 console=ttyAS3,115200 loglevel=8 root=/dev/mtdblock4 rootfstype=squashfs init=/init partitions=boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 cma= snum=98000c71b58089c190b mac_addr= specialstr= gpt=1 clk_ignore_unused androidboot.serialno=98000c71b58089c190b androidboot.hardware=sun251iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.07(07/09/2025-09:40:22) mbr_offset=1097728 disp_reserve=8294400,0x0000000047448000 androidboot.dramfreq=900 androidboot.dramsize=128 uboot_backup=ubootA
[ 0.000000] Unknown kernel command line parameters "partitions=boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 cma= snum=98000c71b58089c190b mac_addr= specialstr= uboot_message=2018.07(07/09/2025-09:40:22) disp_reserve=8294400,0x0000000047448000 uboot_backup=ubootA", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32320
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 56256K/131072K available (6024K kernel code, 1613K rwdata, 2659K rodata, 283K init, 490K bss, 74816K reserved, 0K cma-reserved)[ 6919.038543] lv_projector invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[ 6919.071973] CPU: 0 PID: 24171 Comm: lv_projector Not tainted 6.6.0 #69
[ 6919.079262] Hardware name: sun251iw1 (DT)
[ 6919.083723] Call Trace:
[ 6919.086444] [<ffffffff8000564c>] dump_backtrace+0x1c/0x24
[ 6919.092470] [<ffffffff805ce82c>] show_stack+0x2e/0x38
[ 6919.098108] [<ffffffff805df0b6>] dump_stack_lvl+0x22/0x32
[ 6919.104126] [<ffffffff805df0da>] dump_stack+0x14/0x1c
[ 6919.109754] [<ffffffff805d0522>] dump_header+0x42/0x20a
[ 6919.115576] [<ffffffff8006f6dc>] oom_kill_process+0x92/0x244
[ 6919.121884] [<ffffffff8006fc38>] out_of_memory+0x26a/0x294
[ 6919.127997] [<ffffffff8009e83a>] __alloc_pages+0x5aa/0x686
[ 6919.134119] [<ffffffff8009eed0>] __folio_alloc+0x12/0x1a
[ 6919.140039] [<ffffffff8006b3d6>] folio_alloc.constprop.0+0x12/0x1a
[ 6919.146933] [<ffffffff8006d890>] __filemap_get_folio+0xfc/0x144
[ 6919.153527] [<ffffffff8006daaa>] filemap_fault+0x1d2/0x354
[ 6919.159638] [<ffffffff800892be>] __do_fault+0x24/0x68
[ 6919.165267] [<ffffffff8008cb1e>] __handle_mm_fault+0x41c/0x620
[ 6919.171768] [<ffffffff8008cda6>] handle_mm_fault+0x84/0xba
[ 6919.177880] [<ffffffff800085aa>] handle_page_fault+0x188/0x254
[ 6919.184386] [<ffffffff805df71c>] do_page_fault+0x1e/0x36
[ 6919.190305] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
[ 6919.315563] Mem-Info:
[ 6919.322812] active_anon:17 inactive_anon:5136 isolated_anon:0
[ 6919.322812] active_file:256 inactive_file:325 isolated_file:0
[ 6919.322812] unevictable:0 dirty:0 writeback:0
[ 6919.322812] slab_reclaimable:1571 slab_unreclaimable:5729
[ 6919.322812] mapped:273 shmem:4 pagetables:210
[ 6919.322812] sec_pagetables:0 bounce:0
[ 6919.322812] kernel_misc_reclaimable:0
[ 6919.322812] free:1599 free_pcp:1 free_cma:0
[ 6919.406802] Node 0 active_anon:68kB inactive_anon:20544kB active_file:1024kB inactive_file:1300kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:1112kB dirty:0kB writeback:0kB shmem:16kB writeback_tmp:0kB kernel_stack:1456kB pagetables:840kB sec_pagetables:0kB all_unreclaimable? no
[ 6919.466828] DMA32 free:6360kB boost:0kB min:948kB low:1184kB high:1420kB reserved_highatomic:4096KB active_anon:68kB inactive_anon:20544kB active_file:1052kB inactive_file:1332kB unevictable:0kB writepending:0kB present:131072kB managed:64632kB mlocked:0kB bounce:0kB free_pcp:72kB local_pcp:72kB free_cma:0kB
[ 6919.530872] lowmem_reserve[]: 0 0 0
[ 6919.538799] DMA32: 138*4kB (UME) 90*8kB (UMEH) 60*16kB (UMEH) 25*32kB (UEH) 16*64kB (UH) 4*128kB (H) 3*256kB (H) 0*512kB 1*1024kB (H) 0*2048kB 0*4096kB = 6360kB
[ 6919.570784] 618 total pagecache pages
[ 6919.578795] 0 pages in swap cache
[ 6919.586785] Free swap = 0kB
[ 6919.594846] Total swap = 0kB
[ 6919.598118] 32768 pages RAM
[ 6919.606865] 0 pages HighMem/MovableOnly
[ 6919.615490] 16610 pages reserved
[ 6919.623696] Tasks state (memory values in pages):
[ 6919.634812] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[ 6919.654878] [ 1557] 0 1557 328 18 24576 0 0 adbd
[ 6919.674813] [ 1585] 0 1585 321 21 28672 0 0 dbus-daemon
[ 6919.688552] [ 1602] 0 1602 21227 5162 192512 0 0 lv_projector
[ 6919.698709] [ 1603] 0 1603 288 15 24576 0 0 sh
[ 6919.707856] [ 1604] 0 1604 446 47 28672 0 0 amix_server
[ 6919.717803] [ 1605] 0 1605 288 14 28672 0 0 sh
[ 6919.726832] [ 1607] 0 1607 288 12 24576 0 0 sh
[ 6919.735948] [ 1661] 0 1661 415 70 28672 0 0 mount.ntfs-3g
[ 6919.746038] [ 1677] 0 1677 210 69 24576 0 0 mtop
[ 6919.755355] [ 30113] 0 30113 285 63 24576 0 0 pgrep
[ 6919.764738] [ 30114] 0 30114 288 14 24576 0 0 sh
[ 6919.773801] [ 30115] 0 30115 287 81 28672 0 0 ps
[ 6919.782879] [ 30116] 0 30116 285 53 24576 0 0 grep
[ 6919.792138] [ 30117] 0 30117 285 52 28672 0 0 grep
[ 6919.801386] [ 30118] 0 30118 288 56 28672 0 0 awk
[ 6919.810590] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=lv_projector,pid=1602,uid=0
[ 6919.820867] Out of memory: Killed process 1602 (lv_projector) total-vm:84908kB, anon-rss:19532kB, file-rss:1112kB, shmem-rss:4kB, UID:0 pgtables:188kB oom_score_adj:0
[1970-01-01 01:55:24.866] PID: 1604 TID: 24179 <W> : [amix_mod_server_cs_work 272] server read failed, client(8) maybe hang
[1970-01-01 01:55:24.866] PID: 1604 TID: 24179 <D> : [amix_mod_server_cs_work 367] AMIX_CS_STREAM_CLOSE
100.00 38.57 0.12 0.43 9.15 0.00 0.00 0.00 0.00 0.00 0.00 51.73 0.00
[1970-01-01 01:55:25.099] PID: 1604 TID: 24179 <D> : [amix_close_stream 196]
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <D> : [amix_mod_server_link_destroy 213]
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <D> : [_amix_sem_posix_destroy 326]
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <I> : [_amix_sem_posix_destroy 334] sem_close succeed
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <D> : [_amix_sem_posix_destroy 336] unlink sem /AmixSmcSem65537
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <I> : [_amix_sem_posix_destroy 340] sem_unlink succeed /AmixSmcSem65537
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <I> : [_amix_shm_destroy 160] shm_unlink succeed with /AmixSmcShm65537
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <D> : [amix_mod_server_stream_delete 122]
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <D> : [sfx_cs_free_stream_uid 55]
[1970-01-01 01:55:25.248] PID: 1604 TID: 24179 <W> : [amix_mod_server_cs_work 387] unlink s3-c8H136可能内存不够,接1080p显示屏,一会就炸了.
然后把board.dts的carveout内存改小到 0x2800000,播放视频内存直接就炸了:
[1970-01-01 05:17:02.983] PID: 1592 TID: 2271 <D> : [_amix_sem_posix_create 219]
[1970-01-01 05:17:02] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[2]:0x3fac3a2000
ionAlloc_5.15:<sunxi_ion_alloc_pallocExtend:377>fatal error! AW_ION_IOC_NEW_ALLOC error
[1970-01-01 05:17:03] ERROR : awplayer <setLayerBuffer:316>: SunxiMemPalloc err
type=4, value=8, code=4 --- ---
last_value=13, in.value=8, stamp_current=19023314, stamp_last=19022030, stamp_current-stamp_last = 1284 ----
[1970-01-01 05:17:03] ERROR : awplayer <__LayerDequeueBuffer:844>: can not initialize layer.
[1970-01-01 05:17:03] WARNING: awplayer <SetGpuBufferToDecoder:2184>: *** dequeue 0-th buffer for total 7 buffers failed.
[CallbackForTPlayer, 259]error: erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
[CallbackForTPlayer, 277]error: error: media player status is error!
[1970-01-01 05:17:03] ERROR : awplayer <CallbackProcess:3004>: ==== video render internal error ===
[1970-01-01 05:17:03] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 260
[1970-01-01 05:17:03.319] PID: 1592 TID: 2271 <D> : [amix_open_stream 181] bit:16, rate:48000, channels:2
[1970-01-01 05:17:03.320] PID: 1592 TID: 2271 <D> : [amix_open_stream 182] period_size:1024, period_count:4
[1970-01-01 05:17:03.320] PID: 1592 TID: 2271 <I> : [amix_mod_server_cs_work 360] open stream dev(OUT_SPK-0x10001) success
[1970-01-01 05:17:03.320] PID: 1590 TID: 2270 <I> AUDIO_ROUTE: <openDevice:76>: amix_dev_open succeed device_type OUT_SPK
[1970-01-01 05:17:03] DEBUG : awplayer <startSoundDevice:808>: audio device start end
[1970-01-01 05:17:03] DEBUG : awplayer <CallbackProcess:3182>: first audio pts = 0
type=4, value=8, code=4 --- ---
last_value=8, in.value=8, stamp_current=19023535, stamp_last=19023314, stamp_current-stamp_last = 221 ----
last_value == in.value ---------------
type=4, value=8, code=4 --- ---
last_value=8, in.value=8, stamp_current=19025055, stamp_last=19023535, stamp_current-stamp_last = 1520 ----
switch_page_show_destory cur_id 5, next_id 4
[1970-01-01 05:17:05] DEBUG : awplayer <XPlayerStop:853>: stop
[1970-01-01 05:17:05] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 05:17:05] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: stop
[1970-01-01 05:17:05] WARNING: awplayer <CallbackProcess:3205>: break audio video first sync.
[1970-01-01 05:17:05] INFO : awplayer <handleStop:370>: audio render process stop message.
[1970-01-01 05:17:05] INFO : awplayer <fade_out:93>: fade_out size 7680
[1970-01-01 05:17:05] DEBUG : awplayer <handleStop:412>: stop sound devide.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 0
DEBUG : tsoundcontrol <closeSoundDevice:50>: closeSoundDevice
[1970-01-01 05:17:05.074] PID: 1590 TID: 2270 <I> AUDIO_ROUTE: <closeDevice:203>: begin
[1970-01-01 05:17:05.074]<I> : [_amix_sem_posix_close 315] sem_close succeed
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [amix_mod_server_cs_work 367] AMIX_CS_STREAM_CLOSE
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [amix_close_stream 196]
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [amix_mod_server_link_destroy 213]
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [_amix_sem_posix_destroy 326]
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <I> : [_amix_sem_posix_destroy 334] sem_close succeed
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [_amix_sem_posix_destroy 336] unlink sem /AmixSmcSem65537
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <I> : [_amix_sem_posix_destroy 340] sem_unlink succeed /AmixSmcSem65537
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <I> : [_amix_shm_destroy 160] shm_unlink succeed with /AmixSmcShm65537
[1970-01-01 05:17:05.075] PID: 1592 TID: 2271 <D> : [amix_mod_server_stream_delete 122]
[1970-01-01 05:17:05.076] PID: 1592 TID: 2271 <D> : [sfx_cs_free_stream_uid 55]
[1970-01-01 05:17:05.076] PID: 1592 TID: 2271 <D> : [amix_mod_server_cs_work 391] close stream dev(OUT_SPK-0x10001) success
[1970-01-01 05:17:05] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: stop
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerCtrlHoldLastPicture:807>: LayerCtrlHoldLastPicture, bHold = 0
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerCtrlHideVideo:786>: __LayerCtrlHideVideo
[1970-01-01 05:17:05] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: stop
[1970-01-01 05:17:05] DEBUG : awplayer <handleStop:1172>: destroy libadecoder...
(AAC Decoder),line(44) : exit successs...
(AllwinnerAlibs),line(750) : ----dlclose so success!
(Allwinner Audio Middle Layer),line(921) : destroy_ResampleInfo!!
(Allwinner Audio Resample),line(68) : Destroy_ResampleInfo...
[1970-01-01 05:17:05] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: stop
[1970-01-01 05:17:05] DEBUG : awplayer <PlayerStop:976>: ****** PlayerStop end
[1970-01-01 05:17:05] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: quit
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:565>: __LayerRelease,lc->mHoldLastPictureFlag = 0,lc->nGpuBufferCount = 7,lc->mTmpCurPicture.nWidth = 0,lc->mTmpCurPicture.nHeight = 0
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:581>: disable disp out port before release framebuffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[0] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[1] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[2] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[3] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[4] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[5] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL buffer
[1970-01-01 05:17:05] DEBUG : awplayer <__LayerRelease:590>: free buf[6] :0
ionAlloc_5.15:<sunxi_ion_alloc_pfree:500>can not free NULL bufferroot@TinaLinux:/# cat /sys/devices/virtual/hdmirx/hdmirx/attr/edid_dump
__________________________________________________________________
edid 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
=======================================================
0x00 | 00 ff ff ff ff ff ff 00 5e 78 43 48 21 03 00 00
0x10 | 0d 1a 01 03 81 46 27 78 eb d5 7c a3 57 49 9c 25
0x20 | 11 48 4b bf ef 00 a9 40 81 59 81 80 61 59 45 59
0x30 | 31 59 31 19 31 d9 02 3a 80 18 71 38 2d 40 58 2c
0x40 | 45 00 c4 8e 21 00 00 1e 02 3a 80 d0 72 38 2d 40
0x50 | 10 2c 45 80 c4 8e 21 00 00 1e 00 00 00 fc 00 53
0x60 | 47 44 20 53 58 38 0a 20 20 20 20 20 00 00 00 fd
0x70 | 00 17 78 0f 8c 1e 00 0a 20 20 20 20 20 20 01 54
0x80 | 02 03 3a f1 56 1f 20 5d 62 5f 64 21 22 5e 10 14
0x90 | 05 01 04 07 06 03 02 11 12 13 15 26 3f 07 50 09
0xa0 | 7f 01 83 4f 00 00 70 03 0c 00 10 00 b8 44 af 5b
0xb0 | 5b 00 80 01 02 03 04 e2 00 ff 00 00 00 00 00 00
0xc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xd0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xf0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1b
=======================================================
established timing:
640*480p60hz
800*600p60hz
1024*768p60hz
standard timing:
1600*1200P60Hz
1280*960P85Hz
1280*1024P60Hz
1024*768P85Hz
800*600P85Hz
640*480P85Hz
640*400P85Hz
640*360P85Hz
****EDID Basic Block****
manufacturer_name: WSX
product code: 0x4843
serial_number: 0x00000321
product week: 13
product year: 2016
descriptor1.hactive: 1920
descriptor1.vactive: 1080
descriptor1.pix clk: 148500KHz
monitor name: SGD SX8
max support pixel clock: 300Mhz
extension_flag: 1
block0_chk_sum: 0x54
****CEA block header****
underscan_sup: 1
basic_aud_sup: 1
ycc444_sup: 1
ycc422_sup: 1
native_dtd_num: 1
****Video Data Block****
support SVD list:
SVD# 1: vic( 31), format: HDMI_1920x1080p50_16x9
SVD# 2: vic( 32), format: HDMI_1920x1080p24_16x9
SVD# 3: vic( 93), format: HDMI_3840x2160p24_16x9
SVD# 4: vic( 98), format: HDMI_4096x2160p24_256x135
SVD# 5: vic( 95), format: HDMI_3840x2160p30_16x9
SVD# 6: vic(100), format: HDMI_4096x2160p30_256x135
SVD# 7: vic( 33), format: HDMI_1920x1080p25_16x9
SVD# 8: vic( 34), format: HDMI_1920x1080p30_16x9
SVD# 9: vic( 94), format: HDMI_3840x2160p25_16x9
SVD#10: vic( 16), format: HDMI_1920x1080p60_16x9
SVD#11: vic( 20), format: HDMI_1920x1080i50_16x9
SVD#12: vic( 5), format: HDMI_1920x1080i60_16x9
SVD#13: vic( 1), format: HDMI_640x480p60_4x3
SVD#14: vic( 4), format: HDMI_1280x720p60_16x9
SVD#15: vic( 7), format: HDMI_720x480i60_16x9
SVD#16: vic( 6), format: HDMI_720x480i60_4x3
SVD#17: vic( 3), format: HDMI_720x480p60_16x9
SVD#18: vic( 2), format: HDMI_720x480p60_4x3
SVD#19: vic( 17), format: HDMI_720x576p50_4x3
SVD#20: vic( 18), format: HDMI_720x576p50_16x9
SVD#21: vic( 19), format: HDMI_1280x720p50_16x9
SVD#22: vic( 21), format: HDMI_720x576i50_4x3
****Audio Data Block****
audio fmt: L-PCM
max channel: 2
freq_192khz
freq_176.4khz
freq_96khz
freq_88.2khz
freq_48khz
freq_44.1khz
freq_32khz
sample size:
16bit
audio fmt: DTS
max channel: 8
freq_48khz
freq_44.1khz
freq_32khz
max bit rate: 640kHz
****Speaker Allocation Data Block****
RLC/RRC
RL/RR
FC
LFE
FL/FR
****Vender Specific Data Block****
IEEE OUI: 000C03
phy addr: 1.0.0.0
support AI
support deep clor:
12bit
10bit
max tmds clk supported: 340MHz
hdmi_video_present: 1
Content types:
cnc3: Game
cnc2: Cinema
cnc1: Photo
cnc0: Grahpics(text)
Supproted 4k2k format:
hdmi vic1: 4k30hz
hdmi vic2: 4k25hz
hdmi vic3: 4k24hz
hdmi vic4: smpte
No 3D support
****Video Cap Data Block****
YCC Quant Range:
Selectable(via AVI YQ)
RGB Quant Range:
Selectable(via AVI Q)
PT Scan behavior:
Support both over and underscan
IT Scan behavior:
Support both over and underscan
CE Scan behavior:
Support both over and underscan
root@TinaLinux:/#root@TinaLinux:/# cat /sys/devices/virtual/hdmirx/hdmirx/attr/signal_dump
video
source_id = kSourceId_HDMI_1
signal_id = 2160P3840
frame_rate = 30000
b_interlace = 0
color_format = RGB_888
color_space = BT601
resolution.h_size = 3840
resolution.v_size = 2160
hdr_mode = 0
b_full_range = 0
b_dvi_mode = 0
tmds_clock = 297001591
pixel_repetition = 0
video_mute = 0
audio
cts = 297000
N = 6144
audio_fs = 48000
audio_PLLfs = 48
audio_type = L-PCM
fifo_errcnt = 1
audio_pkterrcnt = 5
audio_mute = 0
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#root@TinaLinux:/# cat /sys/devices/virtual/hdmirx/hdmirx/attr/status_dump
port0
HDCP_TaskActive = 1
StateMachine_TaskActive = 1
5VState = 1
HpdState = 1
SignalValid = 1
PhyCDRLock = 1
PathState = VideoOut
HdmiRxState = HDMIRX_STATE_RUNNING
port1
HDCP_TaskActive = 0
StateMachine_TaskActive = 0
5VState = 1
HpdState = 1
SignalValid = 1
PhyCDRLock = 1
PathState = LinkConnected
HdmiRxState = HDMIRX_STATE_INIT
root@TinaLinux:/#
root@TinaLinux:/#通过这个在线 edid 分析 https://people.freedesktop.org/~imirkin/edid-decode/ (非常优秀,还能算出校验码)
搞定only 1080p:
root@TinaLinux:/# cat /sys/devices/virtual/hdmirx/hdmirx/attr/edid_dump
__________________________________________________________________
edid 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
=======================================================
0x00 | 00 ff ff ff ff ff ff 00 5e 78 43 48 21 03 00 00
0x10 | 0d 1a 01 03 81 46 27 78 eb d5 7c a3 57 49 9c 25
0x20 | 11 48 4b bf ef 00 a9 40 81 59 81 80 61 59 45 59
0x30 | 31 59 31 19 31 d9 02 3a 80 18 71 38 2d 40 58 2c
0x40 | 45 00 c4 8e 21 00 00 1e 02 3a 80 d0 72 38 2d 40
0x50 | 10 2c 45 80 c4 8e 21 00 00 1e 00 00 00 fc 00 53
0x60 | 47 44 20 53 58 38 0a 20 20 20 20 20 00 00 00 fd
0x70 | 00 17 78 0f 8c 1e 00 0a 20 20 20 20 20 20 01 54
0x80 | 02 03 3a f1 56 1f 20 00 00 00 00 21 22 00 10 14
0x90 | 05 01 04 07 06 03 02 11 12 13 15 26 3f 07 50 09
0xa0 | 7f 01 83 4f 00 00 00 00 00 00 00 00 00 00 00 00
0xb0 | 00 00 00 00 00 00 00 e2 00 ff 00 00 00 00 00 00
0xc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xd0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xf0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 75
=======================================================
established timing:
640*480p60hz
800*600p60hz
1024*768p60hz
standard timing:
1600*1200P60Hz
1280*960P85Hz
1280*1024P60Hz
1024*768P85Hz
800*600P85Hz
640*480P85Hz
640*400P85Hz
640*360P85Hz
****EDID Basic Block****
manufacturer_name: WSX
product code: 0x4843
serial_number: 0x00000321
product week: 13
product year: 2016
descriptor1.hactive: 1920
descriptor1.vactive: 1080
descriptor1.pix clk: 148500KHz
monitor name: SGD SX8
max support pixel clock: 300Mhz
extension_flag: 1
block0_chk_sum: 0x54
****CEA block header****
underscan_sup: 1
basic_aud_sup: 1
ycc444_sup: 1
ycc422_sup: 1
native_dtd_num: 1
****Video Data Block****
support SVD list:
SVD# 1: vic( 31), format: HDMI_1920x1080p50_16x9
SVD# 2: vic( 32), format: HDMI_1920x1080p24_16x9
SVD# 7: vic( 33), format: HDMI_1920x1080p25_16x9
SVD# 8: vic( 34), format: HDMI_1920x1080p30_16x9
SVD#10: vic( 16), format: HDMI_1920x1080p60_16x9
SVD#11: vic( 20), format: HDMI_1920x1080i50_16x9
SVD#12: vic( 5), format: HDMI_1920x1080i60_16x9
SVD#13: vic( 1), format: HDMI_640x480p60_4x3
SVD#14: vic( 4), format: HDMI_1280x720p60_16x9
SVD#15: vic( 7), format: HDMI_720x480i60_16x9
SVD#16: vic( 6), format: HDMI_720x480i60_4x3
SVD#17: vic( 3), format: HDMI_720x480p60_16x9
SVD#18: vic( 2), format: HDMI_720x480p60_4x3
SVD#19: vic( 17), format: HDMI_720x576p50_4x3
SVD#20: vic( 18), format: HDMI_720x576p50_16x9
SVD#21: vic( 19), format: HDMI_1280x720p50_16x9
SVD#22: vic( 21), format: HDMI_720x576i50_4x3
****Audio Data Block****
audio fmt: L-PCM
max channel: 2
freq_192khz
freq_176.4khz
freq_96khz
freq_88.2khz
freq_48khz
freq_44.1khz
freq_32khz
sample size:
16bit
audio fmt: DTS
max channel: 8
freq_48khz
freq_44.1khz
freq_32khz
max bit rate: 640kHz
****Speaker Allocation Data Block****
RLC/RRC
RL/RR
FC
LFE
FL/FR
****Vender Specific Data Block****
IEEE OUI: 000000
phy addr: 0.0.0.0
support deep clor:
hdmi_video_present: 0
Content types:
No 3D support
****Video Cap Data Block****
YCC Quant Range:
Selectable(via AVI YQ)
RGB Quant Range:
Selectable(via AVI Q)
PT Scan behavior:
Support both over and underscan
IT Scan behavior:
Support both over and underscan
CE Scan behavior:
Support both over and underscan
root@TinaLinux:/#这个windows 分析软件也非常不错:EDIDManager10.zip
hdmi输入,不支持树莓派?这么坑~~
搞定了,是闲鱼上面弄的收银机只输出 800x480 分辨率
[error] hTotal mismatch, database:2750 current:992!
[error] HDMIRx_DisplayModuleCtx_GetSignalIndex: Match signal failed!
[error] HDMIRx_Port_TimingMonitorTask: This timing cann't match any timing in database!!!
看上面的日志,H135 SDK默认不支持这个分辨率
bsp/drivers/tvin/hdmirx/aw_hdmirx_core/include/display_timing.h
添加
#define AI_SIGNAL_MODE_800X480P 0x0002008D
bsp/drivers/tvin/hdmirx/aw_hdmirx_core/THDMIRx_DisplayModuleCtx.h
添加:
{AI_SIGNAL_MODE_800X480P, AI_SIGNAL_FRAMERATE_60, 0x420, 0x20D, 0x320, 0x1E0, 0x28, 0x3, 0x28, 0x7, 0x1, 0x1, 0x0, 60000, 0x0, 31470, 0, 0, 1, 1, 0, 1, 0, 1, 1},
就正常了。
[ 547.022741] sunxi:hdmirx:[ERR]: [error] hTotal mismatch, database:2750 current:992!
[ 547.032106] sunxi:hdmirx:[ERR]: [error] HDMIRx_DisplayModuleCtx_GetSignalIndex: Match signal failed!
[ 547.042324] sunxi:hdmirx:[ERR]: [error] HDMIRx_Port_TimingMonitorTask: This timing cann't match any timing in database!!!
[1970-01-01 00:26:06.351]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.351]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.351]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.351]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.351]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.351]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.351]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.351]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:06.461]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.461]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.462]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.462]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.462]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.462]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.462]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.462]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:06.572]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.572]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.572]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.572]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.573]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.573]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.573]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.573]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:06.683]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.683]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.683]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.683]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.683]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.683]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.683]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.683]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:06.794]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.794]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.794]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.794]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.794]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.794]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.794]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.794]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:06.905]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:06.905]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:06.905]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:06.905]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:06.905]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:06.905]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:06.905]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:06.905]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:07.015]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 00:26:07.015]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:26:07.015]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:26:07.016]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x8000
[1970-01-01 00:26:07.016]<I> HRC-HAL : getSignalDump: >>>> signal_id: UnknownMode <<<<
[1970-01-01 00:26:07.016]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:26:07.016]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: audio no asp!!!
[1970-01-01 00:26:07.016]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 00:26:07.126]<I> HDMIRX-API: hdmirx_audio_callback: end树莓派的不支持
不知道为啥,电脑分辨率无论设置成多少,H135都识别成 4096*2160
type=4, value=13, code=4 --- ---
last_value=8, in.value=13, stamp_current=40064469, stamp_last=40056857, stamp_current-stamp_last = 7612 ----
switch_page cur_id 1, next_id 11[40061.227362] sunxi:hdmirx:[INFO]: [ info] aw_core_Enable: source_id 3 HDMIRx_Enable
select hdmi1
[1970-01-01 11:07:44.491]<I> HDMIRX-API: hdmirx_app_select_source: hdmirx_app_select_source 402 source_id 1
[19[40061.238531] sunxi:hdmirx:[INFO]: [ info] HDMIRx_DisplayModuleCtx_Enable():bOutputEnabled[0]=1, dwSignal = 0x20003
70-01-01 11:07:44.491]<I> HDMIRX-API: hdmirx_app_select_source: hrcClosePicture
[1970-01-01 11:07:44.492]<I> HDMIRX-API: hdmirx[40061.260934] sunxi:hdmirx:[INFO]: [ info] aw_core_AfterEnable: source_id 3 AfterEnable
_app_select_source: hdmirx_app_select_source 402 source_id 3
[40061.280701] sunxi:hdmirx:[INFO]: [ info] aw_core_SetActivePort: SetActivePort 1 tick=40061202
[40061.295582] sunxi:hdmirx:[INFO]: [ info] aw_core_SetActivePort: pActivePort is ture!!
[40061.304393] sunxi:hdmirx:[INFO]: [ info] aw_core_SwitchPort: port id=1 isActive=1 tick=40061225
[40061.314132] sunxi:hdmirx:[INFO]: [ info] PortCtx.PortPathState 3
[40061.320862] sunxi:hdmirx:[INFO]: [ info] HDMIRx_Port_SendSwitchSourceEvent: port 1 send SwitchSource event isActive 1
[40061.332777] sunxi:hdmirx:[INFO]: [ info] HDMIRx_DataPath_Connect_Link_Path: DDC and PHY select prot 1
[40061.343087] sunxi:hdmirx:[INFO]: [ info] HdmiRx_Port_Select: HdmiRx_Port_Select port 1
[40061.343131] sunxi:hdmirx:[INFO]: [ info] HDMIRx_Port_SendHPDEvent: port 1 send HPD event
[40061.361149] sunxi:hdmirx:[WARN]: [ warn] AUDIO PLL CALC: bPdivCalc Failed !!!
[40061.369168] sunxi:hdmirx:[INFO]: [ info] HDMIRx_DisplayModuleCtx_SetBlueScreen: HDMIRX Send BlueScreen, bON=1
[1970-01-01 11:07:44.645]<I> HDMIRX-HAL: Cec_SetStreamPath: set stream path physAddr: 0x1000
[1970-01-01 11:07:44.747]<I> HDMIRX-API: hdmirx_app_select_source: hrcOpenPicture
[1970-01-01 11:07:44.747]<I> HRC-HAL : setSourceId: change source portId: 0
type=4, value=13, code=4 --- ---
last_value=13, in.value=13, stamp_current=40064750, stamp_last=40064469, stamp_current-stamp_last = 281 ----
last_value == in.value ---------------
enter key as last 300ms press, now continue ... ...
[40062.338559] sunxi:hdmirx:[ERR]: [error] hTotal mismatch, database:2750 current:4400!
[40062.347840] sunxi:hdmirx:[INFO]: [ info] HDMIRx_DisplayModuleCtx_GetMatchLevel: Fine match level is 0
[40062.358355] sunxi:hdmirx:[INFO]: [ info] HDMIRx_DisplayModuleCtx_GetSignalIndex: Matched best level = 0
[40062.686590] sunxi:hrc:[INFO]: get new signal from hdmirx id 0:
[40062.693123] sunxi:hrc:[INFO]: width: 4096, height: 2160, format: 0x0, depth: 0x0
[40062.701655] sunxi:hrc:[INFO]: color_space: 0x0, quantization: 0x1 interlaced: 0x0
[1970-01-01 11:07:45.974]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 11:07:45.974]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x1
[1970-01-01 11:07:45.975]<I> HRC-HAL : getSignalDump: >>>> signal_id: 2160P4096 <<<<
[1970-01-01 11:07:45.975]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 30000 <<<<
[1970-01-01 11:07:45.975]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: resolution change!
[1970-01-01 11:07:45.975]<I> HRC-DEV : getVideoTiming: width(4096) height(2160) fps(29)
Resolution Change!
[1970-01-01 11:07:45.975]<I> HDMIRX-API: hdmirx_audio_callback: start source_id 3
[1970-01-01 11:07:45.975]<I> HDMIRX-API: hdmirx_audio_callback: hdmirx_audio_callback signal valid 1 audio mute 0 dvi_mode 0
[1970-01-01 11:07:45.975]<I> HDMIRX-API: hdmirx_audio_callback: receive kMsgId_RES_CHANGE and id valid
[1970-01-01 11:07:45.975] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 11:07:45.975] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 11:07:45.988] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <startMonitoring:52>: startMonitoring begin
[1970-01-01 11:07:45.988] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <startMonitoring:65>: Monitoring: /dev/input/event3
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <startMonitoring:68>: startMonitoring end
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 129
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 0
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 11:07:45.991] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 11:07:45.992] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 11:07:45.992] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 1 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 11:07:45.992] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 11:07:45.992] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <adev_create_audio_patch:180>:
[1970-01-01 11:07:46.002] PID: 1556 TID: 1592 <I> AUDIO_ROUTE: <createAudioPatch:229>: end
[1970-01-01 11:07:46.002]<I> HDMIRX-API: hdmirx_audio_callback: end
[1970-01-01 11:07:46.008] PID: 1556 TID: 8983 <E> AUDIO_ROUTE: <openDevice:83>: setAudioRoute enable failed
[1970-01-01 11:07:46.008] PID: 1556 TID: 8983 <I> AUDIO_ROUTE: <operator():146>: srcPortConfig openDevice successfully
[1970-01-01 11:07:46.015] PID: 1558 TID: 1573 <I> : [amix_mod_server_recv 496] connect successfully, id:8
[1970-01-01 11:07:46.015] PID: 1558 TID: 8989 <D> : [amix_mod_server_cs_work 263]
[1970-01-01 11:07:46.015] PID: 1558 TID: 8989 <D> : [amix_mod_server_cs_work 316] AMIX_CS_STREAM_OPEN
[1970-01-01 11:07:46.015] PID: 1558 TID: 8989 <D> : [amix_mod_server_stream_add 72]
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [sfx_cs_get_stream_uid 38]
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [sfx_cs_get_stream_uid 44] stream_id 1
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <I> : [amix_mod_server_stream_add 98] io_id:65537, mix_id:1, stream_id:1
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [amix_mod_server_cs_work 340] period_size:960, period_count:4, channels:2 bit:16 shm_size:30720
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [amix_mod_server_link_create 151]
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [_amix_sem_posix_create 219]
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [amix_open_stream 181] bit:16, rate:48000, channels:2
[1970-01-01 11:07:46.016] PID: 1558 TID: 8989 <D> : [amix_open_stream 182] period_size:1024, period_count:4
[1970-01-01 11:07:46.017] PID: 1558 TID: 8989 <I> : [amix_mod_server_cs_work 360] open stream dev(OUT_SPK-0x10001) success
[1970-01-01 11:07:46.017] PID: 1556 TID: 8987 <I> AUDIO_ROUTE: <openDevice:76>: amix_dev_open succeed device_type OUT_SPK
[1970-01-01 11:07:46.023] PID: 1556 TID: 8987 <I> AUDIO_ROUTE: <operator():190>: dstPortConfig openDevice successfully
[1970-01-01 11:07:46.249] PID: 1556 TID: 8987 <I> AUDIO_ROUTE: <fade_in:390>: fade_in size 15360
[1970-01-01 11:07:46.502]<I> HRC-HAL : videoHandleSignalEvent: start, status: enable
[1970-01-01 11:07:46.502]<I> HRC-DEV : getVideoTiming: width(4096) height(2160) fps(29)
[1970-01-01 11:07:46.502]<I> HRC-VIDEO : setFormat: size(2048x2160) format(NV12) planes(1)
[1970-01-01 11:07:46.505]<I> HRC-VIDEO : getBufferDMABuf: buffer[0] [0] fd: 23 create
[1970-01-01 11:07:46.508]<I> HRC-VIDEO : getBufferDMABuf: buffer[1] [0] fd: 24 create
[1970-01-01 11:07:46.511]<I> HRC-VIDEO : getBufferDMABuf: buffer[2] [0] fd: 25 create
[1970-01-01 11:07:46.511]<I> HRC-HAL : videoHandleSignalEvent: >>>>>>> streamOn!!!
[1970-01-01 11:07:46.511]<I> HRC-HAL : videoHandleSignalEvent: end
[1970-01-01 11:07:46.511]<I> HRC-HAL : hdmiRxhandleEvent: endroot@TinaLinux:/# mtop
Bus Type is msi
iter: -1
dealy: 1.0
muint: 0
unit: KB
output:
total: 1294925, num: 1, Max: 1294925, Average: 1294925
totddr riscv_sys mahb_ddr dma_ddr ve_ddr ce_ddr hrc_ddr csi_ddr ksc_ddr g2d_ddr di_ddr de_ddr othddr
1294925 80231 0 390 0 0 196241 0 0 443920 0 574143 0
100.00 6.20 0.00 0.03 0.00 0.00 15.15 0.00 0.00 34.28 0.00 44.34 0.00
total: 2608668, num: 2, Max: 1313743, Average: 1304334
totddr riscv_sys mahb_ddr dma_ddr ve_ddr ce_ddr hrc_ddr csi_ddr ksc_ddr g2d_ddr di_ddr de_ddr othddr
1313743 115842 0 389 0 0 195521 0 0 429600 0 572391 0
100.00 8.82 0.00 0.03 0.00 0.00 14.88 0.00 0.00 32.70 0.00 43.57 0.00
total: 3867609, num: 3, Max: 1313743, Average: 1289203
totddr riscv_sys mahb_ddr dma_ddr ve_ddr ce_ddr hrc_ddr csi_ddr ksc_ddr g2d_ddr di_ddr de_ddr othddr
1258941 58813 0 389 0 0 195886 0 0 429600 0 574253 0
100.00 4.67 0.00 0.03 0.00 0.00 15.56 0.00 0.00 34.12 0.00 45.61 0.00
total: 5210752, num: 4, Max: 1343143, Average: 1302688
totddr riscv_sys mahb_ddr dma_ddr ve_ddr ce_ddr hrc_ddr csi_ddr ksc_ddr g2d_ddr di_ddr de_ddr othddr
1343143 146893 0 387 0 0 194845 0 0 429600 0 571418 0
100.00 10.94 0.00 0.03 0.00 0.00 14.51 0.00 0.00 31.98 0.00 42.54 0.00[1970-01-01 14:14:10] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:10] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:10] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:10] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(5.005)
[1970-01-01 14:14:10] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:11] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:11] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:11] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:11] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(6.006)
[1970-01-01 14:14:11] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:12] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:12] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:12] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:12] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(7.007)
[1970-01-01 14:14:12] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:13] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(8.008)
[1970-01-01 14:14:13] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:14] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(9.009)
[1970-01-01 14:14:14] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:15] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:15] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:15] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:15] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(10.010)
[1970-01-01 14:14:15] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:16] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:16] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:16] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:16] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:16] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(11.011)
[1970-01-01 14:14:17] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:17] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:17] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:17] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:17] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(12.012)
[1970-01-01 14:14:18] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:18] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:18] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:18] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:18] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(13.013)
[1970-01-01 14:14:19] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:19] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:19] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:19] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:19] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(14.014)
[1970-01-01 14:14:19] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:20] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:20] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:20] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:20] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(15.015)
[1970-01-01 14:14:20] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:21] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:21] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:21] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:21] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(16.016)
[1970-01-01 14:14:22] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:22] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:22] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:22] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:22] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(17.017)
[1970-01-01 14:14:22] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 14:14:23] WARNING: awplayer <MovReadSample:1977>: read finish
[1970-01-01 14:14:23] WARNING: awplayer <MovReadSample:1899>: return read finish
[1970-01-01 14:14:23] WARNING: awplayer <__CdxMovParserPrefetch:575>: Try to read sample failed! end of stream
[1970-01-01 14:14:23] WARNING: awplayer <callbackProcess:3367>: eos...
[1970-01-01 14:14:23] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: eos
[1970-01-01 14:14:23] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(18.018)
[1970-01-01 14:14:24] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: eos
[CallbackForTPlayer, 237]debug TPLAYER_NOTIFY_PLAYBACK_COMPLETE
[1970-01-01 14:14:24] DEBUG : awplayer <XPlayerStop:853>: stop
[1970-01-01 14:14:24] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:24] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: stop
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerCtrlHoldLastPicture:807>: LayerCtrlHoldLastPicture, bHold = 0
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerCtrlHideVideo:786>: __LayerCtrlHideVideo
[1970-01-01 14:14:24] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: stop
[1970-01-01 14:14:24] DEBUG : awplayer <PlayerStop:976>: ****** PlayerStop end
[1970-01-01 14:14:24] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: quit
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:565>: __LayerRelease,lc->mHoldLastPictureFlag = 0,lc->nGpuBufferCount = 4,lc->mTmpCurPicture.nWidth = 1920,lc->mTmpCurPicture.nHeight = 1088
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:581>: disable disp out port before release framebuffer
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:590>: free buf[0] :0x3fab541000
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:590>: free buf[1] :0x3faafc4000
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:590>: free buf[2] :0x3faacc7000
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerRelease:590>: free buf[3] :0x3faa724000
[1970-01-01 14:14:24] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: quit
[1970-01-01 14:14:24] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:24] DEBUG : awplayer <XPlayerThread:2598>: invalid reset() call, player in stopped status.
[1970-01-01 14:14:24] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:24] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:24] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:24] WARNING: awplayer <XPlayerDestroy:320>: XPlayerDestroy
[1970-01-01 14:14:24] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:24] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:24] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerDestroy:616>: __LayerDestroy
[1970-01-01 14:14:24] DEBUG : awplayer <__LayerDestroy:633>: init_mutex_count = 1
DEBUG : tsoundcontrol <TSoundDeviceDestroy:149>: TSoundDeviceDestroy, close sound device
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_[28472.734879] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 14:14:24] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 14:14:24] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 14:14:24.897] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 14:14:24.897] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 14:14:24.999] PID: 1294 TID: 24089 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fae553220, pUser: 0x3fabfcc720
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1456>: screen:w 1080, screen:h 1920
[1970-01-01 14:14:25] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 14:14:25] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fae553040, pUser: 0x3fabfcc720
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fabf45270
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:25] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:25] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:25] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/tmp/USB0//Sony_4K_HDR_Camp.mp4'
[1970-01-01 14:14:25] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 14:14:25] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 14:14:25] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 14:14:25] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///tmp/USB0//Sony_4K_HDR_Camp.mp4'
[1970-01-01 14:14:25] DEBUG : awplayer <__FileStreamConnect:425>: (22/0/1204810814) path:'file:///tmp/USB0//Sony_4K_HDR_Camp.mp4'
[1970-01-01 14:14:25] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mov'
[1970-01-01 14:14:25] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 14:14:25] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 1204810814, bSeekable = 1, duration = 127168, audioNum = 1, videoNum = 1, subtitleNum = 0
[1970-01-01 14:14:25] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x116, nWidth = 3840, nHeight = 2160, nFrameRate = 59940, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 14:14:25] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000
[1970-01-01 14:14:25] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 14:14:25] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 14:14:25] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:1080, s_h:1920
[1970-01-01 14:14:25] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 14:14:25] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
ERROR : cedarc <VideoEngineCreate:411>: overflow performance: the video we not support!
ERROR : cedarc <InitializeVideoDecoder:733>: create video engine fail.
[1970-01-01 14:14:25] ERROR : awplayer <VideoDecCompSetVideoStreamInfo:328>: VideoDecCompSetVideoStreamInfo fail
[1970-01-01 14:14:25] ERROR : awplayer <PlayerInitialVideo:4478>: video stream is not supported.
[CallbackForTPlayer, 259]error: erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
[CallbackForTPlayer, 277]error: error: media player status is error!
[1970-01-01 14:14:25] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: quit
[1970-01-01 14:14:25] WARNING: awplayer <initializePlayer:1614>: PlayerSetVideoStreamInfo() fail, video stream not supported.
[1970-01-01 14:14:25] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 14:14:25] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[tplayer_play_url, 475]error: error: open media source fail.
[1970-01-01 14:14:25] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:25] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:25] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:25] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: quit
[1970-01-01 14:14:25] DEBUG : awplayer <handleQuit:486>: audio render process quit message.
[1970-01-01 14:14:25] DEBUG : awplayer <handleQuit:489>: stop sound devide.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
[1970-01-01 14:14:25] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: quit
[1970-01-01 14:14:25] DEBUG : awplayer <AudioDecCompDestroy:361>: libadecoder.so close success......
[tplayer_stop, 549]error: not prepared!
[1970-01-01 14:14:28] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerStop:9[28475.876202] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
37>: ****** PlayerStop
[1970-01-01 14:14:28] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:28] WARNING: awplayer <XPlayerDestroy:320>: XPlayerDestroy
[1970-01-01 14:14:28] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:28] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:28] DEBUG : awplayer <__LayerDestroy:616>: __LayerDestroy
[1970-01-01 14:14:28] DEBUG : awplayer <__LayerDestroy:633>: init_mutex_count = 1
DEBUG : tsoundcontrol <TSoundDeviceDestroy:149>: TSoundDeviceDestroy, close sound device
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 14:14:28] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 14:14:28.134] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 14:14:28.134] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 14:14:28.139] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 14:14:28.139] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 14:14:28.140] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 14:14:28.140] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 14:14:28.140] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 14:14:28.140] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 14:14:28.140] PID: 1294 TID: 24108 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fae553220, pUser: 0x3fabfcc250
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1456>: screen:w 1080, screen:h 1920
[1970-01-01 14:14:28] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 14:14:28] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fae553040, pUser: 0x3fabfcc250
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fabf453f0
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:28] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:28] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/tmp/USB0//4K.mp4'
[1970-01-01 14:14:28] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 14:14:28] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 14:14:28] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 14:14:28] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///tmp/USB0//4K.mp4'
[1970-01-01 14:14:28] DEBUG : awplayer <__FileStreamConnect:425>: (22/0/493295519) path:'file:///tmp/USB0//4K.mp4'
[1970-01-01 14:14:28] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mov'
[1970-01-01 14:14:28] WARNING: awplayer <_MovParseStsd:1356>: unknown format tag: <0x31307661>
[1970-01-01 14:14:28] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 14:14:28] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 493295519, bSeekable = 1, duration = 382571, audioNum = 1, videoNum = 1, subtitleNum = 0
[1970-01-01 14:14:28] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x0, nWidth = 3840, nHeight = 2160, nFrameRate = 29970, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 14:14:28] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 44100
[1970-01-01 14:14:28] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 14:14:28] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:1080, s_h:1920
[1970-01-01 14:14:28] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 14:14:28] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:314>: disable afbc mode
ERROR : cedarc <InitializeVideoDecoder:553>: codec format(0x0) invalid.
[1970-01-01 14:14:28] ERROR : awplayer <VideoDecCompSetVideoStreamInfo:328>: VideoDecCompSetVideoStreamInfo fail
[1970-01-01 14:14:28] ERROR : awplayer <PlayerInitialVideo:4478>: video stream is not supported.
[CallbackForTPlayer, 259]error: erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
[CallbackForTPlayer, 277]error: error: media player status is error!
[1970-01-01 14:14:28] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: quit
[1970-01-01 14:14:28] WARNING: awplayer <initializePlayer:1614>: PlayerSetVideoStreamInfo() fail, video stream not supported.
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 14:14:28] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[tplayer_play_url, 475]error: error: open media source fail.
[1970-01-01 14:14:28] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:28] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:28] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:28] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: quit
[1970-01-01 14:14:28] DEBUG : awplayer <handleQuit:486>: audio render process quit message.
[1970-01-01 14:14:28] DEBUG : awplayer <handleQuit:489>: stop sound devide.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
[1970-01-01 14:14:28] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: quit
[1970-01-01 14:14:28] DEBUG : awplayer <AudioDecCompDestroy:361>: libadecoder.so close success......
[tplayer_stop, 549]error: not prepared!
[1970-01-01 14:14:30] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:30] DEBUG : awplayer <PlayerStop:9[28478.656980] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
37>: ****** PlayerStop
[1970-01-01 14:14:30] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:30] WARNING: awplayer <XPlayerDestroy:320>: XPlayerDestroy
[1970-01-01 14:14:30] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:30] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:30] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:30] DEBUG : awplayer <__LayerDestroy:616>: __LayerDestroy
[1970-01-01 14:14:30] DEBUG : awplayer <__LayerDestroy:633>: init_mutex_count = 1
DEBUG : tsoundcontrol <TSoundDeviceDestroy:149>: TSoundDeviceDestroy, close sound device
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 14:14:30] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 14:14:30.915] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 14:14:30.915] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 14:14:30.920] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 14:14:30.920] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 14:14:30.920] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 14:14:30.921] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 14:14:30.921] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 14:14:30.921] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 14:14:30.921] PID: 1294 TID: 24127 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fae553220, pUser: 0x3fabfcc560
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1456>: screen:w 1080, screen:h 1920
[1970-01-01 14:14:30] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 14:14:30] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fae553040, pUser: 0x3fabfcc560
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fabf45550
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:30] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:30] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:30] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:30] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/tmp/USB0//9de7c10c1e56d0be044e0edab0aeac87.mp4'
[1970-01-01 14:14:31] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 14:14:31] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 14:14:31] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 14:14:31] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 14:14:31] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///tmp/USB0//9de7c10c1e56d0be044e0edab0aeac87.mp4'
[1970-01-01 14:14:31] DEBUG : awplayer <__FileStreamConnect:425>: (22/0/76387987) path:'file:///tmp/USB0//9de7c10c1e56d0be044e0edab0aeac87.mp4'
[1970-01-01 14:14:31] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mov'
[1970-01-01 14:14:31] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 14:14:31] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 76387987, bSeekable = 1, duration = 11935, audioNum = 1, videoNum = 1, subtitleNum = 0
[1970-01-01 14:14:31] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 3840, nHeight = 2160, nFrameRate = 30000, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 14:14:31] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000
[1970-01-01 14:14:31] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 14:14:31] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 14:14:31] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:1080, s_h:1920
[1970-01-01 14:14:31] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 14:14:31] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
ERROR : cedarc <VideoEngineCreate:411>: overflow performance: the video we not support!
ERROR : cedarc <InitializeVideoDecoder:733>: create video engine fail.
[1970-01-01 14:14:31] ERROR : awplayer <VideoDecCompSetVideoStreamInfo:328>: VideoDecCompSetVideoStreamInfo fail
[1970-01-01 14:14:31] ERROR : awplayer <PlayerInitialVideo:4478>: video stream is not supported.
[CallbackForTPlayer, 259]error: erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
[CallbackForTPlayer, 277]error: error: media player status is error!
[1970-01-01 14:14:31] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: quit
[1970-01-01 14:14:31] WARNING: awplayer <initializePlayer:1614>: PlayerSetVideoStreamInfo() fail, video stream not supported.
[1970-01-01 14:14:31] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 14:14:31] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[tplayer_play_url, 475]error: error: open media source fail.
[1970-01-01 14:14:31] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:31] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:31] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:31] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: quit
[1970-01-01 14:14:31] DEBUG : awplayer <handleQuit:486>: audio render process quit message.
[1970-01-01 14:14:31] DEBUG : awplayer <handleQuit:489>: stop sound devide.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
[1970-01-01 14:14:31] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: quit
[1970-01-01 14:14:31] DEBUG : awplayer <AudioDecCompDestroy:361>: libadecoder.so close success......
[tplayer_stop, 549]error: not prepared!
[1970-01-01 14:14:33] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:33] DEBUG : awplayer <PlayerStop:9[28481.173021] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
37>: ****** PlayerStop
[1970-01-01 14:14:33] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:33] WARNING: awplayer <XPlayerDestroy:320>: XPlayerDestroy
[1970-01-01 14:14:33] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:33] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:33] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:33] DEBUG : awplayer <__LayerDestroy:616>: __LayerDestroy
[1970-01-01 14:14:33] DEBUG : awplayer <__LayerDestroy:633>: init_mutex_count = 1
DEBUG : tsoundcontrol <TSoundDeviceDestroy:149>: TSoundDeviceDestroy, close sound device
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 14:14:33] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 14:14:33.430] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 14:14:33.431] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 14:14:33.436] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 14:14:33.436] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 14:14:33.436] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 14:14:33.437] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 14:14:33.437] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 14:14:33.437] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 14:14:33.437] PID: 1294 TID: 24146 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fae553220, pUser: 0x3fabfcc410
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1456>: screen:w 1080, screen:h 1920
[1970-01-01 14:14:33] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 14:14:33] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fae553040, pUser: 0x3fabfcc410
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fabf45080
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 14:14:33] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 14:14:33] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 14:14:33] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/tmp/USB0//bhsj.mp4'
[1970-01-01 14:14:33] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 14:14:33] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 14:14:33] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 14:14:33] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///tmp/USB0//bhsj.mp4'
[1970-01-01 14:14:33] DEBUG : awplayer <__FileStreamConnect:425>: (22/0/893293065) path:'file:///tmp/USB0//bhsj.mp4'
[1970-01-01 14:14:33] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mov'
[1970-01-01 14:14:33] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 14:14:33] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 893293065, bSeekable = 1, duration = 5643306, audioNum = 1, videoNum = 1, subtitleNum = 0
[1970-01-01 14:14:33] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1280, nHeight = 720, nFrameRate = 24000, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 14:14:33] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000
[1970-01-01 14:14:33] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 14:14:33] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 14:14:33] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:1080, s_h:1920
[1970-01-01 14:14:33] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 14:14:33] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerResetNativeWindow:1206>: LayerResetNativeWindow : 0
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 259
[1970-01-01 14:14:34] DEBUG : awplayer <VideoRenderCompSetDeinterlace:371>: video render component setting deinterlace: 0x3fabfb6540
[1970-01-01 14:14:34] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 14:14:34] DEBUG : awplayer <PlayerConfigDropDelayFrame:1957>: VideoDecCompSetDropDelayFrames
[1970-01-01 14:14:34] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[1970-01-01 14:14:34] DEBUG : awplayer <XPlayerPrepareAsync:761>: prepareAsync
[1970-01-01 14:14:34] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
[1970-01-01 14:14:34] INFO : awplayer <XPlayerThread:2165>: xxxxxxxxxx video size: width = 1280, height = 720
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1280,height = 720
*****tplayer:video width = 1280,height = 720
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1280, height = 720
[CallbackForTPlayer, 231]debug TPLAYER_NOTIFY_PREPARED,has prepared.
[tplayer_play_url, 483]debug preparing...
[tplayer_play_url, 490]debug prepared ok
[1970-01-01 14:14:34] DEBUG : awplayer <XPlayerStart:811>: start
[1970-01-01 14:14:34] DEBUG : awplayer <XPlayerThread:2340>: process message XPLAYER_COMMAND_START.
[1970-01-01 14:14:34] DEBUG : awplayer <PlayerStart:786>: player start
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 261
[1970-01-01 14:14:34] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
[1970-01-01 14:14:34] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
(Allwinner Audio Middle Layer),line(972) : Create Decoder!!=====
[1970-01-01 14:14:34] DEBUG : awplayer <handleStart:1098>: Create libadecoder success...
(Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
(AllwinnerAlibs),line(43) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(700) : ----Loading so success!
(AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(904) : eSubCodecFormat :0
(AllwinnerAlibs),line(905) : nChannelNum :2
(AllwinnerAlibs),line(906) : nBitsPerSample :16
(AllwinnerAlibs),line(907) : nSampleRate :48000
(AllwinnerAlibs),line(908) : nAvgBitrate :0
(AllwinnerAlibs),line(909) : nMaxBitRate :0
(AllwinnerAlibs),line(910) : nFileSize :0
(AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(912) : eDataEncodeType :0
(AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fabfc5490
(AllwinnerAlibs),line(915) : nFlags :0
(AllwinnerAlibs),line(916) : nBlockAlign :0
(AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ******************
(AAC De[28482.117395] lv_projector: page allocation failure: order:4, mode:0xcc4(GFP_KERNEL|GFP_DMA32), nodemask=(null)
coder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
[lv_pro_res_movie_set_ratio, 938]error: not ready!
[1970-01-01 14:14:34] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
[1970-01-01 14:14:34] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
[1970-01-01 14:14:34] INFO : awplayer <handleStart:326>: audio render process start message.
[1970-01-01 14:14:34] DEBUG : awplayer <initSoundDevice:574>: init sound device.
[1970-01-01 14:14:34] DEBUG : awplayer <initSoundDevice:581>: set sound devide param, sample rate = 48000, channel num = 2.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDevice[28482.217142] CPU: 0 PID: 24153 Comm: lv_projector Not tainted 6.6.0 #122
[28482.224671] Hardware name: sun251iw1 (DT)
[28482.229133] Call Trace:
[28482.231855] [<ffffffff8000564c>] dump_backtrace+0x1c/0x24
[28482.237887] [<ffffffff805ceac8>] show_stack+0x2e/0x38
[28482.243531] [<ffffffff805df3c8>] dump_stack_lvl+0x22/0x32
[28482.249552] [<ffffffff805df3ec>] dump_stack+0x14/0x1c
[28482.255182] [<ffffffff8009e1e6>] warn_alloc+0xac/0x13e
[28482.260923] [<ffffffff8009e8b2>] __alloc_pages+0x622/0x686
[28482.267039] [<ffffffff8004895a>] __dma_direct_alloc_pages.constprop.0+0xf2/0x16e
[28482.275292] [<ffffffff80048b98>] dma_direct_alloc+0x130/0x202
[28482.281698] [<ffffffff80047e38>] dma_alloc_attrs+0x7e/0x8e
[28482.287812] [<ffffffff805835f6>] sunxi_pcm_preallocate_dma_buffer+0xc8/0x114
[28482.295669] [<ffffffff805837f8>] sunxi_pcm_open+0x7e/0x17c
[28482.301780] [<ffffffff805833fa>] sunxi_pcm_adpt_open+0xc/0x14
[28482.308204] [<ffffffff8038742c>] snd_soc_component_open+0x3a/0x40
[28482.315005] [<ffffffff803897b2>] __soc_pcm_open+0x90/0x294
[28482.321124] [<ffffffff803899da>] soc_pcm_open+0x24/0x3a
[28482.326950] [<ffffffff8037600c>] snd_pcm_open_substream+0x38e/0x540
[28482.333946] [<ffffffff80376264>] snd_pcm_open+0xa6/0x1a6
[28482.339869] [<ffffffff8037639e>] snd_pcm_playback_open+0x3a/0x60
[28482.346566] [<ffffffff80367d22>] snd_open+0x140/0x154
[28482.352197] [<ffffffff800b4ef4>] chrdev_open+0x120/0x14e
[28482.358123] [<ffffffff800ae602>] do_dentry_open+0x252/0x298
[28482.364338] [<ffffffff800af35e>] vfs_open+0x1e/0x26
[28482.369775] [<ffffffff800bd78c>] path_openat+0x6ae/0x6f2
[28482.375697] [<ffffffff800bd810>] do_filp_open+0x40/0x96
[28482.381520] [<ffffffff800af68c>] do_sys_openat2+0x5a/0xa8
[28482.387538] [<ffffffff800af7ba>] do_sys_open+0x3a/0x5c
[28482.393266] [<ffffffff800af822>] __riscv_sys_openat+0x1e/0x26
[28482.399671] [<ffffffff805df9bc>] do_trap_ecall_u+0x98/0xec
[28482.405787] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
SetFormat>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:2
[1970-01-01 14:14:34] DEBUG : demuxComponent <DemuxThread:2088>: process message DEMUX_COMMAND_START.
[1970-01-01 14:14:34] INFO : awplayer <fade_in:81>: fade_in size 7680
[1970-01-01[28482.430196] Mem-Info:
14:14:34] WARNING: awplayer <callbackProcess:3788>: message 0x40a not handled.
[1970-01-01 14:14:34] WARNING: awplayer <checkS[28482.437475] active_anon:17 inactive_anon:3970 isolated_anon:0
[28482.437475] active_file:15397 inactive_file:17005 isolated_file:0
[28482.437475] unevictable:0 dirty:2 writeback:0
[28482.437475] slab_reclaimable:2488 slab_unreclaimable:2715
[28482.437475] mapped:1212 shmem:2 pagetables:171
[28482.437475] sec_pagetables:0 bounce:0
[28482.437475] kernel_misc_reclaimable:0
[28482.437475] free:2000 free_pcp:6 free_cma:0
ampleRate:765>: sample rate change from 48000 to 48000.
[1970-01-01 14:14:34] WARNING: awplayer <checkSampleRate:767>: channel [28482.498894] Node 0 active_anon:68kB inactive_anon:15888kB active_file:61636kB inactive_file:68228kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:4848kB dirty:8kB writeback:0kB shmem:8kB writeback_tmp:0kB kernel_stack:1344kB pagetables:684kB sec_pagetables:0kB all_unreclaimable? no
num change from 2 to 2.
[1970-01-01 14:14:34] WARNING: awplayer <checkSampleRate:769>: bitPerSample num change from 16 to 16.
[1970-01-01 14:14:34] WARNING: awplayer <checkSampleRate:771>: if need direct out put flag change from 0 to 1.
[1970-01-01 14:1[28482.542040] DMA32 free:7216kB boost:0kB min:1652kB low:2064kB high:2476kB reserved_highatomic:4096KB active_anon:68kB inactive_anon:15900kB active_file:61668kB inactive_file:68596kB unevictable:0kB writepending:8kB present:262144kB managed:179388kB mlocked:0kB bounce:0kB free_pcp:148kB local_pcp:148kB free_cma:0kB
4:34] WARNING: awplayer <checkSampleRate:773>: data type change from 1 to 1.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSou[28482.587982] lowmem_reserve[]: 0 0 0
ndDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
DEBUG : tsoundco[28482.598982] DMA32: 428*4kB (UMH) 242*8kB (UMH) 23*16kB (UMH) 8*32kB (H) 10*64kB (H) 8*128kB (H) 3*256kB (H) 1*512kB (H) 0*1024kB 0*2048kB 0*4096kB = 7216kB
ntrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetForm[28482.632640] 32668 total pagecache pages
at,sc->sound_status == 2
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_n[28482.641230] 0 pages in swap cache
um:2,sc->bytes_per_sample:2
[1970-01-01 14:14:34] DEBUG : awplayer <startSoundDevice:806>: start sound device.
DEBUG : tsound[28482.659663] Free swap = 0kB
control <TSoundDeviceStart:221>: TSoundDeviceStart: sc->sound_status = 2
DEBUG : tsoundcontrol <openSoundDevice:44>: openSoundD[28482.673459] Total swap = 0kB
evice in default style
WARNING: cedarc <H264MallocBuffer:1587>: h264 scale down fbm buffer number need double check!
[1970-[28482.695027] 65536 pages RAM
01-01 14:14:34] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2111>: video buffer info: nWidth[736],nHeight[1280],nBufferCount[4],[28482.707076] 0 pages HighMem/MovableOnly
ePixelFormat[5]
[1970-01-01 14:14:34] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2114>: video buffer info: nAlignValue[32],bPr[28482.722780] 20689 pages reserved
ogressiveFlag[1],bIsSoftDecoderFlag[0]
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 257
[28482.733738] sunxi:sound-pcm:[ERR]: 262 sunxi_pcm_preallocate_dma_buffer(): dmaengine alloc coherent failed.
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1291>: get the fbm buf info
[1970-01-01 14:14:34] DEBUG : awplayer <__[28482.751202] sunxi:sound-pcm:[ERR]: 396 sunxi_pcm_open(): 0 pcm new failed, err=-12
LayerControl:1293>: fbmBufInfo->bProgressiveFlag = 1
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1303>: lc->mNumHol[28482.770063] sunxi-snd-plat-aaudio soc@3000000:codec_plat: ASoC: error at snd_soc_component_open on soc@3000000:codec_plat: -12
dByLayer = 2
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerSetDisplayPixelFormat:719>: Layer set expected pixel format, forma[28482.794051] sunxi-snd-plat-aaudio-sunxi-snd-codec: ASoC: error at __soc_pcm_open on sunxi-snd-plat-aaudio-sunxi-snd-codec: -12
t = 5
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerSetDisplayBufferSize:671>: __LayerSetDisplayBufferSize:width = 736,height = 1280
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerSetDisplayBufferCount:1179>: LayerSetBufferCount: count = 4
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 263
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1307>: get the fbm buf info
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1313>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:1194>: num hold by gpu is 2
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:248>: setLayerBuffer:Fmt(5),(736 1280, 0 x 0)
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:251>: Disp(736x1280)buf_cnt(4),ProFlag(0),SoftDecFlag(0)
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[0]:0x3faa76f000
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[1]:0x3faa616000
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[2]:0x3faa4bd000
[1970-01-01 14:14:34] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[3]:0x3faa364000
[1970-01-01 14:14:34] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 260
[1970-01-01 14:14:34] INFO : awplayer <callbackProcess:3629>: x[28482.928600] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
xxxxxxxxx video size : width = 720, height = 1280
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 720,height = 1280
*****tplayer:video width = 720,height = 1280
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 720, height = 1280
[1970-01-01 14:14:34] DEBUG : awplayer <LayerSetDisplayRect:1535>: Layer set display rect,(0 0, 1080x1920)
[1970-01-01 14:14:35.084] PID: 1294 TID: 24153 <E> AUDIO_ROUTE: <openDevice:41>: pcm_open drcPortConfig failed card:0 device 0 format 0x0 channels 2 rate 48000 ps 960 pc 4 start 1920 stop 3840 silence 0 error cannot open device '/dev/snd/pcmC0D0p': Out of memory
DEBUG : tsoundcontrol <TSoundDeviceStart:229>: open sound device fail
[1970-01-01 14:14:35] DEBUG : awplayer <startSoundDevice:808>: audio device start end
[1970-01-01 14:14:35] DEBUG : awplayer <CallbackProcess:3182>: first audio pts = 0
[CallbackForTPlayer, 382]debug warning: unknown callback from Tinaplayer.
[1970-01-01 14:14:35] DEBUG : awplayer <CallbackProcess:3055>: first video pts = 41666
[1970-01-01 14:14:35.223] PID: 1294 TID: 24153 <E> AUDIO_ROUTE: <getCachedTime:319>: failed to get htimestamp, frames = -1 error: cannot open device '/dev/snd/pcmC0D0p': Out of memory
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
[1970-01-01 14:14:35] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(0.042)
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
[1970-01-01 14:14:36] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(1.000)
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
[1970-01-01 14:14:37] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(2.000)
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
ERROR : tsoundcontrol <TSoundDeviceWrite:286>: TSoundDeviceWrite 286 sound_status 2
Caught signal 11
Program counter: 0x3fae04bd46
Stack pointer: 0x3fab65d5c8
[1970-01-01 14:14:38] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(3.000)
[1970-01-01 14:14:39] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(4.000)
[1970-01-01 14:14:40] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(5.000)
[1970-01-01 14:14:41] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(6.000)
Frame[0]: Address: 0x4, Unknown symbol
Frame[1]: Address: 0, Unknown symbol
Frame[2]: Address: 0, Unknown symbol
Frame[3]: Address: 0x3fae61f6c0, Symbol: Unknown, Library: /lib/ld-musl-riscv64.so.1, Offset: 0xa46c0
Frame[4]: Address: 0x2d31302d30373931, Unknown symbol
Frame[5]: Address: 0x34313a3431203130, Unknown symbol
Frame[6]: Address: 0x3332322e35333a, Unknown symbol
Frame[7]: Address: 0, Unknown symbol
Frame[8]: Address: 0x400019, Unknown symbol
Frame[9]: Address: 0x4000000000009, Unknown symbol
[1970-01-01 14:14:41.238]<I> HRC-HAL : hdmiSubdevThreadLoop: exit
[1970-01-01 14:14:41.238]<I> HRC-VIDEO : exit:
[1970-01-01 14:14:41.332]<I> HRC-VIDEO : hdmiVideoThreadLoop: exit
[1970-01-01 14:14:41.332]<I> HRC-DEV : exit:
[1970-01-01 14:14:41.332]<I> HDMIRX-HAL: ~HdmiCecHal: HDMI-CEC EventThread exit
terminate called without an active exception
root@TinaLinux:/#
root@TinaLinux:/#早上到办公室发现H135 5.5寸 1080x1920 机器app死了,但是shell可以用。
lcd_hbp = <260>;
lcd_ht = <2200>;
lcd_hspw = <20>;
lcd_vbp = <23>;
lcd_vt = <1125>;
lcd_vspw = <10>;

[8856]init dram ok
U-Boot 2018.07 (Jul 09 2025 - 09:40:22 +0000) Allwinner Technology
[12.018]DRAM: 256 MiB
[12.023]Relocation Offset is: 0ba4b000, reloc addr is: 4da4b000
[12.050]secure enable bit: 0
[12.055]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[12.062]sunxi flash map init
SPI ALL: ready
[12.088]init_clocks:finish
[12.091]flash init start
[12.093]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[mmc]: mmc driver ver uboot2018:2025-04-22 10:03:00
[mmc]: get sdc_type fail and use default host:tm4.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
[mmc]: Using default timing para
[mmc]: sunxi mmc pin set failed!
[12.130]error,card no error
[mmc]: MMC Device -1 not found
fail to find one useful mmc card2
try emmc fail
[12.148]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[12.154]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[12.201]sunxi-spinand-phy: request spi0 gpio ok
[12.205]sunxi-spinand-phy: request general tx dma channel ok!
[12.210]sunxi-spinand-phy: request general rx dma channel ok!
[12.216]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[12.220]sunxi-spinand-phy: init spic0 clk ok
[13.224]sunxi-spinand-phy: read id failed : -110
try nand fail
[14.685]spi sunxi_slave->max_hz:80000000
[15.714]Sample mode:1 start:0 end:58 right_sample_delay:0x1d
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[17.421][KSC_WRN]: /soc/ksc's compatible: allwinner,ksc110
[17.427][KSC_WRN]: match compatible: allwinner,ksc110
[17.436][KSC_INFO]: reg_base = 0x5300000
[17.444][KSC_WRN]: fdt_getprop_u32 /soc/ksc.tv_reg fail
[17.449][KSC_INFO]: reg_base = 0x0
[17.452][KSC_ERR]: unable to map tv display top registers
[17.476][KSC_WRN]: Get clk0_freq property failed
[17.484][KSC_WRN]: Get clk1_freq property failed
ksc_dev_init finsih
[17.514]request pwm success, pwm0:pwm0:0x2000c00.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[17.538]Loading Environment from SUNXI_FLASH... OK
[17.545]try to burn key
[17.549]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
[17.582]try sprite_led_gpio config
[17.586]sprite_led_gpio start
run usb efex
USB2.0 controller init !
delay time 2500
usb init ok
set address 0x19
set address 0x19 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=4
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0xf8000, max size = 0x200000
uboot size = 0xf8000
storage type = 3
toc last block :0x840, over write logical sector starts at block:0x860
stop toc downloaduboot突然烧不进去,跟踪发现是添加了几个lcd初始化代码导致uboot大小增加引起。
sunxi_efuse_get_rotpk_status 检查状态:
int sunxi_set_secure_mode(void)
{
int mode;
u8 hash[32] = {0},hash_tmp[32] = {0};
int hash_len = 0;
if ((gd->securemode == SUNXI_NORMAL_MODE) &&
(gd->bootfile_mode == SUNXI_BOOT_FILE_TOC)) {
mode = sid_probe_security_mode();
if (!mode) {
int ret = sunxi_efuse_get_rotpk_status();
if (ret == -1) {
//api not supported, try read rotpk directly
if (sunxi_efuse_read("rotpk", hash,
&hash_len)) {
printf("read puk hash fail\n");
return -1;
}
printf("read puk finished,len:%d\n", hash_len);
if (memcmp(hash, hash_tmp, sizeof(hash))) {
printf("puk hash not zero,fail\n");
return -1;
}
} else if (ret == 1) {
printf("puk burned,stop set secure mode!\n");
return -1;
}
#if defined(CONFIG_SUNXI_BURN_ROTPK_ON_SPRITE) || \
defined(CONFIG_SUNXI_ROTPK_BURN_ENABLE_BY_TOOL)
if (sunxi_burn_rotpk())
return -1;
#endif
if (sid_set_security_mode()) {
printf("burn secure bit fail\n");
return -1;
}
gd->bootfile_mode = SUNXI_BOOT_FILE_TOC;
printf("burn done, now secure bit is:%d\n",
sid_probe_security_mode());
} else {
printf("secure chip, don't repeat burn secure bit\n");
}
}
return 0;
}这里强行返回0成功:
/* Check whether the ROTPK is burned */
int sunxi_efuse_get_rotpk_status(void)
{
#ifndef SID_ROTPK_CTRL
EFUSE_DBG("Not implemented\n");
return -1;
#else
int burned;
uint32_t mask = (1 << SID_ROTPK_EFUSED_BIT);
burned = (readl(SID_ROTPK_CTRL) & mask) == mask;
EFUSE_DBG("ROTPK is %s burned\n", burned ? "already" : " NOT");
// return burned;
return 0;//强行返回成功
#endif
}secure bit efuse被写了,但是固件却没有适配成功:
FEX_CMD_fes_verify_value, start 0x20, size high 0x0:low 0x13800
FEX_CMD_fes_verify_value 0x71875741
FEX_CMD_fes_verify_value, start 0x120, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xb26124b5
FEX_CMD_fes_verify_value, start 0x220, size high 0x0:low 0x41c800
FEX_CMD_fes_verify_value 0xc19e7543
FEX_CMD_fes_verify_value, start 0x2320, size high 0x0:low 0x960000
FEX_CMD_fes_verify_value 0x1b804eb4
FEX_CMD_fes_verify_value, start 0x6f20, size high 0x0:low 0xb400
FEX_CMD_fes_verify_value 0x7e3d661e
bootfile_mode=1
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0x8, max size = 0x200000
sunxi sprite: toc magic is error
need secure image看来还得换芯片,麻烦大了!
build/pack :
function do_signature_toc0()
{
if [ -f sboot.bin ]; then
do_signature_sboot sboot.bin bak
mv sboot.bin sboot_bak.bin
fi
if [ -f sboot_sdcard.bin ]; then
if [ -f cardscript.fex ]; then
sed -i "s/TOC0_00000000000/TOC0_SDCARD00000/g" cardscript.fex
fi
do_signature_sboot sboot_sdcard.bin sdcard
fi
if [ -f sboot_nand.bin ]; then
do_signature_sboot sboot_nand.bin nand
fi
if [ -f sboot_ufs.bin ]; then
do_signature_sboot sboot_ufs.bin ufs
fi
if [ -f sboot_nor.bin ]; then
do_signature_sboot sboot_nor.bin nor
fi
mv sboot_bak.bin sboot.bin
mv toc0_bak.fex toc0.fex
mv toc0_bak toc0
}改为:
function do_signature_toc0()
{
if [ -f sboot.bin ]; then
do_signature_sboot sboot.bin bak
mv sboot.bin sboot_bak.bin
fi
if [ -f sboot_sdcard.bin ]; then
if [ -f cardscript.fex ]; then
sed -i "s/TOC0_00000000000/TOC0_SDCARD00000/g" cardscript.fex
fi
do_signature_sboot sboot_sdcard.bin sdcard
fi
if [ -f sboot_nand.bin ]; then
do_signature_sboot sboot_nand.bin nand
fi
if [ -f sboot_ufs.bin ]; then
do_signature_sboot sboot_ufs.bin ufs
fi
if [ -f sboot_nor_sun251iw1p1.bin ]; then
do_signature_sboot sboot_nor_sun251iw1p1.bin nor
cp toc0_nor.fex toc0.fex
fi
mv sboot_bak.bin sboot.bin
mv toc0_bak.fex toc0.fex
mv toc0_bak toc0
}[17]HELLO! BOOT0 is starting!
[20]BOOT0 commit : {c1773e96}
[23]set pll start
[25]set pll end
[26]board init ok
[28]rtc[7] value = 0x2
[30]spinor id is: ef 40 18, read cmd: 03
[35]ZQ value = 0x707
[37]get_pmu_exist() = -1
[39]DRAM BOOT DRIVE INFO: V1.00
[42]DRAM CLK = 672 MHz
[45]DRAM Type = 3 (2:DDR2,3:DDR3)
[48]DRAMC read ODT off.
[50]DRAM ODT off.
[53]trefi: 7.8us
[54]DRAM SIZE = 128 M
[58]DRAM simple test OK.
[60]dram size = 128
[62]key press : 2
[63]detected_r user input 2
[66]Failed preparing the second boot
[1070]fes begin commit:{c1773e96}
[1073]set pll start
[1075]set pll end
[1077]board init ok
[1079]beign to init dram
[1081]ZQ value = 0x707
[1083]get_pmu_exist() = -1
[1087][AUTO DEBUG] single rank and full DQ
[1092][AUTO DEBUG] rank 0 row = 13
[1095][AUTO DEBUG] rank 0 bank = 8
[1098][AUTO DEBUG] rank 0 page size = 2 KB
[1102]DRAM BOOT DRIVE INFO: V1.00
[1105]DRAM CLK = 672 MHz
[1108]DRAM Type = 3 (2:DDR2,3:DDR3)
[1111]DRAMC read ODT off.
[1113]DRAM ODT off.
[1116]trefi: 7.8us
[1118]DRAM SIZE = 128 M
[1122]DRAM simple test OK.
[1125]rtc[7] value = 0x2
[1127]init dram ok
U-Boot 2018.07 (Jul 09 2025 - 09:40:22 +0000) Allwinner Technology
[03.873]DRAM: 128 MiB
[03.877]Relocation Offset is: 0535e000, reloc addr is: 4735e000
[03.897]secure enable bit: 0
normal mode: download secure firmware
[03.905]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=336Mhz
[03.912]sunxi flash map init
SPI ALL: ready
[03.936]flash init start
[03.939]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[mmc]: mmc driver ver uboot2018:2025-04-22 10:03:00
[mmc]: get sdc_type fail and use default host:tm4.
[mmc]: Is not Boot mode!
[mmc]: SUNXI SDMMC Controller Version:0x50310
[mmc]: 200 MHz...
[mmc]: sample: 17 - 147(ps)
[mmc]: ds: 17 - 147(ps)
[mmc]: ************Try SD card 2************
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 8, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 55, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: ************Try MMC card 2************
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 1, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: Card did not respond to voltage select!
[mmc]: ************SD/MMC 2 init error!************
[mmc]: mmc init product failed
MMC init failed
try emmc fail
[04.066]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[04.071]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[04.117]sunxi-spinand-phy: request spi0 gpio ok
[04.121]sunxi-spinand-phy: request general tx dma channel ok!
[04.126]sunxi-spinand-phy: request general rx dma channel ok!
[04.132]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[04.136]sunxi-spinand-phy: init spic0 clk ok
[05.140]sunxi-spinand-phy: read id failed : -110
try nand fail
[06.626]spi sunxi_slave->max_hz:80000000
[07.650]Sample mode:1 start:0 end:55 right_sample_delay:0x1b
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[09.399]request pwm success, pwm7:pwm7:0x2000c00.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[09.423]Loading Environment from SUNXI_FLASH... OK
[09.430]try to burn key
[09.433]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
[09.465]try sprite_led_gpio config
[09.469]sprite_led_gpio start
run usb efex
USB2.0 controller init !
delay time 2500
usb init ok
set address 0x2f
set address 0x2f ok
set address 0x30
set address 0x30 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x0
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x20
part[0] lenlo :0x100
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x120
part[1] lenlo :0x100
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0x220
part[2] lenlo :0x2100
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x2320
part[3] lenlo :0x5000
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :Reserve0
part[4] classname :DISK
part[4] addrlo :0x7320
part[4] lenlo :0x100
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :rootfs_data
part[5] classname :DISK
part[5] addrlo :0x7420
part[5] lenlo :0x380
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x77a0
part[6] lenlo :0x0
part[6] user_type :0
part[6] keydata :0
part[6] ro :0
common1(partition3) need it, here is a weak func
total part: 8
mbr 0, 20, 8000
boot-resource 1, 100, 8000
env 2, 100, 8000
boot 3, 2100, 8000
rootfs 4, 5000, 8000
Reserve0 5, 100, 8000
rootfs_data 6, 380, 8000
UDISK 7, 0, 0
need erase flash: 0
[12.703]Item0 (Map) magic is bad
[12.706]the secure storage map is empty
[12.710]no item name set-active-boot-slot in the map
erase secure storage failed
no part need to protect user data
SUNXI_EFEX_MBR_TAG
mbr size = 0x4000
SF: write offset not multiple of erase size
write primary GPT success
spinor: skip backup GPT
[13.106]update partition map
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
FEX_CMD_fes_verify_value, start 0x20, size high 0x0:low 0x14000
FEX_CMD_fes_verify_value 0xe6f75b5c
FEX_CMD_fes_verify_value, start 0x120, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xb26124b5
FEX_CMD_fes_verify_value, start 0x220, size high 0x0:low 0x41d800
FEX_CMD_fes_verify_value 0xa23dcc4
FEX_CMD_fes_verify_value, start 0x2320, size high 0x0:low 0x980000
FEX_CMD_fes_verify_value 0x663b7894
FEX_CMD_fes_verify_value, start 0x7320, size high 0x0:low 0xb400
FEX_CMD_fes_verify_value 0x7e3d661e
bootfile_mode=1
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0xf8000, max size = 0x200000
uboot size = 0xf8000
storage type = 3
---> len = 1015808
---> sunxi_flashmap_offset(FLASHMAP_SPI_NOR, TOC1) = 128
---> sunxi_flashmap_logical_offset(FLASHMAP_SPI_NOR, LINUX_LOGIC_OFFSET) = 2272
---> sunxi_flashmap_size(FLASHMAP_SPI_NOR, SEC_STORAGE) = 64
---> len / 512 + sunxi_flashmap_offset(FLASHMAP_SPI_NOR, TOC1) = 2112
---> sunxi_flashmap_logical_offset(FLASHMAP_SPI_NOR, LINUX_LOGIC_OFFSET) - sunxi_flashmap_size(FLASHMAP_SPI_NOR, SEC_STORAGE) = 2208
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=1
SUNXI_EFEX_BOOT0_TAG
boot0 size = 0xc000
storage type = 3
---> sunxi_flashmap_offset(FLASHMAP_SPI_NOR, TOC1) = 128
---> sunxi_flashmap_size(FLASHMAP_SPI_NOR, BOOT_PARAM) = 8
---> (sunxi_flashmap_offset(FLASHMAP_SPI_NOR, TOC1) - sunxi_flashmap_size(FLASHMAP_SPI_NOR, BOOT_PARAM)) = 120
burn sboot ok, set secure bit
puk burned,stop set secure mode!SDK修改了N处,发现还是搞不定安全固件。
CONFIG_SUNXI_SPINOR=y
CONFIG_SPINOR_LOGICAL_OFFSET=2144
CONFIG_SPINOR_UBOOT_OFFSET=128
CONFIG_SPINOR_SECURE_STORAGE_SIZE=64
CONFIG_SPINOR_LOGICAL_SECURE_OFFSET=2144
CONFIG_SPINOR_UBOOT_SECURE_OFFSET=128CONFIG_SPINOR_UBOOT_OFFSET=128
这个是 boot0 的大小,64K空间
CONFIG_SPINOR_LOGICAL_OFFSET 这个是uboot的大小,
CONFIG_SPINOR_LOGICAL_OFFSET=2144的配置下,说明第0-127扇区用于存放boot0,第128-2144扇区用于存放uboot,从2144扇区开始存放mbr。所以此时我们可以计算得到uboot+boot0共使用2144扇区,即1008KB,加上16KB的mbr,共1.1MB。
2144*512 + 16*1024=0x110000
[ 1.866907] 8 sunxipart partitions found on MTD device spi0.0
[ 1.885415] Creating 8 MTD partitions on "spi0.0":
[ 1.904136] 0x000000000000-0x000000110000 : "uboot"
[ 1.915184] 0x000000110000-0x000000130000 : "boot-resource"
[ 1.987850] 0x000000130000-0x000000150000 : "env"
[ 2.008318] 0x000000150000-0x000000570000 : "boot"
[ 2.031683] 0x000000570000-0x000000f70000 : "rootfs"
[ 2.055585] 0x000000f70000-0x000000f90000 : "Reserve0"
[ 2.081057] 0x000000f90000-0x000001000000 : "rootfs_data"
[ 2.093121] 0x000001000000-0x000001000000 : "UDISK"root@TinaLinux:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00110000 00010000 "uboot"
mtd1: 00020000 00010000 "boot-resource"
mtd2: 00020000 00010000 "env"
mtd3: 00420000 00010000 "boot"
mtd4: 00a00000 00010000 "rootfs"
mtd5: 00020000 00010000 "Reserve0"
mtd6: 00070000 00010000 "rootfs_data"
mtd7: 00000000 00010000 "UDISK"------------------------------------
在小容量存储方案中,我们常常会关注各个分区在spinor中的排布,以此来保证极限使用情况下,烧录和启动过程正常。spinor我们的分布一般是:
0 1 2 3 4 5
boot0 uboot mbr linux rootfs …boot,rootfs…这些的容量大小在我们分区表sys_partition_nor.fex中体现,分区表中记录了flash上mbr之后的每一个分区排布,size的单位是扇区(即512B)。所以我们只要将分区表中每一个分区(size0+size1+size2+…)/2就可以获得单位为KB的占用容量。
对于一些8M的存储方案,我们会剪裁uboot,这时我们可以调整CONFIG_SPINOR_LOGICAL_OFFSET=992,即boot0+uboot+mbr=512KB 。uboot更改了CONFIG_SPINOR_LOGICAL_OFFSET后,内核driver/mtd/sunxipart.c中的偏移配置也要跟着修改。
如何确定uboot划分出来的偏移足够放下实际的镜像文件?放在上表“uboot”位置的镜像在外面编译打包后,会命名为boot_package_nor.fex,我们在out/image目录下可以找到这个文件,这个文件的大小需要小于我们uboot中划分的大小,以上文的数据为例,uboot可以使用的大小为第128-2015扇区,即(2015-128)*512=966144B 。
[00.730]usb prepare ok
[00.939]usb sof ok
[00.940]usb probe ok
[00.942]usb setup ok
set address 0x38
set address 0x38 ok
set address 0x39
set address 0x39 ok
try to update
[01.347]do_burn_from_boot usb : have no handshake
[01.352]begin auto update check
auto update key not press
skip update boot_param
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
[01.373]update part info
[01.376]update bootcmd
[01.384]change working_fdt 0x45320d88 to 0x45300d88
[01.391]DRM mem is not reserved
[01.396]## error: update_fdt_dram_para_from_bootpara : FDT_ERR_NOTFOUND
[01.407]update dts
Hit any key to stop autoboot: 0
[01.422]no vendor_boot partition is found
Android's image name: sun251i_riscv64
Detect comp lzma
ERROR: reserving fdt memory region failed (addr=47448000 size=384000)
[01.439]
Starting kernel ...
Unhandled exception: Illegal instruction
EPC: 0000000040000000 TVAL: 0000000001234567
### ERROR ### Please RESET the board ###不知道出啥情况,把 out/h136/ 目录删除又正常了。
生成密钥:
./build/createkeys打包安全固件:
./build.sh pack_secure还没烧rotpk.bin情况下,烧完安全固件后,这个熔丝位就启用了: secure enable bit: 1
一旦烧录安全固件成功,secure enable bit: 1,
那么以后只能烧安全固件,别的密钥生成的固件也可以,就是不能烧非安全固件。
# cat /sys/class/sunxi_info/sys_info
sunxi_platform : sun8iw20
sunxi_secure : secure(T-Coffer v2.0.0)
sunxi_rotpk : 0
sunxi_serial : 5c88158b014408210000ac0000000000
sunxi_chiptype : 00000000
sunxi_batchno : 0x18590003sunxi_secure 显示为 normal说明是非安全系统
sunxi_secure 显示为 secure说明是安全系统
sunxi_rotpk值,如果为1表明已经烧写,0未烧写
通过安全应用TA/NA获取
如果客户有开发TA/NA,可以参考optee-efuse-read中的实现,调用utee_sunxi_read_efuse来直接跳转到安全域读取efuse rotpk中的值。
如果读出来全0,表示没有烧录rotpk;如果读出来有值,表示有烧录rotpk。
下面是某方案通过efuse_read_demo_na程序读取rotpk的例子。
root@TinaLinux:/# tee-supplicant &
root@TinaLinux:/# efuse_read_demo_na rotpk
NA:init context
NA:open session
TA:creatyentry!
TA:open session!
NA:allocate memory
NA:invoke command
TA:rec cmd 0x210
read efuse:rotpk
read result:
0x90 0xfa 0x80 0xf1 0x54 0x49 0x51 0x2a
0x8a 0x04 0x23 0x97 0x06 0x6f 0x5f 0x78
0x0b 0x6c 0x8f 0x89 0x21 0x98 0xe8 0xd1
0xba 0xa4 0x2e 0xb6 0xce 0xd1 0x76 0xf3
NA:finish with 0
[17]HELLO! BOOT0 is starting!
[20]BOOT0 commit : {c1773e96}
[23]set pll start
[25]set pll end
[26]board init ok
[28]rtc[7] value = 0x2
[30]spinor id is: ef 40 18, read cmd: 03
[35]ZQ value = 0x707
[37]get_pmu_exist() = -1
[39]DRAM BOOT DRIVE INFO: V1.00
[42]DRAM CLK = 672 MHz
[45]DRAM Type = 3 (2:DDR2,3:DDR3)
[48]DRAMC read ODT off.
[50]DRAM ODT off.
[53]trefi: 7.8us
[54]DRAM SIZE = 128 M
[58]DRAM simple test OK.
[60]dram size = 128
[64]set spi freq:80000000
[67]spi sample_mode:1 sample_delay:1b
[71]spinor id is: ef 40 18, read cmd: 03
[75]Succeed in reading toc file head.
[78]The size of toc is f4000.
[191]Entry_name = opensbi
[194]Entry_name = u-boot
[198]Jump to OpenSBI: opensbi_base = 0x43e00000, dtb_base = 0x43e1f000, uboot_base = 0x42000000
OpenSBI v1.4 Commit 0f52bd2
U-Boot 2018.07 (Jul 09 2025 - 09:40:22 +0000) Allwinner Technology
[00.223]DRAM: 128 MiB
[00.225]Relocation Offset is: 05361000, reloc addr is: 47361000
[00.231]secure enable bit: 0
[00.234]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=336Mhz
SPI ALL: ready
[00.243]flash init start
[00.246]workmode = 0,storage type = 3
[00.252]spi sample_mode:1 sample_delay:1b
[00.256]spi sunxi_slave->max_hz:80000000
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.268]sunxi flash init ok
[00.270]drv_disp_init
[00.279]de wrn crc 1c2800
[00.308]drv_disp_init finish
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[00.325]Loading Environment from SUNXI_FLASH... OK
[00.346]boot_gui_init:start
** Unable to read file disp_rsl.fex **
lcd 630 init ...............................
[00.610]gd->relocaddr = 47448000 12000
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[00.641]LCD open finish
bad fb1_cfg[w=-1,h=-1,bpp=32,format=0]
[00.692]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.700]bmp_name=bootlogo.bmp size 38454
secure storage read hdcpkey fail
[00.714]secure storage read hdcpkey fail with:-1
[00.719]push hdcp key failed
[00.721]usb burn from boot
USB2.0 controller init !
delay time 0
[00.733]usb prepare ok
[00.941]usb sof ok
[00.943]usb probe ok
[00.945]usb setup ok
set address 0xa
set address 0xa ok
set address 0xb
set address 0xb ok
usb command = 0
malloc memory
usb command = 1
recv_size=404
call weak fun: sunxi_keybox_has_key
4546d800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d910: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d920: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4546d930: 18 b2 c4 00 80 c1 ca 00 e8 3d cb 00 00 00 00 00 .........=......
4546d940: 00 00 00 00 00 00 5a 00 02 00 00 00 00 00 00 00 ......Z.........
4546d950: 05 00 00 00 2c 32 f7 76 cc 24 42 76 fc 03 00 00 ....,2.v.$Bv....
4546d960: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4546d970: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4546d980: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4546d990: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4546d800: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4546d810: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d820: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d830: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d840: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d850: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d860: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d870: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d890: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d8f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d910: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4546d920: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4546d930: 18 b2 c4 00 80 c1 ca 00 e8 3d cb 00 00 00 00 00 .........=......
4546d940: 00 00 00 00 00 00 5a 00 02 00 00 00 00 00 00 00 ......Z.........
4546d950: 05 00 00 00 2c 32 f7 76 cc 24 42 76 fc 03 00 00 ....,2.v.$Bv....
4546d960: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4546d970: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4546d980: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4546d990: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[03.630]call weak func: smc_tee_check_hash
usb command = 9
[03.765]exit usb burn from boot
next work 2
▒......PDATE_NEXT_ACTION_REBOOT
build/createkeys
ubuntu@ubuntu:/opt/H135$ build/createkeys
All valid Sunxi ic:
0. f133-mx-hxx
1. h135
3. h136
5. h137
Please select a ic[h136]: 3
09-20 10:51:21.599 46737 D createkey : ready to create keys
09-20 10:51:21.601 46737 I createkey : SELECT_IC is h136
09-20 10:51:21.604 46737 I createkey : creating new key
09-20 10:51:21.605 46737 I createkey : use platform[h136] toc config to create keys
09-20 10:51:21.606 46737 I createkey : ++ toc cfg: /opt/H135/device/config/chips/h136/configs/default/dragon_toc.cfg
09-20 10:51:21.606 46737 I createkey : ++ key_out: /opt/H135/out/h136/common/keys
09-20 10:51:21.612 46737 I createkey : Use dragon_securetool
09-20 10:51:21.655 46737 D createkey : Generating RSA private key, 2048 bit long modulus (2 primes)
09-20 10:51:21.679 46737 D createkey : ......................+++++
09-20 10:51:21.770 46737 D createkey : .............................................................................................+++++
09-20 10:51:21.772 46737 D createkey : e is 65537 (0x010001)
09-20 10:51:21.775 46737 D createkey : writing RSA key
09-20 10:51:21.778 46737 D createkey : writing RSA key
09-20 10:51:21.780 46737 D createkey : Generating RSA private key, 2048 bit long modulus (2 primes)
09-20 10:51:21.794 46737 D createkey : .............+++++
09-20 10:51:21.903 46737 D createkey : ..............................................................................................................................+++++
09-20 10:51:21.904 46737 D createkey : e is 65537 (0x010001)
09-20 10:51:21.905 46737 D createkey : writing RSA key
09-20 10:51:21.908 46737 D createkey : writing RSA key
09-20 10:51:21.910 46737 D createkey : Generating RSA private key, 2048 bit long modulus (2 primes)
09-20 10:51:21.921 46737 D createkey : ...........+++++
09-20 10:51:21.957 46737 D createkey : .......................................+++++
09-20 10:51:21.958 46737 D createkey : e is 65537 (0x010001)
09-20 10:51:21.960 46737 D createkey : writing RSA key
09-20 10:51:21.963 46737 D createkey : writing RSA key
09-20 10:51:21.966 46737 D createkey : Generating RSA private key, 2048 bit long modulus (2 primes)
09-20 10:51:21.992 46737 D createkey : .......................+++++
09-20 10:51:22.026 46737 D createkey : ..................................+++++
09-20 10:51:22.028 46737 D createkey : e is 65537 (0x010001)
09-20 10:51:22.029 46737 D createkey : writing RSA key
09-20 10:51:22.032 46737 D createkey : writing RSA key
09-20 10:51:22.034 46737 D createkey : Generating RSA private key, 2048 bit long modulus (2 primes)
09-20 10:51:22.042 46737 D createkey : .....+++++
09-20 10:51:22.070 46737 D createkey : ..........................+++++
09-20 10:51:22.072 46737 D createkey : e is 65537 (0x010001)
09-20 10:51:22.074 46737 D createkey : writing RSA key
09-20 10:51:22.079 46737 D createkey : writing RSA key
09-20 10:51:22.083 46737 D createkey : create for RootKey_Level_0
09-20 10:51:22.085 46737 D createkey : create for RootKey_Level_0
09-20 10:51:22.087 46737 D createkey : create for TrustedFirmwareContentCertPK
09-20 10:51:22.089 46737 D createkey : create for NonTrustedFirmwareContentCertPK
09-20 10:51:22.091 46737 D createkey : create for NonTrustedFirmwareContentCertPK列出key文件:
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$ ls /opt/H135/out/h136/common/keys -l
total 52
-rw------- 1 ubuntu ubuntu 6216 Sep 20 10:51 NonTrustedFirmwareContentCertPK.bin
-rw------- 1 ubuntu ubuntu 1679 Sep 20 10:51 NonTrustedFirmwareContentCertPK.pem
-rw-rw-r-- 1 ubuntu ubuntu 451 Sep 20 10:51 NonTrustedFirmwareContentCertPK.pem.pub
-rw------- 1 ubuntu ubuntu 6209 Sep 20 10:51 RootKey_Level_0.bin
-rw------- 1 ubuntu ubuntu 1675 Sep 20 10:51 RootKey_Level_0.pem
-rw-rw-r-- 1 ubuntu ubuntu 451 Sep 20 10:51 RootKey_Level_0.pem.pub
-rw-rw-r-- 1 ubuntu ubuntu 32 Sep 20 10:51 rotpk.bin
-rw------- 1 ubuntu ubuntu 6209 Sep 20 10:51 TrustedFirmwareContentCertPK.bin
-rw------- 1 ubuntu ubuntu 1675 Sep 20 10:51 TrustedFirmwareContentCertPK.pem
-rw-rw-r-- 1 ubuntu ubuntu 451 Sep 20 10:51 TrustedFirmwareContentCertPK.pem.pub./build.sh pack_secure
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$ ./build.sh pack_secure
09-20 11:00:10.567 48895 D mkcommon : ========ACTION List: mk_pack -v secure;========
09-20 11:00:10.568 48895 D mkcommon : options :
09-20 11:00:10.569 48895 I mkcommon : packing firmware ...
09-20 11:00:10.794 48956 I pack : /opt/H135/out/h136/common/keys
09-20 11:00:11.598 48956 D pack : copying tools file
09-20 11:00:11.620 48956 D pack : copying configs file
09-20 11:00:11.690 48956 D pack : copying product configs file
09-20 11:00:11.694 48956 D pack : linux copying boardt&linux_kernel_version configs file
09-20 11:00:11.697 48956 D pack : Use u-boot env file: /opt/H135/device/config/chips/h136/configs/evb2/env.cfg
09-20 11:00:11.704 48956 D pack : /opt/H135/out/h136/evb2/pack_out/aultls32.fex
09-20 11:00:11.705 48956 D pack : /opt/H135/out/h136/evb2/pack_out/aultools.fex
09-20 11:00:11.706 48956 D pack : /opt/H135/out/h136/evb2/pack_out/boot_package.cfg
09-20 11:00:11.707 48956 D pack : /opt/H135/out/h136/evb2/pack_out/boot_package.fex
09-20 11:00:11.708 48956 D pack : /opt/H135/out/h136/evb2/pack_out/boot_package_nor.cfg
09-20 11:00:11.709 48956 D pack : /opt/H135/out/h136/evb2/pack_out/cardscript.fex
09-20 11:00:11.709 48956 D pack : /opt/H135/out/h136/evb2/pack_out/cardscript_secure.fex
09-20 11:00:11.710 48956 D pack : /opt/H135/out/h136/evb2/pack_out/cardtool.fex
09-20 11:00:11.711 48956 D pack : /opt/H135/out/h136/evb2/pack_out/diskfs.fex
09-20 11:00:11.712 48956 D pack : /opt/H135/out/h136/evb2/pack_out/dragon_toc.cfg
09-20 11:00:11.713 48956 D pack : /opt/H135/out/h136/evb2/pack_out/dragon_toc_nor.cfg
09-20 11:00:11.714 48956 D pack : /opt/H135/out/h136/evb2/pack_out/env.cfg
09-20 11:00:11.715 48956 D pack : /opt/H135/out/h136/evb2/pack_out/env_burn.cfg
09-20 11:00:11.717 48956 D pack : /opt/H135/out/h136/evb2/pack_out/esm.fex
09-20 11:00:11.718 48956 D pack : /opt/H135/out/h136/evb2/pack_out/image.cfg
09-20 11:00:11.719 48956 D pack : /opt/H135/out/h136/evb2/pack_out/image_crashdump.cfg
09-20 11:00:11.720 48956 D pack : /opt/H135/out/h136/evb2/pack_out/image_linux.cfg
09-20 11:00:11.721 48956 D pack : /opt/H135/out/h136/evb2/pack_out/image_nor.cfg
09-20 11:00:11.722 48956 D pack : /opt/H135/out/h136/evb2/pack_out/overlay.fex
09-20 11:00:11.723 48956 D pack : /opt/H135/out/h136/evb2/pack_out/split_xxxx.fex
09-20 11:00:11.724 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sunxi.fex
09-20 11:00:11.725 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sys_config.fex
09-20 11:00:11.726 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sys_partition.fex
09-20 11:00:11.727 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sys_partition_dump.fex
09-20 11:00:11.728 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sys_partition_nor.fex
09-20 11:00:11.729 48956 D pack : /opt/H135/out/h136/evb2/pack_out/sys_partition_private.fex
09-20 11:00:11.730 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc0.fex
09-20 11:00:11.731 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc0_ft.fex
09-20 11:00:11.733 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc0_nand.fex
09-20 11:00:11.734 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc0_sdcard.fex
09-20 11:00:11.735 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc0_ufs.fex
09-20 11:00:11.737 48956 D pack : /opt/H135/out/h136/evb2/pack_out/toc1.fex
09-20 11:00:11.738 48956 D pack : /opt/H135/out/h136/evb2/pack_out/usbtool.fex
09-20 11:00:11.739 48956 D pack : /opt/H135/out/h136/evb2/pack_out/usbtool_crash.fex
09-20 11:00:11.741 48956 D pack : /opt/H135/out/h136/evb2/pack_out/usbtool_test.fex
09-20 11:00:11.742 48956 D pack : copying boot resource
lzma: /opt/H135/out/h136/evb2/pack_out/bempty.bmp: No such file or directory
lzma: /opt/H135/out/h136/evb2/pack_out/battery_charge.bmp: No such file or directory
09-20 11:00:11.823 48956 D pack : copying boot file
09-20 11:00:11.966 48956 D pack : copying boot file 2.0
09-20 11:00:12.069 48956 I pack : Merge OpenSBI DTB
09-20 11:00:12.078 48956 D pack : dtb_offset = 0x1f000, dtb_file_size = 3735, dtb_section_size = 4096
09-20 11:00:12.082 48956 D pack : copying reserve file
09-20 11:00:12.096 48956 D pack : copying riscv64 secure boot file
09-20 11:00:12.097 48956 D pack : spl.dtb not exit!
cp: cannot stat '/opt/H135/out/h136/evb2/pack_out/sboot_nor.bin': No such file or directory
09-20 11:00:12.104 48956 D pack : copying additional files
09-20 11:00:12.113 48956 D pack : handle partition_size
09-20 11:00:12.311 48956 D pack : make user resource for : sys_partition_nor.fex
09-20 11:00:12.312 48956 D pack : handle partition user-res
09-20 11:00:12.315 48956 D pack : no user resource partitions
09-20 11:00:12.323 48956 D pack : APP_PART_DOWNLOAD_FILE = /opt/H135/out/h136/evb2/pack_out/app.fex
Need size of filesystem
09-20 11:00:12.333 48956 D pack : no data resource partitions
09-20 11:00:12.374 48956 D pack : add burn_secure_mode in target in sys config
mv: cannot stat 'u-boot-spinor-crash.fex': No such file or directory
09-20 11:00:12.484 48956 D pack : pack boot package
09-20 11:00:12.493 48956 D pack : content_count=2
09-20 11:00:12.502 48956 D pack : 1:LICHEE_REDUNDANT_ENV_SIZE:
09-20 11:00:12.656 48956 D pack : do not set LINUX_DTBO_FILE
09-20 11:00:12.658 48956 D pack : pack boot package
09-20 11:00:12.669 48956 D pack : content_count=2
09-20 11:00:12.670 48956 D pack : 2:LICHEE_REDUNDANT_ENV_SIZE:
09-20 11:00:12.728 50300 D mkkernel : verity not supported yet
09-20 11:00:12.733 48956 D pack : packing for linux
09-20 11:00:12.735 48956 D pack : do_fit_image
09-20 11:00:12.736 48956 D pack : create_kernel_fit_image
09-20 11:00:12.738 48956 E pack : can not found kernel.its
09-20 11:00:12.748 48956 D pack : secure
09-20 11:00:12.750 48956 D pack : prepare for signature by openssl
09-20 11:00:12.761 48956 D pack : recovery img is not exist, remove recovery cert from dragon_toc.cfg
09-20 11:00:12.764 48956 E pack : can not found ft bin
mv: cannot stat 'sboot_bak.bin': No such file or directory
mv: cannot stat 'toc0_bak.fex': No such file or directory
mv: cannot stat 'toc0_bak': No such file or directory
09-20 11:00:12.936 48956 E pack : can not found image_header_secure cfg
09-20 11:00:12.943 48956 E pack : can not found image_header_secure cfg
09-20 11:00:12.946 48956 D pack : secure signature ok!
09-20 11:00:12.967 48956 D pack : flashmap is enable
09-20 11:00:12.978 48956 D pack : get flashmap from /opt/H135/device/config/chips/h136/configs/evb2/uboot-board.dts
09-20 11:00:12.998 48956 D pack : flash size:16384, logic start:2144, uboot start:128
09-20 11:00:13.002 48956 D pack : commit : f7388902e9-dirty
09-20 11:00:13.003 48956 D pack : temp = 2144
09-20 11:00:13.004 48956 D pack : mbr count = 1 total_sectors = 14240 logic_offset = 0 media = 1
09-20 11:00:13.005 48956 D pack :
09-20 11:00:13.007 48956 D pack : partitation file Path=/opt/H135/out/h136/evb2/pack_out/sys_partition_nor.bin
09-20 11:00:13.010 48956 D pack : mbr_name file Path=/opt/H135/out/h136/evb2/pack_out/sunxi_mbr_nor.fex
09-20 11:00:13.012 48956 D pack : download_name file Path=/opt/H135/out/h136/evb2/pack_out/dlinfo.fex
09-20 11:00:13.015 48956 D pack :
09-20 11:00:13.016 48956 D pack : mbr size = 16
09-20 11:00:13.017 48956 D pack : mbr magic softw411
09-20 11:00:13.019 48956 D pack : disk name=boot-resource
09-20 11:00:13.021 48956 D pack : disk name=env
09-20 11:00:13.023 48956 D pack : disk name=boot
09-20 11:00:13.024 48956 D pack : disk name=rootfs
09-20 11:00:13.026 48956 D pack : disk name=Reserve0
09-20 11:00:13.027 48956 D pack : disk name=rootfs_data
09-20 11:00:13.029 48956 D pack : this is not a partition key
09-20 11:00:13.032 48956 D pack : update_for_part_info 0
09-20 11:00:13.034 48956 D pack : crc 0 = c1b5abfa
09-20 11:00:13.036 48956 D pack : MBR addr = 0x20,logic_offset = 0x0 GPT:boot-resource: 20 11f
09-20 11:00:13.038 48956 D pack : MBR addr = 0x120,logic_offset = 0x0 GPT:env : 120 21f
09-20 11:00:13.040 48956 D pack : MBR addr = 0x220,logic_offset = 0x0 GPT:boot : 220 231f
09-20 11:00:13.041 48956 D pack : MBR addr = 0x2320,logic_offset = 0x0 GPT:rootfs : 2320 731f
09-20 11:00:13.043 48956 D pack : MBR addr = 0x7320,logic_offset = 0x0 GPT:Reserve0 : 7320 741f
09-20 11:00:13.044 48956 D pack : MBR addr = 0x7420,logic_offset = 0x0 GPT:rootfs_data : 7420 779f
09-20 11:00:13.045 48956 D pack : MBR addr = 0x77a0,logic_offset = 0x0 GPT:UDISK : 77a0 379f
09-20 11:00:13.047 48956 D pack : gpt_head->header_crc32 = 0x44cc810b
09-20 11:00:13.049 48956 D pack : GPT----part num 7---
09-20 11:00:13.050 48956 D pack : gpt_entry: 128
09-20 11:00:13.052 48956 D pack : gpt_header: 92
09-20 11:00:13.054 48956 D pack : GPT:boot-resource: 20 11f
09-20 11:00:13.055 48956 D pack : GPT:env : 120 21f
09-20 11:00:13.056 48956 D pack : GPT:boot : 220 231f
09-20 11:00:13.058 48956 D pack : GPT:rootfs : 2320 731f
09-20 11:00:13.060 48956 D pack : GPT:Reserve0 : 7320 741f
09-20 11:00:13.063 48956 D pack : GPT:rootfs_data : 7420 779f
09-20 11:00:13.066 48956 D pack : GPT:UDISK : 77a0 379f
09-20 11:00:13.069 48956 D pack : update gpt file ok
09-20 11:00:13.071 48956 D pack : update mbr file ok
09-20 11:00:13.073 48956 D pack : ----------programmer nor image is full_img.fex ----------
09-20 11:00:13.154 48956 D pack : ====================================
09-20 11:00:13.155 48956 D pack : show sys_partition.fex message
09-20 11:00:13.180 48956 D pack : ------------------------------------
09-20 11:00:13.184 48956 D pack : [mbr]
09-20 11:00:13.193 48956 D pack : mbr_size : 16 Kbyte
09-20 11:00:13.195 48956 D pack : ------------------------------------
09-20 11:00:13.198 48956 D pack : partition_name : boot-resource
09-20 11:00:13.204 48956 D pack : partition_size : 256
09-20 11:00:13.209 48956 D pack : downloadfile : boot-resource.fex
09-20 11:00:13.224 48956 D pack : boot-resource.fex size : 80K byte
09-20 11:00:13.225 48956 D pack : ------------------------------------
09-20 11:00:13.226 48956 D pack : partition_name : env
09-20 11:00:13.232 48956 D pack : partition_size : 256
09-20 11:00:13.241 48956 D pack : downloadfile : env.fex
09-20 11:00:13.255 48956 D pack : env.fex size : 128K byte
09-20 11:00:13.258 48956 D pack : ------------------------------------
09-20 11:00:13.261 48956 D pack : partition_name : boot
09-20 11:00:13.271 48956 D pack : partition_size : 8448
09-20 11:00:13.280 48956 D pack : downloadfile : boot.fex
09-20 11:00:13.298 48956 D pack : boot.fex size : 4.2M byte
09-20 11:00:13.299 48956 D pack : ------------------------------------
09-20 11:00:13.301 48956 D pack : partition_name : rootfs
09-20 11:00:13.306 48956 D pack : partition_size : 20480
09-20 11:00:13.312 48956 D pack : downloadfile : rootfs_nor.fex
09-20 11:00:13.323 48956 D pack : rootfs_nor.fex -> /opt/H135/out/h136/evb2/openwrt/rootfs.img
09-20 11:00:13.331 48956 D pack : rootfs.img size : 10M byte
09-20 11:00:13.335 48956 D pack : ------------------------------------
09-20 11:00:13.338 48956 D pack : partition_name : Reserve0
09-20 11:00:13.344 48956 D pack : partition_size : 256
09-20 11:00:13.351 48956 D pack : downloadfile : Reserve0.fex
09-20 11:00:13.372 48956 D pack : Reserve0.fex size : 45K byte
09-20 11:00:13.373 48956 D pack : ------------------------------------
09-20 11:00:13.375 48956 D pack : partition_name : rootfs_data
09-20 11:00:13.380 48956 D pack : partition_size : 896
09-20 11:00:13.387 48956 D pack : ------------------------------------
09-20 11:00:13.494 48956 D pack : /opt/H135/tools/pack/pctools/linux/eDragonEx/
09-20 11:00:13.495 48956 D pack : /opt/H135/out/h136/evb2/pack_out
09-20 11:00:13.497 48956 D pack : Begin Parse sys_partion.fex
09-20 11:00:13.498 48956 D pack :
09-20 11:00:13.498 48956 D pack : AddPartion boot-resource.fex BOOT-RESOURCE_FEX
09-20 11:00:13.499 48956 D pack : AddPartion very boot-resource.fex BOOT-RESOURCE_FEX
09-20 11:00:13.500 48956 D pack : FilePath: boot-resource.fex
09-20 11:00:13.501 48956 D pack : FileLength=14000
09-20 11:00:13.502 48956 D pack : AddPartion env.fex ENV_FEX000000000
09-20 11:00:13.504 48956 D pack : AddPartion very env.fex ENV_FEX000000000
09-20 11:00:13.505 48956 D pack : FilePath: env.fex
09-20 11:00:13.506 48956 D pack : FileLength=20000
09-20 11:00:13.507 48956 D pack : AddPartion boot.fex BOOT_FEX00000000
09-20 11:00:13.508 48956 D pack : AddPartion very boot.fex BOOT_FEX00000000
09-20 11:00:13.509 48956 D pack : FilePath: boot.fex
09-20 11:00:13.510 48956 D pack : FileLength=41d800
09-20 11:00:13.511 48956 D pack : AddPartion rootfs_nor.fex ROOTFS_NOR_FEX00
09-20 11:00:13.512 48956 D pack : AddPartion very rootfs_nor.fex ROOTFS_NOR_FEX00
09-20 11:00:13.513 48956 D pack : FilePath: rootfs_nor.fex
09-20 11:00:13.514 48956 D pack : FileLength=a00000
09-20 11:00:13.515 48956 D pack : AddPartion Reserve0.fex RESERVE0_FEX0000
09-20 11:00:13.516 48956 D pack : AddPartion very Reserve0.fex RESERVE0_FEX0000
09-20 11:00:13.517 48956 D pack : FilePath: Reserve0.fex
09-20 11:00:13.518 48956 D pack : FileLength=b400
09-20 11:00:13.519 48956 D pack : BuildImg0
09-20 11:00:13.520 48956 D pack : Dragon execute image.cfg SUCCESS !
09-20 11:00:13.558 48956 D pack : ----------image is at----------
09-20 11:00:13.559 48956 I pack : 19M /opt/H135/out/h136_linux_evb2_uart0_secure_nor_v0.img
09-20 11:00:13.561 48956 D pack : pack finish烧录出错:
[1274]fes begin commit:{c1773e96}
[1277]set pll start
[1279]set pll end
[1280]board init ok
[1282]beign to init dram
[1284]ZQ value = 0x707
[1287]get_pmu_exist() = -1
[1290][AUTO DEBUG] single rank and full DQ
[1295][AUTO DEBUG] rank 0 row = 13
[1298][AUTO DEBUG] rank 0 bank = 8
[1302][AUTO DEBUG] rank 0 page size = 2 KB
[1306]DRAM BOOT DRIVE INFO: V1.00
[1309]DRAM CLK = 672 MHz
[1311]DRAM Type = 3 (2:DDR2,3:DDR3)
[1315]DRAMC read ODT off.
[1317]DRAM ODT off.
[1320]trefi: 7.8us
[1322]DRAM SIZE = 128 M
[1325]DRAM simple test OK.
[1328]rtc[2] value = 0xf
[1330]rtc[7] value = 0x2
[1333]init dram ok
U-Boot 2018.07 (Jul 09 2025 - 09:40:22 +0000) Allwinner Technology
[04.075]DRAM: 128 MiB
[04.079]Relocation Offset is: 0535e000, reloc addr is: 4735e000
[04.099]secure enable bit: 0
normal mode: download secure firmware
[04.107]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=336Mhz
[04.114]sunxi flash map init
SPI ALL: ready
[04.141]flash init start
[04.143]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[mmc]: mmc driver ver uboot2018:2025-04-22 10:03:00
[mmc]: get sdc_type fail and use default host:tm4.
[mmc]: Is not Boot mode!
[mmc]: SUNXI SDMMC Controller Version:0x50310
[mmc]: 200 MHz...
[mmc]: sample: 17 - 147(ps)
[mmc]: ds: 18 - 138(ps)
[mmc]: ************Try SD card 2************
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 8, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 55, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: ************Try MMC card 2************
[mmc]: mmc 2 cmd timeout 100 status 100
[mmc]: smc 2 err, cmd 1, RTO
[mmc]: mmc 2 close bus gating and reset
[mmc]: Card did not respond to voltage select!
[mmc]: ************SD/MMC 2 init error!************
[mmc]: mmc init product failed
MMC init failed
try emmc fail
[04.271]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[04.276]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[04.323]sunxi-spinand-phy: request spi0 gpio ok
[04.327]sunxi-spinand-phy: request general tx dma channel ok!
[04.332]sunxi-spinand-phy: request general rx dma channel ok!
[04.338]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[04.342]sunxi-spinand-phy: init spic0 clk ok
[05.346]sunxi-spinand-phy: read id failed : -110
try nand fail
[06.815]spi sunxi_slave->max_hz:80000000
[07.839]Sample mode:1 start:0 end:55 right_sample_delay:0x1b
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[09.310]request pwm success, pwm7:pwm7:0x2000c00.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[09.334]Loading Environment from SUNXI_FLASH... OK
[09.341]try to burn key
[09.345]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
[09.376]try sprite_led_gpio config
[09.381]sprite_led_gpio start
run usb efex
USB2.0 controller init !
delay time 2500
usb init ok
set address 0x21
set address 0x21 ok
set address 0x17
set address 0x17 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x20
part[0] lenlo :0x100
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x120
part[1] lenlo :0x100
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :boot
part[2] classname :DISK
part[2] addrlo :0x220
part[2] lenlo :0x2100
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfs
part[3] classname :DISK
part[3] addrlo :0x2320
part[3] lenlo :0x5000
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :Reserve0
part[4] classname :DISK
part[4] addrlo :0x7320
part[4] lenlo :0x100
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :rootfs_data
part[5] classname :DISK
part[5] addrlo :0x7420
part[5] lenlo :0x380
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x77a0
part[6] lenlo :0x0
part[6] user_type :0
part[6] keydata :0
part[6] ro :0
common1(partition3) need it, here is a weak func
total part: 8
mbr 0, 20, 8000
boot-resource 1, 100, 8000
env 2, 100, 8000
boot 3, 2100, 8000
rootfs 4, 5000, 8000
Reserve0 5, 100, 8000
rootfs_data 6, 380, 8000
UDISK 7, 0, 0
need erase flash: 18
The Chip Erase size is: 16M ...
[52.728]Item0 (Map) magic is bad
[52.731]the secure storage map is empty
[52.791]erase secure storage: 0 ok
SUNXI_EFEX_MBR_TAG
mbr size = 0x4000
SF: write offset not multiple of erase size
write primary GPT success
spinor: skip backup GPT
[52.820]update partition map
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
FEX_CMD_fes_verify_value, start 0x20, size high 0x0:low 0x14000
FEX_CMD_fes_verify_value 0xe6f75b5c
FEX_CMD_fes_verify_value, start 0x120, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0x64101ad5
FEX_CMD_fes_verify_value, start 0x220, size high 0x0:low 0x41d800
FEX_CMD_fes_verify_value 0x719ffc2
FEX_CMD_fes_verify_value, start 0x2320, size high 0x0:low 0xa00000
FEX_CMD_fes_verify_value 0xbe921c15
FEX_CMD_fes_verify_value, start 0x7320, size high 0x0:low 0xb400
FEX_CMD_fes_verify_value 0x7e3d661e
bootfile_mode=1
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0xf8000, max size = 0x200000
uboot size = 0xf8000
storage type = 3
toc last block :0x840, over write logical sector starts at block:0x860
stop toc download
sys_config.fex 添加 burn_key = 1:
[target]
....
burn_key = 1
......
[25]HELLO! BOOT0 is starting!
[28]BOOT0 commit : {244d2f76}
[31]set pll start
[33]set pll end
[34]board init ok
[36]spinor id is: ef 40 18, read cmd: 03
[41]ZQ value = 0x707
[43]get_pmu_exist() = -1
[46]DRAM BOOT DRIVE INFO: V1.12
[49]DRAM CLK = 600 MHz
[51]DRAM Type = 3 (2:DDR2,3:DDR3)
[54]DRAMC ZQ value: 0x3b3bfb
[56]DRAM ODT value: 0x40.
[60]trefi: 7.8us
[61]DRAM SIZE = 256 M
[65]DRAM simple test OK.
[67]dram size = 256
[71]set spi freq:80000000
[74]spi sample_mode:1 sample_delay:1d
[79]spinor id is: ef 40 18, read cmd: 03
[82]Succeed in reading toc file head.
[86]The size of toc is f4000.
[199]Entry_name = opensbi
[202]Entry_name = u-boot
[205]Jump to OpenSBI: opensbi_base = 0x43e00000, dtb_base = 0x43e1f000, uboot_base = 0x42000000
U-Boot 2018.07 (Jul 09 2025 - 09:40:22 +0000) Allwinner Technology
[00.230]DRAM: 256 MiB
[00.232]Relocation Offset is: 0d7df000, reloc addr is: 4f7df000
[00.239]secure enable bit: 0
[00.241]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
SPI ALL: ready
[00.251]flash init start
[00.253]workmode = 0,storage type = 3
[00.259]spi sample_mode:1 sample_delay:1d
[00.263]spi sunxi_slave->max_hz:80000000
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.275]sunxi flash init ok
[00.277]drv_disp_init
[00.286]de wrn crc 1c2800
[00.314]drv_disp_init finish
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[00.329]start_mode: 0
[00.331]start_type: 1
[00.336]Loading Environment from SUNXI_FLASH... OK
[00.356]boot_gui_init:start
** Unable to read file disp_rsl.fex **
lcd 630 init ...............................
[00.620]gd->relocaddr = 4f8c6000 7400
[00.641]LCD open finish
bad fb1_cfg[w=-1,h=-1,bpp=32,format=0]
[00.695]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.702]bmp_name=bootlogo.bmp size 38454
secure storage read hdcpkey fail
[00.717]secure storage read hdcpkey fail with:-1
[00.721]push hdcp key failed
[00.724]usb burn from boot
USB2.0 controller init !
delay time 0
[00.735]usb prepare ok
[00.944]usb sof ok
[00.946]usb probe ok
[00.948]usb setup ok
set address 0x30
set address 0x30 ok
set address 0x31
set address 0x31 ok
usb command = 0
malloc memory
usb command = 1
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[24.874]call weak func: smc_tee_check_hash
[24.885]sbi error is 18446744073709551611, value is 0
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[25.091]call weak func: smc_tee_check_hash
[25.101]sbi error is 18446744073709551611, value is 0
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[25.308]call weak func: smc_tee_check_hash
[25.318]sbi error is 18446744073709551611, value is 0
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[25.524]call weak func: smc_tee_check_hash
[25.535]sbi error is 18446744073709551611, value is 0
usb command = 2
recv_size=404
call weak fun: sunxi_keybox_has_key
4d8eb900: 6b 65 79 2d 67 72 6f 75 70 2d 64 62 00 00 00 00 key-group-db....
4d8eb910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb920: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb930: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb940: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb950: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb960: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb970: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb990: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eb9f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba10: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
4d8eba20: 72 6f 74 70 6b 00 00 00 64 00 00 00 28 00 00 00 rotpk...d...(...
4d8eba30: a0 28 45 0a 58 29 45 0a 60 aa 41 0c 00 00 00 00 .(E.X)E.`.A.....
4d8eba40: 00 00 00 00 00 00 23 01 02 00 00 00 0c 00 00 00 ......#.........
4d8eba50: 05 00 00 00 2c 32 f7 76 cc 24 42 76 d4 0b 00 00 ....,2.v.$Bv....
4d8eba60: 00 00 00 00 20 00 00 00 01 00 00 00 01 00 00 00 .... ...........
4d8eba70: 00 00 00 00 a7 f7 17 8d 86 b5 c0 d0 a5 f2 20 5e .............. ^
4d8eba80: 7e d8 39 3c 2d da f0 2f ab 03 0c 34 a1 7b ad 4a ~.9<-../...4.{.J
4d8eba90: a8 2c 6e e1 00 00 00 00 00 00 00 00 00 00 00 00 .,n.............
key_count=1
^^^^^^^^^^^^^^^^^^^
key index=0
key name=rotpk
key type=0
key len=32
key if_burn=1
key if_replace=1
key if_crypt=0
###################
offset=116
ready to burn rootkey
[25.741]call weak func: smc_tee_check_hash
[25.751]sbi error is 18446744073709551611, value is 0device/config/chips/h136/configs/evb2/uboot-board.dts
device/config/chips/h136/configs/evb2/linux-6.6-xuantie/board.dts
disp 节点原来值:
fb0_width = <0>;
fb0_height = <0>;
fb0_rot_used = <0>;
fb0_rot_degree = <0>; disp 节点修改:
fb0_width = <1280>;
fb0_height = <720>;
fb0_rot_used = <1>;
fb0_rot_degree = <1>;make kernel_menuconfig
或 ./build.sh menuconfig
开启 CONFIG_AW_DISP2_FB_HW_ROTATION_SUPPORT 即可通过g2d驱动 framebuffer 旋转,
也仅限 fb0 对应的 layer旋转,
其他申请的layer还是不会旋转。
H135/H136/H137 目前的g2d有cache的bug,导致旋转后有显示的bug,暂时建议不要使用。
H135 U盘刷 flash
uboot-board.dts
把 select_mode 改为 2,强制每次开机升级检查
&auto_update {
select_mode = <2>; /* 0:skip auto update; 1:always auto update; 2:detect by gpadc key */
gpadc_channel = <0>;
target_vol= <800>; /* target gpadc key voltage, Unit: mV */
deviation = <10>; /* deviation of target voltage, Unit: mV */
delay_ms = <100>; /* debounce delay time, Unit: ms */
next_work = <3>; /* 1:normal; 2:reboot; 3:shutdown; 4:fel; 5:boot */
};电脑插入U盘,只支持FAT32格式,
新建文件夹 update/
存两个文件:
update/auto_update.txt
update/update.img
# <- The command after '#' will be considered as a comment
sunxi_flash write update/update.img firmware
% <- All text & commands after '%' are invalid如果不改 dts 也可以通过开机一直按 sss 进入uboot命令行,输入:
fdt set /soc/auto_update select_mode <1>
auto_update_check 进行手动升级!
uboot 访问U盘:
=> usb start
starting USB...
USB0: start sunxi USB-DRD...
config usb clk ok
sunxi USB-DRD init ok...
USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1: start sunxi USB1-Host...
config usb clk ok
sunxi USB1-Host init ok...
USB EHCI 1.00
scanning bus 1 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> fatls usb 0:1
System Volume Information/
4211616876 4.Ice.Age.Continental.Drift.2012.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
update/
131 file(s), 2 dir(s)
=> fatls usb 0:1 update/
./
../
boot-resource/
Reserve0/
4128 .buildconfig
2 .serverlog
17309 .uboot.dtb.dts.tmp
17309 .uboot.dts
6 arisc.fex
178304 aultls32.fex显示 spi nor flash的分区数据:
=> fatls sunxi_flash 0:1
wavefile/
357443 font32.sft
1139220 bootlogo.bmp
bat/
344813 font24.sft
189966 fastbootlogo.bmp
512 magic.bin
6 file(s), 2 dir(s)在进行老化某个case的时候,为了避免遥控器影响到老化的结果,可以在终端使能或者恢复红外接收器。
1.进入到这个节点目录 cd /sys/class/sunxi_dump
2.关闭红外遥控使能指令:echo 0x7040000 0x72 > write; cat write
恢复红外遥控使能指令:echo 0x7040000 0x73 > write; cat write
root@TinaLinux:/# cd /sys/class/sunxi_dump
root@TinaLinux:/sys/class/sunxi_dump# echo 0x7040000 0x72 > write; cat write
reg to_write after_write
0x0000000007040000 0x00000072 0x00000072
root@TinaLinux:/sys/class/sunxi_dump#
root@TinaLinux:/sys/class/sunxi_dump#
root@TinaLinux:/sys/class/sunxi_dump# echo 0x7040000 0x73 > write; cat write
reg to_write after_write
0x0000000007040000 0x00000073 0x00000073
root@TinaLinux:/sys/class/sunxi_dump#
root@TinaLinux:/sys/class/sunxi_dump# H133 正常固件烧到这片新的W25N01也会出错:
[1047]fes begin commit:4f5e01ed0b
[1050]set pll start
[1056]periph0 has been enabled
[1059]set pll end
[1061][pmu]: bus read error
[1064]board init ok
[1066]beign to init dram
[1068]get_pmu_exist() = -1
[1071]ddr_efuse_type: 0x0
[1073]trefi:7.8ms
[1076][AUTO DEBUG] single rank and full DQ!
[1080]ddr_efuse_type: 0x0
[1082]trefi:7.8ms
[1085][AUTO DEBUG] rank 0 row = 15
[1088][AUTO DEBUG] rank 0 bank = 8
[1091][AUTO DEBUG] rank 0 page size = 2 KB
[1095]DRAM BOOT DRIVE INFO: V0.33
[1098]DRAM CLK = 792 MHz
[1101]DRAM Type = 3 (2:DDR2,3:DDR3)
[1104]DRAMC ZQ value: 0x7b7bfb
[1107]DRAM ODT value: 0x42.
[1110]ddr_efuse_type: 0x0
[1113]DRAM SIZE =512 M
[1115]dram_tpr4:0x0
[1117]PLL_DDR_CTRL_REG:0xf8004100
[1120]DRAM_CLK_REG:0xc0000000
[1123][TIMING DEBUG] MR2= 0x18
[1127]DRAM simple test OK.
[1129]rtc standby flag is 0x0, super standby flag is 0x0
[1135]init dram ok
U-Boot 2018.05-gaf00d2d-dirty (Feb 16 2023 - 11:35:33 +0000) Allwinner Technology
[03.610]CPU: Allwinner Family
[03.613]Model: sun8iw20
[03.615]DRAM: 512 MiB
[03.618]Relocation Offset is: 1ceb7000
[03.647]secure enable bit: 0
[03.650]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.656]gic: normal mode
[03.658]flash init start
[03.660]workmode = 16,storage type = 0
try card 0
set card number 0
get card number 0
[03.668][mmc]: mmc driver ver uboot2018:2021-08-26 16:30:00
[03.673][mmc]: get sdc_type fail and use default host:tm1.
[03.680][mmc]: can't find node "mmc0",will add new node
[03.684][mmc]: fdt err returned <no error>
[03.688][mmc]: Using default timing para
[03.692][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.706][mmc]: mmc 0 cmd timeout 100 status 100
[03.710][mmc]: smc 0 err, cmd 8, RTO
[03.713][mmc]: mmc 0 close bus gating and reset
[03.718][mmc]: mmc 0 cmd timeout 100 status 100
[03.722][mmc]: smc 0 err, cmd 55, RTO
[03.726][mmc]: mmc 0 close bus gating and reset
[03.734][mmc]: mmc 0 cmd timeout 100 status 100
[03.738][mmc]: smc 0 err, cmd 1, RTO
[03.742][mmc]: mmc 0 close bus gating and reset
[03.746][mmc]: Card did not respond to voltage select!
[03.751][mmc]: mmc_init: -95, time 54
[03.754][mmc]: mmc_init: mmc init fail, err -95
MMC init failed
try emmc fail
[03.762]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
[03.767]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
[03.775]sunxi-spinand-phy: request spi0 gpio ok
[03.779]sunxi-spinand-phy: request general tx dma channel ok!
[03.785]sunxi-spinand-phy: request general rx dma channel ok!
[03.790]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.795]sunxi-spinand-phy: init spic0 clk ok
sspi->base_addr = 0x4025000, the SPI control register:
[VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
[ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
[FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
[SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
[BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
[03.840]sunxi-spinand-phy: not detect any munufacture from id table
[03.846]sunxi-spinand-phy: get spi-nand Model from fdt fail
[03.851]sunxi-spinand-phy: get phy info from fdt fail
[03.856]sunxi-spinand-phy: not detect munufacture from fdt
[03.861]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.867]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.873]sunxi-spinand-phy: ========== arch info ==========
[03.878]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.884]sunxi-spinand-phy: Munufacture: Winbond
[03.889]sunxi-spinand-phy: DieCntPerChip: 1
[03.893]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.898]sunxi-spinand-phy: PageCntPerBlk: 64
[03.902]sunxi-spinand-phy: SectCntPerPage: 4
[03.907]sunxi-spinand-phy: OobSizePerPage: 64
[03.911]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.916]sunxi-spinand-phy: OperationOpt: 0x7
[03.920]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.925]sunxi-spinand-phy: EccFlag: 0x0
[03.930]sunxi-spinand-phy: EccType: 2
[03.934]sunxi-spinand-phy: EccProtectedType: 3
[03.939]sunxi-spinand-phy: ========================================
[03.944]sunxi-spinand-phy:
[03.947]sunxi-spinand-phy: ========== physical info ==========
[03.953]sunxi-spinand-phy: TotalSize: 128 M
[03.957]sunxi-spinand-phy: SectorSize: 512 B
[03.961]sunxi-spinand-phy: PageSize: 2 K
[03.965]sunxi-spinand-phy: BlockSize: 128 K
[03.969]sunxi-spinand-phy: OOBSize: 64 B
[03.973]sunxi-spinand-phy: ========================================
[03.979]sunxi-spinand-phy:
[03.982]sunxi-spinand-phy: ========== logical info ==========
[03.987]sunxi-spinand-phy: TotalSize: 128 M
[03.991]sunxi-spinand-phy: SectorSize: 512 B
[03.995]sunxi-spinand-phy: PageSize: 4 K
[03.999]sunxi-spinand-phy: BlockSize: 256 K
[04.004]sunxi-spinand-phy: OOBSize: 128 B
[04.008]sunxi-spinand-phy: ========================================
[04.014]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[04.018]sunxi-spinand-phy: block lock register: 0x00
[04.023]sunxi-spinand-phy: feature register: 0x19
[04.028]sunxi-spinand-phy: sunxi physic nand init end
[04.032]Loading Environment from SUNXI_FLASH... OK
[04.037]try to burn key
[04.039]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x33
set address 0x33 ok
set address 0x24
set address 0x24 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 9
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x1f8
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x3f0
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x5e8
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x7e0
part[3] lenlo :0x3138
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x3918
part[4] lenlo :0x162c8
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :rootfs_data
part[5] classname :DISK
part[5] addrlo :0x19be0
part[5] lenlo :0x2ad0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :private
part[6] classname :DISK
part[6] addrlo :0x1c6b0
part[6] lenlo :0x7e0
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0
part[7] name :recovery
part[7] classname :DISK
part[7] addrlo :0x1ce90
part[7] lenlo :0x80
part[7] user_type :32768
part[7] keydata :0
part[7] ro :0
part[8] name :UDISK
part[8] classname :DISK
part[8] addrlo :0x1cf10
part[8] lenlo :0x0
part[8] user_type :33024
part[8] keydata :0
part[8] ro :0
total part: 10
mbr 0, 1f8, 8000
boot-resource 1, 1f8, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 3138, 8000
rootfs 5, 162c8, 8000
rootfs_data 6, 2ad0, 8000
private 7, 7e0, 8000
recovery 8, 80, 8000
UDISK 9, 0, 8100
[07.349]erase blk 0 to blk 32
need erase flash: 18
[07.374]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[07.424]MTD info (4)
[07.426]pagesize: 0x1000
[07.428]blksize: 0x40000
[07.431]num offset bytes name
[07.434]0 0x00000000 0x00100000 boot0
[07.438]1 0x00100000 0x00300000 uboot
[07.441]2 0x00400000 0x00100000 secure_storage
[07.446]3 0x00500000 0x07b00000 sys
[07.449]ubi attach the last part of mtd device: NO.3
[07.524]ubi0: attaching mtd4
[07.631]ubi0: scanning is finished
[07.634]ubi0 error: ubi_read_volume_table: the layout volume was not found
[07.640]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -22
[07.647]UBI error: cannot attach mtd4
[07.650]UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)
[07.662]ubi part sys err !
[07.665]erase blk 0 to blk 32
[07.685]erase blk 40 to blk 1024
[08.474]sunxi-spinand: spinand secure storage ok for phy blk 32 and 33
[08.480]sunxi-spinand: secure storage blks have never used before
[08.486]sunxi-spinand: secure storage has no valid data on item 0
[08.492]Item0 (Map) magic is bad
[08.495]the secure storage map is empty
[08.563]sunxi-spinand: write secure storage itme 0 ok
[08.568]erase secure storage: 0 ok
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[08.616]MTD info (4)
[08.618]pagesize: 0x1000
[08.620]blksize: 0x40000
[08.623]num offset bytes name
[08.626]0 0x00000000 0x00100000 boot0
[08.630]1 0x00100000 0x00300000 uboot
[08.633]2 0x00400000 0x00100000 secure_storage
[08.638]3 0x00500000 0x07b00000 sys
[08.641]MBR info (unalign):
[08.644]partno addr sects type name
[08.649]0 0x00000000 0x000001f8 0x00000001 mbr
[08.653]1 0x000001f8 0x000001f8 0x00008000 boot-resource
[08.659]2 0x000003f0 0x000001f8 0x00008000 env
[08.664]3 0x000005e8 0x000001f8 0x00008000 env-redund
[08.669]4 0x000007e0 0x00003138 0x00008000 boot
[08.674]5 0x00003918 0x000162c8 0x00008000 rootfs
[08.679]6 0x00019be0 0x00002ad0 0x00008000 rootfs_data
[08.685]7 0x0001c6b0 0x000007e0 0x00008000 private
[08.690]8 0x0001ce90 0x00000080 0x00008000 recovery
[08.695]9 0x0001cf10 0x00000000 0x00008100 UDISK
[08.700]ubi attach the last part of mtd device: NO.3
[08.704]MBR info (align):
[08.707]partno addr sects type name
[08.712]0 0x00002800 0x000001f8 0x00000001 mbr
[08.716]1 0x000029f8 0x000001f8 0x00008000 boot-resource
[08.722]2 0x00002bf0 0x000001f8 0x00008000 env
[08.727]3 0x00002de8 0x000001f8 0x00008000 env-redund
[08.732]4 0x00002fe0 0x00003138 0x00008000 boot
[08.737]5 0x00006118 0x00016458 0x00008000 rootfs
[08.742]6 0x0001c570 0x00002b50 0x00008000 rootfs_data
[08.748]7 0x0001f0c0 0x000007e0 0x00008000 private
[08.753]8 0x0001f8a0 0x000001f8 0x00008000 recovery
[08.758]9 0x0001fa98 0x00000000 0x00008100 UDISK
[08.763]ubi attach the last part of mtd device: NO.3
[08.767]ubi attatch mtd, name: sys
[08.771]ubi0: attaching mtd4
[08.826]ubi0: scanning is finished
[08.829]ubi0: empty MTD device detected
[08.845]ubi0: attached mtd4 (name "sys", size 123 MiB)
[08.850]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[08.856]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[08.862]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[08.869]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[08.874]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[08.881]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
[08.888]ubi0: available PEBs: 468, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
Creating static volume mbr of size 258048
Creating dynamic volume boot-resource of size 258048
Creating dynamic volume env of size 258048
Creating dynamic volume env-redund of size 258048
Creating dynamic volume boot of size 6451200
Creating dynamic volume rootfs of size 46706688
Creating dynamic volume rootfs_data of size 5677056
Creating dynamic volume private of size 1032192
Creating dynamic volume recovery of size 258048
No size specified -> Using max size (59609088)
[09.801]reset last volume size to 0x1c6c8
Creating dynamic volume UDISK of size 59609088
[09.842]fill gap start: volume mbr sects 0x178
[09.913]ubi0 warning: ubi_io_read_vid_hdr: bad magic number at PEB 151: 55464d65 instead of 55424921
[09.922]Volume identifier header dump:
[09.925] magic 55464d65
[09.928] version 69
[09.930] vol_type 70
[09.932] copy_flag 68
[09.934] compat 68
[09.936] vol_id 1145324612
[09.938] lnum 1145324612
[09.941] data_size 1145566276
[09.944] used_ebs 1145324613
[09.946] data_pad 1145324612
[09.949] sqnum 4919131752989213789
[09.952] hdr_crc ec667f4c
[09.955]Volume identifier header hexdump:
[09.959]ubi0 warning: ubi_eba_read_leb: corrupted VID header at PEB 151, LEB 0:0
[09.966]ubi0 warning: ubi_volume_continue_write: volume 0 on UBI device 0 is corrupt
[09.973]fill gap end: volume mbr
[09.976]update partition map
[09.979]logical area info: 468 258048 last_lba: 235871
read from corrupted volume 0[09.990]mbr magic error: woftwtuu wanted softw411
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid GPT ***
read from corrupted volume 0[10.007]mbr magic error: woftwtuu wanted softw411
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
[10.048]fill gap start: volume boot-resource sects 0x158
[10.117]fill gap end: volume boot-resource
FEX_CMD_fes_verify_value, start 0x1f8, size high 0x0:low 0x14000
FEX_CMD_fes_verify_value 0xee7b20a0发现补焊之后OK:
[1067]fes begin commit:4f5e01ed0b
[1070]set pll start
[1076]periph0 has been enabled
[1079]set pll end
[1081][pmu]: bus read error
[1083]board init ok
[1085]beign to init dram
[1088]get_pmu_exist() = -1
[1090]ddr_efuse_type: 0x0
[1093]trefi:7.8ms
[1095][AUTO DEBUG] single rank and full DQ!
[1099]ddr_efuse_type: 0x0
[1101]trefi:7.8ms
[1104][AUTO DEBUG] rank 0 row = 15
[1107][AUTO DEBUG] rank 0 bank = 8
[1110][AUTO DEBUG] rank 0 page size = 2 KB
[1114]DRAM BOOT DRIVE INFO: V0.33
[1117]DRAM CLK = 792 MHz
[1119]DRAM Type = 3 (2:DDR2,3:DDR3)
[1123]DRAMC ZQ value: 0x7b7bfb
[1125]DRAM ODT value: 0x42.
[1128]ddr_efuse_type: 0x0
[1131]DRAM SIZE =512 M
[1133]dram_tpr4:0x0
[1135]PLL_DDR_CTRL_REG:0xf8004100
[1138]DRAM_CLK_REG:0xc0000000
[1141][TIMING DEBUG] MR2= 0x18
[1145]DRAM simple test OK.
[1148]rtc standby flag is 0x0, super standby flag is 0x0
[1153]init dram ok
U-Boot 2018.05-gaf00d2d-dirty (Feb 16 2023 - 11:35:33 +0000) Allwinner Technology
[03.638]CPU: Allwinner Family
[03.641]Model: sun8iw20
[03.643]DRAM: 512 MiB
[03.646]Relocation Offset is: 1ceb7000
[03.674]secure enable bit: 0
[03.677]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.683]gic: normal mode
[03.685]flash init start
[03.688]workmode = 16,storage type = 0
try card 0
set card number 0
get card number 0
[03.695][mmc]: mmc driver ver uboot2018:2021-08-26 16:30:00
[03.701][mmc]: get sdc_type fail and use default host:tm1.
[03.707][mmc]: can't find node "mmc0",will add new node
[03.712][mmc]: fdt err returned <no error>
[03.716][mmc]: Using default timing para
[03.719][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.733][mmc]: mmc 0 cmd timeout 100 status 100
[03.737][mmc]: smc 0 err, cmd 8, RTO
[03.741][mmc]: mmc 0 close bus gating and reset
[03.746][mmc]: mmc 0 cmd timeout 100 status 100
[03.750][mmc]: smc 0 err, cmd 55, RTO
[03.753][mmc]: mmc 0 close bus gating and reset
[03.762][mmc]: mmc 0 cmd timeout 100 status 100
[03.766][mmc]: smc 0 err, cmd 1, RTO
[03.769][mmc]: mmc 0 close bus gating and reset
[03.773][mmc]: Card did not respond to voltage select!
[03.778][mmc]: mmc_init: -95, time 54
[03.782][mmc]: mmc_init: mmc init fail, err -95
MMC init failed
try emmc fail
[03.789]sunxi-spinand: AW SPINand MTD Layer Version: 1.5 20200407
[03.795]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.9 20200306
[03.802]sunxi-spinand-phy: request spi0 gpio ok
[03.807]sunxi-spinand-phy: request general tx dma channel ok!
[03.812]sunxi-spinand-phy: request general rx dma channel ok!
[03.817]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.822]sunxi-spinand-phy: init spic0 clk ok
sspi->base_addr = 0x4025000, the SPI control register:
[VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
[ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
[FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
[SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
[BCC] 0x4025038 = 0x00000000, [DMA] 0x4025088 = 0x000000e5
[03.867]sunxi-spinand-phy: not detect any munufacture from id table
[03.874]sunxi-spinand-phy: get spi-nand Model from fdt fail
[03.879]sunxi-spinand-phy: get phy info from fdt fail
[03.884]sunxi-spinand-phy: not detect munufacture from fdt
[03.889]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.895]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.900]sunxi-spinand-phy: ========== arch info ==========
[03.906]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.911]sunxi-spinand-phy: Munufacture: Winbond
[03.916]sunxi-spinand-phy: DieCntPerChip: 1
[03.920]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.925]sunxi-spinand-phy: PageCntPerBlk: 64
[03.930]sunxi-spinand-phy: SectCntPerPage: 4
[03.934]sunxi-spinand-phy: OobSizePerPage: 64
[03.939]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.943]sunxi-spinand-phy: OperationOpt: 0x7
[03.948]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.952]sunxi-spinand-phy: EccFlag: 0x0
[03.957]sunxi-spinand-phy: EccType: 2
[03.962]sunxi-spinand-phy: EccProtectedType: 3
[03.966]sunxi-spinand-phy: ========================================
[03.972]sunxi-spinand-phy:
[03.974]sunxi-spinand-phy: ========== physical info ==========
[03.980]sunxi-spinand-phy: TotalSize: 128 M
[03.984]sunxi-spinand-phy: SectorSize: 512 B
[03.988]sunxi-spinand-phy: PageSize: 2 K
[03.992]sunxi-spinand-phy: BlockSize: 128 K
[03.996]sunxi-spinand-phy: OOBSize: 64 B
[04.001]sunxi-spinand-phy: ========================================
[04.006]sunxi-spinand-phy:
[04.009]sunxi-spinand-phy: ========== logical info ==========
[04.014]sunxi-spinand-phy: TotalSize: 128 M
[04.019]sunxi-spinand-phy: SectorSize: 512 B
[04.023]sunxi-spinand-phy: PageSize: 4 K
[04.027]sunxi-spinand-phy: BlockSize: 256 K
[04.031]sunxi-spinand-phy: OOBSize: 128 B
[04.035]sunxi-spinand-phy: ========================================
[04.041]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[04.046]sunxi-spinand-phy: block lock register: 0x00
[04.051]sunxi-spinand-phy: feature register: 0x19
[04.055]sunxi-spinand-phy: sunxi physic nand init end
[04.060]Loading Environment from SUNXI_FLASH... OK
[04.064]try to burn key
[04.067]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x32
set address 0x32 ok
set address 0x3a
set address 0x3a ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 9
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x1f8
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x3f0
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x5e8
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x7e0
part[3] lenlo :0x3138
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x3918
part[4] lenlo :0x162c8
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :rootfs_data
part[5] classname :DISK
part[5] addrlo :0x19be0
part[5] lenlo :0x2ad0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :private
part[6] classname :DISK
part[6] addrlo :0x1c6b0
part[6] lenlo :0x7e0
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0
part[7] name :recovery
part[7] classname :DISK
part[7] addrlo :0x1ce90
part[7] lenlo :0x80
part[7] user_type :32768
part[7] keydata :0
part[7] ro :0
part[8] name :UDISK
part[8] classname :DISK
part[8] addrlo :0x1cf10
part[8] lenlo :0x0
part[8] user_type :33024
part[8] keydata :0
part[8] ro :0
total part: 10
mbr 0, 1f8, 8000
boot-resource 1, 1f8, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 3138, 8000
rootfs 5, 162c8, 8000
rootfs_data 6, 2ad0, 8000
private 7, 7e0, 8000
recovery 8, 80, 8000
UDISK 9, 0, 8100
[07.322]erase blk 0 to blk 32
need erase flash: 18
[07.375]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[07.426]MTD info (4)
[07.428]pagesize: 0x1000
[07.430]blksize: 0x40000
[07.432]num offset bytes name
[07.436]0 0x00000000 0x00100000 boot0
[07.439]1 0x00100000 0x00300000 uboot
[07.443]2 0x00400000 0x00100000 secure_storage
[07.447]3 0x00500000 0x07b00000 sys
[07.451]ubi attach the last part of mtd device: NO.3
[07.511]ubi0: attaching mtd4
[07.573]ubi0: scanning is finished
[07.579]ubi0 warning: ubi_calculate_reserved: number of bad PEBs (212) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[07.595]ubi0: attached mtd4 (name "sys", size 123 MiB)
[07.600]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[07.606]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[07.612]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[07.619]ubi0: good PEBs: 280, bad PEBs: 212, corrupted PEBs: 0
[07.624]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
[07.631]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[07.638]ubi0: available PEBs: 0, total reserved PEBs: 280, PEBs reserved for bad PEB handling: 0
[07.647]erase blk 0 to blk 32
[07.667]erase blk 40 to blk 1024
[07.670]blk 40 is bad, skip to erase
[07.674]blk 42 is bad, skip to erase
[07.913]blk 298 is bad, skip to erase
[07.917]blk 300 is bad, skip to erase
[07.920]blk 302 is bad, skip to erase
[07.924]blk 304 is bad, skip to erase
[07.928]blk 306 is bad, skip to erase
[07.932]blk 308 is bad, skip to erase
[07.936]blk 310 is bad, skip to erase
[07.940]blk 312 is bad, skip to erase
[07.943]blk 314 is bad, skip to erase
[07.947]blk 316 is bad, skip to erase
[07.951]blk 318 is bad, skip to erase
[07.955]blk 320 is bad, skip to erase
[07.959]blk 322 is bad, skip to erase
[07.963]blk 324 is bad, skip to erase
[07.967]blk 326 is bad, skip to erase
[07.970]blk 328 is bad, skip to erase
[07.974]blk 330 is bad, skip to erase
[07.978]blk 332 is bad, skip to erase
[07.982]blk 334 is bad, skip to erase
[07.986]blk 336 is bad, skip to erase
[07.990]blk 338 is bad, skip to erase
[07.993]blk 340 is bad, skip to erase
[07.998]blk 343 is bad, skip to erase
[08.001]blk 344 is bad, skip to erase
[08.005]blk 346 is bad, skip to erase
[08.009]blk 348 is bad, skip to erase
[08.013]blk 350 is bad, skip to erase
[08.017]blk 353 is bad, skip to erase
[08.021]blk 355 is bad, skip to erase
[08.025]blk 357 is bad, skip to erase
[08.380]blk 664 is bad, skip to erase
[08.384]blk 666 is bad, skip to erase
[08.388]blk 668 is bad, skip to erase
[08.392]blk 670 is bad, skip to erase
[08.395]blk 672 is bad, skip to erase
[08.399]blk 674 is bad, skip to erase
[08.403]blk 676 is bad, skip to erase
[08.407]blk 678 is bad, skip to erase
[08.411]blk 680 is bad, skip to erase
[08.415]blk 682 is bad, skip to erase
[08.418]blk 684 is bad, skip to erase
[08.422]blk 686 is bad, skip to erase
[08.426]blk 688 is bad, skip to erase
[08.430]blk 690 is bad, skip to erase
[08.434]blk 692 is bad, skip to erase
[08.438]blk 694 is bad, skip to erase
[08.441]blk 696 is bad, skip to erase
[08.445]blk 698 is bad, skip to erase
[08.449]blk 700 is bad, skip to erase
[08.453]blk 702 is bad, skip to erase
[08.457]blk 704 is bad, skip to erase
[08.461]blk 706 is bad, skip to erase
[08.464]blk 708 is bad, skip to erase
[08.468]blk 710 is bad, skip to erase
[08.472]blk 712 is bad, skip to erase
[08.476]blk 714 is bad, skip to erase
[08.480]blk 716 is bad, skip to erase
[08.484]blk 718 is bad, skip to erase
[08.488]blk 720 is bad, skip to erase
[08.491]blk 722 is bad, skip to erase
[08.495]blk 724 is bad, skip to erase
[08.499]blk 726 is bad, skip to erase
[08.503]blk 728 is bad, skip to erase
[08.507]blk 730 is bad, skip to erase
[08.511]blk 732 is bad, skip to erase
[08.514]blk 734 is bad, skip to erase
[08.518]blk 736 is bad, skip to erase
[08.522]blk 738 is bad, skip to erase
[08.526]blk 740 is bad, skip to erase
[08.530]blk 742 is bad, skip to erase
[08.534]blk 744 is bad, skip to erase
[08.537]blk 746 is bad, skip to erase
[08.541]blk 748 is bad, skip to erase
[08.545]blk 750 is bad, skip to erase
[08.549]blk 752 is bad, skip to erase
[08.553]blk 754 is bad, skip to erase
[08.557]blk 756 is bad, skip to erase
[08.560]blk 758 is bad, skip to erase
[08.564]blk 760 is bad, skip to erase
[08.568]blk 762 is bad, skip to erase
[08.572]blk 764 is bad, skip to erase
[08.576]blk 766 is bad, skip to erase
[08.580]blk 768 is bad, skip to erase
[08.583]blk 770 is bad, skip to erase
[08.587]blk 772 is bad, skip to erase
[08.591]blk 774 is bad, skip to erase
[08.595]blk 776 is bad, skip to erase
[08.599]blk 778 is bad, skip to erase
[08.603]blk 780 is bad, skip to erase
[08.606]blk 782 is bad, skip to erase
[08.610]blk 784 is bad, skip to erase
[08.614]blk 786 is bad, skip to erase
[08.618]blk 788 is bad, skip to erase
[08.622]blk 790 is bad, skip to erase
[08.626]blk 792 is bad, skip to erase
[08.629]blk 794 is bad, skip to erase
[08.633]blk 796 is bad, skip to erase
[08.637]blk 798 is bad, skip to erase
[08.641]blk 800 is bad, skip to erase
[08.645]blk 802 is bad, skip to erase
[08.649]blk 804 is bad, skip to erase
[08.653]blk 806 is bad, skip to erase
[08.656]blk 808 is bad, skip to erase
[08.660]blk 810 is bad, skip to erase
[08.664]blk 812 is bad, skip to erase
[08.668]blk 814 is bad, skip to erase
[08.672]blk 816 is bad, skip to erase
[08.676]blk 818 is bad, skip to erase
[08.679]blk 820 is bad, skip to erase
[08.683]blk 822 is bad, skip to erase
[08.687]blk 824 is bad, skip to erase
[08.691]blk 826 is bad, skip to erase
[08.695]blk 828 is bad, skip to erase
[08.699]blk 830 is bad, skip to erase
[08.702]blk 832 is bad, skip to erase
[08.706]blk 834 is bad, skip to erase
[08.710]blk 836 is bad, skip to erase
[08.714]blk 838 is bad, skip to erase
[08.718]blk 840 is bad, skip to erase
[08.722]blk 842 is bad, skip to erase
[08.725]blk 844 is bad, skip to erase
[08.729]blk 846 is bad, skip to erase
[08.733]blk 848 is bad, skip to erase
[08.737]blk 850 is bad, skip to erase
[08.741]blk 852 is bad, skip to erase
[08.745]blk 854 is bad, skip to erase
[08.748]blk 856 is bad, skip to erase
[08.752]blk 858 is bad, skip to erase
[08.756]blk 860 is bad, skip to erase
[08.760]blk 862 is bad, skip to erase
[08.764]blk 864 is bad, skip to erase
[08.768]blk 866 is bad, skip to erase
[08.771]blk 868 is bad, skip to erase
[08.775]blk 870 is bad, skip to erase
[08.779]blk 872 is bad, skip to erase
[08.783]blk 874 is bad, skip to erase
[08.787]blk 876 is bad, skip to erase
[08.791]blk 878 is bad, skip to erase
[08.794]blk 880 is bad, skip to erase
[08.798]blk 882 is bad, skip to erase
[08.802]blk 884 is bad, skip to erase
[08.806]blk 886 is bad, skip to erase
[08.810]blk 888 is bad, skip to erase
[08.814]blk 890 is bad, skip to erase
[08.818]blk 892 is bad, skip to erase
[08.821]blk 894 is bad, skip to erase
[08.825]blk 896 is bad, skip to erase
[08.829]blk 898 is bad, skip to erase
[08.833]blk 900 is bad, skip to erase
[08.837]blk 902 is bad, skip to erase
[08.841]blk 904 is bad, skip to erase
[08.844]blk 906 is bad, skip to erase
[08.848]blk 908 is bad, skip to erase
[08.852]blk 910 is bad, skip to erase
[08.856]blk 912 is bad, skip to erase
[08.860]blk 914 is bad, skip to erase
[08.864]blk 916 is bad, skip to erase
[08.867]blk 918 is bad, skip to erase
[08.871]blk 920 is bad, skip to erase
[08.875]blk 922 is bad, skip to erase
[08.879]blk 924 is bad, skip to erase
[08.883]blk 926 is bad, skip to erase
[08.887]blk 928 is bad, skip to erase
[08.890]blk 930 is bad, skip to erase
[08.894]blk 932 is bad, skip to erase
[08.898]blk 934 is bad, skip to erase
[08.902]blk 936 is bad, skip to erase
[08.906]blk 938 is bad, skip to erase
[08.910]blk 940 is bad, skip to erase
[08.913]blk 942 is bad, skip to erase
[08.917]blk 944 is bad, skip to erase
[08.921]blk 946 is bad, skip to erase
[08.925]blk 948 is bad, skip to erase
[08.929]blk 950 is bad, skip to erase
[08.933]blk 952 is bad, skip to erase
[08.936]blk 954 is bad, skip to erase
[08.940]blk 956 is bad, skip to erase
[08.944]blk 958 is bad, skip to erase
[08.948]blk 960 is bad, skip to erase
[08.952]blk 962 is bad, skip to erase
[08.956]blk 964 is bad, skip to erase
[08.959]blk 966 is bad, skip to erase
[08.963]blk 968 is bad, skip to erase
[08.967]blk 970 is bad, skip to erase
[08.971]blk 972 is bad, skip to erase
[08.975]blk 974 is bad, skip to erase
[08.979]blk 976 is bad, skip to erase
[08.982]blk 978 is bad, skip to erase
[08.986]blk 980 is bad, skip to erase
[08.990]blk 982 is bad, skip to erase
[08.994]blk 984 is bad, skip to erase
[08.998]blk 986 is bad, skip to erase
[09.002]blk 988 is bad, skip to erase
[09.006]blk 990 is bad, skip to erase
[09.009]blk 992 is bad, skip to erase
[09.013]blk 994 is bad, skip to erase
[09.017]blk 996 is bad, skip to erase
[09.021]blk 998 is bad, skip to erase
[09.025]blk 1000 is bad, skip to erase
[09.029]blk 1002 is bad, skip to erase
[09.033]blk 1004 is bad, skip to erase
[09.036]blk 1006 is bad, skip to erase
[09.040]blk 1008 is bad, skip to erase
[09.044]blk 1010 is bad, skip to erase
[09.048]blk 1012 is bad, skip to erase
[09.052]blk 1014 is bad, skip to erase
[09.056]blk 1016 is bad, skip to erase
[09.060]blk 1018 is bad, skip to erase
[09.064]blk 1020 is bad, skip to erase
[09.068]blk 1022 is bad, skip to erase
[09.072]sunxi-spinand: spinand secure storage ok for phy blk 34 and 35
[09.079]Item0 (Map) magic is bad
[09.082]the secure storage map is empty
[09.148]sunxi-spinand: write secure storage itme 0 ok
[09.153]erase secure storage: 0 ok
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[09.201]MTD info (4)
[09.203]pagesize: 0x1000
[09.205]blksize: 0x40000
[09.207]num offset bytes name
[09.211]0 0x00000000 0x00100000 boot0
[09.215]1 0x00100000 0x00300000 uboot
[09.218]2 0x00400000 0x00100000 secure_storage
[09.223]3 0x00500000 0x07b00000 sys
[09.226]MBR info (unalign):
[09.229]partno addr sects type name
[09.233]0 0x00000000 0x000001f8 0x00000001 mbr
[09.238]1 0x000001f8 0x000001f8 0x00008000 boot-resource
[09.244]2 0x000003f0 0x000001f8 0x00008000 env
[09.249]3 0x000005e8 0x000001f8 0x00008000 env-redund
[09.254]4 0x000007e0 0x00003138 0x00008000 boot
[09.259]5 0x00003918 0x000162c8 0x00008000 rootfs
[09.264]6 0x00019be0 0x00002ad0 0x00008000 rootfs_data
[09.269]7 0x0001c6b0 0x000007e0 0x00008000 private
[09.274]8 0x0001ce90 0x00000080 0x00008000 recovery
[09.280]9 0x0001cf10 0x00000000 0x00008100 UDISK
[09.285]ubi attach the last part of mtd device: NO.3
[09.289]MBR info (align):
[09.292]partno addr sects type name
[09.296]0 0x00002800 0x000001f8 0x00000001 mbr
[09.301]1 0x000029f8 0x000001f8 0x00008000 boot-resource
[09.307]2 0x00002bf0 0x000001f8 0x00008000 env
[09.312]3 0x00002de8 0x000001f8 0x00008000 env-redund
[09.317]4 0x00002fe0 0x00003138 0x00008000 boot
[09.322]5 0x00006118 0x00016458 0x00008000 rootfs
[09.327]6 0x0001c570 0x00002b50 0x00008000 rootfs_data
[09.332]7 0x0001f0c0 0x000007e0 0x00008000 private
[09.337]8 0x0001f8a0 0x000001f8 0x00008000 recovery
[09.343]9 0x0001fa98 0x00000000 0x00008100 UDISK
[09.348]ubi attach the last part of mtd device: NO.3
[09.352]ubi attatch mtd, name: sys
[09.356]ubi0: detaching mtd4
[09.358]ubi0: mtd4 is detached
[09.361]ubi0: attaching mtd4
[09.394]ubi0: scanning is finished
[09.397]ubi0: empty MTD device detected
[09.413]ubi0 warning: ubi_calculate_reserved: number of bad PEBs (212) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[09.429]ubi0: attached mtd4 (name "sys", size 123 MiB)
[09.434]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[09.440]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[09.446]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[09.452]ubi0: good PEBs: 280, bad PEBs: 212, corrupted PEBs: 0
[09.458]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[09.464]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
[09.472]ubi0: available PEBs: 276, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
Creating static volume mbr of size 258048
Creating dynamic volume boot-resource of size 258048
Creating dynamic volume env of size 258048
Creating dynamic volume env-redund of size 258048
Creating dynamic volume boot of size 6451200
Creating dynamic volume rootfs of size 46706688
Creating dynamic volume rootfs_data of size 5677056
Creating dynamic volume private of size 1032192
Creating dynamic volume recovery of size 258048
No size specified -> Using max size (10063872)
[10.074]reset last volume size to 0x4cc8
Creating dynamic volume UDISK of size 10063872
[10.115]fill gap start: volume mbr sects 0x178
[10.201]fill gap end: volume mbr
[10.204]update partition map
[10.207]logical area info: 276 258048 last_lba: 139103
[10.215]logical area info: 276 258048 last_lba: 139103
[10.223]logical area info: 276 258048 last_lba: 139103
[10.232]logical area info: 276 258048 last_lba: 139103
[10.240]logical area info: 276 258048 last_lba: 139103
[10.248]logical area info: 276 258048 last_lba: 139103
[10.257]logical area info: 276 258048 last_lba: 139103
[10.265]logical area info: 276 258048 last_lba: 139103
[10.273]logical area info: 276 258048 last_lba: 139103
[10.281]logical area info: 276 258048 last_lba: 139103
[10.290]logical area info: 276 258048 last_lba: 139103
[10.298]logical area info: 276 258048 last_lba: 139103
[10.306]logical area info: 276 258048 last_lba: 139103
[10.314]logical area info: 276 258048 last_lba: 139103
[10.323]logical area info: 276 258048 last_lba: 139103
[10.331]logical area info: 276 258048 last_lba: 139103
[10.339]logical area info: 276 258048 last_lba: 139103
[10.347]logical area info: 276 258048 last_lba: 139103
[10.356]logical area info: 276 258048 last_lba: 139103
[10.364]logical area info: 276 258048 last_lba: 139103
[10.372]logical area info: 276 258048 last_lba: 139103
[10.380]logical area info: 276 258048 last_lba: 139103
[10.389]logical area info: 276 258048 last_lba: 139103
[10.397]logical area info: 276 258048 last_lba: 139103
[10.405]logical area info: 276 258048 last_lba: 139103
[10.413]logical area info: 276 258048 last_lba: 139103
[10.422]logical area info: 276 258048 last_lba: 139103
[10.430]logical area info: 276 258048 last_lba: 139103
[10.438]logical area info: 276 258048 last_lba: 139103
[10.447]logical area info: 276 258048 last_lba: 139103
[10.455]logical area info: 276 258048 last_lba: 139103
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
[10.488]fill gap start: volume boot-resource sects 0x158
[10.558]fill gap end: volume boot-resource
FEX_CMD_fes_verify_value, start 0x1f8, size high 0x0:low 0x14000
FEX_CMD_fes_verify_value 0xe6f75b5c
[10.598]fill gap start: volume env sects 0xf8
[10.666]fill gap end: volume env
FEX_CMD_fes_verify_value, start 0x3f0, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xc055ab92
[10.708]fill gap start: volume env-redund sects 0xf8
[10.777]fill gap end: volume env-redund
FEX_CMD_fes_verify_value, start 0x5e8, size high 0x0:low 0x20000
FEX_CMD_fes_verify_value 0xc055ab92
[11.794]fill gap start: volume boot sects 0xd34
[11.873]fill gap end: volume boot
FEX_CMD_fes_verify_value, start 0x7e0, size high 0x0:low 0x480800
FEX_CMD_fes_verify_value 0x189e88db
[15.630]fill gap start: volume rootfs sects 0xe4c8
[15.855]fill gap end: volume rootfs
FEX_CMD_fes_verify_value, start 0x3918, size high 0x0:low 0xfc0000
FEX_CMD_fes_verify_value 0x759a31f5
bootfile_mode=4
SUNXI_EFEX_BOOT1_TAG
boot1 size = 0x158000, max size = 0x200000
uboot size = 0x158000
storage type = 0
[16.799]uboot blk range [8-32)
[16.802]download uboot to block 8 (11 blocks) len 1376K
[17.071]download uboot to block 19 (11 blocks) len 1376K
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
bootfile_mode=4
SUNXI_EFEX_BOOT0_TAG
boot0 size = 0xb000
dram para[0] = 318
dram para[1] = 3
dram para[2] = 7b7bfb
dram para[3] = 1
dram para[4] = 10f2
dram para[5] = 2000000
dram para[6] = 1c70
dram para[7] = 42
dram para[8] = 18
dram para[9] = 0
dram para[10] = 4a2195
dram para[11] = 2423190
dram para[12] = 8b061
dram para[13] = b4787896
dram para[14] = 0
dram para[15] = 48484848
dram para[16] = 48
dram para[17] = 1621121e
dram para[18] = 0
dram para[19] = 0
dram para[20] = 0
dram para[21] = 460000
dram para[22] = 55
dram para[23] = b4096103
dram para[24] = 0
dram para[25] = 0
dram para[26] = 0
dram para[27] = 0
dram para[28] = 0
dram para[29] = 0
dram para[30] = 0
dram para[31] = 0
storage type = 0
[17.414]download boot0 to block 0 len 44K
[17.426]download boot0 to block 1 len 44K
[17.438]download boot0 to block 2 len 44K
[17.451]download boot0 to block 3 len 44K
[17.463]download boot0 to block 4 len 44K
[17.476]download boot0 to block 5 len 44K
[17.488]download boot0 to block 6 len 44K
[17.500]download boot0 to block 7 len 44K
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
sunxi_efex_next_action=2
exit usb
next work 2
▒[27]HELLO! BOOT0 is starting!T
[30]BOOT0 commit : 4f5e01ed0b
[33]set pll start
[39]periph0 has been enabled
[42]set pll end
[43][pmu]: bus read error
[45]board init ok
[47]get_pmu_exist() = -1
[50]DRAM BOOT DRIVE INFO: V0.33
[53]DRAM CLK = 792 MHz
[55]DRAM Type = 3 (2:DDR2,3:DDR3)
[58]DRAMC ZQ value: 0x7b7bfb
[61]DRAM ODT value: 0x42.
[63]ddr_efuse_type: 0x0
[66]DRAM SIZE =512 M
[68]dram_tpr4:0x0
[70]PLL_DDR_CTRL_REG:0xf8004100
[73]DRAM_CLK_REG:0xc0000000
[75][TIMING DEBUG] MR2= 0x18
[83]DRAM simple test OK.
[86]rtc standby flag is 0x0, super standby flag is 0x0
[91]dram size =512
[93]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[98]block from 8 to 32
[217]Check is correct.
[219]dma 0x2a4a8 int is not used yet
[223]dma 0x2a4a8 int is free, you do not need to free it again
[228]Entry_name = u-boot
[236]Entry_name = optee
[240]Entry_name = dtb
[243]Jump to second Boot.
M/TC: OP-TEE version: e9372c9c-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #2 Sat Mar 19 11:09:45 UTC 2022 arm
U-Boot 2018.05-gaf00d2d-dirty (Feb 16 2023 - 11:35:33 +0000) Allwinner Technology
[00.300]CPU: Allwinner Family
[00.303]Model: sun8iw20
[00.305]DRAM: 512 MiB
[00.308]Relocation Offset is: 1ceb7000
[00.336]secure enable bit: 0
E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND
[00.349]smc_tee_inform_fdt failed with: -65536[00.353]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.359]gic: sec monitor mode
[00.362]flash init start
[00.364]workmode = 0,storage type = 0
sspi->base_addr = 0x4025000, the SPI control register:
[VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184
[ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020
[FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002
[SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000
[BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5
[00.411]sunxi-spinand-phy: not detect any munufacture from id table
[00.417]sunxi-spinand-phy: get spi-nand Model from fdt fail
[00.422]sunxi-spinand-phy: get phy info from fdt fail
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.527]ubi0: attaching mtd4
[00.589]ubi0: scanning is finished
[00.595]ubi0: attached mtd4 (name "sys", size 123 MiB)
[00.600]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.606]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.612]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.619]ubi0: good PEBs: 280, bad PEBs: 212, corrupted PEBs: 0
[00.624]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
[00.631]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.638]ubi0: available PEBs: 0, total reserved PEBs: 280, PEBs reserved for bad PEB handling: 0
[00.647]sunxi flash init ok
[00.649]line:714 init_clocks
__clk_init: clk pll_periph0x2 already initialized
register fix_factor clk error
[00.660]drv_disp_init
request pwm success, pwm0:pwm0:0x2000c00.
[00.674]drv_disp_init finish
[00.677]boot_gui_init:start
[00.680]set disp.dev2_output_type fail. using defval=0
lcd 630 init ...............................
[00.941]set disp.fb0_width fail. using defval=0
[00.945]set disp.fb0_height fail. using defval=0
[00.949]boot_gui_init:finish
[00.962]LCD open finish
partno erro : can't find partition bootloader
54 bytes read in 1 ms (52.7 KiB/s)
[01.096]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 3 ms (12.2 MiB/s)
[01.230]Loading Environment from SUNXI_FLASH... OK
[01.252]Item0 (Map) magic is bad
[01.255]usb burn from boot
delay time 0
weak:otg_phy_config
[01.266]usb prepare ok
[01.472]usb sof ok
[01.474]usb probe ok
[01.476]usb setup ok
set address 0x2e
set address 0x2e ok
set address 0x8
set address 0x8 ok
try to update
[04.481]do_burn_from_boot usb : have no handshake
List file under ULI/factory
** Unrecognized filesystem type **
[04.502]update bootcmd
[04.515]change working_fdt 0x5be76e70 to 0x5be56e70
[04.536]update dts
Hit any key to stop autoboot: 0
[04.801]no vendor_boot partition is found
Android's image name: h133-sw118
[04.813]Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (ubuntu@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #24 SMP PREEMPT Wed Sep 3 03:04:20 UTC 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x5f800000
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s30796 r8192 d22452 u61440
[ 0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/sbin/init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:rootfs_data@ubi0_6:private@ubi0_7:recovery@ubi0_8:UDISK@ubi0_9: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-gaf00d2d-dirty(02/16/2023-11:35:33) mbr_offset=1032192 disp_reserve=3686400,0x5beef440 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=512
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 494624K/524288K available (7168K kernel code, 404K rwdata, 1880K rodata, 1024K init, 177K bss, 21472K reserved, 8192K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x25c/0x3dc with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008027] Switching to timer-based delay loop, resolution 41ns
[ 0.014229] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.024007] Console: colour dummy device 80x30
[ 0.028507] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.038868] pid_max: default: 32768 minimum: 301
[ 0.043644] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.050973] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.059384] CPU: Testing write buffer coherency: ok
[ 0.064647] /cpus/cpu@0 missing clock-frequency property
[ 0.069985] /cpus/cpu@1 missing clock-frequency property
[ 0.075340] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081625] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.088327] rcu: Hierarchical SRCU implementation.
[ 0.093598] smp: Bringing up secondary CPUs ...
[ 0.099393] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.099550] smp: Brought up 1 node, 2 CPUs
[ 0.109377] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.115566] CPU: All CPU(s) started in SVC mode.
[ 0.120773] devtmpfs: initialized
[ 0.136627] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.144837] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.154710] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.161994] pinctrl core: initialized pinctrl subsystem
[ 0.168570] NET: Registered protocol family 16
[ 0.174818] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.218609] rtc_ccu: sunxi ccu init OK
[ 0.224980] ccu: sunxi ccu init OK
[ 0.228897] r_ccu: sunxi ccu init OK
[ 0.285501] iommu: Default domain type: Translated
[ 0.290624] sunxi iommu: irq = 24
[ 0.295519] SCSI subsystem initialized
[ 0.299745] usbcore: registered new interface driver usbfs
[ 0.305601] usbcore: registered new interface driver hub
[ 0.311056] usbcore: registered new device driver usb
[ 0.316879] mc: Linux media interface: v0.10
[ 0.321248] videodev: Linux video capture interface: v2.00
[ 0.327958] Advanced Linux Sound Architecture Driver Initialized.
[ 0.334759] Bluetooth: Core ver 2.22
[ 0.338489] NET: Registered protocol family 31
[ 0.342937] Bluetooth: HCI device and connection manager initialized
[ 0.349356] Bluetooth: HCI socket layer initialized
[ 0.354249] Bluetooth: L2CAP socket layer initialized
[ 0.359363] Bluetooth: SCO socket layer initialized
[ 0.364537] pwm module init!
[ 0.368901] g2d 5410000.g2d: Adding to iommu group 0
[ 0.374420] G2D: rcq version initialized.major:250
[ 0.379930] input: sunxi-keyboard as /devices/virtual/input/input0
[ 0.387669] clocksource: Switched to clocksource arch_sys_counter
[ 0.403174] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.424423] NET: Registered protocol family 2
[ 0.429456] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.437858] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.445656] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.452865] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.459339] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.465901] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.473117] NET: Registered protocol family 1
[ 0.478591] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.489026] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.495812] sunxi_spi_resource_get()2158 - [spi0] SPI MASTER MODE
[ 0.501997] sunxi_spi_resource_get()2196 - Failed to get sample mode
[ 0.508398] sunxi_spi_resource_get()2201 - Failed to get sample delay
[ 0.514849] sunxi_spi_resource_get()2205 - sample_mode:-1431633921 sample_delay:-1431633921
[ 0.523261] sunxi_spi_clk_init()2247 - [spi0] mclk 100000000
[ 0.529757] sunxi_spi_probe()2660 - [spi0]: driver probe succeed, base e0821000, irq 40
[ 0.539699] Initialise system trusted keyrings
[ 0.544375] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.560350] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.566418] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.600551] Key type asymmetric registered
[ 0.604668] Asymmetric key parser 'x509' registered
[ 0.609590] io scheduler mq-deadline registered
[ 0.614126] io scheduler kyber registered
[ 0.618248] atomic64_test: passed
[ 0.623297] [DISP]disp_module_init
[ 0.627265] disp 5000000.disp: Adding to iommu group 0
[ 0.633060] [DISP] parser_disp_init_para,line:1429:
[ 0.633064] of_property_read fb0_width fail
[ 0.642179] [DISP] disp_init,line:2385:
[ 0.642184] smooth display screen:0 type:1 mode:4
[ 0.667152] display_fb_request,fb_id:0
[ 0.675868] disp_al_manager_apply ouput_type:1
[ 0.678509] [DISP]disp_module_init finish
[ 0.680637] [DISP] lcd_clk_config,line:731:
[ 0.680649] disp 0, clk: pll(408000000),clk(408000000),dclk(68000000) dsi_rate(68000000)
[ 0.680649] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 0.685435] sunxi_sid_init()551 - insmod ok
[ 0.689104] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.705924] pwm-regulator: supplied by regulator-dummy
[ 0.726164] uart uart0: get regulator failed
[ 0.730535] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.737889] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.745728] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[ 0.753757] printk: console [ttyS0] enabled
[ 0.753757] printk: console [ttyS0] enabled
[ 0.762618] printk: bootconsole [earlycon0] disabled
[ 0.762618] printk: bootconsole [earlycon0] disabled
[ 0.774335] uart uart1: get regulator failed
[ 0.779173] uart uart1: uart1 supply uart not found, using dummy regulator
[ 0.787193] uart1: ttyS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[ 0.797037] misc dump reg init
[ 0.801886] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.809110] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed!
[ 0.816702] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.823994] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.831421] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.837934] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.844829] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.852534] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=209 assert=1
[ 0.860356] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 0.868437] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.876065] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.882813] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.890292] sunxi-rfkill soc@3000000:rfkill@0: get gpio bt_rst failed
[ 0.898385] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9
[ 0.905472] [ADDR_MGT] addr_mgt_probe: success.
[ 0.911602] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
[ 0.918903] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 0.926740] sunxi-spinand-phy: not detect any munufacture from id table
[ 0.934133] sunxi-spinand-phy: get spi-nand Model from fdt fail
[ 0.940773] sunxi-spinand-phy: get phy info from fdt fail
[ 0.946774] sunxi-spinand-phy: not detect munufacture from fdt
[ 0.953418] sunxi-spinand-phy: detect munufacture from id table: Winbond
[ 0.960895] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[ 0.967889] sunxi-spinand-phy: ========== arch info ==========
[ 0.974377] sunxi-spinand-phy: Model: W25N01GVZEIG
[ 0.981107] sunxi-spinand-phy: Munufacture: Winbond
[ 0.987298] sunxi-spinand-phy: DieCntPerChip: 1
[ 0.992927] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 0.998857] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.004574] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.010197] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.015923] sunxi-spinand-phy: BadBlockFlag: 0x0
[ 1.021746] sunxi-spinand-phy: OperationOpt: 0x7
[ 1.027559] sunxi-spinand-phy: MaxEraseTimes: 65000
[ 1.033588] sunxi-spinand-phy: EccFlag: 0x0
[ 1.039409] sunxi-spinand-phy: EccType: 2
[ 1.045021] sunxi-spinand-phy: EccProtectedType: 3
[ 1.050665] sunxi-spinand-phy: ========================================
[ 1.058030] sunxi-spinand-phy:
[ 1.061523] sunxi-spinand-phy: ========== physical info ==========
[ 1.068427] sunxi-spinand-phy: TotalSize: 128 M
[ 1.073755] sunxi-spinand-phy: SectorSize: 512 B
[ 1.079098] sunxi-spinand-phy: PageSize: 2 K
[ 1.084243] sunxi-spinand-phy: BlockSize: 128 K
[ 1.089583] sunxi-spinand-phy: OOBSize: 64 B
[ 1.094815] sunxi-spinand-phy: ========================================
[ 1.102195] sunxi-spinand-phy:
[ 1.105688] sunxi-spinand-phy: ========== logical info ==========
[ 1.112474] sunxi-spinand-phy: TotalSize: 128 M
[ 1.117819] sunxi-spinand-phy: SectorSize: 512 B
[ 1.123146] sunxi-spinand-phy: PageSize: 4 K
[ 1.128289] sunxi-spinand-phy: BlockSize: 256 K
[ 1.133621] sunxi-spinand-phy: OOBSize: 128 B
[ 1.138956] sunxi-spinand-phy: ========================================
[ 1.146372] sunxi-spinand-phy: block lock register: 0x00
[ 1.152420] sunxi-spinand-phy: feature register: 0x19
[ 1.158100] sunxi-spinand-phy: sunxi physic nand init end
[ 1.164598] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.170744] 0x000000000000-0x000000100000 : "boot0"
[ 1.188761] 0x000000100000-0x000000400000 : "uboot"
[ 1.197352] random: fast init done
[ 1.208805] 0x000000400000-0x000000500000 : "secure_storage"
[ 1.215347] sunxi-spinand-phy: phy blk 32 is bad
[ 1.228783] 0x000000500000-0x000008000000 : "sys"
[ 1.234259] sunxi-spinand-phy: phy blk 40 is bad
[ 1.239683] sunxi-spinand-phy: phy blk 42 is bad
[ 1.290145] sunxi-spinand-phy: phy blk 298 is bad
[ 1.295558] sunxi-spinand-phy: phy blk 300 is bad
[ 1.301009] sunxi-spinand-phy: phy blk 302 is bad
[ 1.306457] sunxi-spinand-phy: phy blk 304 is bad
[ 1.311894] sunxi-spinand-phy: phy blk 306 is bad
[ 1.317309] sunxi-spinand-phy: phy blk 308 is bad
[ 1.322741] sunxi-spinand-phy: phy blk 310 is bad
[ 1.328201] sunxi-spinand-phy: phy blk 312 is bad
[ 1.333639] sunxi-spinand-phy: phy blk 314 is bad
[ 1.339102] sunxi-spinand-phy: phy blk 316 is bad
[ 1.344539] sunxi-spinand-phy: phy blk 318 is bad
[ 1.349998] sunxi-spinand-phy: phy blk 320 is bad
[ 1.355439] sunxi-spinand-phy: phy blk 322 is bad
[ 1.360899] sunxi-spinand-phy: phy blk 324 is bad
[ 1.366340] sunxi-spinand-phy: phy blk 326 is bad
[ 1.371801] sunxi-spinand-phy: phy blk 328 is bad
[ 1.377240] sunxi-spinand-phy: phy blk 330 is bad
[ 1.382698] sunxi-spinand-phy: phy blk 332 is bad
[ 1.388156] sunxi-spinand-phy: phy blk 334 is bad
[ 1.393590] sunxi-spinand-phy: phy blk 336 is bad
[ 1.399053] sunxi-spinand-phy: phy blk 338 is bad
[ 1.404496] sunxi-spinand-phy: phy blk 340 is bad
[ 1.410156] sunxi-spinand-phy: phy blk 343 is bad
[ 1.415599] sunxi-spinand-phy: phy blk 344 is bad
[ 1.421056] sunxi-spinand-phy: phy blk 346 is bad
[ 1.426488] sunxi-spinand-phy: phy blk 348 is bad
[ 1.431946] sunxi-spinand-phy: phy blk 350 is bad
[ 1.437584] sunxi-spinand-phy: phy blk 353 is bad
[ 1.443235] sunxi-spinand-phy: phy blk 355 is bad
[ 1.448898] sunxi-spinand-phy: phy blk 357 is bad
[ 1.514732] sunxi-spinand-phy: phy blk 664 is bad
[ 1.520188] sunxi-spinand-phy: phy blk 666 is bad
[ 1.525626] sunxi-spinand-phy: phy blk 668 is bad
[ 1.531083] sunxi-spinand-phy: phy blk 670 is bad
[ 1.536524] sunxi-spinand-phy: phy blk 672 is bad
[ 1.541984] sunxi-spinand-phy: phy blk 674 is bad
[ 1.547425] sunxi-spinand-phy: phy blk 676 is bad
[ 1.552879] sunxi-spinand-phy: phy blk 678 is bad
[ 1.558340] sunxi-spinand-phy: phy blk 680 is bad
[ 1.563776] sunxi-spinand-phy: phy blk 682 is bad
[ 1.569238] sunxi-spinand-phy: phy blk 684 is bad
[ 1.574676] sunxi-spinand-phy: phy blk 686 is bad
[ 1.580135] sunxi-spinand-phy: phy blk 688 is bad
[ 1.585576] sunxi-spinand-phy: phy blk 690 is bad
[ 1.591030] sunxi-spinand-phy: phy blk 692 is bad
[ 1.596465] sunxi-spinand-phy: phy blk 694 is bad
[ 1.601922] sunxi-spinand-phy: phy blk 696 is bad
[ 1.607361] sunxi-spinand-phy: phy blk 698 is bad
[ 1.612822] sunxi-spinand-phy: phy blk 700 is bad
[ 1.618274] sunxi-spinand-phy: phy blk 702 is bad
[ 1.623708] sunxi-spinand-phy: phy blk 704 is bad
[ 1.629165] sunxi-spinand-phy: phy blk 706 is bad
[ 1.634606] sunxi-spinand-phy: phy blk 708 is bad
[ 1.640066] sunxi-spinand-phy: phy blk 710 is bad
[ 1.645503] sunxi-spinand-phy: phy blk 712 is bad
[ 1.650964] sunxi-spinand-phy: phy blk 714 is bad
[ 1.656406] sunxi-spinand-phy: phy blk 716 is bad
[ 1.661865] sunxi-spinand-phy: phy blk 718 is bad
[ 1.667306] sunxi-spinand-phy: phy blk 720 is bad
[ 1.672769] sunxi-spinand-phy: phy blk 722 is bad
[ 1.678233] sunxi-spinand-phy: phy blk 724 is bad
[ 1.683669] sunxi-spinand-phy: phy blk 726 is bad
[ 1.689134] sunxi-spinand-phy: phy blk 728 is bad
[ 1.694571] sunxi-spinand-phy: phy blk 730 is bad
[ 1.700027] sunxi-spinand-phy: phy blk 732 is bad
[ 1.705465] sunxi-spinand-phy: phy blk 734 is bad
[ 1.710922] sunxi-spinand-phy: phy blk 736 is bad
[ 1.716359] sunxi-spinand-phy: phy blk 738 is bad
[ 1.721820] sunxi-spinand-phy: phy blk 740 is bad
[ 1.727257] sunxi-spinand-phy: phy blk 742 is bad
[ 1.732716] sunxi-spinand-phy: phy blk 744 is bad
[ 1.738170] sunxi-spinand-phy: phy blk 746 is bad
[ 1.743605] sunxi-spinand-phy: phy blk 748 is bad
[ 1.749061] sunxi-spinand-phy: phy blk 750 is bad
[ 1.754498] sunxi-spinand-phy: phy blk 752 is bad
[ 1.759959] sunxi-spinand-phy: phy blk 754 is bad
[ 1.765401] sunxi-spinand-phy: phy blk 756 is bad
[ 1.770859] sunxi-spinand-phy: phy blk 758 is bad
[ 1.776300] sunxi-spinand-phy: phy blk 760 is bad
[ 1.781761] sunxi-spinand-phy: phy blk 762 is bad
[ 1.787200] sunxi-spinand-phy: phy blk 764 is bad
[ 1.792662] sunxi-spinand-phy: phy blk 766 is bad
[ 1.798122] sunxi-spinand-phy: phy blk 768 is bad
[ 1.803556] sunxi-spinand-phy: phy blk 770 is bad
[ 1.809011] sunxi-spinand-phy: phy blk 772 is bad
[ 1.814445] sunxi-spinand-phy: phy blk 774 is bad
[ 1.819905] sunxi-spinand-phy: phy blk 776 is bad
[ 1.825339] sunxi-spinand-phy: phy blk 778 is bad
[ 1.830788] sunxi-spinand-phy: phy blk 780 is bad
[ 1.836223] sunxi-spinand-phy: phy blk 782 is bad
[ 1.841684] sunxi-spinand-phy: phy blk 784 is bad
[ 1.847126] sunxi-spinand-phy: phy blk 786 is bad
[ 1.852590] sunxi-spinand-phy: phy blk 788 is bad
[ 1.858047] sunxi-spinand-phy: phy blk 790 is bad
[ 1.863489] sunxi-spinand-phy: phy blk 792 is bad
[ 1.868951] sunxi-spinand-phy: phy blk 794 is bad
[ 1.874388] sunxi-spinand-phy: phy blk 796 is bad
[ 1.879847] sunxi-spinand-phy: phy blk 798 is bad
[ 1.885283] sunxi-spinand-phy: phy blk 800 is bad
[ 1.890740] sunxi-spinand-phy: phy blk 802 is bad
[ 1.896179] sunxi-spinand-phy: phy blk 804 is bad
[ 1.901641] sunxi-spinand-phy: phy blk 806 is bad
[ 1.907078] sunxi-spinand-phy: phy blk 808 is bad
[ 1.912539] sunxi-spinand-phy: phy blk 810 is bad
[ 1.917999] sunxi-spinand-phy: phy blk 812 is bad
[ 1.923436] sunxi-spinand-phy: phy blk 814 is bad
[ 1.928893] sunxi-spinand-phy: phy blk 816 is bad
[ 1.934334] sunxi-spinand-phy: phy blk 818 is bad
[ 1.939791] sunxi-spinand-phy: phy blk 820 is bad
[ 1.945234] sunxi-spinand-phy: phy blk 822 is bad
[ 1.950692] sunxi-spinand-phy: phy blk 824 is bad
[ 1.956123] sunxi-spinand-phy: phy blk 826 is bad
[ 1.961580] sunxi-spinand-phy: phy blk 828 is bad
[ 1.967020] sunxi-spinand-phy: phy blk 830 is bad
[ 1.972481] sunxi-spinand-phy: phy blk 832 is bad
[ 1.977945] sunxi-spinand-phy: phy blk 834 is bad
[ 1.983386] sunxi-spinand-phy: phy blk 836 is bad
[ 1.988841] sunxi-spinand-phy: phy blk 838 is bad
[ 1.994281] sunxi-spinand-phy: phy blk 840 is bad
[ 1.999742] sunxi-spinand-phy: phy blk 842 is bad
[ 2.005182] sunxi-spinand-phy: phy blk 844 is bad
[ 2.010640] sunxi-spinand-phy: phy blk 846 is bad
[ 2.016082] sunxi-spinand-phy: phy blk 848 is bad
[ 2.021545] sunxi-spinand-phy: phy blk 850 is bad
[ 2.026990] sunxi-spinand-phy: phy blk 852 is bad
[ 2.032450] sunxi-spinand-phy: phy blk 854 is bad
[ 2.037910] sunxi-spinand-phy: phy blk 856 is bad
[ 2.043347] sunxi-spinand-phy: phy blk 858 is bad
[ 2.048812] sunxi-spinand-phy: phy blk 860 is bad
[ 2.054248] sunxi-spinand-phy: phy blk 862 is bad
[ 2.059706] sunxi-spinand-phy: phy blk 864 is bad
[ 2.065146] sunxi-spinand-phy: phy blk 866 is bad
[ 2.070607] sunxi-spinand-phy: phy blk 868 is bad
[ 2.076042] sunxi-spinand-phy: phy blk 870 is bad
[ 2.081499] sunxi-spinand-phy: phy blk 872 is bad
[ 2.086939] sunxi-spinand-phy: phy blk 874 is bad
[ 2.092399] sunxi-spinand-phy: phy blk 876 is bad
[ 2.097849] sunxi-spinand-phy: phy blk 878 is bad
[ 2.103287] sunxi-spinand-phy: phy blk 880 is bad
[ 2.108745] sunxi-spinand-phy: phy blk 882 is bad
[ 2.114184] sunxi-spinand-phy: phy blk 884 is bad
[ 2.119680] sunxi-spinand-phy: phy blk 886 is bad
[ 2.125116] sunxi-spinand-phy: phy blk 888 is bad
[ 2.130575] sunxi-spinand-phy: phy blk 890 is bad
[ 2.136006] sunxi-spinand-phy: phy blk 892 is bad
[ 2.141467] sunxi-spinand-phy: phy blk 894 is bad
[ 2.146903] sunxi-spinand-phy: phy blk 896 is bad
[ 2.152363] sunxi-spinand-phy: phy blk 898 is bad
[ 2.157798] sunxi-spinand-phy: phy blk 900 is bad
[ 2.163229] sunxi-spinand-phy: phy blk 902 is bad
[ 2.168689] sunxi-spinand-phy: phy blk 904 is bad
[ 2.174125] sunxi-spinand-phy: phy blk 906 is bad
[ 2.179584] sunxi-spinand-phy: phy blk 908 is bad
[ 2.185026] sunxi-spinand-phy: phy blk 910 is bad
[ 2.190482] sunxi-spinand-phy: phy blk 912 is bad
[ 2.195921] sunxi-spinand-phy: phy blk 914 is bad
[ 2.201383] sunxi-spinand-phy: phy blk 916 is bad
[ 2.206820] sunxi-spinand-phy: phy blk 918 is bad
[ 2.212278] sunxi-spinand-phy: phy blk 920 is bad
[ 2.217718] sunxi-spinand-phy: phy blk 922 is bad
[ 2.223155] sunxi-spinand-phy: phy blk 924 is bad
[ 2.228612] sunxi-spinand-phy: phy blk 926 is bad
[ 2.234051] sunxi-spinand-phy: phy blk 928 is bad
[ 2.239511] sunxi-spinand-phy: phy blk 930 is bad
[ 2.244950] sunxi-spinand-phy: phy blk 932 is bad
[ 2.250412] sunxi-spinand-phy: phy blk 934 is bad
[ 2.255853] sunxi-spinand-phy: phy blk 936 is bad
[ 2.261309] sunxi-spinand-phy: phy blk 938 is bad
[ 2.266749] sunxi-spinand-phy: phy blk 940 is bad
[ 2.272207] sunxi-spinand-phy: phy blk 942 is bad
[ 2.277671] sunxi-spinand-phy: phy blk 944 is bad
[ 2.283115] sunxi-spinand-phy: phy blk 946 is bad
[ 2.288573] sunxi-spinand-phy: phy blk 948 is bad
[ 2.294006] sunxi-spinand-phy: phy blk 950 is bad
[ 2.299459] sunxi-spinand-phy: phy blk 952 is bad
[ 2.304901] sunxi-spinand-phy: phy blk 954 is bad
[ 2.310360] sunxi-spinand-phy: phy blk 956 is bad
[ 2.315799] sunxi-spinand-phy: phy blk 958 is bad
[ 2.321261] sunxi-spinand-phy: phy blk 960 is bad
[ 2.326697] sunxi-spinand-phy: phy blk 962 is bad
[ 2.332153] sunxi-spinand-phy: phy blk 964 is bad
[ 2.337584] sunxi-spinand-phy: phy blk 966 is bad
[ 2.343043] sunxi-spinand-phy: phy blk 968 is bad
[ 2.348497] sunxi-spinand-phy: phy blk 970 is bad
[ 2.353933] sunxi-spinand-phy: phy blk 972 is bad
[ 2.359393] sunxi-spinand-phy: phy blk 974 is bad
[ 2.364831] sunxi-spinand-phy: phy blk 976 is bad
[ 2.370294] sunxi-spinand-phy: phy blk 978 is bad
[ 2.375732] sunxi-spinand-phy: phy blk 980 is bad
[ 2.381194] sunxi-spinand-phy: phy blk 982 is bad
[ 2.386629] sunxi-spinand-phy: phy blk 984 is bad
[ 2.392090] sunxi-spinand-phy: phy blk 986 is bad
[ 2.397530] sunxi-spinand-phy: phy blk 988 is bad
[ 2.402982] sunxi-spinand-phy: phy blk 990 is bad
[ 2.408437] sunxi-spinand-phy: phy blk 992 is bad
[ 2.413877] sunxi-spinand-phy: phy blk 994 is bad
[ 2.419335] sunxi-spinand-phy: phy blk 996 is bad
[ 2.424773] sunxi-spinand-phy: phy blk 998 is bad
[ 2.430223] sunxi-spinand-phy: phy blk 1000 is bad
[ 2.435750] sunxi-spinand-phy: phy blk 1002 is bad
[ 2.441307] sunxi-spinand-phy: phy blk 1004 is bad
[ 2.446839] sunxi-spinand-phy: phy blk 1006 is bad
[ 2.452396] sunxi-spinand-phy: phy blk 1008 is bad
[ 2.457955] sunxi-spinand-phy: phy blk 1010 is bad
[ 2.463484] sunxi-spinand-phy: phy blk 1012 is bad
[ 2.469032] sunxi-spinand-phy: phy blk 1014 is bad
[ 2.474564] sunxi-spinand-phy: phy blk 1016 is bad
[ 2.480120] sunxi-spinand-phy: phy blk 1018 is bad
[ 2.485658] sunxi-spinand-phy: phy blk 1020 is bad
[ 2.491213] sunxi-spinand-phy: phy blk 1022 is bad
[ 2.509557] libphy: Fixed MDIO Bus: probed
[ 2.514117] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.521446] sunxi-ehci: EHCI SUNXI driver
[ 2.526405] get ehci0-controller wakeup-source is fail.
[ 2.532384] sunxi ehci0-controller don't init wakeup source
[ 2.538610] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c86878, 0x:e0837000, irq_no:37
[ 2.550529] [sunxi-ehci0]: Not init ehci0
[ 2.555299] get ehci1-controller wakeup-source is fail.
[ 2.561254] sunxi ehci1-controller don't init wakeup source
[ 2.567459] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c86d98, 0x:e083b000, irq_no:39
[ 2.579659] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 2.591928] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 2.599174] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.609106] sunxi-ehci 4200000.ehci1-controller: irq 57, io mem 0x04200000
[ 2.637697] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.645475] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 2.655061] hub 1-0:1.0: USB hub found
[ 2.659321] hub 1-0:1.0: 1 port detected
[ 2.664472] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.671426] sunxi-ohci: OHCI SUNXI driver
[ 2.676366] get ohci0-controller wakeup-source is fail.
[ 2.682441] sunxi ohci0-controller don't init wakeup source
[ 2.688671] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c86b08
[ 2.698285] [sunxi-ohci0]: Not init ohci0
[ 2.703039] get ohci1-controller wakeup-source is fail.
[ 2.709000] sunxi ohci1-controller don't init wakeup source
[ 2.715222] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c87028
[ 2.725125] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 2.737421] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.744711] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.754604] sunxi-ohci 4200400.ohci1-controller: irq 58, io mem 0x04200400
[ 2.832697] hub 2-0:1.0: USB hub found
[ 2.836921] hub 2-0:1.0: 1 port detected
[ 2.842358] usbcore: registered new interface driver uas
[ 2.848472] usbcore: registered new interface driver usb-storage
[ 2.855220] usbcore: registered new interface driver ums-alauda
[ 2.861935] usbcore: registered new interface driver ums-cypress
[ 2.868694] usbcore: registered new interface driver ums-datafab
[ 2.875440] usbcore: registered new interface driver ums_eneub6250
[ 2.882427] usbcore: registered new interface driver ums-freecom
[ 2.889199] usbcore: registered new interface driver ums-isd200
[ 2.895870] usbcore: registered new interface driver ums-jumpshot
[ 2.902746] usbcore: registered new interface driver ums-karma
[ 2.909308] usbcore: registered new interface driver ums-onetouch
[ 2.916203] usbcore: registered new interface driver ums-realtek
[ 2.922966] usbcore: registered new interface driver ums-sddr09
[ 2.929658] usbcore: registered new interface driver ums-sddr55
[ 2.936305] usbcore: registered new interface driver ums-usbat
[ 2.942883] usbcore: registered new interface driver idmouse
[ 2.950100] sunxi_gpadc_init,2145, success
[ 2.954984] sunxi_gpadc_setup: get channel scan data failed
[ 2.961577] input: sunxi-gpadc0 as /devices/virtual/input/input1
[ 2.970697] sunxi-rtc 7090000.rtc: registered as rtc0
[ 2.976470] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:40 UTC (40)
[ 2.985482] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 2.991404] i2c /dev entries driver
[ 2.995459] IR NEC protocol handler initialized
[ 3.001071] sunxi cedar version 1.1
[ 3.005156] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 3.011447] VE: install start!!!
[ 3.011447]
[ 3.016985] VE: cedar-ve the get irq is 41
[ 3.016985]
[ 3.023477] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[ 3.023477]
[ 3.027767] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[ 3.032739] VE: install end!!!
[ 3.032739]
[ 3.046239] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 3.055519] usbcore: registered new interface driver btusb
[ 3.061721] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 3.068954] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[ 3.075324] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[ 3.081875] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 3.081875]
[ 3.090515] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[ 3.099379] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.23 2021-06-16 10:10)
[ 3.109312] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 3.115509] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 3.121833] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 3.128281] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 3.134685] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 3.141199] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 3.147713] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 3.154212] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 3.161217] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 3.166606] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 3.173295] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.184424] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 3.204568] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.216214] sunxi-mmc 4020000.sdmmc: failed to get DS26_SDR12 used default
[ 3.236675] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 3.242404] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.248345] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.23 2021-06-16 10:10)
[ 3.263557] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 3.269990] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 3.276512] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 3.282993] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 3.283285] hub 1-1:1.0: USB hub found
[ 3.289443] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 3.300177] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 3.306708] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 3.306716] hub 1-1:1.0: 4 ports detected
[ 3.313239] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 3.324241] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 3.333932] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.345101] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 3.363800] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.375438] sunxi-mmc 4021000.sdmmc: failed to get DS26_SDR12 used default
[ 3.395669] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 3.403320] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 3.410747] usbcore: registered new interface driver usbhid
[ 3.416970] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 3.423829] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.427707] usbhid: USB HID core driver
[ 3.435520] sunxi-mmc 4021000.sdmmc: failed to get DS26_SDR12 used default
[ 3.439670] exFAT: Version 1.3.0
[ 3.450265] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.453474] usbcore: registered new interface driver snd-usb-audio
[ 3.462721] sunxi-mmc 4021000.sdmmc: failed to get DS26_SDR12 used default
[ 3.472222] sunxi-daudio 2034000.daudio: regulator missing or invalid
[ 3.479619] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 3.485268] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 3.485268]
[ 3.492246] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 3.508153] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 3.515735] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 3.525724] sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:162
[ 3.533233] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 3.545070] sun8iw20-pinctrl 2000000.pinctrl: pin-162 (2000000.pinctrl:162) status -22
[ 3.551854] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.560577] [AUDIOCODEC][sunxi_codec_parse_params][2463]:gpio-spk set failed, SPK not work!
[ 3.560613] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 3.560622] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 3.560629] [AUDIOCODEC][sunxi_codec_parse_params][2482]:gpio-spk-pwr set failed, SPK not work!
[ 3.561099] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[ 3.621584] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 3.631356] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 3.638585] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 3.649662] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input2
[ 3.661737] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished
[ 3.670968] NET: Registered protocol family 10
[ 3.677037] Segment Routing with IPv6
[ 3.681197] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[ 3.687816] NET: Registered protocol family 17
[ 3.693497] 8021q: 802.1Q VLAN Support v1.8
[ 3.699039] Registering SWP/SWPB emulation handler
[ 3.704796] Loading compiled-in X.509 certificates
[ 3.712486] HDMI 2.0 driver init start!
[ 3.716774] boot_hdmi=false
[ 3.720067] ERROR: can not get hdmi_cts_compatibility
[ 3.725708] ERROR: pinctrl_get for HDMI2.0 DDC fail
[ 3.732785] HDMI2.0 module init end
[ 3.755178] i2c 2502800.twi: 2502800.twi supply twi not found, using dummy regulator
[ 3.765033] i2c i2c2: probe success
[ 3.770163] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 3.782901] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 3.798163] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1008000 KHz
[ 3.806525] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1008000000 (-34)
[ 3.841870] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 912000 KHz
[ 3.852640] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
[ 3.862200] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
[ 3.873545] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 3.886395] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 3.895962] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 3.908873] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 3.918672] ubi0: attaching mtd3
[ 4.081198] ubi0: scanning is finished
[ 4.093627] ubi0 warning: ubi_eba_init: number of bad PEBs (212) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[ 4.114266] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 4.120524] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 4.128308] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 4.135944] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.143800] ubi0: good PEBs: 280, bad PEBs: 212, corrupted PEBs: 0
[ 4.150769] ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
[ 4.159064] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 4.168494] ubi0: available PEBs: 0, total reserved PEBs: 280, PEBs reserved for bad PEB handling: 0
[ 4.178816] ubi0: background thread "ubi_bgt0d" started, PID 1042
[ 4.187155] block ubiblock0_5: created from ubi0:5(rootfs)
[ 4.193932] get det_vbus is fail, -84
[ 4.198093] get id is fail, -84
[ 4.202005] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 4.208776] get ctp_power is fail, -22
[ 4.214979] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 4.219161] get ctp_power_ldo_vol is fail, -22
[ 4.232964] sunxi_ctp_startup: ctp_power_io is invalid.
[ 4.238921] get ctp_gesture_wakeup fail, no gesture wakeup
[ 4.245105] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 4.437989] input: gt9xxnew_ts as /devices/virtual/input/input3
[ 4.445253] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 4.449903] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.458296] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 4.470405] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.483350] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.492764] clk: Not disabling unused clocks
[ 4.493085] cfg80211: failed to load regulatory.db
[ 4.497928] ALSA device list:
[ 4.506566] #0: audiocodec
[ 4.509864] #1: sndhdmi
[ 4.512835] alloc_fd: slot 0 not NULL!
[ 4.521581] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.535235] devtmpfs: mounted
[ 4.540808] Freeing unused kernel memory: 1024K
[ 4.567914] Run /sbin/init as init process
[ 4.648045] random: crng init done
[ 4.920907] init: Console is alive
[ 4.924992] init: - watchdog -
[ 4.928623] init: - preinit -
formating /dev/by-name/UDISK to ubifs
formating /dev/by-name/rootfs_data to ubifs
[ 5.903123] mount_root: loading kmods from internal overlay
[ 6.085511] block: attempting to load /etc/config/fstab
[ 6.128589] UBIFS (ubi0:9): Mounting in unauthenticated mode
[ 6.135133] UBIFS (ubi0:9): background thread "ubifs_bgt0_9" started, PID 1105
[ 6.312606] UBIFS (ubi0:9): UBIFS: mounted UBI device 0, volume 9, name "UDISK"
[ 6.320857] UBIFS (ubi0:9): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 6.320872] UBIFS (ubi0:9): FS size: 7483392 bytes (7 MiB, 29 LEBs), journal size 2322433 bytes (2 MiB, 8 LEBs)
[ 6.343351] UBIFS (ubi0:9): reserved for root: 0 bytes (0 KiB)
[ 6.349926] UBIFS (ubi0:9): media format: w4/r0 (latest is w5/r0), UUID C2DC5520-5AE4-42AB-ADDE-1F45FD9C2302, small LPT model
[ 6.372873] mount_root: switched to extroot
[ 6.384687] procd: - early -
[ 6.388183] procd: - watchdog -
[ 6.581945] procd: - watchdog -
[ 6.585823] procd: - ubus -
[ 6.589687] procd (1): /proc/1252/oom_adj is deprecated, please use /proc/1252/oom_score_adj instead.
[ 6.806723] procd: - init -
Please press Enter to activate this console.
[ 7.387774] hdmi_hpd_sys_config_release
[ 7.526365] fuse: init (API version 7.31)
[ 7.657394] aicbsp_init
[ 7.698660] sun8iw20-pinctrl 2000000.pinctrl: pin PF4 already requested by 4020000.sdmmc; cannot claim for 2000000.pinctrl:164
[ 7.711718] -->aicbt_rfkill_init
[ 7.715616] <--aicbt_rfkill_init
[ 7.747802] sun8iw20-pinctrl 2000000.pinctrl: pin-164 (2000000.pinctrl:164) status -22
[ 7.772833] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 8.136381] usbcore: registered new interface driver aic8800_bsp
[ 8.149729] aic_btusb: AICBT_RELEASE_NAME: 202012_ANDROID
[ 8.156399] aic_btusb: AicSemi Bluetooth USB driver module init, version 2.1.0
[ 8.170070] aic_btusb: Register usb char device interface for BT driver
[ 8.199013] usbcore: registered new interface driver aic_btusb
[ 8.246951] rwnx 20211129-6.4.3.0 - - 241c091M (master)
[ 8.358146] aicbsp: aicbsp_set_subsys, subsys: 1, state to: 1
[ 8.364838] usbcore: registered new interface driver aic8800_fdrv
[ 8.451788] xt_time: kernel timezone is -0000
kmodloader done
[ 8.480791] file system registered
[ 8.588261] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[ 8.781636] read descriptors
[ 8.784921] read strings昆仑的屏运行自己的QT程序,需要刷对我固件。然后就可以运行自己写的程序了。第一次发帖不会贴照片,有真相没图
tpcbackupQT4升级包.7z
请问楼主,为什么这个文件下载不了呢?
[1970-01-01 05:31:20] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(162.037)
[1970-01-01 05:31:20] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 05:31:21] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 05:31:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(163.038)
[1970-01-01 05:31:21] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(164.039)
[1970-01-01 05:31:22] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(165.040)
[1970-01-01 05:31:23] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(166.041)
[1970-01-01 05:31:24] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(167.000)
[1970-01-01 05:31:25] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(168.001)
[1970-01-01 05:31:26] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(169.002)
[1970-01-01 05:31:27.116] PID: 1666 TID: 6025 <W> : [amix_mod_server_cs_work 272] server read failed, client(8) maybe hang
[1970-01-01 05:31:27.484] PID: 1666 TID: 6025 <D> : [amix_mod_server_cs_work 367] AMIX_CS_STREAM_CLOSE
Killed
[1970-01-01 05:31:27.484] PID: 1666 TID: 6025 <D> : [amix_close_stream 196]
[1970-01-01 05:31:27.857] PID: 1666 TID: 6025 <D> : [amix_mod_server_link_destroy 213]
[1970-01-01 05:31:27.857] PID: 1666 TID: 6025 <D> : [_amix_sem_posix_destroy 326]
[1970-01-01 05:31:27.858] PID: 1666 TID: 6025 <I> : [_amix_sem_posix_destroy 334] sem_close succeed
[1970-01-01 05:31:27.858] PID: 1666 TID: 6025 <D> : [_amix_sem_posix_destroy 336] unlink sem /AmixSmcSem65537
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# [1970-01-01 05:31:28.104] PID: 1666 TID: 6025 <I> : [_amix_sem_posix_destroy 340] sem_unlink succeed /AmixSmcSem65537
[1970-01-01 05:31:28.104] PID: 1666 TID: 6025 <I> : [_amix_shm_destroy 160] shm_unlink succeed with /AmixSmcShm65537
[1970-01-01 05:31:28.105] PID: 1666 TID: 6025 <D> : [amix_mod_server_stream_delete 122]
[1970-01-01 05:31:28.105] PID: 1666 TID: 6025 <D> : [sfx_cs_free_stream_uid 55]
[1970-01-01 05:31:28.105] PID: 1666 TID: 6025 <W> : [amix_mod_server_cs_work 387] unlink s3-c8
root@TinaLinux:/#
root@TinaLinux:/#lv_projector 挂了,什么原因?
H133资料:
H133_User_Manual_V1.4.pdf
H133_Datasheet_V1.1.pdf
H133_User_Manual_V1.1.pdf
H133_Datasheet_V1.3.pdf
H133_DONGLE方案软硬件稳定性检查checklistV1.1.pdf
H133生产指南V1_0.pdf
H133硬件设计指南V2_0-20201110.pdf
H133硬件调试指南V1_0.pdf
关于H133 的假 Fel key硬件设计.pdf
PCB参考.rar
H133_REF_DDR3_16X1_4L_V1_0.rar
H133_REF_DDR3_16X1_single_4L_V1_0.rar
H133_REF_DDR3_8X2_4L_V1_0.zip
allegro_free_viewer.jrl
H133_REF_DDR2_16X1_4L_V1_0.brd
allegro_free_viewer.jrl,1
h133_ref_ddr2_16x1_4l_v1_0.opj
H133_REF_DDR2_16X1_4L_V1_0.DSN
allegro_free_viewer.jrl
H133_DONGLE_V1_0_20210407_04121339.brd
allegro_free_viewer.jrl,1
H133_REF_DDR2_16X1_4L_V1_0_pads.pcb
H133_REF_DDR2_16X1_4L_V1_0.PcbDoc
H133_REF_DDR3_16X1_single_4L_V1_0.brd
PCB Stackup templates v2.1.xls
allegro_free_viewer.jrl
H133_REF_DDR3_16X1_single_4L_V1_0.asc
H133_REF_DDR3_16X1_single_4L_V1_0.DSN
H133_REF_DDR2_16X1_4L_V1_0_pads.asc
H133_REF_DDR3_16X1_4L_V1_0_20201231_pads-update.asc
h133_ref_ddr3_16x1_4l_v1_0_20201231.pdf
PCB Stackup templates v2.1.xls
allegro_free_viewer.jrl
H133_REF_DDR3_16X1_4L_V1_0_20201231.DSN
H133_REF_DDR3_16X1_4L_V1_0_20201231-update.brd
allegro.jrl
allegro_free_viewer.jrl,1
changelist.txt
h133_dongle_v14_20220413.pdf
H133_DONGLE_V14_20220413.DSN
H133_DONGLE_V10_20210407.DSN
h133_dongle_v14_20220413.opj
H133_DONGLE_V12_20220105.DSN
h133_dongle_v12_20220105.pdf
Removed_h133_dongle_v10_20210407.pdf
H133 SDRAM Support List_V16_20220816.pdf
H133 SPI NOR Flash Support List_20210929.pdf
H133 SDRAM Support List_V15_20210513.pdf
H133 SPI NOR Flash Support List_20220812.pdf
H133 SPI NAND Flash Support List_v1.45_20220412.pdf
Tina_Linux_WiFi_RF测试_使用指南.pdf
Tina_Linux_Key_快速配置_使用指南.pdf
Tina_Linux_音频_开发指南.pdf
Tina_Linux_量产测试_使用指南.pdf
Tina_Linux_配网_开发指南.pdf
Tina_Linux_Display_开发指南.pdf
Tina_Linux_配置_开发指南.pdf
Tina_Linux_图形系统_开发指南.pdf
Tina_Linux_启动优化_开发指南.pdf
Tina_Linux_蓝牙_开发指南.pdf
Tina_Linux_多媒体编码_开发指南.pdf
Tina_Linux_内存优化_开发指南.pdf
Tina_Linux_OTA_开发指南.pdf
Tina_Linux_功耗性能_参考指南.pdf
Tina_Linux_打包流程_说明指南.pdf
Tina_Linux_功耗管理_开发指南.pdf
Tina_Linux_系统裁剪_开发指南.pdf
Tina_Linux_存储性能_参考指南.pdf
Tina_Linux_存储_开发指南.pdf
Tina_Linux_红外_开发指南.pdf
Tina_Linux_USB_开发指南.pdf
Tina_Linux_GPU性能说明文档.pdf
Tina_Linux_网络指标_参考指南.pdf
Tina_Linux_各平台多媒体格式_支持列表.pdf
Tina_Linux_网络性能_参考指南.pdf
Tina_Linux_syslog_使用指南.pdf
Tina_Linux_LEDC_开发指南.pdf
Tina_Linux_Tinatest测试_使用指南.pdf
Tina_Linux_Wi-Fi_开发指南.pdf
Tina_Linux_系统调试_使用指南.pdf
Tina_Linux_多媒体解码_开发指南.pdf
Tina_Linux_PWM_开发指南.pdf
Tina_Linux_温度控制_使用指南.pdf
Tina_Linux_系统软件_开发指南.pdf
Linux_USB_开发指南.pdf
Linux_DMAC_开发指南.pdf
Linux_UART_开发指南.pdf
Linux_Device_Tree_使用指南.pdf
Linux_TWI_开发指南.pdf
Linux_HDMI20_开发指南.pdf
Linux_CPUFREQ_开发指南.pdf
Linux_Standby_开发指南.pdf
Linux_CPUIDLE_开发指南.pdf
Linux_CCU_开发指南.pdf
Linux_G2D_开发指南.pdf
Linux_SPL-PUB_开发指南.pdf
Linux_Audio_开发指南.pdf
Linux_RTC_开发指南.pdf
Linux_IR_开发指南.pdf
Linux_IR_RX_开发指南.pdf
Linux_U-Boot_开发指南.pdf
Linux_LRADC_开发指南.pdf
Linux_GPADC_开发指南.pdf
Linux_SPI_开发指南.pdf
Linux_Thermal_开发指南.pdf
Linux_GPIO_开发指南.pdf
Linux_SPI-NAND_开发指南.pdf
Linux_离线烧录_开发指南.pdf
Linux_PMIC_开发指南.pdf
Linux_Display_开发指南.pdf
Linux_Media_开发指南.pdf
Linux_IR_TX开发指南.pdf
T113 手册 I2S最大速度率 384K,但是播放384K的文件出问题:



一顿操作猛如虎:
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b/kernel/linux-5.4/sound/soc/sunxi_v2$ git diff .
diff --git a/sound/soc/sunxi_v2/snd_sun8iw20_codec.c b/sound/soc/sunxi_v2/snd_sun8iw20_codec.c
index 625687565..6058f3842 100644
--- a/sound/soc/sunxi_v2/snd_sun8iw20_codec.c
+++ b/sound/soc/sunxi_v2/snd_sun8iw20_codec.c
@@ -69,6 +69,7 @@ static const struct sample_rate sample_rate_conv[] = {
{48000, 0},
{96000, 7},
{192000, 6},
+ {384000, 5},
};
static struct audio_reg_label sunxi_reg_labels[] = {
REG_LABEL(SUNXI_DAC_DPC),
@@ -1434,7 +1435,7 @@ static struct snd_soc_dai_driver sunxi_codec_dai = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = 2,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_S24_LE
diff --git a/sound/soc/sunxi_v2/snd_sunxi_aaudio.c b/sound/soc/sunxi_v2/snd_sunxi_aaudio.c
index 264e0f2ae..ed55e80d8 100644
--- a/sound/soc/sunxi_v2/snd_sunxi_aaudio.c
+++ b/sound/soc/sunxi_v2/snd_sunxi_aaudio.c
@@ -60,7 +60,7 @@ static struct snd_soc_dai_driver sunxi_aaudio_dai = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = 2,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_S24_LE
@@ -71,7 +71,7 @@ static struct snd_soc_dai_driver sunxi_aaudio_dai = {
.stream_name = "Capture",
.channels_min = 1,
.channels_max = 3,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_S24_LE
diff --git a/sound/soc/sunxi_v2/snd_sunxi_i2s.c b/sound/soc/sunxi_v2/snd_sunxi_i2s.c
index fac0554bd..eada6d051 100644
--- a/sound/soc/sunxi_v2/snd_sunxi_i2s.c
+++ b/sound/soc/sunxi_v2/snd_sunxi_i2s.c
@@ -577,6 +577,11 @@ static int sunxi_i2s_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigne
break;
case 192:
mclk_ratio_map = 15;
+ printk("192 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \n");
+ break;
+ case 384:
+ mclk_ratio_map = 16;
+ printk("384 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \n");
break;
default:
regmap_update_bits(regmap, SUNXI_I2S_CLKDIV, 1 << MCLKOUT_EN, 0 << MCLKOUT_EN);
@@ -645,6 +650,11 @@ static int sunxi_i2s_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ra
break;
case 192:
bclk_ratio = 15;
+ printk("192 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \n");
+ break;
+ case 384:
+ bclk_ratio = 16;
+ printk("384 CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC \n");
break;
default:
SND_LOG_ERR(HLOG, "bclk freq div unsupport\n");
@@ -1143,7 +1153,7 @@ static struct snd_soc_dai_driver sunxi_i2s_dai = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = 16,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_S20_3LE
@@ -1155,7 +1165,7 @@ static struct snd_soc_dai_driver sunxi_i2s_dai = {
.stream_name = "Capture",
.channels_min = 1,
.channels_max = 16,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.formats = SNDRV_PCM_FMTBIT_S16_LE
| SNDRV_PCM_FMTBIT_S20_3LE
diff --git a/sound/soc/sunxi_v2/snd_sunxi_log.h b/sound/soc/sunxi_v2/snd_sunxi_log.h
index 144ffeff5..f1f9562ba 100644
--- a/sound/soc/sunxi_v2/snd_sunxi_log.h
+++ b/sound/soc/sunxi_v2/snd_sunxi_log.h
@@ -24,7 +24,7 @@
pr_info("[sound %4d][" head " %s] " fmt, __LINE__, __func__, ##arg)
#define SND_LOG_DEBUG(head, fmt, arg...) \
- pr_debug("[sound %4d][" head " %s] " fmt, __LINE__, __func__, ##arg)
+ pr_err("[sound %4d][" head " %s] " fmt, __LINE__, __func__, ##arg)
#define SND_LOGDEV_ERR(dev, head, fmt, arg...) \
dev_err(dev, "[sound %4d][" head " %s] " fmt, __LINE__, __func__, ##arg)
diff --git a/sound/soc/sunxi_v2/snd_sunxi_mach.c b/sound/soc/sunxi_v2/snd_sunxi_mach.c
index 4ad271c2d..10877b27d 100644
--- a/sound/soc/sunxi_v2/snd_sunxi_mach.c
+++ b/sound/soc/sunxi_v2/snd_sunxi_mach.c
@@ -63,6 +63,7 @@ static int asoc_simple_hw_params(struct snd_pcm_substream *substream,
case 64000:
case 96000:
case 192000:
+ case 384000:
freq_point = 24576000;
break;
case 11025:
diff --git a/sound/soc/sunxi_v2/snd_sunxi_pcm.c b/sound/soc/sunxi_v2/snd_sunxi_pcm.c
index 17e471d7f..074853db6 100644
--- a/sound/soc/sunxi_v2/snd_sunxi_pcm.c
+++ b/sound/soc/sunxi_v2/snd_sunxi_pcm.c
@@ -37,10 +37,10 @@ static struct snd_pcm_hardware sunxi_pcm_hardware = {
| SNDRV_PCM_FMTBIT_S24_LE
| SNDRV_PCM_FMTBIT_S24_3LE
| SNDRV_PCM_FMTBIT_S32_LE,
- .rates = SNDRV_PCM_RATE_8000_192000
+ .rates = SNDRV_PCM_RATE_8000_384000
| SNDRV_PCM_RATE_KNOT,
.rate_min = 8000,
- .rate_max = 192000,
+ .rate_max = 384000,
.channels_min = 1,
.channels_max = 8,
/* value must be (2^n)Kbyte */
@@ -65,21 +65,22 @@ static int sunxi_pcm_open(struct snd_pcm_substream *substream)
struct device *dev = component->dev;
struct sunxi_dma_params *dma_params = NULL;
struct dma_chan *chan;
-
+printk("11111111111111111111111111111111111111 \n");
SND_LOG_DEBUG(HLOG, "\n");
-
+printk("222222222222222222 \n");
/* Set HW params now that initialization is complete */
dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream);
sunxi_pcm_hardware.buffer_bytes_max = dma_params->cma_kbytes * SUNXI_AUDIO_CMA_BLOCK_BYTES;
sunxi_pcm_hardware.period_bytes_max = sunxi_pcm_hardware.buffer_bytes_max / 2;
sunxi_pcm_hardware.fifo_size = dma_params->fifo_size;
+printk("4444444444444444444444 \n");
snd_soc_set_runtime_hwparams(substream, &sunxi_pcm_hardware);
ret = snd_pcm_hw_constraint_integer(substream->runtime, SNDRV_PCM_HW_PARAM_PERIODS);
if (ret < 0) {
SND_LOG_ERR(HLOG, "constraint_integer failed, err %d\n", ret);
return ret;
}
-
+printk("55555555555555555555 \n");
chan = dma_request_chan(dev, dmaengine_pcm_dma_channel_names[substream->stream]);
if (IS_ERR(chan)) {
SND_LOG_ERR(HLOG, "DMA channels request %s failed, err -> %d.\n",
@@ -87,13 +88,13 @@ static int sunxi_pcm_open(struct snd_pcm_substream *substream)
IS_ERR(chan));
return -EINVAL;
}
-
+printk("66666666666666666666666666666 \n");
ret = snd_dmaengine_pcm_open(substream, chan);
if (ret < 0) {
SND_LOG_ERR(HLOG, "dmaengine pcm open failed with err %d\n", ret);
return ret;
}
-
+printk("88888888888888888888888888888888 \n");
return 0;
}结果发现还是一个二百五:
# aplay -D hw:0,0 /tmp/1.wav
[ 704.867358] [sound 867][I2S sunxi_i2s_dai_startup]
[ 704.872926] 11111111111111111111111111111111111111
[ 704.878505] [sound 69][PCM sunxi_pcm_open]
[ 704.883382] 222222222222222222
[ 704.886983] 4444444444444444444444
[ 704.890888] 55555555555555555555
[ 704.894695] 66666666666666666666666666666
[ 704.899282] 88888888888888888888888888888888
Playing WAVE '/tmp/1.wav' : [ 704.905792] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
Signed 16 bit Little Endian, Rate 384000 Hz, Stereo
[ 704.913715] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
Warning: rate is not accurate (requested = 384000Hz, got = 192000Hz)
[ 704.924369] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
please, try the plug plugin
[ 704.936202] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.945329] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.951153] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.957018] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.962808] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.968670] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 4
[ 704.974473] [sound 86][MACH asoc_simple_hw_params] freq point : 24576000
[ 704.982373] [sound 87][MACH asoc_simple_hw_params] cpu pllclk : 24576000
[ 704.990365] [sound 88][MACH asoc_simple_hw_params] codec pllclk : 24576000
[ 704.998315] [sound 89][MACH asoc_simple_hw_params] cpu clk_div : 128
[ 705.005770] [sound 90][MACH asoc_simple_hw_params] codec clk_div: 128
[ 705.013189] [sound 493][I2S sunxi_i2s_dai_set_pll]
[ 705.018786] [sound 158][I2S snd_sunxi_clk_rate]
[ 705.024392] [sound 149][MACH asoc_simple_hw_params] mclk : 0
[ 705.031913] [sound 150][MACH asoc_simple_hw_params] cpu_bclk_ratio : 2
[ 705.039458] [sound 151][MACH asoc_simple_hw_params] codec_bclk_ratio: 2
[ 705.046993] [sound 518][I2S sunxi_i2s_dai_set_sysclk]
[ 705.052861] [sound 605][I2S sunxi_i2s_dai_set_bclk_ratio]
[ 705.059197] [sound 683][I2S sunxi_i2s_dai_set_fmt] dai fmt -> 0x4001
[ 705.066474] [sound 796][I2S sunxi_i2s_dai_set_tdm_slot]
[ 705.072542] [sound 905][I2S sunxi_i2s_dai_hw_params]
[ 705.078369] [sound 126][PCM sunxi_pcm_hw_params]
[ 705.084072] [sound 985][I2S sunxi_i2s_dai_prepare]
[ 705.099795] [sound 112][PCM sunxi_pcm_ioctl] cmd -> 0
[ 705.106628] [sound 175][PCM sunxi_pcm_trigger] cmd -> 1
[ 705.112668] [sound 1053][I2S sunxi_i2s_dai_trigger]
[ 725.299651] [sound 175][PCM sunxi_pcm_trigger] cmd -> 0
[ 725.305645] [sound 1053][I2S sunxi_i2s_dai_trigger]
[ 725.311726] [sound 166][PCM sunxi_pcm_hw_free]
[ 725.317051] [sound 886][I2S sunxi_i2s_dai_shutdown]
[ 725.322709] [sound 103][PCM sunxi_pcm_close]
#前置步骤
1、确认I2S声卡已生成;
2、进入menuconfig,将SND_SOC_SUNXI_DEBUG配置为Y;
3、重新烧录固件后,进入 /sys/class/snd_sunxi 目录。
# cd /sys/class/snd_sunxi/
#
# cat module
optional modules:
1. I2S2
2. machaine-sndi2s2
current module(machaine-sndi2s2)
#
#
# echo machaine-sndi2s2 > module
#
#
# echo 0 > /sys/class/snd_sunxi/dump && cat /sys/class/snd_sunxi/dump
module(machaine-sndi2s2)
CPUPLL FS -> 1
CODECPLL FS -> 1
MCLK FP -> Off
MCLK FS -> 0
FMT -> i2s
MASTER -> CBS_CFS
INVERT -> NB_NF
SLOTS -> 2
SLOT WIDTH -> 16
##
#
# echo I2S2 > module
#
#
# echo 0 > /sys/class/snd_sunxi/dump && cat /sys/class/snd_sunxi/dump
module(I2S2)
[0x000]: 0x 60011
[0x004]: 0x 33
[0x008]: 0x 0
[0x00c]: 0x 10
[0x014]: 0x 400f0
[0x018]: 0x10800080
[0x01c]: 0x 0
[0x024]: 0x 0
[0x028]: 0x 0
[0x02c]: 0x 0
[0x030]: 0x 0
[0x034]: 0x 100000
[0x038]: 0x 100000
[0x03c]: 0x 100000
[0x040]: 0x 100000
[0x044]: 0x 0
[0x048]: 0x 0
[0x04c]: 0x 0
[0x050]: 0x 0
[0x054]: 0x 0
[0x058]: 0x 0
[0x05c]: 0x 0
[0x060]: 0x 0
[0x064]: 0x 100000
[0x068]: 0x 0
[0x06c]: 0x 0
[0x070]: 0x 0
[0x074]: 0x 0
[0x078]: 0x 50
[0x07c]: 0x 22000在小容量存储方案中,我们常常会关注各个分区在spinor中的排布,以此来保证极限使用情况下,烧录和启动过程正常。spinor我们的分布一般是:
0 1 2 3 4 5
boot0 uboot mbr boot rootfs …boot,rootfs…这些的容量大小在我们分区表sys_partition_nor.fex中体现,分区表中记录了flash上mbr之后的每一个分区排布,size的单位是扇区(即512B)。
所以我们只要将分区表中每一个分区(size0+size1+size2+…)/2就可以获得单位为KB的占用容量。
在上文获得的容量的基础上,我们需要再加上boot0,uboot,mbr的大小,其中mbr固定为16KB。
在uboot的defconfig文件中会分别使用CONFIG_SPINOR_UBOOT_OFFSET和CONFIG_SPINOR_LOGICAL_OFFSET来记录boot0和uboot的划分,
例如
CONFIG_SPINOR_UBOOT_OFFSET=128;
CONFIG_SPINOR_LOGICAL_OFFSET=2016的配置下,
说明第0-127扇区用于存放boot0,第128-2015扇区用于存放uboot,从2016扇区开始存放mbr。
所以此时我们可以计算得到uboot+boot0共使用2016扇区,即1008KB,加上16KB的mbr,刚好1MB。对于一些8M的存储方案,我们会剪裁uboot,这时我们可以调整CONFIG_SPINOR_LOGICAL_OFFSET=992,
即boot0+uboot+mbr=512KB 。uboot更改了CONFIG_SPINOR_LOGICAL_OFFSET后,
内核driver/mtd/sunxipart.c中的偏移配置也要跟着修改。
如何确定uboot划分出来的偏移足够放下实际的镜像文件?
放在上表“uboot”位置的镜像在外面编译打包后,
会命名为boot_package_nor.fex,我们在out/image目录下可以找到这个文件,这个文件的大小需要小于我们uboot中划分的大小,以上文的数据为例,uboot可以使用的大小为第128-2015扇区,即(2015-128)*512=966144B 。
[ 1.004095] spi-nor spi0.0: w25q256 (32768 Kbytes)
[ 1.010723] 7 sunxipart partitions found on MTD device spi0.0
[ 1.017326] Creating 7 MTD partitions on "spi0.0":
[ 1.022790] 0x000000000000-0x000000100000 : "uboot"
[ 1.033865] 0x000000100000-0x000000150000 : "boot-resource"
[ 1.044260] 0x000000150000-0x000000170000 : "env"
[ 1.054028] 0x000000170000-0x000000190000 : "env-redund"
[ 1.064078] 0x000000190000-0x0000005d0000 : "boot"
[ 1.074077] 0x0000005d0000-0x000001f20000 : "rootfs"
[ 1.084105] 0x000001f20000-0x000002000000 : "UDISK"# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00001000 "uboot"
mtd1: 00050000 00001000 "boot-resource"
mtd2: 00020000 00001000 "env"
mtd3: 00020000 00001000 "env-redund"
mtd4: 00440000 00001000 "boot"
mtd5: 01950000 00001000 "rootfs"
mtd6: 000e0000 00001000 "UDISK"导出 mtd0 (boot0 && uboot):
cat /dev/mtd0 > /tmp/mtd0_boot_and_uboot.bin从导出的文件可以看出:
boot0 保留了 64K,但是boot0 for spi nor 只有 32K,0 ~ 0x10000
uboot 0x10000 ~ 0xFC000 CONFIG_SPINOR_UBOOT_OFFSET 决定
mbr 0xFC000 ~ 0x100000 CONFIG_SPINOR_LOGICAL_OFFSET 决定
mbr 固定大小 16K
上面 三个加起来刚好 1M !!!
# modprobe xr829
[ 757.921208] ======== XRADIO WIFI OPEN ========
[ 757.926737] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 757.933589] [XRADIO] Allocated hw_priv @ c77b3807
[ 757.939659] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 757.955956] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 758.163153] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 758.166306] [XRADIO] Detect SDIO card 1
[ 758.174414] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 758.202127] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 758.227030] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 758.241653] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 758.263872] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 758.275524] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 758.287427] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 758.300113] mmc1: new high speed SDIO card at address 0001
[ 758.306876] [SBUS] XRadio Device:sdio clk=50000000
[ 758.313090] [XRADIO] XRADIO_HW_REV 1.0 detected.
[ 758.359963] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
[ 758.393188] [XRADIO] Bootloader complete
[ 763.382301] [XRADIO_ERR] xradio_firmware: Timeout waiting for FIFO.
[ 763.389378] [XRADIO_ERR] xradio_load_firmware: can't download firmware.
[ 763.396832] [XRADIO_ERR] xradio_load_firmware failed(-110).
[ 763.403333] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[ 763.510638] [XRADIO] Remove SDIO card 1
[ 763.510646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !!
[ 763.521724] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !!
[ 763.528483] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !!
[ 763.535247] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !!
[ 763.542272] mmc1: card 0001 removed
[ 763.546314] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 763.558815] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 763.570112] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 763.570126] xradio_core_init failed (-110)!
[ 763.589552] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 763.614647] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 763.622310] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 763.629171] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 763.643838] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 763.657601] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 763.665157] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 763.672720] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 763.680271] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 763.687024] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B不能装载 XR829 驱动
正常应该这样才对:
# modprobe xr829
======== XRADIO WIFI OPEN ========
[XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[XRADIO] Allocated hw_priv @ 00000000f78a5c1d
sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[XRADIO] Detect SDIO card 1
sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
mmc1: new high speed SDIO card at address 0001
[SBUS] XRadio Device:sdio clk=50000000
[XRADIO] XRADIO_HW_REV 1.0 detected.
[XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x01400000.
[XRADIO] Bootloader complete
[XRADIO] Firmware completed.
[WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
[XRADIO] Firmware Startup Done.
[XRADIO_WRN] enable Multi-Rx!
ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
# ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=d0:50:bd:66:e8:4b
[STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=d0:50:bd:66:e8:4b
[AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
#
#
# ifconfig
wlan0 Link encap:Ethernet HWaddr D0:50:BD:66:E8:4B
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
#rm out/t113_i/nezha/buildroot/buildroot/build/wifi-firmware/.stamp_target_installed
./build.sh buildroot_package wifi-firmware
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$ rm out/t113_i/nezha/buildroot/buildroot/build/wifi-firmware/.stamp_target_installed
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$ ./build.sh buildroot_package wifi-firmware
08-15 18:09:04.700 46824 D mkcommon : ========ACTION List: build_buildroot_package wifi-firmware;========
08-15 18:09:04.702 46824 D mkcommon : options :
08-15 18:09:04.703 46824 D mkcommon : ==mkcmd.sh: build_buildroot_package==
08-15 18:09:04.706 46824 D mkcommon : make: Entering directory '/opt/T113-Tina5.0-V1.2b/buildroot/buildroot-201902'
08-15 18:09:09.477 46824 D mkcommon : >>> wifi-firmware Installing to target
08-15 18:09:09.481 46824 D mkcommon : /usr/bin/install -d -m 0755 /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/
08-15 18:09:09.487 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/rtl8723ds/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.489 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/rtl8733bs/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.493 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/rtl8821cs/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.500 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/aic8800/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.506 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/ssv6158/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.509 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr819/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.513 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr819a/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.518 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr829/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr829_bt_40M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr829_bt.bin ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr829_40M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr829.bin ; fi;
08-15 18:09:09.521 46824 D mkcommon : if test "y" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr829/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; fi;
08-15 18:09:09.537 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr819s/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr819s_bt_40M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr819s_bt.bin ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr819s_40M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr819s.bin ; fi;
08-15 18:09:09.543 46824 D mkcommon : if test "" = "y" ; then cp -r /opt/T113-Tina5.0-V1.2b/platform/allwinner/wireless/firmware/xr819s/* /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr819s_bt_24M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/fw_xr819s_bt.bin ; mv /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr819s-24M.bin /opt/T113-Tina5.0-V1.2b/out/t113_i/nezha/buildroot/buildroot/target/lib/firmware/sdd_xr819s.bin ; fi;
08-15 18:09:12.894 46824 D mkcommon : make: Leaving directory '/opt/T113-Tina5.0-V1.2b/buildroot/buildroot-201902'
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2b$ 又一块 W25N01GVZEIG彻底坏了,烧录出错:
[1035]fes begin commit:2386bdb825
[1038]set pll start
[1040]fix vccio detect value:0xc0
[1047]periph0 has been enabled
[1050]set pll end
[1052][pmu]: bus read error
[1054]board init ok
[1056]beign to init dram
[1059]get_pmu_exist() = -1
[1061]ddr_efuse_type: 0x0
[1064]trefi:7.8ms
[1066][AUTO DEBUG] two rank and full DQ!
[1070]ddr_efuse_type: 0x0
[1072]trefi:7.8ms
[1075][AUTO DEBUG] rank 0 row = 15
[1078][AUTO DEBUG] rank 0 bank = 8
[1081][AUTO DEBUG] rank 0 page size = 2 KB
[1085][AUTO DEBUG] rank 1 row = 15
[1088][AUTO DEBUG] rank 1 bank = 8
[1092][AUTO DEBUG] rank 1 page size = 2 KB
[1096]rank1 config same as rank0
[1099]DRAM BOOT DRIVE INFO: V0.34
[1102]DRAM CLK = 792 MHz
[1104]DRAM Type = 3 (2:DDR2,3:DDR3)
[1107]DRAMC ZQ value: 0x7b7bfb
[1110]DRAM ODT value: 0x42.
[1113]ddr_efuse_type: 0x0
[1116]DRAM SIZE = 1024 MB
[1120]DRAM simple test OK.
[1122]rtc standby flag is 0x0, super standby flag is 0x0
[1127]init dram ok
U-Boot 2018.07-gce06dac-dirty (Aug 15 2025 - 11:28:09 +0800) Allwinner Technology
[03.550]CPU: Allwinner Family
[03.553]Model: sun8iw20
[03.555]DRAM: 512 MiB
[03.559]Relocation Offset is: 1cebb000
[03.587]secure enable bit: 0
[03.589]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.595]gic: normal mode
[03.598]sunxi flash map init
[03.601]line:703 init_clocks
[03.604]init_clocks:finish
[03.606]flash init start
[03.608]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[03.616][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00
[03.622][mmc]: Is not Boot mode!
[03.625][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.636][mmc]: ************Try SD card 2************
[03.642][mmc]: mmc 2 cmd timeout 100 status 100
[03.646][mmc]: smc 2 err, cmd 8, RTO
[03.649][mmc]: mmc 2 close bus gating and reset
[03.654][mmc]: mmc 2 cmd timeout 100 status 100
[03.658][mmc]: smc 2 err, cmd 55, RTO
[03.662][mmc]: mmc 2 close bus gating and reset
[03.666][mmc]: ************Try MMC card 2************
[03.675][mmc]: mmc 2 cmd timeout 100 status 100
[03.679][mmc]: smc 2 err, cmd 1, RTO
[03.682][mmc]: mmc 2 close bus gating and reset
[03.687][mmc]: Card did not respond to voltage select!
[03.691][mmc]: ************SD/MMC 2 init error!************
[03.697][mmc]: mmc init product failed
MMC init failed
try emmc fail
[03.703]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[03.709]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[03.717]sunxi-spinand-phy: request spi0 gpio ok
[03.721]sunxi-spinand-phy: request general tx dma channel ok!
[03.726]sunxi-spinand-phy: request general rx dma channel ok!
[03.732]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.736]sunxi-spinand-phy: init spic0 clk ok
[03.740]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.747]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.752]sunxi-spinand-phy: ========== arch info ==========
[03.757]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.763]sunxi-spinand-phy: Munufacture: Winbond
[03.768]sunxi-spinand-phy: DieCntPerChip: 1
[03.772]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.777]sunxi-spinand-phy: PageCntPerBlk: 64
[03.781]sunxi-spinand-phy: SectCntPerPage: 4
[03.786]sunxi-spinand-phy: OobSizePerPage: 64
[03.790]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.795]sunxi-spinand-phy: OperationOpt: 0x7
[03.799]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.804]sunxi-spinand-phy: EccFlag: 0x0
[03.809]sunxi-spinand-phy: EccType: 2
[03.813]sunxi-spinand-phy: EccProtectedType: 3
[03.818]sunxi-spinand-phy: ========================================
[03.824]sunxi-spinand-phy:
[03.826]sunxi-spinand-phy: ========== physical info ==========
[03.832]sunxi-spinand-phy: TotalSize: 128 M
[03.836]sunxi-spinand-phy: SectorSize: 512 B
[03.840]sunxi-spinand-phy: PageSize: 2 K
[03.844]sunxi-spinand-phy: BlockSize: 128 K
[03.848]sunxi-spinand-phy: OOBSize: 64 B
[03.852]sunxi-spinand-phy: ========================================
[03.858]sunxi-spinand-phy:
[03.861]sunxi-spinand-phy: ========== logical info ==========
[03.866]sunxi-spinand-phy: TotalSize: 128 M
[03.870]sunxi-spinand-phy: SectorSize: 512 B
[03.874]sunxi-spinand-phy: PageSize: 4 K
[03.878]sunxi-spinand-phy: BlockSize: 256 K
[03.883]sunxi-spinand-phy: OOBSize: 128 B
[03.887]sunxi-spinand-phy: ========================================
[03.893]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[03.899]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[03.904]sunxi-spinand-phy: set spic0 clk to 80 Mhz
[03.909]sunxi-spinand-phy: block lock register: 0x00
[03.913]sunxi-spinand-phy: feature register: 0x19
[03.918]sunxi-spinand-phy: sunxi physic nand init end
[03.923]Loading Environment from SUNXI_FLASH... OK
[03.927]try to burn key
[03.929]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
buf queue page size = 16384
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x1f
set address 0x1f ok
set address 0x20
set address 0x20 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x85e0
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x87d8
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x89d0
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x8bc8
part[3] lenlo :0x85e0
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x111a8
part[4] lenlo :0x22450
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x335f8
part[5] lenlo :0x7e0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x33dd8
part[6] lenlo :0x0
part[6] user_type :33024
part[6] keydata :0
part[6] ro :0
total part: 8
mbr 0, 1f8, 8000
boot-resource 1, 85e0, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 85e0, 8000
rootfs 5, 22450, 8000
private 6, 7e0, 8000
UDISK 7, 0, 8100
[07.181]erase blk 0 to blk 32
need erase flash: 18
[07.205]erase blk 0 to blk 32
[07.224]erase blk 40 to blk 1024
[07.227]blk 40 is bad, skip to erase
[07.231]blk 42 is bad, skip to erase
[07.235]blk 44 is bad, skip to erase
[07.239]blk 46 is bad, skip to erase
[07.242]blk 48 is bad, skip to erase
[07.246]blk 50 is bad, skip to erase
[07.250]blk 52 is bad, skip to erase
[07.254]blk 54 is bad, skip to erase
[07.258]blk 56 is bad, skip to erase
[07.261]blk 58 is bad, skip to erase
[07.265]blk 60 is bad, skip to erase
[07.269]blk 62 is bad, skip to erase
[07.273]blk 64 is bad, skip to erase
[07.276]blk 66 is bad, skip to erase
[07.280]blk 68 is bad, skip to erase
[07.284]blk 70 is bad, skip to erase
[07.288]blk 72 is bad, skip to erase
[07.292]blk 74 is bad, skip to erase
[07.295]blk 76 is bad, skip to erase
[07.299]blk 78 is bad, skip to erase
[07.303]blk 80 is bad, skip to erase
[07.307]blk 82 is bad, skip to erase
[07.311]blk 84 is bad, skip to erase
[07.314]blk 86 is bad, skip to erase
[07.318]blk 88 is bad, skip to erase
[07.322]blk 90 is bad, skip to erase
[07.326]blk 92 is bad, skip to erase
[07.330]blk 94 is bad, skip to erase
[07.333]blk 96 is bad, skip to erase
[07.337]blk 98 is bad, skip to erase
[07.341]blk 100 is bad, skip to erase
[07.345]blk 102 is bad, skip to erase
[07.349]blk 104 is bad, skip to erase
[07.353]blk 106 is bad, skip to erase
[07.356]blk 108 is bad, skip to erase
[07.360]blk 110 is bad, skip to erase
[07.364]blk 112 is bad, skip to erase
[07.368]blk 114 is bad, skip to erase
[07.372]blk 116 is bad, skip to erase
[07.376]blk 118 is bad, skip to erase
[07.380]blk 120 is bad, skip to erase
[07.384]blk 122 is bad, skip to erase
[07.387]blk 124 is bad, skip to erase
[07.391]blk 126 is bad, skip to erase
[07.395]blk 128 is bad, skip to erase
[07.399]blk 130 is bad, skip to erase
[07.403]blk 132 is bad, skip to erase
[07.407]blk 134 is bad, skip to erase
[07.411]blk 136 is bad, skip to erase
[07.415]blk 138 is bad, skip to erase
[07.418]blk 140 is bad, skip to erase
[07.422]blk 142 is bad, skip to erase
[07.426]blk 144 is bad, skip to erase
[07.430]blk 146 is bad, skip to erase
[07.434]blk 148 is bad, skip to erase
[07.438]blk 150 is bad, skip to erase
[07.442]blk 152 is bad, skip to erase
[07.446]blk 154 is bad, skip to erase
[07.449]blk 156 is bad, skip to erase
[07.453]blk 158 is bad, skip to erase
[07.457]blk 160 is bad, skip to erase
[07.461]blk 162 is bad, skip to erase
[07.465]blk 164 is bad, skip to erase
[07.469]blk 166 is bad, skip to erase
[07.473]blk 168 is bad, skip to erase
[07.477]blk 170 is bad, skip to erase
[07.480]blk 172 is bad, skip to erase
[07.484]blk 174 is bad, skip to erase
[07.488]blk 176 is bad, skip to erase
[07.492]blk 178 is bad, skip to erase
[07.496]blk 180 is bad, skip to erase
[07.500]blk 182 is bad, skip to erase
[07.504]blk 184 is bad, skip to erase
[07.508]blk 186 is bad, skip to erase
[07.511]blk 188 is bad, skip to erase
[07.515]blk 190 is bad, skip to erase
[07.519]blk 192 is bad, skip to erase
[07.523]blk 194 is bad, skip to erase
[07.527]blk 196 is bad, skip to erase
[07.531]blk 198 is bad, skip to erase
[07.535]blk 200 is bad, skip to erase
[07.539]blk 202 is bad, skip to erase
[07.542]blk 204 is bad, skip to erase
[07.546]blk 206 is bad, skip to erase
[07.550]blk 208 is bad, skip to erase
[07.554]blk 210 is bad, skip to erase
[07.558]blk 212 is bad, skip to erase
[07.562]blk 214 is bad, skip to erase
[07.566]blk 216 is bad, skip to erase
[07.570]blk 218 is bad, skip to erase
[07.573]blk 220 is bad, skip to erase
[07.577]blk 222 is bad, skip to erase
[07.581]blk 224 is bad, skip to erase
[07.585]blk 226 is bad, skip to erase
[07.589]blk 228 is bad, skip to erase
[07.593]blk 230 is bad, skip to erase
[07.597]blk 232 is bad, skip to erase
[07.601]blk 234 is bad, skip to erase
[07.604]blk 236 is bad, skip to erase
[07.608]blk 238 is bad, skip to erase
[07.612]blk 240 is bad, skip to erase
[07.616]blk 242 is bad, skip to erase
[07.620]blk 244 is bad, skip to erase
[07.624]blk 246 is bad, skip to erase
[07.628]blk 248 is bad, skip to erase
[07.632]blk 250 is bad, skip to erase
[07.636]blk 252 is bad, skip to erase
[07.639]blk 254 is bad, skip to erase
[07.643]blk 256 is bad, skip to erase
[07.647]blk 258 is bad, skip to erase
[07.651]blk 260 is bad, skip to erase
[07.655]blk 262 is bad, skip to erase
[07.659]blk 264 is bad, skip to erase
[07.663]blk 266 is bad, skip to erase
[07.667]blk 268 is bad, skip to erase
[07.670]blk 270 is bad, skip to erase
[07.674]blk 272 is bad, skip to erase
[07.678]blk 274 is bad, skip to erase
[07.682]blk 276 is bad, skip to erase
[07.686]blk 278 is bad, skip to erase
[07.690]blk 280 is bad, skip to erase
[07.694]blk 282 is bad, skip to erase
[07.698]blk 284 is bad, skip to erase
[07.701]blk 286 is bad, skip to erase
[07.705]blk 288 is bad, skip to erase
[07.709]blk 290 is bad, skip to erase
[07.713]blk 292 is bad, skip to erase
[07.717]blk 294 is bad, skip to erase
[07.721]blk 296 is bad, skip to erase
[07.725]blk 298 is bad, skip to erase
[07.729]blk 300 is bad, skip to erase
[07.732]blk 302 is bad, skip to erase
[07.736]blk 304 is bad, skip to erase
[07.740]blk 306 is bad, skip to erase
[07.744]blk 308 is bad, skip to erase
[07.748]blk 310 is bad, skip to erase
[07.752]blk 312 is bad, skip to erase
[07.756]blk 314 is bad, skip to erase
[07.760]blk 316 is bad, skip to erase
[07.763]blk 318 is bad, skip to erase
[07.767]blk 320 is bad, skip to erase
[07.771]blk 322 is bad, skip to erase
[07.775]blk 324 is bad, skip to erase
[07.779]blk 326 is bad, skip to erase
[07.783]blk 328 is bad, skip to erase
[07.787]blk 330 is bad, skip to erase
[07.791]blk 332 is bad, skip to erase
[07.794]blk 334 is bad, skip to erase
[07.798]blk 336 is bad, skip to erase
[07.802]blk 338 is bad, skip to erase
[07.805]blk 339 is bad, skip to erase
[07.809]blk 340 is bad, skip to erase
[07.812]blk 341 is bad, skip to erase
[07.816]blk 342 is bad, skip to erase
[07.819]blk 343 is bad, skip to erase
[07.822]blk 344 is bad, skip to erase
[07.826]blk 345 is bad, skip to erase
[07.829]blk 346 is bad, skip to erase
[07.833]blk 347 is bad, skip to erase
[07.836]blk 348 is bad, skip to erase
[07.839]blk 349 is bad, skip to erase
[07.843]blk 350 is bad, skip to erase
[07.846]blk 351 is bad, skip to erase
[07.849]blk 352 is bad, skip to erase
[07.853]blk 353 is bad, skip to erase
[07.856]blk 354 is bad, skip to erase
[07.860]blk 355 is bad, skip to erase
[07.863]blk 356 is bad, skip to erase
[07.866]blk 357 is bad, skip to erase
[07.870]blk 358 is bad, skip to erase
[07.873]blk 359 is bad, skip to erase
[07.876]blk 360 is bad, skip to erase
[07.880]blk 361 is bad, skip to erase
[07.883]blk 362 is bad, skip to erase
[07.887]blk 364 is bad, skip to erase
[07.890]blk 365 is bad, skip to erase
[07.894]blk 366 is bad, skip to erase
[07.897]blk 367 is bad, skip to erase
[07.901]blk 368 is bad, skip to erase
[07.904]blk 369 is bad, skip to erase
[07.907]blk 370 is bad, skip to erase
[07.911]blk 371 is bad, skip to erase
[07.914]blk 372 is bad, skip to erase
[07.918]blk 373 is bad, skip to erase
[07.921]blk 374 is bad, skip to erase
[07.924]blk 375 is bad, skip to erase
[07.928]blk 376 is bad, skip to erase
[07.931]blk 377 is bad, skip to erase
[07.934]blk 378 is bad, skip to erase
[07.938]blk 379 is bad, skip to erase
[07.941]blk 380 is bad, skip to erase
[07.945]blk 381 is bad, skip to erase
[07.948]blk 382 is bad, skip to erase
[07.951]blk 383 is bad, skip to erase
[07.955]blk 384 is bad, skip to erase
[07.958]blk 385 is bad, skip to erase
[07.961]blk 386 is bad, skip to erase
[07.965]blk 387 is bad, skip to erase
[07.968]blk 388 is bad, skip to erase
[07.972]blk 389 is bad, skip to erase
[07.975]blk 390 is bad, skip to erase
[07.978]blk 391 is bad, skip to erase
[07.982]blk 392 is bad, skip to erase
[07.985]blk 393 is bad, skip to erase
[07.989]blk 394 is bad, skip to erase
[07.992]blk 395 is bad, skip to erase
[07.995]blk 396 is bad, skip to erase
[07.999]blk 397 is bad, skip to erase
[08.002]blk 398 is bad, skip to erase
[08.005]blk 399 is bad, skip to erase
[08.009]blk 400 is bad, skip to erase
[08.012]blk 401 is bad, skip to erase
[08.016]blk 402 is bad, skip to erase
[08.019]blk 403 is bad, skip to erase
[08.022]blk 404 is bad, skip to erase
[08.026]blk 405 is bad, skip to erase
[08.029]blk 406 is bad, skip to erase
[08.032]blk 407 is bad, skip to erase
[08.036]blk 408 is bad, skip to erase
[08.039]blk 409 is bad, skip to erase
[08.043]blk 410 is bad, skip to erase
[08.046]blk 411 is bad, skip to erase
[08.049]blk 412 is bad, skip to erase
[08.053]blk 413 is bad, skip to erase
[08.056]blk 414 is bad, skip to erase
[08.059]blk 415 is bad, skip to erase
[08.063]blk 416 is bad, skip to erase
[08.066]blk 417 is bad, skip to erase
[08.070]blk 418 is bad, skip to erase
[08.073]blk 419 is bad, skip to erase
[08.076]blk 420 is bad, skip to erase
[08.080]blk 421 is bad, skip to erase
[08.083]blk 422 is bad, skip to erase
[08.087]blk 423 is bad, skip to erase
[08.090]blk 424 is bad, skip to erase
[08.093]blk 425 is bad, skip to erase
[08.097]blk 426 is bad, skip to erase
[08.101]blk 428 is bad, skip to erase
[08.104]blk 429 is bad, skip to erase
[08.107]blk 430 is bad, skip to erase
[08.111]blk 431 is bad, skip to erase
[08.114]blk 432 is bad, skip to erase
[08.117]blk 433 is bad, skip to erase
[08.121]blk 434 is bad, skip to erase
[08.124]blk 435 is bad, skip to erase
[08.128]blk 436 is bad, skip to erase
[08.131]blk 437 is bad, skip to erase
[08.134]blk 438 is bad, skip to erase
[08.138]blk 439 is bad, skip to erase
[08.141]blk 440 is bad, skip to erase
[08.144]blk 441 is bad, skip to erase
[08.148]blk 442 is bad, skip to erase
[08.151]blk 443 is bad, skip to erase
[08.155]blk 444 is bad, skip to erase
[08.158]blk 445 is bad, skip to erase
[08.161]blk 446 is bad, skip to erase
[08.165]blk 447 is bad, skip to erase
[08.168]blk 448 is bad, skip to erase
[08.172]blk 449 is bad, skip to erase
[08.175]blk 450 is bad, skip to erase
[08.178]blk 451 is bad, skip to erase
[08.182]blk 452 is bad, skip to erase
[08.185]blk 453 is bad, skip to erase
[08.188]blk 454 is bad, skip to erase
[08.192]blk 455 is bad, skip to erase
[08.195]blk 456 is bad, skip to erase
[08.199]blk 457 is bad, skip to erase
[08.202]blk 458 is bad, skip to erase
[08.205]blk 459 is bad, skip to erase
[08.209]blk 460 is bad, skip to erase
[08.212]blk 461 is bad, skip to erase
[08.215]blk 462 is bad, skip to erase
[08.219]blk 463 is bad, skip to erase
[08.222]blk 464 is bad, skip to erase
[08.226]blk 465 is bad, skip to erase
[08.229]blk 466 is bad, skip to erase
[08.232]blk 467 is bad, skip to erase
[08.236]blk 468 is bad, skip to erase
[08.239]blk 469 is bad, skip to erase
[08.243]blk 470 is bad, skip to erase
[08.246]blk 472 is bad, skip to erase
[08.250]blk 474 is bad, skip to erase
[08.254]blk 476 is bad, skip to erase
[08.258]blk 478 is bad, skip to erase
[08.261]blk 479 is bad, skip to erase
[08.265]blk 480 is bad, skip to erase
[08.268]blk 481 is bad, skip to erase
[08.272]blk 482 is bad, skip to erase
[08.275]blk 483 is bad, skip to erase
[08.278]blk 484 is bad, skip to erase
[08.282]blk 485 is bad, skip to erase
[08.285]blk 486 is bad, skip to erase
[08.288]blk 487 is bad, skip to erase
[08.292]blk 488 is bad, skip to erase
[08.296]blk 490 is bad, skip to erase
[08.300]blk 492 is bad, skip to erase
[08.304]blk 494 is bad, skip to erase
[08.307]blk 496 is bad, skip to erase
[08.311]blk 498 is bad, skip to erase
[08.315]blk 500 is bad, skip to erase
[08.319]blk 502 is bad, skip to erase
[08.323]blk 504 is bad, skip to erase
[08.327]blk 506 is bad, skip to erase
[08.331]blk 508 is bad, skip to erase
[08.335]blk 510 is bad, skip to erase
[08.338]blk 512 is bad, skip to erase
[08.342]blk 514 is bad, skip to erase
[08.346]blk 516 is bad, skip to erase
[08.350]blk 518 is bad, skip to erase
[08.354]blk 520 is bad, skip to erase
[08.358]blk 522 is bad, skip to erase
[08.362]blk 524 is bad, skip to erase
[08.366]blk 526 is bad, skip to erase
[08.369]blk 528 is bad, skip to erase
[08.373]blk 530 is bad, skip to erase
[08.377]blk 532 is bad, skip to erase
[08.381]blk 534 is bad, skip to erase
[08.385]blk 536 is bad, skip to erase
[08.389]blk 538 is bad, skip to erase
[08.393]blk 540 is bad, skip to erase
[08.397]blk 542 is bad, skip to erase
[08.400]blk 544 is bad, skip to erase
[08.404]blk 546 is bad, skip to erase
[08.408]blk 548 is bad, skip to erase
[08.412]blk 550 is bad, skip to erase
[08.416]blk 552 is bad, skip to erase
[08.420]blk 554 is bad, skip to erase
[08.424]blk 556 is bad, skip to erase
[08.428]blk 558 is bad, skip to erase
[08.431]blk 560 is bad, skip to erase
[08.435]blk 562 is bad, skip to erase
[08.439]blk 564 is bad, skip to erase
[08.443]blk 566 is bad, skip to erase
[08.447]blk 568 is bad, skip to erase
[08.451]blk 570 is bad, skip to erase
[08.455]blk 572 is bad, skip to erase
[08.459]blk 574 is bad, skip to erase
[08.462]blk 576 is bad, skip to erase
[08.466]blk 578 is bad, skip to erase
[08.470]blk 580 is bad, skip to erase
[08.474]blk 582 is bad, skip to erase
[08.478]blk 584 is bad, skip to erase
[08.482]blk 586 is bad, skip to erase
[08.486]blk 588 is bad, skip to erase
[08.490]blk 590 is bad, skip to erase
[08.493]blk 592 is bad, skip to erase
[08.497]blk 594 is bad, skip to erase
[08.501]blk 596 is bad, skip to erase
[08.505]blk 598 is bad, skip to erase
[08.509]blk 600 is bad, skip to erase
[08.513]blk 602 is bad, skip to erase
[08.517]blk 604 is bad, skip to erase
[08.521]blk 606 is bad, skip to erase
[08.525]blk 608 is bad, skip to erase
[08.528]blk 610 is bad, skip to erase
[08.532]blk 612 is bad, skip to erase
[08.536]blk 614 is bad, skip to erase
[08.540]blk 616 is bad, skip to erase
[08.544]blk 618 is bad, skip to erase
[08.548]blk 620 is bad, skip to erase
[08.552]blk 622 is bad, skip to erase
[08.556]blk 624 is bad, skip to erase
[08.559]blk 626 is bad, skip to erase
[08.563]blk 628 is bad, skip to erase
[08.567]blk 630 is bad, skip to erase
[08.571]blk 632 is bad, skip to erase
[08.575]blk 634 is bad, skip to erase
[08.579]blk 636 is bad, skip to erase
[08.583]blk 638 is bad, skip to erase
[08.587]blk 640 is bad, skip to erase
[08.590]blk 642 is bad, skip to erase
[08.594]blk 644 is bad, skip to erase
[08.598]blk 646 is bad, skip to erase
[08.602]blk 648 is bad, skip to erase
[08.606]blk 650 is bad, skip to erase
[08.610]blk 652 is bad, skip to erase
[08.614]blk 654 is bad, skip to erase
[08.618]blk 656 is bad, skip to erase
[08.621]blk 658 is bad, skip to erase
[08.625]blk 660 is bad, skip to erase
[08.629]blk 662 is bad, skip to erase
[08.633]blk 664 is bad, skip to erase
[08.637]blk 666 is bad, skip to erase
[08.641]blk 668 is bad, skip to erase
[08.645]blk 670 is bad, skip to erase
[08.649]blk 672 is bad, skip to erase
[08.652]blk 674 is bad, skip to erase
[08.656]blk 676 is bad, skip to erase
[08.660]blk 678 is bad, skip to erase
[08.664]blk 680 is bad, skip to erase
[08.668]blk 682 is bad, skip to erase
[08.672]blk 684 is bad, skip to erase
[08.676]blk 686 is bad, skip to erase
[08.680]blk 688 is bad, skip to erase
[08.683]blk 690 is bad, skip to erase
[08.687]blk 692 is bad, skip to erase
[08.691]blk 694 is bad, skip to erase
[08.695]blk 696 is bad, skip to erase
[08.699]blk 698 is bad, skip to erase
[08.703]blk 700 is bad, skip to erase
[08.707]blk 702 is bad, skip to erase
[08.711]blk 704 is bad, skip to erase
[08.714]blk 706 is bad, skip to erase
[08.718]blk 708 is bad, skip to erase
[08.722]blk 710 is bad, skip to erase
[08.726]blk 712 is bad, skip to erase
[08.730]blk 714 is bad, skip to erase
[08.734]blk 716 is bad, skip to erase
[08.738]blk 718 is bad, skip to erase
[08.742]blk 720 is bad, skip to erase
[08.745]blk 722 is bad, skip to erase
[08.749]blk 724 is bad, skip to erase
[08.753]blk 726 is bad, skip to erase
[08.757]blk 728 is bad, skip to erase
[08.761]blk 730 is bad, skip to erase
[08.765]blk 732 is bad, skip to erase
[08.769]blk 734 is bad, skip to erase
[08.773]blk 736 is bad, skip to erase
[08.776]blk 738 is bad, skip to erase
[08.780]blk 740 is bad, skip to erase
[08.784]blk 742 is bad, skip to erase
[08.788]blk 744 is bad, skip to erase
[08.792]blk 746 is bad, skip to erase
[08.796]blk 748 is bad, skip to erase
[08.800]blk 750 is bad, skip to erase
[08.804]blk 752 is bad, skip to erase
[08.808]blk 754 is bad, skip to erase
[08.811]blk 756 is bad, skip to erase
[08.815]blk 758 is bad, skip to erase
[08.819]blk 760 is bad, skip to erase
[08.823]blk 762 is bad, skip to erase
[08.827]blk 764 is bad, skip to erase
[08.831]blk 766 is bad, skip to erase
[08.835]blk 768 is bad, skip to erase
[08.839]blk 770 is bad, skip to erase
[08.842]blk 772 is bad, skip to erase
[08.846]blk 774 is bad, skip to erase
[08.850]blk 776 is bad, skip to erase
[08.854]blk 778 is bad, skip to erase
[08.858]blk 780 is bad, skip to erase
[08.862]blk 782 is bad, skip to erase
[08.866]blk 784 is bad, skip to erase
[08.870]blk 786 is bad, skip to erase
[08.873]blk 788 is bad, skip to erase
[08.877]blk 790 is bad, skip to erase
[08.881]blk 792 is bad, skip to erase
[08.885]blk 794 is bad, skip to erase
[08.889]blk 796 is bad, skip to erase
[08.893]blk 798 is bad, skip to erase
[08.897]blk 800 is bad, skip to erase
[08.901]blk 802 is bad, skip to erase
[08.904]blk 804 is bad, skip to erase
[08.908]blk 806 is bad, skip to erase
[08.912]blk 808 is bad, skip to erase
[08.916]blk 810 is bad, skip to erase
[08.920]blk 812 is bad, skip to erase
[08.924]blk 814 is bad, skip to erase
[08.928]blk 816 is bad, skip to erase
[08.932]blk 818 is bad, skip to erase
[08.935]blk 820 is bad, skip to erase
[08.939]blk 822 is bad, skip to erase
[08.943]blk 824 is bad, skip to erase
[08.947]blk 826 is bad, skip to erase
[08.951]blk 828 is bad, skip to erase
[08.955]blk 830 is bad, skip to erase
[08.959]blk 832 is bad, skip to erase
[08.963]blk 834 is bad, skip to erase
[08.966]blk 836 is bad, skip to erase
[08.970]blk 838 is bad, skip to erase
[08.974]blk 840 is bad, skip to erase
[08.978]blk 842 is bad, skip to erase
[08.982]blk 844 is bad, skip to erase
[08.986]blk 846 is bad, skip to erase
[08.990]blk 848 is bad, skip to erase
[08.994]blk 850 is bad, skip to erase
[08.997]blk 852 is bad, skip to erase
[09.001]blk 854 is bad, skip to erase
[09.005]blk 856 is bad, skip to erase
[09.009]blk 858 is bad, skip to erase
[09.013]blk 860 is bad, skip to erase
[09.017]blk 862 is bad, skip to erase
[09.021]blk 864 is bad, skip to erase
[09.025]blk 866 is bad, skip to erase
[09.028]blk 868 is bad, skip to erase
[09.032]blk 870 is bad, skip to erase
[09.036]blk 872 is bad, skip to erase
[09.040]blk 874 is bad, skip to erase
[09.044]blk 876 is bad, skip to erase
[09.048]blk 878 is bad, skip to erase
[09.052]blk 880 is bad, skip to erase
[09.056]blk 882 is bad, skip to erase
[09.059]blk 884 is bad, skip to erase
[09.063]blk 886 is bad, skip to erase
[09.067]blk 888 is bad, skip to erase
[09.071]blk 890 is bad, skip to erase
[09.075]blk 892 is bad, skip to erase
[09.079]blk 894 is bad, skip to erase
[09.083]blk 896 is bad, skip to erase
[09.087]blk 898 is bad, skip to erase
[09.091]blk 900 is bad, skip to erase
[09.094]blk 902 is bad, skip to erase
[09.098]blk 904 is bad, skip to erase
[09.102]blk 906 is bad, skip to erase
[09.106]blk 908 is bad, skip to erase
[09.110]blk 910 is bad, skip to erase
[09.114]blk 912 is bad, skip to erase
[09.118]blk 914 is bad, skip to erase
[09.122]blk 916 is bad, skip to erase
[09.125]blk 918 is bad, skip to erase
[09.129]blk 920 is bad, skip to erase
[09.133]blk 922 is bad, skip to erase
[09.137]blk 924 is bad, skip to erase
[09.141]blk 926 is bad, skip to erase
[09.145]blk 928 is bad, skip to erase
[09.149]blk 930 is bad, skip to erase
[09.153]blk 932 is bad, skip to erase
[09.156]blk 934 is bad, skip to erase
[09.160]blk 936 is bad, skip to erase
[09.164]blk 938 is bad, skip to erase
[09.168]blk 940 is bad, skip to erase
[09.172]blk 942 is bad, skip to erase
[09.176]blk 944 is bad, skip to erase
[09.180]blk 946 is bad, skip to erase
[09.184]blk 948 is bad, skip to erase
[09.187]blk 950 is bad, skip to erase
[09.191]blk 952 is bad, skip to erase
[09.195]blk 954 is bad, skip to erase
[09.199]blk 956 is bad, skip to erase
[09.203]blk 958 is bad, skip to erase
[09.207]blk 960 is bad, skip to erase
[09.211]blk 962 is bad, skip to erase
[09.215]blk 964 is bad, skip to erase
[09.218]blk 966 is bad, skip to erase
[09.222]blk 968 is bad, skip to erase
[09.226]blk 970 is bad, skip to erase
[09.230]blk 972 is bad, skip to erase
[09.234]blk 974 is bad, skip to erase
[09.238]blk 976 is bad, skip to erase
[09.242]blk 978 is bad, skip to erase
[09.246]blk 980 is bad, skip to erase
[09.249]blk 982 is bad, skip to erase
[09.253]blk 984 is bad, skip to erase
[09.257]blk 986 is bad, skip to erase
[09.261]blk 988 is bad, skip to erase
[09.265]blk 990 is bad, skip to erase
[09.269]blk 992 is bad, skip to erase
[09.273]blk 994 is bad, skip to erase
[09.277]blk 996 is bad, skip to erase
[09.280]blk 998 is bad, skip to erase
[09.284]blk 1000 is bad, skip to erase
[09.288]blk 1002 is bad, skip to erase
[09.292]blk 1004 is bad, skip to erase
[09.296]blk 1006 is bad, skip to erase
[09.300]blk 1008 is bad, skip to erase
[09.304]blk 1010 is bad, skip to erase
[09.308]blk 1012 is bad, skip to erase
[09.312]blk 1014 is bad, skip to erase
[09.316]blk 1016 is bad, skip to erase
[09.320]blk 1018 is bad, skip to erase
[09.324]blk 1020 is bad, skip to erase
[09.328]blk 1022 is bad, skip to erase
[09.332]get secure storage map err
[09.335]erase secure storage block 0 err
[09.338]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[09.389]MTD info (4)
[09.391]pagesize: 0x1000
[09.393]blksize: 0x40000
[09.395]num offset bytes name
[09.399]0 0x00000000 0x00100000 boot0
[09.402]1 0x00100000 0x00300000 uboot
[09.406]2 0x00400000 0x00100000 secure_storage
[09.411]3 0x00500000 0x07b00000 sys
[09.414]ubi attach the last part of mtd device: NO.3
[09.420]ubi0: attaching mtd4
[09.423]ubi0: scanning is finished
[09.426]ubi0: empty MTD device detected
[09.429]ubi0 error: ubi_early_get_peb: no free eraseblocks
[09.435]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[09.441]UBI error: cannot attach mtd4
[09.444]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[09.457]ubi part sys err !
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[09.504]MTD info (4)
[09.506]pagesize: 0x1000
[09.509]blksize: 0x40000
[09.511]num offset bytes name
[09.514]0 0x00000000 0x00100000 boot0
[09.518]1 0x00100000 0x00300000 uboot
[09.522]2 0x00400000 0x00100000 secure_storage
[09.526]3 0x00500000 0x07b00000 sys
[09.530]MBR info (unalign):
[09.532]partno addr sects type name
[09.537]0 0x00000000 0x000001f8 0x00000001 mbr
[09.542]1 0x000001f8 0x000085e0 0x00008000 boot-resource
[09.547]2 0x000087d8 0x000001f8 0x00008000 env
[09.552]3 0x000089d0 0x000001f8 0x00008000 env-redund
[09.557]4 0x00008bc8 0x000085e0 0x00008000 boot
[09.562]5 0x000111a8 0x00022450 0x00008000 rootfs
[09.567]6 0x000335f8 0x000007e0 0x00008000 private
[09.572]7 0x00033dd8 0x00000000 0x00008100 UDISK
[09.577]ubi attach the last part of mtd device: NO.3
[09.582]MBR info (align):
[09.584]partno addr sects type name
[09.589]0 0x00002800 0x000001f8 0x00000001 mbr
[09.594]1 0x000029f8 0x000085e0 0x00008000 boot-resource
[09.600]2 0x0000afd8 0x000001f8 0x00008000 env
[09.604]3 0x0000b1d0 0x000001f8 0x00008000 env-redund
[09.610]4 0x0000b3c8 0x000085e0 0x00008000 boot
[09.615]5 0x000139a8 0x00022548 0x00008000 rootfs
[09.620]6 0x00035ef0 0x000007e0 0x00008000 private
[09.625]7 0x000366d0 0x00000000 0x00008100 UDISK
[09.630]ubi attach the last part of mtd device: NO.3
[09.634]ubi attatch mtd, name: sys
[09.638]ubi0: attaching mtd4
[09.641]ubi0: scanning is finished
[09.644]ubi0: empty MTD device detected
[09.648]ubi0 error: ubi_early_get_peb: no free eraseblocks
[09.653]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[09.659]UBI error: cannot attach mtd4
[09.662]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[09.675]ubi part sys err !
[09.677]initialize sunxi spinand ubi failed
download_standard_gpt:write mbr sectors fail ret = 0W25N01GWZEIG 1.8V的器件,不支持:
[846]fes begin commit:2386bdb825
[849]set pll start
[851]fix vccio detect value:0xc0
[858]periph0 has been enabled
[861]set pll end
[862][pmu]: bus read error
[865]board init ok
[866]beign to init dram
[869]get_pmu_exist() = -1
[871]ddr_efuse_type: 0x0
[873]trefi:7.8ms
[876][AUTO DEBUG] two rank and full DQ!
[879]ddr_efuse_type: 0x0
[882]trefi:7.8ms
[884][AUTO DEBUG] rank 0 row = 15
[887][AUTO DEBUG] rank 0 bank = 8
[890][AUTO DEBUG] rank 0 page size = 2 KB
[894][AUTO DEBUG] rank 1 row = 15
[897][AUTO DEBUG] rank 1 bank = 8
[900][AUTO DEBUG] rank 1 page size = 2 KB
[904]rank1 config same as rank0
[907]DRAM BOOT DRIVE INFO: V0.34
[910]DRAM CLK = 792 MHz
[912]DRAM Type = 3 (2:DDR2,3:DDR3)
[915]DRAMC ZQ value: 0x7b7bfb
[918]DRAM ODT value: 0x42.
[921]ddr_efuse_type: 0x0
[924]DRAM SIZE = 1024 MB
[927]DRAM simple test OK.
[930]rtc standby flag is 0x0, super standby flag is 0x0
[935]init dram ok
U-Boot 2018.07-gce06dac-dirty (Aug 15 2025 - 11:28:09 +0800) Allwinner Technology
[03.370]CPU: Allwinner Family
[03.373]Model: sun8iw20
[03.375]DRAM: 512 MiB
[03.378]Relocation Offset is: 1cebb000
[03.406]secure enable bit: 0
[03.409]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.415]gic: normal mode
[03.417]sunxi flash map init
[03.420]line:703 init_clocks
[03.423]init_clocks:finish
[03.425]flash init start
[03.428]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[03.436][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00
[03.442][mmc]: Is not Boot mode!
[03.445][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.456][mmc]: ************Try SD card 2************
[03.461][mmc]: mmc 2 cmd timeout 100 status 100
[03.465][mmc]: smc 2 err, cmd 8, RTO
[03.469][mmc]: mmc 2 close bus gating and reset
[03.474][mmc]: mmc 2 cmd timeout 100 status 100
[03.478][mmc]: smc 2 err, cmd 55, RTO
[03.481][mmc]: mmc 2 close bus gating and reset
[03.486][mmc]: ************Try MMC card 2************
[03.494][mmc]: mmc 2 cmd timeout 100 status 100
[03.499][mmc]: smc 2 err, cmd 1, RTO
[03.502][mmc]: mmc 2 close bus gating and reset
[03.506][mmc]: Card did not respond to voltage select!
[03.511][mmc]: ************SD/MMC 2 init error!************
[03.516][mmc]: mmc init product failed
MMC init failed
try emmc fail
[03.523]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[03.529]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[03.537]sunxi-spinand-phy: request spi0 gpio ok
[03.541]sunxi-spinand-phy: request general tx dma channel ok!
[03.546]sunxi-spinand-phy: request general rx dma channel ok!
[03.552]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.556]sunxi-spinand-phy: init spic0 clk ok
[03.560]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.567]sunxi-spinand-phy: get spi-nand Model from fdt fail
[03.572]sunxi-spinand-phy: get phy info from fdt fail
[03.576]sunxi-spinand-phy: not detect munufacture from fdt
[03.582]sunxi-spinand-phy: not detect any munufacture from id table
[03.588]sunxi-spinand-phy: get spi-nand Model from fdt fail
[03.593]sunxi-spinand-phy: get phy info from fdt fail
[03.598]sunxi-spinand-phy: not detect munufacture from fdt
[03.603]sunxi-spinand-phy: not match spinand: 21baef00 0
try nand fail
initcall sequence 5ff6c848 failed at call 4300ed11 (err=-1)
### ERROR ### Please RESET the board ###感觉这块 W25N01GVZEIG彻底坏了,烧录出错:
[1098]fes begin commit:2386bdb825
[1101]set pll start
[1103]fix vccio detect value:0xc0
[1110]periph0 has been enabled
[1113]set pll end
[1115][pmu]: bus read error
[1117]board init ok
[1119]beign to init dram
[1121]get_pmu_exist() = -1
[1124]ddr_efuse_type: 0x0
[1126]trefi:7.8ms
[1129][AUTO DEBUG] two rank and full DQ!
[1133]ddr_efuse_type: 0x0
[1135]trefi:7.8ms
[1137][AUTO DEBUG] rank 0 row = 15
[1140][AUTO DEBUG] rank 0 bank = 8
[1144][AUTO DEBUG] rank 0 page size = 2 KB
[1148][AUTO DEBUG] rank 1 row = 15
[1151][AUTO DEBUG] rank 1 bank = 8
[1154][AUTO DEBUG] rank 1 page size = 2 KB
[1158]rank1 config same as rank0
[1161]DRAM BOOT DRIVE INFO: V0.34
[1164]DRAM CLK = 792 MHz
[1166]DRAM Type = 3 (2:DDR2,3:DDR3)
[1170]DRAMC ZQ value: 0x7b7bfb
[1172]DRAM ODT value: 0x42.
[1175]ddr_efuse_type: 0x0
[1178]DRAM SIZE = 1024 MB
[1182]DRAM simple test OK.
[1184]rtc standby flag is 0x0, super standby flag is 0x0
[1189]init dram ok
U-Boot 2018.07-gce06dac-dirty (Aug 15 2025 - 11:28:09 +0800) Allwinner Technology
[03.631]CPU: Allwinner Family
[03.634]Model: sun8iw20
[03.636]DRAM: 512 MiB
[03.639]Relocation Offset is: 1cebb000
[03.667]secure enable bit: 0
[03.670]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.676]gic: normal mode
[03.678]sunxi flash map init
[03.681]line:703 init_clocks
[03.684]init_clocks:finish
[03.686]flash init start
[03.689]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[03.697][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00
[03.703][mmc]: Is not Boot mode!
[03.706][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.717][mmc]: ************Try SD card 2************
[03.722][mmc]: mmc 2 cmd timeout 100 status 100
[03.726][mmc]: smc 2 err, cmd 8, RTO
[03.730][mmc]: mmc 2 close bus gating and reset
[03.735][mmc]: mmc 2 cmd timeout 100 status 100
[03.739][mmc]: smc 2 err, cmd 55, RTO
[03.742][mmc]: mmc 2 close bus gating and reset
[03.747][mmc]: ************Try MMC card 2************
[03.755][mmc]: mmc 2 cmd timeout 100 status 100
[03.760][mmc]: smc 2 err, cmd 1, RTO
[03.763][mmc]: mmc 2 close bus gating and reset
[03.767][mmc]: Card did not respond to voltage select!
[03.772][mmc]: ************SD/MMC 2 init error!************
[03.777][mmc]: mmc init product failed
MMC init failed
try emmc fail
[03.784]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[03.790]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[03.798]sunxi-spinand-phy: request spi0 gpio ok
[03.802]sunxi-spinand-phy: request general tx dma channel ok!
[03.807]sunxi-spinand-phy: request general rx dma channel ok!
[03.813]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.817]sunxi-spinand-phy: init spic0 clk ok
[03.821]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.827]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.833]sunxi-spinand-phy: ========== arch info ==========
[03.838]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.843]sunxi-spinand-phy: Munufacture: Winbond
[03.848]sunxi-spinand-phy: DieCntPerChip: 1
[03.853]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.857]sunxi-spinand-phy: PageCntPerBlk: 64
[03.862]sunxi-spinand-phy: SectCntPerPage: 4
[03.866]sunxi-spinand-phy: OobSizePerPage: 64
[03.871]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.875]sunxi-spinand-phy: OperationOpt: 0x7
[03.880]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.885]sunxi-spinand-phy: EccFlag: 0x0
[03.889]sunxi-spinand-phy: EccType: 2
[03.894]sunxi-spinand-phy: EccProtectedType: 3
[03.898]sunxi-spinand-phy: ========================================
[03.904]sunxi-spinand-phy:
[03.907]sunxi-spinand-phy: ========== physical info ==========
[03.912]sunxi-spinand-phy: TotalSize: 128 M
[03.916]sunxi-spinand-phy: SectorSize: 512 B
[03.921]sunxi-spinand-phy: PageSize: 2 K
[03.925]sunxi-spinand-phy: BlockSize: 128 K
[03.929]sunxi-spinand-phy: OOBSize: 64 B
[03.933]sunxi-spinand-phy: ========================================
[03.939]sunxi-spinand-phy:
[03.941]sunxi-spinand-phy: ========== logical info ==========
[03.947]sunxi-spinand-phy: TotalSize: 128 M
[03.951]sunxi-spinand-phy: SectorSize: 512 B
[03.955]sunxi-spinand-phy: PageSize: 4 K
[03.959]sunxi-spinand-phy: BlockSize: 256 K
[03.963]sunxi-spinand-phy: OOBSize: 128 B
[03.967]sunxi-spinand-phy: ========================================
[03.974]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[03.979]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[03.985]sunxi-spinand-phy: set spic0 clk to 80 Mhz
[03.989]sunxi-spinand-phy: block lock register: 0x00
[03.994]sunxi-spinand-phy: feature register: 0x19
[03.998]sunxi-spinand-phy: sunxi physic nand init end
[04.003]Loading Environment from SUNXI_FLASH... OK
[04.008]try to burn key
[04.010]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
buf queue page size = 16384
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x27
set address 0x27 ok
set address 0x28
set address 0x28 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x85e0
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x87d8
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x89d0
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x8bc8
part[3] lenlo :0x85e0
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x111a8
part[4] lenlo :0x22450
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x335f8
part[5] lenlo :0x7e0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x33dd8
part[6] lenlo :0x0
part[6] user_type :33024
part[6] keydata :0
part[6] ro :0
total part: 8
mbr 0, 1f8, 8000
boot-resource 1, 85e0, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 85e0, 8000
rootfs 5, 22450, 8000
private 6, 7e0, 8000
UDISK 7, 0, 8100
[07.284]erase blk 0 to blk 32
[07.287]blk 0 is bad, skip to erase
need erase flash: 18
[07.310]erase blk 0 to blk 32
[07.313]blk 0 is bad, skip to erase
[07.333]erase blk 40 to blk 1024
[07.336]blk 40 is bad, skip to erase
[07.340]blk 42 is bad, skip to erase
[07.343]blk 44 is bad, skip to erase
[07.347]blk 46 is bad, skip to erase
[07.351]blk 48 is bad, skip to erase
[07.355]blk 50 is bad, skip to erase
[07.359]blk 52 is bad, skip to erase
[07.362]blk 54 is bad, skip to erase
[07.366]blk 56 is bad, skip to erase
[07.370]blk 58 is bad, skip to erase
[07.374]blk 60 is bad, skip to erase
[07.378]blk 62 is bad, skip to erase
[07.381]blk 64 is bad, skip to erase
[07.385]blk 66 is bad, skip to erase
[07.389]blk 68 is bad, skip to erase
[07.393]blk 70 is bad, skip to erase
[07.397]blk 72 is bad, skip to erase
[07.400]blk 74 is bad, skip to erase
[07.404]blk 76 is bad, skip to erase
[07.408]blk 78 is bad, skip to erase
[07.412]blk 80 is bad, skip to erase
[07.416]blk 82 is bad, skip to erase
[07.419]blk 84 is bad, skip to erase
[07.423]blk 86 is bad, skip to erase
[07.427]blk 88 is bad, skip to erase
[07.431]blk 90 is bad, skip to erase
[07.435]blk 92 is bad, skip to erase
[07.438]blk 94 is bad, skip to erase
[07.442]blk 96 is bad, skip to erase
[07.446]blk 98 is bad, skip to erase
[07.450]blk 100 is bad, skip to erase
[07.454]blk 102 is bad, skip to erase
[07.457]blk 104 is bad, skip to erase
[07.461]blk 106 is bad, skip to erase
[07.465]blk 108 is bad, skip to erase
[07.469]blk 110 is bad, skip to erase
[07.473]blk 112 is bad, skip to erase
[07.477]blk 114 is bad, skip to erase
[07.481]blk 116 is bad, skip to erase
[07.485]blk 118 is bad, skip to erase
[07.489]blk 120 is bad, skip to erase
[07.492]blk 122 is bad, skip to erase
[07.496]blk 124 is bad, skip to erase
[07.500]blk 126 is bad, skip to erase
[07.504]blk 128 is bad, skip to erase
[07.508]blk 130 is bad, skip to erase
[07.512]blk 132 is bad, skip to erase
[07.516]blk 134 is bad, skip to erase
[07.520]blk 136 is bad, skip to erase
[07.524]blk 138 is bad, skip to erase
[07.527]blk 140 is bad, skip to erase
[07.531]blk 142 is bad, skip to erase
[07.535]blk 144 is bad, skip to erase
[07.539]blk 146 is bad, skip to erase
[07.543]blk 148 is bad, skip to erase
[07.547]blk 150 is bad, skip to erase
[07.551]blk 152 is bad, skip to erase
[07.555]blk 154 is bad, skip to erase
[07.559]blk 156 is bad, skip to erase
[07.562]blk 158 is bad, skip to erase
[07.566]blk 160 is bad, skip to erase
[07.570]blk 162 is bad, skip to erase
[07.574]blk 164 is bad, skip to erase
[07.578]blk 166 is bad, skip to erase
[07.582]blk 168 is bad, skip to erase
[07.586]blk 170 is bad, skip to erase
[07.590]blk 172 is bad, skip to erase
[07.593]blk 174 is bad, skip to erase
[07.597]blk 176 is bad, skip to erase
[07.601]blk 178 is bad, skip to erase
[07.605]blk 180 is bad, skip to erase
[07.609]blk 182 is bad, skip to erase
[07.613]blk 184 is bad, skip to erase
[07.617]blk 186 is bad, skip to erase
[07.621]blk 188 is bad, skip to erase
[07.625]blk 190 is bad, skip to erase
[07.628]blk 192 is bad, skip to erase
[07.632]blk 194 is bad, skip to erase
[07.636]blk 196 is bad, skip to erase
[07.640]blk 198 is bad, skip to erase
[07.644]blk 200 is bad, skip to erase
[07.648]blk 202 is bad, skip to erase
[07.652]blk 204 is bad, skip to erase
[07.656]blk 206 is bad, skip to erase
[07.660]blk 208 is bad, skip to erase
[07.663]blk 210 is bad, skip to erase
[07.667]blk 212 is bad, skip to erase
[07.671]blk 214 is bad, skip to erase
[07.675]blk 216 is bad, skip to erase
[07.679]blk 218 is bad, skip to erase
[07.683]blk 220 is bad, skip to erase
[07.687]blk 222 is bad, skip to erase
[07.691]blk 224 is bad, skip to erase
[07.695]blk 226 is bad, skip to erase
[07.698]blk 228 is bad, skip to erase
[07.702]blk 230 is bad, skip to erase
[07.706]blk 232 is bad, skip to erase
[07.710]blk 234 is bad, skip to erase
[07.714]blk 236 is bad, skip to erase
[07.718]blk 238 is bad, skip to erase
[07.722]blk 240 is bad, skip to erase
[07.726]blk 242 is bad, skip to erase
[07.729]blk 244 is bad, skip to erase
[07.733]blk 246 is bad, skip to erase
[07.737]blk 248 is bad, skip to erase
[07.741]blk 250 is bad, skip to erase
[07.745]blk 252 is bad, skip to erase
[07.749]blk 254 is bad, skip to erase
[07.753]blk 256 is bad, skip to erase
[07.757]blk 258 is bad, skip to erase
[07.761]blk 260 is bad, skip to erase
[07.764]blk 262 is bad, skip to erase
[07.768]blk 264 is bad, skip to erase
[07.772]blk 266 is bad, skip to erase
[07.776]blk 268 is bad, skip to erase
[07.780]blk 270 is bad, skip to erase
[07.784]blk 272 is bad, skip to erase
[07.788]blk 274 is bad, skip to erase
[07.792]blk 276 is bad, skip to erase
[07.796]blk 278 is bad, skip to erase
[07.799]blk 280 is bad, skip to erase
[07.803]blk 282 is bad, skip to erase
[07.807]blk 284 is bad, skip to erase
[07.811]blk 286 is bad, skip to erase
[07.815]blk 288 is bad, skip to erase
[07.819]blk 290 is bad, skip to erase
[07.823]blk 292 is bad, skip to erase
[07.827]blk 294 is bad, skip to erase
[07.831]blk 296 is bad, skip to erase
[07.834]blk 298 is bad, skip to erase
[07.838]blk 300 is bad, skip to erase
[07.842]blk 302 is bad, skip to erase
[07.846]blk 304 is bad, skip to erase
[07.850]blk 306 is bad, skip to erase
[07.854]blk 308 is bad, skip to erase
[07.858]blk 310 is bad, skip to erase
[07.862]blk 312 is bad, skip to erase
[07.866]blk 314 is bad, skip to erase
[07.869]blk 316 is bad, skip to erase
[07.873]blk 318 is bad, skip to erase
[07.877]blk 320 is bad, skip to erase
[07.881]blk 322 is bad, skip to erase
[07.885]blk 324 is bad, skip to erase
[07.889]blk 326 is bad, skip to erase
[07.893]blk 328 is bad, skip to erase
[07.897]blk 330 is bad, skip to erase
[07.900]blk 332 is bad, skip to erase
[07.904]blk 334 is bad, skip to erase
[07.908]blk 336 is bad, skip to erase
[07.912]blk 338 is bad, skip to erase
[07.915]blk 339 is bad, skip to erase
[07.919]blk 340 is bad, skip to erase
[07.922]blk 341 is bad, skip to erase
[07.926]blk 342 is bad, skip to erase
[07.929]blk 343 is bad, skip to erase
[07.932]blk 344 is bad, skip to erase
[07.936]blk 345 is bad, skip to erase
[07.939]blk 346 is bad, skip to erase
[07.942]blk 347 is bad, skip to erase
[07.946]blk 348 is bad, skip to erase
[07.949]blk 349 is bad, skip to erase
[07.953]blk 350 is bad, skip to erase
[07.956]blk 351 is bad, skip to erase
[07.959]blk 352 is bad, skip to erase
[07.963]blk 353 is bad, skip to erase
[07.966]blk 354 is bad, skip to erase
[07.970]blk 355 is bad, skip to erase
[07.973]blk 356 is bad, skip to erase
[07.976]blk 357 is bad, skip to erase
[07.980]blk 358 is bad, skip to erase
[07.983]blk 359 is bad, skip to erase
[07.986]blk 360 is bad, skip to erase
[07.990]blk 361 is bad, skip to erase
[07.993]blk 362 is bad, skip to erase
[07.997]blk 363 is bad, skip to erase
[08.000]blk 364 is bad, skip to erase
[08.003]blk 365 is bad, skip to erase
[08.007]blk 366 is bad, skip to erase
[08.010]blk 367 is bad, skip to erase
[08.013]blk 368 is bad, skip to erase
[08.017]blk 369 is bad, skip to erase
[08.020]blk 370 is bad, skip to erase
[08.024]blk 371 is bad, skip to erase
[08.027]blk 372 is bad, skip to erase
[08.030]blk 373 is bad, skip to erase
[08.034]blk 374 is bad, skip to erase
[08.037]blk 375 is bad, skip to erase
[08.040]blk 376 is bad, skip to erase
[08.044]blk 377 is bad, skip to erase
[08.047]blk 378 is bad, skip to erase
[08.051]blk 379 is bad, skip to erase
[08.054]blk 380 is bad, skip to erase
[08.057]blk 381 is bad, skip to erase
[08.061]blk 382 is bad, skip to erase
[08.064]blk 383 is bad, skip to erase
[08.068]blk 384 is bad, skip to erase
[08.071]blk 385 is bad, skip to erase
[08.074]blk 386 is bad, skip to erase
[08.078]blk 387 is bad, skip to erase
[08.081]blk 388 is bad, skip to erase
[08.084]blk 389 is bad, skip to erase
[08.088]blk 390 is bad, skip to erase
[08.091]blk 391 is bad, skip to erase
[08.095]blk 392 is bad, skip to erase
[08.098]blk 393 is bad, skip to erase
[08.101]blk 394 is bad, skip to erase
[08.105]blk 395 is bad, skip to erase
[08.108]blk 396 is bad, skip to erase
[08.111]blk 397 is bad, skip to erase
[08.115]blk 398 is bad, skip to erase
[08.118]blk 399 is bad, skip to erase
[08.122]blk 400 is bad, skip to erase
[08.125]blk 401 is bad, skip to erase
[08.128]blk 402 is bad, skip to erase
[08.132]blk 403 is bad, skip to erase
[08.135]blk 404 is bad, skip to erase
[08.139]blk 405 is bad, skip to erase
[08.142]blk 406 is bad, skip to erase
[08.145]blk 407 is bad, skip to erase
[08.149]blk 408 is bad, skip to erase
[08.152]blk 409 is bad, skip to erase
[08.155]blk 410 is bad, skip to erase
[08.159]blk 411 is bad, skip to erase
[08.162]blk 412 is bad, skip to erase
[08.166]blk 413 is bad, skip to erase
[08.169]blk 414 is bad, skip to erase
[08.172]blk 415 is bad, skip to erase
[08.176]blk 416 is bad, skip to erase
[08.179]blk 417 is bad, skip to erase
[08.182]blk 418 is bad, skip to erase
[08.186]blk 419 is bad, skip to erase
[08.189]blk 420 is bad, skip to erase
[08.193]blk 421 is bad, skip to erase
[08.196]blk 422 is bad, skip to erase
[08.199]blk 423 is bad, skip to erase
[08.203]blk 424 is bad, skip to erase
[08.206]blk 425 is bad, skip to erase
[08.209]blk 426 is bad, skip to erase
[08.213]blk 427 is bad, skip to erase
[08.216]blk 428 is bad, skip to erase
[08.220]blk 429 is bad, skip to erase
[08.223]blk 430 is bad, skip to erase
[08.226]blk 431 is bad, skip to erase
[08.230]blk 432 is bad, skip to erase
[08.233]blk 433 is bad, skip to erase
[08.237]blk 434 is bad, skip to erase
[08.240]blk 435 is bad, skip to erase
[08.243]blk 436 is bad, skip to erase
[08.247]blk 437 is bad, skip to erase
[08.250]blk 438 is bad, skip to erase
[08.253]blk 439 is bad, skip to erase
[08.257]blk 440 is bad, skip to erase
[08.260]blk 441 is bad, skip to erase
[08.264]blk 442 is bad, skip to erase
[08.267]blk 443 is bad, skip to erase
[08.270]blk 444 is bad, skip to erase
[08.274]blk 445 is bad, skip to erase
[08.277]blk 446 is bad, skip to erase
[08.280]blk 447 is bad, skip to erase
[08.284]blk 448 is bad, skip to erase
[08.287]blk 449 is bad, skip to erase
[08.291]blk 450 is bad, skip to erase
[08.294]blk 451 is bad, skip to erase
[08.297]blk 452 is bad, skip to erase
[08.301]blk 453 is bad, skip to erase
[08.304]blk 454 is bad, skip to erase
[08.308]blk 455 is bad, skip to erase
[08.311]blk 456 is bad, skip to erase
[08.314]blk 457 is bad, skip to erase
[08.318]blk 458 is bad, skip to erase
[08.321]blk 459 is bad, skip to erase
[08.324]blk 460 is bad, skip to erase
[08.328]blk 461 is bad, skip to erase
[08.331]blk 462 is bad, skip to erase
[08.335]blk 463 is bad, skip to erase
[08.338]blk 464 is bad, skip to erase
[08.341]blk 465 is bad, skip to erase
[08.345]blk 466 is bad, skip to erase
[08.348]blk 467 is bad, skip to erase
[08.351]blk 468 is bad, skip to erase
[08.355]blk 469 is bad, skip to erase
[08.358]blk 470 is bad, skip to erase
[08.362]blk 472 is bad, skip to erase
[08.366]blk 474 is bad, skip to erase
[08.370]blk 476 is bad, skip to erase
[08.374]blk 478 is bad, skip to erase
[08.377]blk 479 is bad, skip to erase
[08.381]blk 480 is bad, skip to erase
[08.384]blk 481 is bad, skip to erase
[08.387]blk 482 is bad, skip to erase
[08.391]blk 483 is bad, skip to erase
[08.394]blk 484 is bad, skip to erase
[08.398]blk 486 is bad, skip to erase
[08.402]blk 488 is bad, skip to erase
[08.406]blk 490 is bad, skip to erase
[08.410]blk 492 is bad, skip to erase
[08.414]blk 494 is bad, skip to erase
[08.417]blk 496 is bad, skip to erase
[08.421]blk 498 is bad, skip to erase
[08.425]blk 500 is bad, skip to erase
[08.429]blk 502 is bad, skip to erase
[08.433]blk 504 is bad, skip to erase
[08.437]blk 506 is bad, skip to erase
[08.441]blk 508 is bad, skip to erase
[08.445]blk 510 is bad, skip to erase
[08.449]blk 512 is bad, skip to erase
[08.452]blk 514 is bad, skip to erase
[08.456]blk 516 is bad, skip to erase
[08.460]blk 518 is bad, skip to erase
[08.464]blk 520 is bad, skip to erase
[08.468]blk 522 is bad, skip to erase
[08.472]blk 524 is bad, skip to erase
[08.476]blk 526 is bad, skip to erase
[08.480]blk 528 is bad, skip to erase
[08.484]blk 530 is bad, skip to erase
[08.487]blk 532 is bad, skip to erase
[08.491]blk 534 is bad, skip to erase
[08.495]blk 536 is bad, skip to erase
[08.499]blk 538 is bad, skip to erase
[08.503]blk 540 is bad, skip to erase
[08.507]blk 542 is bad, skip to erase
[08.511]blk 544 is bad, skip to erase
[08.515]blk 546 is bad, skip to erase
[08.518]blk 548 is bad, skip to erase
[08.522]blk 550 is bad, skip to erase
[08.526]blk 552 is bad, skip to erase
[08.530]blk 554 is bad, skip to erase
[08.534]blk 556 is bad, skip to erase
[08.538]blk 558 is bad, skip to erase
[08.542]blk 560 is bad, skip to erase
[08.546]blk 562 is bad, skip to erase
[08.550]blk 564 is bad, skip to erase
[08.553]blk 566 is bad, skip to erase
[08.557]blk 568 is bad, skip to erase
[08.561]blk 570 is bad, skip to erase
[08.565]blk 572 is bad, skip to erase
[08.569]blk 574 is bad, skip to erase
[08.573]blk 576 is bad, skip to erase
[08.577]blk 578 is bad, skip to erase
[08.581]blk 580 is bad, skip to erase
[08.585]blk 582 is bad, skip to erase
[08.588]blk 584 is bad, skip to erase
[08.592]blk 586 is bad, skip to erase
[08.596]blk 588 is bad, skip to erase
[08.600]blk 590 is bad, skip to erase
[08.604]blk 592 is bad, skip to erase
[08.608]blk 594 is bad, skip to erase
[08.612]blk 596 is bad, skip to erase
[08.616]blk 598 is bad, skip to erase
[08.620]blk 600 is bad, skip to erase
[08.623]blk 602 is bad, skip to erase
[08.627]blk 604 is bad, skip to erase
[08.631]blk 606 is bad, skip to erase
[08.635]blk 608 is bad, skip to erase
[08.639]blk 610 is bad, skip to erase
[08.643]blk 612 is bad, skip to erase
[08.647]blk 614 is bad, skip to erase
[08.651]blk 616 is bad, skip to erase
[08.654]blk 618 is bad, skip to erase
[08.658]blk 620 is bad, skip to erase
[08.662]blk 622 is bad, skip to erase
[08.666]blk 624 is bad, skip to erase
[08.670]blk 626 is bad, skip to erase
[08.674]blk 628 is bad, skip to erase
[08.678]blk 630 is bad, skip to erase
[08.682]blk 632 is bad, skip to erase
[08.686]blk 634 is bad, skip to erase
[08.689]blk 636 is bad, skip to erase
[08.693]blk 638 is bad, skip to erase
[08.697]blk 640 is bad, skip to erase
[08.701]blk 642 is bad, skip to erase
[08.705]blk 644 is bad, skip to erase
[08.709]blk 646 is bad, skip to erase
[08.713]blk 648 is bad, skip to erase
[08.717]blk 650 is bad, skip to erase
[08.721]blk 652 is bad, skip to erase
[08.724]blk 654 is bad, skip to erase
[08.728]blk 656 is bad, skip to erase
[08.732]blk 658 is bad, skip to erase
[08.736]blk 660 is bad, skip to erase
[08.740]blk 662 is bad, skip to erase
[08.744]blk 664 is bad, skip to erase
[08.748]blk 666 is bad, skip to erase
[08.752]blk 668 is bad, skip to erase
[08.756]blk 670 is bad, skip to erase
[08.759]blk 672 is bad, skip to erase
[08.763]blk 674 is bad, skip to erase
[08.767]blk 676 is bad, skip to erase
[08.771]blk 678 is bad, skip to erase
[08.775]blk 680 is bad, skip to erase
[08.779]blk 682 is bad, skip to erase
[08.783]blk 684 is bad, skip to erase
[08.787]blk 686 is bad, skip to erase
[08.791]blk 688 is bad, skip to erase
[08.794]blk 690 is bad, skip to erase
[08.798]blk 692 is bad, skip to erase
[08.802]blk 694 is bad, skip to erase
[08.806]blk 696 is bad, skip to erase
[08.810]blk 698 is bad, skip to erase
[08.814]blk 700 is bad, skip to erase
[08.818]blk 702 is bad, skip to erase
[08.822]blk 704 is bad, skip to erase
[08.825]blk 706 is bad, skip to erase
[08.829]blk 708 is bad, skip to erase
[08.833]blk 710 is bad, skip to erase
[08.837]blk 712 is bad, skip to erase
[08.841]blk 714 is bad, skip to erase
[08.845]blk 716 is bad, skip to erase
[08.849]blk 718 is bad, skip to erase
[08.853]blk 720 is bad, skip to erase
[08.857]blk 722 is bad, skip to erase
[08.860]blk 724 is bad, skip to erase
[08.864]blk 726 is bad, skip to erase
[08.868]blk 728 is bad, skip to erase
[08.872]blk 730 is bad, skip to erase
[08.876]blk 732 is bad, skip to erase
[08.880]blk 734 is bad, skip to erase
[08.884]blk 736 is bad, skip to erase
[08.888]blk 738 is bad, skip to erase
[08.892]blk 740 is bad, skip to erase
[08.895]blk 742 is bad, skip to erase
[08.899]blk 744 is bad, skip to erase
[08.903]blk 746 is bad, skip to erase
[08.907]blk 748 is bad, skip to erase
[08.911]blk 750 is bad, skip to erase
[08.915]blk 752 is bad, skip to erase
[08.919]blk 754 is bad, skip to erase
[08.923]blk 756 is bad, skip to erase
[08.927]blk 758 is bad, skip to erase
[08.930]blk 760 is bad, skip to erase
[08.934]blk 762 is bad, skip to erase
[08.938]blk 764 is bad, skip to erase
[08.942]blk 766 is bad, skip to erase
[08.946]blk 768 is bad, skip to erase
[08.950]blk 770 is bad, skip to erase
[08.954]blk 772 is bad, skip to erase
[08.958]blk 774 is bad, skip to erase
[08.961]blk 776 is bad, skip to erase
[08.965]blk 778 is bad, skip to erase
[08.969]blk 780 is bad, skip to erase
[08.973]blk 782 is bad, skip to erase
[08.977]blk 784 is bad, skip to erase
[08.981]blk 786 is bad, skip to erase
[08.985]blk 788 is bad, skip to erase
[08.989]blk 790 is bad, skip to erase
[08.993]blk 792 is bad, skip to erase
[08.996]blk 794 is bad, skip to erase
[09.000]blk 796 is bad, skip to erase
[09.004]blk 798 is bad, skip to erase
[09.008]blk 800 is bad, skip to erase
[09.012]blk 802 is bad, skip to erase
[09.016]blk 804 is bad, skip to erase
[09.020]blk 806 is bad, skip to erase
[09.024]blk 808 is bad, skip to erase
[09.028]blk 810 is bad, skip to erase
[09.031]blk 812 is bad, skip to erase
[09.035]blk 814 is bad, skip to erase
[09.039]blk 816 is bad, skip to erase
[09.043]blk 818 is bad, skip to erase
[09.047]blk 820 is bad, skip to erase
[09.051]blk 822 is bad, skip to erase
[09.055]blk 824 is bad, skip to erase
[09.059]blk 826 is bad, skip to erase
[09.063]blk 828 is bad, skip to erase
[09.066]blk 830 is bad, skip to erase
[09.070]blk 832 is bad, skip to erase
[09.074]blk 834 is bad, skip to erase
[09.078]blk 836 is bad, skip to erase
[09.082]blk 838 is bad, skip to erase
[09.086]blk 840 is bad, skip to erase
[09.090]blk 842 is bad, skip to erase
[09.094]blk 844 is bad, skip to erase
[09.097]blk 846 is bad, skip to erase
[09.101]blk 848 is bad, skip to erase
[09.105]blk 850 is bad, skip to erase
[09.109]blk 852 is bad, skip to erase
[09.113]blk 854 is bad, skip to erase
[09.117]blk 856 is bad, skip to erase
[09.121]blk 858 is bad, skip to erase
[09.125]blk 860 is bad, skip to erase
[09.129]blk 862 is bad, skip to erase
[09.132]blk 864 is bad, skip to erase
[09.136]blk 866 is bad, skip to erase
[09.140]blk 868 is bad, skip to erase
[09.144]blk 870 is bad, skip to erase
[09.148]blk 872 is bad, skip to erase
[09.152]blk 874 is bad, skip to erase
[09.156]blk 876 is bad, skip to erase
[09.160]blk 878 is bad, skip to erase
[09.164]blk 880 is bad, skip to erase
[09.167]blk 882 is bad, skip to erase
[09.171]blk 884 is bad, skip to erase
[09.175]blk 886 is bad, skip to erase
[09.179]blk 888 is bad, skip to erase
[09.183]blk 890 is bad, skip to erase
[09.187]blk 892 is bad, skip to erase
[09.191]blk 894 is bad, skip to erase
[09.195]blk 896 is bad, skip to erase
[09.199]blk 898 is bad, skip to erase
[09.202]blk 900 is bad, skip to erase
[09.206]blk 902 is bad, skip to erase
[09.210]blk 904 is bad, skip to erase
[09.214]blk 906 is bad, skip to erase
[09.218]blk 908 is bad, skip to erase
[09.222]blk 910 is bad, skip to erase
[09.226]blk 912 is bad, skip to erase
[09.230]blk 914 is bad, skip to erase
[09.234]blk 916 is bad, skip to erase
[09.237]blk 918 is bad, skip to erase
[09.241]blk 920 is bad, skip to erase
[09.245]blk 922 is bad, skip to erase
[09.249]blk 924 is bad, skip to erase
[09.253]blk 926 is bad, skip to erase
[09.257]blk 928 is bad, skip to erase
[09.261]blk 930 is bad, skip to erase
[09.265]blk 932 is bad, skip to erase
[09.268]blk 934 is bad, skip to erase
[09.272]blk 936 is bad, skip to erase
[09.276]blk 938 is bad, skip to erase
[09.280]blk 940 is bad, skip to erase
[09.284]blk 942 is bad, skip to erase
[09.288]blk 944 is bad, skip to erase
[09.292]blk 946 is bad, skip to erase
[09.296]blk 948 is bad, skip to erase
[09.300]blk 950 is bad, skip to erase
[09.303]blk 952 is bad, skip to erase
[09.307]blk 954 is bad, skip to erase
[09.311]blk 956 is bad, skip to erase
[09.315]blk 958 is bad, skip to erase
[09.319]blk 960 is bad, skip to erase
[09.323]blk 962 is bad, skip to erase
[09.327]blk 964 is bad, skip to erase
[09.331]blk 966 is bad, skip to erase
[09.335]blk 968 is bad, skip to erase
[09.338]blk 970 is bad, skip to erase
[09.342]blk 972 is bad, skip to erase
[09.346]blk 974 is bad, skip to erase
[09.350]blk 976 is bad, skip to erase
[09.354]blk 978 is bad, skip to erase
[09.358]blk 980 is bad, skip to erase
[09.362]blk 982 is bad, skip to erase
[09.366]blk 984 is bad, skip to erase
[09.370]blk 986 is bad, skip to erase
[09.373]blk 988 is bad, skip to erase
[09.377]blk 990 is bad, skip to erase
[09.381]blk 992 is bad, skip to erase
[09.385]blk 994 is bad, skip to erase
[09.389]blk 996 is bad, skip to erase
[09.393]blk 998 is bad, skip to erase
[09.397]blk 1000 is bad, skip to erase
[09.401]blk 1002 is bad, skip to erase
[09.405]blk 1004 is bad, skip to erase
[09.409]blk 1006 is bad, skip to erase
[09.413]blk 1008 is bad, skip to erase
[09.417]blk 1010 is bad, skip to erase
[09.421]blk 1012 is bad, skip to erase
[09.425]blk 1014 is bad, skip to erase
[09.429]blk 1016 is bad, skip to erase
[09.432]blk 1018 is bad, skip to erase
[09.436]blk 1020 is bad, skip to erase
[09.440]blk 1022 is bad, skip to erase
[09.444]get secure storage map err
[09.447]erase secure storage block 0 err
[09.451]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[09.501]MTD info (4)
[09.503]pagesize: 0x1000
[09.506]blksize: 0x40000
[09.508]num offset bytes name
[09.511]0 0x00000000 0x00100000 boot0
[09.515]1 0x00100000 0x00300000 uboot
[09.519]2 0x00400000 0x00100000 secure_storage
[09.523]3 0x00500000 0x07b00000 sys
[09.527]ubi attach the last part of mtd device: NO.3
[09.532]ubi0: attaching mtd4
[09.535]ubi0: scanning is finished
[09.538]ubi0: empty MTD device detected
[09.542]ubi0 error: ubi_early_get_peb: no free eraseblocks
[09.547]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[09.554]UBI error: cannot attach mtd4
[09.557]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[09.569]ubi part sys err !
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[09.617]MTD info (4)
[09.619]pagesize: 0x1000
[09.621]blksize: 0x40000
[09.623]num offset bytes name
[09.627]0 0x00000000 0x00100000 boot0
[09.630]1 0x00100000 0x00300000 uboot
[09.634]2 0x00400000 0x00100000 secure_storage
[09.639]3 0x00500000 0x07b00000 sys
[09.642]MBR info (unalign):
[09.645]partno addr sects type name
[09.649]0 0x00000000 0x000001f8 0x00000001 mbr
[09.654]1 0x000001f8 0x000085e0 0x00008000 boot-resource
[09.660]2 0x000087d8 0x000001f8 0x00008000 env
[09.665]3 0x000089d0 0x000001f8 0x00008000 env-redund
[09.670]4 0x00008bc8 0x000085e0 0x00008000 boot
[09.675]5 0x000111a8 0x00022450 0x00008000 rootfs
[09.680]6 0x000335f8 0x000007e0 0x00008000 private
[09.685]7 0x00033dd8 0x00000000 0x00008100 UDISK
[09.690]ubi attach the last part of mtd device: NO.3
[09.695]MBR info (align):
[09.697]partno addr sects type name
[09.702]0 0x00002800 0x000001f8 0x00000001 mbr
[09.706]1 0x000029f8 0x000085e0 0x00008000 boot-resource
[09.712]2 0x0000afd8 0x000001f8 0x00008000 env
[09.717]3 0x0000b1d0 0x000001f8 0x00008000 env-redund
[09.722]4 0x0000b3c8 0x000085e0 0x00008000 boot
[09.727]5 0x000139a8 0x00022548 0x00008000 rootfs
[09.732]6 0x00035ef0 0x000007e0 0x00008000 private
[09.737]7 0x000366d0 0x00000000 0x00008100 UDISK
[09.742]ubi attach the last part of mtd device: NO.3
[09.747]ubi attatch mtd, name: sys
[09.750]ubi0: attaching mtd4
[09.754]ubi0: scanning is finished
[09.756]ubi0: empty MTD device detected
[09.760]ubi0 error: ubi_early_get_peb: no free eraseblocks
[09.765]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[09.772]UBI error: cannot attach mtd4
[09.775]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[09.787]ubi part sys err !
[09.790]initialize sunxi spinand ubi failed
download_standard_gpt:write mbr sectors fail ret = 0感觉这块 W25N02KVZEIR 彻底坏了,烧录出错:
[1552]fes begin commit:2386bdb825
[1555]set pll start
[1557]fix vccio detect value:0xc0
[1564]periph0 has been enabled
[1567]set pll end
[1569][pmu]: bus read error
[1571]board init ok
[1573]beign to init dram
[1576]get_pmu_exist() = -1
[1578]ddr_efuse_type: 0x0
[1581]trefi:7.8ms
[1583][AUTO DEBUG] two rank and full DQ!
[1587]ddr_efuse_type: 0x0
[1589]trefi:7.8ms
[1592][AUTO DEBUG] rank 0 row = 15
[1595][AUTO DEBUG] rank 0 bank = 8
[1598][AUTO DEBUG] rank 0 page size = 2 KB
[1602][AUTO DEBUG] rank 1 row = 15
[1606][AUTO DEBUG] rank 1 bank = 8
[1609][AUTO DEBUG] rank 1 page size = 2 KB
[1613]rank1 config same as rank0
[1616]DRAM BOOT DRIVE INFO: V0.34
[1619]DRAM CLK = 792 MHz
[1622]DRAM Type = 3 (2:DDR2,3:DDR3)
[1625]DRAMC ZQ value: 0x7b7bfb
[1628]DRAM ODT value: 0x42.
[1631]ddr_efuse_type: 0x0
[1634]DRAM SIZE = 1024 MB
[1638]DRAM simple test OK.
[1640]rtc standby flag is 0x0, super standby flag is 0x0
[1646]init dram ok
U-Boot 2018.07-gce06dac-dirty (Aug 15 2025 - 11:28:09 +0800) Allwinner Technology
[04.065]CPU: Allwinner Family
[04.068]Model: sun8iw20
[04.070]DRAM: 512 MiB
[04.073]Relocation Offset is: 1cebb000
[04.101]secure enable bit: 0
[04.104]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[04.110]gic: normal mode
[04.112]sunxi flash map init
[04.116]line:703 init_clocks
[04.118]init_clocks:finish
[04.121]flash init start
[04.123]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[04.131][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00
[04.137][mmc]: Is not Boot mode!
[04.140][mmc]: SUNXI SDMMC Controller Version:0x50310
[04.151][mmc]: ************Try SD card 2************
[04.156][mmc]: mmc 2 cmd timeout 100 status 100
[04.160][mmc]: smc 2 err, cmd 8, RTO
[04.164][mmc]: mmc 2 close bus gating and reset
[04.169][mmc]: mmc 2 cmd timeout 100 status 100
[04.173][mmc]: smc 2 err, cmd 55, RTO
[04.176][mmc]: mmc 2 close bus gating and reset
[04.181][mmc]: ************Try MMC card 2************
[04.190][mmc]: mmc 2 cmd timeout 100 status 100
[04.194][mmc]: smc 2 err, cmd 1, RTO
[04.197][mmc]: mmc 2 close bus gating and reset
[04.201][mmc]: Card did not respond to voltage select!
[04.206][mmc]: ************SD/MMC 2 init error!************
[04.211][mmc]: mmc init product failed
MMC init failed
try emmc fail
[04.218]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[04.224]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[04.232]sunxi-spinand-phy: request spi0 gpio ok
[04.236]sunxi-spinand-phy: request general tx dma channel ok!
[04.241]sunxi-spinand-phy: request general rx dma channel ok!
[04.247]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[04.251]sunxi-spinand-phy: init spic0 clk ok
[04.257]sunxi-spinand-phy: detect munufacture from id table: Winbond
[04.263]sunxi-spinand-phy: detect spinand id: ff22aaef ffffffff
[04.269]sunxi-spinand-phy: ========== arch info ==========
[04.274]sunxi-spinand-phy: Model: W25N02KVZEIR
[04.279]sunxi-spinand-phy: Munufacture: Winbond
[04.284]sunxi-spinand-phy: DieCntPerChip: 1
[04.289]sunxi-spinand-phy: BlkCntPerDie: 2048
[04.293]sunxi-spinand-phy: PageCntPerBlk: 64
[04.298]sunxi-spinand-phy: SectCntPerPage: 4
[04.302]sunxi-spinand-phy: OobSizePerPage: 64
[04.307]sunxi-spinand-phy: BadBlockFlag: 0x0
[04.311]sunxi-spinand-phy: OperationOpt: 0xf
[04.316]sunxi-spinand-phy: MaxEraseTimes: 60000
[04.321]sunxi-spinand-phy: EccFlag: 0x0
[04.325]sunxi-spinand-phy: EccType: 6
[04.330]sunxi-spinand-phy: EccProtectedType: 2
[04.334]sunxi-spinand-phy: ========================================
[04.340]sunxi-spinand-phy:
[04.343]sunxi-spinand-phy: ========== physical info ==========
[04.348]sunxi-spinand-phy: TotalSize: 256 M
[04.352]sunxi-spinand-phy: SectorSize: 512 B
[04.356]sunxi-spinand-phy: PageSize: 2 K
[04.360]sunxi-spinand-phy: BlockSize: 128 K
[04.365]sunxi-spinand-phy: OOBSize: 64 B
[04.369]sunxi-spinand-phy: ========================================
[04.375]sunxi-spinand-phy:
[04.377]sunxi-spinand-phy: ========== logical info ==========
[04.383]sunxi-spinand-phy: TotalSize: 256 M
[04.387]sunxi-spinand-phy: SectorSize: 512 B
[04.391]sunxi-spinand-phy: PageSize: 4 K
[04.395]sunxi-spinand-phy: BlockSize: 256 K
[04.399]sunxi-spinand-phy: OOBSize: 128 B
[04.403]sunxi-spinand-phy: ========================================
[04.410]sunxi-spinand-phy: W25N02KVZEIR reset rx bit width to 1
[04.415]sunxi-spinand-phy: W25N02KVZEIR reset tx bit width to 1
[04.421]sunxi-spinand-phy: set spic0 clk to 80 Mhz
[04.425]sunxi-spinand-phy: block lock register: 0x00
[04.430]sunxi-spinand-phy: feature register: 0x18
[04.434]sunxi-spinand-phy: sunxi physic nand init end
[04.439]Loading Environment from SUNXI_FLASH... OK
[04.444]try to burn key
[04.446]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
buf queue page size = 16384
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x16
set address 0x16 ok
set address 0x17
set address 0x17 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x85e0
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x87d8
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x89d0
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x8bc8
part[3] lenlo :0x85e0
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x111a8
part[4] lenlo :0x22450
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x335f8
part[5] lenlo :0x7e0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x33dd8
part[6] lenlo :0x0
part[6] user_type :33024
part[6] keydata :0
part[6] ro :0
total part: 8
mbr 0, 1f8, 8000
boot-resource 1, 85e0, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 85e0, 8000
rootfs 5, 22450, 8000
private 6, 7e0, 8000
UDISK 7, 0, 8100
[07.751]erase blk 0 to blk 32
[07.753]blk 0 is bad, skip to erase
[07.757]blk 1 is bad, skip to erase
[07.760]blk 2 is bad, skip to erase
[07.763]blk 3 is bad, skip to erase
[07.766]blk 4 is bad, skip to erase
[07.769]blk 5 is bad, skip to erase
[07.773]blk 6 is bad, skip to erase
[07.776]blk 7 is bad, skip to erase
[07.779]blk 8 is bad, skip to erase
[07.782]blk 9 is bad, skip to erase
[07.786]blk 10 is bad, skip to erase
[07.789]blk 11 is bad, skip to erase
[07.792]blk 12 is bad, skip to erase
[07.795]blk 13 is bad, skip to erase
[07.799]blk 14 is bad, skip to erase
[07.802]blk 15 is bad, skip to erase
[07.805]blk 16 is bad, skip to erase
[07.809]blk 17 is bad, skip to erase
[07.812]blk 18 is bad, skip to erase
[07.815]blk 19 is bad, skip to erase
[07.818]blk 20 is bad, skip to erase
[07.822]blk 21 is bad, skip to erase
[07.825]blk 22 is bad, skip to erase
[07.828]blk 23 is bad, skip to erase
[07.832]blk 24 is bad, skip to erase
[07.835]blk 25 is bad, skip to erase
[07.838]blk 26 is bad, skip to erase
[07.841]blk 27 is bad, skip to erase
[07.845]blk 28 is bad, skip to erase
[07.848]blk 29 is bad, skip to erase
[07.851]blk 30 is bad, skip to erase
[07.855]blk 31 is bad, skip to erase
need erase flash: 18
[07.860]erase blk 0 to blk 32
[07.863]blk 0 is bad, skip to erase
[07.866]blk 1 is bad, skip to erase
[07.869]blk 2 is bad, skip to erase
[07.872]blk 3 is bad, skip to erase
[07.875]blk 4 is bad, skip to erase
[07.879]blk 5 is bad, skip to erase
[07.882]blk 6 is bad, skip to erase
[07.885]blk 7 is bad, skip to erase
[07.888]blk 8 is bad, skip to erase
[07.891]blk 9 is bad, skip to erase
[07.895]blk 10 is bad, skip to erase
[07.898]blk 11 is bad, skip to erase
[07.901]blk 12 is bad, skip to erase
[07.904]blk 13 is bad, skip to erase
[07.908]blk 14 is bad, skip to erase
[07.911]blk 15 is bad, skip to erase
[07.914]blk 16 is bad, skip to erase
[07.918]blk 17 is bad, skip to erase
[07.921]blk 18 is bad, skip to erase
[07.924]blk 19 is bad, skip to erase
[07.928]blk 20 is bad, skip to erase
[07.931]blk 21 is bad, skip to erase
[07.934]blk 22 is bad, skip to erase
[07.937]blk 23 is bad, skip to erase
[07.941]blk 24 is bad, skip to erase
[07.944]blk 25 is bad, skip to erase
[07.947]blk 26 is bad, skip to erase
[07.951]blk 27 is bad, skip to erase
[07.954]blk 28 is bad, skip to erase
[07.957]blk 29 is bad, skip to erase
[07.960]blk 30 is bad, skip to erase
[07.964]blk 31 is bad, skip to erase
[07.967]erase blk 40 to blk 2048
[07.970]blk 40 is bad, skip to erase
[07.973]blk 41 is bad, skip to erase
[07.977]blk 42 is bad, skip to erase
[07.980]blk 43 is bad, skip to erase
[07.983]blk 44 is bad, skip to erase
[07.986]blk 45 is bad, skip to erase
[07.990]blk 46 is bad, skip to erase
[07.993]blk 47 is bad, skip to erase
[07.996]blk 48 is bad, skip to erase
[08.000]blk 49 is bad, skip to erase
[08.003]blk 50 is bad, skip to erase
[08.006]blk 51 is bad, skip to erase
[08.010]blk 52 is bad, skip to erase
[08.013]blk 53 is bad, skip to erase
[08.016]blk 54 is bad, skip to erase
[08.019]blk 55 is bad, skip to erase
[08.023]blk 56 is bad, skip to erase
[08.026]blk 57 is bad, skip to erase
[08.029]blk 58 is bad, skip to erase
[08.033]blk 59 is bad, skip to erase
[08.036]blk 60 is bad, skip to erase
[08.039]blk 61 is bad, skip to erase
[08.042]blk 62 is bad, skip to erase
[08.046]blk 63 is bad, skip to erase
[08.049]blk 64 is bad, skip to erase
[08.052]blk 65 is bad, skip to erase
[08.056]blk 66 is bad, skip to erase
[08.059]blk 67 is bad, skip to erase
[08.062]blk 68 is bad, skip to erase
[08.066]blk 69 is bad, skip to erase
[08.069]blk 70 is bad, skip to erase
[08.072]blk 71 is bad, skip to erase
[08.075]blk 72 is bad, skip to erase
[08.079]blk 73 is bad, skip to erase
[08.082]blk 74 is bad, skip to erase
[08.085]blk 75 is bad, skip to erase
[08.089]blk 76 is bad, skip to erase
[08.092]blk 77 is bad, skip to erase
[08.095]blk 78 is bad, skip to erase
[08.098]blk 79 is bad, skip to erase
[08.102]blk 80 is bad, skip to erase
[08.105]blk 81 is bad, skip to erase
[08.108]blk 82 is bad, skip to erase
[08.112]blk 83 is bad, skip to erase
[08.115]blk 84 is bad, skip to erase
[08.118]blk 85 is bad, skip to erase
[08.122]blk 86 is bad, skip to erase
[08.125]blk 87 is bad, skip to erase
[08.128]blk 88 is bad, skip to erase
[08.131]blk 89 is bad, skip to erase
[08.135]blk 90 is bad, skip to erase
[08.138]blk 91 is bad, skip to erase
[08.141]blk 92 is bad, skip to erase
[08.145]blk 93 is bad, skip to erase
[08.148]blk 94 is bad, skip to erase
[08.151]blk 95 is bad, skip to erase
[08.154]blk 96 is bad, skip to erase
[08.158]blk 97 is bad, skip to erase
[08.161]blk 98 is bad, skip to erase
[08.164]blk 99 is bad, skip to erase
[08.168]blk 100 is bad, skip to erase
[08.171]blk 101 is bad, skip to erase
[08.174]blk 102 is bad, skip to erase
[08.178]blk 103 is bad, skip to erase
[08.181]blk 104 is bad, skip to erase
[08.185]blk 105 is bad, skip to erase
[08.188]blk 106 is bad, skip to erase
[08.191]blk 107 is bad, skip to erase
[08.195]blk 108 is bad, skip to erase
[08.198]blk 109 is bad, skip to erase
[08.201]blk 110 is bad, skip to erase
[08.205]blk 111 is bad, skip to erase
[08.208]blk 112 is bad, skip to erase
[08.212]blk 113 is bad, skip to erase
[08.215]blk 114 is bad, skip to erase
[08.218]blk 115 is bad, skip to erase
[08.222]blk 116 is bad, skip to erase
[08.225]blk 117 is bad, skip to erase
[08.228]blk 118 is bad, skip to erase
[08.232]blk 119 is bad, skip to erase
[08.235]blk 120 is bad, skip to erase
[08.239]blk 121 is bad, skip to erase
[08.242]blk 122 is bad, skip to erase
[08.245]blk 123 is bad, skip to erase
[08.249]blk 124 is bad, skip to erase
[08.252]blk 125 is bad, skip to erase
[08.256]blk 126 is bad, skip to erase
[08.259]blk 127 is bad, skip to erase
[08.262]blk 128 is bad, skip to erase
[08.266]blk 129 is bad, skip to erase
[08.269]blk 130 is bad, skip to erase
[08.272]blk 131 is bad, skip to erase
[08.276]blk 132 is bad, skip to erase
[08.279]blk 133 is bad, skip to erase
[08.283]blk 134 is bad, skip to erase
[08.286]blk 135 is bad, skip to erase
[08.289]blk 136 is bad, skip to erase
[08.293]blk 137 is bad, skip to erase
[08.296]blk 138 is bad, skip to erase
[08.299]blk 139 is bad, skip to erase
[08.303]blk 140 is bad, skip to erase
[08.306]blk 141 is bad, skip to erase
[08.310]blk 142 is bad, skip to erase
[08.313]blk 143 is bad, skip to erase
[08.316]blk 144 is bad, skip to erase
[08.320]blk 145 is bad, skip to erase
[08.323]blk 146 is bad, skip to erase
[08.326]blk 147 is bad, skip to erase
[08.330]blk 148 is bad, skip to erase
[08.333]blk 149 is bad, skip to erase
[08.337]blk 150 is bad, skip to erase
[08.340]blk 151 is bad, skip to erase
[08.343]blk 152 is bad, skip to erase
[08.347]blk 153 is bad, skip to erase
[08.350]blk 154 is bad, skip to erase
[08.354]blk 155 is bad, skip to erase
[08.357]blk 156 is bad, skip to erase
[08.360]blk 157 is bad, skip to erase
[08.364]blk 158 is bad, skip to erase
[08.367]blk 159 is bad, skip to erase
[08.370]blk 160 is bad, skip to erase
[08.374]blk 161 is bad, skip to erase
[08.377]blk 162 is bad, skip to erase
[08.381]blk 163 is bad, skip to erase
[08.384]blk 164 is bad, skip to erase
[08.387]blk 165 is bad, skip to erase
[08.391]blk 166 is bad, skip to erase
[08.394]blk 167 is bad, skip to erase
[08.397]blk 168 is bad, skip to erase
[08.401]blk 169 is bad, skip to erase
[08.404]blk 170 is bad, skip to erase
[08.408]blk 171 is bad, skip to erase
[08.411]blk 172 is bad, skip to erase
[08.414]blk 173 is bad, skip to erase
[08.418]blk 174 is bad, skip to erase
[08.421]blk 175 is bad, skip to erase
[08.425]blk 176 is bad, skip to erase
[08.428]blk 177 is bad, skip to erase
[08.431]blk 178 is bad, skip to erase
[08.435]blk 179 is bad, skip to erase
[08.438]blk 180 is bad, skip to erase
[08.441]blk 181 is bad, skip to erase
[08.445]blk 182 is bad, skip to erase
[08.448]blk 183 is bad, skip to erase
[08.452]blk 184 is bad, skip to erase
[08.455]blk 185 is bad, skip to erase
[08.458]blk 186 is bad, skip to erase
[08.462]blk 187 is bad, skip to erase
[08.465]blk 188 is bad, skip to erase
[08.468]blk 189 is bad, skip to erase
[08.472]blk 190 is bad, skip to erase
[08.475]blk 191 is bad, skip to erase
[08.479]blk 192 is bad, skip to erase
[08.482]blk 193 is bad, skip to erase
[08.485]blk 194 is bad, skip to erase
[08.489]blk 195 is bad, skip to erase
[08.492]blk 196 is bad, skip to erase
[08.495]blk 197 is bad, skip to erase
[08.499]blk 198 is bad, skip to erase
[08.502]blk 199 is bad, skip to erase
[08.506]blk 200 is bad, skip to erase
[08.509]blk 201 is bad, skip to erase
[08.512]blk 202 is bad, skip to erase
[08.516]blk 203 is bad, skip to erase
[08.519]blk 204 is bad, skip to erase
[08.523]blk 205 is bad, skip to erase
[08.526]blk 206 is bad, skip to erase
[08.529]blk 207 is bad, skip to erase
[08.533]blk 208 is bad, skip to erase
[08.536]blk 209 is bad, skip to erase
[08.539]blk 210 is bad, skip to erase
[08.543]blk 211 is bad, skip to erase
[08.546]blk 212 is bad, skip to erase
[08.550]blk 213 is bad, skip to erase
[08.553]blk 214 is bad, skip to erase
[08.556]blk 215 is bad, skip to erase
[08.560]blk 216 is bad, skip to erase
[08.563]blk 217 is bad, skip to erase
[08.566]blk 218 is bad, skip to erase
[08.570]blk 219 is bad, skip to erase
[08.573]blk 220 is bad, skip to erase
[08.577]blk 221 is bad, skip to erase
[08.580]blk 222 is bad, skip to erase
[08.583]blk 223 is bad, skip to erase
[08.587]blk 224 is bad, skip to erase
[08.590]blk 225 is bad, skip to erase
[08.594]blk 226 is bad, skip to erase
[08.597]blk 227 is bad, skip to erase
[08.600]blk 228 is bad, skip to erase
[08.604]blk 229 is bad, skip to erase
[08.607]blk 230 is bad, skip to erase
[08.610]blk 231 is bad, skip to erase
[08.614]blk 232 is bad, skip to erase
[08.617]blk 233 is bad, skip to erase
[08.621]blk 234 is bad, skip to erase
[08.624]blk 235 is bad, skip to erase
[08.627]blk 236 is bad, skip to erase
[08.631]blk 237 is bad, skip to erase
[08.634]blk 238 is bad, skip to erase
[08.637]blk 239 is bad, skip to erase
[08.641]blk 240 is bad, skip to erase
[08.644]blk 241 is bad, skip to erase
[08.648]blk 242 is bad, skip to erase
[08.651]blk 243 is bad, skip to erase
[08.654]blk 244 is bad, skip to erase
[08.658]blk 245 is bad, skip to erase
[08.661]blk 246 is bad, skip to erase
[08.664]blk 247 is bad, skip to erase
[08.668]blk 248 is bad, skip to erase
[08.671]blk 249 is bad, skip to erase
[08.675]blk 250 is bad, skip to erase
[08.678]blk 251 is bad, skip to erase
[08.681]blk 252 is bad, skip to erase
[08.685]blk 253 is bad, skip to erase
[08.688]blk 254 is bad, skip to erase
[08.692]blk 255 is bad, skip to erase
[08.695]blk 256 is bad, skip to erase
[08.698]blk 257 is bad, skip to erase
[08.702]blk 258 is bad, skip to erase
[08.705]blk 259 is bad, skip to erase
[08.708]blk 260 is bad, skip to erase
[08.712]blk 261 is bad, skip to erase
[08.715]blk 262 is bad, skip to erase
[08.719]blk 263 is bad, skip to erase
[08.722]blk 264 is bad, skip to erase
[08.725]blk 265 is bad, skip to erase
[08.729]blk 266 is bad, skip to erase
[08.732]blk 267 is bad, skip to erase
[08.735]blk 268 is bad, skip to erase
[08.739]blk 269 is bad, skip to erase
[08.742]blk 270 is bad, skip to erase
[08.746]blk 271 is bad, skip to erase
[08.749]blk 272 is bad, skip to erase
[08.752]blk 273 is bad, skip to erase
[08.756]blk 274 is bad, skip to erase
[08.759]blk 275 is bad, skip to erase
[08.763]blk 276 is bad, skip to erase
[08.766]blk 277 is bad, skip to erase
[08.769]blk 278 is bad, skip to erase
[08.773]blk 279 is bad, skip to erase
[08.776]blk 280 is bad, skip to erase
[08.779]blk 281 is bad, skip to erase
[08.783]blk 282 is bad, skip to erase
[08.786]blk 283 is bad, skip to erase
[08.790]blk 284 is bad, skip to erase
[08.793]blk 285 is bad, skip to erase
[08.796]blk 286 is bad, skip to erase
[08.800]blk 287 is bad, skip to erase
[08.803]blk 288 is bad, skip to erase
[08.806]blk 289 is bad, skip to erase
[08.810]blk 290 is bad, skip to erase
[08.813]blk 291 is bad, skip to erase
[08.817]blk 292 is bad, skip to erase
[08.820]blk 293 is bad, skip to erase
[08.823]blk 294 is bad, skip to erase
[08.827]blk 295 is bad, skip to erase
[08.830]blk 296 is bad, skip to erase
[08.833]blk 297 is bad, skip to erase
[08.837]blk 298 is bad, skip to erase
[08.840]blk 299 is bad, skip to erase
[08.844]blk 300 is bad, skip to erase
[08.847]blk 301 is bad, skip to erase
[08.850]blk 302 is bad, skip to erase
[08.854]blk 303 is bad, skip to erase
[08.857]blk 304 is bad, skip to erase
[08.861]blk 305 is bad, skip to erase
[08.864]blk 306 is bad, skip to erase
[08.867]blk 307 is bad, skip to erase
[08.871]blk 308 is bad, skip to erase
[08.874]blk 309 is bad, skip to erase
[08.877]blk 310 is bad, skip to erase
[08.881]blk 311 is bad, skip to erase
[08.884]blk 312 is bad, skip to erase
[08.888]blk 313 is bad, skip to erase
[08.891]blk 314 is bad, skip to erase
[08.894]blk 315 is bad, skip to erase
[08.898]blk 316 is bad, skip to erase
[08.901]blk 317 is bad, skip to erase
[08.904]blk 318 is bad, skip to erase
[08.908]blk 319 is bad, skip to erase
[08.911]blk 320 is bad, skip to erase
[08.915]blk 321 is bad, skip to erase
[08.918]blk 322 is bad, skip to erase
[08.921]blk 323 is bad, skip to erase
[08.925]blk 324 is bad, skip to erase
[08.928]blk 325 is bad, skip to erase
[08.932]blk 326 is bad, skip to erase
[08.935]blk 327 is bad, skip to erase
[08.938]blk 328 is bad, skip to erase
[08.942]blk 329 is bad, skip to erase
[08.945]blk 330 is bad, skip to erase
[08.948]blk 331 is bad, skip to erase
[08.952]blk 332 is bad, skip to erase
[08.955]blk 333 is bad, skip to erase
[08.959]blk 334 is bad, skip to erase
[08.962]blk 335 is bad, skip to erase
[08.965]blk 336 is bad, skip to erase
[08.969]blk 337 is bad, skip to erase
[08.972]blk 338 is bad, skip to erase
[08.975]blk 339 is bad, skip to erase
[08.979]blk 340 is bad, skip to erase
[08.982]blk 341 is bad, skip to erase
[08.986]blk 342 is bad, skip to erase
[08.989]blk 343 is bad, skip to erase
[08.992]blk 344 is bad, skip to erase
[08.996]blk 345 is bad, skip to erase
[08.999]blk 346 is bad, skip to erase
[09.002]blk 347 is bad, skip to erase
[09.006]blk 348 is bad, skip to erase
[09.009]blk 349 is bad, skip to erase
[09.013]blk 350 is bad, skip to erase
[09.016]blk 351 is bad, skip to erase
[09.019]blk 352 is bad, skip to erase
[09.023]blk 353 is bad, skip to erase
[09.026]blk 354 is bad, skip to erase
[09.030]blk 355 is bad, skip to erase
[09.033]blk 356 is bad, skip to erase
[09.036]blk 357 is bad, skip to erase
[09.040]blk 358 is bad, skip to erase
[09.043]blk 359 is bad, skip to erase
[09.046]blk 360 is bad, skip to erase
[09.050]blk 361 is bad, skip to erase
[09.053]blk 362 is bad, skip to erase
[09.057]blk 363 is bad, skip to erase
[09.060]blk 364 is bad, skip to erase
[09.063]blk 365 is bad, skip to erase
[09.067]blk 366 is bad, skip to erase
[09.070]blk 367 is bad, skip to erase
[09.073]blk 368 is bad, skip to erase
[09.077]blk 369 is bad, skip to erase
[09.080]blk 370 is bad, skip to erase
[09.084]blk 371 is bad, skip to erase
[09.087]blk 372 is bad, skip to erase
[09.090]blk 373 is bad, skip to erase
[09.094]blk 374 is bad, skip to erase
[09.097]blk 375 is bad, skip to erase
[09.101]blk 376 is bad, skip to erase
[09.104]blk 377 is bad, skip to erase
[09.107]blk 378 is bad, skip to erase
[09.111]blk 379 is bad, skip to erase
[09.114]blk 380 is bad, skip to erase
[09.117]blk 381 is bad, skip to erase
[09.121]blk 382 is bad, skip to erase
[09.124]blk 383 is bad, skip to erase
[09.128]blk 384 is bad, skip to erase
[09.131]blk 385 is bad, skip to erase
[09.134]blk 386 is bad, skip to erase
[09.138]blk 387 is bad, skip to erase
[09.141]blk 388 is bad, skip to erase
[09.144]blk 389 is bad, skip to erase
[09.148]blk 390 is bad, skip to erase
[09.151]blk 391 is bad, skip to erase
[09.155]blk 392 is bad, skip to erase
[09.158]blk 393 is bad, skip to erase
[09.161]blk 394 is bad, skip to erase
[09.165]blk 395 is bad, skip to erase
[09.168]blk 396 is bad, skip to erase
[09.171]blk 397 is bad, skip to erase
[09.175]blk 398 is bad, skip to erase
[09.178]blk 399 is bad, skip to erase
[09.182]blk 400 is bad, skip to erase
[09.185]blk 401 is bad, skip to erase
[09.188]blk 402 is bad, skip to erase
[09.192]blk 403 is bad, skip to erase
[09.195]blk 404 is bad, skip to erase
[09.199]blk 405 is bad, skip to erase
[09.202]blk 406 is bad, skip to erase
[09.205]blk 407 is bad, skip to erase
[09.209]blk 408 is bad, skip to erase
[09.212]blk 409 is bad, skip to erase
[09.215]blk 410 is bad, skip to erase
[09.219]blk 411 is bad, skip to erase
[09.222]blk 412 is bad, skip to erase
[09.226]blk 413 is bad, skip to erase
[09.229]blk 414 is bad, skip to erase
[09.232]blk 415 is bad, skip to erase
[09.236]blk 416 is bad, skip to erase
[09.239]blk 417 is bad, skip to erase
[09.242]blk 418 is bad, skip to erase
[09.246]blk 419 is bad, skip to erase
[09.249]blk 420 is bad, skip to erase
[09.253]blk 421 is bad, skip to erase
[09.256]blk 422 is bad, skip to erase
[09.259]blk 423 is bad, skip to erase
[09.263]blk 424 is bad, skip to erase
[09.266]blk 425 is bad, skip to erase
[09.270]blk 426 is bad, skip to erase
[09.273]blk 427 is bad, skip to erase
[09.276]blk 428 is bad, skip to erase
[09.280]blk 429 is bad, skip to erase
[09.283]blk 430 is bad, skip to erase
[09.286]blk 431 is bad, skip to erase
[09.290]blk 432 is bad, skip to erase
[09.293]blk 433 is bad, skip to erase
[09.297]blk 434 is bad, skip to erase
[09.300]blk 435 is bad, skip to erase
[09.303]blk 436 is bad, skip to erase
[09.307]blk 437 is bad, skip to erase
[09.310]blk 438 is bad, skip to erase
[09.313]blk 439 is bad, skip to erase
[09.317]blk 440 is bad, skip to erase
[09.320]blk 441 is bad, skip to erase
[09.324]blk 442 is bad, skip to erase
[09.327]blk 443 is bad, skip to erase
[09.330]blk 444 is bad, skip to erase
[09.334]blk 445 is bad, skip to erase
[09.337]blk 446 is bad, skip to erase
[09.340]blk 447 is bad, skip to erase
[09.344]blk 448 is bad, skip to erase
[09.347]blk 449 is bad, skip to erase
[09.351]blk 450 is bad, skip to erase
[09.354]blk 451 is bad, skip to erase
[09.357]blk 452 is bad, skip to erase
[09.361]blk 453 is bad, skip to erase
[09.364]blk 454 is bad, skip to erase
[09.368]blk 455 is bad, skip to erase
[09.371]blk 456 is bad, skip to erase
[09.374]blk 457 is bad, skip to erase
[09.378]blk 458 is bad, skip to erase
[09.381]blk 459 is bad, skip to erase
[09.384]blk 460 is bad, skip to erase
[09.388]blk 461 is bad, skip to erase
[09.391]blk 462 is bad, skip to erase
[09.395]blk 463 is bad, skip to erase
[09.398]blk 464 is bad, skip to erase
[09.401]blk 465 is bad, skip to erase
[09.405]blk 466 is bad, skip to erase
[09.408]blk 467 is bad, skip to erase
[09.411]blk 468 is bad, skip to erase
[09.415]blk 469 is bad, skip to erase
[09.418]blk 470 is bad, skip to erase
[09.422]blk 471 is bad, skip to erase
[09.425]blk 472 is bad, skip to erase
[09.428]blk 473 is bad, skip to erase
[09.432]blk 474 is bad, skip to erase
[09.435]blk 475 is bad, skip to erase
[09.439]blk 476 is bad, skip to erase
[09.442]blk 477 is bad, skip to erase
[09.445]blk 478 is bad, skip to erase
[09.449]blk 479 is bad, skip to erase
[09.452]blk 480 is bad, skip to erase
[09.455]blk 481 is bad, skip to erase
[09.459]blk 482 is bad, skip to erase
[09.462]blk 483 is bad, skip to erase
[09.466]blk 484 is bad, skip to erase
[09.469]blk 485 is bad, skip to erase
[09.472]blk 486 is bad, skip to erase
[09.476]blk 487 is bad, skip to erase
[09.479]blk 488 is bad, skip to erase
[09.482]blk 489 is bad, skip to erase
[09.486]blk 490 is bad, skip to erase
[09.489]blk 491 is bad, skip to erase
[09.493]blk 492 is bad, skip to erase
[09.496]blk 493 is bad, skip to erase
[09.499]blk 494 is bad, skip to erase
[09.503]blk 495 is bad, skip to erase
[09.506]blk 496 is bad, skip to erase
[09.509]blk 497 is bad, skip to erase
[09.513]blk 498 is bad, skip to erase
[09.516]blk 499 is bad, skip to erase
[09.520]blk 500 is bad, skip to erase
[09.523]blk 501 is bad, skip to erase
[09.526]blk 502 is bad, skip to erase
[09.530]blk 503 is bad, skip to erase
[09.533]blk 504 is bad, skip to erase
[09.537]blk 505 is bad, skip to erase
[09.540]blk 506 is bad, skip to erase
[09.543]blk 507 is bad, skip to erase
[09.547]blk 508 is bad, skip to erase
[09.550]blk 509 is bad, skip to erase
[09.553]blk 510 is bad, skip to erase
[09.557]blk 511 is bad, skip to erase
[09.560]blk 512 is bad, skip to erase
[09.564]blk 513 is bad, skip to erase
[09.567]blk 514 is bad, skip to erase
[09.570]blk 515 is bad, skip to erase
[09.574]blk 516 is bad, skip to erase
[09.577]blk 517 is bad, skip to erase
[09.580]blk 518 is bad, skip to erase
[09.584]blk 519 is bad, skip to erase
[09.587]blk 520 is bad, skip to erase
[09.591]blk 521 is bad, skip to erase
[09.594]blk 522 is bad, skip to erase
[09.597]blk 523 is bad, skip to erase
[09.601]blk 524 is bad, skip to erase
[09.604]blk 525 is bad, skip to erase
[09.608]blk 526 is bad, skip to erase
[09.611]blk 527 is bad, skip to erase
[09.614]blk 528 is bad, skip to erase
[09.618]blk 529 is bad, skip to erase
[09.621]blk 530 is bad, skip to erase
[09.624]blk 531 is bad, skip to erase
[09.628]blk 532 is bad, skip to erase
[09.631]blk 533 is bad, skip to erase
[09.635]blk 534 is bad, skip to erase
[09.638]blk 535 is bad, skip to erase
[09.641]blk 536 is bad, skip to erase
[09.645]blk 537 is bad, skip to erase
[09.648]blk 538 is bad, skip to erase
[09.651]blk 539 is bad, skip to erase
[09.655]blk 540 is bad, skip to erase
[09.658]blk 541 is bad, skip to erase
[09.662]blk 542 is bad, skip to erase
[09.665]blk 543 is bad, skip to erase
[09.668]blk 544 is bad, skip to erase
[09.672]blk 545 is bad, skip to erase
[09.675]blk 546 is bad, skip to erase
[09.678]blk 547 is bad, skip to erase
[09.682]blk 548 is bad, skip to erase
[09.685]blk 549 is bad, skip to erase
[09.689]blk 550 is bad, skip to erase
[09.692]blk 551 is bad, skip to erase
[09.695]blk 552 is bad, skip to erase
[09.699]blk 553 is bad, skip to erase
[09.702]blk 554 is bad, skip to erase
[09.706]blk 555 is bad, skip to erase
[09.709]blk 556 is bad, skip to erase
[09.712]blk 557 is bad, skip to erase
[09.716]blk 558 is bad, skip to erase
[09.719]blk 559 is bad, skip to erase
[09.722]blk 560 is bad, skip to erase
[09.726]blk 561 is bad, skip to erase
[09.729]blk 562 is bad, skip to erase
[09.733]blk 563 is bad, skip to erase
[09.736]blk 564 is bad, skip to erase
[09.739]blk 565 is bad, skip to erase
[09.743]blk 566 is bad, skip to erase
[09.746]blk 567 is bad, skip to erase
[09.749]blk 568 is bad, skip to erase
[09.753]blk 569 is bad, skip to erase
[09.756]blk 570 is bad, skip to erase
[09.760]blk 571 is bad, skip to erase
[09.763]blk 572 is bad, skip to erase
[09.766]blk 573 is bad, skip to erase
[09.770]blk 574 is bad, skip to erase
[09.773]blk 575 is bad, skip to erase
[09.777]blk 576 is bad, skip to erase
[09.780]blk 577 is bad, skip to erase
[09.783]blk 578 is bad, skip to erase
[09.787]blk 579 is bad, skip to erase
[09.790]blk 580 is bad, skip to erase
[09.793]blk 581 is bad, skip to erase
[09.797]blk 582 is bad, skip to erase
[09.800]blk 583 is bad, skip to erase
[09.804]blk 584 is bad, skip to erase
[09.807]blk 585 is bad, skip to erase
[09.810]blk 586 is bad, skip to erase
[09.814]blk 587 is bad, skip to erase
[09.817]blk 588 is bad, skip to erase
[09.820]blk 589 is bad, skip to erase
[09.824]blk 590 is bad, skip to erase
[09.827]blk 591 is bad, skip to erase
[09.831]blk 592 is bad, skip to erase
[09.834]blk 593 is bad, skip to erase
[09.837]blk 594 is bad, skip to erase
[09.841]blk 595 is bad, skip to erase
[09.844]blk 596 is bad, skip to erase
[09.847]blk 597 is bad, skip to erase
[09.851]blk 598 is bad, skip to erase
[09.854]blk 599 is bad, skip to erase
[09.858]blk 600 is bad, skip to erase
[09.861]blk 601 is bad, skip to erase
[09.864]blk 602 is bad, skip to erase
[09.868]blk 603 is bad, skip to erase
[09.871]blk 604 is bad, skip to erase
[09.875]blk 605 is bad, skip to erase
[09.878]blk 606 is bad, skip to erase
[09.881]blk 607 is bad, skip to erase
[09.885]blk 608 is bad, skip to erase
[09.888]blk 609 is bad, skip to erase
[09.891]blk 610 is bad, skip to erase
[09.895]blk 611 is bad, skip to erase
[09.898]blk 612 is bad, skip to erase
[09.902]blk 613 is bad, skip to erase
[09.905]blk 614 is bad, skip to erase
[09.908]blk 615 is bad, skip to erase
[09.912]blk 616 is bad, skip to erase
[09.915]blk 617 is bad, skip to erase
[09.918]blk 618 is bad, skip to erase
[09.922]blk 619 is bad, skip to erase
[09.925]blk 620 is bad, skip to erase
[09.929]blk 621 is bad, skip to erase
[09.932]blk 622 is bad, skip to erase
[09.935]blk 623 is bad, skip to erase
[09.939]blk 624 is bad, skip to erase
[09.942]blk 625 is bad, skip to erase
[09.946]blk 626 is bad, skip to erase
[09.949]blk 627 is bad, skip to erase
[09.952]blk 628 is bad, skip to erase
[09.956]blk 629 is bad, skip to erase
[09.959]blk 630 is bad, skip to erase
[09.962]blk 631 is bad, skip to erase
[09.966]blk 632 is bad, skip to erase
[09.969]blk 633 is bad, skip to erase
[09.973]blk 634 is bad, skip to erase
[09.976]blk 635 is bad, skip to erase
[09.979]blk 636 is bad, skip to erase
[09.983]blk 637 is bad, skip to erase
[09.986]blk 638 is bad, skip to erase
[09.989]blk 639 is bad, skip to erase
[09.993]blk 640 is bad, skip to erase
[09.996]blk 641 is bad, skip to erase
[10.000]blk 642 is bad, skip to erase
[10.003]blk 643 is bad, skip to erase
[10.006]blk 644 is bad, skip to erase
[10.010]blk 645 is bad, skip to erase
[10.013]blk 646 is bad, skip to erase
[10.016]blk 647 is bad, skip to erase
[10.020]blk 648 is bad, skip to erase
[10.023]blk 649 is bad, skip to erase
[10.027]blk 650 is bad, skip to erase
[10.030]blk 651 is bad, skip to erase
[10.033]blk 652 is bad, skip to erase
[10.037]blk 653 is bad, skip to erase
[10.040]blk 654 is bad, skip to erase
[10.044]blk 655 is bad, skip to erase
[10.047]blk 656 is bad, skip to erase
[10.050]blk 657 is bad, skip to erase
[10.054]blk 658 is bad, skip to erase
[10.057]blk 659 is bad, skip to erase
[10.060]blk 660 is bad, skip to erase
[10.064]blk 661 is bad, skip to erase
[10.067]blk 662 is bad, skip to erase
[10.071]blk 663 is bad, skip to erase
[10.074]blk 664 is bad, skip to erase
[10.077]blk 665 is bad, skip to erase
[10.081]blk 666 is bad, skip to erase
[10.084]blk 667 is bad, skip to erase
[10.087]blk 668 is bad, skip to erase
[10.091]blk 669 is bad, skip to erase
[10.094]blk 670 is bad, skip to erase
[10.098]blk 671 is bad, skip to erase
[10.101]blk 672 is bad, skip to erase
[10.104]blk 673 is bad, skip to erase
[10.108]blk 674 is bad, skip to erase
[10.111]blk 675 is bad, skip to erase
[10.115]blk 676 is bad, skip to erase
[10.118]blk 677 is bad, skip to erase
[10.121]blk 678 is bad, skip to erase
[10.125]blk 679 is bad, skip to erase
[10.128]blk 680 is bad, skip to erase
[10.131]blk 681 is bad, skip to erase
[10.135]blk 682 is bad, skip to erase
[10.138]blk 683 is bad, skip to erase
[10.142]blk 684 is bad, skip to erase
[10.145]blk 685 is bad, skip to erase
[10.148]blk 686 is bad, skip to erase
[10.152]blk 687 is bad, skip to erase
[10.155]blk 688 is bad, skip to erase
[10.158]blk 689 is bad, skip to erase
[10.162]blk 690 is bad, skip to erase
[10.165]blk 691 is bad, skip to erase
[10.169]blk 692 is bad, skip to erase
[10.172]blk 693 is bad, skip to erase
[10.175]blk 694 is bad, skip to erase
[10.179]blk 695 is bad, skip to erase
[10.182]blk 696 is bad, skip to erase
[10.185]blk 697 is bad, skip to erase
[10.189]blk 698 is bad, skip to erase
[10.192]blk 699 is bad, skip to erase
[10.196]blk 700 is bad, skip to erase
[10.199]blk 701 is bad, skip to erase
[10.202]blk 702 is bad, skip to erase
[10.206]blk 703 is bad, skip to erase
[10.209]blk 704 is bad, skip to erase
[10.213]blk 705 is bad, skip to erase
[10.216]blk 706 is bad, skip to erase
[10.219]blk 707 is bad, skip to erase
[10.223]blk 708 is bad, skip to erase
[10.226]blk 709 is bad, skip to erase
[10.229]blk 710 is bad, skip to erase
[10.233]blk 711 is bad, skip to erase
[10.236]blk 712 is bad, skip to erase
[10.240]blk 713 is bad, skip to erase
[10.243]blk 714 is bad, skip to erase
[10.246]blk 715 is bad, skip to erase
[10.250]blk 716 is bad, skip to erase
[10.253]blk 717 is bad, skip to erase
[10.256]blk 718 is bad, skip to erase
[10.260]blk 719 is bad, skip to erase
[10.263]blk 720 is bad, skip to erase
[10.267]blk 721 is bad, skip to erase
[10.270]blk 722 is bad, skip to erase
[10.273]blk 723 is bad, skip to erase
[10.277]blk 724 is bad, skip to erase
[10.280]blk 725 is bad, skip to erase
[10.284]blk 726 is bad, skip to erase
[10.287]blk 727 is bad, skip to erase
[10.290]blk 728 is bad, skip to erase
[10.294]blk 729 is bad, skip to erase
[10.297]blk 730 is bad, skip to erase
[10.300]blk 731 is bad, skip to erase
[10.304]blk 732 is bad, skip to erase
[10.307]blk 733 is bad, skip to erase
[10.311]blk 734 is bad, skip to erase
[10.314]blk 735 is bad, skip to erase
[10.317]blk 736 is bad, skip to erase
[10.321]blk 737 is bad, skip to erase
[10.324]blk 738 is bad, skip to erase
[10.327]blk 739 is bad, skip to erase
[10.331]blk 740 is bad, skip to erase
[10.334]blk 741 is bad, skip to erase
[10.338]blk 742 is bad, skip to erase
[10.341]blk 743 is bad, skip to erase
[10.344]blk 744 is bad, skip to erase
[10.348]blk 745 is bad, skip to erase
[10.351]blk 746 is bad, skip to erase
[10.354]blk 747 is bad, skip to erase
[10.358]blk 748 is bad, skip to erase
[10.361]blk 749 is bad, skip to erase
[10.365]blk 750 is bad, skip to erase
[10.368]blk 751 is bad, skip to erase
[10.371]blk 752 is bad, skip to erase
[10.375]blk 753 is bad, skip to erase
[10.378]blk 754 is bad, skip to erase
[10.382]blk 755 is bad, skip to erase
[10.385]blk 756 is bad, skip to erase
[10.388]blk 757 is bad, skip to erase
[10.392]blk 758 is bad, skip to erase
[10.395]blk 759 is bad, skip to erase
[10.398]blk 760 is bad, skip to erase
[10.402]blk 761 is bad, skip to erase
[10.405]blk 762 is bad, skip to erase
[10.409]blk 763 is bad, skip to erase
[10.412]blk 764 is bad, skip to erase
[10.415]blk 765 is bad, skip to erase
[10.419]blk 766 is bad, skip to erase
[10.422]blk 767 is bad, skip to erase
[10.425]blk 768 is bad, skip to erase
[10.429]blk 769 is bad, skip to erase
[10.432]blk 770 is bad, skip to erase
[10.436]blk 771 is bad, skip to erase
[10.439]blk 772 is bad, skip to erase
[10.442]blk 773 is bad, skip to erase
[10.446]blk 774 is bad, skip to erase
[10.449]blk 775 is bad, skip to erase
[10.453]blk 776 is bad, skip to erase
[10.456]blk 777 is bad, skip to erase
[10.459]blk 778 is bad, skip to erase
[10.463]blk 779 is bad, skip to erase
[10.466]blk 780 is bad, skip to erase
[10.469]blk 781 is bad, skip to erase
[10.473]blk 782 is bad, skip to erase
[10.476]blk 783 is bad, skip to erase
[10.480]blk 784 is bad, skip to erase
[10.483]blk 785 is bad, skip to erase
[10.486]blk 786 is bad, skip to erase
[10.490]blk 787 is bad, skip to erase
[10.493]blk 788 is bad, skip to erase
[10.496]blk 789 is bad, skip to erase
[10.500]blk 790 is bad, skip to erase
[10.503]blk 791 is bad, skip to erase
[10.507]blk 792 is bad, skip to erase
[10.510]blk 793 is bad, skip to erase
[10.513]blk 794 is bad, skip to erase
[10.517]blk 795 is bad, skip to erase
[10.520]blk 796 is bad, skip to erase
[10.523]blk 797 is bad, skip to erase
[10.527]blk 798 is bad, skip to erase
[10.530]blk 799 is bad, skip to erase
[10.534]blk 800 is bad, skip to erase
[10.537]blk 801 is bad, skip to erase
[10.540]blk 802 is bad, skip to erase
[10.544]blk 803 is bad, skip to erase
[10.547]blk 804 is bad, skip to erase
[10.551]blk 805 is bad, skip to erase
[10.554]blk 806 is bad, skip to erase
[10.557]blk 807 is bad, skip to erase
[10.561]blk 808 is bad, skip to erase
[10.564]blk 809 is bad, skip to erase
[10.567]blk 810 is bad, skip to erase
[10.571]blk 811 is bad, skip to erase
[10.574]blk 812 is bad, skip to erase
[10.578]blk 813 is bad, skip to erase
[10.581]blk 814 is bad, skip to erase
[10.584]blk 815 is bad, skip to erase
[10.588]blk 816 is bad, skip to erase
[10.591]blk 817 is bad, skip to erase
[10.594]blk 818 is bad, skip to erase
[10.598]blk 819 is bad, skip to erase
[10.601]blk 820 is bad, skip to erase
[10.605]blk 821 is bad, skip to erase
[10.608]blk 822 is bad, skip to erase
[10.611]blk 823 is bad, skip to erase
[10.615]blk 824 is bad, skip to erase
[10.618]blk 825 is bad, skip to erase
[10.622]blk 826 is bad, skip to erase
[10.625]blk 827 is bad, skip to erase
[10.628]blk 828 is bad, skip to erase
[10.632]blk 829 is bad, skip to erase
[10.635]blk 830 is bad, skip to erase
[10.638]blk 831 is bad, skip to erase
[10.642]blk 832 is bad, skip to erase
[10.645]blk 833 is bad, skip to erase
[10.649]blk 834 is bad, skip to erase
[10.652]blk 835 is bad, skip to erase
[10.655]blk 836 is bad, skip to erase
[10.659]blk 837 is bad, skip to erase
[10.662]blk 838 is bad, skip to erase
[10.665]blk 839 is bad, skip to erase
[10.669]blk 840 is bad, skip to erase
[10.672]blk 841 is bad, skip to erase
[10.676]blk 842 is bad, skip to erase
[10.679]blk 843 is bad, skip to erase
[10.682]blk 844 is bad, skip to erase
[10.686]blk 845 is bad, skip to erase
[10.689]blk 846 is bad, skip to erase
[10.692]blk 847 is bad, skip to erase
[10.696]blk 848 is bad, skip to erase
[10.699]blk 849 is bad, skip to erase
[10.703]blk 850 is bad, skip to erase
[10.706]blk 851 is bad, skip to erase
[10.709]blk 852 is bad, skip to erase
[10.713]blk 853 is bad, skip to erase
[10.716]blk 854 is bad, skip to erase
[10.720]blk 855 is bad, skip to erase
[10.723]blk 856 is bad, skip to erase
[10.726]blk 857 is bad, skip to erase
[10.730]blk 858 is bad, skip to erase
[10.733]blk 859 is bad, skip to erase
[10.736]blk 860 is bad, skip to erase
[10.740]blk 861 is bad, skip to erase
[10.743]blk 862 is bad, skip to erase
[10.747]blk 863 is bad, skip to erase
[10.750]blk 864 is bad, skip to erase
[10.753]blk 865 is bad, skip to erase
[10.757]blk 866 is bad, skip to erase
[10.760]blk 867 is bad, skip to erase
[10.763]blk 868 is bad, skip to erase
[10.767]blk 869 is bad, skip to erase
[10.770]blk 870 is bad, skip to erase
[10.774]blk 871 is bad, skip to erase
[10.777]blk 872 is bad, skip to erase
[10.780]blk 873 is bad, skip to erase
[10.784]blk 874 is bad, skip to erase
[10.787]blk 875 is bad, skip to erase
[10.791]blk 876 is bad, skip to erase
[10.794]blk 877 is bad, skip to erase
[10.797]blk 878 is bad, skip to erase
[10.801]blk 879 is bad, skip to erase
[10.804]blk 880 is bad, skip to erase
[10.807]blk 881 is bad, skip to erase
[10.811]blk 882 is bad, skip to erase
[10.814]blk 883 is bad, skip to erase
[10.818]blk 884 is bad, skip to erase
[10.821]blk 885 is bad, skip to erase
[10.824]blk 886 is bad, skip to erase
[10.828]blk 887 is bad, skip to erase
[10.831]blk 888 is bad, skip to erase
[10.834]blk 889 is bad, skip to erase
[10.838]blk 890 is bad, skip to erase
[10.841]blk 891 is bad, skip to erase
[10.845]blk 892 is bad, skip to erase
[10.848]blk 893 is bad, skip to erase
[10.851]blk 894 is bad, skip to erase
[10.855]blk 895 is bad, skip to erase
[10.858]blk 896 is bad, skip to erase
[10.861]blk 897 is bad, skip to erase
[10.865]blk 898 is bad, skip to erase
[10.868]blk 899 is bad, skip to erase
[10.872]blk 900 is bad, skip to erase
[10.875]blk 901 is bad, skip to erase
[10.878]blk 902 is bad, skip to erase
[10.882]blk 903 is bad, skip to erase
[10.885]blk 904 is bad, skip to erase
[10.889]blk 905 is bad, skip to erase
[10.892]blk 906 is bad, skip to erase
[10.895]blk 907 is bad, skip to erase
[10.899]blk 908 is bad, skip to erase
[10.902]blk 909 is bad, skip to erase
[10.905]blk 910 is bad, skip to erase
[10.909]blk 911 is bad, skip to erase
[10.912]blk 912 is bad, skip to erase
[10.916]blk 913 is bad, skip to erase
[10.919]blk 914 is bad, skip to erase
[10.922]blk 915 is bad, skip to erase
[10.926]blk 916 is bad, skip to erase
[10.929]blk 917 is bad, skip to erase
[10.932]blk 918 is bad, skip to erase
[10.936]blk 919 is bad, skip to erase
[10.939]blk 920 is bad, skip to erase
[10.943]blk 921 is bad, skip to erase
[10.946]blk 922 is bad, skip to erase
[10.949]blk 923 is bad, skip to erase
[10.953]blk 924 is bad, skip to erase
[10.956]blk 925 is bad, skip to erase
[10.960]blk 926 is bad, skip to erase
[10.963]blk 927 is bad, skip to erase
[10.966]blk 928 is bad, skip to erase
[10.970]blk 929 is bad, skip to erase
[10.973]blk 930 is bad, skip to erase
[10.976]blk 931 is bad, skip to erase
[10.980]blk 932 is bad, skip to erase
[10.983]blk 933 is bad, skip to erase
[10.987]blk 934 is bad, skip to erase
[10.990]blk 935 is bad, skip to erase
[10.993]blk 936 is bad, skip to erase
[10.997]blk 937 is bad, skip to erase
[11.000]blk 938 is bad, skip to erase
[11.003]blk 939 is bad, skip to erase
[11.007]blk 940 is bad, skip to erase
[11.010]blk 941 is bad, skip to erase
[11.014]blk 942 is bad, skip to erase
[11.017]blk 943 is bad, skip to erase
[11.020]blk 944 is bad, skip to erase
[11.024]blk 945 is bad, skip to erase
[11.027]blk 946 is bad, skip to erase
[11.030]blk 947 is bad, skip to erase
[11.034]blk 948 is bad, skip to erase
[11.037]blk 949 is bad, skip to erase
[11.041]blk 950 is bad, skip to erase
[11.044]blk 951 is bad, skip to erase
[11.047]blk 952 is bad, skip to erase
[11.051]blk 953 is bad, skip to erase
[11.054]blk 954 is bad, skip to erase
[11.058]blk 955 is bad, skip to erase
[11.061]blk 956 is bad, skip to erase
[11.064]blk 957 is bad, skip to erase
[11.068]blk 958 is bad, skip to erase
[11.071]blk 959 is bad, skip to erase
[11.074]blk 960 is bad, skip to erase
[11.078]blk 961 is bad, skip to erase
[11.081]blk 962 is bad, skip to erase
[11.085]blk 963 is bad, skip to erase
[11.088]blk 964 is bad, skip to erase
[11.091]blk 965 is bad, skip to erase
[11.095]blk 966 is bad, skip to erase
[11.098]blk 967 is bad, skip to erase
[11.101]blk 968 is bad, skip to erase
[11.105]blk 969 is bad, skip to erase
[11.108]blk 970 is bad, skip to erase
[11.112]blk 971 is bad, skip to erase
[11.115]blk 972 is bad, skip to erase
[11.118]blk 973 is bad, skip to erase
[11.122]blk 974 is bad, skip to erase
[11.125]blk 975 is bad, skip to erase
[11.129]blk 976 is bad, skip to erase
[11.132]blk 977 is bad, skip to erase
[11.135]blk 978 is bad, skip to erase
[11.139]blk 979 is bad, skip to erase
[11.142]blk 980 is bad, skip to erase
[11.145]blk 981 is bad, skip to erase
[11.149]blk 982 is bad, skip to erase
[11.152]blk 983 is bad, skip to erase
[11.156]blk 984 is bad, skip to erase
[11.159]blk 985 is bad, skip to erase
[11.162]blk 986 is bad, skip to erase
[11.166]blk 987 is bad, skip to erase
[11.169]blk 988 is bad, skip to erase
[11.172]blk 989 is bad, skip to erase
[11.176]blk 990 is bad, skip to erase
[11.179]blk 991 is bad, skip to erase
[11.183]blk 992 is bad, skip to erase
[11.186]blk 993 is bad, skip to erase
[11.189]blk 994 is bad, skip to erase
[11.193]blk 995 is bad, skip to erase
[11.196]blk 996 is bad, skip to erase
[11.199]blk 997 is bad, skip to erase
[11.203]blk 998 is bad, skip to erase
[11.206]blk 999 is bad, skip to erase
[11.210]blk 1000 is bad, skip to erase
[11.213]blk 1001 is bad, skip to erase
[11.217]blk 1002 is bad, skip to erase
[11.220]blk 1003 is bad, skip to erase
[11.223]blk 1004 is bad, skip to erase
[11.227]blk 1005 is bad, skip to erase
[11.230]blk 1006 is bad, skip to erase
[11.234]blk 1007 is bad, skip to erase
[11.237]blk 1008 is bad, skip to erase
[11.241]blk 1009 is bad, skip to erase
[11.244]blk 1010 is bad, skip to erase
[11.248]blk 1011 is bad, skip to erase
[11.251]blk 1012 is bad, skip to erase
[11.255]blk 1013 is bad, skip to erase
[11.258]blk 1014 is bad, skip to erase
[11.262]blk 1015 is bad, skip to erase
[11.265]blk 1016 is bad, skip to erase
[11.269]blk 1017 is bad, skip to erase
[11.272]blk 1018 is bad, skip to erase
[11.275]blk 1019 is bad, skip to erase
[11.279]blk 1020 is bad, skip to erase
[11.282]blk 1021 is bad, skip to erase
[11.286]blk 1022 is bad, skip to erase
[11.289]blk 1023 is bad, skip to erase
[11.293]blk 1024 is bad, skip to erase
[11.296]blk 1025 is bad, skip to erase
[11.300]blk 1026 is bad, skip to erase
[11.303]blk 1027 is bad, skip to erase
[11.307]blk 1028 is bad, skip to erase
[11.310]blk 1029 is bad, skip to erase
[11.314]blk 1030 is bad, skip to erase
[11.317]blk 1031 is bad, skip to erase
[11.321]blk 1032 is bad, skip to erase
[11.324]blk 1033 is bad, skip to erase
[11.327]blk 1034 is bad, skip to erase
[11.331]blk 1035 is bad, skip to erase
[11.334]blk 1036 is bad, skip to erase
[11.338]blk 1037 is bad, skip to erase
[11.341]blk 1038 is bad, skip to erase
[11.345]blk 1039 is bad, skip to erase
[11.348]blk 1040 is bad, skip to erase
[11.352]blk 1041 is bad, skip to erase
[11.355]blk 1042 is bad, skip to erase
[11.359]blk 1043 is bad, skip to erase
[11.362]blk 1044 is bad, skip to erase
[11.366]blk 1045 is bad, skip to erase
[11.369]blk 1046 is bad, skip to erase
[11.373]blk 1047 is bad, skip to erase
[11.376]blk 1048 is bad, skip to erase
[11.379]blk 1049 is bad, skip to erase
[11.383]blk 1050 is bad, skip to erase
[11.386]blk 1051 is bad, skip to erase
[11.390]blk 1052 is bad, skip to erase
[11.393]blk 1053 is bad, skip to erase
[11.397]blk 1054 is bad, skip to erase
[11.400]blk 1055 is bad, skip to erase
[11.404]blk 1056 is bad, skip to erase
[11.407]blk 1057 is bad, skip to erase
[11.411]blk 1058 is bad, skip to erase
[11.414]blk 1059 is bad, skip to erase
[11.418]blk 1060 is bad, skip to erase
[11.421]blk 1061 is bad, skip to erase
[11.425]blk 1062 is bad, skip to erase
[11.428]blk 1063 is bad, skip to erase
[11.431]blk 1064 is bad, skip to erase
[11.435]blk 1065 is bad, skip to erase
[11.438]blk 1066 is bad, skip to erase
[11.442]blk 1067 is bad, skip to erase
[11.445]blk 1068 is bad, skip to erase
[11.449]blk 1069 is bad, skip to erase
[11.452]blk 1070 is bad, skip to erase
[11.456]blk 1071 is bad, skip to erase
[11.459]blk 1072 is bad, skip to erase
[11.463]blk 1073 is bad, skip to erase
[11.466]blk 1074 is bad, skip to erase
[11.470]blk 1075 is bad, skip to erase
[11.473]blk 1076 is bad, skip to erase
[11.477]blk 1077 is bad, skip to erase
[11.480]blk 1078 is bad, skip to erase
[11.483]blk 1079 is bad, skip to erase
[11.487]blk 1080 is bad, skip to erase
[11.490]blk 1081 is bad, skip to erase
[11.494]blk 1082 is bad, skip to erase
[11.497]blk 1083 is bad, skip to erase
[11.501]blk 1084 is bad, skip to erase
[11.504]blk 1085 is bad, skip to erase
[11.508]blk 1086 is bad, skip to erase
[11.511]blk 1087 is bad, skip to erase
[11.515]blk 1088 is bad, skip to erase
[11.518]blk 1089 is bad, skip to erase
[11.522]blk 1090 is bad, skip to erase
[11.525]blk 1091 is bad, skip to erase
[11.529]blk 1092 is bad, skip to erase
[11.532]blk 1093 is bad, skip to erase
[11.535]blk 1094 is bad, skip to erase
[11.539]blk 1095 is bad, skip to erase
[11.542]blk 1096 is bad, skip to erase
[11.546]blk 1097 is bad, skip to erase
[11.549]blk 1098 is bad, skip to erase
[11.553]blk 1099 is bad, skip to erase
[11.556]blk 1100 is bad, skip to erase
[11.560]blk 1101 is bad, skip to erase
[11.563]blk 1102 is bad, skip to erase
[11.567]blk 1103 is bad, skip to erase
[11.570]blk 1104 is bad, skip to erase
[11.574]blk 1105 is bad, skip to erase
[11.577]blk 1106 is bad, skip to erase
[11.581]blk 1107 is bad, skip to erase
[11.584]blk 1108 is bad, skip to erase
[11.587]blk 1109 is bad, skip to erase
[11.591]blk 1110 is bad, skip to erase
[11.594]blk 1111 is bad, skip to erase
[11.598]blk 1112 is bad, skip to erase
[11.601]blk 1113 is bad, skip to erase
[11.605]blk 1114 is bad, skip to erase
[11.608]blk 1115 is bad, skip to erase
[11.612]blk 1116 is bad, skip to erase
[11.615]blk 1117 is bad, skip to erase
[11.619]blk 1118 is bad, skip to erase
[11.622]blk 1119 is bad, skip to erase
[11.626]blk 1120 is bad, skip to erase
[11.629]blk 1121 is bad, skip to erase
[11.633]blk 1122 is bad, skip to erase
[11.636]blk 1123 is bad, skip to erase
[11.639]blk 1124 is bad, skip to erase
[11.643]blk 1125 is bad, skip to erase
[11.646]blk 1126 is bad, skip to erase
[11.650]blk 1127 is bad, skip to erase
[11.653]blk 1128 is bad, skip to erase
[11.657]blk 1129 is bad, skip to erase
[11.660]blk 1130 is bad, skip to erase
[11.664]blk 1131 is bad, skip to erase
[11.667]blk 1132 is bad, skip to erase
[11.671]blk 1133 is bad, skip to erase
[11.674]blk 1134 is bad, skip to erase
[11.678]blk 1135 is bad, skip to erase
[11.681]blk 1136 is bad, skip to erase
[11.685]blk 1137 is bad, skip to erase
[11.688]blk 1138 is bad, skip to erase
[11.691]blk 1139 is bad, skip to erase
[11.695]blk 1140 is bad, skip to erase
[11.698]blk 1141 is bad, skip to erase
[11.702]blk 1142 is bad, skip to erase
[11.705]blk 1143 is bad, skip to erase
[11.709]blk 1144 is bad, skip to erase
[11.712]blk 1145 is bad, skip to erase
[11.716]blk 1146 is bad, skip to erase
[11.719]blk 1147 is bad, skip to erase
[11.723]blk 1148 is bad, skip to erase
[11.726]blk 1149 is bad, skip to erase
[11.730]blk 1150 is bad, skip to erase
[11.733]blk 1151 is bad, skip to erase
[11.737]blk 1152 is bad, skip to erase
[11.740]blk 1153 is bad, skip to erase
[11.743]blk 1154 is bad, skip to erase
[11.747]blk 1155 is bad, skip to erase
[11.750]blk 1156 is bad, skip to erase
[11.754]blk 1157 is bad, skip to erase
[11.757]blk 1158 is bad, skip to erase
[11.761]blk 1159 is bad, skip to erase
[11.764]blk 1160 is bad, skip to erase
[11.768]blk 1161 is bad, skip to erase
[11.771]blk 1162 is bad, skip to erase
[11.775]blk 1163 is bad, skip to erase
[11.778]blk 1164 is bad, skip to erase
[11.782]blk 1165 is bad, skip to erase
[11.785]blk 1166 is bad, skip to erase
[11.789]blk 1167 is bad, skip to erase
[11.792]blk 1168 is bad, skip to erase
[11.795]blk 1169 is bad, skip to erase
[11.799]blk 1170 is bad, skip to erase
[11.802]blk 1171 is bad, skip to erase
[11.806]blk 1172 is bad, skip to erase
[11.809]blk 1173 is bad, skip to erase
[11.813]blk 1174 is bad, skip to erase
[11.816]blk 1175 is bad, skip to erase
[11.820]blk 1176 is bad, skip to erase
[11.823]blk 1177 is bad, skip to erase
[11.827]blk 1178 is bad, skip to erase
[11.830]blk 1179 is bad, skip to erase
[11.834]blk 1180 is bad, skip to erase
[11.837]blk 1181 is bad, skip to erase
[11.841]blk 1182 is bad, skip to erase
[11.844]blk 1183 is bad, skip to erase
[11.847]blk 1184 is bad, skip to erase
[11.851]blk 1185 is bad, skip to erase
[11.854]blk 1186 is bad, skip to erase
[11.858]blk 1187 is bad, skip to erase
[11.861]blk 1188 is bad, skip to erase
[11.865]blk 1189 is bad, skip to erase
[11.868]blk 1190 is bad, skip to erase
[11.872]blk 1191 is bad, skip to erase
[11.875]blk 1192 is bad, skip to erase
[11.879]blk 1193 is bad, skip to erase
[11.882]blk 1194 is bad, skip to erase
[11.886]blk 1195 is bad, skip to erase
[11.889]blk 1196 is bad, skip to erase
[11.893]blk 1197 is bad, skip to erase
[11.896]blk 1198 is bad, skip to erase
[11.899]blk 1199 is bad, skip to erase
[11.903]blk 1200 is bad, skip to erase
[11.906]blk 1201 is bad, skip to erase
[11.910]blk 1202 is bad, skip to erase
[11.913]blk 1203 is bad, skip to erase
[11.917]blk 1204 is bad, skip to erase
[11.920]blk 1205 is bad, skip to erase
[11.924]blk 1206 is bad, skip to erase
[11.927]blk 1207 is bad, skip to erase
[11.931]blk 1208 is bad, skip to erase
[11.934]blk 1209 is bad, skip to erase
[11.938]blk 1210 is bad, skip to erase
[11.941]blk 1211 is bad, skip to erase
[11.945]blk 1212 is bad, skip to erase
[11.948]blk 1213 is bad, skip to erase
[11.951]blk 1214 is bad, skip to erase
[11.955]blk 1215 is bad, skip to erase
[11.958]blk 1216 is bad, skip to erase
[11.962]blk 1217 is bad, skip to erase
[11.965]blk 1218 is bad, skip to erase
[11.969]blk 1219 is bad, skip to erase
[11.972]blk 1220 is bad, skip to erase
[11.976]blk 1221 is bad, skip to erase
[11.979]blk 1222 is bad, skip to erase
[11.983]blk 1223 is bad, skip to erase
[11.986]blk 1224 is bad, skip to erase
[11.990]blk 1225 is bad, skip to erase
[11.993]blk 1226 is bad, skip to erase
[11.997]blk 1227 is bad, skip to erase
[12.000]blk 1228 is bad, skip to erase
[12.003]blk 1229 is bad, skip to erase
[12.007]blk 1230 is bad, skip to erase
[12.010]blk 1231 is bad, skip to erase
[12.014]blk 1232 is bad, skip to erase
[12.017]blk 1233 is bad, skip to erase
[12.021]blk 1234 is bad, skip to erase
[12.024]blk 1235 is bad, skip to erase
[12.028]blk 1236 is bad, skip to erase
[12.031]blk 1237 is bad, skip to erase
[12.035]blk 1238 is bad, skip to erase
[12.038]blk 1239 is bad, skip to erase
[12.042]blk 1240 is bad, skip to erase
[12.045]blk 1241 is bad, skip to erase
[12.049]blk 1242 is bad, skip to erase
[12.052]blk 1243 is bad, skip to erase
[12.055]blk 1244 is bad, skip to erase
[12.059]blk 1245 is bad, skip to erase
[12.062]blk 1246 is bad, skip to erase
[12.066]blk 1247 is bad, skip to erase
[12.069]blk 1248 is bad, skip to erase
[12.073]blk 1249 is bad, skip to erase
[12.076]blk 1250 is bad, skip to erase
[12.080]blk 1251 is bad, skip to erase
[12.083]blk 1252 is bad, skip to erase
[12.087]blk 1253 is bad, skip to erase
[12.090]blk 1254 is bad, skip to erase
[12.094]blk 1255 is bad, skip to erase
[12.097]blk 1256 is bad, skip to erase
[12.101]blk 1257 is bad, skip to erase
[12.104]blk 1258 is bad, skip to erase
[12.107]blk 1259 is bad, skip to erase
[12.111]blk 1260 is bad, skip to erase
[12.114]blk 1261 is bad, skip to erase
[12.118]blk 1262 is bad, skip to erase
[12.121]blk 1263 is bad, skip to erase
[12.125]blk 1264 is bad, skip to erase
[12.128]blk 1265 is bad, skip to erase
[12.132]blk 1266 is bad, skip to erase
[12.135]blk 1267 is bad, skip to erase
[12.139]blk 1268 is bad, skip to erase
[12.142]blk 1269 is bad, skip to erase
[12.146]blk 1270 is bad, skip to erase
[12.149]blk 1271 is bad, skip to erase
[12.153]blk 1272 is bad, skip to erase
[12.156]blk 1273 is bad, skip to erase
[12.159]blk 1274 is bad, skip to erase
[12.163]blk 1275 is bad, skip to erase
[12.166]blk 1276 is bad, skip to erase
[12.170]blk 1277 is bad, skip to erase
[12.173]blk 1278 is bad, skip to erase
[12.177]blk 1279 is bad, skip to erase
[12.180]blk 1280 is bad, skip to erase
[12.184]blk 1281 is bad, skip to erase
[12.187]blk 1282 is bad, skip to erase
[12.191]blk 1283 is bad, skip to erase
[12.194]blk 1284 is bad, skip to erase
[12.198]blk 1285 is bad, skip to erase
[12.201]blk 1286 is bad, skip to erase
[12.205]blk 1287 is bad, skip to erase
[12.208]blk 1288 is bad, skip to erase
[12.211]blk 1289 is bad, skip to erase
[12.215]blk 1290 is bad, skip to erase
[12.218]blk 1291 is bad, skip to erase
[12.222]blk 1292 is bad, skip to erase
[12.225]blk 1293 is bad, skip to erase
[12.229]blk 1294 is bad, skip to erase
[12.232]blk 1295 is bad, skip to erase
[12.236]blk 1296 is bad, skip to erase
[12.239]blk 1297 is bad, skip to erase
[12.243]blk 1298 is bad, skip to erase
[12.246]blk 1299 is bad, skip to erase
[12.250]blk 1300 is bad, skip to erase
[12.253]blk 1301 is bad, skip to erase
[12.257]blk 1302 is bad, skip to erase
[12.260]blk 1303 is bad, skip to erase
[12.263]blk 1304 is bad, skip to erase
[12.267]blk 1305 is bad, skip to erase
[12.270]blk 1306 is bad, skip to erase
[12.274]blk 1307 is bad, skip to erase
[12.277]blk 1308 is bad, skip to erase
[12.281]blk 1309 is bad, skip to erase
[12.284]blk 1310 is bad, skip to erase
[12.288]blk 1311 is bad, skip to erase
[12.291]blk 1312 is bad, skip to erase
[12.295]blk 1313 is bad, skip to erase
[12.298]blk 1314 is bad, skip to erase
[12.302]blk 1315 is bad, skip to erase
[12.305]blk 1316 is bad, skip to erase
[12.309]blk 1317 is bad, skip to erase
[12.312]blk 1318 is bad, skip to erase
[12.315]blk 1319 is bad, skip to erase
[12.319]blk 1320 is bad, skip to erase
[12.322]blk 1321 is bad, skip to erase
[12.326]blk 1322 is bad, skip to erase
[12.329]blk 1323 is bad, skip to erase
[12.333]blk 1324 is bad, skip to erase
[12.336]blk 1325 is bad, skip to erase
[12.340]blk 1326 is bad, skip to erase
[12.343]blk 1327 is bad, skip to erase
[12.347]blk 1328 is bad, skip to erase
[12.350]blk 1329 is bad, skip to erase
[12.354]blk 1330 is bad, skip to erase
[12.357]blk 1331 is bad, skip to erase
[12.361]blk 1332 is bad, skip to erase
[12.364]blk 1333 is bad, skip to erase
[12.367]blk 1334 is bad, skip to erase
[12.371]blk 1335 is bad, skip to erase
[12.374]blk 1336 is bad, skip to erase
[12.378]blk 1337 is bad, skip to erase
[12.381]blk 1338 is bad, skip to erase
[12.385]blk 1339 is bad, skip to erase
[12.388]blk 1340 is bad, skip to erase
[12.392]blk 1341 is bad, skip to erase
[12.395]blk 1342 is bad, skip to erase
[12.399]blk 1343 is bad, skip to erase
[12.402]blk 1344 is bad, skip to erase
[12.406]blk 1345 is bad, skip to erase
[12.409]blk 1346 is bad, skip to erase
[12.413]blk 1347 is bad, skip to erase
[12.416]blk 1348 is bad, skip to erase
[12.419]blk 1349 is bad, skip to erase
[12.423]blk 1350 is bad, skip to erase
[12.426]blk 1351 is bad, skip to erase
[12.430]blk 1352 is bad, skip to erase
[12.433]blk 1353 is bad, skip to erase
[12.437]blk 1354 is bad, skip to erase
[12.440]blk 1355 is bad, skip to erase
[12.444]blk 1356 is bad, skip to erase
[12.447]blk 1357 is bad, skip to erase
[12.451]blk 1358 is bad, skip to erase
[12.454]blk 1359 is bad, skip to erase
[12.458]blk 1360 is bad, skip to erase
[12.461]blk 1361 is bad, skip to erase
[12.465]blk 1362 is bad, skip to erase
[12.468]blk 1363 is bad, skip to erase
[12.471]blk 1364 is bad, skip to erase
[12.475]blk 1365 is bad, skip to erase
[12.478]blk 1366 is bad, skip to erase
[12.482]blk 1367 is bad, skip to erase
[12.485]blk 1368 is bad, skip to erase
[12.489]blk 1369 is bad, skip to erase
[12.492]blk 1370 is bad, skip to erase
[12.496]blk 1371 is bad, skip to erase
[12.499]blk 1372 is bad, skip to erase
[12.503]blk 1373 is bad, skip to erase
[12.506]blk 1374 is bad, skip to erase
[12.510]blk 1375 is bad, skip to erase
[12.513]blk 1376 is bad, skip to erase
[12.517]blk 1377 is bad, skip to erase
[12.520]blk 1378 is bad, skip to erase
[12.523]blk 1379 is bad, skip to erase
[12.527]blk 1380 is bad, skip to erase
[12.530]blk 1381 is bad, skip to erase
[12.534]blk 1382 is bad, skip to erase
[12.537]blk 1383 is bad, skip to erase
[12.541]blk 1384 is bad, skip to erase
[12.544]blk 1385 is bad, skip to erase
[12.548]blk 1386 is bad, skip to erase
[12.551]blk 1387 is bad, skip to erase
[12.555]blk 1388 is bad, skip to erase
[12.558]blk 1389 is bad, skip to erase
[12.562]blk 1390 is bad, skip to erase
[12.565]blk 1391 is bad, skip to erase
[12.569]blk 1392 is bad, skip to erase
[12.572]blk 1393 is bad, skip to erase
[12.575]blk 1394 is bad, skip to erase
[12.579]blk 1395 is bad, skip to erase
[12.582]blk 1396 is bad, skip to erase
[12.586]blk 1397 is bad, skip to erase
[12.589]blk 1398 is bad, skip to erase
[12.593]blk 1399 is bad, skip to erase
[12.596]blk 1400 is bad, skip to erase
[12.600]blk 1401 is bad, skip to erase
[12.603]blk 1402 is bad, skip to erase
[12.607]blk 1403 is bad, skip to erase
[12.610]blk 1404 is bad, skip to erase
[12.614]blk 1405 is bad, skip to erase
[12.617]blk 1406 is bad, skip to erase
[12.621]blk 1407 is bad, skip to erase
[12.624]blk 1408 is bad, skip to erase
[12.627]blk 1409 is bad, skip to erase
[12.631]blk 1410 is bad, skip to erase
[12.634]blk 1411 is bad, skip to erase
[12.638]blk 1412 is bad, skip to erase
[12.641]blk 1413 is bad, skip to erase
[12.645]blk 1414 is bad, skip to erase
[12.648]blk 1415 is bad, skip to erase
[12.652]blk 1416 is bad, skip to erase
[12.655]blk 1417 is bad, skip to erase
[12.659]blk 1418 is bad, skip to erase
[12.662]blk 1419 is bad, skip to erase
[12.666]blk 1420 is bad, skip to erase
[12.669]blk 1421 is bad, skip to erase
[12.673]blk 1422 is bad, skip to erase
[12.676]blk 1423 is bad, skip to erase
[12.679]blk 1424 is bad, skip to erase
[12.683]blk 1425 is bad, skip to erase
[12.686]blk 1426 is bad, skip to erase
[12.690]blk 1427 is bad, skip to erase
[12.693]blk 1428 is bad, skip to erase
[12.697]blk 1429 is bad, skip to erase
[12.700]blk 1430 is bad, skip to erase
[12.704]blk 1431 is bad, skip to erase
[12.707]blk 1432 is bad, skip to erase
[12.711]blk 1433 is bad, skip to erase
[12.714]blk 1434 is bad, skip to erase
[12.718]blk 1435 is bad, skip to erase
[12.721]blk 1436 is bad, skip to erase
[12.725]blk 1437 is bad, skip to erase
[12.728]blk 1438 is bad, skip to erase
[12.731]blk 1439 is bad, skip to erase
[12.735]blk 1440 is bad, skip to erase
[12.738]blk 1441 is bad, skip to erase
[12.742]blk 1442 is bad, skip to erase
[12.745]blk 1443 is bad, skip to erase
[12.749]blk 1444 is bad, skip to erase
[12.752]blk 1445 is bad, skip to erase
[12.756]blk 1446 is bad, skip to erase
[12.759]blk 1447 is bad, skip to erase
[12.763]blk 1448 is bad, skip to erase
[12.766]blk 1449 is bad, skip to erase
[12.770]blk 1450 is bad, skip to erase
[12.773]blk 1451 is bad, skip to erase
[12.777]blk 1452 is bad, skip to erase
[12.780]blk 1453 is bad, skip to erase
[12.783]blk 1454 is bad, skip to erase
[12.787]blk 1455 is bad, skip to erase
[12.790]blk 1456 is bad, skip to erase
[12.794]blk 1457 is bad, skip to erase
[12.797]blk 1458 is bad, skip to erase
[12.801]blk 1459 is bad, skip to erase
[12.804]blk 1460 is bad, skip to erase
[12.808]blk 1461 is bad, skip to erase
[12.811]blk 1462 is bad, skip to erase
[12.815]blk 1463 is bad, skip to erase
[12.818]blk 1464 is bad, skip to erase
[12.822]blk 1465 is bad, skip to erase
[12.825]blk 1466 is bad, skip to erase
[12.829]blk 1467 is bad, skip to erase
[12.832]blk 1468 is bad, skip to erase
[12.835]blk 1469 is bad, skip to erase
[12.839]blk 1470 is bad, skip to erase
[12.842]blk 1471 is bad, skip to erase
[12.846]blk 1472 is bad, skip to erase
[12.849]blk 1473 is bad, skip to erase
[12.853]blk 1474 is bad, skip to erase
[12.856]blk 1475 is bad, skip to erase
[12.860]blk 1476 is bad, skip to erase
[12.863]blk 1477 is bad, skip to erase
[12.867]blk 1478 is bad, skip to erase
[12.870]blk 1479 is bad, skip to erase
[12.874]blk 1480 is bad, skip to erase
[12.877]blk 1481 is bad, skip to erase
[12.881]blk 1482 is bad, skip to erase
[12.884]blk 1483 is bad, skip to erase
[12.887]blk 1484 is bad, skip to erase
[12.891]blk 1485 is bad, skip to erase
[12.894]blk 1486 is bad, skip to erase
[12.898]blk 1487 is bad, skip to erase
[12.901]blk 1488 is bad, skip to erase
[12.905]blk 1489 is bad, skip to erase
[12.908]blk 1490 is bad, skip to erase
[12.912]blk 1491 is bad, skip to erase
[12.915]blk 1492 is bad, skip to erase
[12.919]blk 1493 is bad, skip to erase
[12.922]blk 1494 is bad, skip to erase
[12.926]blk 1495 is bad, skip to erase
[12.929]blk 1496 is bad, skip to erase
[12.933]blk 1497 is bad, skip to erase
[12.936]blk 1498 is bad, skip to erase
[12.939]blk 1499 is bad, skip to erase
[12.943]blk 1500 is bad, skip to erase
[12.946]blk 1501 is bad, skip to erase
[12.950]blk 1502 is bad, skip to erase
[12.953]blk 1503 is bad, skip to erase
[12.957]blk 1504 is bad, skip to erase
[12.960]blk 1505 is bad, skip to erase
[12.964]blk 1506 is bad, skip to erase
[12.967]blk 1507 is bad, skip to erase
[12.971]blk 1508 is bad, skip to erase
[12.974]blk 1509 is bad, skip to erase
[12.978]blk 1510 is bad, skip to erase
[12.981]blk 1511 is bad, skip to erase
[12.985]blk 1512 is bad, skip to erase
[12.988]blk 1513 is bad, skip to erase
[12.991]blk 1514 is bad, skip to erase
[12.995]blk 1515 is bad, skip to erase
[12.998]blk 1516 is bad, skip to erase
[13.002]blk 1517 is bad, skip to erase
[13.005]blk 1518 is bad, skip to erase
[13.009]blk 1519 is bad, skip to erase
[13.012]blk 1520 is bad, skip to erase
[13.016]blk 1521 is bad, skip to erase
[13.019]blk 1522 is bad, skip to erase
[13.023]blk 1523 is bad, skip to erase
[13.026]blk 1524 is bad, skip to erase
[13.030]blk 1525 is bad, skip to erase
[13.033]blk 1526 is bad, skip to erase
[13.037]blk 1527 is bad, skip to erase
[13.040]blk 1528 is bad, skip to erase
[13.043]blk 1529 is bad, skip to erase
[13.047]blk 1530 is bad, skip to erase
[13.050]blk 1531 is bad, skip to erase
[13.054]blk 1532 is bad, skip to erase
[13.057]blk 1533 is bad, skip to erase
[13.061]blk 1534 is bad, skip to erase
[13.064]blk 1535 is bad, skip to erase
[13.068]blk 1536 is bad, skip to erase
[13.071]blk 1537 is bad, skip to erase
[13.075]blk 1538 is bad, skip to erase
[13.078]blk 1539 is bad, skip to erase
[13.082]blk 1540 is bad, skip to erase
[13.085]blk 1541 is bad, skip to erase
[13.089]blk 1542 is bad, skip to erase
[13.092]blk 1543 is bad, skip to erase
[13.095]blk 1544 is bad, skip to erase
[13.099]blk 1545 is bad, skip to erase
[13.102]blk 1546 is bad, skip to erase
[13.106]blk 1547 is bad, skip to erase
[13.109]blk 1548 is bad, skip to erase
[13.113]blk 1549 is bad, skip to erase
[13.116]blk 1550 is bad, skip to erase
[13.120]blk 1551 is bad, skip to erase
[13.123]blk 1552 is bad, skip to erase
[13.127]blk 1553 is bad, skip to erase
[13.130]blk 1554 is bad, skip to erase
[13.134]blk 1555 is bad, skip to erase
[13.137]blk 1556 is bad, skip to erase
[13.141]blk 1557 is bad, skip to erase
[13.144]blk 1558 is bad, skip to erase
[13.147]blk 1559 is bad, skip to erase
[13.151]blk 1560 is bad, skip to erase
[13.154]blk 1561 is bad, skip to erase
[13.158]blk 1562 is bad, skip to erase
[13.161]blk 1563 is bad, skip to erase
[13.165]blk 1564 is bad, skip to erase
[13.168]blk 1565 is bad, skip to erase
[13.172]blk 1566 is bad, skip to erase
[13.175]blk 1567 is bad, skip to erase
[13.179]blk 1568 is bad, skip to erase
[13.182]blk 1569 is bad, skip to erase
[13.186]blk 1570 is bad, skip to erase
[13.189]blk 1571 is bad, skip to erase
[13.193]blk 1572 is bad, skip to erase
[13.196]blk 1573 is bad, skip to erase
[13.199]blk 1574 is bad, skip to erase
[13.203]blk 1575 is bad, skip to erase
[13.206]blk 1576 is bad, skip to erase
[13.210]blk 1577 is bad, skip to erase
[13.213]blk 1578 is bad, skip to erase
[13.217]blk 1579 is bad, skip to erase
[13.220]blk 1580 is bad, skip to erase
[13.224]blk 1581 is bad, skip to erase
[13.227]blk 1582 is bad, skip to erase
[13.231]blk 1583 is bad, skip to erase
[13.234]blk 1584 is bad, skip to erase
[13.238]blk 1585 is bad, skip to erase
[13.241]blk 1586 is bad, skip to erase
[13.245]blk 1587 is bad, skip to erase
[13.248]blk 1588 is bad, skip to erase
[13.251]blk 1589 is bad, skip to erase
[13.255]blk 1590 is bad, skip to erase
[13.258]blk 1591 is bad, skip to erase
[13.262]blk 1592 is bad, skip to erase
[13.265]blk 1593 is bad, skip to erase
[13.269]blk 1594 is bad, skip to erase
[13.272]blk 1595 is bad, skip to erase
[13.276]blk 1596 is bad, skip to erase
[13.279]blk 1597 is bad, skip to erase
[13.283]blk 1598 is bad, skip to erase
[13.286]blk 1599 is bad, skip to erase
[13.290]blk 1600 is bad, skip to erase
[13.293]blk 1601 is bad, skip to erase
[13.297]blk 1602 is bad, skip to erase
[13.300]blk 1603 is bad, skip to erase
[13.303]blk 1604 is bad, skip to erase
[13.307]blk 1605 is bad, skip to erase
[13.310]blk 1606 is bad, skip to erase
[13.314]blk 1607 is bad, skip to erase
[13.317]blk 1608 is bad, skip to erase
[13.321]blk 1609 is bad, skip to erase
[13.324]blk 1610 is bad, skip to erase
[13.328]blk 1611 is bad, skip to erase
[13.331]blk 1612 is bad, skip to erase
[13.335]blk 1613 is bad, skip to erase
[13.338]blk 1614 is bad, skip to erase
[13.342]blk 1615 is bad, skip to erase
[13.345]blk 1616 is bad, skip to erase
[13.349]blk 1617 is bad, skip to erase
[13.352]blk 1618 is bad, skip to erase
[13.355]blk 1619 is bad, skip to erase
[13.359]blk 1620 is bad, skip to erase
[13.362]blk 1621 is bad, skip to erase
[13.366]blk 1622 is bad, skip to erase
[13.369]blk 1623 is bad, skip to erase
[13.373]blk 1624 is bad, skip to erase
[13.376]blk 1625 is bad, skip to erase
[13.380]blk 1626 is bad, skip to erase
[13.383]blk 1627 is bad, skip to erase
[13.387]blk 1628 is bad, skip to erase
[13.390]blk 1629 is bad, skip to erase
[13.394]blk 1630 is bad, skip to erase
[13.397]blk 1631 is bad, skip to erase
[13.401]blk 1632 is bad, skip to erase
[13.404]blk 1633 is bad, skip to erase
[13.407]blk 1634 is bad, skip to erase
[13.411]blk 1635 is bad, skip to erase
[13.414]blk 1636 is bad, skip to erase
[13.418]blk 1637 is bad, skip to erase
[13.421]blk 1638 is bad, skip to erase
[13.425]blk 1639 is bad, skip to erase
[13.428]blk 1640 is bad, skip to erase
[13.432]blk 1641 is bad, skip to erase
[13.435]blk 1642 is bad, skip to erase
[13.439]blk 1643 is bad, skip to erase
[13.442]blk 1644 is bad, skip to erase
[13.446]blk 1645 is bad, skip to erase
[13.449]blk 1646 is bad, skip to erase
[13.453]blk 1647 is bad, skip to erase
[13.456]blk 1648 is bad, skip to erase
[13.459]blk 1649 is bad, skip to erase
[13.463]blk 1650 is bad, skip to erase
[13.466]blk 1651 is bad, skip to erase
[13.470]blk 1652 is bad, skip to erase
[13.473]blk 1653 is bad, skip to erase
[13.477]blk 1654 is bad, skip to erase
[13.480]blk 1655 is bad, skip to erase
[13.484]blk 1656 is bad, skip to erase
[13.487]blk 1657 is bad, skip to erase
[13.491]blk 1658 is bad, skip to erase
[13.494]blk 1659 is bad, skip to erase
[13.498]blk 1660 is bad, skip to erase
[13.501]blk 1661 is bad, skip to erase
[13.505]blk 1662 is bad, skip to erase
[13.508]blk 1663 is bad, skip to erase
[13.511]blk 1664 is bad, skip to erase
[13.515]blk 1665 is bad, skip to erase
[13.518]blk 1666 is bad, skip to erase
[13.522]blk 1667 is bad, skip to erase
[13.525]blk 1668 is bad, skip to erase
[13.529]blk 1669 is bad, skip to erase
[13.532]blk 1670 is bad, skip to erase
[13.536]blk 1671 is bad, skip to erase
[13.539]blk 1672 is bad, skip to erase
[13.543]blk 1673 is bad, skip to erase
[13.546]blk 1674 is bad, skip to erase
[13.550]blk 1675 is bad, skip to erase
[13.553]blk 1676 is bad, skip to erase
[13.557]blk 1677 is bad, skip to erase
[13.560]blk 1678 is bad, skip to erase
[13.563]blk 1679 is bad, skip to erase
[13.567]blk 1680 is bad, skip to erase
[13.570]blk 1681 is bad, skip to erase
[13.574]blk 1682 is bad, skip to erase
[13.577]blk 1683 is bad, skip to erase
[13.581]blk 1684 is bad, skip to erase
[13.584]blk 1685 is bad, skip to erase
[13.588]blk 1686 is bad, skip to erase
[13.591]blk 1687 is bad, skip to erase
[13.595]blk 1688 is bad, skip to erase
[13.598]blk 1689 is bad, skip to erase
[13.602]blk 1690 is bad, skip to erase
[13.605]blk 1691 is bad, skip to erase
[13.609]blk 1692 is bad, skip to erase
[13.612]blk 1693 is bad, skip to erase
[13.615]blk 1694 is bad, skip to erase
[13.619]blk 1695 is bad, skip to erase
[13.622]blk 1696 is bad, skip to erase
[13.626]blk 1697 is bad, skip to erase
[13.629]blk 1698 is bad, skip to erase
[13.633]blk 1699 is bad, skip to erase
[13.636]blk 1700 is bad, skip to erase
[13.640]blk 1701 is bad, skip to erase
[13.643]blk 1702 is bad, skip to erase
[13.647]blk 1703 is bad, skip to erase
[13.650]blk 1704 is bad, skip to erase
[13.654]blk 1705 is bad, skip to erase
[13.657]blk 1706 is bad, skip to erase
[13.661]blk 1707 is bad, skip to erase
[13.664]blk 1708 is bad, skip to erase
[13.667]blk 1709 is bad, skip to erase
[13.671]blk 1710 is bad, skip to erase
[13.674]blk 1711 is bad, skip to erase
[13.678]blk 1712 is bad, skip to erase
[13.681]blk 1713 is bad, skip to erase
[13.685]blk 1714 is bad, skip to erase
[13.688]blk 1715 is bad, skip to erase
[13.692]blk 1716 is bad, skip to erase
[13.695]blk 1717 is bad, skip to erase
[13.699]blk 1718 is bad, skip to erase
[13.702]blk 1719 is bad, skip to erase
[13.706]blk 1720 is bad, skip to erase
[13.709]blk 1721 is bad, skip to erase
[13.713]blk 1722 is bad, skip to erase
[13.716]blk 1723 is bad, skip to erase
[13.719]blk 1724 is bad, skip to erase
[13.723]blk 1725 is bad, skip to erase
[13.726]blk 1726 is bad, skip to erase
[13.730]blk 1727 is bad, skip to erase
[13.733]blk 1728 is bad, skip to erase
[13.737]blk 1729 is bad, skip to erase
[13.740]blk 1730 is bad, skip to erase
[13.744]blk 1731 is bad, skip to erase
[13.747]blk 1732 is bad, skip to erase
[13.751]blk 1733 is bad, skip to erase
[13.754]blk 1734 is bad, skip to erase
[13.758]blk 1735 is bad, skip to erase
[13.761]blk 1736 is bad, skip to erase
[13.765]blk 1737 is bad, skip to erase
[13.768]blk 1738 is bad, skip to erase
[13.771]blk 1739 is bad, skip to erase
[13.775]blk 1740 is bad, skip to erase
[13.778]blk 1741 is bad, skip to erase
[13.782]blk 1742 is bad, skip to erase
[13.785]blk 1743 is bad, skip to erase
[13.789]blk 1744 is bad, skip to erase
[13.792]blk 1745 is bad, skip to erase
[13.796]blk 1746 is bad, skip to erase
[13.799]blk 1747 is bad, skip to erase
[13.803]blk 1748 is bad, skip to erase
[13.806]blk 1749 is bad, skip to erase
[13.810]blk 1750 is bad, skip to erase
[13.813]blk 1751 is bad, skip to erase
[13.817]blk 1752 is bad, skip to erase
[13.820]blk 1753 is bad, skip to erase
[13.823]blk 1754 is bad, skip to erase
[13.827]blk 1755 is bad, skip to erase
[13.830]blk 1756 is bad, skip to erase
[13.834]blk 1757 is bad, skip to erase
[13.837]blk 1758 is bad, skip to erase
[13.841]blk 1759 is bad, skip to erase
[13.844]blk 1760 is bad, skip to erase
[13.848]blk 1761 is bad, skip to erase
[13.851]blk 1762 is bad, skip to erase
[13.855]blk 1763 is bad, skip to erase
[13.858]blk 1764 is bad, skip to erase
[13.862]blk 1765 is bad, skip to erase
[13.865]blk 1766 is bad, skip to erase
[13.869]blk 1767 is bad, skip to erase
[13.872]blk 1768 is bad, skip to erase
[13.875]blk 1769 is bad, skip to erase
[13.879]blk 1770 is bad, skip to erase
[13.882]blk 1771 is bad, skip to erase
[13.886]blk 1772 is bad, skip to erase
[13.889]blk 1773 is bad, skip to erase
[13.893]blk 1774 is bad, skip to erase
[13.896]blk 1775 is bad, skip to erase
[13.900]blk 1776 is bad, skip to erase
[13.903]blk 1777 is bad, skip to erase
[13.907]blk 1778 is bad, skip to erase
[13.910]blk 1779 is bad, skip to erase
[13.914]blk 1780 is bad, skip to erase
[13.917]blk 1781 is bad, skip to erase
[13.921]blk 1782 is bad, skip to erase
[13.924]blk 1783 is bad, skip to erase
[13.927]blk 1784 is bad, skip to erase
[13.931]blk 1785 is bad, skip to erase
[13.934]blk 1786 is bad, skip to erase
[13.938]blk 1787 is bad, skip to erase
[13.941]blk 1788 is bad, skip to erase
[13.945]blk 1789 is bad, skip to erase
[13.948]blk 1790 is bad, skip to erase
[13.952]blk 1791 is bad, skip to erase
[13.955]blk 1792 is bad, skip to erase
[13.959]blk 1793 is bad, skip to erase
[13.962]blk 1794 is bad, skip to erase
[13.966]blk 1795 is bad, skip to erase
[13.969]blk 1796 is bad, skip to erase
[13.973]blk 1797 is bad, skip to erase
[13.976]blk 1798 is bad, skip to erase
[13.979]blk 1799 is bad, skip to erase
[13.983]blk 1800 is bad, skip to erase
[13.986]blk 1801 is bad, skip to erase
[13.990]blk 1802 is bad, skip to erase
[13.993]blk 1803 is bad, skip to erase
[13.997]blk 1804 is bad, skip to erase
[14.000]blk 1805 is bad, skip to erase
[14.004]blk 1806 is bad, skip to erase
[14.007]blk 1807 is bad, skip to erase
[14.011]blk 1808 is bad, skip to erase
[14.014]blk 1809 is bad, skip to erase
[14.018]blk 1810 is bad, skip to erase
[14.021]blk 1811 is bad, skip to erase
[14.025]blk 1812 is bad, skip to erase
[14.028]blk 1813 is bad, skip to erase
[14.031]blk 1814 is bad, skip to erase
[14.035]blk 1815 is bad, skip to erase
[14.038]blk 1816 is bad, skip to erase
[14.042]blk 1817 is bad, skip to erase
[14.045]blk 1818 is bad, skip to erase
[14.049]blk 1819 is bad, skip to erase
[14.052]blk 1820 is bad, skip to erase
[14.056]blk 1821 is bad, skip to erase
[14.059]blk 1822 is bad, skip to erase
[14.063]blk 1823 is bad, skip to erase
[14.066]blk 1824 is bad, skip to erase
[14.070]blk 1825 is bad, skip to erase
[14.073]blk 1826 is bad, skip to erase
[14.077]blk 1827 is bad, skip to erase
[14.080]blk 1828 is bad, skip to erase
[14.083]blk 1829 is bad, skip to erase
[14.087]blk 1830 is bad, skip to erase
[14.090]blk 1831 is bad, skip to erase
[14.094]blk 1832 is bad, skip to erase
[14.097]blk 1833 is bad, skip to erase
[14.101]blk 1834 is bad, skip to erase
[14.104]blk 1835 is bad, skip to erase
[14.108]blk 1836 is bad, skip to erase
[14.111]blk 1837 is bad, skip to erase
[14.115]blk 1838 is bad, skip to erase
[14.118]blk 1839 is bad, skip to erase
[14.122]blk 1840 is bad, skip to erase
[14.125]blk 1841 is bad, skip to erase
[14.129]blk 1842 is bad, skip to erase
[14.132]blk 1843 is bad, skip to erase
[14.135]blk 1844 is bad, skip to erase
[14.139]blk 1845 is bad, skip to erase
[14.142]blk 1846 is bad, skip to erase
[14.146]blk 1847 is bad, skip to erase
[14.149]blk 1848 is bad, skip to erase
[14.153]blk 1849 is bad, skip to erase
[14.156]blk 1850 is bad, skip to erase
[14.160]blk 1851 is bad, skip to erase
[14.163]blk 1852 is bad, skip to erase
[14.167]blk 1853 is bad, skip to erase
[14.170]blk 1854 is bad, skip to erase
[14.174]blk 1855 is bad, skip to erase
[14.177]blk 1856 is bad, skip to erase
[14.181]blk 1857 is bad, skip to erase
[14.184]blk 1858 is bad, skip to erase
[14.187]blk 1859 is bad, skip to erase
[14.191]blk 1860 is bad, skip to erase
[14.194]blk 1861 is bad, skip to erase
[14.198]blk 1862 is bad, skip to erase
[14.201]blk 1863 is bad, skip to erase
[14.205]blk 1864 is bad, skip to erase
[14.208]blk 1865 is bad, skip to erase
[14.212]blk 1866 is bad, skip to erase
[14.215]blk 1867 is bad, skip to erase
[14.219]blk 1868 is bad, skip to erase
[14.222]blk 1869 is bad, skip to erase
[14.226]blk 1870 is bad, skip to erase
[14.229]blk 1871 is bad, skip to erase
[14.233]blk 1872 is bad, skip to erase
[14.236]blk 1873 is bad, skip to erase
[14.239]blk 1874 is bad, skip to erase
[14.243]blk 1875 is bad, skip to erase
[14.246]blk 1876 is bad, skip to erase
[14.250]blk 1877 is bad, skip to erase
[14.253]blk 1878 is bad, skip to erase
[14.257]blk 1879 is bad, skip to erase
[14.260]blk 1880 is bad, skip to erase
[14.264]blk 1881 is bad, skip to erase
[14.267]blk 1882 is bad, skip to erase
[14.271]blk 1883 is bad, skip to erase
[14.274]blk 1884 is bad, skip to erase
[14.278]blk 1885 is bad, skip to erase
[14.281]blk 1886 is bad, skip to erase
[14.285]blk 1887 is bad, skip to erase
[14.288]blk 1888 is bad, skip to erase
[14.291]blk 1889 is bad, skip to erase
[14.295]blk 1890 is bad, skip to erase
[14.298]blk 1891 is bad, skip to erase
[14.302]blk 1892 is bad, skip to erase
[14.305]blk 1893 is bad, skip to erase
[14.309]blk 1894 is bad, skip to erase
[14.312]blk 1895 is bad, skip to erase
[14.316]blk 1896 is bad, skip to erase
[14.319]blk 1897 is bad, skip to erase
[14.323]blk 1898 is bad, skip to erase
[14.326]blk 1899 is bad, skip to erase
[14.330]blk 1900 is bad, skip to erase
[14.333]blk 1901 is bad, skip to erase
[14.337]blk 1902 is bad, skip to erase
[14.340]blk 1903 is bad, skip to erase
[14.343]blk 1904 is bad, skip to erase
[14.347]blk 1905 is bad, skip to erase
[14.350]blk 1906 is bad, skip to erase
[14.354]blk 1907 is bad, skip to erase
[14.357]blk 1908 is bad, skip to erase
[14.361]blk 1909 is bad, skip to erase
[14.364]blk 1910 is bad, skip to erase
[14.368]blk 1911 is bad, skip to erase
[14.371]blk 1912 is bad, skip to erase
[14.375]blk 1913 is bad, skip to erase
[14.378]blk 1914 is bad, skip to erase
[14.382]blk 1915 is bad, skip to erase
[14.385]blk 1916 is bad, skip to erase
[14.389]blk 1917 is bad, skip to erase
[14.392]blk 1918 is bad, skip to erase
[14.395]blk 1919 is bad, skip to erase
[14.399]blk 1920 is bad, skip to erase
[14.402]blk 1921 is bad, skip to erase
[14.406]blk 1922 is bad, skip to erase
[14.409]blk 1923 is bad, skip to erase
[14.413]blk 1924 is bad, skip to erase
[14.416]blk 1925 is bad, skip to erase
[14.420]blk 1926 is bad, skip to erase
[14.423]blk 1927 is bad, skip to erase
[14.427]blk 1928 is bad, skip to erase
[14.430]blk 1929 is bad, skip to erase
[14.434]blk 1930 is bad, skip to erase
[14.437]blk 1931 is bad, skip to erase
[14.441]blk 1932 is bad, skip to erase
[14.444]blk 1933 is bad, skip to erase
[14.447]blk 1934 is bad, skip to erase
[14.451]blk 1935 is bad, skip to erase
[14.454]blk 1936 is bad, skip to erase
[14.458]blk 1937 is bad, skip to erase
[14.461]blk 1938 is bad, skip to erase
[14.465]blk 1939 is bad, skip to erase
[14.468]blk 1940 is bad, skip to erase
[14.472]blk 1941 is bad, skip to erase
[14.475]blk 1942 is bad, skip to erase
[14.479]blk 1943 is bad, skip to erase
[14.482]blk 1944 is bad, skip to erase
[14.486]blk 1945 is bad, skip to erase
[14.489]blk 1946 is bad, skip to erase
[14.493]blk 1947 is bad, skip to erase
[14.496]blk 1948 is bad, skip to erase
[14.499]blk 1949 is bad, skip to erase
[14.503]blk 1950 is bad, skip to erase
[14.506]blk 1951 is bad, skip to erase
[14.510]blk 1952 is bad, skip to erase
[14.513]blk 1953 is bad, skip to erase
[14.517]blk 1954 is bad, skip to erase
[14.520]blk 1955 is bad, skip to erase
[14.524]blk 1956 is bad, skip to erase
[14.527]blk 1957 is bad, skip to erase
[14.531]blk 1958 is bad, skip to erase
[14.534]blk 1959 is bad, skip to erase
[14.538]blk 1960 is bad, skip to erase
[14.541]blk 1961 is bad, skip to erase
[14.545]blk 1962 is bad, skip to erase
[14.548]blk 1963 is bad, skip to erase
[14.551]blk 1964 is bad, skip to erase
[14.555]blk 1965 is bad, skip to erase
[14.558]blk 1966 is bad, skip to erase
[14.562]blk 1967 is bad, skip to erase
[14.565]blk 1968 is bad, skip to erase
[14.569]blk 1969 is bad, skip to erase
[14.572]blk 1970 is bad, skip to erase
[14.576]blk 1971 is bad, skip to erase
[14.579]blk 1972 is bad, skip to erase
[14.583]blk 1973 is bad, skip to erase
[14.586]blk 1974 is bad, skip to erase
[14.590]blk 1975 is bad, skip to erase
[14.593]blk 1976 is bad, skip to erase
[14.597]blk 1977 is bad, skip to erase
[14.600]blk 1978 is bad, skip to erase
[14.603]blk 1979 is bad, skip to erase
[14.607]blk 1980 is bad, skip to erase
[14.610]blk 1981 is bad, skip to erase
[14.614]blk 1982 is bad, skip to erase
[14.617]blk 1983 is bad, skip to erase
[14.621]blk 1984 is bad, skip to erase
[14.624]blk 1985 is bad, skip to erase
[14.628]blk 1986 is bad, skip to erase
[14.631]blk 1987 is bad, skip to erase
[14.635]blk 1988 is bad, skip to erase
[14.638]blk 1989 is bad, skip to erase
[14.642]blk 1990 is bad, skip to erase
[14.645]blk 1991 is bad, skip to erase
[14.649]blk 1992 is bad, skip to erase
[14.652]blk 1993 is bad, skip to erase
[14.655]blk 1994 is bad, skip to erase
[14.659]blk 1995 is bad, skip to erase
[14.662]blk 1996 is bad, skip to erase
[14.666]blk 1997 is bad, skip to erase
[14.669]blk 1998 is bad, skip to erase
[14.673]blk 1999 is bad, skip to erase
[14.676]blk 2000 is bad, skip to erase
[14.680]blk 2001 is bad, skip to erase
[14.683]blk 2002 is bad, skip to erase
[14.687]blk 2003 is bad, skip to erase
[14.690]blk 2004 is bad, skip to erase
[14.694]blk 2005 is bad, skip to erase
[14.697]blk 2006 is bad, skip to erase
[14.701]blk 2007 is bad, skip to erase
[14.704]blk 2008 is bad, skip to erase
[14.707]blk 2009 is bad, skip to erase
[14.711]blk 2010 is bad, skip to erase
[14.714]blk 2011 is bad, skip to erase
[14.718]blk 2012 is bad, skip to erase
[14.721]blk 2013 is bad, skip to erase
[14.725]blk 2014 is bad, skip to erase
[14.728]blk 2015 is bad, skip to erase
[14.732]blk 2016 is bad, skip to erase
[14.735]blk 2017 is bad, skip to erase
[14.739]blk 2018 is bad, skip to erase
[14.742]blk 2019 is bad, skip to erase
[14.746]blk 2020 is bad, skip to erase
[14.749]blk 2021 is bad, skip to erase
[14.753]blk 2022 is bad, skip to erase
[14.756]blk 2023 is bad, skip to erase
[14.759]blk 2024 is bad, skip to erase
[14.763]blk 2025 is bad, skip to erase
[14.766]blk 2026 is bad, skip to erase
[14.770]blk 2027 is bad, skip to erase
[14.773]blk 2028 is bad, skip to erase
[14.777]blk 2029 is bad, skip to erase
[14.780]blk 2030 is bad, skip to erase
[14.784]blk 2031 is bad, skip to erase
[14.787]blk 2032 is bad, skip to erase
[14.791]blk 2033 is bad, skip to erase
[14.794]blk 2034 is bad, skip to erase
[14.798]blk 2035 is bad, skip to erase
[14.801]blk 2036 is bad, skip to erase
[14.805]blk 2037 is bad, skip to erase
[14.808]blk 2038 is bad, skip to erase
[14.811]blk 2039 is bad, skip to erase
[14.815]blk 2040 is bad, skip to erase
[14.818]blk 2041 is bad, skip to erase
[14.822]blk 2042 is bad, skip to erase
[14.825]blk 2043 is bad, skip to erase
[14.829]blk 2044 is bad, skip to erase
[14.832]blk 2045 is bad, skip to erase
[14.836]blk 2046 is bad, skip to erase
[14.839]blk 2047 is bad, skip to erase
[14.843]get secure storage map err
[14.846]erase secure storage block 0 err
[14.849]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x0fb00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[14.900]MTD info (4)
[14.902]pagesize: 0x1000
[14.904]blksize: 0x40000
[14.906]num offset bytes name
[14.910]0 0x00000000 0x00100000 boot0
[14.913]1 0x00100000 0x00300000 uboot
[14.917]2 0x00400000 0x00100000 secure_storage
[14.922]3 0x00500000 0x0fb00000 sys
[14.925]ubi attach the last part of mtd device: NO.3
[14.931]ubi0: attaching mtd4
[14.935]ubi0: scanning is finished
[14.938]ubi0: empty MTD device detected
[14.942]ubi0 error: ubi_early_get_peb: no free eraseblocks
[14.947]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[14.953]UBI error: cannot attach mtd4
[14.957]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[14.969]ubi part sys err !
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x0fb00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[15.017]MTD info (4)
[15.019]pagesize: 0x1000
[15.021]blksize: 0x40000
[15.023]num offset bytes name
[15.027]0 0x00000000 0x00100000 boot0
[15.030]1 0x00100000 0x00300000 uboot
[15.034]2 0x00400000 0x00100000 secure_storage
[15.038]3 0x00500000 0x0fb00000 sys
[15.042]MBR info (unalign):
[15.044]partno addr sects type name
[15.049]0 0x00000000 0x000001f8 0x00000001 mbr
[15.054]1 0x000001f8 0x000085e0 0x00008000 boot-resource
[15.060]2 0x000087d8 0x000001f8 0x00008000 env
[15.064]3 0x000089d0 0x000001f8 0x00008000 env-redund
[15.070]4 0x00008bc8 0x000085e0 0x00008000 boot
[15.075]5 0x000111a8 0x00022450 0x00008000 rootfs
[15.080]6 0x000335f8 0x000007e0 0x00008000 private
[15.085]7 0x00033dd8 0x00000000 0x00008100 UDISK
[15.090]ubi attach the last part of mtd device: NO.3
[15.094]MBR info (align):
[15.097]partno addr sects type name
[15.102]0 0x00002800 0x000001f8 0x00000001 mbr
[15.106]1 0x000029f8 0x000085e0 0x00008000 boot-resource
[15.112]2 0x0000afd8 0x000001f8 0x00008000 env
[15.117]3 0x0000b1d0 0x000001f8 0x00008000 env-redund
[15.122]4 0x0000b3c8 0x000085e0 0x00008000 boot
[15.127]5 0x000139a8 0x00022548 0x00008000 rootfs
[15.132]6 0x00035ef0 0x000007e0 0x00008000 private
[15.137]7 0x000366d0 0x00000000 0x00008100 UDISK
[15.142]ubi attach the last part of mtd device: NO.3
[15.147]ubi attatch mtd, name: sys
[15.150]ubi0: attaching mtd4
[15.154]ubi0: scanning is finished
[15.157]ubi0: empty MTD device detected
[15.161]ubi0 error: ubi_early_get_peb: no free eraseblocks
[15.166]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[15.172]UBI error: cannot attach mtd4
[15.176]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[15.188]ubi part sys err !
[15.190]initialize sunxi spinand ubi failed
download_standard_gpt:write mbr sectors fail ret = 0同一个固件,烧录到 T113-i W25N01GVZEIG:
[158]HELLO! BOOT0 is starting!
[161]BOOT0 commit : 2386bdb825
[163]set pll start
[165]fix vccio detect value:0xc0
[173]periph0 has been enabled
[176]set pll end
[177][pmu]: bus read error
[180]board init ok
[182]enable_jtag
[183]get_pmu_exist() = -1
[186]DRAM BOOT DRIVE INFO: V0.34
[189]DRAM CLK = 792 MHz
[191]DRAM Type = 3 (2:DDR2,3:DDR3)
[194]DRAMC ZQ value: 0x7b7bfb
[197]DRAM ODT value: 0x42.
[200]ddr_efuse_type: 0x0
[203]DRAM SIZE = 1024 MB
[210]DRAM simple test OK.
[212]rtc standby flag is 0x0, super standby flag is 0x0
[217]dram size =1024
[220]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[225]block from 8 to 32
[392]Check is correct. Find a good uboot copy at block 8
[397]dma 0x2b424 int is not used yet
[400]dma 0x2b424 int is free, you do not need to free it again
[406]Entry_name = u-boot
[413]Entry_name = optee
[417]Entry_name = dtb
[421]Jump to second Boot.
M/TC: OP-TEE version: 2a99a16f (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Thu Aug 17 11:13:02 UTC 2023 arm
E/TC:0 0 platform_standby_fdt_parse:126 no pmu0 node
E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
U-Boot 2018.07-gce06dac-dirty (Aug 13 2025 - 21:02:05 +0800) Allwinner Technology
[00.491]CPU: Allwinner Family
[00.494]Model: sun8iw20
[00.496]DRAM: 1 GiB
[00.499]Relocation Offset is: 3cebb000
[00.528]secure enable bit: 0
CACHE: Misaligned operation at range [7c87ae68, 7c89ae68]
E/TC:0 fdt_getprop_u32:336 prop trace_level not found
[00.546]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.553]gic: sec monitor mode
[00.556]line:703 init_clocks
[00.559]flash init start
[00.561]workmode = 0,storage type = 0
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.678]ubi0: attaching mtd4
[00.960]ubi0: scanning is finished
[00.971]ubi0: attached mtd4 (name "sys", size 123 MiB)
[00.975]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.982]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.988]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.994]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[00.999]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[01.006]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01.014]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[01.022]sunxi flash init ok
[01.025]drv_disp_init
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[01.322]disp_fat_load for lcd config failed
[01.341][DEBUG] primary_key: lcd0
[01.345]lcd->hwdev_index: 0, i: 0
[01.374]drv_disp_init finish
[01.601]Loading Environment from SUNXI_FLASH... OK
[01.644]boot_gui_init:start
partno erro : can't find partition Reserve0
lcd 630 init ...............................
[01.965]LCD open finish
bad fb1_cfg[w=0,h=0,bpp=32,format=0]
[02.014]boot_gui_init:finish
partno erro : can't find partition bootloader
[02.049]bmp_name=bootlogo.bmp size 38454
secure storage read widevine fail
secure storage read ec_key fail
secure storage read ec_cert1 fail
secure storage read ec_cert2 fail
secure storage read ec_cert3 fail
secure storage read rsa_key fail
secure storage read rsa_cert1 fail
secure storage read rsa_cert2 fail
secure storage read rsa_cert3 fail
[02.092]usb burn from boot
delay time 0
weak:otg_phy_config
[02.103]usb prepare ok
[02.310]usb sof ok
[02.312]usb probe ok
[02.313]usb setup ok
set address 0x34
set address 0x34 ok
try to update
[02.718]do_burn_from_boot usb : have no handshake
List file under ULI/factory
** Unrecognized filesystem type **
[02.756]update bootcmd
[02.795]change working_fdt 0x7c87ae68 to 0x7c85ae68
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[02.858]disp_fat_load for lcd config failed
partno erro : can't find partition bootloader
writing lcd_compatible_index.txt
[02.898]offset should be 0 but 0x27d when write to new volume boot-resource
Error: writing contents
** Unable to write "lcd_compatible_index.txt" from sunxi_flash 0:1 **
[02.913]do_fat_fswrite for lcd config failed
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[02.955]disp_fat_load for lcd config failed
[02.960]update dts
Hit any key to stop autoboot: 0
[03.721]no vendor_boot partition is found
Android's image name: sun8i_arm
ERROR: reserving fdt memory region failed (addr=41b00000 size=100000)
ERROR: reserving fdt memory region failed (addr=7c900000 size=384000)
[03.794]Starting kernel ...
[03.796]total: 3796 ms
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (ubuntu@ubuntu) (arm-linux-gnueabi-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412, GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02) #1 SMP PREEMPT Tue Aug 12 16:19:19 CST 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created DMA memory pool at 0x42200000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42200000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42244000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node dsp0_rpbuf@42244000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42900000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42900000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42944000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node c906_rpbuf@42980000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] On node 0 totalpages: 260184
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 194648 pages, LIFO batch:63
[ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s30976 r8192 d22272 u61440
[ 0.000000] pcpu-alloc: s30976 r8192 d22272 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258648
[ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyAS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/init rdinit=/rdinit partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:UDISK@ubi0_7: cma=16M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07-gce06dac-dirty(08/13/2025-21:02:05) disp_reserve=3686400,0x7c900000 aw-ubi-spinand.ubootblks=24 androidboot.dramfreq=792 androidboot.dramsize=1024 mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) uboot_backup=ubootA
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 992244K/1040736K available (7168K kernel code, 478K rwdata, 2576K rodata, 1024K init, 197K bss, 32108K reserved, 16384K cma-reserved, 242160K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x258/0x3d4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008027] Switching to timer-based delay loop, resolution 41ns
[ 0.014212] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.024076] Console: colour dummy device 80x30
[ 0.028564] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.038927] pid_max: default: 32768 minimum: 301
[ 0.043704] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.051041] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.059441] CPU: Testing write buffer coherency: ok
[ 0.064718] /cpus/cpu@0 missing clock-frequency property
[ 0.070039] /cpus/cpu@1 missing clock-frequency property
[ 0.075376] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081649] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.088344] rcu: Hierarchical SRCU implementation.
[ 0.093465] BOOTEVENT: 93.458374: ON
[ 0.097850] smp: Bringing up secondary CPUs ...
[ 0.103729] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.103887] smp: Brought up 1 node, 2 CPUs
[ 0.113715] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.119895] CPU: All CPU(s) started in SVC mode.
[ 0.125093] devtmpfs: initialized
[ 0.141875] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.150180] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.160039] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.167708] pinctrl core: initialized pinctrl subsystem
[ 0.174445] NET: Registered protocol family 16
[ 0.180800] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.232707] rtc_ccu: sunxi ccu init OK
[ 0.239205] ccu: sunxi ccu init OK
[ 0.243170] r_ccu: sunxi ccu init OK
[ 0.286987] sun6i-dma 3002000.dma-controller: sunxi dma probed
[ 0.296702] iommu: Default domain type: Translated
[ 0.301850] sunxi iommu: irq = 24
[ 0.307175] SCSI subsystem initialized
[ 0.311305] usbcore: registered new interface driver usbfs
[ 0.316956] usbcore: registered new interface driver hub
[ 0.322396] usbcore: registered new device driver usb
[ 0.327719] mc: Linux media interface: v0.10
[ 0.332061] videodev: Linux video capture interface: v2.00
[ 0.338746] Advanced Linux Sound Architecture Driver Initialized.
[ 0.345529] Bluetooth: Core ver 2.22
[ 0.349240] NET: Registered protocol family 31
[ 0.353681] Bluetooth: HCI device and connection manager initialized
[ 0.360375] Bluetooth: HCI socket layer initialized
[ 0.365264] Bluetooth: L2CAP socket layer initialized
[ 0.370377] Bluetooth: SCO socket layer initialized
[ 0.375603] pwm module init!
[ 0.388594] g2d 5410000.g2d: Adding to iommu group 0
[ 0.394059] G2D: rcq version initialized.major:251
[ 0.399622] input: sunxi-keyboard as /devices/virtual/input/input0
[ 0.407629] clocksource: Switched to clocksource arch_sys_counter
[ 0.423040] sun8iw20-pinctrl pio: initialized sunXi PIO driver
[ 0.443360] thermal_sys: Registered thermal governor 'step_wise'
[ 0.443368] thermal_sys: Registered thermal governor 'user_space'
[ 0.449436] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.456105] NET: Registered protocol family 2
[ 0.467847] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.476228] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.484659] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.491946] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.499010] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.505665] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.512980] NET: Registered protocol family 1
[ 0.518566] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator
[ 0.526853] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.533780] sunxi_spi_resource_get()2471 - Failed to get sample mode
[ 0.540190] sunxi_spi_resource_get()2476 - Failed to get sample delay
[ 0.546632] sunxi_spi_resource_get()2480 - sample_mode:-1431633921 sample_delay:-1431633921
[ 0.555042] sunxi_spi_request_dma()966 - [spi0] Request DMA channel dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[ 0.565952] sunxi_spi_clk_init()2530 - [spi0] mclk 80000000
[ 0.572295] sunxi_spi_probe()3001 - [spi0]: driver probe succeed, base f0862000, irq 42
[ 0.582493] Initialise system trusted keyrings
[ 0.587173] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.602255] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.608500] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.613155] fuse: init (API version 7.31)
[ 0.647445] NET: Registered protocol family 38
[ 0.652039] Key type asymmetric registered
[ 0.656150] Asymmetric key parser 'x509' registered
[ 0.661122] bounce: pool size: 64 pages
[ 0.665052] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.672478] io scheduler mq-deadline registered
[ 0.677004] io scheduler kyber registered
[ 0.681128] atomic64_test: passed
[ 0.685924] [DISP]disp_module_init
[ 0.690043] disp 5000000.disp: Adding to iommu group 0
[ 0.695800] [DISP] disp_init,line:2372:
[ 0.695805] smooth display screen:0 type:1 mode:4
[ 0.721407] [pq_init]+++
[ 0.724187] display_fb_request,fb_id:0
[ 0.742925] disp_al_manager_apply ouput_type:1
[ 0.747555] [DISP] lcd_clk_config,line:777:
[ 0.747566] disp 0, clk: pll(408000000),clk(408000000),dclk(68000000) dsi_rate(68000000)
[ 0.747566] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 0.748282] [DISP]disp_module_init finish
[ 0.752263] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator
[ 0.770183] sunxi_sid_init()783 - insmod ok
[ 0.778240] Freeing logo buffer memory: 3600K
[ 0.781139] pwm-regulator: supplied by regulator-dummy
[ 0.795216] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.803449] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator
[ 0.811679] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.818959] uart0: ttyAS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.826905] sw_console_setup()1831 - console setup baud 115200 parity n bits 8, flow n
[ 0.834901] printk: console [ttyAS0] enabled
[ 0.834901] printk: console [ttyAS0] enabled
[ 0.843960] printk: bootconsole [earlycon0] disabled
[ 0.843960] printk: bootconsole [earlycon0] disabled
[ 0.855327] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator
[ 0.864417] uart uart1: uart1 supply uart not found, using dummy regulator
[ 0.872484] uart1: ttyAS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[ 0.882580] misc dump reg init
[ 0.886515] deinterlace 5400000.deinterlace: Adding to iommu group 0
[ 0.894228] deinterlace 5400000.deinterlace: version[1.0.0], ip=0x110
[ 0.903174] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.910425] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.917749] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.925127] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.931653] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.938570] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.946266] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 0.954086] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 0.962181] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.969863] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.976578] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.984123] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[ 0.992370] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 0.999640] [ADDR_MGT] addr_init: Failed to get type_def_bt, use default: 0
[ 1.007406] [ADDR_MGT] addr_mgt_probe: success.
[ 1.013667] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[ 1.020893] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 1.028828] sunxi-spinand-phy: not detect any munufacture from id table
[ 1.036220] sunxi-spinand-phy: get spi-nand Model from fdt fail
[ 1.042838] sunxi-spinand-phy: get phy info from fdt fail
[ 1.048879] sunxi-spinand-phy: not detect munufacture from fdt
[ 1.055497] sunxi-spinand-phy: detect munufacture from id table: Winbond
[ 1.062992] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[ 1.070000] sunxi-spinand-phy: ========== arch info ==========
[ 1.076499] sunxi-spinand-phy: Model: W25N01GVZEIG
[ 1.083211] sunxi-spinand-phy: Munufacture: Winbond
[ 1.089429] sunxi-spinand-phy: DieCntPerChip: 1
[ 1.095064] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 1.100989] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.106721] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.112363] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.118107] sunxi-spinand-phy: BadBlockFlag: 0x0
[ 1.123923] sunxi-spinand-phy: OperationOpt: 0x7
[ 1.129763] sunxi-spinand-phy: MaxEraseTimes: 65000
[ 1.135774] sunxi-spinand-phy: EccFlag: 0x0
[ 1.141613] sunxi-spinand-phy: EccType: 2
[ 1.147236] sunxi-spinand-phy: EccProtectedType: 3
[ 1.152882] sunxi-spinand-phy: ========================================
[ 1.160283] sunxi-spinand-phy:
[ 1.163780] sunxi-spinand-phy: ========== physical info ==========
[ 1.170698] sunxi-spinand-phy: TotalSize: 128 M
[ 1.176031] sunxi-spinand-phy: SectorSize: 512 B
[ 1.181388] sunxi-spinand-phy: PageSize: 2 K
[ 1.186527] sunxi-spinand-phy: BlockSize: 128 K
[ 1.191882] sunxi-spinand-phy: OOBSize: 64 B
[ 1.197118] sunxi-spinand-phy: ========================================
[ 1.204509] sunxi-spinand-phy:
[ 1.208020] sunxi-spinand-phy: ========== logical info ==========
[ 1.214822] sunxi-spinand-phy: TotalSize: 128 M
[ 1.220167] sunxi-spinand-phy: SectorSize: 512 B
[ 1.225510] sunxi-spinand-phy: PageSize: 4 K
[ 1.230661] sunxi-spinand-phy: BlockSize: 256 K
[ 1.236006] sunxi-spinand-phy: OOBSize: 128 B
[ 1.241353] sunxi-spinand-phy: ========================================
[ 1.248749] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[ 1.255729] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[ 1.262813] sunxi-spinand-phy: block lock register: 0x00
[ 1.268854] sunxi-spinand-phy: feature register: 0x19
[ 1.274483] sunxi-spinand-phy: sunxi physic nand init end
[ 1.281024] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.287148] 0x000000000000-0x000000100000 : "boot0"
[ 1.298787] 0x000000100000-0x000000400000 : "uboot"
[ 1.318761] 0x000000400000-0x000000500000 : "secure_storage"
[ 1.328787] 0x000000500000-0x000008000000 : "sys"
[ 1.335361] random: fast init done
[ 1.459354] libphy: Fixed MDIO Bus: probed
[ 1.464085] CAN device driver interface
[ 1.469495] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator
[ 1.478654] gmac-power0: NULL
[ 1.481969] gmac-power1: NULL
[ 1.485272] gmac-power2: NULL
[ 1.489752] Failed to alloc md5
[ 1.493294] eth0: Use random mac address
[ 1.498206] usbcore: registered new interface driver asix
[ 1.504326] usbcore: registered new interface driver ax88179_178a
[ 1.511491] usbcore: registered new interface driver cdc_ether
[ 1.518153] usbcore: registered new interface driver net1080
[ 1.524535] usbcore: registered new interface driver cdc_subset
[ 1.531239] usbcore: registered new interface driver zaurus
[ 1.537546] usbcore: registered new interface driver cdc_ncm
[ 1.543887] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.551196] sunxi-ehci: EHCI SUNXI driver
[ 1.556209] get drvvbus-en is fail, 22
[ 1.560441] get ehci0-controller wakeup-source is fail.
[ 1.566384] sunxi ehci0-controller don't init wakeup source
[ 1.572627] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c9eb70, 0x:f087a000, irq_no:3c
[ 1.584568] [sunxi-ehci0]: Not init ehci0
[ 1.589403] get drvvbus-en is fail, 22
[ 1.593612] get ehci1-controller wakeup-source is fail.
[ 1.599575] sunxi ehci1-controller don't init wakeup source
[ 1.605789] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c9f0d0, 0x:f087e000, irq_no:3e
[ 1.618048] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 1.630369] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.637599] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 1.647701] sunxi-ehci 4200000.ehci1-controller: irq 62, io mem 0x04200000
[ 1.677694] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 1.686481] hub 1-0:1.0: USB hub found
[ 1.690737] hub 1-0:1.0: 1 port detected
[ 1.695969] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.702925] sunxi-ohci: OHCI SUNXI driver
[ 1.707975] get drvvbus-en is fail, 22
[ 1.712188] get ohci0-controller wakeup-source is fail.
[ 1.718175] sunxi ohci0-controller don't init wakeup source
[ 1.724389] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c9ee20
[ 1.734031] [sunxi-ohci0]: Not init ohci0
[ 1.738845] get drvvbus-en is fail, 22
[ 1.743063] get ohci1-controller wakeup-source is fail.
[ 1.749018] sunxi ohci1-controller don't init wakeup source
[ 1.755242] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c9f380
[ 1.765146] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 1.777485] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 1.784730] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 1.794627] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400
[ 1.872626] hub 2-0:1.0: USB hub found
[ 1.876889] hub 2-0:1.0: 1 port detected
[ 1.882382] usbcore: registered new interface driver uas
[ 1.888471] usbcore: registered new interface driver usb-storage
[ 1.895279] usbcore: registered new interface driver ums-alauda
[ 1.901961] usbcore: registered new interface driver ums-cypress
[ 1.908774] usbcore: registered new interface driver ums-datafab
[ 1.915529] usbcore: registered new interface driver ums_eneub6250
[ 1.922511] usbcore: registered new interface driver ums-freecom
[ 1.929309] usbcore: registered new interface driver ums-isd200
[ 1.935979] usbcore: registered new interface driver ums-jumpshot
[ 1.942866] usbcore: registered new interface driver ums-karma
[ 1.949462] usbcore: registered new interface driver ums-onetouch
[ 1.956339] usbcore: registered new interface driver ums-realtek
[ 1.963151] usbcore: registered new interface driver ums-sddr09
[ 1.969837] usbcore: registered new interface driver ums-sddr55
[ 1.976528] usbcore: registered new interface driver ums-usbat
[ 1.983893] ts probe start
[ 1.984306] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[ 1.996832] ts probe success
[ 1.997606] sunxi_gpadc_init,2228, success
[ 2.006062] sunxi_gpadc_setup: get channel scan data failed
[ 2.012622] input: sunxi-gpadc0 as /devices/virtual/input/input2
[ 2.020433] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[ 2.032668] sunxi-rtc 7090000.rtc: registered as rtc0
[ 2.038569] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[ 2.047434] sunxi-rtc 7090000.rtc: Fail to read dts property 'gpr_bootcount_pos'
[ 2.055732] reasonbase NULL
[ 2.058875] reason large than max, fix to hot reboot, save boot reason
[ 2.066168] invalid reason or reasonbase NULL
[ 2.071082] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 2.077161] i2c /dev entries driver
[ 2.081291] IR NEC protocol handler initialized
[ 2.086350] IR RC5(x/sz) protocol handler initialized
[ 2.092502] sunxi-rc-recv 7040000.s_cir: sunxi_irrx_resource_get: get ir protocol failed
[ 2.101643] Registered IR keymap rc_map_sunxi
[ 2.106666] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[ 2.115386] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[ 2.125918] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
[ 2.136075] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
[ 2.145893] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
[ 2.155541] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
[ 2.167455] usbcore: registered new interface driver uvcvideo
[ 2.173912] USB Video Class driver (1.1.1)
[ 2.178553] sunxi cedar version 1.1
[ 2.182723] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 2.189004] VE: sunxi_cedar_probe power-domain init!!!
[ 2.194764] VE: install start!!!
[ 2.194764]
[ 2.200323] VE: cedar-ve the get irq is 43
[ 2.200323]
[ 2.206766] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[ 2.206766]
[ 2.216055] VE: install end!!!
[ 2.216055]
[ 2.221127] VE: sunxi_cedar_probe
[ 2.226340] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.235597] Bluetooth: HCI UART driver ver 2.3
[ 2.240632] Bluetooth: HCI UART protocol H4 registered
[ 2.249842] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 2.259901] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 2.266087] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 2.272473] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 2.278933] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 2.285342] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 2.291867] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 2.298385] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 2.304892] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 2.311894] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 2.317432] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.328568] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.347651] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.372077] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.377773] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.388336] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 2.398830] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.405020] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.411383] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.417825] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.424254] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.430774] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.437273] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.443800] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.450406] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.459892] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.471034] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.491168] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.515438] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.522302] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.529986] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.536828] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.538426] usbcore: registered new interface driver usbhid
[ 2.551746] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.554654] usbhid: USB HID core driver
[ 2.568387] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.570509] exFAT: Version 1.3.0
[ 2.578022] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.581281] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox start probe
[ 2.588416] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.596773] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox probe success
[ 2.604171] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.612936] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver 2.2.1
[ 2.619187] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.625978] sunxi-rproc 3000008.dsp_rproc: failed to get firmware-name
[ 2.626612] remoteproc remoteproc0: dsp_rproc is available
[ 2.650618] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver probe ok
[ 2.658137] sunxi-rproc 6010000.c906_rproc: sunxi rproc driver 2.2.1
[ 2.665716] remoteproc remoteproc1: c906_rproc is available
[ 2.672086] sunxi-rproc 6010000.c906_rproc: sunxi rproc driver probe ok
[ 2.679755] rpmsg_tty_init: Sunxi rpmsg tty driver will init
[ 2.686152] rpmsg_tty_init: Sunxi rpmsg tty driver init ok
[ 2.697241] NET: Registered protocol family 10
[ 2.703497] Segment Routing with IPv6
[ 2.707789] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.716024] NET: Registered protocol family 17
[ 2.721071] NET: Registered protocol family 15
[ 2.726049] can: controller area network core (rev 20170425 abi 9)
[ 2.733101] NET: Registered protocol family 29
[ 2.738097] can: raw protocol (rev 20170425)
[ 2.742881] can: broadcast manager protocol (rev 20170425 t)
[ 2.749288] can: netlink gateway (rev 20190810) max_hops=1
[ 2.756506] Registering SWP/SWPB emulation handler
[ 2.762267] Loading compiled-in X.509 certificates
[ 2.787999] sunxi-twi 2502800.twi: 2502800.twi supply twi not found, using dummy regulator
[ 2.798834] sunxi:i2c_sunxi@2502800.twi[INFO]: v2.6.5 probe success
[ 2.807695] sunxi-thermal 2009400.ths: sun8iw20 chip id: 13312
[ 2.814223] sunxi-thermal 2009400.ths: sun8iw20 t1: 3000
[ 2.820327] sunxi-thermal 2009400.ths: sun8iw20 cp version:15
[ 2.859067] ubi0: attaching mtd3
[ 3.215248] ubi0: scanning is finished
[ 3.231050] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 3.237205] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 3.244941] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 3.252560] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.260374] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[ 3.267102] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[ 3.275208] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 3.284579] ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[ 3.294937] ubi0: background thread "ubi_bgt0d" started, PID 1157
[ 3.319868] block ubiblock0_5: created from ubi0:5(rootfs)
[ 3.326622] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 3.338953] get ctp_power is fail, -22
[ 3.343161] get ctp_power_ldo_vol is fail, -22
[ 3.348354] sunxi_ctp_startup: ctp_power_io is invalid.
[ 3.354249] get ctp_gesture_wakeup fail, no gesture wakeup
[ 3.360450] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 3.537713] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.548347] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.556951] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.565613] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.576240] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.584839] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.593505] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.604132] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.612730] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.621382] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.632009] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.640605] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.649261] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.659888] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.668485] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.677075] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 3.837631] <<-GTP-ERROR->> GTP i2c test failed time 1.
[ 3.867678] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.878306] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.886904] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.895560] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.906187] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.914784] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.923436] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.934063] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.942661] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.951315] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.961941] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.970538] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.979194] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.989820] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.998417] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.007015] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.167649] <<-GTP-ERROR->> GTP i2c test failed time 2.
[ 4.197678] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.208306] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.216903] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.225556] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.236183] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.244778] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.253435] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.264063] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.272659] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.281311] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.291938] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.300535] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.309192] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.319819] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.328415] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.337008] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.497632] <<-GTP-ERROR->> GTP i2c test failed time 3.
[ 4.527678] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.538306] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.546903] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.555560] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.566188] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.574784] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.583437] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.594063] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.602659] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.611315] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.621943] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.630540] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.639194] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.649821] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.658418] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.667014] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.827633] <<-GTP-ERROR->> GTP i2c test failed time 4.
[ 4.857678] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.868305] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.876902] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.885554] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.896181] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.904779] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.913436] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.924062] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.932660] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.941315] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.951944] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.960542] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.969201] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.979828] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.988424] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.997015] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 5.157632] <<-GTP-ERROR->> GTP i2c test failed time 5.
[ 5.187631] I2C communication ERROR!
[ 5.187661] regulator-dummy: Underflow of regulator enable count
[ 5.198635] gt9xxnew_ts: probe of 2-0014 failed with error -1
[ 5.207940] sunxi-vin-core 5809000.vinc: Adding to iommu group 0
[ 5.215040] sunxi-vin-core 5809200.vinc: Adding to iommu group 0
[ 5.222805] sun8iw20-pinctrl pio: pin PE13 already requested by 4500000.gmac0; cannot claim for pio:141
[ 5.233391] sun8iw20-pinctrl pio: pin-141 (pio:141) status -22
[ 5.240307] [VIN_WARN]get csi isp clk fail
[ 5.244901] [VIN_WARN]get csi isp src clk fail
[ 5.249917] [VIN_WARN]get csi mipi clk fail
[ 5.254609] [VIN_WARN]get csi mipi src clk fail
[ 5.259737] [VIN_WARN]get csi isp mbus clk fail
[ 5.264829] [VIN_WARN]Get isp reset control fail
[ 5.270225] [VIN_ERR]n5 request i2c1 adapter failed!
[ 5.278354] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.289661] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.297133] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 5.297710] clk: Not disabling unused clocks
[ 5.306848] cfg80211: failed to load regulatory.db
[ 5.311785] ALSA device list:
[ 5.320394] No soundcards found.
[ 5.324218] alloc_fd: slot 0 not NULL!
[ 5.332017] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 5.341684] Freeing unused kernel memory: 1024K
[ 5.377797] Kernel init done
[ 5.381026] Run /init as init process
[ 5.656343] random: crng init done
Starting syslogd: OK
Starting klogd: OK
Populating /dev using udev: [ 6.579936] udevd[1278]: starting version 3.2.7
[ 6.688103] udevd[1278]: specified group 'input' unknown
[ 6.694843] udevd[1278]: specified group 'kvm' unknown
[ 6.742357] udevd[1279]: starting eudev-3.2.7
[ 6.877938]
[ 6.877938] insmod_device_driver
[ 6.877938]
[ 6.885259] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
done
read-only file system detected...done
Starting system message bus: done
Starting network: OK
Starting dhcpcd...
dev: loaded udev
no interfaces have a carrier
forked to background, child pid 1393
usb0 current mode: usb_device
Starting adb: mkdir: can't create directory '/system/': Read-only file system
mkdir: can't create directory '/system/': Read-only file system
ln: /system/bin/sh: No such file or directory
[ 8.567801] file system registered
[ 8.598808] libphy: 4500000.gmac0: probed
[ 8.603684] sunxi-gmac 4500000.gmac0 eth0: eth0: Type(8) PHY ID 001cc916 at 0 IRQ poll (4500000.gmac0-0:00)
OK
Initializing postgresql data base...
init adb main
Handling main()
[ 8.662070] read descriptors
su: unknown user postgres
[ 8.667049] read strings
done
Starting postgresql: su: unknown user postgres
OK
/etc/init.d/S50powerkey_display: line 12: powerkey_display: command not found
/etc/init.d/S50powerkey_suspend: line 12: powerkey_suspend: command not found
[ 8.828494] sunxi_set_cur_vol_work()422 WARN: get power supply failed
[ 8.855966] UBIFS (ubi0:7): Mounting in unauthenticated mode
[ 8.862592] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 1468
[ 8.914893] android_work: sent uevent USB_STATE=CONNECTED
[ 8.953073] configfs-gadget gadget: high-speed config #1: c
[ 8.959603] android_work: sent uevent USB_STATE=CONFIGURED
[ 8.976626] UBIFS (ubi0:7): recovery needed
[ 9.100756] UBIFS (ubi0:7): recovery completed
[ 9.105844] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "UDISK"
[ 9.114082] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 9.125226] UBIFS (ubi0:7): FS size: 9289728 bytes (8 MiB, 36 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs)
[ 9.136568] UBIFS (ubi0:7): reserved for root: 438776 bytes (428 KiB)
[ 9.136578] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID C00361AC-BE52-489B-827A-A3270F83EE22, small LPT model
[ 9.144108] UBIFS (ubi0:7): full atime support is enabled.
mount: mounting /dev/mmcblk0 on /mnt/exUDISK/ failed: No such file or directory
Starting dnsmasq: OK
modprobe: module gt9xxnew_ts not found in modules.dep
未找到名称为 'generic ft5x06 (79)' 的触摸屏设备
未找到名称为 'gt9xxnew_ts' 的触摸屏设备
找到红外接收设备: /sys/class/input/event3 (名称: sunxi-ir)
成功创建符号链接: /dev/input/ir0 -> event3
Trying to connect to SWUpdate...
swu_param: ####
swu_software: ####
swu_mode: ####
no swupdate_cmd to run, wait for next swupdate
wh=720x1280, vwh=720x2560, bpp=32, rotated=0
Turn on double buffering.
Turn on 2d hardware acceleration.
Turn on 2d hardware acceleration rotate.同一个固件,烧录到 T113-i W25N02KVZEIR,烧录正常,运行出错:
[157]HELLO! BOOT0 is starting!
[160]BOOT0 commit : 2386bdb825
[163]set pll start
[165]fix vccio detect value:0xc0
[172]periph0 has been enabled
[175]set pll end
[177][pmu]: bus read error
[179]board init ok
[181]enable_jtag
[183]get_pmu_exist() = -1
[185]DRAM BOOT DRIVE INFO: V0.34
[188]DRAM CLK = 792 MHz
[191]DRAM Type = 3 (2:DDR2,3:DDR3)
[194]DRAMC ZQ value: 0x7b7bfb
[196]DRAM ODT value: 0x42.
[199]ddr_efuse_type: 0x0
[202]DRAM SIZE = 1024 MB
[209]DRAM simple test OK.
[212]rtc standby flag is 0x0, super standby flag is 0x0
[217]dram size =1024
[219]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[225]block from 8 to 32
[380]Check is correct. Find a good uboot copy at block 8
[385]dma 0x2b424 int is not used yet
[388]dma 0x2b424 int is free, you do not need to free it again
[394]Entry_name = u-boot
[401]Entry_name = optee
[405]Entry_name = dtb
[408]Jump to second Boot.
M/TC: OP-TEE version: 2a99a16f (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Thu Aug 17 11:13:02 UTC 2023 arm
E/TC:0 0 platform_standby_fdt_parse:126 no pmu0 node
E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
U-Boot 2018.07-gce06dac-dirty (Aug 13 2025 - 21:02:05 +0800) Allwinner Technology
[00.479]CPU: Allwinner Family
[00.482]Model: sun8iw20
[00.484]DRAM: 1 GiB
[00.487]Relocation Offset is: 3cebb000
[00.515]secure enable bit: 0
CACHE: Misaligned operation at range [7c87ae68, 7c89ae68]
E/TC:0 fdt_getprop_u32:336 prop trace_level not found
[00.534]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.540]gic: sec monitor mode
[00.544]line:703 init_clocks
[00.546]flash init start
[00.549]workmode = 0,storage type = 0
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x0fb00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.698]ubi0: attaching mtd4
[01.231]ubi0: scanning is finished
[01.242]ubi0: attached mtd4 (name "sys", size 251 MiB)
[01.246]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[01.253]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[01.259]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[01.265]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[01.271]ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
[01.277]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01.285]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[01.294]sunxi flash init ok
[01.296]drv_disp_init
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[01.573]disp_fat_load for lcd config failed
[01.592][DEBUG] primary_key: lcd0
[01.595]lcd->hwdev_index: 0, i: 0
[01.625]drv_disp_init finish
[01.835]Loading Environment from SUNXI_FLASH... OK
[01.876]boot_gui_init:start
partno erro : can't find partition Reserve0
lcd 630 init ...............................
[02.195]LCD open finish
bad fb1_cfg[w=0,h=0,bpp=32,format=0]
[02.243]boot_gui_init:finish
partno erro : can't find partition bootloader
[02.277]bmp_name=bootlogo.bmp size 38454
secure storage read widevine fail
secure storage read ec_key fail
secure storage read ec_cert1 fail
secure storage read ec_cert2 fail
secure storage read ec_cert3 fail
secure storage read rsa_key fail
secure storage read rsa_cert1 fail
secure storage read rsa_cert2 fail
secure storage read rsa_cert3 fail
[02.318]usb burn from boot
delay time 0
weak:otg_phy_config
[02.329]usb prepare ok
[02.537]usb sof ok
[02.538]usb probe ok
[02.540]usb setup ok
set address 0x2f
set address 0x2f ok
try to update
[02.945]do_burn_from_boot usb : have no handshake
List file under ULI/factory
** Unrecognized filesystem type **
[02.981]update bootcmd
[03.017]change working_fdt 0x7c87ae68 to 0x7c85ae68
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[03.078]disp_fat_load for lcd config failed
partno erro : can't find partition bootloader
writing lcd_compatible_index.txt
[03.116]offset should be 0 but 0x27d when write to new volume boot-resource
Error: writing contents
** Unable to write "lcd_compatible_index.txt" from sunxi_flash 0:1 **
[03.131]do_fat_fswrite for lcd config failed
partno erro : can't find partition bootloader
** Unable to read file lcd_compatible_index.txt **
[03.170]disp_fat_load for lcd config failed
[03.176]update dts
Hit any key to stop autoboot: 0
[03.885]no vendor_boot partition is found
Android's image name: sun8i_arm
ERROR: reserving fdt memory region failed (addr=41b00000 size=100000)
ERROR: reserving fdt memory region failed (addr=7c919000 size=384000)
[03.955]Starting kernel ...
[03.958]total: 3958 ms
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (ubuntu@ubuntu) (arm-linux-gnueabi-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412, GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02) #1 SMP PREEMPT Tue Aug 12 16:19:19 CST 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created DMA memory pool at 0x42200000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42200000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42244000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node dsp0_rpbuf@42244000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42900000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42900000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42944000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node c906_rpbuf@42980000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] On node 0 totalpages: 260184
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 194648 pages, LIFO batch:63
[ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s30976 r8192 d22272 u61440
[ 0.000000] pcpu-alloc: s30976 r8192 d22272 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258648
[ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyAS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/init rdinit=/rdinit partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:UDISK@ubi0_7: cma=16M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07-gce06dac-dirty(08/13/2025-21:02:05) disp_reserve=3686400,0x7c919000 aw-ubi-spinand.ubootblks=24 androidboot.dramfreq=792 androidboot.dramsize=1024 mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) uboot_backup=ubootA
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 992244K/1040736K available (7168K kernel code, 478K rwdata, 2576K rodata, 1024K init, 197K bss, 32108K reserved, 16384K cma-reserved, 242160K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x258/0x3d4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008009] Switching to timer-based delay loop, resolution 41ns
[ 0.014199] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.024060] Console: colour dummy device 80x30
[ 0.028542] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.038897] pid_max: default: 32768 minimum: 301
[ 0.043665] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.051010] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.059398] CPU: Testing write buffer coherency: ok
[ 0.064679] /cpus/cpu@0 missing clock-frequency property
[ 0.070035] /cpus/cpu@1 missing clock-frequency property
[ 0.075382] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081642] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.088342] rcu: Hierarchical SRCU implementation.
[ 0.093471] BOOTEVENT: 93.461707: ON
[ 0.097844] smp: Bringing up secondary CPUs ...
[ 0.103715] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.103873] smp: Brought up 1 node, 2 CPUs
[ 0.113718] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.119906] CPU: All CPU(s) started in SVC mode.
[ 0.125113] devtmpfs: initialized
[ 0.141893] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.150111] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.159979] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.167666] pinctrl core: initialized pinctrl subsystem
[ 0.174286] NET: Registered protocol family 16
[ 0.180665] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.232598] rtc_ccu: sunxi ccu init OK
[ 0.238875] ccu: sunxi ccu init OK
[ 0.242826] r_ccu: sunxi ccu init OK
[ 0.286956] sun6i-dma 3002000.dma-controller: sunxi dma probed
[ 0.296362] iommu: Default domain type: Translated
[ 0.301553] sunxi iommu: irq = 24
[ 0.306171] SCSI subsystem initialized
[ 0.310321] usbcore: registered new interface driver usbfs
[ 0.315992] usbcore: registered new interface driver hub
[ 0.321420] usbcore: registered new device driver usb
[ 0.326760] mc: Linux media interface: v0.10
[ 0.331096] videodev: Linux video capture interface: v2.00
[ 0.338433] Advanced Linux Sound Architecture Driver Initialized.
[ 0.345252] Bluetooth: Core ver 2.22
[ 0.348998] NET: Registered protocol family 31
[ 0.353441] Bluetooth: HCI device and connection manager initialized
[ 0.359873] Bluetooth: HCI socket layer initialized
[ 0.364758] Bluetooth: L2CAP socket layer initialized
[ 0.369862] Bluetooth: SCO socket layer initialized
[ 0.375060] pwm module init!
[ 0.388012] g2d 5410000.g2d: Adding to iommu group 0
[ 0.393484] G2D: rcq version initialized.major:251
[ 0.399069] input: sunxi-keyboard as /devices/virtual/input/input0
[ 0.407067] clocksource: Switched to clocksource arch_sys_counter
[ 0.422871] sun8iw20-pinctrl pio: initialized sunXi PIO driver
[ 0.443474] thermal_sys: Registered thermal governor 'step_wise'
[ 0.443481] thermal_sys: Registered thermal governor 'user_space'
[ 0.449633] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.456317] NET: Registered protocol family 2
[ 0.468300] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.476697] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.484607] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.491875] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.498403] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.505081] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.512401] NET: Registered protocol family 1
[ 0.518008] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator
[ 0.526287] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.533155] sunxi_spi_resource_get()2471 - Failed to get sample mode
[ 0.539716] sunxi_spi_resource_get()2476 - Failed to get sample delay
[ 0.546168] sunxi_spi_resource_get()2480 - sample_mode:-1431633921 sample_delay:-1431633921
[ 0.554563] sunxi_spi_request_dma()966 - [spi0] Request DMA channel dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[ 0.565473] sunxi_spi_clk_init()2530 - [spi0] mclk 80000000
[ 0.571845] sunxi_spi_probe()3001 - [spi0]: driver probe succeed, base f0862000, irq 42
[ 0.582017] Initialise system trusted keyrings
[ 0.586674] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.601816] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.608134] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.612802] fuse: init (API version 7.31)
[ 0.646524] NET: Registered protocol family 38
[ 0.651174] Key type asymmetric registered
[ 0.655295] Asymmetric key parser 'x509' registered
[ 0.660262] bounce: pool size: 64 pages
[ 0.664181] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.671600] io scheduler mq-deadline registered
[ 0.676127] io scheduler kyber registered
[ 0.680263] atomic64_test: passed
[ 0.685082] [DISP]disp_module_init
[ 0.689202] disp 5000000.disp: Adding to iommu group 0
[ 0.694948] [DISP] disp_init,line:2372:
[ 0.694953] smooth display screen:0 type:1 mode:4
[ 0.720531] [pq_init]+++
[ 0.723296] display_fb_request,fb_id:0
[ 0.742230] disp_al_manager_apply ouput_type:1
[ 0.746850] [DISP] lcd_clk_config,line:777:
[ 0.746861] disp 0, clk: pll(408000000),clk(408000000),dclk(68000000) dsi_rate(68000000)
[ 0.746861] clk real:pll(408000000),clk(408000000),dclk(102000000) dsi_rate(150000000)
[ 0.747722] [DISP]disp_module_init finish
[ 0.751683] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator
[ 0.769574] sunxi_sid_init()783 - insmod ok
[ 0.779809] Freeing logo buffer memory: 3600K
[ 0.784653] pwm-regulator: supplied by regulator-dummy
[ 0.794654] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.802874] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator
[ 0.811104] uart uart0: uart0 supply uart not found, using dummy regulator
[ 0.818391] uart0: ttyAS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.826317] sw_console_setup()1831 - console setup baud 115200 parity n bits 8, flow n
[ 0.834314] printk: console [ttyAS0] enabled
[ 0.834314] printk: console [ttyAS0] enabled
[ 0.843380] printk: bootconsole [earlycon0] disabled
[ 0.843380] printk: bootconsole [earlycon0] disabled
[ 0.854769] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator
[ 0.863893] uart uart1: uart1 supply uart not found, using dummy regulator
[ 0.871965] uart1: ttyAS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[ 0.882059] misc dump reg init
[ 0.886023] deinterlace 5400000.deinterlace: Adding to iommu group 0
[ 0.893719] deinterlace 5400000.deinterlace: version[1.0.0], ip=0x110
[ 0.902713] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.909981] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.917315] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.924717] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.931254] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.938191] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.945901] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 0.953743] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 0.961861] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.969537] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.976271] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.983828] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[ 0.992105] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 0.999390] [ADDR_MGT] addr_init: Failed to get type_def_bt, use default: 0
[ 1.007247] [ADDR_MGT] addr_mgt_probe: success.
[ 1.013442] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[ 1.020689] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 1.028632] sunxi-spinand-phy: not detect any munufacture from id table
[ 1.036027] sunxi-spinand-phy: get spi-nand Model from fdt fail
[ 1.042670] sunxi-spinand-phy: get phy info from fdt fail
[ 1.048717] sunxi-spinand-phy: not detect munufacture from fdt
[ 1.055366] sunxi-spinand-phy: detect munufacture from id table: Winbond
[ 1.062887] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[ 1.069899] sunxi-spinand-phy: ========== arch info ==========
[ 1.076419] sunxi-spinand-phy: Model: W25N01GVZEIG
[ 1.083139] sunxi-spinand-phy: Munufacture: Winbond
[ 1.089377] sunxi-spinand-phy: DieCntPerChip: 1
[ 1.095018] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 1.100965] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.106702] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.112362] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.118111] sunxi-spinand-phy: BadBlockFlag: 0x0
[ 1.123948] sunxi-spinand-phy: OperationOpt: 0x7
[ 1.129793] sunxi-spinand-phy: MaxEraseTimes: 65000
[ 1.135826] sunxi-spinand-phy: EccFlag: 0x0
[ 1.141669] sunxi-spinand-phy: EccType: 2
[ 1.147344] sunxi-spinand-phy: EccProtectedType: 3
[ 1.152988] sunxi-spinand-phy: ========================================
[ 1.160394] sunxi-spinand-phy:
[ 1.163901] sunxi-spinand-phy: ========== physical info ==========
[ 1.170817] sunxi-spinand-phy: TotalSize: 128 M
[ 1.176169] sunxi-spinand-phy: SectorSize: 512 B
[ 1.181530] sunxi-spinand-phy: PageSize: 2 K
[ 1.186688] sunxi-spinand-phy: BlockSize: 128 K
[ 1.192047] sunxi-spinand-phy: OOBSize: 64 B
[ 1.197312] sunxi-spinand-phy: ========================================
[ 1.204700] sunxi-spinand-phy:
[ 1.208223] sunxi-spinand-phy: ========== logical info ==========
[ 1.215028] sunxi-spinand-phy: TotalSize: 128 M
[ 1.220392] sunxi-spinand-phy: SectorSize: 512 B
[ 1.225740] sunxi-spinand-phy: PageSize: 4 K
[ 1.230907] sunxi-spinand-phy: BlockSize: 256 K
[ 1.236256] sunxi-spinand-phy: OOBSize: 128 B
[ 1.241619] sunxi-spinand-phy: ========================================
[ 1.249021] sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1
[ 1.256028] sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1
[ 1.263126] sunxi-spinand-phy: block lock register: 0x00
[ 1.269195] sunxi-spinand-phy: feature register: 0x19
[ 1.274845] sunxi-spinand-phy: sunxi physic nand init end
[ 1.281395] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.287570] 0x000000000000-0x000000100000 : "boot0"
[ 1.298164] 0x000000100000-0x000000400000 : "uboot"
[ 1.318198] 0x000000400000-0x000000500000 : "secure_storage"
[ 1.328204] 0x000000500000-0x000008000000 : "sys"
[ 1.335097] random: fast init done
[ 1.458850] libphy: Fixed MDIO Bus: probed
[ 1.463598] CAN device driver interface
[ 1.469031] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator
[ 1.478243] gmac-power0: NULL
[ 1.481562] gmac-power1: NULL
[ 1.484876] gmac-power2: NULL
[ 1.489453] Failed to alloc md5
[ 1.492977] eth0: Use random mac address
[ 1.497934] usbcore: registered new interface driver asix
[ 1.504057] usbcore: registered new interface driver ax88179_178a
[ 1.511039] usbcore: registered new interface driver cdc_ether
[ 1.517650] usbcore: registered new interface driver net1080
[ 1.524032] usbcore: registered new interface driver cdc_subset
[ 1.530756] usbcore: registered new interface driver zaurus
[ 1.537116] usbcore: registered new interface driver cdc_ncm
[ 1.543449] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.550808] sunxi-ehci: EHCI SUNXI driver
[ 1.555829] get drvvbus-en is fail, 22
[ 1.560048] get ehci0-controller wakeup-source is fail.
[ 1.566029] sunxi ehci0-controller don't init wakeup source
[ 1.572281] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c9eb70, 0x:f087a000, irq_no:3c
[ 1.584264] [sunxi-ehci0]: Not init ehci0
[ 1.589094] get drvvbus-en is fail, 22
[ 1.593291] get ehci1-controller wakeup-source is fail.
[ 1.599276] sunxi ehci1-controller don't init wakeup source
[ 1.605511] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c9f0d0, 0x:f087e000, irq_no:3e
[ 1.617774] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 1.630147] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.637408] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 1.647490] sunxi-ehci 4200000.ehci1-controller: irq 62, io mem 0x04200000
[ 1.677094] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 1.685895] hub 1-0:1.0: USB hub found
[ 1.690179] hub 1-0:1.0: 1 port detected
[ 1.695411] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.702381] sunxi-ohci: OHCI SUNXI driver
[ 1.707437] get drvvbus-en is fail, 22
[ 1.711665] get ohci0-controller wakeup-source is fail.
[ 1.717651] sunxi ohci0-controller don't init wakeup source
[ 1.723887] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c9ee20
[ 1.733541] [sunxi-ohci0]: Not init ohci0
[ 1.738366] get drvvbus-en is fail, 22
[ 1.742560] get ohci1-controller wakeup-source is fail.
[ 1.748557] sunxi ohci1-controller don't init wakeup source
[ 1.754788] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c9f380
[ 1.764731] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 1.777127] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 1.784370] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 1.794252] sunxi-ohci 4200400.ohci1-controller: irq 63, io mem 0x04200400
[ 1.872080] hub 2-0:1.0: USB hub found
[ 1.876370] hub 2-0:1.0: 1 port detected
[ 1.881887] usbcore: registered new interface driver uas
[ 1.887984] usbcore: registered new interface driver usb-storage
[ 1.894804] usbcore: registered new interface driver ums-alauda
[ 1.901502] usbcore: registered new interface driver ums-cypress
[ 1.908300] usbcore: registered new interface driver ums-datafab
[ 1.915094] usbcore: registered new interface driver ums_eneub6250
[ 1.922090] usbcore: registered new interface driver ums-freecom
[ 1.928902] usbcore: registered new interface driver ums-isd200
[ 1.935579] usbcore: registered new interface driver ums-jumpshot
[ 1.942484] usbcore: registered new interface driver ums-karma
[ 1.949107] usbcore: registered new interface driver ums-onetouch
[ 1.955999] usbcore: registered new interface driver ums-realtek
[ 1.962820] usbcore: registered new interface driver ums-sddr09
[ 1.969527] usbcore: registered new interface driver ums-sddr55
[ 1.976226] usbcore: registered new interface driver ums-usbat
[ 1.983597] ts probe start
[ 1.984037] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input1
[ 1.996489] ts probe success
[ 1.997284] sunxi_gpadc_init,2228, success
[ 2.005701] sunxi_gpadc_setup: get channel scan data failed
[ 2.012301] input: sunxi-gpadc0 as /devices/virtual/input/input2
[ 2.020147] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
[ 2.032360] sunxi-rtc 7090000.rtc: registered as rtc0
[ 2.038200] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:06 UTC (6)
[ 2.047099] sunxi-rtc 7090000.rtc: Fail to read dts property 'gpr_bootcount_pos'
[ 2.055397] reasonbase NULL
[ 2.058539] reason large than max, fix to hot reboot, save boot reason
[ 2.065852] invalid reason or reasonbase NULL
[ 2.070748] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 2.076819] i2c /dev entries driver
[ 2.080967] IR NEC protocol handler initialized
[ 2.086046] IR RC5(x/sz) protocol handler initialized
[ 2.092199] sunxi-rc-recv 7040000.s_cir: sunxi_irrx_resource_get: get ir protocol failed
[ 2.101464] Registered IR keymap rc_map_sunxi
[ 2.106513] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[ 2.115296] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[ 2.125872] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
[ 2.136059] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
[ 2.145886] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
[ 2.155557] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
[ 2.167524] usbcore: registered new interface driver uvcvideo
[ 2.173970] USB Video Class driver (1.1.1)
[ 2.178607] sunxi cedar version 1.1
[ 2.182737] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 2.189025] VE: sunxi_cedar_probe power-domain init!!!
[ 2.194796] VE: install start!!!
[ 2.194796]
[ 2.200399] VE: cedar-ve the get irq is 43
[ 2.200399]
[ 2.206873] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[ 2.206873]
[ 2.216166] VE: install end!!!
[ 2.216166]
[ 2.221254] VE: sunxi_cedar_probe
[ 2.226561] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.235856] Bluetooth: HCI UART driver ver 2.3
[ 2.240869] Bluetooth: HCI UART protocol H4 registered
[ 2.250058] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 2.260055] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 2.266250] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 2.272605] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 2.279047] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 2.285470] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 2.292006] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 2.298542] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 2.305062] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 2.312109] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 2.317730] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.328885] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.347136] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.371571] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.377291] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.388989] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 2.398925] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.405134] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.411516] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.418036] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.424465] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.431023] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.437566] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.444107] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.450668] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.460167] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.471391] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.491565] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.515799] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.523503] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.531073] usbcore: registered new interface driver usbhid
[ 2.537341] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.544227] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.547106] usbhid: USB HID core driver
[ 2.558864] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.560140] exFAT: Version 1.3.0
[ 2.573908] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.575746] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox start probe
[ 2.582945] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.591289] sunxi-msgbox 3003000.msgbox: sunxi_msgbox_probe(): sunxi msgbox probe success
[ 2.598681] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.607543] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver 2.2.1
[ 2.614601] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.620630] sunxi-rproc 3000008.dsp_rproc: failed to get firmware-name
[ 2.627348] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.635113] remoteproc remoteproc0: dsp_rproc is available
[ 2.651923] sunxi-rproc 3000008.dsp_rproc: sunxi rproc driver probe ok
[ 2.659463] sunxi-rproc 6010000.c906_rproc: sunxi rproc driver 2.2.1
[ 2.667026] remoteproc remoteproc1: c906_rproc is available
[ 2.673456] sunxi-rproc 6010000.c906_rproc: sunxi rproc driver probe ok
[ 2.681182] rpmsg_tty_init: Sunxi rpmsg tty driver will init
[ 2.687617] rpmsg_tty_init: Sunxi rpmsg tty driver init ok
[ 2.698745] NET: Registered protocol family 10
[ 2.704979] Segment Routing with IPv6
[ 2.709239] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.717636] NET: Registered protocol family 17
[ 2.722653] NET: Registered protocol family 15
[ 2.727735] can: controller area network core (rev 20170425 abi 9)
[ 2.734755] NET: Registered protocol family 29
[ 2.739770] can: raw protocol (rev 20170425)
[ 2.744561] can: broadcast manager protocol (rev 20170425 t)
[ 2.750942] can: netlink gateway (rev 20190810) max_hops=1
[ 2.758198] Registering SWP/SWPB emulation handler
[ 2.763967] Loading compiled-in X.509 certificates
[ 2.789854] sunxi-twi 2502800.twi: 2502800.twi supply twi not found, using dummy regulator
[ 2.800643] sunxi:i2c_sunxi@2502800.twi[INFO]: v2.6.5 probe success
[ 2.809517] sunxi-thermal 2009400.ths: sun8iw20 chip id: 13312
[ 2.816062] sunxi-thermal 2009400.ths: sun8iw20 t1: 3000
[ 2.822188] sunxi-thermal 2009400.ths: sun8iw20 cp version:15
[ 2.868512] ubi0: attaching mtd3
[ 3.221604] ubi0: scanning is finished
[ 3.225851] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 3.234179] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
[ 3.242140] UBI error: cannot attach mtd3
[ 3.246635] UBI: block: can't open volume on ubi0_-1, err=-19
[ 3.253648] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 3.265866] get ctp_power is fail, -22
[ 3.270116] get ctp_power_ldo_vol is fail, -22
[ 3.275108] sunxi_ctp_startup: ctp_power_io is invalid.
[ 3.281028] get ctp_gesture_wakeup fail, no gesture wakeup
[ 3.287219] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 3.447136] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.457768] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.466371] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.475030] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.485659] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.494258] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.502911] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.513540] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.522138] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.530800] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.541429] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.550027] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.558681] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.569309] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.577906] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.586503] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 3.747071] <<-GTP-ERROR->> GTP i2c test failed time 1.
[ 3.777116] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.787745] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.796342] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.804996] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.815621] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.824219] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.832875] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.843504] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.852102] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.860753] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.871381] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.879977] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.888637] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 3.899266] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 3.907862] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 3.916456] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.077069] <<-GTP-ERROR->> GTP i2c test failed time 2.
[ 4.107136] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.117762] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.126362] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.135016] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.145645] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.154243] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.162895] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.173523] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.182119] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.190777] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.201406] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.210002] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.218654] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.229283] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.237878] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.246476] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.407070] <<-GTP-ERROR->> GTP i2c test failed time 3.
[ 4.437115] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.447744] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.456343] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.464994] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.475623] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.484221] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.492874] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.503503] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.512100] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.520752] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.531380] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.539976] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.548632] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.559260] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.567856] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.576451] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.737069] <<-GTP-ERROR->> GTP i2c test failed time 4.
[ 4.767115] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.777744] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.786342] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.795000] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.805629] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.814225] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.822878] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.833507] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.842105] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.850761] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.861390] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.869986] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.878642] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: Address + Write bit transmitted,ACK not received
[ 4.889270] sunxi:i2c_sunxi@2502800.twi[ERR]: drv mode: TWI BUS error state is 0x20
[ 4.897868] sunxi:i2c_sunxi@2502800.twi[ERR]: drv-mode: xfer failed (dev addr:0x14)
[ 4.906466] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 5.067084] <<-GTP-ERROR->> GTP i2c test failed time 5.
[ 5.097068] I2C communication ERROR!
[ 5.097097] regulator-dummy: Underflow of regulator enable count
[ 5.097323] gt9xxnew_ts: probe of 2-0014 failed with error -1
[ 5.117192] sunxi-vin-core 5809000.vinc: Adding to iommu group 0
[ 5.124293] sunxi-vin-core 5809200.vinc: Adding to iommu group 0
[ 5.132021] sun8iw20-pinctrl pio: pin PE13 already requested by 4500000.gmac0; cannot claim for pio:141
[ 5.142650] sun8iw20-pinctrl pio: pin-141 (pio:141) status -22
[ 5.149532] [VIN_WARN]get csi isp clk fail
[ 5.154128] [VIN_WARN]get csi isp src clk fail
[ 5.159152] [VIN_WARN]get csi mipi clk fail
[ 5.159158] [VIN_WARN]get csi mipi src clk fail
[ 5.159188] [VIN_WARN]get csi isp mbus clk fail
[ 5.174024] [VIN_WARN]Get isp reset control fail
[ 5.179419] [VIN_ERR]n5 request i2c1 adapter failed!
[ 5.187542] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.198748] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.206095] clk: Not disabling unused clocks
[ 5.211026] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 5.217091] ALSA device list:
[ 5.220734] cfg80211: failed to load regulatory.db
[ 5.224019] No soundcards found.
[ 5.233331] alloc_fd: slot 0 not NULL!
[ 5.237965] /dev/root: Can't open blockdev
[ 5.242576] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -6
[ 5.251480] Please append a correct "root=" boot option; here are the available partitions:
[ 5.260938] 1f00 1024 mtdblock0
[ 5.260941] (driver?)
[ 5.268310] 1f01 3072 mtdblock1
[ 5.268313] (driver?)
[ 5.275655] 1f02 1024 mtdblock2
[ 5.275657] (driver?)
[ 5.283033] 1f03 125952 mtdblock3
[ 5.283036] (driver?)
[ 5.290395] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 5.299661] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #1
[ 5.306293] Hardware name: Generic DT based system
[ 5.311682] [<c010e390>] (unwind_backtrace) from [<c010a934>] (show_stack+0x10/0x14)
[ 5.320368] [<c010a934>] (show_stack) from [<c07a0498>] (dump_stack+0x7c/0x98)
[ 5.328469] [<c07a0498>] (dump_stack) from [<c0119e08>] (panic+0x100/0x3d4)
[ 5.336280] [<c0119e08>] (panic) from [<c0b01288>] (mount_block_root+0x260/0x304)
[ 5.344670] [<c0b01288>] (mount_block_root) from [<c0b014c8>] (prepare_namespace+0x118/0x178)
[ 5.354229] [<c0b014c8>] (prepare_namespace) from [<c07b4cb8>] (kernel_init+0x8/0x118)
[ 5.363110] [<c07b4cb8>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.371592] Exception stack(0xef079fb0 to 0xef079ff8)
[ 5.377253] 9fa0: 00000000 00000000 00000000 00000000
[ 5.386419] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.395584] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.403004] CPU1: stopping
[ 5.406037] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #1
[ 5.412667] Hardware name: Generic DT based system
[ 5.418040] [<c010e390>] (unwind_backtrace) from [<c010a934>] (show_stack+0x10/0x14)
[ 5.426722] [<c010a934>] (show_stack) from [<c07a0498>] (dump_stack+0x7c/0x98)
[ 5.434820] [<c07a0498>] (dump_stack) from [<c010c730>] (handle_IPI+0xc0/0x168)
[ 5.443018] [<c010c730>] (handle_IPI) from [<c03a9d60>] (gic_handle_irq+0x70/0x78)
[ 5.451505] [<c03a9d60>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
[ 5.459889] Exception stack(0xef09bf80 to 0xef09bfc8)
[ 5.465553] bf80: 000084b4 ef7c7574 00000000 c0115320 00000002 ef09a000 c0c03e24 c0c03e60
[ 5.474720] bfa0: 4000406a 410fc075 00000000 00000000 c0c828b0 ef09bfd0 c0108040 c0108044
[ 5.483887] bfc0: 60000113 ffffffff
[ 5.487799] [<c01021cc>] (__irq_svc) from [<c0108044>] (arch_cpu_idle+0x2c/0x38)
[ 5.496092] [<c0108044>] (arch_cpu_idle) from [<c013eb70>] (do_idle+0xb8/0x120)
[ 5.504287] [<c013eb70>] (do_idle) from [<c013ee6c>] (cpu_startup_entry+0x18/0x1c)
[ 5.512773] [<c013ee6c>] (cpu_startup_entry) from [<40102c0c>] (0x40102c0c)
[ 5.520578] invalid reason or reasonbase NULL
[ 5.525469] rtc set bootreason panic reboot fail
[ 5.530660] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
修改 openwrt/package/allwinner/multimedia/tina_multimedia/machinfo/f133-mx-hxx/config.mk
屏蔽 CEDARX_EXTRA_CXXFLAGS += -DCONF_4K_UNSUPPORT
还是不支持:
# LD_LIBRARY_PATH=/tplayerdemo/lib/:$LD_LIBRARY_PATH /tplayerdemo/bin/tplayerdem
o /mnt/exUDISK/Sony_4K_HDR_Camp.mp4
[1970-01-01 05:19:12] WARNING: awplayer <cdx_log_set_level:30>: Set log level to 6
[1970-01-01 05:19:12] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry adecoder-14 fail!
[1970-01-01 05:19:12] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry vdecoder-9 fail!
INFO : cedarc <CedarPluginVDInit:80>: register h264 decoder success!
INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
INFO : cedarc <CedarPluginVDInit:98>: register mpeg4dx decoder success!
INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
INFO : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
[1970-01-01 05:19:12] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry plugin-0 fail!
******************************************************************************************
* This program implements a simple player, you can type commands to control the player.
* To show what commands supported, type 'help'.
******************************************************************************************
dd: error writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
argc = 2
argv[0] = /tplayerdemo/bin/tplayerdemo
argv[1] = /mnt/exUDISK/Sony_4K_HDR_Camp.mp4
may be is one file:cut down suffix is:.mp4
find the matched type:.mp4
create player:0
>>>>>>>>>>>>>>>>>>>>>>>>>>>[17629.226934] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
[17629.459330] [DISP] disp_dma_map_core,line:151:
[17629.459336] dma_buf_get failed, fd=0
[17629.468343] disp dma map fail!
create player[0]:0x8b40010
screen width:3840,screen height:2160
1:playVideo:0
before TPlayerSetDataSource,94712:/mnt/exUDISK/Sony_4K_HDR_Camp.mp4
[17629.478483] VE: VE real_freq=576000000
[17629.478483]
INFO : cedarc <log_set_level:73>: Set log level to 5 from /vendor/etc/cedarc.conf
ERROR : cedarc <DebugCheckConfig:360>: now cedarc log level:5
setDataSource end
*****tplayer:video width = 3840,height = 2160
warning: unknown callback from Tinaplayer.
TPLAYER_NOTIFY_PREPARED,has prepared.
TPlayerPrepare end
(Allwinner Audio Middle Layer),line(971) : Create Decoder!!=====
(Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
(AllwinnerAlibs),line(50) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(700) : ----Loading so success!
(AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(904) : eSubCodecFormat :0
(AllwinnerAlibs),line(905) : nChannelNum :2
(AllwinnerAlibs),line(906) : nBitsPerSample :16
(AllwinnerAlibs),line(907) : nSampleRate :48000
(AllwinnerAlibs),line(908) : nAvgBitrate :192000
(AllwinnerAlibs),line(909) : nMaxBitRate :196608
(AllwinnerAlibs),line(910) : nFileSize :0
(AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(912) : eDataEncodeType :0
(AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fac0708d0
(AllwinnerAlibs),line(915) : nFlags :0
(AllwinnerAlibs),line(916) : nBlockAlign :0
(AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
started.
ERROR : cedarc <HevcInitialFBM:299>: the chip(1301000010210) is not support 10bit-stream
ERROR : cedarc <H265DecoderDecode:606>: h265 decode frame error, return unsupport, waiting for exit , ret = 36
erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
TPLAYER_NOTIFY_MEDIA_ERROR
error: open media source fail.
tplayerdemo#is not support 10bit-stream
只能换mp4 文件了。
播放4K视频出错:
# /tplayerdemo/bin/tplayerdemo /mnt/exUDISK/Sony_4K_HDR_Camp.mp4
[1970-01-01 04:58:49] WARNING: awplayer <cdx_log_set_level:30>: Set log level to 6
[1970-01-01 04:58:49] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry adecoder-14 fail!
[1970-01-01 04:58:49] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry vdecoder-9 fail!
INFO : cedarc <CedarPluginVDInit:80>: register h264 decoder success!
INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
INFO : cedarc <CedarPluginVDInit:98>: register mpeg4dx decoder success!
INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
INFO : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
[1970-01-01 04:58:49] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry plugin-0 fail!
******************************************************************************************
* This program implements a simple player, you can type commands to control the player.
* To show what commands supported, type 'help'.
******************************************************************************************
dd: error writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
argc = 2
argv[0] = /tplayerdemo/bin/tplayerdemo
argv[1] = /mnt/exUDISK/Sony_4K_HDR_Camp.mp4
may be is one file:cut down suffix is:.mp4
find the matched type:.mp4
create player:0
>>>>>>>>>>>>>>>>>>>>>>>>>>>[16406.583148] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
[16406.819324] [DISP] disp_dma_map_core,line:151:
[16406.819330] dma_buf_get failed, fd=0
[16406.828345] disp dma map fail!
create player[0]:0x2141ff60
screen width:3840,screen height:2160
1:playVideo:0
before TPlayerSetDataSource,94712:/mnt/exUDISK/Sony_4K_HDR_Camp.mp4
[1970-01-01 04:58:50] ERROR : awplayer <checkVideoSupported:1437>: Not support 4K video !!
[1970-01-01 04:58:50] ERROR : awplayer <initializePlayer:1529>: this video is outof specs, unsupported.
[1970-01-01 04:58:50] ERROR : awplayer <XPlayerSetDataSourceUrl:513>: prepare failure, ret(-1)
TPlayerSetDataSource return fail.
1:playVideo fail0
[1970-01-01 04:58:50] ERROR : awplayer <PlayerStop:880>: invalid stop operation, player already in stopped status.
TPlayerDestroy(0) successfully
destroy all tplayer
******************************************************************************************
* Quit the program, goodbye!
******************************************************************************************
#
#
#device/config/chips/d1-h/configs/nezha/linux-5.4/config-5.4
驱动默认开启了CMA连续内存管理:
CONFIG_CMA_SIZE_MBYTES=16
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8驱动也开启了IOMMU:
CONFIG_IOMMU_IOVA=y
CONFIG_IOMMU_API=y
# CONFIG_IOMMU_LIMIT_IOVA_ALIGNMENT is not set
CONFIG_IOMMU_SUPPORT=y
#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support
# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_SUNXI_IOMMU=y
CONFIG_SUNXI_IOMMU_DEBUG=ytarget/allwinner/d1-h-nezha/defconfig
应用层默认关了CMA,只开启了IOMMU:
# CONFIG_SUNXI_ALLOC_CMA is not set
CONFIG_SUNXI_ALLOC_IOMMU=y针对OpenWRT的CONFIG_SUNXI_ALLOC_XXXX 配置软件包的策略:
$ grep SUNXI_ALLOC_ -r package/
package/utils/yuview/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_CMA),y)
package/utils/yuview/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_IOMMU),y)
package/allwinner/tina_multimedia/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_CMA),y)
package/allwinner/tina_multimedia/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_IOMMU),y)
package/allwinner/libuapi/Makefile: default SUNXI_ALLOC_CMA
package/allwinner/libuapi/Makefile:config SUNXI_ALLOC_CMA
package/allwinner/libuapi/Makefile:config SUNXI_ALLOC_IOMMU
package/allwinner/libuapi/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_CMA),y)
package/allwinner/libuapi/Makefile:ifeq ($(CONFIG_SUNXI_ALLOC_IOMMU),y)package/allwinner/libuapi/src/ion_alloc.c
#define DEV_NAME "/dev/ion"
#define CEDAR_DEV_NAME "/dev/cedar_dev"从代码看IOMMU使用/dev/cedar_dev分配内存,否则使用/dev/ion分配内存。
lichee/linux-5.4/drivers/media/cedar-ve/
$ grep iommu -r lichee/linux-5.4/drivers/media/cedar-ve/
Binary file lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.o matches
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.h: /*for iommu*/
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.h: /* get/free iommu addr will not use since kernel 5.4 */
lichee/linux-5.4/drivers/media/cedar-ve/.cedar_ve.o.cmd: $(wildcard include/config/iommu/api.h) \
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c:struct user_iommu_param {
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: unsigned int iommu_addr;
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: VE_LOGI("free: fd:%d, buf_info:%p iommu_addr:%lx, dma_buf:%p, \
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: struct user_iommu_param parm;
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: sizeof(struct user_iommu_param))) {
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: if (map_dma_buf_addr(parm.fd, &parm.iommu_addr, filp) != 0) {
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: sizeof(struct user_iommu_param))) {
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: VE_LOGE("ve get iommu copy_to_user error\n");
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: struct user_iommu_param parm;
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: sizeof(struct user_iommu_param))) {
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: VE_LOGE("ve get iommu copy_to_user error\n");
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: //if the process abort, this will free iommu_buffer
lichee/linux-5.4/drivers/media/cedar-ve/cedar_ve.c: VE_LOGI("device ve1 just use to add iommu master");openwrt/target/h135/h135-p1/defconfig
# CONFIG_AW_ION_ALLOC_IOMMU is not set
CONFIG_AW_ION_ALLOC_CMA=yopenwrt/package/allwinner/multimedia/tina_multimedia/libtmedia/Makefile
openwrt/package/allwinner/multimedia/tina_multimedia/libcedarc/Makefile
openwrt/package/allwinner/multimedia/tina_multimedia/libcedarx/Makefile
#config the cma type
ifeq ($(CONFIG_AW_ION_ALLOC_CMA),y)
KERNEL_VERSION_ION = CONF_KERNEL_CMA
endif
ifeq ($(CONFIG_AW_ION_ALLOC_IOMMU),y)
KERNEL_VERSION_ION = CONF_KERNEL_IOMMU
endifopenwrt/package/allwinner/common/libawion/Makefile
ifeq ($(CONFIG_AW_ION_ALLOC_IOMMU),y)
TARGET_CFLAGS+=-DCONF_KERNEL_IOMMU
endif
ifeq ($(CONFIG_AW_ION_ALLOC_CMA),y)
TARGET_CFLAGS+=-DCONF_KERNEL_CMA
endif
ifeq ($(CONFIG_AW_ION_ALLOC_POOL),y)
TARGET_CFLAGS+=-DCONF_AWION_SIZE_POOL_HEAP
endif但是上面的参数并没有使用
openwrt/package/allwinner/common/libawion/Makefile
ifeq ($(LICHEE_KERN_VER),linux-6.6-xuantie)
KERNEL_VERSION = CONF_KERNEL_VERSION_6_6
endifplatform/allwinner/common/libawion/src/Makefile
ifneq ($(filter $(KERNEL_VERSION), CONF_KERNEL_VERSION_3_4 CONF_KERNEL_VERSION_3_10 CONF_KERNEL_VERSION_4_4 CONF_KERNEL_VERSION_4_9),)
commonSources += ion_alloc.c
else ifneq ($(filter $(KERNEL_VERSION), CONF_KERNEL_VERSION_5_4 CONF_KERNEL_VERSION_5_4_ANDES),)
commonSources += ion_alloc_5_4.c
else
commonSources += ion_alloc_5_15.c
endifion_alloc_5_15.c
看来默认是使用 IonHeapType_CARVEOUT 内存分配:
void* sunxi_ion_alloc_palloc(int size)
{
IonAllocAttr stAttr;
memset(&stAttr, 0, sizeof(stAttr));
stAttr.nLen = size;
#if defined(CONF_KERNEL_IOMMU)
stAttr.eIonHeapType = IonHeapType_IOMMU;
#else
stAttr.eIonHeapType = IonHeapType_CARVEOUT;
#endif
stAttr.bSupportCache = true;
return sunxi_ion_alloc_pallocExtend(&stAttr);
}/** @file
@brief wrap ion driver of linux-5.4
@author eric_wang, PDC-PD5
@date 2024/05/09
Copyright (C), 2001-2024, Allwinner Tech. Co., Ltd.
*/
#include <sys/ioctl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <sys/mman.h>
#include <pthread.h>
#include <errno.h>
#include <stdbool.h>
#include "base_list.h"
#include <ion_mem_alloc.h>
#include <linux/dma-heap.h>
#include <linux/dma-buf.h>
#include <linux/cedar_ve_uapi.h>
#define CONFIG_LOG_LEVEL OPTION_LOG_LEVEL_DETAIL
#define LOG_TAG "ionAlloc_5.15"
#define DEBUG_ION_REF 0
//#define ION_ALLOC_ALIGN SZ_4k
#define DEV_NAME "/dev/dma_heap/reserved" //for cma with cache, cma must be with cache!
#define DEV_NAME_CARVEOUT "/dev/dma_heap/carveout" //for carveout with cache, cma must be with cache!
#define DEV_NAME_IOMMU "/dev/dma_heap/system" //for iommu with cache
#define DEV_NAME_IOMMU_UNCACHED "/dev/dma_heap/system-uncached" //for iommu without cache
#define DEFAULT_IOMMU_DEV_NAME "/dev/cedar_dev" //for iommu, cedar_ve can operate iommu too.
//#define ION_IOC_SUNXI_POOL_INFO 10
#define UNUSA_PARAM(param) (void)param
#define loge(fmt, arg...) fprintf(stderr, LOG_TAG":<%s:%d>"fmt "\n", __FUNCTION__, __LINE__, ##arg)
#define logw(fmt, arg...)
#define logd(fmt, arg...)
#define logv(fmt, arg...)
#if DEBUG_ION_REF==1
int cdx_use_mem = 0;
typedef struct ION_BUF_NODE_TEST {
unsigned int addr;
int size;
} ion_buf_node_test;
#define ION_BUF_LEN 50
ion_buf_node_test ion_buf_nodes_test[ION_BUF_LEN];
#endif
typedef struct BUFFER_NODE
{
struct list_head i_list;
IonHeapType eIonHeapType;
bool bSupportCache;
unsigned long phy; /*phisical address*/
unsigned long vir; /*virtual address*/
unsigned int size; /*buffer size*/
unsigned int tee;
unsigned long user_virt;
int fd;
} buffer_node;
typedef struct ION_ALLOC_CONTEXT
{
int cmaHeapfd;
int iommuHeapFd;
int iommuUncachedHeapFd;
int iommu_dev_fd;
struct list_head list; /* buffer list for buffer_node */
int ref_cnt; /* reference count */
} ion_alloc_context;
char iommu_dev_path[32] = DEFAULT_IOMMU_DEV_NAME;
ion_alloc_context *g_ion_alloc_context = NULL;
pthread_mutex_t g_ion_mutex_alloc = PTHREAD_MUTEX_INITIALIZER;
/*funciton begin*/
int sunxi_ion_alloc_open()
{
logd("begin ion_alloc_open\n");
pthread_mutex_lock(&g_ion_mutex_alloc);
if (g_ion_alloc_context != NULL)
{
logv("ion allocator has already been created\n");
goto SUCCEED_OUT;
}
g_ion_alloc_context = (ion_alloc_context*)malloc(sizeof(ion_alloc_context));
if (g_ion_alloc_context == NULL)
{
loge("create ion allocator failed, out of memory\n");
goto ERROR_OUT;
}
else
{
logv("pid:%d, g_alloc_context = %p\n", getpid(), g_ion_alloc_context);
}
memset((void*)g_ion_alloc_context, 0, sizeof(ion_alloc_context));
/* Readonly should be enough. */
if (access("/dev/dma_heap/reserved", F_OK) == 0)
{
g_ion_alloc_context->cmaHeapfd = open(DEV_NAME, O_RDONLY | O_CLOEXEC, 0);
if (g_ion_alloc_context->cmaHeapfd <= 0)
{
loge("fatal error! open %s failed\n", DEV_NAME);
goto ERROR_OUT;
}
}
else if (access("/dev/dma_heap/carveout", F_OK) == 0)
{
g_ion_alloc_context->cmaHeapfd = open(DEV_NAME_CARVEOUT, O_RDONLY | O_CLOEXEC, 0);
if (g_ion_alloc_context->cmaHeapfd <= 0)
{
loge("fatal error! open %s failed\n", DEV_NAME_CARVEOUT);
goto ERROR_OUT;
}
}
if (access("/dev/dma_heap/system", F_OK) == 0)
{
g_ion_alloc_context->iommuHeapFd = open(DEV_NAME_IOMMU, O_RDONLY | O_CLOEXEC, 0);
if (g_ion_alloc_context->iommuHeapFd <= 0)
{
loge("fatal error! open %s failed\n", DEV_NAME_IOMMU);
goto ERROR_OUT;
}
}
if (access("/dev/dma_heap/system-uncached", F_OK) == 0)
{
g_ion_alloc_context->iommuUncachedHeapFd = open(DEV_NAME_IOMMU_UNCACHED, O_RDONLY | O_CLOEXEC, 0);
if (g_ion_alloc_context->iommuUncachedHeapFd <= 0)
{
loge("fatal error! open %s failed\n", DEV_NAME_IOMMU_UNCACHED);
goto ERROR_OUT;
}
}
g_ion_alloc_context->iommu_dev_fd = open(iommu_dev_path, O_RDONLY | O_CLOEXEC, 0);
if (g_ion_alloc_context->iommu_dev_fd <= 0)
{
loge("open %s failed\n", iommu_dev_path);
goto ERROR_OUT;
}
#if DEBUG_ION_REF==1
cdx_use_mem = 0;
memset(&ion_buf_nodes_test, sizeof(ion_buf_nodes_test), 0);
logd("ion_open, cdx_use_mem=[%dByte].", cdx_use_mem);
ion_alloc_get_total_size();
#endif
INIT_LIST_HEAD(&g_ion_alloc_context->list);
SUCCEED_OUT:
g_ion_alloc_context->ref_cnt++;
pthread_mutex_unlock(&g_ion_mutex_alloc);
return 0;
ERROR_OUT:
if (access("/dev/dma_heap/reserved", F_OK) == 0 || access("/dev/dma_heap/carveout", F_OK) == 0 )
{
if (g_ion_alloc_context != NULL && g_ion_alloc_context->cmaHeapfd > 0)
{
close(g_ion_alloc_context->cmaHeapfd);
g_ion_alloc_context->cmaHeapfd = -1;
}
}
if (g_ion_alloc_context != NULL)
{
if (access("/dev/dma_heap/system", F_OK) == 0)
{
if(g_ion_alloc_context->iommuHeapFd > 0)
{
close(g_ion_alloc_context->iommuHeapFd);
g_ion_alloc_context->iommuHeapFd = -1;
}
}
if (access("/dev/dma_heap/system-uncached", F_OK) == 0)
{
if(g_ion_alloc_context->iommuUncachedHeapFd > 0)
{
close(g_ion_alloc_context->iommuUncachedHeapFd);
g_ion_alloc_context->iommuUncachedHeapFd = -1;
}
}
if(g_ion_alloc_context->iommu_dev_fd > 0)
{
close(g_ion_alloc_context->iommu_dev_fd);
g_ion_alloc_context->iommu_dev_fd = -1;
}
}
if (g_ion_alloc_context != NULL)
{
free(g_ion_alloc_context);
g_ion_alloc_context = NULL;
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
return -1;
}
static int ion_alloc_pfree_l(buffer_node *pNode)
{
int ret = 0;
/*unmap user space*/
if (munmap((void *)(pNode->user_virt), pNode->size) < 0)
{
loge("fatal error! munmap 0x%p, size: %u failed\n", (void*)pNode->vir, pNode->size);
}
struct user_iommu_param iommu_param;
memset(&iommu_param, 0, sizeof(iommu_param));
iommu_param.fd = pNode->fd;
ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_FREE_IOMMU_ADDR, &iommu_param);
if (ret)
{
loge("fatal error! FREE_IOMMU_ADDR err, ret %d\n", ret);
}
// ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_ENGINE_REL, 0);
// if (ret)
// {
// loge("fatal error! ENGINE_REL failed\n");
// }
/*close dma buffer fd*/
close(pNode->fd);
pNode->fd = -1;
return ret;
}
void sunxi_ion_alloc_close()
{
logv("ion_alloc_close\n");
pthread_mutex_lock(&g_ion_mutex_alloc);
if (--g_ion_alloc_context->ref_cnt <= 0)
{
logv("pid: %d, release g_ion_alloc_context = %p\n", getpid(), g_ion_alloc_context);
if (g_ion_alloc_context->ref_cnt < 0)
{
loge("fatal error! libawion maybe close more times than open");
}
buffer_node *pEntry, *q;
list_for_each_entry_safe(pEntry, q, &g_ion_alloc_context->list, i_list)
{
logv("ion_alloc_close del item phy= 0x%lx vir= 0x%lx, size= %d\n", pEntry->phy, pEntry->vir, pEntry->size);
ion_alloc_pfree_l(pEntry);
list_del(&pEntry->i_list);
free(pEntry);
}
#if DEBUG_ION_REF==1
logd("ion_close, cdx_use_mem=[%d MB]", cdx_use_mem/1024/1024);
ion_alloc_get_total_size();
#endif
if (access("/dev/dma_heap/reserved", F_OK) == 0 || access("/dev/dma_heap/carveout", F_OK) == 0)
{
if(g_ion_alloc_context->cmaHeapfd >= 0)
{
close(g_ion_alloc_context->cmaHeapfd);
g_ion_alloc_context->cmaHeapfd = -1;
}
}
if (access("/dev/dma_heap/system", F_OK) == 0)
{
if(g_ion_alloc_context->iommuHeapFd >= 0)
{
close(g_ion_alloc_context->iommuHeapFd);
g_ion_alloc_context->iommuHeapFd = -1;
}
}
if (access("/dev/dma_heap/system-uncached", F_OK) == 0)
{
if(g_ion_alloc_context->iommuUncachedHeapFd >= 0)
{
close(g_ion_alloc_context->iommuUncachedHeapFd);
g_ion_alloc_context->iommuUncachedHeapFd = -1;
}
}
if(g_ion_alloc_context->iommu_dev_fd >= 0)
{
close(g_ion_alloc_context->iommu_dev_fd);
g_ion_alloc_context->iommu_dev_fd = -1;
}
free(g_ion_alloc_context);
g_ion_alloc_context = NULL;
}
else
{
logv("ref cnt: %d > 0, do not free\n", g_ion_alloc_context->ref_cnt);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
#if DEBUG_ION_REF==1
int i = 0;
int counter = 0;
for (i = 0; i < ION_BUF_LEN; i++) {
if (ion_buf_nodes_test[i].addr != 0 || ion_buf_nodes_test[i].size != 0) {
loge("ion mem leak???? addr->[0x%x], leak size->[%dByte]", \
ion_buf_nodes_test[i].addr, ion_buf_nodes_test[i].size);
counter ++;
}
}
if (counter != 0) {
loge("my god, have [%d]blocks ion mem leak.!!!!", counter);
} else {
logd("well done, no ion mem leak.");
}
#endif
return;
}
void* sunxi_ion_alloc_pallocExtend(IonAllocAttr *pAttr)
{
struct dma_heap_allocation_data alloc_data;
struct user_iommu_param iommu_param;
int rest_size = 0;
unsigned long addr_phy = 0;
unsigned long addr_vir = 0;
buffer_node * alloc_buffer = NULL;
int ret = 0;
pthread_mutex_lock(&g_ion_mutex_alloc);
if (g_ion_alloc_context == NULL)
{
loge("fatal error! call ion_alloc_open\n");
goto ALLOC_OUT;
}
if (NULL == pAttr || pAttr->nLen <= 0)
{
loge("can not alloc size 0\n");
goto ALLOC_OUT;
}
memset(&alloc_data, 0, sizeof(alloc_data));
alloc_data.len = (size_t)pAttr->nLen;
alloc_data.fd_flags = O_RDWR | O_CLOEXEC;
IonHeapType eIonHeapType = pAttr->eIonHeapType;
int nHeapFd = 0;
if(IonHeapType_IOMMU == eIonHeapType)
{
if(pAttr->bSupportCache)
{
nHeapFd = g_ion_alloc_context->iommuHeapFd;
}
else
{
nHeapFd = g_ion_alloc_context->iommuUncachedHeapFd;
}
}
else
{
nHeapFd = g_ion_alloc_context->cmaHeapfd;
}
ret = ioctl(nHeapFd, DMA_HEAP_IOCTL_ALLOC, &alloc_data);
if (ret < 0)
{
loge("fatal error! AW_ION_IOC_NEW_ALLOC error\n");
goto ALLOC_OUT;
}
/* mmap to user */
addr_vir = (unsigned long)mmap(NULL, alloc_data.len, PROT_READ|PROT_WRITE, MAP_SHARED, alloc_data.fd, 0);
if ((unsigned long)MAP_FAILED == addr_vir)
{
loge("fatal error! mmap err, ret %u\n", (unsigned int)addr_vir);
addr_vir = 0;
goto ALLOC_OUT;
}
/* get phy address */
memset(&iommu_param, 0, sizeof(iommu_param));
iommu_param.fd = alloc_data.fd;
// ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_ENGINE_REQ, 0);
// if (ret)
// {
// loge("fatal error! ENGINE_REQ err, ret %d\n", ret);
// addr_phy = 0;
// addr_vir = 0;
// goto ALLOC_OUT;
// }
ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_GET_IOMMU_ADDR, &iommu_param);
if (ret)
{
loge("fatal error! GET_IOMMU_ADDR err, ret %d\n", ret);
addr_phy = 0;
addr_vir = 0;
goto ALLOC_OUT;
}
addr_phy = iommu_param.iommu_addr;
alloc_buffer = (buffer_node *)malloc(sizeof(buffer_node));
if (alloc_buffer == NULL)
{
loge("fatal error! malloc buffer node failed");
/* unmmap */
ret = munmap((void*)addr_vir, alloc_data.len);
if (ret)
{
loge("fatal error! munmap err, ret %d\n", ret);
}
ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_FREE_IOMMU_ADDR, &iommu_param);
if (ret)
{
loge("fatal error! FREE_IOMMU_ADDR err, ret %d\n", ret);
}
// ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_ENGINE_REL, 0);
// if (ret)
// {
// loge("fatal error! ENGINE_REL failed\n");
// }
/* close dmabuf fd */
close(alloc_data.fd);
addr_phy = 0;
addr_vir = 0; /* value of MAP_FAILED is -1, should return 0*/
goto ALLOC_OUT;
}
memset(alloc_buffer, 0, sizeof(*alloc_buffer));
alloc_buffer->eIonHeapType = eIonHeapType;
alloc_buffer->bSupportCache = pAttr->bSupportCache;
alloc_buffer->phy = addr_phy;
alloc_buffer->vir = addr_vir;
alloc_buffer->user_virt = addr_vir;
alloc_buffer->size = pAttr->nLen;
alloc_buffer->fd = alloc_data.fd;
list_add_tail(&alloc_buffer->i_list, &g_ion_alloc_context->list);
#if DEBUG_ION_REF==1
cdx_use_mem += pAttr->nLen;
int i = 0;
for (i = 0; i < ION_BUF_LEN; i++) {
if (ion_buf_nodes_test[i].addr == 0
&& ion_buf_nodes_test[i].size == 0) {
ion_buf_nodes_test[i].addr = addr_vir;
ion_buf_nodes_test[i].size = pAttr->nLen;
break;
}
}
if (i>= ION_BUF_LEN) {
loge("error, ion buf len is large than [%d]", ION_BUF_LEN);
}
#endif
ALLOC_OUT:
pthread_mutex_unlock(&g_ion_mutex_alloc);
return (void*)addr_vir;
}
/* return virtual address: 0 failed */
void* sunxi_ion_alloc_palloc(int size)
{
IonAllocAttr stAttr;
memset(&stAttr, 0, sizeof(stAttr));
stAttr.nLen = size;
#if defined(CONF_KERNEL_IOMMU)
stAttr.eIonHeapType = IonHeapType_IOMMU;
#else
stAttr.eIonHeapType = IonHeapType_CARVEOUT;
#endif
stAttr.bSupportCache = true;
return sunxi_ion_alloc_pallocExtend(&stAttr);
}
void sunxi_ion_alloc_pfree(void * pbuf)
{
int flag = 0;
unsigned long addr_vir = (unsigned long)pbuf;
buffer_node *pEntry, *tmp;
int ret;
if (NULL == pbuf)
{
loge("can not free NULL buffer\n");
return;
}
pthread_mutex_lock(&g_ion_mutex_alloc);
if (g_ion_alloc_context == NULL)
{
loge("fatal error! call ion_alloc_open before ion_alloc_alloc\n");
pthread_mutex_unlock(&g_ion_mutex_alloc);
return;
}
list_for_each_entry_safe(pEntry, tmp, &g_ion_alloc_context->list, i_list)
{
if (pEntry->vir == addr_vir)
{
logv("ion_alloc_free item phy =0x%lx vir =0x%lx, size =%d\n", pEntry->phy, pEntry->vir, pEntry->size);
ion_alloc_pfree_l(pEntry);
list_del(&pEntry->i_list);
free(pEntry);
flag = 1;
#if DEBUG_ION_REF==1
int i = 0;
for ( i = 0; i < ION_BUF_LEN; i++) {
if (ion_buf_nodes_test[i].addr == addr_vir && ion_buf_nodes_test[i].size > 0) {
cdx_use_mem -= ion_buf_nodes_test[i].size;
logd("--cdx_use_mem = [%d MB], reduce size->[%d B]",\
cdx_use_mem/1024/1024, ion_buf_nodes_test[i].size);
ion_buf_nodes_test[i].addr = 0;
ion_buf_nodes_test[i].size = 0;
break;
}
}
if (i >= ION_BUF_LEN) {
loge("error, ion buf len is large than [%d]", ION_BUF_LEN);
}
#endif
break;
}
}
if (0 == flag)
{
loge("fatal error! ion_alloc_free failed, do not find virtual address: 0x%lx\n", addr_vir);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
return;
}
void* sunxi_ion_alloc_vir2phy_cpu(void * pbuf)
{
int flag = 0;
unsigned long addr_vir = (unsigned long)pbuf;
unsigned long addr_phy = 0;
buffer_node * tmp;
if (NULL == pbuf)
{
loge("fatal error! can not vir2phy NULL buffer\n");
return NULL;
}
pthread_mutex_lock(&g_ion_mutex_alloc);
list_for_each_entry(tmp, &g_ion_alloc_context->list, i_list)
{
if (addr_vir >= tmp->vir && addr_vir < tmp->vir + tmp->size)
{
addr_phy = tmp->phy + addr_vir - tmp->vir;
logv("ion_alloc_vir2phy phy= 0x%08x vir= 0x%08x\n", addr_phy, addr_vir);
flag = 1;
break;
}
}
if (0 == flag)
{
loge("fatal error! ion_alloc_vir2phy failed,no virtual address: 0x%lx\n", addr_vir);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
return (void*)addr_phy;
}
void* sunxi_ion_alloc_phy2vir_cpu(void * pbuf)
{
int flag = 0;
unsigned long addr_vir = 0;
unsigned long addr_phy = (unsigned long)pbuf;
buffer_node * tmp;
if (NULL == pbuf)
{
loge("fatal error! can not phy2vir NULL buffer\n");
return NULL;
}
pthread_mutex_lock(&g_ion_mutex_alloc);
list_for_each_entry(tmp, &g_ion_alloc_context->list, i_list)
{
if (addr_phy >= tmp->phy && addr_phy < tmp->phy + tmp->size)
{
addr_vir = tmp->vir + addr_phy - tmp->phy;
flag = 1;
break;
}
}
if (0 == flag)
{
loge("fatal error! %s failed,can not find phy adr:0x%lx\n", __FUNCTION__, addr_phy);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
return (void*)addr_vir;
}
/**
get buffer_node by virtual address.
not use lock g_ion_mutex_alloc, so caller will guarantee lock.
*/
static buffer_node* ion_alloc_get_buffer_node(void * pbuf)
{
int flag = 0;
unsigned long addr_vir = (unsigned long)pbuf;
buffer_node *pNode;
if (NULL == pbuf)
{
loge("fatal error! buf is NULL!\n");
return NULL;
}
list_for_each_entry(pNode, &g_ion_alloc_context->list, i_list)
{
if (addr_vir >= pNode->vir && addr_vir < pNode->vir + pNode->size)
{
logv("ion_alloc_get_bufferFd, fd = 0x%08x vir= 0x%08x\n", pNode->fd, addr_vir);
flag = 1;
break;
}
}
if (0 == flag)
{
loge("fatal error! find buffer node fail,no virtual address: 0x%lx\n", addr_vir);
pNode = NULL;
}
logv("*** get buffer node: %p, flag = %d\n", pNode, flag);
return pNode;
}
static int __sunxi_ion_alloc_get_bufferFd_priv(void * pbuf, char lock)
{
int flag = 0;
unsigned long addr_vir = (unsigned long)pbuf;
int buffer_fd = -1;
buffer_node * tmp;
if (NULL == pbuf)
{
loge("fatal error! can not vir2phy NULL buffer\n");
return -1;
}
if (lock)
{
pthread_mutex_lock(&g_ion_mutex_alloc);
}
list_for_each_entry(tmp, &g_ion_alloc_context->list, i_list)
{
if (addr_vir >= tmp->vir && addr_vir < tmp->vir + tmp->size)
{
buffer_fd = tmp->fd;
logv("ion_alloc_get_bufferFd, fd = 0x%08x vir= 0x%08x\n", buffer_fd, addr_vir);
flag = 1;
break;
}
}
if (0 == flag)
{
loge("fatal error! ion_alloc_vir2phy failed,no virtual address: 0x%lx\n", addr_vir);
}
if (lock)
{
pthread_mutex_unlock(&g_ion_mutex_alloc);
}
logv("*** get_bufferfd: %d, flag = %d\n", buffer_fd, flag);
return buffer_fd;
}
int sunxi_ion_alloc_get_bufferFd(void * pbuf)
{
return __sunxi_ion_alloc_get_bufferFd_priv(pbuf, 1);
}
void* sunxi_ion_alloc_get_viraddr_byFd(int nShareFd)
{
int flag = 0;
unsigned long addr_vir = 0;
buffer_node * tmp = NULL;
pthread_mutex_lock(&g_ion_mutex_alloc);
list_for_each_entry(tmp, &g_ion_alloc_context->list, i_list)
{
if (nShareFd == tmp->fd)
{
addr_vir = tmp->vir;
flag = 1;
break;
}
}
if (0 == flag)
{
loge("fatal error! ion_alloc_phy2vir failed, do not find nShareFd %d \n", nShareFd);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
return (void*)addr_vir;
}
void sunxi_ion_alloc_flush_cache(void* startAddr, int size)
{
int ret;
pthread_mutex_lock(&g_ion_mutex_alloc);
buffer_node *pNode = ion_alloc_get_buffer_node(startAddr);
if(pNode != NULL)
{
if(IonHeapType_IOMMU == pNode->eIonHeapType)
{
struct cache_range range;
/* clean and invalid user cache */
range.start = (uint64_t)startAddr;
range.end = (uint64_t)startAddr + size;
ret = ioctl(g_ion_alloc_context->iommu_dev_fd, IOCTL_FLUSH_CACHE_RANGE, &range);
if (ret)
{
loge("fatal error! ION_IOC_SUNXI_FLUSH_RANGE failed\n");
}
}
else
{
int nBufFd = pNode->fd;
struct dma_buf_sync stBufSync;
memset(&stBufSync, 0, sizeof(stBufSync));
stBufSync.flags = DMA_BUF_SYNC_VALID_FLAGS_MASK;
ret = ioctl(nBufFd, DMA_BUF_IOCTL_SYNC, &stBufSync);
if (ret != 0)
{
loge("fatal error! ion_alloc flush cache failed\n");
}
}
}
else
{
loge("fatal error! virAddr[%p] not found in buffer node list\n", startAddr);
}
pthread_mutex_unlock(&g_ion_mutex_alloc);
}
void sunxi_ion_flush_cache_all()
{
//UNUSA_PARAM(sunxi_ion_flush_cache_all);
//ioctl(g_ion_alloc_context->fd, ION_IOC_SUNXI_FLUSH_ALL, 0);
}
void* sunxi_ion_alloc_alloc_drm(int size)
{
loge("fatal error! unsupport ion drm!");
return NULL;
}
/**
return total mem size allocated by ion_alloc. unit:KB.
*/
int sunxi_ion_alloc_get_total_size()
{
int nSize = 0;
buffer_node *pEntry;
pthread_mutex_lock(&g_ion_mutex_alloc);
list_for_each_entry(pEntry, &g_ion_alloc_context->list, i_list)
{
nSize += pEntry->size;
}
logd("ion_alloc total [%fMB]", (float)nSize/1024/1024);
pthread_mutex_unlock(&g_ion_mutex_alloc);
return nSize/1024;
}
int sunxi_ion_alloc_memset(void* buf, int value, size_t n)
{
memset(buf, value, n);
return -1;
}
int sunxi_ion_alloc_copy(void* dst, void* src, size_t n)
{
memcpy(dst, src, n);
return -1;
}
int sunxi_ion_alloc_read(void* dst, void* src, size_t n)
{
memcpy(dst, src, n);
return -1;
}
int sunxi_ion_alloc_write(void* dst, void* src, size_t n)
{
memcpy(dst, src, n);
return -1;
}
int sunxi_ion_alloc_setup()
{
return -1;
}
int sunxi_ion_alloc_shutdown()
{
return -1;
}
int sunxi_ion_alloc_set_iommu_dev_path (char *dev_path)
{
if (strlen(dev_path) > 32)
{
loge("dev_path:%s is too long\n", dev_path);
return -1;
}
strncpy(iommu_dev_path, dev_path, 32);
logd("iommu_dev_path has changed to %s", iommu_dev_path);
return 0;
}
struct SunxiMemOpsS _allocionMemOpsS =
{
open: sunxi_ion_alloc_open,
close: sunxi_ion_alloc_close,
total_size: sunxi_ion_alloc_get_total_size,
palloc: sunxi_ion_alloc_palloc,
pallocExtend: sunxi_ion_alloc_pallocExtend,
pfree: sunxi_ion_alloc_pfree,
flush_cache: sunxi_ion_alloc_flush_cache,
cpu_get_phyaddr: sunxi_ion_alloc_vir2phy_cpu,
cpu_get_viraddr: sunxi_ion_alloc_phy2vir_cpu,
mem_set: sunxi_ion_alloc_memset,
mem_cpy: sunxi_ion_alloc_copy,
mem_read: sunxi_ion_alloc_read,
mem_write: sunxi_ion_alloc_write,
setup: sunxi_ion_alloc_setup,
shutdown: sunxi_ion_alloc_shutdown,
palloc_secure: sunxi_ion_alloc_alloc_drm,
get_bufferFd: sunxi_ion_alloc_get_bufferFd,
get_viraddr_byFd: sunxi_ion_alloc_get_viraddr_byFd,
set_iommu_dev_path: sunxi_ion_alloc_set_iommu_dev_path,
pclose_fd_byViraddr:NULL,
merge: NULL,
unmerge: NULL
};
struct SunxiMemOpsS* GetMemAdapterOpsS()
{
logd("*** get __GetIonMemOpsS ***");
return &_allocionMemOpsS;
}由此可见
ion_alloc_5_4.c 使用 /dev/ion
ion_alloc_5_15.c 使用 /dev/dma_heap/carveout
`/dev/ion` 和 `/dev/dma_heap/carveout` 都是与内存管理相关的设备接口,它们在Linux系统中用于分配和管理内存,但它们服务于不同的目的,并且基于不同的机制实现。
### /dev/ion
- **ION (Ion's Own Notation)** 是Android系统中引入的一种内存管理器,旨在简化跨驱动程序的缓冲区共享。它提供了一种统一的方式来分配、管理和共享内存缓冲区,特别是在多媒体应用(如视频解码和图形处理)中非常有用。
- 使用`/dev/ion`,应用程序可以通过打开这个设备文件并进行ioctl调用来请求内存分配。ION支持多种类型的内存分配策略,包括直接分配物理连续的内存块等。
- ION的主要目标之一是减少内存复制操作,从而提高性能,并允许不同的组件(比如不同的硬件模块或进程间)高效地共享内存。### /dev/dma_heap/carveout
- `/dev/dma_heap` 是一个更通用的DMA(直接存储器访问)缓冲区堆接口的一部分,它允许用户空间应用程序以一种标准化的方式请求不同类型的DMA缓冲区。`carveout`则是`dma_heap`提供的一个具体的堆类型,通常指的是从预先保留的内存区域中分配内存。
- `carveout`类型的堆通常用于需要确保特定内存属性(例如连续性或位于特定地址范围内)的情况,这对于某些硬件加速器来说可能是必需的。
- 通过使用`/dev/dma_heap`接口,开发者可以请求不同类型的内存堆,每个都有其自己的特性集,以满足各种应用场景的需求。### 区别
- **用途**:虽然两者都可以用于分配适合DMA操作的内存,但ION最初是为了优化Android设备上的多媒体和图形处理流程而设计的,而`dma_heap`则提供了一个更加灵活和通用的框架来分配不同特性的内存区域。
- **实现和接口**:ION有自己的ioctl接口来执行内存管理任务,而`dma_heap`采用了一套不同的API,旨在为用户提供一致的体验,同时支持多种不同的堆类型。总之,选择哪个取决于具体的应用需求、所需的内存属性以及是否需要兼容特定的软件架构或硬件平台。
总结:
如果openwrt/target/h135/h135-p1/defconfig开启 CONFIG_AW_ION_ALLOC_IOMMU,
则KERNEL_VERSION_ION = CONF_KERNEL_IOMMU,
使用 /dev/cedar_dev iommu方式申请内存,
stAttr.eIonHeapType = IonHeapType_IOMMU;(ion_alloc_5_15.c)
否则使用 /dev/dma_heap/carveout 方式申请内存,
stAttr.eIonHeapType = IonHeapType_CARVEOUT;(ion_alloc_5_15.c)
查看dma_buf内存状态:
cat /sys/kernel/debug/dma_buf/bufinfo
只开GUI app的时候:
# echo $((720*1280*4*2))
7372800
#
#
#
# cat /sys/kernel/debug/dma_buf/bufinfo
Dma-buf Objects:
size flags mode count exp_name ino name
07372800 00000002 00080007 00000001 carveout 00000001 <none>
Attached Devices:
5000000.disp
Total 1 devices attached
Total 1 objects, 7372800 bytes
#播放小码率mp4,需要18M内存:
# cat /sys/kernel/debug/dma_buf/bufinfo [1970-01-01 23:39:56] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(1.000)
Dma-buf Objects:
size flags mode count exp_name ino name
00622592 00000002 00080007 00000004 carveout 00000021 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00622592 00000002 00080007 00000004 carveout 00000020 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00622592 00000002 00080007 00000004 carveout 00000019 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00622592 00000002 00080007 00000003 carveout 00000018 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00106496 00000002 00080007 00000003 carveout 00000017 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00106496 00000002 00080007 00000003 carveout 00000016 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00106496 00000002 00080007 00000003 carveout 00000015 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00106496 00000002 00080007 00000003 carveout 00000014 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000004 carveout 00000013 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00106496 00000002 00080007 00000003 carveout 00000012 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000011 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000010 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000009 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000008 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000007 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00622592 00000002 00080007 00000003 carveout 00000006 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00049152 00000002 00080007 00000003 carveout 00000005 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00135168 00000002 00080007 00000003 carveout 00000004 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03145728 00000002 00080007 00000003 carveout 00000002 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
07372800 00000002 00080007 00000001 carveout 00000001 <none>
Attached Devices:
5000000.disp
Total 1 devices attached
Total 20 objects, 18083840 bytes播放大码率mp4,需要48M内存:
# cat /sys/kernel/debug/dma_buf/bufinfo
Dma-buf Objects:
size flags mode count exp_name ino name
03133440 00000002 00080007 00000004 carveout 00000041 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
03133440 00000002 00080007 00000004 carveout 00000040 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
03133440 00000002 00080007 00000003 carveout 00000039 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000004 carveout 00000038 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00524288 00000002 00080007 00000003 carveout 00000037 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00524288 00000002 00080007 00000003 carveout 00000036 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00524288 00000002 00080007 00000003 carveout 00000035 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000004 carveout 00000034 <none>
Attached Devices:
5000000.disp
1c0e000.ve
Total 2 devices attached
00524288 00000002 00080007 00000003 carveout 00000033 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00524288 00000002 00080007 00000003 carveout 00000032 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000031 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000030 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000029 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000028 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000027 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03133440 00000002 00080007 00000003 carveout 00000026 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00049152 00000002 00080007 00000003 carveout 00000025 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
00135168 00000002 00080007 00000003 carveout 00000024 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
03145728 00000002 00080007 00000003 carveout 00000022 <none>
Attached Devices:
1c0e000.ve
Total 1 devices attached
07372800 00000002 00080007 00000001 carveout 00000001 <none>
Attached Devices:
5000000.disp
Total 1 devices attached
Total 20 objects, 47792128 bytes
#视频播放正常:
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//4.Ice.Age.Continental.Drift.2012.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//20250206_200417.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//lv_0_20221108175132 压缩.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//home_scan-2024-04-20_21.39.12.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//RISC-V应用创芯大赛首播.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//播放器录屏.mp4
switch_page_create_hide cur_id 4, next_id 5
type=4, value=13, code=4 --- ---
last_value=13, in.value=13, stamp_current=1787121, stamp_last=1787073, stamp_current-stamp_last = 48 ----
last_value == in.value ---------------
same key as last 100ms press, now continue ... ...
[media_player_message_process, 141]debug media get screen size: width = 720, height = 1280.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
------------------------------------------[ 52.060291] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
-------------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 00:29:47] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 00:29:47.327] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 00:29:47.327] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 00:29:47.336] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 00:29:47.336] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 00:29:47.337] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 00:29:47.340] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 00:29:47.340] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 00:29:47.341] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 00:29:47.341] PID: 1301 TID: 1597 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fad50f220, pUser: 0x3fabcce250
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1456>: screen:w 720, screen:h 1280
[1970-01-01 00:29:47] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 00:29:47] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fad50f040, pUser: 0x3fabcce250
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fabc26950
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:29:47] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 00:29:47] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 00:29:47] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:29:47] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 00:29:47] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 00:29:47] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:29:47] DEBUG : awplayer <__FileStreamConnect:425>: (20/0/2928659149) path:'file:///mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:29:47] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mkv'
[1970-01-01 00:29:47] DEBUG : awplayer <matroska_read_header:2398>: track are already parsed while parsing seekhead
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 2928659149, bSeekable = 1, duration = 4869952, audioNum = 2, videoNum = 1, subtitleNum = 0
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1920, nHeight = 1040, nFrameRate = 23976, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 6, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[1]*** eCodecFormat = 0x5, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:29:47] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
INFO : cedarc <log_set_level:82>: Set log level to 5 from /vendor/etc/cedarc.conf
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 00:29:47] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 00:29:47] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:720, s_h:1280
[1970-01-01 00:29:47] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 00:29:47] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
[1970-01-01 00:29:47] DEBUG : awplayer <__LayerResetNativeWindow:1206>: LayerResetNativeWindow : 0
[1970-01-01 00:29:47] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 259
[1970-01-01 00:29:47] DEBUG : awplayer <VideoRenderCompSetDeinterlace:371>: video render component setting deinterlace: 0x3fabc6dd50
[1970-01-01 00:29:47] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 00:29:47] DEBUG : awplayer <PlayerConfigDropDelayFrame:1957>: VideoDecCompSetDropDelayFrames
[1970-01-01 00:29:47] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerPrepareAsync:761>: prepareAsync
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
[1970-01-01 00:29:47] INFO : awplayer <XPlayerThread:2165>: xxxxxxxxxx video size: width = 1920, height = 1040
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1920,height = 1040
*****tplayer:video width = 1920,height = 1040
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1920, height = 1040
[CallbackForTPlayer, 231]debug TPLAYER_NOTIFY_PREPARED,has prepared.
[tplayer_play_url, 483]debug preparing...
[tplayer_play_url, 490]debug prepared ok
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerStart:811>: start
[1970-01-01 00:29:47] DEBUG : awplayer <XPlayerThread:2340>: process message XPLAYER_COMMAND_START.
[1970-01-01 00:29:47] DEBUG : awplayer <PlayerStart:786>: player start
[1970-01-01 00:29:47] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 261
[1970-01-01 00:29:47] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
[1970-01-01 00:29:47] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
(Allwinner Audio Middle Layer),line(972) : Create Decoder!!=====
[1970-01-01 00:29:47] DEBUG : awplayer <handleStart:1098>: Create libadecoder success...
(Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
(AllwinnerAlibs),line(43) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(700) : ----Loading so success!
(AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(904) : eSubCodecFormat :0
(AllwinnerAlibs),line(905) : nChannelNum :6
(AllwinnerAlibs),line(906) : nBitsPerSample :16
(AllwinnerAlibs),line(907) : nSampleRate :48000
(AllwinnerAlibs),line(908) : nAvgBitrate :0
(AllwinnerAlibs),line(909) : nMaxBitRate :0
(AllwinnerAlibs),line(910) : nFileSize :0
(AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(912) : eDataEncodeType :1
(AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fabc6a550
(AllwinnerAlibs),line(915) : nFlags :0
(AllwinnerAlibs),line(916) : nBlockAlign :0
(AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
[1970-01-01 00:29:48] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
[1970-01-01 00:29:48] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
[lv_pro_res_movie_set_ratio, 938]error: not ready!
[1970-01-01 00:29:48] INFO : awplayer <handleStart:326>: audio render process start message.
[1970-01-01 00:29:48] DEBUG : awplayer <initSoundDevice:574>: init sound device.
[1970-01-01 00:29:48] DEBUG : awplayer <initSoundDevice:581>: set sound devide param, sample rate = 48000, channel num = 6.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:29:48.039] PID: 1301 TID: 1604 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:6,sc->bytes_per_sample:2
[1970-01-01 00:29:48] DEBUG : demuxComponent <DemuxThread:2088>: process message DEMUX_COMMAND_START.
[1970-01-01 00:29:48] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2111>: video buffer info: nWidth[1920],nHeight[1056],nBufferCount[7],ePixelFormat[5]
[1970-01-01 00:29:48] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2114>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 257
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1291>: get the fbm buf info
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1293>: fbmBufInfo->bProgressiveFlag = 1
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1303>: lc->mNumHoldByLayer = 2
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerSetDisplayPixelFormat:719>: Layer set expected pixel format, format = 5
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerSetDisplayBufferSize:671>: __LayerSetDisplayBufferSize:width = 1920,height = 1056
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerSetDisplayBufferCount:1179>: LayerSetBufferCount: count = 7
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 263
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1307>: get the fbm buf info
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1313>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:1194>: num hold by gpu is 2
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:248>: setLayerBuffer:Fmt(5),(1920 1056, 0 x 0)
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:251>: Disp(1920x1056)buf_cnt(7),ProFlag(0),SoftDecFlag(0)
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[0]:0x3faaa8a000
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[1]:0x3faa7a3000
[1970-01-01 00:29:48] INFO : awplayer <fade_in:81>: fade_in size 23040
[1970-01-01 00:29:48] WARNING: awplayer <callbackProcess:3788>: message 0x40a not handled.
[1970-01-01 00:29:48] WARNING: awplayer <checkSampleRate:765>: sample rate change from 48000 to 48000.
[1970-01-01 00:29:48] WARNING: awplayer <checkSampleRate:767>: channel num change from 6 to 2.
[1970-01-01 00:29:48] WARNING: awplayer <checkSampleRate:769>: bitPerSample num change from 16 to 16.
[1970-01-01 00:29:48] WARNING: awplayer <checkSampleRate:771>: if need direct out put flag change from 0 to 1.
[1970-01-01 00:29:48] WARNING: awplayer <checkSampleRate:773>: data type change from 1 to 1.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:29:48.408] PID: 1301 TID: 1604 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:2
[1970-01-01 00:29:48] DEBUG : awplayer <startSoundDevice:806>: start sound device.
DEBUG : tsoundcontrol <TSoundDeviceStart:221>: TSoundDeviceStart: sc->sound_status = 2
DEBUG : tsoundcontrol <openSoundDevice:44>: openSoundDevice in default style
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[2]:0x3faa254000
[1970-01-01 00:29:48.417] PID: 1303 TID: 1318 <I> : [amix_mod_server_recv 496] connect successfully, id:5
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[3]:0x3fa9f6d000
[1970-01-01 00:29:48.420] PID: 1303 TID: 1617 <D> : [amix_mod_server_cs_work 263]
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [amix_mod_server_cs_work 316] AMIX_CS_STREAM_OPEN
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [amix_mod_server_stream_add 72]
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [sfx_cs_get_stream_uid 38]
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [sfx_cs_get_stream_uid 44] stream_id 1
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <I> : [amix_mod_server_stream_add 98] io_id:65537, mix_id:1, stream_id:1
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [amix_mod_server_cs_work 340] period_size:960, period_count:4, channels:2 bit:16 shm_size:30720
[1970-01-01 00:29:48.421] PID: 1303 TID: 1617 <D> : [amix_mod_server_link_create 151]
[1970-01-01 00:29:48.422] PID: 1303 TID: 1617 <D> : [_amix_sem_posix_create 219]
[1970-01-01 00:29:48.422] PID: 1303 TID: 1617 <D> : [amix_open_stream 181] bit:16, rate:48000, channels:2
[1970-01-01 00:29:48.422] PID: 1303 TID: 1617 <D> : [amix_open_stream 182] period_size:1024, period_count:4
[1970-01-01 00:29:48.423] PID: 1303 TID: 1617 <I> : [amix_mod_server_cs_work 360] open stream dev(OUT_SPK-0x10001) success
[1970-01-01 00:29:48.424] PID: 1301 TID: 1604 <I> AUDIO_ROUTE: <openDevice:76>: amix_dev_open succeed device_type OUT_SPK
[1970-01-01 00:29:48] DEBUG : awplayer <startSoundDevice:808>: audio device start end
[1970-01-01 00:29:48] DEBUG : awplayer <CallbackProcess:3182>: first audio pts = 0
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[4]:0x3fa9c86000
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[5]:0x3fa999f000
[1970-01-01 00:29:48] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[6]:0x3fa96b8000
[1970-01-01 00:29:48] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 260
[1970-01-01 00:29:48] INFO : awplayer <callbackProcess:3629>: xxxxxxx[ 53.471972] dma dma0chan3: The timeout func is not suportted or chan->private is NULL, timeout mode not used
xxx video size : width = 1920, height = 1040
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1920,height = 1040
*****tplayer:video width = 1920,height = 1040
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1920, height = 1040
[CallbackForTPlayer, 382]debug warning: unknown callback from Tinaplayer.
[1970-01-01 00:29:48] DEBUG : awplayer <CallbackProcess:3055>: first video pts = 0
[1970-01-01 00:29:48] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(0.000)
[1970-01-01 00:29:48] DEBUG : awplayer <LayerSetDisplayRect:1535>: Layer set display rect,(0 445, 720x390)
[1970-01-01 00:29:48] WARNING: awplayer <CallbackProcess:3930>: reset the timer to 0.120, time difference is -0.232
[1970-01-01 00:29:49] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(1.001)
[1970-01-01 00:29:49] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:50] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(2.002)
[1970-01-01 00:29:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:50] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:51] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(3.003)
[1970-01-01 00:29:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:51] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:52] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(4.004)
[1970-01-01 00:29:52] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:53] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:53] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:53] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:53] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:53] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(5.005)
[1970-01-01 00:29:53] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:54] INFO : demuxComponent <DemuxThread:3261>: waiting for video stream buffer.
[1970-01-01 00:29:54] DEBUG : awplayer <QueueBufferToShow:1803>: video pts(6.006)旋转270°之后播放视频出错:
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//4.Ice.Age.Continental.Drift.2012.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//20250206_200417.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//lv_0_20221108175132 压缩.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//home_scan-2024-04-20_21.39.12.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//RISC-V应用创芯大赛首播.mp4
[lv_pro_res_media_list_init, 755]debug media filename: /mnt/SDCARD//播放器录屏.mp4
switch_page_create_hide cur_id 4, next_id 5
type=4, value=13, code=4 --- ---
last_value=13, in.value=13, stamp_current=3249020, stamp_last=3248949, stamp_current-stamp_last = 71 ----
last_value == in.value ---------------
same key as last 100ms press, now continue ... ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
----------------------------------------------[ 308.069240] sunxi:disp:[WARN]: [DE]: dma_buf_get failed, fd=0
---------------------------------
DEBUG : tplayer <TPlayerCreate:417>: TPlayerCreate
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerCreate:221>: XPlayerCreate.
[1970-01-01 00:54:09] DEBUG : awplayer <LogVersionInfo:26>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : cedarx
branch: stable_v2.8_common
commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
author:
----------------------------------------------------------------------
DEBUG : tsoundcontrol <TSoundDeviceCreate:59>: TSoundDeviceCreate
[1970-01-01 00:54:09.335] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 00:54:09.335] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 00:54:09.349] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <adev_create_audio_port_config:43>: snd_type = 1
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <isHeadSetConnected:42>: jack state :value = 0
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <isA2dpConnected:65>: bluetooth not connected
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <adev_create_audio_port_config:58>: snd_type default alias to 2
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <adev_create_audio_port_config:89>: card = 0 device 0 rate 48000 channels 2 period size 960 period count 4 foramt 0x0 type 1
[1970-01-01 00:54:09.350] PID: 2424 TID: 3120 <I> AUDIO_ROUTE: <getMute:331>: is_mute 0
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1405>: LayerCreate.
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1409>: init_ret = 0
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1412>: init_mutex_count = 1
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1434>: ==== callback: 0x3fb975d220, pUser: 0x3fb7e36ef0
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1456>: screen:w 720, screen:h 1280
[1970-01-01 00:54:09] DEBUG : awplayer <createSyncTimeline:43>: DisplayEngine Frequency: 300000000 Hz
[1970-01-01 00:54:09] DEBUG : awplayer <LayerCreate:1485>: E
DEBUG : tsubtitlectrl <SubtitleCreate:86>: ==== pCallback: 0x3fb975d040, pUser: 0x3fb7e36ef0
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerSetDeinterlace:732>: set deinterlace
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2116>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:611>: setVideoSurfaceTexture, surface = 0x3fb7dcc1c0
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2040>: process message XPLAYER_COMMAND_SET_SURFACE.
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2101>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[1970-01-01 00:54:09] WARNING: awplayer <XPlayerReset:990>: reset...
[1970-01-01 00:54:09] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 00:54:09] ERROR : awplayer <PlayerStop:942>: invalid stop operation, player already in stopped status.
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerSetDataSourceUrl:476>: setDataSource(url), url='/mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:54:09] INFO : awplayer <XPlayerThread:1877>: process message XPLAYER_COMMAND_SET_SOURCE.
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerPrepare:781>: prepare
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[1970-01-01 00:54:09] DEBUG : demuxComponent <DemuxThread:1818>: process message DEMUX_COMMAND_PREPARE.
[1970-01-01 00:54:09] DEBUG : awplayer <CdxParserPrepare:919>: source uri 'file:///mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:54:09] DEBUG : awplayer <__FileStreamConnect:425>: (20/0/2928659149) path:'file:///mnt/SDCARD//1.Ice.Age.2002.BD1080P.X264.AAC.Mandarin&English.CHS-ENG.mp4'
[1970-01-01 00:54:09] DEBUG : awplayer <CdxParserCreate:857>: Good, it's 'mkv'
[1970-01-01 00:54:09] DEBUG : awplayer <matroska_read_header:2398>: track are already parsed while parsing seekhead
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:469>: *********PrintMediaInfo begin*********
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:472>: fileSize = 2928659149, bSeekable = 1, duration = 4869952, audioNum = 2, videoNum = 1, subtitleNum = 0
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:488>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1920, nHeight = 1040, nFrameRate = 23976, nFrameDuration = 0, bIs3DStream = 0, bSecureFlag = 0
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 6, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:510>: ***Audio[1]*** eCodecFormat = 0x5, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 0, nSampleRate = 48000
[1970-01-01 00:54:09] DEBUG : demuxComponent <PrintMediaInfo:537>: *********PrintMediaInfo end*********
ERROR : cedarc <DebugCheckConfig:387>: now cedarc log level:5
[1970-01-01 00:54:09] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 264
[1970-01-01 00:54:09] DEBUG : awplayer <PlayerInitialVideo:4398>: s_w:720, s_h:1280
[1970-01-01 00:54:09] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:264>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
[1970-01-01 00:54:09] DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:309>: enable afbc mode for 4k
[1970-01-01 00:54:09] DEBUG : awplayer <__LayerResetNativeWindow:1206>: LayerResetNativeWindow : 0
[1970-01-01 00:54:09] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 259
[1970-01-01 00:54:09] DEBUG : awplayer <VideoRenderCompSetDeinterlace:371>: video render component setting deinterlace: 0x3fb7e2ad50
[1970-01-01 00:54:09] DEBUG : awplayer <PlayerConfigDropDelayFrame:1953>: PlayerConfigDropDelayFrame
[1970-01-01 00:54:09] DEBUG : awplayer <PlayerConfigDropDelayFrame:1957>: VideoDecCompSetDropDelayFrames
[1970-01-01 00:54:09] DEBUG : awplayer <AudioRenderCompSetAudioSink:226>: audio render component setting AudioSink
[tplayer_play_url, 469]debug setDataSource end
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerPrepareAsync:761>: prepareAsync
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2129>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
[1970-01-01 00:54:09] INFO : awplayer <XPlayerThread:2165>: xxxxxxxxxx video size: width = 1920, height = 1040
DEBUG : tplayer <CallbackFromXPlayer:108>: video width = 1920,height = 1040
*****tplayer:video width = 1920,height = 1040
[CallbackForTPlayer, 308]debug TPLAYER_NOTIFY_MEDIA_VIDEO_SIZE: width = 1920, height = 1040
[CallbackForTPlayer, 231]debug TPLAYER_NOTIFY_PREPARED,has prepared.
[tplayer_play_url, 483]debug preparing...
[tplayer_play_url, 490]debug prepared ok
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerStart:811>: start
[1970-01-01 00:54:09] DEBUG : awplayer <XPlayerThread:2340>: process message XPLAYER_COMMAND_START.
[1970-01-01 00:54:09] DEBUG : awplayer <PlayerStart:786>: player start
[1970-01-01 00:54:09] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 261
[1970-01-01 00:54:09] DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
[lv_pro_res_movie_set_ratio, 938]error: not ready!
[1970-01-01 00:54:09] DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
(Allwinner Audio Middle Layer),line(972) : Create Decoder!!=====
[1970-01-01 00:54:09] DEBUG : awplayer <handleStart:1098>: Create libadecoder success...
(Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
(AllwinnerAlibs),line(43) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(700) : ----Loading so success!
(AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(904) : eSubCodecFormat :0
(AllwinnerAlibs),line(905) : nChannelNum :6
(AllwinnerAlibs),line(906) : nBitsPerSample :16
(AllwinnerAlibs),line(907) : nSampleRate :48000
(AllwinnerAlibs),line(908) : nAvgBitrate :0
(AllwinnerAlibs),line(909) : nMaxBitRate :0
(AllwinnerAlibs),line(910) : nFileSize :0
(AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(912) : eDataEncodeType :1
(AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fb7eb8680
(AllwinnerAlibs),line(915) : nFlags :0
(AllwinnerAlibs),line(916) : nBlockAlign :0
(AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
[1970-01-01 00:54:09] DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
[1970-01-01 00:54:09] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
[1970-01-01 00:54:09] INFO : awplayer <handleStart:326>: audio render process start message.
[1970-01-01 00:54:09] DEBUG : awplayer <initSoundDevice:574>: init sound device.
[1970-01-01 00:54:09] DEBUG : awplayer <initSoundDevice:581>: set sound devide param, sample rate = 48000, channel num = 6.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:54:09.971] PID: 2424 TID: 3127 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:6,sc->bytes_per_sample:2
[1970-01-01 00:54:09] DEBUG : demuxComponent <DemuxThread:2088>: process message DEMUX_COMMAND_START.
[1970-01-01 00:54:10] INFO : awplayer <fade_in:81>: fade_in size 23040
[1970-01-01 00:54:10] WARNING: awplayer <callbackProcess:3788>: message 0x40a not handled.
[1970-01-01 00:54:10] WARNING: awplayer <checkSampleRate:765>: sample rate change from 48000 to 48000.
[1970-01-01 00:54:10] WARNING: awplayer <checkSampleRate:767>: channel num change from 6 to 2.
[1970-01-01 00:54:10] WARNING: awplayer <checkSampleRate:769>: bitPerSample num change from 16 to 16.
[1970-01-01 00:54:10] WARNING: awplayer <checkSampleRate:771>: if need direct out put flag change from 0 to 1.
[1970-01-01 00:54:10] WARNING: awplayer <checkSampleRate:773>: data type change from 1 to 1.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 2
DEBUG : tsoundcontrol <TSoundDeviceStop:248>: Sound device already stopped.
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:186>: TSoundDeviceSetFormat
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:191>: TSoundDeviceSetFormat,sc->sound_status == 2
[1970-01-01 00:54:10.009] PID: 2424 TID: 3127 <I> AUDIO_ROUTE: <closeDevice:203>: begin
DEBUG : tsoundcontrol <TSoundDeviceSetFormat:209>: TSoundDeviceSetFormat>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:2
WARNING: cedarc <H264MallocBuffer:1587>: h264 scale down fbm buffer number need double check!
[1970-01-01 00:54:10] DEBUG : awplayer <startSoundDevice:806>: start sound device.
DEBUG : tsoundcontrol <TSoundDeviceStart:221>: TSoundDeviceStart: sc->sound_status = 2
DEBUG : tsoundcontrol <openSoundDevice:44>: openSoundDevice in default style
[1970-01-01 00:54:10] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2111>: video buffer info: nWidth[1056],nHeight[1920],nBufferCount[5],ePixelFormat[5]
[1970-01-01 00:54:10] DEBUG : awplayer <RenderGetVideoFbmBufInfo:2114>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 257
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1291>: get the fbm buf info
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1293>: fbmBufInfo->bProgressiveFlag = 1
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1303>: lc->mNumHoldByLayer = 2
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerSetDisplayPixelFormat:719>: Layer set expected pixel format, format = 5
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerSetDisplayBufferSize:671>: __LayerSetDisplayBufferSize:width = 1056,height = 1920
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerSetDisplayBufferCount:1179>: LayerSetBufferCount: count = 5
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 263
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1307>: get the fbm buf info
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1313>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:1194>: num hold by gpu is 2
[1970-01-01 00:54:10] DEBUG : awplayer <setLayerBuffer:248>: setLayerBuffer:Fmt(5),(1056 1920, 0 x 0)
[1970-01-01 00:54:10] DEBUG : awplayer <setLayerBuffer:251>: Disp(1056x1920)buf_cnt(5),ProFlag(0),SoftDecFlag(0)
[1970-01-01 00:54:10.349] PID: 1301 TID: 1317 <I> : [amix_mod_server_recv 496] connect successfully, id:7
[1970-01-01 00:54:10] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[0]:0x3fb58e0000
[1970-01-01 00:54:10] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[1]:0x3fb55f9000
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [amix_mod_server_cs_work 263]
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [amix_mod_server_cs_work 316] AMIX_CS_STREAM_OPEN
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [amix_mod_server_stream_add 72]
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [sfx_cs_get_stream_uid 38]
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [sfx_cs_get_stream_uid 44] stream_id 1
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <I> : [amix_mod_server_stream_add 98] io_id:65537, mix_id:1, stream_id:1
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [amix_mod_server_cs_work 340] period_size:960, period_count:4, channels:2 bit:16 shm_size:30720
[1970-01-01 00:54:10.357] PID: 1301 TID: 3128 <D> : [amix_mod_server_link_create 151]
[1970-01-01 00:54:10.358] PID: 1301 TID: 3128 <D> : [_amix_sem_posix_create 219]
[1970-01-01 00:54:10.358] PID: 1301 TID: 3128 <D> : [amix_open_stream 181] bit:16, rate:48000, channels:2
[1970-01-01 00:54:10.358] PID: 1301 TID: 3128 <D> : [amix_open_stream 182] period_size:1024, period_count:4
[1970-01-01 00:54:10.359] PID: 1301 TID: 3128 <I> : [amix_mod_server_cs_work 360] open stream dev(OUT_SPK-0x10001) success
[1970-01-01 00:54:10.359] PID: 2424 TID: 3127 <I> AUDIO_ROUTE: <openDevice:76>: amix_dev_open succeed device_type OUT_SPK
[1970-01-01 00:54:10] DEBUG : awplayer <startSoundDevice:808>: audio device start end
[1970-01-01 00:54:10] DEBUG : awplayer <CallbackProcess:3182>: first audio pts = 0
[1970-01-01 00:54:10] DEBUG : awplayer <setLayerBuffer:321>: SunxiMemPalloc buf[2]:0x3fb5312000
ionAlloc_5.15:<sunxi_ion_alloc_pallocExtend:377>fatal error! AW_ION_IOC_NEW_ALLOC error
[1970-01-01 00:54:10] ERROR : awplayer <setLayerBuffer:316>: SunxiMemPalloc err
[1970-01-01 00:54:10] ERROR : awplayer <__LayerDequeueBuffer:844>: can not initialize layer.
[1970-01-01 00:54:10] WARNING: awplayer <SetGpuBufferToDecoder:2184>: *** dequeue 0-th buffer for total 5 buffers failed.
[CallbackForTPlayer, 259]error: erro type:TPLAYER_MEDIA_ERROR_UNSUPPORTED
[CallbackForTPlayer, 277]error: error: media player status is error!
[1970-01-01 00:54:10] ERROR : awplayer <CallbackProcess:3004>: ==== video render internal error ===
[1970-01-01 00:54:10] DEBUG : awplayer <__LayerControl:1289>: layer control cmd = 260
[1970-01-01 00:54:12] DEBUG : awplayer <XPlayerStop:853>: stop
[1970-01-01 00:54:12] DEBUG : awplayer <PlayerStop:937>: ****** PlayerStop
[1970-01-01 00:54:12] DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: stop
[1970-01-01 00:54:12] WARNING: awplayer <CallbackProcess:3205>: break audio video first sync.
[1970-01-01 00:54:12] INFO : awplayer <handleStop:370>: audio render process stop message.
[1970-01-01 00:54:12] INFO : awplayer <fade_out:93>: fade_out size 7680
[1970-01-01 00:54:13] DEBUG : awplayer <handleStop:412>: stop sound devide.
DEBUG : tsoundcontrol <TSoundDeviceStop:246>: TSoundDeviceStop:sc->sound_status = 0
DEBUG : tsoundcontrol <closeSoundDevice:50>: closeSoundDevice
[1970-01-01 00:54:13.075] PID: 2424 TID: 3127 <I> AUDIO_ROUTE: <closeDevice:203>: begin
[1970-01-01 00:54:13.075]<I> : [_amix_sem_posix_close 315] sem_close succeed
[1970-01-01 00:54:13.075] PID: 1301 TID: 3128 <D> : [amix_mod_server_cs_work 367] AMIX_CS_STREAM_CLOSE
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <D> : [amix_close_stream 196]
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <D> : [amix_mod_server_link_destroy 213]
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <D> : [_amix_sem_posix_destroy 326]
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <I> : [_amix_sem_posix_destroy 334] sem_close succeed
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <D> : [_amix_sem_posix_destroy 336] unlink sem /AmixSmcSem65537
[1970-01-01 00:54:13.076] PID: 1301 TID: 3128 <I> : [_amix_sem_posix_destroy 340] sem_unlink succeed /AmixSmcSem65537
[1970-01-01 00:54:13.077] PID: 1301 TID: 3128 <I> : [_amix_shm_destroy 160] shm_unlink succeed with /AmixSmcShm65537
[1970-01-01 00:54:13.077] PID: 1301 TID: 3128 <D> : [amix_mod_server_stream_delete 122]
[1970-01-01 00:54:13.077] PID: 1301 TID: 3128 <D> : [sfx_cs_free_stream_uid 55]
[1970-01-01 00:54:13.077] PID: 1301 TID: 3128 <D> : [amix_mod_server_cs_work 391] close stream dev(OUT_SPK-0x10001) success
Caught signal 2
Program counter: 0x3fb97eeffc
Stack pointer: 0x3ffcb37720
Frame[0]: Address: 0x3fb93e9d00, Symbol: Unknown, Library: /usr/lib/libxplayer.so, Offset: 0x14d00
Frame[1]: Address: 0x3fb8b0b6c0, Unknown symbol
Frame[2]: Address: 0x80, Unknown symbol
Frame[3]: Address: 0x3fb97df3c8, Symbol: Unknown, Library: /lib/ld-musl-riscv64.so.1, Offset: 0x5a3c8
Frame[4]: Address: 0x3fb7ef6d10, Unknown symbol
Frame[5]: Address: 0x27d1, Unknown symbol
Frame[6]: Address: 0x3fb98273c8, Symbol: Unknown, Library: /lib/ld-musl-riscv64.so.1, Offset: 0xa23c8
Frame[7]: Address: 0, Unknown symbol
Frame[8]: Address: 0, Unknown symbol
Frame[9]: Address: 0xffffffffffffffff, Unknown symbol
^C[1970-01-01 00:54:13.304]<I> HRC-HAL : hdmiSubdevThreadLoop: exit
[1970-01-01 00:54:13.305]<I> HRC-VIDEO : exit:
[1970-01-01 00:54:13.314]<I> HRC-VIDEO : hdmiVideoThreadLoop: exit
[1970-01-01 00:54:13.315]<I> HRC-DEV : exit:
[1970-01-01 00:54:13.315]<I> HDMIRX-HAL: ~HdmiCecHal: HDMI-CEC EventThread exit
terminate called without an active exception
Aborted
root@TinaLinux:/#openwrt/target/h135/h135-p1/defconfig
打开
CONFIG_LVGL8_USE_WIFI2
CONFIG_LVGL8_USE_BT4openwrt/package/thirdparty/gui/lvgl-8/lv_projector/Makefile
ifeq ($(CONFIG_LVGL8_USE_WIFI2),y)
TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib
TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib
TARGET_CFLAGS+=-DLV_USE_LINUX_WIFI2_MODE
TARGET_LDFLAGS+=-lwifimg-v2.0 -lwirelesscom
endif
ifeq ($(CONFIG_LVGL8_USE_BT4),y)
TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib
TARGET_CFLAGS+=-DLV_USE_LINUX_BT4_MODE
TARGET_LDFLAGS+=-lbtmg -lwirelesscom -lshared-mainloop -lbluetooth -lbluetooth-internal -lgio-2.0 -ljson-c -ldbus-1
endifplatform/thirdparty/gui/lvgl-8/lv_projector/src/include/projector_config.h
#ifndef LV_USE_LINUX_WIFI2_MODE
#define ENABLE_WIFI (0)
#else
#define ENABLE_WIFI (1)
#endif
#ifndef LV_USE_LINUX_BT4_MODE
#define ENABLE_BT (0)
#else
#define ENABLE_BT (1)
#endif[ 3.277467] ubi0: scanning is finished
[ 3.290009] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 3.296194] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 3.303939] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 3.311559] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.319370] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[ 3.326111] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[ 3.334214] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 3.343592] ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[ 3.353955] ubi0: background thread "ubi_bgt0d" started, PID 1166
[ 3.362195] block ubiblock0_5: created from ubi0:5(rootfs)
[ 3.368925] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator[ 3.179780] ubi0: scanning is finished
[ 3.184045] ubi0 error: ubi_read_volume_table: the layout volume was not found
[ 3.192381] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
[ 3.200337] UBI error: cannot attach mtd3
[ 3.204851] UBI: block: can't open volume on ubi0_-1, err=-19
[ 3.211887] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator两块spi nand flash,前面的能启动,后面的不能启动
[ 161.702856] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 161.717468] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 161.731248] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[ 161.738813] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 161.746738] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 161.754560] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 161.762291] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 161.769179] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 162.838577] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 162.849870] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 162.868521] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 162.892829] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 162.907521] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 162.921445] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 8, RTO !!
[ 162.929492] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 162.937181] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 162.944900] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!
[ 162.952576] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !!控制台一直报mmc0检测信息,mmc0中断次数不断增加,那么屏蔽
sdc0 的 broken-cd
broken-cd
含义:表示该 SD 卡插槽的 卡检测(Card Detect)机制不可靠或无法使用。
作用:
当设置了 broken-cd 时,内核将 不依赖硬件卡检测信号 来判断 SD 卡是否插入。
内核可能会使用 轮询(polling) 方式定期检查卡是否存在(通过发送命令尝试通信),而不是依赖中断或电平变化。
使用场景:
硬件上没有连接卡检测引脚(CD pin)。
卡检测电路不稳定或存在设计缺陷。
使用了弹簧针等接触式检测,容易误报。
烧录到 SPI NAND有问题:
set address 0x2e
set address 0x2e ok
[903]fes begin commit:2386bdb825
[906]set pll start
[908]fix vccio detect value:0xc0
[915]periph0 has been enabled
[918]set pll end
[920][pmu]: bus read error
[922]board init ok
[924]beign to init dram
[926]get_pmu_exist() = -1
[929]ddr_efuse_type: 0x0
[931]trefi:7.8ms
[934][AUTO DEBUG] two rank and full DQ!
[938]ddr_efuse_type: 0x0
[940]trefi:7.8ms
[942][AUTO DEBUG] rank 0 row = 15
[945][AUTO DEBUG] rank 0 bank = 8
[949][AUTO DEBUG] rank 0 page size = 2 KB
[953][AUTO DEBUG] rank 1 row = 15
[956][AUTO DEBUG] rank 1 bank = 8
[959][AUTO DEBUG] rank 1 page size = 2 KB
[963]rank1 config same as rank0
[966]DRAM BOOT DRIVE INFO: V0.34
[969]DRAM CLK = 792 MHz
[971]DRAM Type = 3 (2:DDR2,3:DDR3)
[975]DRAMC ZQ value: 0x7b7bfb
[978]DRAM ODT value: 0x42.
[980]ddr_efuse_type: 0x0
[983]DRAM SIZE = 1024 MB
[987]DRAM simple test OK.
[989]rtc standby flag is 0x0, super standby flag is 0x0
[995]init dram ok
U-Boot 2018.07-gce06dac-dirty (Jul 04 2025 - 10:14:03 +0800) Allwinner Technology
[03.426]CPU: Allwinner Family
[03.429]Model: sun8iw20
[03.431]DRAM: 512 MiB
[03.434]Relocation Offset is: 1cebb000
[03.462]secure enable bit: 0
[03.465]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[03.471]gic: normal mode
[03.473]sunxi flash map init
[03.476]line:703 init_clocks
[03.479]init_clocks:finish
[03.481]flash init start
[03.484]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[03.491][mmc]: mmc driver ver uboot2018:2023-08-29 10:12:00
[03.498][mmc]: Is not Boot mode!
[03.501][mmc]: SUNXI SDMMC Controller Version:0x50310
[03.512][mmc]: ************Try SD card 2************
[03.517][mmc]: mmc 2 cmd timeout 100 status 100
[03.521][mmc]: smc 2 err, cmd 8, RTO
[03.524][mmc]: mmc 2 close bus gating and reset
[03.530][mmc]: mmc 2 cmd timeout 100 status 100
[03.534][mmc]: smc 2 err, cmd 55, RTO
[03.537][mmc]: mmc 2 close bus gating and reset
[03.541][mmc]: ************Try MMC card 2************
[03.550][mmc]: mmc 2 cmd timeout 100 status 100
[03.554][mmc]: smc 2 err, cmd 1, RTO
[03.558][mmc]: mmc 2 close bus gating and reset
[03.562][mmc]: Card did not respond to voltage select!
[03.567][mmc]: ************SD/MMC 2 init error!************
[03.572][mmc]: mmc init product failed
MMC init failed
try emmc fail
[03.579]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[03.584]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[03.592]sunxi-spinand-phy: request spi0 gpio ok
[03.596]sunxi-spinand-phy: request general tx dma channel ok!
[03.602]sunxi-spinand-phy: request general rx dma channel ok!
[03.607]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[03.612]sunxi-spinand-phy: init spic0 clk ok
[03.616]sunxi-spinand-phy: detect munufacture from id table: Winbond
[03.622]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[03.628]sunxi-spinand-phy: ========== arch info ==========
[03.633]sunxi-spinand-phy: Model: W25N01GVZEIG
[03.638]sunxi-spinand-phy: Munufacture: Winbond
[03.643]sunxi-spinand-phy: DieCntPerChip: 1
[03.647]sunxi-spinand-phy: BlkCntPerDie: 1024
[03.652]sunxi-spinand-phy: PageCntPerBlk: 64
[03.657]sunxi-spinand-phy: SectCntPerPage: 4
[03.661]sunxi-spinand-phy: OobSizePerPage: 64
[03.666]sunxi-spinand-phy: BadBlockFlag: 0x0
[03.670]sunxi-spinand-phy: OperationOpt: 0x7
[03.675]sunxi-spinand-phy: MaxEraseTimes: 65000
[03.680]sunxi-spinand-phy: EccFlag: 0x0
[03.684]sunxi-spinand-phy: EccType: 2
[03.689]sunxi-spinand-phy: EccProtectedType: 3
[03.693]sunxi-spinand-phy: ========================================
[03.699]sunxi-spinand-phy:
[03.701]sunxi-spinand-phy: ========== physical info ==========
[03.707]sunxi-spinand-phy: TotalSize: 128 M
[03.711]sunxi-spinand-phy: SectorSize: 512 B
[03.715]sunxi-spinand-phy: PageSize: 2 K
[03.719]sunxi-spinand-phy: BlockSize: 128 K
[03.723]sunxi-spinand-phy: OOBSize: 64 B
[03.728]sunxi-spinand-phy: ========================================
[03.734]sunxi-spinand-phy:
[03.736]sunxi-spinand-phy: ========== logical info ==========
[03.741]sunxi-spinand-phy: TotalSize: 128 M
[03.746]sunxi-spinand-phy: SectorSize: 512 B
[03.750]sunxi-spinand-phy: PageSize: 4 K
[03.754]sunxi-spinand-phy: BlockSize: 256 K
[03.758]sunxi-spinand-phy: OOBSize: 128 B
[03.762]sunxi-spinand-phy: ========================================
[03.768]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[03.773]sunxi-spinand-phy: block lock register: 0x00
[03.778]sunxi-spinand-phy: feature register: 0x19
[03.782]sunxi-spinand-phy: sunxi physic nand init end
[03.787]Loading Environment from SUNXI_FLASH... OK
[03.791]try to burn key
[03.794]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
run usb efex
buf queue page size = 16384
delay time 2500
weak:otg_phy_config
usb init ok
set address 0x31
set address 0x31 ok
set address 0x32
set address 0x32 ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
SUNXI_EFEX_EXT4_UBIFS_TAG & do nothing
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 7
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x1f8
part[0] lenlo :0x218a
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x2382
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :env-redund
part[2] classname :DISK
part[2] addrlo :0x257a
part[2] lenlo :0x1f8
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :boot
part[3] classname :DISK
part[3] addrlo :0x2772
part[3] lenlo :0x42f0
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :rootfs
part[4] classname :DISK
part[4] addrlo :0x6a62
part[4] lenlo :0xbd80
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :private
part[5] classname :DISK
part[5] addrlo :0x127e2
part[5] lenlo :0x7e0
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :UDISK
part[6] classname :DISK
part[6] addrlo :0x12fc2
part[6] lenlo :0x0
part[6] user_type :33024
part[6] keydata :0
part[6] ro :0
total part: 8
mbr 0, 1f8, 8000
boot-resource 1, 218a, 8000
env 2, 1f8, 8000
env-redund 3, 1f8, 8000
boot 4, 42f0, 8000
rootfs 5, bd80, 8000
private 6, 7e0, 8000
UDISK 7, 0, 8100
[07.073]erase blk 0 to blk 32
need erase flash: 18
[07.096]erase blk 0 to blk 32
[07.116]erase blk 40 to blk 1024
[07.118]blk 41 is bad, skip to erase
[07.122]blk 43 is bad, skip to erase
[07.125]blk 45 is bad, skip to erase
[07.128]blk 47 is bad, skip to erase
[07.132]blk 49 is bad, skip to erase
[07.135]blk 51 is bad, skip to erase
[07.138]blk 53 is bad, skip to erase
[07.141]blk 55 is bad, skip to erase
[07.145]blk 57 is bad, skip to erase
[07.148]blk 59 is bad, skip to erase
[07.151]blk 61 is bad, skip to erase
[07.155]blk 63 is bad, skip to erase
[07.158]blk 65 is bad, skip to erase
[07.161]blk 67 is bad, skip to erase
[07.164]blk 69 is bad, skip to erase
[07.168]blk 71 is bad, skip to erase
[07.171]blk 73 is bad, skip to erase
[07.174]blk 75 is bad, skip to erase
[07.178]blk 77 is bad, skip to erase
[07.181]blk 79 is bad, skip to erase
[07.184]blk 81 is bad, skip to erase
[07.188]blk 83 is bad, skip to erase
[07.191]blk 85 is bad, skip to erase
[07.194]blk 87 is bad, skip to erase
[07.197]blk 89 is bad, skip to erase
[07.201]blk 91 is bad, skip to erase
[07.204]blk 93 is bad, skip to erase
[07.207]blk 95 is bad, skip to erase
[07.211]blk 97 is bad, skip to erase
[07.214]blk 99 is bad, skip to erase
[07.217]blk 101 is bad, skip to erase
[07.221]blk 103 is bad, skip to erase
[07.224]blk 105 is bad, skip to erase
[07.227]blk 107 is bad, skip to erase
[07.231]blk 109 is bad, skip to erase
[07.234]blk 111 is bad, skip to erase
[07.237]blk 113 is bad, skip to erase
[07.241]blk 115 is bad, skip to erase
[07.244]blk 117 is bad, skip to erase
[07.248]blk 119 is bad, skip to erase
[07.251]blk 121 is bad, skip to erase
[07.254]blk 123 is bad, skip to erase
[07.258]blk 125 is bad, skip to erase
[07.261]blk 127 is bad, skip to erase
[07.265]blk 129 is bad, skip to erase
[07.268]blk 131 is bad, skip to erase
[07.271]blk 133 is bad, skip to erase
[07.275]blk 135 is bad, skip to erase
[07.278]blk 137 is bad, skip to erase
[07.281]blk 139 is bad, skip to erase
[07.285]blk 141 is bad, skip to erase
[07.288]blk 143 is bad, skip to erase
[07.292]blk 145 is bad, skip to erase
[07.295]blk 147 is bad, skip to erase
[07.298]blk 149 is bad, skip to erase
[07.302]blk 151 is bad, skip to erase
[07.305]blk 153 is bad, skip to erase
[07.308]blk 155 is bad, skip to erase
[07.312]blk 157 is bad, skip to erase
[07.315]blk 159 is bad, skip to erase
[07.319]blk 161 is bad, skip to erase
[07.322]blk 163 is bad, skip to erase
[07.325]blk 165 is bad, skip to erase
[07.330]blk 169 is bad, skip to erase
[07.334]blk 173 is bad, skip to erase
[07.339]blk 177 is bad, skip to erase
[07.342]blk 179 is bad, skip to erase
[07.346]blk 181 is bad, skip to erase
[07.349]blk 183 is bad, skip to erase
[07.352]blk 185 is bad, skip to erase
[07.356]blk 187 is bad, skip to erase
[07.359]blk 189 is bad, skip to erase
[07.362]blk 191 is bad, skip to erase
[07.366]blk 193 is bad, skip to erase
[07.369]blk 195 is bad, skip to erase
[07.373]blk 197 is bad, skip to erase
[07.376]blk 199 is bad, skip to erase
[07.379]blk 201 is bad, skip to erase
[07.383]blk 203 is bad, skip to erase
[07.386]blk 205 is bad, skip to erase
[07.390]blk 207 is bad, skip to erase
[07.393]blk 209 is bad, skip to erase
[07.396]blk 211 is bad, skip to erase
[07.400]blk 213 is bad, skip to erase
[07.403]blk 215 is bad, skip to erase
[07.406]blk 217 is bad, skip to erase
[07.410]blk 219 is bad, skip to erase
[07.413]blk 221 is bad, skip to erase
[07.417]blk 223 is bad, skip to erase
[07.420]blk 225 is bad, skip to erase
[07.423]blk 227 is bad, skip to erase
[07.427]blk 229 is bad, skip to erase
[07.430]blk 231 is bad, skip to erase
[07.433]blk 233 is bad, skip to erase
[07.437]blk 235 is bad, skip to erase
[07.440]blk 237 is bad, skip to erase
[07.444]blk 239 is bad, skip to erase
[07.447]blk 241 is bad, skip to erase
[07.450]blk 243 is bad, skip to erase
[07.454]blk 245 is bad, skip to erase
[07.457]blk 247 is bad, skip to erase
[07.461]blk 249 is bad, skip to erase
[07.464]blk 251 is bad, skip to erase
[07.467]blk 253 is bad, skip to erase
[07.471]blk 255 is bad, skip to erase
[07.474]blk 257 is bad, skip to erase
[07.477]blk 259 is bad, skip to erase
[07.481]blk 261 is bad, skip to erase
[07.484]blk 263 is bad, skip to erase
[07.488]blk 265 is bad, skip to erase
[07.491]blk 267 is bad, skip to erase
[07.494]blk 269 is bad, skip to erase
[07.498]blk 271 is bad, skip to erase
[07.501]blk 273 is bad, skip to erase
[07.504]blk 275 is bad, skip to erase
[07.508]blk 277 is bad, skip to erase
[07.511]blk 279 is bad, skip to erase
[07.515]blk 281 is bad, skip to erase
[07.518]blk 283 is bad, skip to erase
[07.521]blk 285 is bad, skip to erase
[07.525]blk 287 is bad, skip to erase
[07.528]blk 289 is bad, skip to erase
[07.531]blk 291 is bad, skip to erase
[07.535]blk 293 is bad, skip to erase
[07.538]blk 295 is bad, skip to erase
[07.542]blk 297 is bad, skip to erase
[07.545]blk 299 is bad, skip to erase
[07.550]blk 303 is bad, skip to erase
[07.553]blk 305 is bad, skip to erase
[07.557]blk 309 is bad, skip to erase
[07.561]blk 311 is bad, skip to erase
[07.564]blk 313 is bad, skip to erase
[07.570]blk 319 is bad, skip to erase
[07.573]blk 321 is bad, skip to erase
[07.577]blk 323 is bad, skip to erase
[07.580]blk 325 is bad, skip to erase
[07.583]blk 327 is bad, skip to erase
[07.587]blk 329 is bad, skip to erase
[07.590]blk 331 is bad, skip to erase
[07.593]blk 333 is bad, skip to erase
[07.597]blk 335 is bad, skip to erase
[07.600]blk 337 is bad, skip to erase
[07.604]blk 339 is bad, skip to erase
[07.607]blk 341 is bad, skip to erase
[07.610]blk 343 is bad, skip to erase
[07.614]blk 345 is bad, skip to erase
[07.617]blk 347 is bad, skip to erase
[07.621]blk 349 is bad, skip to erase
[07.624]blk 351 is bad, skip to erase
[07.627]blk 353 is bad, skip to erase
[07.631]blk 355 is bad, skip to erase
[07.634]blk 357 is bad, skip to erase
[07.637]blk 359 is bad, skip to erase
[07.641]blk 361 is bad, skip to erase
[07.644]blk 363 is bad, skip to erase
[07.648]blk 365 is bad, skip to erase
[07.651]blk 367 is bad, skip to erase
[07.654]blk 369 is bad, skip to erase
[07.658]blk 371 is bad, skip to erase
[07.661]blk 373 is bad, skip to erase
[07.664]blk 375 is bad, skip to erase
[07.668]blk 377 is bad, skip to erase
[07.671]blk 379 is bad, skip to erase
[07.675]blk 381 is bad, skip to erase
[07.678]blk 383 is bad, skip to erase
[07.681]blk 385 is bad, skip to erase
[07.685]blk 387 is bad, skip to erase
[07.688]blk 389 is bad, skip to erase
[07.691]blk 391 is bad, skip to erase
[07.695]blk 393 is bad, skip to erase
[07.698]blk 395 is bad, skip to erase
[07.702]blk 397 is bad, skip to erase
[07.705]blk 399 is bad, skip to erase
[07.708]blk 401 is bad, skip to erase
[07.712]blk 403 is bad, skip to erase
[07.715]blk 405 is bad, skip to erase
[07.719]blk 407 is bad, skip to erase
[07.722]blk 409 is bad, skip to erase
[07.725]blk 411 is bad, skip to erase
[07.729]blk 413 is bad, skip to erase
[07.732]blk 415 is bad, skip to erase
[07.735]blk 417 is bad, skip to erase
[07.739]blk 419 is bad, skip to erase
[07.742]blk 421 is bad, skip to erase
[07.746]blk 423 is bad, skip to erase
[07.749]blk 425 is bad, skip to erase
[07.752]blk 427 is bad, skip to erase
[07.756]blk 429 is bad, skip to erase
[07.759]blk 431 is bad, skip to erase
[07.762]blk 433 is bad, skip to erase
[07.766]blk 435 is bad, skip to erase
[07.770]blk 439 is bad, skip to erase
[07.774]blk 441 is bad, skip to erase
[07.777]blk 443 is bad, skip to erase
[07.780]blk 445 is bad, skip to erase
[07.784]blk 447 is bad, skip to erase
[07.788]blk 450 is bad, skip to erase
[07.792]blk 453 is bad, skip to erase
[07.795]blk 455 is bad, skip to erase
[07.798]blk 457 is bad, skip to erase
[07.802]blk 459 is bad, skip to erase
[07.805]blk 461 is bad, skip to erase
[07.809]blk 463 is bad, skip to erase
[07.812]blk 465 is bad, skip to erase
[07.815]blk 467 is bad, skip to erase
[07.819]blk 469 is bad, skip to erase
[07.822]blk 471 is bad, skip to erase
[07.825]blk 473 is bad, skip to erase
[07.829]blk 475 is bad, skip to erase
[07.832]blk 477 is bad, skip to erase
[07.836]blk 479 is bad, skip to erase
[07.839]blk 481 is bad, skip to erase
[07.842]blk 483 is bad, skip to erase
[07.846]blk 485 is bad, skip to erase
[07.849]blk 487 is bad, skip to erase
[07.853]blk 489 is bad, skip to erase
[07.856]blk 491 is bad, skip to erase
[07.859]blk 493 is bad, skip to erase
[07.863]blk 495 is bad, skip to erase
[07.866]blk 497 is bad, skip to erase
[07.869]blk 499 is bad, skip to erase
[07.873]blk 501 is bad, skip to erase
[07.876]blk 503 is bad, skip to erase
[07.880]blk 505 is bad, skip to erase
[07.883]blk 507 is bad, skip to erase
[07.886]blk 509 is bad, skip to erase
[07.890]blk 511 is bad, skip to erase
[07.893]blk 513 is bad, skip to erase
[07.896]blk 515 is bad, skip to erase
[07.900]blk 517 is bad, skip to erase
[07.903]blk 519 is bad, skip to erase
[07.907]blk 521 is bad, skip to erase
[07.910]blk 523 is bad, skip to erase
[07.913]blk 525 is bad, skip to erase
[07.917]blk 527 is bad, skip to erase
[07.920]blk 529 is bad, skip to erase
[07.923]blk 531 is bad, skip to erase
[07.927]blk 533 is bad, skip to erase
[07.930]blk 535 is bad, skip to erase
[07.934]blk 537 is bad, skip to erase
[07.937]blk 539 is bad, skip to erase
[07.940]blk 541 is bad, skip to erase
[07.944]blk 543 is bad, skip to erase
[07.947]blk 545 is bad, skip to erase
[07.951]blk 547 is bad, skip to erase
[07.954]blk 549 is bad, skip to erase
[07.957]blk 551 is bad, skip to erase
[07.961]blk 553 is bad, skip to erase
[07.964]blk 555 is bad, skip to erase
[07.967]blk 557 is bad, skip to erase
[07.971]blk 559 is bad, skip to erase
[07.974]blk 561 is bad, skip to erase
[07.978]blk 563 is bad, skip to erase
[07.981]blk 565 is bad, skip to erase
[07.984]blk 567 is bad, skip to erase
[07.988]blk 569 is bad, skip to erase
[07.991]blk 571 is bad, skip to erase
[07.996]blk 575 is bad, skip to erase
[07.999]blk 577 is bad, skip to erase
[08.002]blk 579 is bad, skip to erase
[08.006]blk 581 is bad, skip to erase
[08.009]blk 583 is bad, skip to erase
[08.012]blk 585 is bad, skip to erase
[08.016]blk 587 is bad, skip to erase
[08.020]blk 590 is bad, skip to erase
[08.024]blk 593 is bad, skip to erase
[08.027]blk 595 is bad, skip to erase
[08.030]blk 597 is bad, skip to erase
[08.034]blk 599 is bad, skip to erase
[08.037]blk 601 is bad, skip to erase
[08.041]blk 603 is bad, skip to erase
[08.044]blk 605 is bad, skip to erase
[08.047]blk 607 is bad, skip to erase
[08.051]blk 609 is bad, skip to erase
[08.054]blk 611 is bad, skip to erase
[08.057]blk 613 is bad, skip to erase
[08.061]blk 615 is bad, skip to erase
[08.064]blk 617 is bad, skip to erase
[08.068]blk 619 is bad, skip to erase
[08.071]blk 621 is bad, skip to erase
[08.074]blk 623 is bad, skip to erase
[08.078]blk 625 is bad, skip to erase
[08.081]blk 627 is bad, skip to erase
[08.085]blk 629 is bad, skip to erase
[08.088]blk 631 is bad, skip to erase
[08.091]blk 633 is bad, skip to erase
[08.095]blk 635 is bad, skip to erase
[08.098]blk 637 is bad, skip to erase
[08.101]blk 639 is bad, skip to erase
[08.105]blk 641 is bad, skip to erase
[08.108]blk 643 is bad, skip to erase
[08.112]blk 645 is bad, skip to erase
[08.115]blk 647 is bad, skip to erase
[08.118]blk 649 is bad, skip to erase
[08.122]blk 651 is bad, skip to erase
[08.125]blk 653 is bad, skip to erase
[08.128]blk 655 is bad, skip to erase
[08.132]blk 657 is bad, skip to erase
[08.135]blk 659 is bad, skip to erase
[08.139]blk 661 is bad, skip to erase
[08.142]blk 663 is bad, skip to erase
[08.145]blk 665 is bad, skip to erase
[08.149]blk 667 is bad, skip to erase
[08.152]blk 669 is bad, skip to erase
[08.155]blk 671 is bad, skip to erase
[08.159]blk 673 is bad, skip to erase
[08.162]blk 675 is bad, skip to erase
[08.166]blk 677 is bad, skip to erase
[08.169]blk 679 is bad, skip to erase
[08.172]blk 681 is bad, skip to erase
[08.176]blk 683 is bad, skip to erase
[08.179]blk 685 is bad, skip to erase
[08.183]blk 687 is bad, skip to erase
[08.186]blk 689 is bad, skip to erase
[08.189]blk 691 is bad, skip to erase
[08.193]blk 693 is bad, skip to erase
[08.196]blk 695 is bad, skip to erase
[08.199]blk 697 is bad, skip to erase
[08.203]blk 699 is bad, skip to erase
[08.206]blk 701 is bad, skip to erase
[08.210]blk 703 is bad, skip to erase
[08.213]blk 705 is bad, skip to erase
[08.216]blk 707 is bad, skip to erase
[08.221]blk 711 is bad, skip to erase
[08.224]blk 713 is bad, skip to erase
[08.228]blk 715 is bad, skip to erase
[08.231]blk 717 is bad, skip to erase
[08.234]blk 719 is bad, skip to erase
[08.238]blk 721 is bad, skip to erase
[08.241]blk 723 is bad, skip to erase
[08.244]blk 725 is bad, skip to erase
[08.248]blk 727 is bad, skip to erase
[08.252]blk 730 is bad, skip to erase
[08.256]blk 733 is bad, skip to erase
[08.259]blk 735 is bad, skip to erase
[08.262]blk 737 is bad, skip to erase
[08.266]blk 739 is bad, skip to erase
[08.269]blk 741 is bad, skip to erase
[08.273]blk 743 is bad, skip to erase
[08.276]blk 745 is bad, skip to erase
[08.279]blk 747 is bad, skip to erase
[08.283]blk 749 is bad, skip to erase
[08.286]blk 751 is bad, skip to erase
[08.289]blk 753 is bad, skip to erase
[08.293]blk 755 is bad, skip to erase
[08.296]blk 757 is bad, skip to erase
[08.300]blk 759 is bad, skip to erase
[08.303]blk 761 is bad, skip to erase
[08.306]blk 763 is bad, skip to erase
[08.310]blk 765 is bad, skip to erase
[08.313]blk 767 is bad, skip to erase
[08.317]blk 769 is bad, skip to erase
[08.320]blk 771 is bad, skip to erase
[08.323]blk 773 is bad, skip to erase
[08.327]blk 775 is bad, skip to erase
[08.330]blk 777 is bad, skip to erase
[08.333]blk 779 is bad, skip to erase
[08.337]blk 781 is bad, skip to erase
[08.340]blk 783 is bad, skip to erase
[08.344]blk 785 is bad, skip to erase
[08.347]blk 787 is bad, skip to erase
[08.350]blk 789 is bad, skip to erase
[08.354]blk 791 is bad, skip to erase
[08.357]blk 793 is bad, skip to erase
[08.360]blk 795 is bad, skip to erase
[08.364]blk 797 is bad, skip to erase
[08.367]blk 799 is bad, skip to erase
[08.371]blk 801 is bad, skip to erase
[08.374]blk 803 is bad, skip to erase
[08.377]blk 805 is bad, skip to erase
[08.381]blk 807 is bad, skip to erase
[08.384]blk 809 is bad, skip to erase
[08.387]blk 811 is bad, skip to erase
[08.391]blk 813 is bad, skip to erase
[08.394]blk 815 is bad, skip to erase
[08.398]blk 817 is bad, skip to erase
[08.401]blk 819 is bad, skip to erase
[08.404]blk 821 is bad, skip to erase
[08.408]blk 823 is bad, skip to erase
[08.411]blk 825 is bad, skip to erase
[08.415]blk 827 is bad, skip to erase
[08.418]blk 829 is bad, skip to erase
[08.421]blk 831 is bad, skip to erase
[08.425]blk 833 is bad, skip to erase
[08.428]blk 835 is bad, skip to erase
[08.433]blk 839 is bad, skip to erase
[08.436]blk 841 is bad, skip to erase
[08.439]blk 843 is bad, skip to erase
[08.443]blk 845 is bad, skip to erase
[08.446]blk 847 is bad, skip to erase
[08.449]blk 849 is bad, skip to erase
[08.453]blk 851 is bad, skip to erase
[08.456]blk 853 is bad, skip to erase
[08.460]blk 855 is bad, skip to erase
[08.463]blk 857 is bad, skip to erase
[08.466]blk 859 is bad, skip to erase
[08.470]blk 861 is bad, skip to erase
[08.474]blk 864 is bad, skip to erase
[08.478]blk 867 is bad, skip to erase
[08.481]blk 869 is bad, skip to erase
[08.484]blk 871 is bad, skip to erase
[08.488]blk 873 is bad, skip to erase
[08.491]blk 875 is bad, skip to erase
[08.494]blk 877 is bad, skip to erase
[08.498]blk 879 is bad, skip to erase
[08.501]blk 881 is bad, skip to erase
[08.505]blk 883 is bad, skip to erase
[08.508]blk 885 is bad, skip to erase
[08.511]blk 887 is bad, skip to erase
[08.515]blk 889 is bad, skip to erase
[08.518]blk 891 is bad, skip to erase
[08.521]blk 893 is bad, skip to erase
[08.525]blk 895 is bad, skip to erase
[08.528]blk 897 is bad, skip to erase
[08.532]blk 899 is bad, skip to erase
[08.535]blk 901 is bad, skip to erase
[08.538]blk 903 is bad, skip to erase
[08.542]blk 905 is bad, skip to erase
[08.545]blk 907 is bad, skip to erase
[08.549]blk 909 is bad, skip to erase
[08.552]blk 911 is bad, skip to erase
[08.555]blk 913 is bad, skip to erase
[08.559]blk 915 is bad, skip to erase
[08.562]blk 917 is bad, skip to erase
[08.565]blk 919 is bad, skip to erase
[08.569]blk 921 is bad, skip to erase
[08.572]blk 923 is bad, skip to erase
[08.576]blk 925 is bad, skip to erase
[08.579]blk 927 is bad, skip to erase
[08.582]blk 929 is bad, skip to erase
[08.586]blk 931 is bad, skip to erase
[08.589]blk 933 is bad, skip to erase
[08.592]blk 935 is bad, skip to erase
[08.596]blk 937 is bad, skip to erase
[08.599]blk 939 is bad, skip to erase
[08.603]blk 941 is bad, skip to erase
[08.606]blk 943 is bad, skip to erase
[08.609]blk 945 is bad, skip to erase
[08.613]blk 947 is bad, skip to erase
[08.616]blk 949 is bad, skip to erase
[08.619]blk 951 is bad, skip to erase
[08.623]blk 953 is bad, skip to erase
[08.626]blk 955 is bad, skip to erase
[08.630]blk 957 is bad, skip to erase
[08.633]blk 959 is bad, skip to erase
[08.636]blk 961 is bad, skip to erase
[08.640]blk 963 is bad, skip to erase
[08.644]blk 967 is bad, skip to erase
[08.648]blk 969 is bad, skip to erase
[08.651]blk 971 is bad, skip to erase
[08.654]blk 973 is bad, skip to erase
[08.658]blk 975 is bad, skip to erase
[08.661]blk 977 is bad, skip to erase
[08.665]blk 979 is bad, skip to erase
[08.668]blk 981 is bad, skip to erase
[08.671]blk 983 is bad, skip to erase
[08.675]blk 985 is bad, skip to erase
[08.678]blk 987 is bad, skip to erase
[08.681]blk 989 is bad, skip to erase
[08.685]blk 991 is bad, skip to erase
[08.688]blk 993 is bad, skip to erase
[08.692]blk 995 is bad, skip to erase
[08.696]blk 999 is bad, skip to erase
[08.699]blk 1001 is bad, skip to erase
[08.705]blk 1007 is bad, skip to erase
[08.709]blk 1009 is bad, skip to erase
[08.712]blk 1011 is bad, skip to erase
[08.717]blk 1015 is bad, skip to erase
[08.720]blk 1017 is bad, skip to erase
[08.724]blk 1019 is bad, skip to erase
[08.727]blk 1021 is bad, skip to erase
[08.731]blk 1023 is bad, skip to erase
[08.734]get secure storage map err
[08.737]erase secure storage block 0 err
[08.741]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[08.791]MTD info (4)
[08.793]pagesize: 0x1000
[08.795]blksize: 0x40000
[08.798]num offset bytes name
[08.801]0 0x00000000 0x00100000 boot0
[08.805]1 0x00100000 0x00300000 uboot
[08.808]2 0x00400000 0x00100000 secure_storage
[08.813]3 0x00500000 0x07b00000 sys
[08.816]ubi attach the last part of mtd device: NO.3
[08.822]ubi0: attaching mtd4
[08.827]ubi0: scanning is finished
[08.830]ubi0: empty MTD device detected
[08.837]ubi0 warning: ubi_calculate_reserved: number of bad PEBs (472) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[08.853]ubi0: attached mtd4 (name "sys", size 123 MiB)
[08.858]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[08.864]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[08.870]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[08.876]ubi0: good PEBs: 20, bad PEBs: 472, corrupted PEBs: 0
[08.882]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[08.888]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
[08.896]ubi0: available PEBs: 16, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 4
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 1
3: sys 0x07b00000 0x00500000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[08.952]MTD info (4)
[08.954]pagesize: 0x1000
[08.956]blksize: 0x40000
[08.959]num offset bytes name
[08.962]0 0x00000000 0x00100000 boot0
[08.966]1 0x00100000 0x00300000 uboot
[08.969]2 0x00400000 0x00100000 secure_storage
[08.974]3 0x00500000 0x07b00000 sys
[08.977]MBR info (unalign):
[08.980]partno addr sects type name
[08.985]0 0x00000000 0x000001f8 0x00000001 mbr
[08.989]1 0x000001f8 0x0000218a 0x00008000 boot-resource
[08.995]2 0x00002382 0x000001f8 0x00008000 env
[09.000]3 0x0000257a 0x000001f8 0x00008000 env-redund
[09.005]4 0x00002772 0x000042f0 0x00008000 boot
[09.010]5 0x00006a62 0x0000bd80 0x00008000 rootfs
[09.015]6 0x000127e2 0x000007e0 0x00008000 private
[09.020]7 0x00012fc2 0x00000000 0x00008100 UDISK
[09.025]ubi attach the last part of mtd device: NO.3
[09.030]MBR info (align):
[09.032]partno addr sects type name
[09.037]0 0x00002800 0x000001f8 0x00000001 mbr
[09.042]1 0x000029f8 0x00002370 0x00008000 boot-resource
[09.047]2 0x00004d68 0x000001f8 0x00008000 env
[09.052]3 0x00004f60 0x000001f8 0x00008000 env-redund
[09.058]4 0x00005158 0x000042f0 0x00008000 boot
[09.062]5 0x00009448 0x0000bef8 0x00008000 rootfs
[09.067]6 0x00015340 0x000007e0 0x00008000 private
[09.073]7 0x00015b20 0x00000000 0x00008100 UDISK
[09.077]ubi attach the last part of mtd device: NO.3
[09.082]ubi attatch mtd, name: sys
[09.085]ubi0: detaching mtd4
[09.088]ubi0: mtd4 is detached
[09.091]ubi0: attaching mtd4
[09.096]ubi0: scanning is finished
[09.099]ubi0: empty MTD device detected
[09.106]ubi0 warning: ubi_calculate_reserved: number of bad PEBs (472) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[09.122]ubi0: attached mtd4 (name "sys", size 123 MiB)
[09.127]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[09.133]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[09.139]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[09.145]ubi0: good PEBs: 20, bad PEBs: 472, corrupted PEBs: 0
[09.151]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[09.157]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0
[09.165]ubi0: available PEBs: 16, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0
Creating static volume mbr of size 258048
Creating dynamic volume boot-resource of size 4644864
[09.187]ubi0 error: ubi_create_volume: not enough PEBs, only 15 available
[09.193]ubi0 error: ubi_create_volume: cannot create volume 1, error -28
[09.199]'ubi create boot-resource 0x000000000046e000 d' failed, return -28
[09.206]initialize sunxi spinand ubi failed
download_standard_gpt:write mbr sectors fail ret = 0

挂在采集画面
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
[ 173.324793] Unable to handle kernel paging request at virtual address ffffffff800ad342
[ 173.346905] Oops [#1]
[ 173.349454] Modules linked in: aic8800_fdrv aic8800_bsp
[ 173.355291] CPU: 0 PID: 1271 Comm: lv_projector Not tainted 6.6.0 #55
[ 173.362470] Hardware name: sun251iw1 (DT)
[ 173.366930] epc : filp_flush+0x56/0x5e
[ 173.371116] ra : filp_flush+0x54/0x5e
[ 173.375292] epc : ffffffff800ad340 ra : ffffffff800ad33e sp : ffffffc800f8be70
[ 173.383334] gp : ffffffff80a25ca8 tp : ffffffd801945a00 t0 : ffffffff805c4c68
[ 173.391376] t1 : ffffffff806102d8 t2 : ffffffff80610358 s0 : ffffffc800f8bea0
[ 173.399421] s1 : ffffffd802425500 a0 : ffffffd802425500 a1 : ffffffd800c61680
[ 173.407462] a2 : fffffffffffbffff a3 : 0000000000000000 a4 : 0000000000004000
[ 173.415504] a5 : 0000000000002000 a6 : 0000003f9f026508 a7 : 0000000000000039
[ 173.423547] s2 : 0000000000000000 s3 : ffffffd800c61680 s4 : 0000000000000008
[ 173.431589] s5 : 0000003f9f026ba0 s6 : 0000000000000001 s7 : 0000003f9f026988
[ 173.439631] s8 : 0000003f9f004000 s9 : 0000003f9f026ab8 s10: 0000003fa09fef30
[ 173.447671] s11: 0000003fa09feed8 t3 : 0000003fa09bb7f0 t4 : 0000000000000050
[ 173.455713] t5 : 0000000064616500 t6 : 0000000068546f00
[ 173.461625] status: 0000000200000120 badaddr: ffffffff800ad342 cause: 000000000000000c
[ 173.470440] [<ffffffff800ad340>] filp_flush+0x56/0x5e
[ 173.476071] [<ffffffff800aeb6c>] __riscv_sys_close+0x20/0x54
[ 173.482380] [<ffffffff805c4d00>] do_trap_ecall_u+0x98/0xec
[ 173.488500] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
[ 173.494823] Code: 892a 489c 6711 8ff9 fff1 85ce 8526 60ef 01c3 85ce (8526) e0ef
[ 173.679938] ---[ end trace 0000000000000000 ]---
[ 176.430673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 179.502755] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 182.574677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 185.646678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 188.718680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 191.790713] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 194.862742] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 197.934686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 201.006706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 204.078712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 207.150677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 210.222726] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 213.295370] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 216.366731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 219.438708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 222.510672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 225.582728] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 228.654682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 231.726688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 234.798685] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 237.870716] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 240.942690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 244.014876] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 247.086770] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 250.158754] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 253.230678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 256.302702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 259.374785] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 262.446686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 265.518712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 268.590682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 271.662708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 274.734705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 277.806724] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 280.878702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 283.950683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 287.022702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 290.094749] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 293.166676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 296.238711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 299.310679] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 302.382711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 305.454678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 308.526716] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 311.598680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 314.670671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 317.742772] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 320.814681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 323.886678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 326.958704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 330.030697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 333.102706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 336.174813] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 339.246739] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 342.318676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 345.390711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 348.462696] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 351.534677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 354.606697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 357.678682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 360.750731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 363.822690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 366.894714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 369.966675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 373.038676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 376.110745] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 379.182731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 382.254687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 385.326723] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 388.398671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 391.470681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 394.542700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 397.614767] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 400.686676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 403.758710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 406.830679] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 409.902702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 412.974680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 416.046674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 419.118700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 422.194698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 425.262730] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 428.334693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 431.406694] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 434.478687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 437.550698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 440.622764] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 443.694677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 446.766688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 449.838711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 452.910672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 455.982809] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 459.054670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 462.126782] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 465.198672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 468.270683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 471.342697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 474.414681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 477.486732] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 480.558677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 483.630676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 486.702705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 489.774676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 492.846676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 495.918677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 498.990768] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 502.062688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 505.134673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 508.206670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 511.278845] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 514.351476] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 517.424464] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 520.494696] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 523.566674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 526.638670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 529.710690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 532.782689] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 535.854709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 538.926666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 541.998700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 545.070725] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 548.142704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 551.214716] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 554.286672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 557.358717] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 560.430670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 563.502731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 566.574685] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 569.646680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 572.718676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 575.790665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 578.862781] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 581.934668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 585.006682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 588.082753] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 591.150695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 594.222700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 597.294712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 600.366699] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 603.438683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 606.510677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 609.582742] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 612.654681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 615.726706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 618.798669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 621.870704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 624.942741] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 628.014670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 631.086682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 634.158684] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 637.230698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 640.302694] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 643.374708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 646.446672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 649.518707] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 652.590672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 655.662699] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 658.734784] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 661.806687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 664.878669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 667.950682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 671.022695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 674.094687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 677.166677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 680.238816] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 683.311686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 686.382700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 689.454676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 692.526673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 695.598701] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 698.670673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 701.742733] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 704.814675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 707.886673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 710.958683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 714.030689] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 717.102738] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 720.174714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 723.246668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 726.318700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 729.390671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 732.462705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 735.534676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 738.606702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 741.678685] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 744.750711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 747.822693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 750.894675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 753.966696] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 757.038676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 760.110731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 763.182705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 766.254668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 769.326723] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 772.398674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 775.470710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 778.542687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 781.614695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 784.686667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 787.758673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 790.832963] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 793.902771] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 796.974884] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 800.046686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 803.118669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 806.190708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 809.262693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 812.334715] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 815.406667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 818.478713] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 821.550672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 824.622691] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 827.694706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 830.766669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 833.838739] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 836.910789] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 839.982761] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 843.054709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 846.126667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 849.202686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 852.270675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 855.342816] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 858.414671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 861.486808] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 864.558677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 867.630706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 870.702692] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 873.774710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 876.846701] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 879.918668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 882.990672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 886.062739] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 889.134672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 892.206669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 895.278673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 898.350688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 901.422700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 904.494668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 907.566706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 910.638671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 913.710714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 916.782693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 919.854723] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 922.926687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 925.998675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 929.070679] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 932.142698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 935.214726] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 938.286674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 941.358713] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 944.430670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 947.502697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 950.574674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 953.646671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 956.718775] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 959.790672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 962.862704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 965.938668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 969.006678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 972.078676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 975.150674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 978.222815] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 981.294682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 984.366706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 987.438670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 990.510664] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 993.582711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 996.654668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 999.726793] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1002.798680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1005.870673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1008.942706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1012.014666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1015.086704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1018.158690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1021.230694] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1024.302706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1027.374673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1030.446670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1033.518703] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1036.590735] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1039.662735] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1042.734698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1045.806693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1048.878676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1051.950676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1055.022685] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1058.094774] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1061.166670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1064.238703] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1067.310668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1070.382911] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1073.457530] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1076.527096] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1079.598732] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1082.670762] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1085.746722] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1088.814710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1091.886672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1094.958675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1098.030674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1101.102730] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1104.174714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1107.246671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1110.318707] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1113.390670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1116.462816] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1119.534669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1122.610724] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1125.678667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1128.750687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1131.822742] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1134.894673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1137.966761] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1141.038669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1144.110721] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1147.182689] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1150.254680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1153.326671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1156.398697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1159.470878] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1162.542712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1165.614671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1168.686678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1171.758669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1174.830693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1177.902696] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1180.974707] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1184.046670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1187.118680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1190.190665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1193.262694] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1196.334693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1199.406712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1202.478691] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1205.550674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1208.622695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1211.694681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1214.766672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1217.838693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1220.910672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1223.982754] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1227.054664] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1230.126690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1230.382777] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 1230.392610] Oops [#2]
[ 1230.395139] Modules linked in: aic8800_fdrv aic8800_bsp
[ 1230.400974] CPU: 0 PID: 1846 Comm: kworker/0:3 Tainted: G D 6.6.0 #55
[ 1230.409698] Hardware name: sun251iw1 (DT)
[ 1230.414164] Workqueue: 0x0 (events_freezable_power_)
[ 1230.419801] epc : 0x0
[ 1230.422328] ra : 0x0
[ 1230.424854] epc : 0000000000000000 ra : 0000000000000000 sp : ffffffc8008c3d70
[ 1230.432896] gp : ffffffff80a25ca8 tp : ffffffd8018b1200 t0 : 00003d0900007d00
[ 1230.440940] t1 : 0000000000000007 t2 : 0000000000000002 s0 : ffffffff808b97c0
[ 1230.448981] s1 : ffffffff808b97d8 a0 : ffffffd8018b1b60 a1 : ffffffd8018b1b60
[ 1230.457023] a2 : 000000fb5809fcb2 a3 : 000000fb57d6c0a5 a4 : 000000fb57d6c0a5
[ 1230.465064] a5 : 000000fb57d6c0a5 a6 : 0000000000000c00 a7 : 0000000004000000
[ 1230.473106] s2 : ffffffff80a27090 s3 : 0000000000000000 s4 : ffffffff80a27090
[ 1230.481145] s5 : ffffffc8008c3d80 s6 : ffffffd8018b15f0 s7 : ffffffff80a27290
[ 1230.489187] s8 : ffffffd8018f5580 s9 : 0000000000000402 s10: 0000000000000000
[ 1230.497228] s11: 0000000000000000 t3 : fefefefefefefeff t4 : 8080808080808080
[ 1230.505268] t5 : 0000000000000000 t6 : ffffffc8008c3d28
[ 1230.511181] status: 0000000200000100 badaddr: 0000000000000000 cause: 000000000000000c
[ 1230.519999] Code: Unable to access instruction at 0xffffffffffffffec.
[ 1230.527173] ---[ end trace 0000000000000000 ]---
[ 1230.532313] note: kworker/0:3[1846] exited with irqs disabled
[ 1230.538777] note: kworker/0:3[1846] exited with preempt_count 2
[ 1233.198673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1236.270711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1239.345439] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1242.414712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1245.486680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1248.558676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1251.630675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1254.702673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1257.774672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1260.846702] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1263.918672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1266.990671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1270.062682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1273.134671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1276.206744] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1279.278662] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1282.350715] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1285.426662] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1288.494670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1291.566682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1294.638672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1297.710726] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1300.782695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1303.854683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1306.926683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1309.998671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1313.070672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1316.142709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1319.214699] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1322.286687] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1325.358942] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1328.430681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1331.502665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1334.574680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1337.646664] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1340.718726] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1343.791024] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1346.863985] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1349.937363] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1353.006753] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1356.078761] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1359.150670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1362.222711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1365.294672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1368.366686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1371.438669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1374.510672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1377.582695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1380.654679] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1383.726666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1386.798672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1389.870721] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1392.942665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1396.014671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1399.086709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1402.158675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1405.230681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1408.302681] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1411.374670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1414.446692] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1417.518666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1420.590706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1423.662674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1426.734670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1429.806677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1432.878703] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1435.950704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1439.022712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1442.094704] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1445.166676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1448.238680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1451.310665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1454.382671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1457.457787] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1460.526706] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1463.598663] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1466.674675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1469.742672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1472.814670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1475.886666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1478.958761] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1482.030665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1485.102669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1488.174674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1491.246720] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1494.318670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1497.390700] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1500.462714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1503.534705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1506.606674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1509.678673] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1512.750666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1515.822695] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1518.894710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1521.966698] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1525.038705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1528.114690] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1531.182669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1534.254684] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1537.326708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1540.398669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1543.470711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1546.542667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1549.614672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1552.686670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1555.758674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1558.830736] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1561.902688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1564.974674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1568.046811] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1571.118709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1574.190680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1577.262676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1580.334754] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1583.406669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1586.478665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1589.550684] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1592.622661] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1595.694697] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1598.766714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1601.838688] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1604.910672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1607.982669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1611.054670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1614.126677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1617.198694] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1620.270665] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1623.342712] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1626.414701] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1629.486795] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1632.559496] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1635.631582] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1638.702693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1641.774678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1644.846674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1647.918671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1650.990676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1654.062677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1657.136959] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1660.206699] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1663.278682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1666.350717] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1669.422668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1672.494716] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1675.566668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1678.638670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1681.710711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1684.782675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1687.858335] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1690.926674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1693.998669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1697.070714] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1700.142671] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1703.218754] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1706.286677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1709.358725] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1712.430669] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1715.502666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1718.574711] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1721.646674] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1724.718680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1727.790668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1730.862668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1733.934682] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1737.006705] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1740.078719] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1743.150660] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1746.222676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1749.294676] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1752.366668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1755.438684] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1758.510672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1761.582731] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1764.654675] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1767.726664] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1770.798678] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1773.874699] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1776.942693] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1780.014708] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1783.086709] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1786.158668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1789.230672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1792.302667] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1795.374672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1798.446760] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1801.518668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1804.590672] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1807.662668] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1810.734670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1813.806800] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1816.878677] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1819.950691] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1823.022683] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1826.094661] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1829.166689] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1832.238670] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1835.310680] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1838.382666] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1841.454686] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1844.526710] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1847.598663] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1850.670703] sunxi:hrc:[WARN]: !!!buffer queue too slow!!!
[ 1853.128337] Oops - illegal instruction [#3]
[ 1853.128366] Modules linked in: aic8800_fdrv aic8800_bsp
[ 1853.128398] CPU: 0 PID: 9041 Comm: sh Tainted: G D 6.6.0 #55
[ 1853.128416] Hardware name: sun251iw1 (DT)
[ 1853.128422] epc : filp_flush+0x5a/0x5e
[ 1853.128469] ra : filp_flush+0x5a/0x5e
[ 1853.128480] epc : ffffffff800ad344 ra : ffffffff800ad344 sp : ffffffc801d4bd60
[ 1853.128491] gp : ffffffff80a25ca8 tp : ffffffd801830000 t0 : ffffffc801d4bd10
[ 1853.128501] t1 : ffffffd807e85978 t2 : ffffffff80610358 s0 : ffffffc801d4bd90
[ 1853.128510] s1 : ffffffd801b9a300 a0 : ffffffd801b9a300 a1 : ffffffd8017a0000
[ 1853.128523] a2 : 000000000010000f a3 : 0000000000000000 a4 : 0000000000004000
[ 1853.128532] a5 : 0000000000000000 a6 : ffffffd802434300 a7 : 0000000000000000
[ 1853.128540] s2 : 0000000000000000 s3 : ffffffd8017a0000 s4 : 0000000000000003
[ 1853.128548] s5 : 0000000000000000 s6 : 0000000000000001 s7 : 0000000000000000
[ 1853.128555] s8 : 0000003fa85693c8 s9 : 0000000000000000 s10: 0000003fa856b7c8
[ 1853.128563] s11: 0000000000061254 t3 : 0000003fa8528700 t4 : 0000000000000010
[ 1853.128570] t5 : ffffffffffffff81 t6 : 0000000000000002
[ 1853.128576] status: 0000000200000120 badaddr: 00000000b7e955f3 cause: 0000000000000002
[ 1853.128586] [<ffffffff800ad344>] filp_flush+0x5a/0x5e
[ 1853.128603] [<ffffffff800ad35a>] filp_close+0x12/0x28
[ 1853.128620] [<ffffffff800c89ec>] put_files_struct+0x76/0xb0
[ 1853.128653] [<ffffffff800c8a50>] exit_files+0x2a/0x36
[ 1853.128669] [<ffffffff8000e472>] do_exit+0x27a/0x63a
[ 1853.128699] [<ffffffff8000e970>] do_group_exit+0x22/0x82
[ 1853.128715] [<ffffffff8000e9ec>] __wake_up_parent+0x0/0x20
[ 1853.128731] [<ffffffff805c4d00>] do_trap_ecall_u+0x98/0xec
[ 1853.128760] [<ffffffff800030f8>] ret_from_exception+0x0/0x64
[ 1853.128791] Code: 6711 8ff9 fff1 85ce 8526 60ef 01c3 85ce 8526 e0ef (55f3) b7e9
[ 1853.128811] ---[ end trace 0000000000000000 ]---
[ 1853.128821] Kernel panic - not syncing: Fatal exception in interrupt
[ 1853.328347] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- ${MKBOOTIMG} --kernel ${BIMAGE} \
$(check_whether_use_ramdisk && echo "--ramdisk $RAMDISK") \
--board ${CHIP}_${LICHEE_ARCH} \
--base ${BASE} \
--kernel_offset ${KERNEL_OFFSET} \
$(check_whether_use_ramdisk && echo "--ramdisk_offset ${RAMDISK_OFFSET}") \
--dtb ${DTB} \
--dtb_offset ${DTB_OFFSET} \
--header_version 2 \
-o $STAGING_DIR/${IMAGE_NAME}前面添加 :
cat /opt/H135/out/h135/kernel/build/arch/riscv/boot/Image | lzma -9 > /opt/H135/out/h135/kernel/staging/Image.lzma
# cat /opt/H135/out/h135/kernel/build/arch/riscv/boot/Image | lzma -9 > /opt/H135/out/h135/p1/openwrt/Image.lzma
# echo ----------------------------------------------
# find /opt/H135/ -name Image -type f |xargs ls -l
# echo ----------------------------------------------
# find /opt/H135/ -name Image.lzma -type f |xargs ls -l全志SDK都要用户来擦屁股.
大概这样就能单独编译打包Image.lzma:
/opt/H135
BSP_TOP=$PWD/bsp/ /opt/H135/build/bin/make-4.3 \
CROSS_COMPILE=/opt/H135/out/toolchain/Xuantie-900-gcc-linux-6.6.0-musl64-x86_64-V2.10.2-20240904/bin/riscv64-unknown-linux-musl- \
ARCH=riscv -j1 O=/opt/H135/out/h135/kernel/build \
KERNEL_SRC=/opt/H135/kernel/linux-6.6-xuantie \
INSTALL_MOD_PATH=/opt/H135/out/h135/kernel/staging modules all \
INSTALL_HDR_PATH=/opt/H135/out/h135/kernel/build/user_headers headers_install Image.lzma \
-C /opt/H135/out/h135/kernel/build -j16 V=1最后面的V=1 是显示完整的日志。
+ sh /opt/H135/kernel/linux-6.6-xuantie/scripts/mksysmap vmlinux System.map .tmp_vmlinux.kallsyms2.o
+ is_enabled CONFIG_BUILDTIME_TABLE_SORT
+ grep -q ^CONFIG_BUILDTIME_TABLE_SORT=y include/config/auto.conf
+ info SORTTAB vmlinux
+ printf %-7s %s\n SORTTAB vmlinux
SORTTAB vmlinux
+ sorttable vmlinux
+ ./scripts/sorttable vmlinux
+ is_enabled CONFIG_KALLSYMS
+ grep -q ^CONFIG_KALLSYMS=y include/config/auto.conf
+ cmp -s System.map .tmp_vmlinux.kallsyms2.syms
+ echo vmlinux: /opt/H135/kernel/linux-6.6-xuantie/scripts/link-vmlinux.sh
/opt/H135/build/bin/make-4.3 -f /opt/H135/kernel/linux-6.6-xuantie/scripts/Makefile.build obj=arch/riscv/boot arch/riscv/boot/Image.gz
/opt/H135/build/bin/make-4.3 -f /opt/H135/kernel/linux-6.6-xuantie/scripts/Makefile.build obj=arch/riscv/boot arch/riscv/boot/Image
# OBJCOPY arch/riscv/boot/Image
/opt/H135/out/toolchain/Xuantie-900-gcc-linux-6.6.0-musl64-x86_64-V2.10.2-20240904/bin/riscv64-unknown-linux-musl-objcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S vmlinux arch/riscv/boot/Image
# OBJCOPY arch/riscv/boot/Image
/opt/H135/out/toolchain/Xuantie-900-gcc-linux-6.6.0-musl64-x86_64-V2.10.2-20240904/bin/riscv64-unknown-linux-musl-objcopy -O binary -R .note -R .note.gnu.build-id -R .comment -S vmlinux arch/riscv/boot/Image
/opt/H135/build/bin/make-4.3 -f /opt/H135/kernel/linux-6.6-xuantie/scripts/Makefile.build obj=arch/riscv/boot arch/riscv/boot/Image.lzma
# GZIP arch/riscv/boot/Image.gz
cat arch/riscv/boot/Image | gzip -n -f -9 > arch/riscv/boot/Image.gz
# LZMA arch/riscv/boot/Image.lzma
cat arch/riscv/boot/Image | lzma -9 > arch/riscv/boot/Image.lzma
# LZMA arch/riscv/boot/Image.lzma
cat arch/riscv/boot/Image | lzma -9 > arch/riscv/boot/Image.lzma
make-4.3: Leaving directory '/opt/H135/out/h135/kernel/build'
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$ ubuntu@ubuntu:/opt/H135$ find . -name Image.lzma |xargs ls -l
-rw-rw-r-- 1 ubuntu ubuntu 4193759 Jun 29 18:08 ./out/h135/kernel/build/arch/riscv/boot/Image.lzma
-rw-rw-r-- 1 ubuntu ubuntu 161 Jun 29 17:59 ./out/h135/kernel/staging/Image.lzma
-rw-rw-r-- 1 ubuntu ubuntu 161 Jun 29 17:59 ./out/h135/p1/openwrt/Image.lzma
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$
ubuntu@ubuntu:/opt/H135$ 把文件 kbuild/mkkernel.sh 的这两个命令前面加 echo 把完整命令打印出来:
${MKBOOTIMG} --kernel ${BIMAGE} \
$(check_whether_use_ramdisk && echo "--ramdisk $RAMDISK") \
--board ${CHIP}_${LICHEE_ARCH} \
--base ${BASE} \
--kernel_offset ${KERNEL_OFFSET} \
$(check_whether_use_ramdisk && echo "--ramdisk_offset ${RAMDISK_OFFSET}") \
--dtb ${DTB} \
--dtb_offset ${DTB_OFFSET} \
--header_version 2 \
-o $STAGING_DIR/${IMAGE_NAME}wrapper_run_logd ${MAKE} $MAKE_ARGS/opt/H135/tools/pack/pctools/linux/android/mkbootimg --kernel /opt/H135/out/h135/kernel/staging/Image.lzma --board sun251i_riscv64 --base 0x40000000 --kernel_offset 0x0 --dtb /opt/H135/out/h135/kernel/staging/sunxi.dtb --dtb_offset 12582912 --header_version 2 -o /opt/H135/out/h135/kernel/staging/boot.img/opt/H135/kernel/linux-6.6-xuantie
wrapper_run_logd /opt/H135/build/bin/make-4.3 CROSS_COMPILE=/opt/H135/out/toolchain/Xuantie-900-gcc-linux-6.6.0-musl64-x86_64-V2.10.2-20240904/bin/riscv64-unknown-linux-musl- ARCH=riscv -j8 O=/opt/H135/out/h135/kernel/build KERNEL_SRC=/opt/H135/kernel/linux-6.6-xuantie INSTALL_MOD_PATH=/opt/H135/out/h135/kernel/staging modules all INSTALL_HDR_PATH=/opt/H135/out/h135/kernel/build/user_headers headers_install Image.lzma反复对比发现 Image.lzma 的大小不对劲
/opt/H135$ find . -name Image.lzma |xargs ls -l
-rw-rw-r-- 1 ubuntu ubuntu 161 Jun 29 17:59 ./out/h135/kernel/build/arch/riscv/boot/Image.lzma
-rw-rw-r-- 1 ubuntu ubuntu 161 Jun 29 17:59 ./out/h135/kernel/staging/Image.lzma
-rw-rw-r-- 1 ubuntu ubuntu 161 Jun 29 17:59 ./out/h135/p1/openwrt/Image.lzma发现重新 make&&pack之后,
烧进去的固件,启不动
Hit any key to stop autoboot: 0
[01.634]no vendor_boot partition is found
Android's image name: sun251i_riscv64
Detect comp lzma
ERROR: reserving fdt memory region failed (addr=478c6000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47a88000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47c4a000 size=384000)
[03.036]
Starting kernel .........
[25]HELLO! BOOT0 is starting!
[28]BOOT0 commit : {244d2f76}
[31]set pll start
[33]set pll end
[34]board init ok
[36]rtc[7] value = 0x2
[38]spinor id is: ef 40 18, read cmd: 03
[43]ZQ value = 0x808
[45]get_pmu_exist() = -1
[48]DRAM BOOT DRIVE INFO: V1.12
[51]DRAM CLK = 792 MHz
[53]DRAM Type = 3 (2:DDR2,3:DDR3)
[56]DRAMC ZQ value: 0x3b3bfb
[58]DRAM ODT value: 0x40.
[62]trefi: 7.8us
[63]DRAM SIZE = 128 M
[67]DRAM simple test OK.
[69]dram size = 128
[73]set spi freq:100000000
[76]spi sample_mode:1 sample_delay:16
[80]spinor id is: ef 40 18, read cmd: 03
[84]Succeed in reading toc file head.
[88]The size of toc is e8000.
[169]Entry_name = opensbi
[172]Entry_name = u-boot
[176]Jump to OpenSBI: opensbi_base = 0x43e00000, dtb_base = 0x43e1f000, uboot_base = 0x42000000
OpenSBI v1.4 Commit 091f4e4
U-Boot 2018.07 (Jun 07 2025 - 19:33:06 +0800) Allwinner Technology
[00.201]DRAM: 128 MiB
[00.203]Relocation Offset is: 056ed000, reloc addr is: 476ed000
[00.209]secure enable bit: 0
[00.212]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=396Mhz
SPI ALL: ready
[00.221]flash init start
[00.224]workmode = 0,storage type = 3
[00.230]spi sample_mode:1 sample_delay:16
[00.234]spi sunxi_slave->max_hz:100000000
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.245]sunxi flash init ok
[00.249][KSC_ERR]: unable to map tv display top registers
ksc_dev_init finsih
[00.257]drv_disp_init
partno erro : can't find partition bootloader
[00.271]bootloader is not found!
** Unable to read file disp_config.ini **
Node hdmi not found
Node edp0 not found
Node:edp0 not found
[00.292]de wrn crc 1c2800
[00.314]drv_disp_init finish
[00.319]start_mode: 0
[00.321]start_type: 1
[00.325]Loading Environment from SUNXI_FLASH... OK
[00.342]boot_gui_init:start
** Unable to read file disp_rsl.fex **
[00.349][KSC_ERR]: Get bw_ctrl_en property failed
[00.353]gd->relocaddr = 478c6000 7400
[00.358]property lcd_gamma_18 is not found
[00.464]LCD open finish
bad fb1_cfg[w=-1,h=-1,bpp=32,format=0]
[00.534]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.541]bmp_name=bootlogo.bmp size 38454
secure storage read hdcpkey fail
[00.554]secure storage read hdcpkey fail with:-1
[00.559]push hdcp key failed
[00.561]usb burn from boot
USB2.0 controller init !
delay time 0
[00.573]usb prepare ok
[00.782]usb sof ok
[00.784]usb probe ok
[00.785]usb setup ok
set address 0x29
set address 0x29 ok
set address 0x2a
set address 0x2a ok
try to update
[01.190]do_burn_from_boot usb : have no handshake
[01.195]begin auto update check
auto update key not press
skip update boot_param
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
[01.223]update part info
[01.225]update bootcmd
[01.232]change working_fdt 0x462acd88 to 0x4628cd88
[01.239]DRM mem is not reserved
[01.243]## error: update_fdt_dram_para_from_bootpara : FDT_ERR_NOTFOUND
partno erro : can't find partition bootloader
[01.261]bootloader is not found!
** Unable to read file disp_config.ini **
Node hdmi not found
Node edp0 not found
Node:edp0 not found
[01.285]update dts
Hit any key to stop autoboot: 0
[01.634]no vendor_boot partition is found
Android's image name: sun251i_riscv64
Detect comp lzma
ERROR: reserving fdt memory region failed (addr=478c6000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47a88000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47c4a000 size=384000)
[03.036]
Starting kernel ...
[ 0.000000] Linux version 6.6.0 (ubuntu@ubuntu) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-6.6.0 musl gcc Toolchain V2.10.2 B-20240904) 10.4.0, GNU ld (GNU Binutils) 2.35) #2 PREEMPT Sun Jun 29 13:19:22 CST 2025
[ 0.000000] Machine model: sun251iw1
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000043e00000..0x0000000043ffffff (2048 KiB) map non-reusable opensbi@43e00000
[ 0.000000] OF: reserved mem: 0x0000000044000000..0x00000000467fffff (40960 KiB) map non-reusable carveout
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000047ffffff]
[ 0.000000] Falling back to deprecated "riscv,isa"
[ 0.000000] riscv: base ISA extensions acdfimv
[ 0.000000] riscv: ELF capabilities acdfimv
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 initcall_debug=0 console=ttyAS0,115200 loglevel=8 root=/dev/mtdblock4 rootfstype=squashfs init=/init partitions=boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 cma= snum=28000c697880c8b14c1 mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 clk_ignore_unused androidboot.serialno=28000c697880c8b14c1 androidboot.hardware=sun251iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.07(06/07/2025-19:33:06) mbr_offset=1097728 disp_reserve=3686400,0x0000000047c4a000 androidboot.dramfreq=792 androidboot.dramsize=128 uboot_backup=ubootA
[ 0.000000] Unknown kernel command line parameters "partitions=boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7 cma= snum=28000c697880c8b14c1 mac_addr= wifi_mac= bt_mac= specialstr= uboot_message=2018.07(06/07/2025-19:33:06) disp_reserve=3686400,0x0000000047c4a000 uboot_backup=ubootA", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32320
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 67596K/131072K available (5912K kernel code, 1563K rwdata, 2626K rodata, 283K init, 489K bss, 63476K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@10000000: mapped 175 interrupts with 1 handlers for 2 contexts.
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008489] sunxi:hstimer:[ERR]: request bus clock failed
[ 0.013345] sunxi:hstimer:[ERR]: sun50i timer of resource get failed
[ 0.019897] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.029927] pid_max: default: 32768 minimum: 301
[ 0.034706] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.041717] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.052066] riscv: ELF compat mode unsupported
[ 0.052144] ASID allocator using 16 bits (65536 entries)
[ 0.059293] rcu: Hierarchical SRCU implementation.
[ 0.063854] rcu: Max phase no-delay instances is 1000.
[ 0.069216] EFI services will not be available.
[ 0.074208] devtmpfs: initialized
[ 0.095778] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.099999] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.106725] pinctrl core: initialized pinctrl subsystem
[ 0.113559] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.119898] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.124759] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.133296] thermal_sys: Registered thermal governor 'step_wise'
[ 0.156658] cpu0: Ratio of byte access time to unaligned word access is 4.31, unaligned accesses are fast
[ 0.166614] suspend: SBI SUSP extension detected
[ 0.179959] AW BSP version: UNKNOWN, 2025-06-29 13:18:58
[ 0.180175] sunxi:ccu-ng:[INFO]: rtc_ccu: sunxi ccu init OK
[ 0.185224] sunxi:ccu-ng:[INFO]: sunxi ccu common driver version: 1.2.4
[ 0.192608] sunxi:ccu-ng:[INFO]: cpupll_ccu: sunxi ccu init OK
[ 0.197669] sunxi:ccu-ng:[INFO]: sunxi cpupll driver version: 0.0.1
[ 0.207731] sunxi:ccu-ng:[INFO]: ccu: sunxi ccu init OK
[ 0.209094] sunxi:ccu-ng:[INFO]: sunxi ccu driver version: 0.0.11
[ 0.216240] sunxi:ccu-ng:[INFO]: r_ccu: sunxi ccu init OK
[ 0.220510] sunxi:ccu-ng:[INFO]: sunxi r_ccu driver version: 0.0.2
[ 0.247659] SCSI subsystem initialized
[ 0.247927] usbcore: registered new interface driver usbfs
[ 0.251354] usbcore: registered new interface driver hub
[ 0.256622] usbcore: registered new device driver usb
[ 0.261826] mc: Linux media interface: v0.10
[ 0.265985] videodev: Linux video capture interface: v2.00
[ 0.271956] Advanced Linux Sound Architecture Driver Initialized.
[ 0.278596] Bluetooth: Core ver 2.22
[ 0.280958] NET: Registered PF_BLUETOOTH protocol family
[ 0.286211] Bluetooth: HCI device and connection manager initialized
[ 0.292521] Bluetooth: HCI socket layer initialized
[ 0.297370] Bluetooth: L2CAP socket layer initialized
[ 0.302451] Bluetooth: SCO socket layer initialized
[ 0.315768] sun6i-dma 3002000.dma-controller: sunxi dma probed, driver version: 1.2.10
[ 0.320140] sunxi:pwm-2000c00.pwm0:[INFO]: start probe
[ 0.320774] sunxi:pwm-2000c00.pwm0:[INFO]: pwmchip probe success
[ 0.330369] clocksource: Switched to clocksource riscv_clocksource
[ 0.338555] NET: Registered PF_INET protocol family
[ 0.340473] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.349170] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.355748] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.363433] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.371060] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.378205] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.384680] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.391018] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.398157] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.406622] sunxi:pin:[INFO]: sunxi pinctrl version: 0.0.5
[ 0.410894] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.437671] sunxi:pin-2000000.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard
[ 0.440748] sunxi:pin:[INFO]: sunxi pinctrl core driver version: 1.4.8
[ 0.449268] sunxi_usb_udc 4100000.udc-controller: sunxi:sunxi_usb_udc UDC Inner DMA Feature - wordaddr: -1, extend: disabled
[ 0.459756] sunxi:pin-2000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit!
[ 0.469215] sunxi:spi-4025000.spi:[INFO]: spi manual set sample type_1, mode_1, delay_22
[ 0.477090] sunxi-spi-ng 4025000.spi: supply spi not found, using dummy regulator
[ 0.484971] sunxi:spi-4025000.spi:[INFO]: bus num_0 mode_16 freq_100000000
[ 0.491315] sunxi:spi-4025000.spi:[INFO]: cs num_2 mode_1
[ 0.497829] sunxi:spi-4025000.spi:[INFO]: probe success (Version 2.5.4)
[ 0.507711] Initialise system trusted keyrings
[ 0.508063] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[ 0.514529] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.520053] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.524302] ntfs3: Max link count 4000
[ 0.527995] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.534220] fuse: init (API version 7.39)
[ 0.624136] Key type asymmetric registered
[ 0.624190] Asymmetric key parser 'x509' registered
[ 0.627632] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.635465] io scheduler mq-deadline registered
[ 0.639414] io scheduler kyber registered
[ 0.643409] io scheduler bfq registered
[ 1.034081] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.067995] loop: module loaded
[ 1.072550] usbcore: registered new interface driver uas
[ 1.072670] usbcore: registered new interface driver usb-storage
[ 1.079937] i2c_dev: i2c /dev entries driver
[ 1.083777] IR NEC protocol handler initialized
[ 1.087500] IR RC5(x/sz) protocol handler initialized
[ 1.092569] usbcore: registered new interface driver uvcvideo
[ 1.100914] usbcore: registered new interface driver btusb
[ 1.108011] usbcore: registered new interface driver usbhid
[ 1.108727] usbhid: USB HID core driver
[ 1.115317] NET: Registered PF_PACKET protocol family
[ 1.117584] NET: Registered PF_KEY protocol family
[ 1.123482] Key type dns_resolver registered
[ 1.127270] uart uart0: supply uart not found, using dummy regulator
[ 1.133815] sunxi:uart-uart0:[ERR]: uart0 error to get fifo size property
[ 1.139886] sunxi:uart:[INFO]: sunxi uart driver version: 1.2.6
[ 1.147765] uart0: ttyAS0 at MMIO 0x2500000 (irq = 238, base_baud = 1500000) is a SUNXI
[ 1.153674] sunxi:uart-uart0:[INFO]: console setup baud 115200 parity n bits 8, flow n
[ 1.161541] printk: console [ttyAS0] enabled
[ 1.161541] printk: console [ttyAS0] enabled
[ 1.171995] printk: bootconsole [earlycon0] disabled
[ 1.171995] printk: bootconsole [earlycon0] disabled
[ 1.197633] sunxi:rtc:[INFO]: Saving SoC boot-reason: OTHERS
[ 1.204398] sunxi:rtc-7090000.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.217032] sunxi:rtc-7090000.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.228551] sunxi:rtc-7090000.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.242486] sunxi-rtc 7090000.rtc: registered as rtc0
[ 1.248433] sunxi:rtc-7090000.rtc:[WARN]: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.259848] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:11:47 UTC (707)
[ 1.268950] sunxi:rtc-7090000.rtc:[INFO]: sunxi rtc probed
[ 1.279307] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0), driver version: 1.0.6
[ 1.295669] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 1.302853] 8 sunxipart partitions found on MTD device spi0.0
[ 1.309316] Creating 8 MTD partitions on "spi0.0":
[ 1.314726] 0x000000000000-0x000000110000 : "uboot"
[ 1.325826] 0x000000110000-0x000000130000 : "boot-resource"
[ 1.336301] 0x000000130000-0x000000150000 : "env"
[ 1.347260] 0x000000150000-0x000000570000 : "boot"
[ 1.358695] 0x000000570000-0x000000e30000 : "rootfs"
[ 1.369288] 0x000000e30000-0x000000e50000 : "Reserve0"
[ 1.379883] 0x000000e50000-0x000000ec0000 : "rootfs_data"
[ 1.391304] 0x000000ec0000-0x000001000000 : "UDISK"
[ 1.405167] ksc_module_init finish
[ 1.409400] ksc 5300000.ksc: unable to map tv display top registers
[ 1.416854] ksc 5300000.ksc: Get clk1_freq property failed
[ 1.423205] ksc 5300000.ksc: Fail to get clk2
[ 1.428155] ksc 5300000.ksc: Fail to get rst2
[ 1.433050] ksc 5300000.ksc: Get clk2_freq property failed
[ 1.439222] ksc 5300000.ksc: Fail to get clk3
[ 1.444107] ksc 5300000.ksc: Fail to get rst3
[ 1.448977] ksc 5300000.ksc: Get clk3_freq property failed
[ 1.455167] ksc 5300000.ksc: ksc_dev_init finsih
[ 1.464323] sunxi:g2d_sunxi:[INFO]: [G2D]: rcq version initialized.major:243
[ 1.472320] sunxi:g2d_sunxi:[INFO]: [G2D]: g2d_module_init
[ 1.480242] deinterlace 5400000.deinterlace: sunxi:deinterlaceversion[1.0.0], ip=0x800
[ 1.492776] sunxi sbi init success
[ 1.499074] sunxi:irrx-7040000.s_ir_rx:[ERR]: sunxi_irrx_resource_get: get ir protocol failed
[ 1.500270] Registered IR keymap rc_map_sunxi
[ 1.515610] rc rc0: sunxi_ir_recv as /devices/platform/soc@3000000/7040000.s_ir_rx/rc/rc0
[ 1.525584] input: sunxi_ir_recv as /devices/platform/soc@3000000/7040000.s_ir_rx/rc/rc0/input0
[ 1.538101] sunxi:gpadc:[INFO]: sunxi_gpadc_init(): 2149: gpadc class register success
[ 1.547598] sunxi:gpadc-2009000.gpadc:[WARN]: warn: sample rate not set
[ 1.557925] input: sunxi-gpadc0/channel0/input0 as /devices/platform/soc@3000000/2009000.gpadc/input/input1
[ 1.571074] sunxi:gpadc-2009000.gpadc:[INFO]: sunxi_gpadc probe success
[ 1.581090] input: sunxi-rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input2
[ 1.594524] OF: /thermal-zones/cpu_thermal_zone/cooling-maps/map0: could not get #cooling-cells for /cpus/cpu@0
[ 1.605919] thermal_sys: Add a cooling_device property with at least one device
[ 1.614189] thermal thermal_zone0: binding zone cpu_thermal_zone with cdev pwm-fan failed:-2
[ 1.627780] sunxi:sunxi_sidget_key_map_info() +265: Failed to find "secure_status" in dts.
[ 1.638310] dvfs: V0.3, 0x0, vf0000
[ 1.647190] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.1.6
[ 1.654504] sunxi-rfkill soc@3000000:rfkill@0: pinctrl_lookup_state(default) failed! return ffffffffffffffed
[ 1.665692] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 1.673092] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 1.681211] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 1.687814] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 1.694779] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=203 assert=1
[ 1.702620] sunxi-rfkill soc@3000000:rfkill@0: get gpio wlan_hostwake failed
[ 1.710537] sunxi-rfkill soc@3000000:rfkill@0: wlan power boot-on: 1, always-on: 0
[ 1.729783] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 1.738129] [ADDR_MGT] addr_mgt_probe: module version: v1.0.12
[ 1.746135] sunxi:sunxi_sidget_soc_ver_regs() +329: Failed to find "soc_bin" in dts.
[ 1.755207] [ADDR_MGT] addr_mgt_probe: success.
[ 1.762522] sunxi_flash_app: device registered with major number 239
[ 1.771385] motor-control motor0: motor-phase-num 4
[ 1.776941] motor-control motor0: motor-step-num 8
[ 1.782346] motor-control motor0: motor-cw-table < 0x01 0x09 0x08 0x0a 0x02 0x06 0x04 0x05 >
[ 1.791794] motor-control motor0: motor-ccw-table < 0x05 0x04 0x06 0x02 0x0a 0x08 0x09 0x01 >
[ 1.802244] motor-control motor0: probe success
[ 1.808698] motor linux driver init ok (Version 1.0.1)
[ 1.816010] motor-limiter motor_limiter: probe success
[ 1.823243] motor limiter linux driver init ok (Version 1.0.1)
[ 1.939757] Loading compiled-in X.509 certificates
[ 1.984814] sunxi-twi 2502c00.twi: supply twi not found, using dummy regulator
[ 1.997306] sunxi:twi-2502c00.twi:[INFO]: v2.7.8 probe success
[ 2.005635] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.016938] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.023720] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.035029] sunxi:disp:[WARN]: [DE]: smooth display screen:0 type:1 mode:4 format:0 bits:0 cs:104 eotf:4
[ 2.046438] cfg80211: failed to load regulatory.db
[ 2.052994] sunxi:disp:[WARN]: [DE]: alloc gamma[0] mm size=0x1100
[ 2.060402] sunxi:disp:[WARN]: [DE]: alloc gamma[0] mm size=0x1100
[ 2.067447] de wrn crc 1c2800
[ 2.070850] sunxi:disp:[WARN]: [DE]: priv->reg_blk_num =10
[ 2.096652] sunxi:disp:[WARN]: [DE]: property lcd_gamma_18 is not found
[ 2.110205] sunxi:disp:[WARN]: [DE]: tcon 0
[ 2.116561] sunxi:hrc:[INFO]: hrc version: 110
[ 2.124011] sunxi:disp:[WARN]: [DE]: de_dci_enable_ahb_read=1
[ 2.130562] sunxi:hrc:[WARN]: hrc output to disp2 framework!!!
[ 2.137113] sunxi:disp:[WARN]: [DE]: de_dlc_enable_ahb_read=1
[ 2.149102] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_drv_probe: start.
[ 2.156346] ksc 5300000.ksc: ksc smooth display is turn on
[ 2.162775] sunxi:hdmirx:[INFO]: [ info] cec
[ 2.162837] sunxi:hdmirx:[INFO]: [ info] parse hdmi_num from dts
[ 2.174422] ksc 5300000.ksc: flip_h = 1, flip_v = 0
[ 2.179914] ksc 5300000.ksc: Get bw_ctrl_en property failed
[ 2.186151] sunxi:hdmirx:[WARN]: [ warn] not init hdmi notify node!
[ 2.193161] ksc 5300000.ksc: input size:[1280 x 720] bpp:8 infmt:12 pixfmt:6 wbfmt:12
[ 2.201935] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_core_init: start.
[ 2.209057] ksc 5300000.ksc: Image sharpening NORMAL 1x
[ 2.214929] sunxi:hdmirx:[INFO]: [ info] THDMIRx_DisplayModuleCtx start!!!
[ 2.222613] ksc 5300000.ksc: Alloc 1843200 Byte memory for ksc
[ 2.230434] sunxi:hdmirx:[INFO]: [ info] THDMIRx_DataPath start!!
[ 2.237744] sunxi:disp:[WARN]: [DE]: lcd 0, clk:tcon_clk(434000000),dclk(62000000) dsi_rate(62000000)
[ 2.237744]
[ 2.237764] sunxi:disp:[WARN]: [DE]: clk real:tcon_clk(432000000),dclk(61714285) dsi_rate(0)
[ 2.259297] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Event start!!!
[ 2.266103] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Port start!!
[ 2.272537] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Event start!!!
[ 2.279650] Freeing ksc_reserve_mem memory: 1800K
[ 2.285960] Freeing logo buffer memory: 3600K
[ 2.290908] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Port start!!
[ 2.297768] Freeing ksc_reserve_mem memory: 1800K
[ 2.303047] sunxi:hdmirx:[INFO]: [ info] aw_core_statemachine_thread_init: start.
[ 2.311612] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_StateMachineTask
[ 2.319026] sunxi:hdmirx:[INFO]: [ info] aw_core_hdcp_thread_init: start.
[ 2.326878] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_HdcpTask
[ 2.333823] sunxi:hdmirx:[INFO]: [ info] _aw_hdmirx_cec_init start!
[ 2.340889] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_ScanTask
[ 2.348221] sunxi:hdmirx:[INFO]: [ info] _aw_hdmirx_cec_init finish!
[ 2.356616] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_cec_probe: start!!!
[ 2.365177] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_cec_probe finish!
[ 2.373301] sunxi:hdmirx:[INFO]: [ info] hdmirx module init end.
[ 2.380223] sunxi:VE:[INFO]: 2176 sunxi_cedar_init(): sunxi cedar version 1.1
[ 2.388540] sunxi:VE:[INFO]: 2098 sunxi_cedar_probe(): probe ve
[ 2.395745] sunxi-cedar 1c0e000.ve: supply ve not found, using dummy regulator
[ 2.407223] sunxi:sound-common:[WARN]: 326 pacfg_level_trig_init(): pa-pin-msleep1-0 get failed, default 0
[ 2.423020] sunxi:sound-i2s:[WARN]: 2209 snd_sunxi_dts_params_init(): clk-en-post-delay missing
[ 2.432802] sunxi:sound-i2s:[WARN]: 2217 snd_sunxi_dts_params_init(): clk-keep missing
[ 2.444029] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default
[ 2.453595] sunxi-snd-mach soc@3000000:i2s2_mach: No 'sound-dai' property
[ 2.461906] debugfs: Directory '2034000.i2s2_plat' with parent 'sndi2s2' already present!
[ 2.474809] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default
[ 2.485459] debugfs: Directory 'soc@3000000:codec_plat' with parent 'audiocodec' already present!
[ 2.499153] input: audiocodec Headphones as /devices/platform/soc@3000000/soc@3000000:codec_mach/sound/card1/input3
[ 2.512978] sunxi:sound-mach:[WARN]: 372 asoc_simple_parse_ucfmt(): set data late to default
[ 2.523031] sunxi-snd-mach soc@3000000:owa_mach: No 'sound-dai' property
[ 2.531247] debugfs: Directory '2036000.owa_plat' with parent 'sndowa' already present!
[ 2.547069] sunxi-ehci 4200000.ehci1-controller: supply drvvbus not found, using dummy regulator
[ 2.557774] sunxi-ehci 4200000.ehci1-controller: supply hci not found, using dummy regulator
[ 2.567557] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 2.574859] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.584720] sunxi-ehci 4200000.ehci1-controller: irq 255, io mem 0x04200000
[ 2.606393] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.614493] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 2.623734] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.631818] usb usb1: Product: EHCI Host Controller
[ 2.637298] usb usb1: Manufacturer: Linux 6.6.0 ehci_hcd
[ 2.643298] usb usb1: SerialNumber: sunxi-ehci
[ 2.650214] hub 1-0:1.0: USB hub found
[ 2.654548] hub 1-0:1.0: 1 port detected
[ 2.664387] sunxi-ohci 4200400.ohci1-controller: supply drvvbus not found, using dummy regulator
[ 2.675081] sunxi-ohci 4200400.ohci1-controller: supply hci not found, using dummy regulator
[ 2.685858] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.693196] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.702888] [sound] jack report -> OUT
[ 2.707359] sunxi-ohci 4200400.ohci1-controller: irq 257, io mem 0x04200400
[ 2.778659] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[ 2.787938] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.796079] usb usb2: Product: OHCI Host Controller
[ 2.801542] usb usb2: Manufacturer: Linux 6.6.0 ohci_hcd
[ 2.807504] usb usb2: SerialNumber: sunxi-ohci
[ 2.814608] hub 2-0:1.0: USB hub found
[ 2.818922] hub 2-0:1.0: 1 port detected
[ 2.828749] clk: Not disabling unused clocks
[ 2.833780] ALSA device list:
[ 2.837268] #0: sndi2s2
[ 2.840245] #1: audiocodec
[ 2.843540] #2: sndowa
[ 2.853770] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 2.868013] devtmpfs: mounted
[ 2.871641] Freeing unused kernel image (initmem) memory: 276K
[ 2.878227] Kernel memory protection not selected by kernel config.
[ 2.885294] Run /init as init process
[ 2.889426] with arguments:
[ 2.892746] /init
[ 2.895323] with environment:
[ 2.898856] HOME=/
[ 2.901483] TERM=linux
[ 2.904507] partitions=boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7
[ 2.919868] cma=
[ 2.922301] snum=28000c697880c8b14c1
[ 2.926682] mac_addr=
[ 2.929618] wifi_mac=
[ 2.932568] bt_mac=
[ 2.935304] specialstr=
[ 2.938448] uboot_message=2018.07(06/07/2025-19:33:06)
[ 2.944634] disp_reserve=3686400,0x0000000047c4a000
[ 2.950472] uboot_backup=ubootA
mount: mounting none on /dev failed: Resource busy
boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7
[ 3.846792] overlayfs: upper fs does not support tmpfile.
[ 3.855174] overlayfs: upper fs does not support RENAME_WHITEOUT.
[ 3.862871] overlayfs: failed to set xattr on upper
[ 3.869026] overlayfs: ...falling back to redirect_dir=nofollow.
[ 3.876041] overlayfs: ...falling back to uuid=null.
starting pid 1159, tty '': '/etc/preinit'
can't run '/etc/preinit': No such file or directory
starting pid 1160, tty '': '/bin/mount -t proc proc /proc'
starting pid 1161, tty '': '/bin/mount -t tmpfs tmpfs /run'
mount: mounting tmpfs on /run failed: No such file or directory
starting pid 1163, tty '': '/bin/mount -o remount,rw /'
starting pid 1164, tty '': '/bin/mkdir -p /dev/pts'
starting pid 1165, tty '': '/bin/mkdir -p /dev/shm'
starting pid 1166, tty '': '/bin/mount -a'
starting pid 1167, tty '': '/bin/hostname -F /etc/hostname'
starting pid 1168, tty '': '/etc/init.d/rcS boot'
------run rc.preboot file-----
------run rc.modules file-----
Skipping module loading
------run rc.final file-----
/etc/init.d/rcS: /etc/init.d/rc.final: line 21: /etc/init.d/S41netparam: Permission denied
[ 4.950508] file system registered
[ 5.213646] read descriptors
[ 5.222616] read strings
[ 5.366454] random: crng init done
amixer: Cannot find the given element from control default
[ 5.594650] sunxi-ehci 4101000.ehci0-controller: supply hci not found, using dummy regulator
[ 5.619750] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller
[ 5.630933] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3
[ 5.643790] sunxi-ehci 4101000.ehci0-controller: irq 254, io mem 0x04101000
[ 5.666416] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00
[ 5.676585] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[ 5.686153] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.702410] usb usb3: Product: EHCI Host Controller
[ 5.714416] usb usb3: Manufacturer: Linux 6.6.0 ehci_hcd
[ 5.726452] usb usb3: SerialNumber: sunxi-ehci
[ 5.743064] hub 3-0:1.0: USB hub found
[ 5.755673] hub 3-0:1.0: 1 port detected
dbus[1222]: Unknown group "lp" in message bus configuration file
[ 5.779346] sunxi-ohci 4101400.ohci0-controller: supply hci not found, using dummy regulator
[ 5.797253] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller
[ 5.804767] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4
[ 5.814626] debugfs: Directory 'sunxi-ohci' with parent 'ohci' already present!
[ 5.822927] sunxi-ohci 4101400.ohci0-controller: irq 256, io mem 0x04101400
[ 5.894739] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[ 5.904028] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.912120] usb usb4: Product: OHCI Host Controller
[ 5.917591] usb usb4: Manufacturer: Linux 6.6.0 ohci_hcd
[ 5.923560] usb usb4: SerialNumber: sunxi-ohci
[ 5.937901] hub 4-0:1.0: USB hub found
[ 5.942654] hub 4-0:1.0: 1 port detected
host_chose finished, otg disabled!
/etc/init.d/rcS: /etc/init.d/rc.final: line 29: nice: not found
starting pid 1248, tty '/dev/console': '-/bin/sh'
BusyBox v1.33.2 (2025-05-19 12:29:43 UTC) built-in shell (ash)
[ 6.338171] sunxi:sunxi_sidget_soc_ver_regs() +329: Failed to find "soc_id" in dts.
[1970-01-01 00:11:52] <I> get_hardware_id: ic hardware: 781
[1970-01-01 00:11:52] <I> pqdata_init: PQ config data init: code[1921] version[211]
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (5.0, unknown)
----------------------------------------------
nodev debugfs
root@TinaLinux:/# cs mode : server
param adj switch : on
[1970-01-01 00:11:53.189] PID: 1245 TID: 1245 <D> : [amix_mod_init 94]
[1970-01-01 00:11:53.189] PID: 1245 TID: 1245 <D> : [amix_mod_server_init 415]
amix server created, ctrl c if you want to exit.
version:2b738fc1ab88df4cd58b3325fbcc34cc074ea40e
[1970-01-01 00:11:53.195] PID: 1245 TID: 1259 <D> : [amix_cs_recv_work 36]
[1970-01-01 00:11:53.195] PID: 1245 TID: 1259 <D> : [amix_cs_recv_work 45]
[1970-01-01 00:11:53.195] PID: 1245 TID: 1259 <D> : [amix_mod_server_recv 452]
platform: name [F123], board [all]
hwsfx : base [0xf0], size [0x2bc]
dump : dirpath [(null)]
play_device[0]: type[OUT_SPK], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["ROUTE"SubId(0)Setup(0)"VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)"RTC_AGC"SubId(0)Setup(0)"HW_DRC"SubId(0)Setup(0)]
play_device[1]: type[OUT_HEADSET], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["ROUTE"SubId(0)Setup(0)"VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)"RTC_AGC"SubId(0)Setup(0)"HW_DRC"SubId(0)Setup(0)]
play_device[2]: type[OUT_A2DP], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
play_device[3]: type[OUT_OWA], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
play_device[4]: type[OUT_HDMI_ARC], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 1
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_SPK
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 2
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_HEADSET
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 3
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_A2DP
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 4
[1970-01-01 00:11:53.332] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_OWA
[1970-01-01 00:11:53.333] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:11:53.333] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:11:53.333] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 5
[1970-01-01 00:11:53.333] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_HDMI_ARC
cedarSE param adjust server created.
[ 8.246438] sunxi:pin-2000000.pinctrl:[INFO]: Auto power withstand voltage configuration detected, automatically exit!
[1970-01-01 00:11:56] WARNING: awplayer <cdx_log_set_level:30>: Set log level to 3
[1970-01-01 00:11:56] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry adecoder-14 fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_amrdec.so' fail: Error loading shared library libaw_amrdec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.amr fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_oggdec.so' fail: Error loading shared library libaw_oggdec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.ogg fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_atrcdec.so' fail: Error loading shared library libaw_atrcdec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.atrc fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_radec.so' fail: Error loading shared library libaw_radec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.ra fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_siprdec.so' fail: Error loading shared library libaw_siprdec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.sipr fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_dsddec.so' fail: Error loading shared library libaw_dsddec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.dsd fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_g729dec.so' fail: Error loading shared library libaw_g729dec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.g729 fail!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_opusdec.so' fail: Error loading shared library libaw_opusdec.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.opus fail!
[1970-01-01 00:11:56] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry vdecoder-9 fail!
INFO : cedarc <CedarPluginVDInit:80>: register h264 decoder success!
INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
[1970-01-01 00:11:56] WARNING: awplayer <DlOpenPlugin:112>: Invalid plugin,function CedarPluginVDInit not found.
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawmpeg4dx.so' fail: Error loading shared library libawmpeg4dx.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load vdecoder id vdecoder.mpeg4dx fail!
INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
[1970-01-01 00:11:56] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawwmv3.so' fail: Error loading shared library libawwmv3.so: No such file or directory
[1970-01-01 00:11:56] ERROR : awplayer <CdxPluginLoadList:235>: load vdecoder id vdecoder.wmv3 fail!
INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
[1970-01-01 00:11:56] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry plugin-0 fail!
[1970-01-01 00:11:56] DEBUG : awplayer <AwStreamInit:111>: aw stream init...
[1970-01-01 00:11:56] WARNING: awplayer <AwStreamInit:143>: disable special stream
wh=1280x720, vwh=1280x1440, bpp=32, rotated=0
Turn on double buffering.
[1970-01-01 00:11:57.237] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 00:11:57.237] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 00:11:57.300] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:52>: startMonitoring begin
[1970-01-01 00:11:57.301] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:65>: Monitoring: /dev/input/event3
[1970-01-01 00:11:57.301] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:68>: startMonitoring end
[1970-01-01 00:11:57.301] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 00:11:57.301] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_set_master_volume:201>: current_device_type 2
[1970-01-01 00:11:57.301] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <setVolume:201>: vol = 30
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> VOLUME
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_volume_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(VOLUME-0), file(/etc/tmp/audio_sw_volume_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[1970-01-01 00:11:57.460] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <setVolume:201>: vol = 30
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> VOLUME
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_volume_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(VOLUME-0), file(/etc/tmp/audio_sw_volume_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
getmonth 6
[ 11.689556] aicbsp_init
[ 11.697495] aicbsp_init, Driver Release Tag: aic-bsp-compatible(usb)-20240919-001
[ 11.717855] -->aicbt_rfkill_init
[ 11.735890] <--aicbt_rfkill_init
[ 11.827881] aicbsp: aicbsp_platform_power_on
[ 11.839404] usbcore: registered new interface driver aic8800_bsp
set auto sleep >> 2
[ 12.247175] >>> rwnx_mod_init()
[ 12.254455] rwnx 20240919-004-6.4.3.0 - - 241c091M (master)
[ 12.270415] Driver Release Tag: aic-rwnx-compatible(usb)-20240919-004
[ 12.282414] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
dlopen activate lib /usr/lib/lib[ 12.299669] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
thirdparty_mirror.so, error: Error loading shared library /usr/lib/libthirdparty_mirror.so: No such file or directory
[ 12.408476] aicbsp: aicbsp_platform_power_on
[ 12.428712] usbcore: registered new interface driver aic8800_fdrv
[ 12.465114] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 3 soc_port_id 0
[ 12.474743] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: Change Port(1) Map, from 1 to 0
[ 12.484269] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 4 soc_port_id 1
[ 12.493542] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: Change Port(2) Map, from 0 to 1
[ 12.503039] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 5 soc_port_id 2
[1970-01-01 00:11:58.752]<I> HRC-HAL : init: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[1970-01-01 00:11:58.752]<I> HRC-HAL : init: videoPath: /dev/video0
[1970-01-01 00:11:58.752]<I> HRC-HAL : init: format : NV12
[1970-01-01 00:11:58.752]<I> HRC-HAL : init: debug : false
[1970-01-01 00:11:58.752]<I> HRC-HAL : init: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[1970-01-01 00:11:58.752]<I> HRC-DEV : init: name: sunxi-hrc fd = 11
[1970-01-01 00:11:58.752]<I> HRC-VIDEO : init: path: /dev/video0 fd: 12
[1970-01-01 00:11:58.753]<I> HRC-HAL : init: port 0: 1
[1970-01-01 00:11:58.753]<I> HRC-VIDEO : hdmiVideoThreadLoop: start
[1970-01-01 00:11:58.753]<I> HRC-HAL : init: port 1: 0
[1970-01-01 00:11:58.753]<I> HRC-HAL : init: port 2: 0
[1970-01-01 00:11:58.753]<I> HRC-HAL : init: port 3: 0
[1970-01-01 00:11:58.753]<I> HRC-HAL : hdmiSubdevThreadLoop: start
[ 13.342417] sunxi:hrc:[INFO]: source plug stats is 1 id = 1
[1970-01-01 00:11:59.589]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:11:59.589]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x2
[1970-01-01 00:11:59.589]<I> HRC-HAL : getSignalDump: >>>> signal_id: NoSignal <<<<
[1970-01-01 00:11:59.589]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:11:59.589]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: hpd in!!!
[1970-01-01 00:11:59.589]<I> HRC-HAL : hdmiRxhandleEvent: end
[ 13.874519] cec-aw_hdmirx: polling for LA 0 failed with tx_status=0x0030
[ 14.242494] cec-aw_hdmirx: polling for LA 14 failed with tx_status=0x0030
[1970-01-01 00:12:00.491]<I> HDMIRX-API: hdmirx_app_cec_set_status: set cec status: enable
[1970-01-01 00:12:00.491]<I> HDMIRX-API: hdmirx_app_select_source: hdmirx_app_select_source 402 source_id 1
[1970-01-01 00:12:00.491]<I> HDMIRX-API: hdmirx_app_select_source: hrcClosePicture
[1970-01-01 00:12:00.492]<I> HDMIRX-HAL: threadLoop: HDMI-CEC EventThread start
Modules loaded successfully.
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#......
[25]HELLO! BOOT0 is starting!
[28]BOOT0 commit : {244d2f76}
[31]set pll start
[33]set pll end
[34]board init ok
[36]rtc[7] value = 0x1
[38]spinor id is: ef 40 18, read cmd: 03
[43]ZQ value = 0x808
[45]get_pmu_exist() = -1
[48]DRAM BOOT DRIVE INFO: V1.12
[51]DRAM CLK = 792 MHz
[53]DRAM Type = 3 (2:DDR2,3:DDR3)
[56]DRAMC ZQ value: 0x3b3bfb
[58]DRAM ODT value: 0x40.
[62]trefi: 7.8us
[63]DRAM SIZE = 128 M
[67]DRAM simple test OK.
[69]dram size = 128
[73]set spi freq:100000000
[76]spi sample_mode:1 sample_delay:16
[80]spinor id is: ef 40 18, read cmd: 03
[84]Succeed in reading toc file head.
[88]The size of toc is e8000.
[169]Entry_name = opensbi
[172]Entry_name = u-boot
[176]Jump to OpenSBI: opensbi_base = 0x43e00000, dtb_base = 0x43e1f000, uboot_base = 0x42000000
OpenSBI v1.4 Commit 091f4e4
U-Boot 2018.07 (Jun 07 2025 - 19:33:06 +0800) Allwinner Technology
[00.201]DRAM: 128 MiB
[00.203]Relocation Offset is: 056ed000, reloc addr is: 476ed000
[00.209]secure enable bit: 0
[00.212]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=396Mhz
SPI ALL: ready
[00.221]flash init start
[00.224]workmode = 0,storage type = 3
[00.230]spi sample_mode:1 sample_delay:16
[00.234]spi sunxi_slave->max_hz:100000000
SF: Detected w25q128( ) with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.245]sunxi flash init ok
[00.249][KSC_ERR]: unable to map tv display top registers
ksc_dev_init finsih
[00.256]drv_disp_init
partno erro : can't find partition bootloader
[00.271]bootloader is not found!
** Unable to read file disp_config.ini **
Node hdmi not found
Node edp0 not found
Node:edp0 not found
[00.292]de wrn crc 1c2800
[00.314]drv_disp_init finish
[00.318]start_mode: 0
[00.321]start_type: 1
[00.324]Loading Environment from SUNXI_FLASH... OK
[00.341]boot_gui_init:start
** Unable to read file disp_rsl.fex **
[00.348][KSC_ERR]: Get bw_ctrl_en property failed
[00.353]gd->relocaddr = 478c6000 7400
[00.357]property lcd_gamma_18 is not found
[00.463]LCD open finish
bad fb1_cfg[w=-1,h=-1,bpp=32,format=0]
[00.534]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.541]bmp_name=bootlogo.bmp size 38454
secure storage read hdcpkey fail
[00.554]secure storage read hdcpkey fail with:-1
[00.558]push hdcp key failed
[00.561]usb burn from boot
USB2.0 controller init !
delay time 0
[00.573]usb prepare ok
[00.781]usb sof ok
[00.783]usb probe ok
[00.784]usb setup ok
set address 0x5
set address 0x5 ok
set address 0x16
set address 0x16 ok
try to update
[01.189]do_burn_from_boot usb : have no handshake
[01.194]begin auto update check
auto update key not press
skip update boot_param
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
partno erro : can't find partition private
[01.222]update part info
[01.224]update bootcmd
[01.231]change working_fdt 0x462acd88 to 0x4628cd88
[01.238]DRM mem is not reserved
[01.242]## error: update_fdt_dram_para_from_bootpara : FDT_ERR_NOTFOUND
partno erro : can't find partition bootloader
[01.260]bootloader is not found!
** Unable to read file disp_config.ini **
Node hdmi not found
Node edp0 not found
Node:edp0 not found
[01.284]update dts
Hit any key to stop autoboot: 0
[01.633]no vendor_boot partition is found
Android's image name: sun251i_riscv64
Detect comp lzma
ERROR: reserving fdt memory region failed (addr=478c6000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47a88000 size=1c2000)
ERROR: reserving fdt memory region failed (addr=47c4a000 size=384000)
[03.035]
Starting kernel ...
[ 0.000000] Linux version 6.6.0 (ubuntu@ubuntu) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-6.6.0 musl gcc Toolchain V2.10.2 B-20240904) 10.4.0, GNU ld (GNU Binutils) 2.35) #1 PREEMPT Sat Jun 7 19:38:51 CST 2025
[ 0.000000] Machine model: sun251iw1
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.061316] AW BSP version: UNKNOWN, 2025-06-07 19:33:27
mount: mounting none on /dev failed: Resource busy
boot-resource@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:Reserve0@mtdblock5:rootfs_data@mtdblock6:UDISK@mtdblock7
starting pid 1159, tty '': '/etc/preinit'
can't run '/etc/preinit': No such file or directory
starting pid 1160, tty '': '/bin/mount -t proc proc /proc'
starting pid 1161, tty '': '/bin/mount -t tmpfs tmpfs /run'
mount: mounting tmpfs on /run failed: No such file or directory
starting pid 1163, tty '': '/bin/mount -o remount,rw /'
starting pid 1164, tty '': '/bin/mkdir -p /dev/pts'
starting pid 1165, tty '': '/bin/mkdir -p /dev/shm'
starting pid 1166, tty '': '/bin/mount -a'
starting pid 1167, tty '': '/bin/hostname -F /etc/hostname'
starting pid 1168, tty '': '/etc/init.d/rcS boot'
------run rc.preboot file-----
------run rc.modules file-----
Skipping module loading
------run rc.final file-----
/etc/init.d/rcS: /etc/init.d/rc.final: line 21: /etc/init.d/S41netparam: Permission denied
amixer: Cannot find the given element from control default
host_chose finished, otg disabled!
/etc/init.d/rcS: /etc/init.d/rc.final: line 29: nice: not found
dbus[1223]: Unknown group "lp" in message bus configuration file
starting pid 1248, tty '/dev/console': '-/bin/sh'
BusyBox v1.33.2 (2025-05-19 12:29:43 UTC) built-in shell (ash)
[1970-01-01 00:16:02] <I> get_hardware_id: ic hardware: 781
[1970-01-01 00:16:02] <I> pqdata_init: PQ config data init: code[1921] version[211]
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (5.0, unknown)
----------------------------------------------
nodev debugfs
root@TinaLinux:/# cs mode : server
param adj switch : on
[1970-01-01 00:16:02.669] PID: 1245 TID: 1245 <D> : [amix_mod_init 94]
[1970-01-01 00:16:02.670] PID: 1245 TID: 1245 <D> : [amix_mod_server_init 415]
amix server created, ctrl c if you want to exit.
version:2b738fc1ab88df4cd58b3325fbcc34cc074ea40e
[1970-01-01 00:16:02.676] PID: 1245 TID: 1260 <D> : [amix_cs_recv_work 36]
[1970-01-01 00:16:02.676] PID: 1245 TID: 1260 <D> : [amix_cs_recv_work 45]
[1970-01-01 00:16:02.676] PID: 1245 TID: 1260 <D> : [amix_mod_server_recv 452]
platform: name [F123], board [all]
hwsfx : base [0xf0], size [0x2bc]
dump : dirpath [(null)]
play_device[0]: type[OUT_SPK], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["ROUTE"SubId(0)Setup(0)"VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)"RTC_AGC"SubId(0)Setup(0)"HW_DRC"SubId(0)Setup(0)]
play_device[1]: type[OUT_HEADSET], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["ROUTE"SubId(0)Setup(0)"VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)"RTC_AGC"SubId(0)Setup(0)"HW_DRC"SubId(0)Setup(0)]
play_device[2]: type[OUT_A2DP], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
play_device[3]: type[OUT_OWA], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
play_device[4]: type[OUT_HDMI_ARC], start_fade[0], setup_gap_time[100] setup_fade_time[100], dump_time[0], effect["VOLUME"SubId(0)Setup(0)"EQ"SubId(0)Setup(0)]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 1
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_SPK
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 2
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_HEADSET
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 3
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_A2DP
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 4
[1970-01-01 00:16:02.813] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_OWA
[1970-01-01 00:16:02.814] PID: 1245 TID: 1245 <D> : [amix_mod_dev_register 146]
[1970-01-01 00:16:02.814] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 59]
[1970-01-01 00:16:02.814] PID: 1245 TID: 1245 <D> : [sfx_cs_get_mix_uid 66] mix_id 5
[1970-01-01 00:16:02.814] PID: 1245 TID: 1245 <D> : [init_amix_stream 256] amix_dev_register succeed with OUT_HDMI_ARC
cedarSE param adjust server created.
[1970-01-01 00:16:05] WARNING: awplayer <cdx_log_set_level:30>: Set log level to 3
[1970-01-01 00:16:05] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry adecoder-14 fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_amrdec.so' fail: Error loading shared library libaw_amrdec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.amr fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_oggdec.so' fail: Error loading shared library libaw_oggdec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.ogg fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_atrcdec.so' fail: Error loading shared library libaw_atrcdec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.atrc fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_radec.so' fail: Error loading shared library libaw_radec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.ra fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_siprdec.so' fail: Error loading shared library libaw_siprdec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.sipr fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_dsddec.so' fail: Error loading shared library libaw_dsddec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.dsd fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_g729dec.so' fail: Error loading shared library libaw_g729dec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.g729 fail!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libaw_opusdec.so' fail: Error loading shared library libaw_opusdec.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load adecoder id adecoder.opus fail!
[1970-01-01 00:16:06] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry vdecoder-9 fail!
INFO : cedarc <CedarPluginVDInit:80>: register h264 decoder success!
INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
[1970-01-01 00:16:06] WARNING: awplayer <DlOpenPlugin:112>: Invalid plugin,function CedarPluginVDInit not found.
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawmpeg4dx.so' fail: Error loading shared library libawmpeg4dx.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load vdecoder id vdecoder.mpeg4dx fail!
INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
[1970-01-01 00:16:06] ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawwmv3.so' fail: Error loading shared library libawwmv3.so: No such file or directory
[1970-01-01 00:16:06] ERROR : awplayer <CdxPluginLoadList:235>: load vdecoder id vdecoder.wmv3 fail!
INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
[1970-01-01 00:16:06] ERROR : awplayer <ReadPluginEntry:198>: read plugin entry plugin-0 fail!
[1970-01-01 00:16:06] DEBUG : awplayer <AwStreamInit:111>: aw stream init...
[1970-01-01 00:16:06] WARNING: awplayer <AwStreamInit:143>: disable special stream
wh=1280x720, vwh=1280x1440, bpp=32, rotated=0
Turn on double buffering.
[1970-01-01 00:16:06.709] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_open:17>: begin
[1970-01-01 00:16:06.709] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <initialize:109>: Audio HAL Version: 1.5.1
[1970-01-01 00:16:06.772] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:52>: startMonitoring begin
[1970-01-01 00:16:06.773] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:65>: Monitoring: /dev/input/event3
[1970-01-01 00:16:06.773] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <startMonitoring:68>: startMonitoring end
[1970-01-01 00:16:06.774] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_open:28>: end
[1970-01-01 00:16:06.774] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <adev_set_master_volume:201>: current_device_type 2
[1970-01-01 00:16:06.774] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <setVolume:201>: vol = 30
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> VOLUME
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_volume_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(VOLUME-0), file(/etc/tmp/audio_sw_volume_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[1970-01-01 00:16:06.935] PID: 1243 TID: 1243 <I> AUDIO_ROUTE: <setVolume:201>: vol = 30
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> VOLUME
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_volume_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(VOLUME-0), file(/etc/tmp/audio_sw_volume_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
[-INF][parm_adjust_send 54] dev type -> OUT_SPK
[-INF][parm_adjust_send 55] ap -> EQ
[-INF][parm_adjust_send 56] ap sub id ->
[-INF][parm_adjust_send 57] parm file -> /etc/tmp/audio_sw_eq_param.xml
[-INF][parm_server_update 348] parser file: devname(OUT_SPK) ap(EQ-0), file(/etc/tmp/audio_sw_eq_param.xml)
[-INF][parm_adjust_send 63] sfx parm adjust send success
getmonth 6
set auto sleep >> 2
dlopen activate lib /usr/lib/libthirdparty_mirror.so, error: Error loading shared library /usr/lib/libthirdparty_mirror.so: No such file or directory
[1970-01-01 00:16:08.118]<I> HRC-HAL : init: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[1970-01-01 00:16:08.118]<I> HRC-HAL : init: videoPath: /dev/video0
[1970-01-01 00:16:08.118]<I> HRC-HAL : init: format : NV12
[1970-01-01 00:16:08.118]<I> HRC-HAL : init: debug : false
[1970-01-01 00:16:08.118]<I> HRC-HAL : init: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[1970-01-01 00:16:08.118]<I> HRC-DEV : init: name: sunxi-hrc fd = 11
[1970-01-01 00:16:08.118]<I> HRC-VIDEO : init: path: /dev/video0 fd: 12
[1970-01-01 00:16:08.119]<I> HRC-HAL : init: port 0: 1
[1970-01-01 00:16:08.119]<I> HRC-HAL : init: port 1: 0
[1970-01-01 00:16:08.119]<I> HRC-HAL : init: port 2: 0
[1970-01-01 00:16:08.119]<I> HRC-HAL : init: port 3: 0
[1970-01-01 00:16:08.119]<I> HRC-VIDEO : hdmiVideoThreadLoop: start
[1970-01-01 00:16:08.119]<I> HRC-HAL : hdmiSubdevThreadLoop: start
[1970-01-01 00:16:08.987]<I> HRC-HAL : hdmiRxhandleEvent: start
[1970-01-01 00:16:08.987]<I> HRC-HAL : hdmiRxhandleEvent: change: 0x2
[1970-01-01 00:16:08.988]<I> HRC-HAL : getSignalDump: >>>> signal_id: NoSignal <<<<
[1970-01-01 00:16:08.988]<I> HRC-HAL : getSignalDump: >>>> frame_rate: 0 <<<<
[1970-01-01 00:16:08.988]<I> HRC-HAL : hdmiRxhandleEvent: id: 0 Event: hpd in!!!
[1970-01-01 00:16:08.988]<I> HRC-HAL : hdmiRxhandleEvent: end
[1970-01-01 00:16:09.840]<I> HDMIRX-API: hdmirx_app_cec_set_status: set cec status: enable
[1970-01-01 00:16:09.840]<I> HDMIRX-HAL: threadLoop: HDMI-CEC EventThread start
[1970-01-01 00:16:09.840]<I> HDMIRX-API: hdmirx_app_select_source: hdmirx_app_select_source 402 source_id 1
[1970-01-01 00:16:09.840]<I> HDMIRX-API: hdmirx_app_select_source: hrcClosePicture
Modules loaded successfully.
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# dmesg |grep hdmi
[ 1.001574] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_drv_probe: start.
[ 1.001888] sunxi:hdmirx:[INFO]: [ info] cec
[ 1.001951] sunxi:hdmirx:[INFO]: [ info] parse hdmi_num from dts
[ 1.001967] sunxi:hdmirx:[WARN]: [ warn] not init hdmi notify node!
[ 1.001999] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_core_init: start.
[ 1.002038] sunxi:hdmirx:[INFO]: [ info] THDMIRx_DisplayModuleCtx start!!!
[ 1.002083] sunxi:hdmirx:[INFO]: [ info] THDMIRx_DataPath start!!
[ 1.002143] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Event start!!!
[ 1.002332] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Port start!!
[ 1.002349] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Event start!!!
[ 1.002366] sunxi:hdmirx:[INFO]: [ info] THDMIRx_Port start!!
[ 1.002377] sunxi:hdmirx:[INFO]: [ info] aw_core_statemachine_thread_init: start.
[ 1.002548] sunxi:hdmirx:[INFO]: [ info] aw_core_hdcp_thread_init: start.
[ 1.002583] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_StateMachineTask
[ 1.002710] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_HdcpTask
[ 1.003017] sunxi:hdmirx:[INFO]: [ info] _aw_hdmirx_cec_init start!
[ 1.003267] sunxi:hdmirx:[INFO]: [ info] _aw_hdmirx_cec_init finish!
[ 1.003649] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_cec_probe: start!!!
[ 1.003708] sunxi:hdmirx:[INFO]: [ info] throop HDMIRx_ScanTask
[ 1.006044] sunxi:hdmirx:[INFO]: [ info] aw_hdmirx_cec_probe finish!
[ 1.007023] sunxi:hdmirx:[INFO]: [ info] hdmirx module init end.
[ 10.300241] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 3 soc_port_id 0
[ 10.300270] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: Change Port(1) Map, from 1 to 0
[ 10.300288] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 4 soc_port_id 1
[ 10.300301] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: Change Port(2) Map, from 0 to 1
[ 10.300318] sunxi:hdmirx:[INFO]: [ info] aw_core_SetPortMap: source_id 5 soc_port_id 2
[ 11.661920] cec-aw_hdmirx: polling for LA 0 failed with tx_status=0x0030
[ 12.021805] cec-aw_hdmirx: polling for LA 14 failed with tx_status=0x0030
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ls /dev/video0
/dev/video0
root@TinaLinux:/# ls /dev/video0 -l
crw-rw---- 1 root root 81, 0 Jan 1 00:15 /dev/video0
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ps
PID USER VSZ STAT COMMAND
1 root 1140 S /sbin/init
2 root 0 SW [kthreadd]
3 root 0 SW [pool_workqueue_]
4 root 0 IW< [kworker/R-rcu_g]
5 root 0 IW< [kworker/R-rcu_p]
6 root 0 IW< [kworker/R-slub_]
7 root 0 IW< [kworker/R-netns]
8 root 0 IW [kworker/0:0-pm]
9 root 0 IW< [kworker/0:0H-ev]
10 root 0 IW [kworker/0:1-eve]
11 root 0 IW [kworker/u2:0-ev]
12 root 0 IW< [kworker/R-mm_pe]
13 root 0 SW [ksoftirqd/0]
14 root 0 RW [rcu_preempt]
15 root 0 SW [kdevtmpfs]
16 root 0 IW< [kworker/R-inet_]
17 root 0 IW [kworker/u2:1-ev]
18 root 0 SW [oom_reaper]
19 root 0 IW< [kworker/R-write]
20 root 0 SW [kcompactd0]
21 root 0 IW< [kworker/R-kbloc]
22 root 0 SW [watchdogd]
23 root 0 IW< [kworker/0:1H-kb]
24 root 0 IW< [kworker/R-cfg80]
25 root 0 SW [spi0]
31 root 0 SW [kswapd0]
60 root 0 IW [kworker/u2:2-ev]
602 root 0 IW< [kworker/R-uas]
720 root 0 SW [rc0]
759 root 0 IW< [kworker/R-motor]
789 root 0 IW [kworker/u2:3-ev]
808 root 0 IW [kworker/u2:4-ev]
821 root 0 IW [kworker/u2:5-ev]
1027 root 0 SW [irq/246-2502c00]
1038 root 0 IW< [kworker/R-car-r]
1041 root 0 IW [kworker/0:2-pm]
1046 root 0 IW< [kworker/R-hrc_b]
1053 root 0 DW [hdmirx statemac]
1054 root 0 DW [hdmirx hdcp]
1055 root 0 DW [hdmirx scan]
1059 root 0 SW [cec-aw_hdmirx]
1061 root 0 SW [irq/251-hdmirx-]
1112 root 0 SW [usb-hardware-sc]
1145 root 0 SWN [jffs2_gcd_mtd6]
1174 root 0 IW< [kworker/0:2H-kb]
1180 root 0 SWN [jffs2_gcd_mtd7]
1198 root 1312 S /bin/adbd -D
1240 root 1288 S /usr/bin/dbus-daemon --system
1243 root 29328 S lv_projector
1244 root 1152 S /bin/sh /usr/bin/lv_daemon.sh
1245 root 1532 S amix_server -CS 1 -ADJ 1 -p 1024 -n 4
1246 root 1152 S /bin/sh /usr/bin/amix_server_daemon.sh
1248 root 1152 S -/bin/sh
1458 root 1140 S sleep 3s
1469 root 1140 S sleep 3s
1470 root 1148 R ps
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# find / -name usb_device |xargs cat
device_chose finished, otg disabled!
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#不修改SDK任何地方,直接编译打包固件,串口是TF卡那组UART0(PF2/PF4),启动运行正常。
......
[33]HELLO! BOOT0 is starting!
[36]BOOT0 commit : {244d2f76}
[39]set pll start
[41]set pll end
[42]board init ok
[44]card no is 0
[46]sdcard 0 line count 4
[48][mmc]: mmc driver ver 2021-04-2 16:45
[57][mmc]: Wrong media type 0x0
[60][mmc]: ***Try SD card 0***
[73][mmc]: HSSDR52/SDR25 4 bit
[76][mmc]: 50000000 Hz
[78][mmc]: 1876 MB
[79][mmc]: ***SD/MMC 0 init OK!!!***
[86]ZQ value = 0x808
[88]get_pmu_exist() = -1
[90]DRAM BOOT DRIVE INFO: V1.12
[93]DRAM CLK = 792 MHz
[95]DRAM Type = 3 (2:DDR2,3:DDR3)
[98]DRAMC ZQ value: 0x3b3bfb
[101]DRAM ODT value: 0x40.
[104]trefi: 7.8us
[106]DRAM SIZE = 128 M
[110]DRAM simple test OK.
[112]dram size = 128
[173]Loading boot-pkg Succeed(index=0).
[177]Entry_name = opensbi
[180]Entry_name = u-boot
[184]mmc not para
[185]Jump to OpenSBI: opensbi_base = 0x43e00000, dtb_base = 0x43e1f000, uboot_base = 0x42000000
U-Boot 2018.07 (Jun 24 2025 - 09:36:38 +0000) Allwinner Technology
[00.210]DRAM: 128 MiB
[00.212]Relocation Offset is: 056a8000, reloc addr is: 476a8000
[00.219]secure enable bit: 0
[00.221]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=396Mhz
SPI ALL: ready
[00.231]flash init start
[00.233]workmode = 0,storage type = 1
[mmc]: mmc driver ver uboot2018:2025-04-22 10:03:00
[mmc]: get sdc_type fail and use default host:tm1.
[mmc]: can't find node "mmc0",will add new node
[mmc]: fdt err returned <no error>
[mmc]: Using default timing para
[mmc]: SUNXI SDMMC Controller Version:0x50310
[mmc]: card_caps:0x3000000a
[mmc]: host_caps:0x3000003f
[00.283]sunxi flash init ok
get value error
[00.288][KSC_ERR]: unable to map tv display top registers
ksc_dev_init finsih
[00.296]drv_disp_init
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition bootloader
[00.469]bootloader is not found!
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
** Unable to read file disp_config.ini **
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition Reserve0
[00.677]Reserve0 is not found!
[00.680]Get bootloader and boot-resource partition number fail!
[00.686]de wrn crc 1c2800
[00.708]drv_disp_init finish
[00.713]start_mode: 0
[00.715]start_type: 1
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[00.878]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment
*** Warning - no device, using default environment
Failed (-5)
[00.900]boot_gui_init:start
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition Reserve0
[00.925][KSC_ERR]: Get bw_ctrl_en property failed
[00.931]property lcd_gamma_18 is not found
[01.036]LCD open finish
[01.039]gd->relocaddr = 478c6000 7400
bad fb1_cfg[w=-1,h=-1,bpp=32,format=0]
[01.106]boot_gui_init:finish
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition bootloader
[01.133]bmp_name=bootlogo.bmp size 38454
[01.145]the secure storage item0 copy0 magic is bad
[01.150]the secure storage item0 copy1 magic is bad
secure storage read hdcpkey fail
[01.157]secure storage read hdcpkey fail with:-1
[01.162]push hdcp key failed
[01.164]usb burn from boot
USB2.0 controller init !
delay time 0
[01.176]usb prepare ok
[01.385]usb sof ok
[01.386]usb probe ok
[01.388]usb setup ok
set address 0x8
set address 0x8 ok
set address 0x9
set address 0x9 ok
try to update
[01.793]do_burn_from_boot usb : have no handshake
[01.798]begin auto update check
auto update key not press
skip update boot_param
cann't get the boot_base from the env
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[01.828]update part info
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[01.848]update bootcmd
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[01.869]change working_fdt 0x45667d88 to 0x45647d88
get value error
[01.876]DRM mem is not reserved
[01.879]The storage not support sample function
[01.884]## error: update_fdt_dram_para_from_bootpara : FDT_ERR_NOTFOUND
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition bootloader
[01.919]bootloader is not found!
** Unable to read file disp_config.ini **
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
partno erro : can't find partition Reserve0
[01.949]Reserve0 is not found!
[01.951]Get bootloader and boot-resource partition number fail!
[01.958]update dts
Hit any key to stop autoboot: 0
## Error: "distro_bootcmd" not defined
=>同一个固件烧卡上启动,出现上面的状况。
H135芯片购买链接:
https://item.taobao.com/item.htm?id=725941052433
https://item.taobao.com/item.htm?id=93455448
全志 H135 HDMI输入芯片资料:
H13x开发文档.pdf
sdk下载使用说明.txt (如果乱码,右击,另存到本电脑再打开)
H135_User Manual_V0.90.pdf
H135_Brief_V0.90.pdf
H135_PINOUT_V0.90.xlsx
H135_Datasheet_V0.90.pdf
启动烧写类量产问题_排查指南.pdf
量产系统稳定性问题_排查指南.pdf
eMMC硬件_排查指南.pdf
安全类量产问题_排查指南.pdf
IO类量产问题_排查指南.pdf
量产问题信息收集_参考模板.xls
NAND硬件_排查指南v0.4.pdf
MMC量产问题_排查指南.pdf
H135产线及售后不良品分析及处理流程_V1.0.xls
H135产线硬件问题快速排查指南_V1.0.pdf
H135方案生产流程指南_V1.0.pdf
H135产品试量产稳定性checklist-V1.0.pdf
HDCP密钥_烧写指南.pdf
H135_MX_HXX_REF_DDR3_BGA96BALL_16X1_S2L_V1_2_2025021
2L-1.0~1.6MM-PCB叠层规范_V1.3.4.xlsx
H135_MX_HXX_REF_DDR3_BGA96BALL_16X1_S2L_V1_2.brd
H135_MX_HXX_REF_DDR3_BGA96BALL_16X1_S2L_V1_2pads.asc
H135_MX_HXX_REF_DDR3_BGA96BALL_16X1_S2L_V1_2_2025021
H135硬件设计指南_V1_0.pdf
H135 原理图设计Checklist_V1_0.xlsx
H135_全志客户PCB设计Checklist_V1_0.xlsx
H135_MX_HXX_STD_DDR3_FBGA96BALL_16X1_2L_V1_0 .DSN
H135_MX_HXX_STD_DDR3_FBGA96BALL_16X1_2L_V1_0 .pdf
H135_Tina_Linux_Wi-Fi_BT_支持列表.xlsx
Tina_Linux_蓝牙_模组移植指南.pdf
Tina_Linux_Wi-Fi_抓包使用指南.pdf
Tina_Linux_蓝牙_开发指南.pdf
Tina_Linux_Wi-Fi_模组移植指南.pdf
Tina_Linux_蓝牙_常见问题与调试指南.pdf
Tina_Linux_Wi-Fi_常见问题与调试指南.pdf
Tina_Linux_Wi-Fi_BT_射频测试指引.pdf
Linux_USB2_开发指南.pdf
Tina5.0_Linux_开发指南.pdf
Linux_RISCV_安全_开发指南.pdf
Linux_IR_TX_开发指南.pdf
Linux_Thermal_开发指南.pdf
Linux_GPIO_开发指南.pdf
Linux_LCD_开发指南.pdf
Linux_LEDC_开发指南.pdf
Linux_BSP独立仓库_开发指南.pdf
Linux_PWM_开发指南.pdf
Linux_SPINAND_开发指南.pdf
AW_G2D_开发指南.pdf
Linux_Decoder_开发指南.pdf
Linux_Display_开发指南.pdf
Linux_SID_开发指南.pdf
Linux_Type-C_开发指南.pdf
Linux_KSC_开发指南.pdf
Linux_IR_RX_开发指南.pdf
Linux_U-Boot_开发指南.pdf
Linux_GPADC_开发指南.pdf
Linux_CE_开发指南.pdf
Linux_RTC_开发指南.pdf
Linux_SPINAND_UBI离线烧录_开发指南.pdf
Linux_音效调优_开发指南.pdf
Linux_Encoder_开发指南.pdf
Linux_SPINOR_开发指南.pdf
Linux_Audio_开发指南.pdf
Linux_TIMER_开发指南.pdf
Linux_DMAC_开发指南.pdf
Linux_UART_开发指南.pdf
Linux_Device_Tree_使用指南.pdf
Linux_TWI_开发指南.pdf
Linux_CedarX_开发指南.pdf
Linux_DI_开发指南.pdf
Linux_TPADC_开发指南.pdf
Linux_EMAC_开发指南.pdf
Linux_CPUFREQ_开发指南.pdf
Linux_Standby_开发指南.pdf
AW_HRC_开发指南.pdf
Linux_CCU_开发指南.pdf
Linux_I2S挂载CODEC_开发指南.pdf
Linux_SPL-PUB_开发指南.pdf
Linux_SPI_NG_开发指南.pdf
Linux_并口-CSI_开发指南.pdf
Tina_Linux_启动优化_开发指南.pdf
H135_Tina_Linux_1.0_多媒体_规格.xls
Tina系统软件方案应用规范.pdf
H137设计资料:
H137_PINOUT_V0.10_Draft_Version.xlsx
H137_User Manual_V0.10_Draft_Version.pdf
H137_Datasheet_V0.10_Draft_Version.pdf
H137_Brief_V0.11_Draft_Version.pdf
H136设计资料:
H136_PINOUT_V0.90.xlsx
H136_Datasheet_V0.90.pdf
H136_Brief_V0.90.pdf
H136_User Manual_V0.90.pdf
H136硬件设计指南_V1_0.pdf
H136_全志客户PCB设计Checklist_V1_0.xlsx
H136_M3_HXX_STD_2L_V1_0.pdf
H136_M3_HXX_STD_2L_V1_0.DSN
H136 原理图设计Checklist_V1_0.xlsx
启动烧写类量产问题_排查指南.pdf
量产系统稳定性问题_排查指南.pdf
eMMC硬件_排查指南.pdf
安全类量产问题_排查指南.pdf
IO类量产问题_排查指南.pdf
Linux_eMMC物料_验证指南.pdf
量产问题信息收集_参考模板.xls
Tina_Linux_显示量产_排查指南.pdf
NAND硬件_排查指南v0.4.pdf
Tina_Linux_显示问题案例_FAE详细指导指南.pdf
MMC量产问题_排查指南.pdf
Tina_eMMC物料_验证操作指南.pdf
全志平台生产指南之ESD基础及其防护V2.0.pdf
H136方案生产流程指南_V1.0.pdf
H136产品试量产稳定性checklist-V1.0.pdf
H136不良品分析流程_V1.0.xls
H136产线硬件问题快速排查指南 V1.0.pdf
HDCP密钥_烧写指南.pdf
Linux_USB2_开发指南.pdf
Tina5.0_Linux_开发指南.pdf
Linux_RISCV_安全_开发指南.pdf
Linux_IR_TX_开发指南.pdf
Linux_Thermal_开发指南.pdf
Linux_LCD_开发指南.pdf
Linux_LEDC_开发指南.pdf
Linux_BSP独立仓库_开发指南.pdf
Linux_PWM_开发指南.pdf
Linux_SPINAND_开发指南.pdf
Linux_Decoder_开发指南.pdf
Linux_Display_开发指南.pdf
Linux_SID_开发指南.pdf
Linux_Type-C_开发指南.pdf
Linux_KSC_开发指南.pdf
Linux_IR_RX_开发指南.pdf
Linux_U-Boot_开发指南.pdf
Linux_GPADC_开发指南.pdf
Linux_CE_开发指南.pdf
Linux_RTC_开发指南.pdf
Linux_SPINAND_UBI离线烧录_开发指南.pdf
Linux_音效调优_开发指南.pdf
Linux_Encoder_开发指南.pdf
Linux_SPINOR_开发指南.pdf
Linux_Audio_开发指南.pdf
Linux_TIMER_开发指南.pdf
Linux_DMAC_开发指南.pdf
Linux_UART_开发指南.pdf
Linux_Device_Tree_使用指南.pdf
Linux_TWI_开发指南.pdf
Linux_CedarX_开发指南.pdf
Linux_DI_开发指南.pdf
Linux_TPADC_开发指南.pdf
Linux_EMAC_开发指南.pdf
Linux_CPUFREQ_开发指南.pdf
Linux_Standby_开发指南.pdf
AW_HRC_开发指南.pdf
Linux_CCU_开发指南.pdf
Linux_I2S挂载CODEC_开发指南.pdf
Linux_SPL-PUB_开发指南.pdf
Linux_SPI_NG_开发指南.pdf
Linux_并口-CSI_开发指南.pdf
H135_Tina_Linux_1.0_多媒体_规格.xls
F135 F136 资料:
F135_Brief_V0.12_Draft_Version.pdf
F136_PINOUT_V0.10_Draft_Version.xlsx
F136_Datasheet_V0.10_Draft_Version.pdf
F135_Datasheet_V0.11_Draft_Version.pdf
F135_PINOUT_V0.11_Draft_Version.xlsx
F136_Brief_V0.13_Draft_Version.pdf
先烧个spi nand固件:
[1003]fes begin commit:{244d2f76}
[1006]set pll start
[1008]set pll end
[1010]board init ok
[1012]beign to init dram
[1014]ZQ value = 0x808
[1016]get_pmu_exist() = -1
[1020][AUTO DEBUG] single rank and full DQ
[1025][AUTO DEBUG] rank 0 row = 13
[1028][AUTO DEBUG] rank 0 bank = 8
[1032][AUTO DEBUG] rank 0 page size = 2 KB
[1036][SOFT TRAINING] Version: T2.1
[1039][SOFT TRAINING] Dram Soft Training Loop1
[1375][SOFT TRAINING] Stable test, dram_clk=360,dram_tpr11=0x00450000,dram_tpr12=0x00000022,memtest pass
[1385][SOFT TRAINING] change dram_clk to 792
[1390][SOFT TRAINING] start rdq bit training
[1533][SOFT TRAINING] rdq00 dqs_move: 2, range: 0~15, width=18, center=0x06
[1736][SOFT TRAINING] rdq01 dqs_move: 5, range: 0~12, width=18, center=0x03
[1960][SOFT TRAINING] rdq02 dqs_move: 5, range: 0~13, width=19, center=0x04
[2184][SOFT TRAINING] rdq03 dqs_move: 4, range: 0~13, width=18, center=0x04
[2436][SOFT TRAINING] rdq04 dqs_move: 3, range: 0~15, width=19, center=0x06
[2745][SOFT TRAINING] rdq05 dqs_move: 3, range: 0~15, width=19, center=0x06
[2984][SOFT TRAINING] rdq06 dqs_move: 5, range: 0~13, width=19, center=0x04
[3270][SOFT TRAINING] rdq07 dqs_move: 4, range: 0~15, width=20, center=0x05
[3542][SOFT TRAINING] rdq08 dqs_move: 5, range: 0~13, width=19, center=0x04
[3742][SOFT TRAINING] rdq09 dqs_move: 4, range: 0~12, width=17, center=0x04
[3949][SOFT TRAINING] rdq10 dqs_move: 5, range: 0~12, width=18, center=0x03
[4215][SOFT TRAINING] rdq11 dqs_move: 5, range: 0~14, width=20, center=0x04
[4430][SOFT TRAINING] rdq12 dqs_move: 4, range: 0~11, width=16, center=0x03
[4645][SOFT TRAINING] rdq13 dqs_move: 4, range: 0~12, width=17, center=0x04
[4880][SOFT TRAINING] rdq14 dqs_move: 4, range: 0~12, width=17, center=0x04
[5123][SOFT TRAINING] rdq15 dqs_move: 5, range: 0~13, width=19, center=0x04
[5131][SOFT TRAINING] After rdq training, dram_tpr12 = 0x00000045
[5136][SOFT TRAINING] start wdq bit training
[5367][SOFT TRAINING] wdq00 dqs_move: 13, range: 0~7, width=21, center=0x03
[5576][SOFT TRAINING] wdq01 dqs_move: 13, range: 0~5, width=19, center=0x04
[5772][SOFT TRAINING] wdq02 dqs_move: 13, range: 0~4, width=18, center=0x04
[5968][SOFT TRAINING] wdq03 dqs_move: 13, range: 0~5, width=19, center=0x04
[6193][SOFT TRAINING] wdq04 dqs_move: 12, range: 0~8, width=21, center=0x02
[6470][SOFT TRAINING] wdq05 dqs_move: 13, range: 0~6, width=20, center=0x03
[6666][SOFT TRAINING] wdq06 dqs_move: 13, range: 0~4, width=18, center=0x04
[6920][SOFT TRAINING] wdq07 dqs_move: 14, range: 0~6, width=21, center=0x04
[7146][SOFT TRAINING] wdq08 dqs_move: 13, range: 0~6, width=20, center=0x03
[7371][SOFT TRAINING] wdq09 dqs_move: 13, range: 0~6, width=20, center=0x03
[7597][SOFT TRAINING] wdq10 dqs_move: 14, range: 0~3, width=18, center=0x05
[7823][SOFT TRAINING] wdq11 dqs_move: 14, range: 0~5, width=20, center=0x04
[8048][SOFT TRAINING] wdq12 dqs_move: 14, range: 0~5, width=20, center=0x04
[8261][SOFT TRAINING] wdq13 dqs_move: 13, range: 0~5, width=19, center=0x04
[8457][SOFT TRAINING] wdq14 dqs_move: 13, range: 0~5, width=19, center=0x04
[8682][SOFT TRAINING] wdq15 dqs_move: 14, range: 0~5, width=20, center=0x04
[8689][SOFT TRAINING] After wdq training, dram_tpr11 = 0x00440000
[8874][SOFT TRAINING] CLK=792M Stable memtest pass
[8879]DRAM BOOT DRIVE INFO: V1.12
[8882]DRAM CLK = 792 MHz
[8884]DRAM Type = 3 (2:DDR2,3:DDR3)
[8888]DRAMC ZQ value: 0x3b3bfb
[8890]DRAM ODT value: 0x40.
[8894]trefi: 7.8us
[8896]DRAM SIZE = 128 M
[8899]DRAM simple test OK.
[8902]init dram ok
U-Boot 2018.07 (Jun 24 2025 - 09:36:38 +0000) Allwinner Technology
[11.812]DRAM: 128 MiB
[11.817]Relocation Offset is: 056a8000, reloc addr is: 476a8000
[11.842]secure enable bit: 0
[11.847]CPU=912 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=396Mhz
[11.853]sunxi flash map init
SPI ALL: ready
[11.877]init_clocks:finish
[11.879]flash init start
[11.881]workmode = 16,storage type = 0
try card 2
set card number 2
get card number 2
[mmc]: mmc driver ver uboot2018:2025-04-22 10:03:00
[mmc]: get sdc_type fail and use default host:tm4.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
[mmc]: Using default timing para
[mmc]: sunxi mmc pin set failed!
[11.917]error,card no error
[mmc]: MMC Device -1 not found
fail to find one useful mmc card2
try emmc fail
[11.934]sunxi-spinand: AW SPINand MTD Layer Version: 1.13 20231225
[11.939]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.20 20240320
[11.980]sunxi-spinand-phy: request spi0 gpio ok
[11.984]sunxi-spinand-phy: request general tx dma channel ok!
[11.990]sunxi-spinand-phy: request general rx dma channel ok!
[11.995]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[12.000]sunxi-spinand-phy: init spic0 clk ok
[12.004]sunxi-spinand-phy: detect munufacture from id table: Winbond
[12.010]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
[12.015]sunxi-spinand-phy: ========== arch info ==========
[12.020]sunxi-spinand-phy: Model: W25N01GVZEIG
[12.026]sunxi-spinand-phy: Munufacture: Winbond
[12.031]sunxi-spinand-phy: DieCntPerChip: 1
[12.035]sunxi-spinand-phy: BlkCntPerDie: 1024
[12.040]sunxi-spinand-phy: PageCntPerBlk: 64
[12.044]sunxi-spinand-phy: SectCntPerPage: 4
[12.049]sunxi-spinand-phy: OobSizePerPage: 64
[12.053]sunxi-spinand-phy: BadBlockFlag: 0x0
[12.058]sunxi-spinand-phy: OperationOpt: 0x7
[12.063]sunxi-spinand-phy: MaxEraseTimes: 65000
[12.067]sunxi-spinand-phy: EccFlag: 0x0
[12.072]sunxi-spinand-phy: EccType: 2
[12.076]sunxi-spinand-phy: EccProtectedType: 3
[12.081]sunxi-spinand-phy: ========================================
[12.087]sunxi-spinand-phy:
[12.089]sunxi-spinand-phy: ========== physical info ==========
[12.095]sunxi-spinand-phy: TotalSize: 128 M
[12.099]sunxi-spinand-phy: SectorSize: 512 B
[12.103]sunxi-spinand-phy: PageSize: 2 K
[12.107]sunxi-spinand-phy: BlockSize: 128 K
[12.111]sunxi-spinand-phy: OOBSize: 64 B
[12.115]sunxi-spinand-phy: ========================================
[12.121]sunxi-spinand-phy:
[12.124]sunxi-spinand-phy: ========== logical info ==========
[12.129]sunxi-spinand-phy: TotalSize: 128 M
[12.133]sunxi-spinand-phy: SectorSize: 512 B
[12.138]sunxi-spinand-phy: PageSize: 2 K
[12.142]sunxi-spinand-phy: BlockSize: 128 K
[12.146]sunxi-spinand-phy: OOBSize: 64 B
[12.150]sunxi-spinand-phy: ========================================
[12.163]sunxi-spinand-phy: block lock register: 0x00
[12.167]sunxi-spinand-phy: feature register: 0x19
[12.172]sunxi-spinand-phy: sunxi physic nand init end
[12.342]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[13.540]sunxi-spinand-phy: Sample mode:2 min_delay:0 max_delay:0 right_delay:aaaaffff)
[13.872][KSC_WRN]: /soc/ksc's compatible: allwinner,ksc110
[13.877][KSC_WRN]: match compatible: allwinner,ksc110
[13.885][KSC_INFO]: reg_base = 0x5300000
[13.893][KSC_WRN]: fdt_getprop_u32 /soc/ksc.tv_reg fail
[13.897][KSC_INFO]: reg_base = 0x0
[13.901][KSC_ERR]: unable to map tv display top registers
[13.922][KSC_WRN]: Get clk0_freq property failed
[13.929][KSC_WRN]: Get clk1_freq property failed
ksc_dev_init finsih
[13.956]request pwm success, pwm0:pwm0:0x2000c00.
[13.978]Loading Environment from SUNXI_FLASH... OK
[13.985]try to burn key
[13.988]out of usb burn from boot: not boot mode
Hit any key to stop autoboot: 0
sunxi work mode=0x10
[14.018]try sprite_led_gpio config
[14.022]sprite_led_gpio start
run usb efex
USB2.0 controller init !
delay time 2500
usb init ok
set address 0x3d
set address 0x3d ok
set address 0x3e
set address 0x3e ok
SUNXI_EFEX_ERASE_TAG
erase_flag = 0x12
origin_erase_flag = 0x1
FEX_CMD_fes_verify_status
FEX_CMD_fes_verify last err=0
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 9
part[0] name :boot-resource
part[0] classname :DISK
part[0] addrlo :0x8000
part[0] lenlo :0x1f8
part[0] user_type :32768
part[0] keydata :0
part[0] ro :0
part[1] name :env
part[1] classname :DISK
part[1] addrlo :0x81f8
part[1] lenlo :0x1f8
part[1] user_type :32768
part[1] keydata :0
part[1] ro :0
part[2] name :bootA
part[2] classname :DISK
part[2] addrlo :0x83f0
part[2] lenlo :0x3330
part[2] user_type :32768
part[2] keydata :0
part[2] ro :0
part[3] name :rootfsA
part[3] classname :DISK
part[3] addrlo :0xb720
part[3] lenlo :0xd2a8
part[3] user_type :32768
part[3] keydata :0
part[3] ro :0
part[4] name :bootB
part[4] classname :DISK
part[4] addrlo :0x189c8
part[4] lenlo :0x3330
part[4] user_type :32768
part[4] keydata :0
part[4] ro :0
part[5] name :rootfsB
part[5] classname :DISK
part[5] addrlo :0x1bcf8
part[5] lenlo :0xd2a8
part[5] user_type :32768
part[5] keydata :0
part[5] ro :0
part[6] name :Reserve0
part[6] classname :DISK
part[6] addrlo :0x28fa0
part[6] lenlo :0x1f8
part[6] user_type :32768
part[6] keydata :0
part[6] ro :0
part[7] name :rootfs_data
part[7] classname :DISK
part[7] addrlo :0x29198
part[7] lenlo :0x2958
part[7] user_type :32768
part[7] keydata :0
part[7] ro :0
part[8] name :UDISK
part[8] classname :DISK
part[8] addrlo :0x2baf0
part[8] lenlo :0x0
part[8] user_type :0
part[8] keydata :0
part[8] ro :0
common1(partition3) need it, here is a weak func
total part: 10
mbr 0, 8000, 8000
boot-resource 1, 1f8, 8000
env 2, 1f8, 8000
bootA 3, 3330, 8000
rootfsA 4, d2a8, 8000
bootB 5, 3330, 8000
rootfsB 6, d2a8, 8000
Reserve0 7, 1f8, 8000
rootfs_data 8, 2958, 8000
UDISK 9, 0, 0
[17.308]erase blk 0 to blk 32
[17.311]blk 0 is bad, skip to erase
[17.314]blk 1 is bad, skip to erase
[17.318]blk 2 is bad, skip to erase
[17.321]blk 3 is bad, skip to erase
[17.324]blk 4 is bad, skip to erase
[17.327]blk 5 is bad, skip to erase
[17.330]blk 6 is bad, skip to erase
[17.334]blk 7 is bad, skip to erase
[17.337]blk 8 is bad, skip to erase
[17.340]blk 9 is bad, skip to erase
[17.343]blk 10 is bad, skip to erase
[17.347]blk 11 is bad, skip to erase
[17.350]blk 12 is bad, skip to erase
[17.353]blk 13 is bad, skip to erase
[17.356]blk 14 is bad, skip to erase
[17.360]blk 15 is bad, skip to erase
[17.363]blk 16 is bad, skip to erase
[17.366]blk 17 is bad, skip to erase
[17.370]blk 18 is bad, skip to erase
[17.373]blk 19 is bad, skip to erase
[17.376]blk 20 is bad, skip to erase
[17.380]blk 21 is bad, skip to erase
[17.383]blk 22 is bad, skip to erase
[17.386]blk 23 is bad, skip to erase
[17.389]blk 24 is bad, skip to erase
[17.393]blk 25 is bad, skip to erase
[17.396]blk 26 is bad, skip to erase
[17.399]blk 27 is bad, skip to erase
[17.403]blk 28 is bad, skip to erase
[17.406]blk 29 is bad, skip to erase
[17.409]blk 30 is bad, skip to erase
[17.412]blk 31 is bad, skip to erase
need erase flash: 18
[17.418]erase blk 0 to blk 32
[17.421]blk 0 is bad, skip to erase
[17.424]blk 1 is bad, skip to erase
[17.428]blk 2 is bad, skip to erase
[17.431]blk 3 is bad, skip to erase
[17.434]blk 4 is bad, skip to erase
[17.437]blk 5 is bad, skip to erase
[17.440]blk 6 is bad, skip to erase
[17.444]blk 7 is bad, skip to erase
[17.447]blk 8 is bad, skip to erase
[17.450]blk 9 is bad, skip to erase
[17.453]blk 10 is bad, skip to erase
[17.457]blk 11 is bad, skip to erase
[17.460]blk 12 is bad, skip to erase
[17.463]blk 13 is bad, skip to erase
[17.466]blk 14 is bad, skip to erase
[17.470]blk 15 is bad, skip to erase
[17.473]blk 16 is bad, skip to erase
[17.476]blk 17 is bad, skip to erase
[17.480]blk 18 is bad, skip to erase
[17.483]blk 19 is bad, skip to erase
[17.486]blk 20 is bad, skip to erase
[17.489]blk 21 is bad, skip to erase
[17.493]blk 22 is bad, skip to erase
[17.496]blk 23 is bad, skip to erase
[17.499]blk 24 is bad, skip to erase
[17.503]blk 25 is bad, skip to erase
[17.506]blk 26 is bad, skip to erase
[17.509]blk 27 is bad, skip to erase
[17.512]blk 28 is bad, skip to erase
[17.516]blk 29 is bad, skip to erase
[17.519]blk 30 is bad, skip to erase
[17.522]blk 31 is bad, skip to erase
[17.526]erase blk 40 to blk 1024
[17.529]blk 40 is bad, skip to erase
[17.532]blk 41 is bad, skip to erase
[17.535]blk 42 is bad, skip to erase
[17.539]blk 43 is bad, skip to erase
[17.542]blk 44 is bad, skip to erase
[17.545]blk 45 is bad, skip to erase
[17.548]blk 46 is bad, skip to erase
[17.552]blk 47 is bad, skip to erase
[17.555]blk 48 is bad, skip to erase
[17.558]blk 49 is bad, skip to erase
[17.562]blk 50 is bad, skip to erase
[17.565]blk 51 is bad, skip to erase
[17.568]blk 52 is bad, skip to erase
[17.572]blk 53 is bad, skip to erase
[17.575]blk 54 is bad, skip to erase
[17.578]blk 55 is bad, skip to erase
[17.581]blk 56 is bad, skip to erase
[17.585]blk 57 is bad, skip to erase
[17.588]blk 58 is bad, skip to erase
[17.591]blk 59 is bad, skip to erase
[17.595]blk 60 is bad, skip to erase
[17.598]blk 61 is bad, skip to erase
[17.601]blk 62 is bad, skip to erase
[17.604]blk 63 is bad, skip to erase
[17.608]blk 64 is bad, skip to erase
[17.611]blk 65 is bad, skip to erase
[17.614]blk 66 is bad, skip to erase
[17.618]blk 67 is bad, skip to erase
[17.621]blk 68 is bad, skip to erase
[17.624]blk 69 is bad, skip to erase
[17.627]blk 70 is bad, skip to erase
[17.631]blk 71 is bad, skip to erase
[17.634]blk 72 is bad, skip to erase
[17.637]blk 73 is bad, skip to erase
[17.641]blk 74 is bad, skip to erase
[17.644]blk 75 is bad, skip to erase
[17.647]blk 76 is bad, skip to erase
[17.651]blk 77 is bad, skip to erase
[17.654]blk 78 is bad, skip to erase
[17.657]blk 79 is bad, skip to erase
[17.660]blk 80 is bad, skip to erase
[17.664]blk 81 is bad, skip to erase
[17.667]blk 82 is bad, skip to erase
[17.670]blk 83 is bad, skip to erase
[17.674]blk 84 is bad, skip to erase
[17.677]blk 85 is bad, skip to erase
[17.680]blk 86 is bad, skip to erase
[17.683]blk 87 is bad, skip to erase
[17.687]blk 88 is bad, skip to erase
[17.690]blk 89 is bad, skip to erase
[17.693]blk 90 is bad, skip to erase
[17.697]blk 91 is bad, skip to erase
[17.700]blk 92 is bad, skip to erase
[17.703]blk 93 is bad, skip to erase
[17.707]blk 94 is bad, skip to erase
[17.710]blk 95 is bad, skip to erase
[17.713]blk 96 is bad, skip to erase
[17.716]blk 97 is bad, skip to erase
[17.720]blk 98 is bad, skip to erase
[17.723]blk 99 is bad, skip to erase
[17.726]blk 100 is bad, skip to erase
[17.730]blk 101 is bad, skip to erase
[17.733]blk 102 is bad, skip to erase
[17.736]blk 103 is bad, skip to erase
[17.740]blk 104 is bad, skip to erase
[17.743]blk 105 is bad, skip to erase
[17.747]blk 106 is bad, skip to erase
[17.750]blk 107 is bad, skip to erase
[17.753]blk 108 is bad, skip to erase
[17.757]blk 109 is bad, skip to erase
[17.760]blk 110 is bad, skip to erase
[17.763]blk 111 is bad, skip to erase
[17.767]blk 112 is bad, skip to erase
[17.770]blk 113 is bad, skip to erase
[17.774]blk 114 is bad, skip to erase
[17.777]blk 115 is bad, skip to erase
[17.780]blk 116 is bad, skip to erase
[17.784]blk 117 is bad, skip to erase
[17.787]blk 118 is bad, skip to erase
[17.791]blk 119 is bad, skip to erase
[17.794]blk 120 is bad, skip to erase
[17.797]blk 121 is bad, skip to erase
[17.801]blk 122 is bad, skip to erase
[17.804]blk 123 is bad, skip to erase
[17.807]blk 124 is bad, skip to erase
[17.811]blk 125 is bad, skip to erase
[17.814]blk 126 is bad, skip to erase
[17.818]blk 127 is bad, skip to erase
[17.821]blk 128 is bad, skip to erase
[17.824]blk 129 is bad, skip to erase
[17.828]blk 130 is bad, skip to erase
[17.831]blk 131 is bad, skip to erase
[17.834]blk 132 is bad, skip to erase
[17.838]blk 133 is bad, skip to erase
[17.841]blk 134 is bad, skip to erase
[17.845]blk 135 is bad, skip to erase
[17.848]blk 136 is bad, skip to erase
[17.851]blk 137 is bad, skip to erase
[17.855]blk 138 is bad, skip to erase
[17.858]blk 139 is bad, skip to erase
[17.861]blk 140 is bad, skip to erase
[17.865]blk 141 is bad, skip to erase
[17.868]blk 142 is bad, skip to erase
[17.872]blk 143 is bad, skip to erase
[17.875]blk 144 is bad, skip to erase
[17.878]blk 145 is bad, skip to erase
[17.882]blk 146 is bad, skip to erase
[17.885]blk 147 is bad, skip to erase
[17.889]blk 148 is bad, skip to erase
[17.892]blk 149 is bad, skip to erase
[17.895]blk 150 is bad, skip to erase
[17.899]blk 151 is bad, skip to erase
[17.902]blk 152 is bad, skip to erase
[17.905]blk 153 is bad, skip to erase
[17.909]blk 154 is bad, skip to erase
[17.912]blk 155 is bad, skip to erase
[17.916]blk 156 is bad, skip to erase
[17.919]blk 157 is bad, skip to erase
[17.922]blk 158 is bad, skip to erase
[17.926]blk 159 is bad, skip to erase
[17.929]blk 160 is bad, skip to erase
[17.932]blk 161 is bad, skip to erase
[17.936]blk 162 is bad, skip to erase
[17.939]blk 163 is bad, skip to erase
[17.943]blk 164 is bad, skip to erase
[17.946]blk 165 is bad, skip to erase
[17.949]blk 166 is bad, skip to erase
[17.953]blk 167 is bad, skip to erase
[17.956]blk 168 is bad, skip to erase
[17.960]blk 169 is bad, skip to erase
[17.963]blk 170 is bad, skip to erase
[17.966]blk 171 is bad, skip to erase
[17.970]blk 172 is bad, skip to erase
[17.973]blk 173 is bad, skip to erase
[17.976]blk 174 is bad, skip to erase
[17.980]blk 175 is bad, skip to erase
[17.983]blk 176 is bad, skip to erase
[17.987]blk 177 is bad, skip to erase
[17.990]blk 178 is bad, skip to erase
[17.993]blk 179 is bad, skip to erase
[17.997]blk 180 is bad, skip to erase
[18.000]blk 181 is bad, skip to erase
[18.003]blk 182 is bad, skip to erase
[18.007]blk 183 is bad, skip to erase
[18.010]blk 184 is bad, skip to erase
[18.014]blk 185 is bad, skip to erase
[18.017]blk 186 is bad, skip to erase
[18.020]blk 187 is bad, skip to erase
[18.024]blk 188 is bad, skip to erase
[18.027]blk 189 is bad, skip to erase
[18.030]blk 190 is bad, skip to erase
[18.034]blk 191 is bad, skip to erase
[18.037]blk 192 is bad, skip to erase
[18.041]blk 193 is bad, skip to erase
[18.044]blk 194 is bad, skip to erase
[18.047]blk 195 is bad, skip to erase
[18.051]blk 196 is bad, skip to erase
[18.054]blk 197 is bad, skip to erase
[18.058]blk 198 is bad, skip to erase
[18.061]blk 199 is bad, skip to erase
[18.064]blk 200 is bad, skip to erase
[18.068]blk 201 is bad, skip to erase
[18.071]blk 202 is bad, skip to erase
[18.074]blk 203 is bad, skip to erase
[18.078]blk 204 is bad, skip to erase
[18.081]blk 205 is bad, skip to erase
[18.085]blk 206 is bad, skip to erase
[18.088]blk 207 is bad, skip to erase
[18.091]blk 208 is bad, skip to erase
[18.095]blk 209 is bad, skip to erase
[18.098]blk 210 is bad, skip to erase
[18.101]blk 211 is bad, skip to erase
[18.105]blk 212 is bad, skip to erase
[18.108]blk 213 is bad, skip to erase
[18.112]blk 214 is bad, skip to erase
[18.115]blk 215 is bad, skip to erase
[18.118]blk 216 is bad, skip to erase
[18.122]blk 217 is bad, skip to erase
[18.125]blk 218 is bad, skip to erase
[18.129]blk 219 is bad, skip to erase
[18.132]blk 220 is bad, skip to erase
[18.135]blk 221 is bad, skip to erase
[18.139]blk 222 is bad, skip to erase
[18.142]blk 223 is bad, skip to erase
[18.145]blk 224 is bad, skip to erase
[18.149]blk 225 is bad, skip to erase
[18.152]blk 226 is bad, skip to erase
[18.156]blk 227 is bad, skip to erase
[18.159]blk 228 is bad, skip to erase
[18.162]blk 229 is bad, skip to erase
[18.166]blk 230 is bad, skip to erase
[18.169]blk 231 is bad, skip to erase
[18.172]blk 232 is bad, skip to erase
[18.176]blk 233 is bad, skip to erase
[18.179]blk 234 is bad, skip to erase
[18.183]blk 235 is bad, skip to erase
[18.186]blk 236 is bad, skip to erase
[18.189]blk 237 is bad, skip to erase
[18.193]blk 238 is bad, skip to erase
[18.196]blk 239 is bad, skip to erase
[18.199]blk 240 is bad, skip to erase
[18.203]blk 241 is bad, skip to erase
[18.206]blk 242 is bad, skip to erase
[18.210]blk 243 is bad, skip to erase
[18.213]blk 244 is bad, skip to erase
[18.216]blk 245 is bad, skip to erase
[18.220]blk 246 is bad, skip to erase
[18.223]blk 247 is bad, skip to erase
[18.227]blk 248 is bad, skip to erase
[18.230]blk 249 is bad, skip to erase
[18.233]blk 250 is bad, skip to erase
[18.237]blk 251 is bad, skip to erase
[18.240]blk 252 is bad, skip to erase
[18.243]blk 253 is bad, skip to erase
[18.247]blk 254 is bad, skip to erase
[18.250]blk 255 is bad, skip to erase
[18.254]blk 256 is bad, skip to erase
[18.257]blk 257 is bad, skip to erase
[18.260]blk 258 is bad, skip to erase
[18.264]blk 259 is bad, skip to erase
[18.267]blk 260 is bad, skip to erase
[18.270]blk 261 is bad, skip to erase
[18.274]blk 262 is bad, skip to erase
[18.277]blk 263 is bad, skip to erase
[18.281]blk 264 is bad, skip to erase
[18.284]blk 265 is bad, skip to erase
[18.287]blk 266 is bad, skip to erase
[18.291]blk 267 is bad, skip to erase
[18.294]blk 268 is bad, skip to erase
[18.298]blk 269 is bad, skip to erase
[18.301]blk 270 is bad, skip to erase
[18.304]blk 271 is bad, skip to erase
[18.308]blk 272 is bad, skip to erase
[18.311]blk 273 is bad, skip to erase
[18.314]blk 274 is bad, skip to erase
[18.318]blk 275 is bad, skip to erase
[18.321]blk 276 is bad, skip to erase
[18.325]blk 277 is bad, skip to erase
[18.328]blk 278 is bad, skip to erase
[18.331]blk 279 is bad, skip to erase
[18.335]blk 280 is bad, skip to erase
[18.338]blk 281 is bad, skip to erase
[18.341]blk 282 is bad, skip to erase
[18.345]blk 283 is bad, skip to erase
[18.348]blk 284 is bad, skip to erase
[18.352]blk 285 is bad, skip to erase
[18.355]blk 286 is bad, skip to erase
[18.358]blk 287 is bad, skip to erase
[18.362]blk 288 is bad, skip to erase
[18.365]blk 289 is bad, skip to erase
[18.368]blk 290 is bad, skip to erase
[18.372]blk 291 is bad, skip to erase
[18.375]blk 292 is bad, skip to erase
[18.379]blk 293 is bad, skip to erase
[18.382]blk 294 is bad, skip to erase
[18.385]blk 295 is bad, skip to erase
[18.389]blk 296 is bad, skip to erase
[18.392]blk 297 is bad, skip to erase
[18.396]blk 298 is bad, skip to erase
[18.399]blk 299 is bad, skip to erase
[18.402]blk 300 is bad, skip to erase
[18.406]blk 301 is bad, skip to erase
[18.409]blk 302 is bad, skip to erase
[18.412]blk 303 is bad, skip to erase
[18.416]blk 304 is bad, skip to erase
[18.419]blk 305 is bad, skip to erase
[18.423]blk 306 is bad, skip to erase
[18.426]blk 307 is bad, skip to erase
[18.429]blk 308 is bad, skip to erase
[18.433]blk 309 is bad, skip to erase
[18.436]blk 310 is bad, skip to erase
[18.439]blk 311 is bad, skip to erase
[18.443]blk 312 is bad, skip to erase
[18.446]blk 313 is bad, skip to erase
[18.450]blk 314 is bad, skip to erase
[18.453]blk 315 is bad, skip to erase
[18.456]blk 316 is bad, skip to erase
[18.460]blk 317 is bad, skip to erase
[18.463]blk 318 is bad, skip to erase
[18.467]blk 319 is bad, skip to erase
[18.470]blk 320 is bad, skip to erase
[18.473]blk 321 is bad, skip to erase
[18.477]blk 322 is bad, skip to erase
[18.480]blk 323 is bad, skip to erase
[18.483]blk 324 is bad, skip to erase
[18.487]blk 325 is bad, skip to erase
[18.490]blk 326 is bad, skip to erase
[18.494]blk 327 is bad, skip to erase
[18.497]blk 328 is bad, skip to erase
[18.500]blk 329 is bad, skip to erase
[18.504]blk 330 is bad, skip to erase
[18.507]blk 331 is bad, skip to erase
[18.510]blk 332 is bad, skip to erase
[18.514]blk 333 is bad, skip to erase
[18.517]blk 334 is bad, skip to erase
[18.521]blk 335 is bad, skip to erase
[18.524]blk 336 is bad, skip to erase
[18.527]blk 337 is bad, skip to erase
[18.531]blk 338 is bad, skip to erase
[18.534]blk 339 is bad, skip to erase
[18.537]blk 340 is bad, skip to erase
[18.541]blk 341 is bad, skip to erase
[18.544]blk 342 is bad, skip to erase
[18.548]blk 343 is bad, skip to erase
[18.551]blk 344 is bad, skip to erase
[18.554]blk 345 is bad, skip to erase
[18.558]blk 346 is bad, skip to erase
[18.561]blk 347 is bad, skip to erase
[18.565]blk 348 is bad, skip to erase
[18.568]blk 349 is bad, skip to erase
[18.571]blk 350 is bad, skip to erase
[18.575]blk 351 is bad, skip to erase
[18.578]blk 352 is bad, skip to erase
[18.581]blk 353 is bad, skip to erase
[18.585]blk 354 is bad, skip to erase
[18.588]blk 355 is bad, skip to erase
[18.592]blk 356 is bad, skip to erase
[18.595]blk 357 is bad, skip to erase
[18.598]blk 358 is bad, skip to erase
[18.602]blk 359 is bad, skip to erase
[18.605]blk 360 is bad, skip to erase
[18.608]blk 361 is bad, skip to erase
[18.612]blk 362 is bad, skip to erase
[18.615]blk 363 is bad, skip to erase
[18.619]blk 364 is bad, skip to erase
[18.622]blk 365 is bad, skip to erase
[18.625]blk 366 is bad, skip to erase
[18.629]blk 367 is bad, skip to erase
[18.632]blk 368 is bad, skip to erase
[18.636]blk 369 is bad, skip to erase
[18.639]blk 370 is bad, skip to erase
[18.642]blk 371 is bad, skip to erase
[18.646]blk 372 is bad, skip to erase
[18.649]blk 373 is bad, skip to erase
[18.652]blk 374 is bad, skip to erase
[18.656]blk 375 is bad, skip to erase
[18.659]blk 376 is bad, skip to erase
[18.663]blk 377 is bad, skip to erase
[18.666]blk 378 is bad, skip to erase
[18.669]blk 379 is bad, skip to erase
[18.673]blk 380 is bad, skip to erase
[18.676]blk 381 is bad, skip to erase
[18.679]blk 382 is bad, skip to erase
[18.683]blk 383 is bad, skip to erase
[18.686]blk 384 is bad, skip to erase
[18.690]blk 385 is bad, skip to erase
[18.693]blk 386 is bad, skip to erase
[18.696]blk 387 is bad, skip to erase
[18.700]blk 388 is bad, skip to erase
[18.703]blk 389 is bad, skip to erase
[18.706]blk 390 is bad, skip to erase
[18.710]blk 391 is bad, skip to erase
[18.713]blk 392 is bad, skip to erase
[18.717]blk 393 is bad, skip to erase
[18.720]blk 394 is bad, skip to erase
[18.723]blk 395 is bad, skip to erase
[18.727]blk 396 is bad, skip to erase
[18.730]blk 397 is bad, skip to erase
[18.734]blk 398 is bad, skip to erase
[18.737]blk 399 is bad, skip to erase
[18.740]blk 400 is bad, skip to erase
[18.744]blk 401 is bad, skip to erase
[18.747]blk 402 is bad, skip to erase
[18.750]blk 403 is bad, skip to erase
[18.754]blk 404 is bad, skip to erase
[18.757]blk 405 is bad, skip to erase
[18.761]blk 406 is bad, skip to erase
[18.764]blk 407 is bad, skip to erase
[18.767]blk 408 is bad, skip to erase
[18.771]blk 409 is bad, skip to erase
[18.774]blk 410 is bad, skip to erase
[18.777]blk 411 is bad, skip to erase
[18.781]blk 412 is bad, skip to erase
[18.784]blk 413 is bad, skip to erase
[18.788]blk 414 is bad, skip to erase
[18.791]blk 415 is bad, skip to erase
[18.794]blk 416 is bad, skip to erase
[18.798]blk 417 is bad, skip to erase
[18.801]blk 418 is bad, skip to erase
[18.805]blk 419 is bad, skip to erase
[18.808]blk 420 is bad, skip to erase
[18.811]blk 421 is bad, skip to erase
[18.815]blk 422 is bad, skip to erase
[18.818]blk 423 is bad, skip to erase
[18.821]blk 424 is bad, skip to erase
[18.825]blk 425 is bad, skip to erase
[18.828]blk 426 is bad, skip to erase
[18.832]blk 427 is bad, skip to erase
[18.835]blk 428 is bad, skip to erase
[18.838]blk 429 is bad, skip to erase
[18.842]blk 430 is bad, skip to erase
[18.845]blk 431 is bad, skip to erase
[18.848]blk 432 is bad, skip to erase
[18.852]blk 433 is bad, skip to erase
[18.855]blk 434 is bad, skip to erase
[18.859]blk 435 is bad, skip to erase
[18.862]blk 436 is bad, skip to erase
[18.865]blk 437 is bad, skip to erase
[18.869]blk 438 is bad, skip to erase
[18.872]blk 439 is bad, skip to erase
[18.875]blk 440 is bad, skip to erase
[18.879]blk 441 is bad, skip to erase
[18.882]blk 442 is bad, skip to erase
[18.886]blk 443 is bad, skip to erase
[18.889]blk 444 is bad, skip to erase
[18.892]blk 445 is bad, skip to erase
[18.896]blk 446 is bad, skip to erase
[18.899]blk 447 is bad, skip to erase
[18.903]blk 448 is bad, skip to erase
[18.906]blk 449 is bad, skip to erase
[18.909]blk 450 is bad, skip to erase
[18.913]blk 451 is bad, skip to erase
[18.916]blk 452 is bad, skip to erase
[18.919]blk 453 is bad, skip to erase
[18.923]blk 454 is bad, skip to erase
[18.926]blk 455 is bad, skip to erase
[18.930]blk 456 is bad, skip to erase
[18.933]blk 457 is bad, skip to erase
[18.936]blk 458 is bad, skip to erase
[18.940]blk 459 is bad, skip to erase
[18.943]blk 460 is bad, skip to erase
[18.946]blk 461 is bad, skip to erase
[18.950]blk 462 is bad, skip to erase
[18.953]blk 463 is bad, skip to erase
[18.957]blk 464 is bad, skip to erase
[18.960]blk 465 is bad, skip to erase
[18.963]blk 466 is bad, skip to erase
[18.967]blk 467 is bad, skip to erase
[18.970]blk 468 is bad, skip to erase
[18.974]blk 469 is bad, skip to erase
[18.977]blk 470 is bad, skip to erase
[18.980]blk 471 is bad, skip to erase
[18.984]blk 472 is bad, skip to erase
[18.987]blk 473 is bad, skip to erase
[18.990]blk 474 is bad, skip to erase
[18.994]blk 475 is bad, skip to erase
[18.997]blk 476 is bad, skip to erase
[19.001]blk 477 is bad, skip to erase
[19.004]blk 478 is bad, skip to erase
[19.007]blk 479 is bad, skip to erase
[19.011]blk 480 is bad, skip to erase
[19.014]blk 481 is bad, skip to erase
[19.017]blk 482 is bad, skip to erase
[19.021]blk 483 is bad, skip to erase
[19.024]blk 484 is bad, skip to erase
[19.028]blk 485 is bad, skip to erase
[19.031]blk 486 is bad, skip to erase
[19.034]blk 487 is bad, skip to erase
[19.038]blk 488 is bad, skip to erase
[19.041]blk 489 is bad, skip to erase
[19.044]blk 490 is bad, skip to erase
[19.048]blk 491 is bad, skip to erase
[19.051]blk 492 is bad, skip to erase
[19.055]blk 493 is bad, skip to erase
[19.058]blk 494 is bad, skip to erase
[19.061]blk 495 is bad, skip to erase
[19.065]blk 496 is bad, skip to erase
[19.068]blk 497 is bad, skip to erase
[19.072]blk 498 is bad, skip to erase
[19.075]blk 499 is bad, skip to erase
[19.078]blk 500 is bad, skip to erase
[19.082]blk 501 is bad, skip to erase
[19.085]blk 502 is bad, skip to erase
[19.088]blk 503 is bad, skip to erase
[19.092]blk 504 is bad, skip to erase
[19.095]blk 505 is bad, skip to erase
[19.099]blk 506 is bad, skip to erase
[19.102]blk 507 is bad, skip to erase
[19.105]blk 508 is bad, skip to erase
[19.109]blk 509 is bad, skip to erase
[19.112]blk 510 is bad, skip to erase
[19.115]blk 511 is bad, skip to erase
[19.119]blk 512 is bad, skip to erase
[19.122]blk 513 is bad, skip to erase
[19.126]blk 514 is bad, skip to erase
[19.129]blk 515 is bad, skip to erase
[19.132]blk 516 is bad, skip to erase
[19.136]blk 517 is bad, skip to erase
[19.139]blk 518 is bad, skip to erase
[19.143]blk 519 is bad, skip to erase
[19.146]blk 520 is bad, skip to erase
[19.149]blk 521 is bad, skip to erase
[19.153]blk 522 is bad, skip to erase
[19.156]blk 523 is bad, skip to erase
[19.159]blk 524 is bad, skip to erase
[19.163]blk 525 is bad, skip to erase
[19.166]blk 526 is bad, skip to erase
[19.170]blk 527 is bad, skip to erase
[19.173]blk 528 is bad, skip to erase
[19.176]blk 529 is bad, skip to erase
[19.180]blk 530 is bad, skip to erase
[19.183]blk 531 is bad, skip to erase
[19.186]blk 532 is bad, skip to erase
[19.190]blk 533 is bad, skip to erase
[19.193]blk 534 is bad, skip to erase
[19.197]blk 535 is bad, skip to erase
[19.200]blk 536 is bad, skip to erase
[19.203]blk 537 is bad, skip to erase
[19.207]blk 538 is bad, skip to erase
[19.210]blk 539 is bad, skip to erase
[19.213]blk 540 is bad, skip to erase
[19.217]blk 541 is bad, skip to erase
[19.220]blk 542 is bad, skip to erase
[19.224]blk 543 is bad, skip to erase
[19.227]blk 544 is bad, skip to erase
[19.230]blk 545 is bad, skip to erase
[19.234]blk 546 is bad, skip to erase
[19.237]blk 547 is bad, skip to erase
[19.241]blk 548 is bad, skip to erase
[19.244]blk 549 is bad, skip to erase
[19.247]blk 550 is bad, skip to erase
[19.251]blk 551 is bad, skip to erase
[19.254]blk 552 is bad, skip to erase
[19.257]blk 553 is bad, skip to erase
[19.261]blk 554 is bad, skip to erase
[19.264]blk 555 is bad, skip to erase
[19.268]blk 556 is bad, skip to erase
[19.271]blk 557 is bad, skip to erase
[19.274]blk 558 is bad, skip to erase
[19.278]blk 559 is bad, skip to erase
[19.281]blk 560 is bad, skip to erase
[19.284]blk 561 is bad, skip to erase
[19.288]blk 562 is bad, skip to erase
[19.291]blk 563 is bad, skip to erase
[19.295]blk 564 is bad, skip to erase
[19.298]blk 565 is bad, skip to erase
[19.301]blk 566 is bad, skip to erase
[19.305]blk 567 is bad, skip to erase
[19.308]blk 568 is bad, skip to erase
[19.312]blk 569 is bad, skip to erase
[19.315]blk 570 is bad, skip to erase
[19.318]blk 571 is bad, skip to erase
[19.322]blk 572 is bad, skip to erase
[19.325]blk 573 is bad, skip to erase
[19.328]blk 574 is bad, skip to erase
[19.332]blk 575 is bad, skip to erase
[19.335]blk 576 is bad, skip to erase
[19.339]blk 577 is bad, skip to erase
[19.342]blk 578 is bad, skip to erase
[19.345]blk 579 is bad, skip to erase
[19.349]blk 580 is bad, skip to erase
[19.352]blk 581 is bad, skip to erase
[19.355]blk 582 is bad, skip to erase
[19.359]blk 583 is bad, skip to erase
[19.362]blk 584 is bad, skip to erase
[19.366]blk 585 is bad, skip to erase
[19.369]blk 586 is bad, skip to erase
[19.372]blk 587 is bad, skip to erase
[19.376]blk 588 is bad, skip to erase
[19.379]blk 589 is bad, skip to erase
[19.382]blk 590 is bad, skip to erase
[19.386]blk 591 is bad, skip to erase
[19.389]blk 592 is bad, skip to erase
[19.393]blk 593 is bad, skip to erase
[19.396]blk 594 is bad, skip to erase
[19.399]blk 595 is bad, skip to erase
[19.403]blk 596 is bad, skip to erase
[19.406]blk 597 is bad, skip to erase
[19.410]blk 598 is bad, skip to erase
[19.413]blk 599 is bad, skip to erase
[19.416]blk 600 is bad, skip to erase
[19.420]blk 601 is bad, skip to erase
[19.423]blk 602 is bad, skip to erase
[19.426]blk 603 is bad, skip to erase
[19.430]blk 604 is bad, skip to erase
[19.433]blk 605 is bad, skip to erase
[19.437]blk 606 is bad, skip to erase
[19.440]blk 607 is bad, skip to erase
[19.443]blk 608 is bad, skip to erase
[19.447]blk 609 is bad, skip to erase
[19.450]blk 610 is bad, skip to erase
[19.453]blk 611 is bad, skip to erase
[19.457]blk 612 is bad, skip to erase
[19.460]blk 613 is bad, skip to erase
[19.464]blk 614 is bad, skip to erase
[19.467]blk 615 is bad, skip to erase
[19.470]blk 616 is bad, skip to erase
[19.474]blk 617 is bad, skip to erase
[19.477]blk 618 is bad, skip to erase
[19.481]blk 619 is bad, skip to erase
[19.484]blk 620 is bad, skip to erase
[19.487]blk 621 is bad, skip to erase
[19.491]blk 622 is bad, skip to erase
[19.494]blk 623 is bad, skip to erase
[19.497]blk 624 is bad, skip to erase
[19.501]blk 625 is bad, skip to erase
[19.504]blk 626 is bad, skip to erase
[19.508]blk 627 is bad, skip to erase
[19.511]blk 628 is bad, skip to erase
[19.514]blk 629 is bad, skip to erase
[19.518]blk 630 is bad, skip to erase
[19.521]blk 631 is bad, skip to erase
[19.524]blk 632 is bad, skip to erase
[19.528]blk 633 is bad, skip to erase
[19.531]blk 634 is bad, skip to erase
[19.535]blk 635 is bad, skip to erase
[19.538]blk 636 is bad, skip to erase
[19.541]blk 637 is bad, skip to erase
[19.545]blk 638 is bad, skip to erase
[19.548]blk 639 is bad, skip to erase
[19.551]blk 640 is bad, skip to erase
[19.555]blk 641 is bad, skip to erase
[19.558]blk 642 is bad, skip to erase
[19.562]blk 643 is bad, skip to erase
[19.565]blk 644 is bad, skip to erase
[19.568]blk 645 is bad, skip to erase
[19.572]blk 646 is bad, skip to erase
[19.575]blk 647 is bad, skip to erase
[19.579]blk 648 is bad, skip to erase
[19.582]blk 649 is bad, skip to erase
[19.585]blk 650 is bad, skip to erase
[19.589]blk 651 is bad, skip to erase
[19.592]blk 652 is bad, skip to erase
[19.595]blk 653 is bad, skip to erase
[19.599]blk 654 is bad, skip to erase
[19.602]blk 655 is bad, skip to erase
[19.606]blk 656 is bad, skip to erase
[19.609]blk 657 is bad, skip to erase
[19.612]blk 658 is bad, skip to erase
[19.616]blk 659 is bad, skip to erase
[19.619]blk 660 is bad, skip to erase
[19.622]blk 661 is bad, skip to erase
[19.626]blk 662 is bad, skip to erase
[19.629]blk 663 is bad, skip to erase
[19.633]blk 664 is bad, skip to erase
[19.636]blk 665 is bad, skip to erase
[19.639]blk 666 is bad, skip to erase
[19.643]blk 667 is bad, skip to erase
[19.646]blk 668 is bad, skip to erase
[19.650]blk 669 is bad, skip to erase
[19.653]blk 670 is bad, skip to erase
[19.656]blk 671 is bad, skip to erase
[19.660]blk 672 is bad, skip to erase
[19.663]blk 673 is bad, skip to erase
[19.666]blk 674 is bad, skip to erase
[19.670]blk 675 is bad, skip to erase
[19.673]blk 676 is bad, skip to erase
[19.677]blk 677 is bad, skip to erase
[19.680]blk 678 is bad, skip to erase
[19.683]blk 679 is bad, skip to erase
[19.687]blk 680 is bad, skip to erase
[19.690]blk 681 is bad, skip to erase
[19.693]blk 682 is bad, skip to erase
[19.697]blk 683 is bad, skip to erase
[19.700]blk 684 is bad, skip to erase
[19.704]blk 685 is bad, skip to erase
[19.707]blk 686 is bad, skip to erase
[19.710]blk 687 is bad, skip to erase
[19.714]blk 688 is bad, skip to erase
[19.717]blk 689 is bad, skip to erase
[19.720]blk 690 is bad, skip to erase
[19.724]blk 691 is bad, skip to erase
[19.727]blk 692 is bad, skip to erase
[19.731]blk 693 is bad, skip to erase
[19.734]blk 694 is bad, skip to erase
[19.737]blk 695 is bad, skip to erase
[19.741]blk 696 is bad, skip to erase
[19.744]blk 697 is bad, skip to erase
[19.748]blk 698 is bad, skip to erase
[19.751]blk 699 is bad, skip to erase
[19.754]blk 700 is bad, skip to erase
[19.758]blk 701 is bad, skip to erase
[19.761]blk 702 is bad, skip to erase
[19.764]blk 703 is bad, skip to erase
[19.768]blk 704 is bad, skip to erase
[19.771]blk 705 is bad, skip to erase
[19.775]blk 706 is bad, skip to erase
[19.778]blk 707 is bad, skip to erase
[19.781]blk 708 is bad, skip to erase
[19.785]blk 709 is bad, skip to erase
[19.788]blk 710 is bad, skip to erase
[19.791]blk 711 is bad, skip to erase
[19.795]blk 712 is bad, skip to erase
[19.798]blk 713 is bad, skip to erase
[19.802]blk 714 is bad, skip to erase
[19.805]blk 715 is bad, skip to erase
[19.808]blk 716 is bad, skip to erase
[19.812]blk 717 is bad, skip to erase
[19.815]blk 718 is bad, skip to erase
[19.819]blk 719 is bad, skip to erase
[19.822]blk 720 is bad, skip to erase
[19.825]blk 721 is bad, skip to erase
[19.829]blk 722 is bad, skip to erase
[19.832]blk 723 is bad, skip to erase
[19.835]blk 724 is bad, skip to erase
[19.839]blk 725 is bad, skip to erase
[19.842]blk 726 is bad, skip to erase
[19.846]blk 727 is bad, skip to erase
[19.849]blk 728 is bad, skip to erase
[19.852]blk 729 is bad, skip to erase
[19.856]blk 730 is bad, skip to erase
[19.859]blk 731 is bad, skip to erase
[19.862]blk 732 is bad, skip to erase
[19.866]blk 733 is bad, skip to erase
[19.869]blk 734 is bad, skip to erase
[19.873]blk 735 is bad, skip to erase
[19.876]blk 736 is bad, skip to erase
[19.879]blk 737 is bad, skip to erase
[19.883]blk 738 is bad, skip to erase
[19.886]blk 739 is bad, skip to erase
[19.889]blk 740 is bad, skip to erase
[19.893]blk 741 is bad, skip to erase
[19.896]blk 742 is bad, skip to erase
[19.900]blk 743 is bad, skip to erase
[19.903]blk 744 is bad, skip to erase
[19.906]blk 745 is bad, skip to erase
[19.910]blk 746 is bad, skip to erase
[19.913]blk 747 is bad, skip to erase
[19.917]blk 748 is bad, skip to erase
[19.920]blk 749 is bad, skip to erase
[19.923]blk 750 is bad, skip to erase
[19.927]blk 751 is bad, skip to erase
[19.930]blk 752 is bad, skip to erase
[19.933]blk 753 is bad, skip to erase
[19.937]blk 754 is bad, skip to erase
[19.940]blk 755 is bad, skip to erase
[19.944]blk 756 is bad, skip to erase
[19.947]blk 757 is bad, skip to erase
[19.950]blk 758 is bad, skip to erase
[19.954]blk 759 is bad, skip to erase
[19.957]blk 760 is bad, skip to erase
[19.960]blk 761 is bad, skip to erase
[19.964]blk 762 is bad, skip to erase
[19.967]blk 763 is bad, skip to erase
[19.971]blk 764 is bad, skip to erase
[19.974]blk 765 is bad, skip to erase
[19.977]blk 766 is bad, skip to erase
[19.981]blk 767 is bad, skip to erase
[19.984]blk 768 is bad, skip to erase
[19.988]blk 769 is bad, skip to erase
[19.991]blk 770 is bad, skip to erase
[19.994]blk 771 is bad, skip to erase
[19.998]blk 772 is bad, skip to erase
[20.001]blk 773 is bad, skip to erase
[20.004]blk 774 is bad, skip to erase
[20.008]blk 775 is bad, skip to erase
[20.011]blk 776 is bad, skip to erase
[20.015]blk 777 is bad, skip to erase
[20.018]blk 778 is bad, skip to erase
[20.021]blk 779 is bad, skip to erase
[20.025]blk 780 is bad, skip to erase
[20.028]blk 781 is bad, skip to erase
[20.031]blk 782 is bad, skip to erase
[20.035]blk 783 is bad, skip to erase
[20.038]blk 784 is bad, skip to erase
[20.042]blk 785 is bad, skip to erase
[20.045]blk 786 is bad, skip to erase
[20.048]blk 787 is bad, skip to erase
[20.052]blk 788 is bad, skip to erase
[20.055]blk 789 is bad, skip to erase
[20.058]blk 790 is bad, skip to erase
[20.062]blk 791 is bad, skip to erase
[20.065]blk 792 is bad, skip to erase
[20.069]blk 793 is bad, skip to erase
[20.072]blk 794 is bad, skip to erase
[20.075]blk 795 is bad, skip to erase
[20.079]blk 796 is bad, skip to erase
[20.082]blk 797 is bad, skip to erase
[20.086]blk 798 is bad, skip to erase
[20.089]blk 799 is bad, skip to erase
[20.092]blk 800 is bad, skip to erase
[20.096]blk 801 is bad, skip to erase
[20.099]blk 802 is bad, skip to erase
[20.102]blk 803 is bad, skip to erase
[20.106]blk 804 is bad, skip to erase
[20.109]blk 805 is bad, skip to erase
[20.113]blk 806 is bad, skip to erase
[20.116]blk 807 is bad, skip to erase
[20.119]blk 808 is bad, skip to erase
[20.123]blk 809 is bad, skip to erase
[20.126]blk 810 is bad, skip to erase
[20.129]blk 811 is bad, skip to erase
[20.133]blk 812 is bad, skip to erase
[20.136]blk 813 is bad, skip to erase
[20.140]blk 814 is bad, skip to erase
[20.143]blk 815 is bad, skip to erase
[20.146]blk 816 is bad, skip to erase
[20.150]blk 817 is bad, skip to erase
[20.153]blk 818 is bad, skip to erase
[20.157]blk 819 is bad, skip to erase
[20.160]blk 820 is bad, skip to erase
[20.163]blk 821 is bad, skip to erase
[20.167]blk 822 is bad, skip to erase
[20.170]blk 823 is bad, skip to erase
[20.173]blk 824 is bad, skip to erase
[20.177]blk 825 is bad, skip to erase
[20.180]blk 826 is bad, skip to erase
[20.184]blk 827 is bad, skip to erase
[20.187]blk 828 is bad, skip to erase
[20.190]blk 829 is bad, skip to erase
[20.194]blk 830 is bad, skip to erase
[20.197]blk 831 is bad, skip to erase
[20.200]blk 832 is bad, skip to erase
[20.204]blk 833 is bad, skip to erase
[20.207]blk 834 is bad, skip to erase
[20.211]blk 835 is bad, skip to erase
[20.214]blk 836 is bad, skip to erase
[20.217]blk 837 is bad, skip to erase
[20.221]blk 838 is bad, skip to erase
[20.224]blk 839 is bad, skip to erase
[20.227]blk 840 is bad, skip to erase
[20.231]blk 841 is bad, skip to erase
[20.234]blk 842 is bad, skip to erase
[20.238]blk 843 is bad, skip to erase
[20.241]blk 844 is bad, skip to erase
[20.244]blk 845 is bad, skip to erase
[20.248]blk 846 is bad, skip to erase
[20.251]blk 847 is bad, skip to erase
[20.255]blk 848 is bad, skip to erase
[20.258]blk 849 is bad, skip to erase
[20.261]blk 850 is bad, skip to erase
[20.265]blk 851 is bad, skip to erase
[20.268]blk 852 is bad, skip to erase
[20.271]blk 853 is bad, skip to erase
[20.275]blk 854 is bad, skip to erase
[20.278]blk 855 is bad, skip to erase
[20.282]blk 856 is bad, skip to erase
[20.285]blk 857 is bad, skip to erase
[20.288]blk 858 is bad, skip to erase
[20.292]blk 859 is bad, skip to erase
[20.295]blk 860 is bad, skip to erase
[20.298]blk 861 is bad, skip to erase
[20.302]blk 862 is bad, skip to erase
[20.305]blk 863 is bad, skip to erase
[20.309]blk 864 is bad, skip to erase
[20.312]blk 865 is bad, skip to erase
[20.315]blk 866 is bad, skip to erase
[20.319]blk 867 is bad, skip to erase
[20.322]blk 868 is bad, skip to erase
[20.326]blk 869 is bad, skip to erase
[20.329]blk 870 is bad, skip to erase
[20.332]blk 871 is bad, skip to erase
[20.336]blk 872 is bad, skip to erase
[20.339]blk 873 is bad, skip to erase
[20.342]blk 874 is bad, skip to erase
[20.346]blk 875 is bad, skip to erase
[20.349]blk 876 is bad, skip to erase
[20.353]blk 877 is bad, skip to erase
[20.356]blk 878 is bad, skip to erase
[20.359]blk 879 is bad, skip to erase
[20.363]blk 880 is bad, skip to erase
[20.366]blk 881 is bad, skip to erase
[20.369]blk 882 is bad, skip to erase
[20.373]blk 883 is bad, skip to erase
[20.376]blk 884 is bad, skip to erase
[20.380]blk 885 is bad, skip to erase
[20.383]blk 886 is bad, skip to erase
[20.386]blk 887 is bad, skip to erase
[20.390]blk 888 is bad, skip to erase
[20.393]blk 889 is bad, skip to erase
[20.396]blk 890 is bad, skip to erase
[20.400]blk 891 is bad, skip to erase
[20.403]blk 892 is bad, skip to erase
[20.407]blk 893 is bad, skip to erase
[20.410]blk 894 is bad, skip to erase
[20.413]blk 895 is bad, skip to erase
[20.417]blk 896 is bad, skip to erase
[20.420]blk 897 is bad, skip to erase
[20.424]blk 898 is bad, skip to erase
[20.427]blk 899 is bad, skip to erase
[20.430]blk 900 is bad, skip to erase
[20.434]blk 901 is bad, skip to erase
[20.437]blk 902 is bad, skip to erase
[20.440]blk 903 is bad, skip to erase
[20.444]blk 904 is bad, skip to erase
[20.447]blk 905 is bad, skip to erase
[20.451]blk 906 is bad, skip to erase
[20.454]blk 907 is bad, skip to erase
[20.457]blk 908 is bad, skip to erase
[20.461]blk 909 is bad, skip to erase
[20.464]blk 910 is bad, skip to erase
[20.467]blk 911 is bad, skip to erase
[20.471]blk 912 is bad, skip to erase
[20.474]blk 913 is bad, skip to erase
[20.478]blk 914 is bad, skip to erase
[20.481]blk 915 is bad, skip to erase
[20.484]blk 916 is bad, skip to erase
[20.488]blk 917 is bad, skip to erase
[20.491]blk 918 is bad, skip to erase
[20.495]blk 919 is bad, skip to erase
[20.498]blk 920 is bad, skip to erase
[20.501]blk 921 is bad, skip to erase
[20.505]blk 922 is bad, skip to erase
[20.508]blk 923 is bad, skip to erase
[20.511]blk 924 is bad, skip to erase
[20.515]blk 925 is bad, skip to erase
[20.518]blk 926 is bad, skip to erase
[20.522]blk 927 is bad, skip to erase
[20.525]blk 928 is bad, skip to erase
[20.528]blk 929 is bad, skip to erase
[20.532]blk 930 is bad, skip to erase
[20.535]blk 931 is bad, skip to erase
[20.538]blk 932 is bad, skip to erase
[20.542]blk 933 is bad, skip to erase
[20.545]blk 934 is bad, skip to erase
[20.549]blk 935 is bad, skip to erase
[20.552]blk 936 is bad, skip to erase
[20.555]blk 937 is bad, skip to erase
[20.559]blk 938 is bad, skip to erase
[20.562]blk 939 is bad, skip to erase
[20.565]blk 940 is bad, skip to erase
[20.569]blk 941 is bad, skip to erase
[20.572]blk 942 is bad, skip to erase
[20.576]blk 943 is bad, skip to erase
[20.579]blk 944 is bad, skip to erase
[20.582]blk 945 is bad, skip to erase
[20.586]blk 946 is bad, skip to erase
[20.589]blk 947 is bad, skip to erase
[20.593]blk 948 is bad, skip to erase
[20.596]blk 949 is bad, skip to erase
[20.599]blk 950 is bad, skip to erase
[20.603]blk 951 is bad, skip to erase
[20.606]blk 952 is bad, skip to erase
[20.609]blk 953 is bad, skip to erase
[20.613]blk 954 is bad, skip to erase
[20.616]blk 955 is bad, skip to erase
[20.620]blk 956 is bad, skip to erase
[20.623]blk 957 is bad, skip to erase
[20.626]blk 958 is bad, skip to erase
[20.630]blk 959 is bad, skip to erase
[20.633]blk 960 is bad, skip to erase
[20.636]blk 961 is bad, skip to erase
[20.640]blk 962 is bad, skip to erase
[20.643]blk 963 is bad, skip to erase
[20.647]blk 964 is bad, skip to erase
[20.650]blk 965 is bad, skip to erase
[20.653]blk 966 is bad, skip to erase
[20.657]blk 967 is bad, skip to erase
[20.660]blk 968 is bad, skip to erase
[20.664]blk 969 is bad, skip to erase
[20.667]blk 970 is bad, skip to erase
[20.670]blk 971 is bad, skip to erase
[20.674]blk 972 is bad, skip to erase
[20.677]blk 973 is bad, skip to erase
[20.680]blk 974 is bad, skip to erase
[20.684]blk 975 is bad, skip to erase
[20.687]blk 976 is bad, skip to erase
[20.691]blk 977 is bad, skip to erase
[20.694]blk 978 is bad, skip to erase
[20.697]blk 979 is bad, skip to erase
[20.701]blk 980 is bad, skip to erase
[20.704]blk 981 is bad, skip to erase
[20.707]blk 982 is bad, skip to erase
[20.711]blk 983 is bad, skip to erase
[20.714]blk 984 is bad, skip to erase
[20.718]blk 985 is bad, skip to erase
[20.721]blk 986 is bad, skip to erase
[20.724]blk 987 is bad, skip to erase
[20.728]blk 988 is bad, skip to erase
[20.731]blk 989 is bad, skip to erase
[20.734]blk 990 is bad, skip to erase
[20.738]blk 991 is bad, skip to erase
[20.741]blk 992 is bad, skip to erase
[20.745]blk 993 is bad, skip to erase
[20.748]blk 994 is bad, skip to erase
[20.751]blk 995 is bad, skip to erase
[20.755]blk 996 is bad, skip to erase
[20.758]blk 997 is bad, skip to erase
[20.762]blk 998 is bad, skip to erase
[20.765]blk 999 is bad, skip to erase
[20.768]blk 1000 is bad, skip to erase
[20.772]blk 1001 is bad, skip to erase
[20.775]blk 1002 is bad, skip to erase
[20.779]blk 1003 is bad, skip to erase
[20.782]blk 1004 is bad, skip to erase
[20.786]blk 1005 is bad, skip to erase
[20.789]blk 1006 is bad, skip to erase
[20.793]blk 1007 is bad, skip to erase
[20.796]blk 1008 is bad, skip to erase
[20.799]blk 1009 is bad, skip to erase
[20.803]blk 1010 is bad, skip to erase
[20.806]blk 1011 is bad, skip to erase
[20.810]blk 1012 is bad, skip to erase
[20.813]blk 1013 is bad, skip to erase
[20.817]blk 1014 is bad, skip to erase
[20.820]blk 1015 is bad, skip to erase
[20.824]blk 1016 is bad, skip to erase
[20.827]blk 1017 is bad, skip to erase
[20.831]blk 1018 is bad, skip to erase
[20.834]blk 1019 is bad, skip to erase
[20.838]blk 1020 is bad, skip to erase
[20.841]blk 1021 is bad, skip to erase
[20.845]blk 1022 is bad, skip to erase
[20.848]blk 1023 is bad, skip to erase
[20.851]get secure storage map err
[20.855]erase secure storage block 0 err
[20.862]The partition nonsupport be initialized using the device tree
[20.868]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage),128k@5242880(boot_param)ro,-(sys)
device nand0 <nand>, # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 0
3: boot_param 0x00020000 0x00500000 1
4: sys 0x07ae0000 0x00520000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage),128k@5242880(boot_param)ro,-(sys)
[20.931]MTD info (5)
[20.932]pagesize: 0x800
[20.935]blksize: 0x20000
[20.937]num offset bytes name
[20.940]0 0x00000000 0x00100000 boot0
[20.944]1 0x00100000 0x00300000 uboot
[20.948]2 0x00400000 0x00100000 secure_storage
[20.952]3 0x00500000 0x00020000 boot_param
[20.956]4 0x00520000 0x07ae0000 sys
[20.960]ubi attach the last part of mtd device: NO.4
[20.980]ubi0: attaching mtd5
[20.998]ubi0: scanning is finished
[21.001]ubi0: empty MTD device detected
[21.007]ubi0 error: ubi_early_get_peb: no free eraseblocks
[21.012]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -28
[21.018]UBI error: cannot attach mtd5
[21.022]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[21.034]ubi part sys err !
SUNXI_EFEX_MBR_TAG
mbr size = 0x10000
force mbr
device nand0 <nand>, # parts = 5
#: name size offset mask_flags
0: boot0 0x00100000 0x00000000 1
1: uboot 0x00300000 0x00100000 1
2: secure_storage 0x00100000 0x00400000 0
3: boot_param 0x00020000 0x00500000 1
4: sys 0x07ae0000 0x00520000 0
active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000
defaults:
mtdids : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage),128k@5242880(boot_param)ro,-(sys)
[21.090]MTD info (5)
[21.092]pagesize: 0x800
[21.094]blksize: 0x20000
[21.096]num offset bytes name
[21.100]0 0x00000000 0x00100000 boot0
[21.103]1 0x00100000 0x00300000 uboot
[21.107]2 0x00400000 0x00100000 secure_storage
[21.111]3 0x00500000 0x00020000 boot_param
[21.115]4 0x00520000 0x07ae0000 sys
[21.119]MBR info (unalign):
[21.121]partno addr sects type name
[21.126]0 0x00000000 0x00008000 0x00000001 mbr
[21.131]1 0x00008000 0x000001f8 0x00008000 boot-resource
[21.137]2 0x000081f8 0x000001f8 0x00008000 env
[21.141]3 0x000083f0 0x00003330 0x00008000 bootA
[21.146]4 0x0000b720 0x0000d2a8 0x00008000 rootfsA
[21.151]5 0x000189c8 0x00003330 0x00008000 bootB
[21.156]6 0x0001bcf8 0x0000d2a8 0x00008000 rootfsB
[21.162]7 0x00028fa0 0x000001f8 0x00008000 Reserve0
[21.167]8 0x00029198 0x00002958 0x00008000 rootfs_data
[21.172]9 0x0002baf0 0x00000000 0x00000000 UDISK
[21.177]ubi attach the last part of mtd device: NO.4
[21.182]MBR info (align):
[21.184]partno addr sects type name
[21.189]0 0x00002900 0x000080d8 0x00000001 mbr
[21.194]1 0x0000a9d8 0x000002e8 0x00008000 boot-resource
[21.199]2 0x0000acc0 0x000002e8 0x00008000 env
[21.204]3 0x0000afa8 0x00003358 0x00008000 bootA
[21.209]4 0x0000e300 0x0000d330 0x00008000 rootfsA
[21.214]5 0x0001b630 0x00003358 0x00008000 bootB
[21.219]6 0x0001e988 0x0000d330 0x00008000 rootfsB
[21.224]7 0x0002bcb8 0x000002e8 0x00008000 Reserve0
[21.229]8 0x0002bfa0 0x000029a8 0x00008000 rootfs_data
[21.235]9 0x0002e948 0x00000000 0x00000000 UDISK
[21.240]ubi attach the last part of mtd device: NO.4
[21.245]ubi attatch mtd, name: sys
[21.248]ubi0: attaching mtd5
[21.266]ubi0: scanning is finished
[21.269]ubi0: empty MTD device detected
[21.274]ubi0 error: ubi_early_get_peb: no free eraseblocks
[21.279]ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -28
[21.286]UBI error: cannot attach mtd5
[21.289]UBI error: cannot initialize UBI, error -28
UBI init error 28
Please check, if the correct MTD partition is used (size big enough?)
[21.302]ubi part sys err !
[21.304]initialize sunxi spinand ubi failed
download_standard_gpt:write mbr sectors fail ret = 0失败?
/*
*usb_port_type: usb mode. 0-device, 1-host, 2-otg.
*usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect.
*usb_detect_mode: 0-thread scan, 1-id gpio interrupt.
*usb_id_gpio: gpio for id detect.
*usb_det_vbus_gpio: gpio for id detect. gpio or "axp_ctrl";
*usb_wakeup_suspend:0-SUPER_STANDBY, 1-USB_STANDBY.
*/
&usbc0 {
device_type = "usbc0";
usb_port_type = <0x2>;
usb_detect_type = <0x1>;
usb_detect_mode = <0>;
usb_id_gpio = <&pio PD 21 GPIO_ACTIVE_HIGH>;
enable-active-high;
usb_det_vbus_gpio = <&pio PD 20 GPIO_ACTIVE_HIGH>;
usb_wakeup_suspend = <1>;
usb_serial_unique = <0>;
usb_serial_number = "20080411";
rndis_wceis = <1>;
status = "okay";
};
&usbc1 {
device_type = "usbc1";
usb_regulator_io = "nocare";
usb_wakeup_suspend = <1>;
status = "okay";
};usb_wakeup_suspend 改成 1 也没效果,始终不能USB唤醒。
挺朋友说这块做了costdown,没有办法用USB唤醒,只能外接检测芯片接GPIO唤醒?
查看唤醒源:
# cat /sys/power/pm_wakeup_irq
128# cat /sys/class/wakeup/wakeup0/name
2009800.keyboard
#
#
# cat /sys/class/wakeup/wakeup1/name
usb_connecting
#
#
#
# cat /sys/class/wakeup/wakeup2/name
7090000.rtc
#
#
# cat /sys/class/wakeup/wakeup3/name
alarmtimer
#
#
# cat /sys/class/wakeup/wakeup4/name
bluesleep
#
#
# cat /sys/class/wakeup/wakeup5/name
gpio-keys
## cat /sys/kernel/debug/wakeup_sources
name active_count event_count wakeup_count expire_count active_since total_time max_time last_change prevent_suspend_time
gpio-keys 1 8 0 0 0 75 75 607400 0
bluesleep 0 0 0 0 0 0 0 0 0
alarmtimer 0 0 0 0 0 0 0 0 0
7090000.rtc 2 2 0 0 0 0 0 505168 0
usb_connecting 1 2 0 0 0 164017 164017 208465 0
2009800.keyboard 0 0 0 0 0 0 0 0 0
deleted 0 0 0 0 0 0 0 0 0
#
#这个哪吒开发板OTG口,插电脑作MTP不能唤醒,插U盘也不能唤醒。
[142]HELLO! BOOT0 is starting!
[144]BOOT0 commit : 88480af-dirty
[148]set pll start
[150]fix vccio detect value:0xc0
[153]periph0 has been enabled
[156]set pll end
[157][pmu]: bus read error
[160]board init ok
[162]get_pmu_exist() = -1
[164]DRAM BOOT DRIVE INFO: V0.33
[167]DRAM CLK = 792 MHz
[169]DRAM Type = 3 (2:DDR2,3:DDR3)
[172]DRAMC ZQ value: 0x7b7bfb
[175]DRAM ODT value: 0x42.
[178]ddr_efuse_type: 0x0
[181]DRAM SIZE =1024 M
[183]dram_tpr4:0x0
[185]PLL_DDR_CTRL_REG:0xf8004100
[188]DRAM_CLK_REG:0xc0000000
[190][TIMING DEBUG] MR2= 0x18
[193]DRAM simple test FAIL.
[196]feccba88 != fedcba98 at address 60000000
[200]init dram fail
[1141]fes begin commit:88480af-dirty
[1144]set pll start
[1146]periph0 has been enabled
[1149]set pll end
[1151][pmu]: bus read error
[1153]board init ok
[1155]beign to init dram
[1157]get_pmu_exist() = -1
[1160]ddr_efuse_type: 0x0
[1162]trefi:7.8ms
[1165][AUTO DEBUG] two rank and full DQ!
[1169]ddr_efuse_type: 0x0
[1171]trefi:7.8ms
[1174][AUTO DEBUG] rank 0 row = 16
[1177][AUTO DEBUG] rank 0 bank = 8
[1180][AUTO DEBUG] rank 0 page size = 8 KB
[1184][AUTO DEBUG] rank 1 row = 16
[1187][AUTO DEBUG] rank 1 bank = 8
[1190][AUTO DEBUG] rank 1 page size = 8 KB
[1194]rank1 config same as rank0
[1197]DRAM BOOT DRIVE INFO: V0.33
[1200]DRAM CLK = 792 MHz
[1203]DRAM Type = 3 (2:DDR2,3:DDR3)
[1206]DRAMC ZQ value: 0x7b7bfb
[1209]DRAM ODT value: 0x42.
[1211]ddr_efuse_type: 0x0
[1214]DRAM SIZE =8192 M
[1217]dram_tpr4:0x0
[1218]PLL_DDR_CTRL_REG:0xf8004100
[1221]DRAM_CLK_REG:0xc0000000
[1224][TIMING DEBUG] MR2= 0x18
[1227]DRAM simple test FAIL.
[1230]feccc088 != fedcba98 at address 40000000
[1234]init dram fail请问是什么问题呢?
LD drivers/soc/built-in.o
CC drivers/usb/sunxi_usb/udc/sunxi_udc.o
drivers/usb/sunxi_usb/udc/sunxi_udc.c: In function 'sunxi_udc_dma_completion':
drivers/usb/sunxi_usb/udc/sunxi_udc.c:1440:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(USBC_Dev_IsWriteDataReady_FifoEmpty(dev->sunxi_udc_io->usb_bsp_hdle, USBC_EP_TYPE_TX));
^~~~~
drivers/usb/sunxi_usb/udc/sunxi_udc.c:1441:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
USBC_Dev_ClearEpDma(dev->sunxi_udc_io->usb_bsp_hdle, USBC_EP_TYPE_TX);
^~~~~~~~~~~~~~~~~~~
drivers/usb/sunxi_usb/udc/sunxi_udc.c:1497:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(USBC_Dev_IsWriteDataReady_FifoEmpty(dev->sunxi_udc_io->usb_bsp_hdle, USBC_EP_TYPE_TX));
^~~~~
drivers/usb/sunxi_usb/udc/sunxi_udc.c:1498:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
sunxi_udc_write_fifo(ep, req_next);
^~~~~~~~~~~~~~~~~~~~
At top level:
drivers/usb/sunxi_usb/udc/sunxi_udc.c:59:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
static const char driver_desc[] = DRIVER_DESC;
^~~~~~~~~~~
LD drivers/usb/sunxi_usb/sunxi_usb_hcd0.o
LD drivers/usb/sunxi_usb/sunxi_usbc.o
LD drivers/usb/sunxi_usb/sunxi_usb_udc.o
LD drivers/usb/sunxi_usb/built-in.o
LD drivers/built-in.o
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
LZO arch/arm/boot/compressed/piggy.lzo
AS arch/arm/boot/compressed/piggy.lzo.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 14 modules
LD [M] drivers/usb/gadget/g_mass_storage.ko
LD [M] drivers/usb/gadget/libcomposite.ko
make[4]: Leaving directory '/opt/tina_3.5.2/lichee/linux-3.10'搞定
KSYM .tmp_kallsyms1.o
KSYM .tmp_kallsyms2.o
LD vmlinux
SORTEX vmlinux
SYSMAP System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
LZO arch/arm/boot/compressed/piggy.lzo
AS arch/arm/boot/compressed/piggy.lzo.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 14 modules
ERROR: "vfs_read_flag" [drivers/usb/gadget/g_mass_storage.ko] undefined!
ERROR: "vfs_amount" [drivers/usb/gadget/g_mass_storage.ko] undefined!
ERROR: "vfs_file_offset" [drivers/usb/gadget/g_mass_storage.ko] undefined!
ERROR: "vfs_write_flag" [drivers/usb/gadget/g_mass_storage.ko] undefined!
/opt/tina_3.5.2/lichee/linux-3.10/scripts/Makefile.modpost:88: recipe for target '__modpost' failed
make[5]: *** [__modpost] Error 1
Makefile:948: recipe for target 'modules' failed
make[4]: *** [modules] Error 2
make[4]: Leaving directory '/opt/tina_3.5.2/lichee/linux-3.10'
Makefile:26: recipe for target '/opt/tina_3.5.2/out/c200s-lift_info_v1/compile_dir/target/linux-c200s-lift_info_v1/linux-3.10.65/.image' failed
make[3]: *** [/opt/tina_3.5.2/out/c200s-lift_info_v1/compile_dir/target/linux-c200s-lift_info_v1/linux-3.10.65/.image] Error 2
make[3]: Leaving directory '/opt/tina_3.5.2/target/allwinner/c200s-lift_info_v1'
Makefile:13: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/opt/tina_3.5.2/target/allwinner'
target/Makefile:21: recipe for target 'target/allwinner/install' failed
make[1]: *** [target/allwinner/install] Error 2
make[1]: Leaving directory '/opt/tina_3.5.2'
/opt/tina_3.5.2/build/toplevel.mk:304: recipe for target 'target/allwinner/install' failed
make: *** [target/allwinner/install] Error 2
#### make failed to build some targets (21 seconds) ####可能和DRAM内存频率有关系,从792M降低到600M貌似正常多了。
ILI9881C 可以用 mipi cmd 读取 id
static void LCD_panel_try_switch(u32 sel)
{
u8 result[16] = {0};
u32 num = 0;
sunxi_lcd_delay_ms(100);
sunxi_lcd_dsi_dcs_write_3para(sel, 0xFF, 0x98, 0x81, 0x01); //切换到page1
sunxi_lcd_delay_ms(10);
sunxi_lcd_dsi_set_max_ret_size(sel, 3);
sunxi_lcd_dsi_dcs_read(sel, 0x00, result, &num);//读寄存器0
printf("^^^^^^^^^^^^^^^get lcd id 0x%x, num=%d\n", result[0], num);
sunxi_lcd_dsi_dcs_read(sel, 0x01, result, &num);//读寄存器1
printf("^^^^^^^^^^^^^^^get lcd id 0x%x, num=%d\n", result[0], num);
sunxi_lcd_dsi_dcs_read(sel, 0x02, result, &num);//读寄存器2
printf("^^^^^^^^^^^^^^^get lcd id 0x%x, num=%d\n", result[0], num);
}日志:
[00.363]drv_disp_init finish
[00.368]Loading Environment from SUNXI_FLASH... OK
[00.417]boot_gui_init:start
partno erro : can't find partition Reserve0
^^^^^^^^^^^^^^^get lcd id 0x98, num=1
^^^^^^^^^^^^^^^get lcd id 0x81, num=1
^^^^^^^^^^^^^^^get lcd id 0x1c, num=1
lcd 636 init ...............................
[00.831]LCD open finishbrandy/brandy-2.0/u-boot-2018/arch/arm/dts/sun8iw20p1-soc-system.dts
添加:
lcd0_1: lcd0_1@5461000 {
};device/config/chips/t113_s4/configs/pt1/uboot-board.dts
添加lcd配置
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "lcd_639";
lcd_backlight = <100>;
lcd_if = <4>;
lcd_x = <800>;
lcd_y = <1280>;
lcd_width = <52>;
lcd_height = <52>;
lcd_dclk_freq = <72>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <4>;
lcd_pwm_freq = <1000>;
lcd_pwm_pol = <0>;
lcd_pwm_max_limit = <255>;
lcd_hbp = <50>;
lcd_ht = <895>;
lcd_hspw = <4>;
lcd_vbp = <30>;
lcd_vt = <1340>;
lcd_vspw = <4>;
lcd_dsi_if = <0>;
lcd_dsi_lane = <4>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <0>;
lcd_lvds_mode = <0>;
lcd_frm = <0>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
lcd_fsync_en = <0>;
lcd_fsync_act_time = <1000>;
lcd_fsync_dis_time = <1000>;
lcd_fsync_pol = <0>;
deu_mode = <0>;
lcdgamma4iep = <22>;
smart_color = <90>;
lcd_gpio_0 = <&pio PD 21 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&dsi4lane_pins_a>;
pinctrl-1 = <&dsi4lane_pins_b>;
};
&lcd0_1 {
lcd_used = <1>;
lcd_driver_name = "lcd_630";
lcd_backlight = <100>;
lcd_if = <4>;
lcd_x = <720>;
lcd_y = <1280>;
lcd_width = <52>;
lcd_height = <52>;
lcd_dclk_freq = <68>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <4>;
lcd_pwm_freq = <1000>;
lcd_pwm_pol = <0>;
lcd_pwm_max_limit = <255>;
lcd_hbp = <64>;
lcd_ht = <820>;
lcd_hspw = <4>;
lcd_vbp = <30>;
lcd_vt = <1380>;
lcd_vspw = <4>;
lcd_dsi_if = <0>;
lcd_dsi_lane = <4>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <0>;
lcd_lvds_mode = <0>;
lcd_frm = <0>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_io_phase = <0x0000>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
lcd_fsync_en = <0>;
lcd_fsync_act_time = <1000>;
lcd_fsync_dis_time = <1000>;
lcd_fsync_pol = <0>;
deu_mode = <0>;
lcdgamma4iep = <22>;
smart_color = <90>;
lcd_gpio_0 = <&pio PD 21 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&dsi4lane_pins_a>;
pinctrl-1 = <&dsi4lane_pins_b>;
};lcd_639.c
static void LCD_panel_try_switch(u32 sel)
{
printf("switch to lcd0_1 ................. \n");
printf("switch to lcd0_1 ................. \n");
printf("switch to lcd0_1 ................. \n");
lcd_power_off(sel);
sunxi_lcd_switch_compat_panel(sel, 1);/*switch to lcd0_1*/
}static s32 lcd_open_flow(u32 sel)
{
LCD_OPEN_FUNC(sel, lcd_power_on, 10);
LCD_OPEN_FUNC(sel, LCD_panel_try_switch, 0); //must delay 0
LCD_OPEN_FUNC(sel, lcd_panel_init, 10);
LCD_OPEN_FUNC(sel, sunxi_lcd_tcon_enable, 50);
LCD_OPEN_FUNC(sel, lcd_bl_open, 0);
return 0;
}启动日志:
[22]HELLO! BOOT0 is starting!
[25]BOOT0 commit : 2386bdb825
[27]set pll start
[33]periph0 has been enabled
[36]set pll end
[38][pmu]: bus read error
[40]board init ok
[42]enable_jtag
[44]ZQ value = 0x2f
[45]get_pmu_exist() = -1
[48]DRAM BOOT DRIVE INFO: V0.34
[51]DRAM CLK = 792 MHz
[53]DRAM Type = 3 (2:DDR2,3:DDR3)
[56]DRAMC ZQ value: 0x7b7bfb
[59]DRAM ODT value: 0x42.
[61]ddr_efuse_type: 0xa
[64]DRAM SIZE = 256 MB
[71]DRAM simple test OK.
[73]rtc standby flag is 0x0, super standby flag is 0x0
[78]dram size =256
[81]4byte mode error
[83]set spi freq:50000000
[86]spi sample_mode:1 sample_delay:1c
[91]spinor id is: ef 40 19, read cmd: 6b
[94]Succeed in reading toc file head.
[98]The size of toc is ec000.
[140]Entry_name = u-boot
[145]Entry_name = optee
[149]Entry_name = dtb
[152]Jump to second Boot.
M/TC: OP-TEE version: aa2ed4e9 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Mon Jan 13 06:39:29 UTC 2025 arm
M/TC: OP-TEE 32bit
E/TC:0 0 search_key_via_name:418 Key 'huk' not found
E/TC:0 0 platform_standby_fdt_parse:126 no pmu0 node
E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
U-Boot 2018.07-gce06dac-dirty (May 24 2025 - 22:57:27 +0800) Allwinner Technology
[00.230]CPU: Allwinner Family
[00.233]Model: sun8iw20
[00.235]DRAM: 256 MiB
[00.238]Relocation Offset is: 0cf39000
[00.256]secure enable bit: 0
CACHE: Misaligned operation at range [4bef8e68, 4bf18e68]
E/TC:0 generate_smc_mem_map:319 Not enough SMC region, 0x41b07937 byte ta ram left unsecured
E/TC:0 fdt_getprop_u32:340 prop trace_level not found
[00.283]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.289]gic: sec monitor mode
SPI ALL: ready
[00.294]line:703 init_clocks
[00.297]flash init start
[00.299]workmode = 0,storage type = 3
[00.305]spi sample_mode:1 sample_delay:1c
[00.309]spi sunxi_slave->max_hz:50000000
SF: Detected w25q256( ) with page size 256 Bytes, erase size 64 KiB, total 32 MiB
[00.321]sunxi flash init ok
[00.324]drv_disp_init
partno erro : can't find partition bootloader
[00.361]drv_disp_init finish
[00.366]Loading Environment from SUNXI_FLASH... OK
[00.416]boot_gui_init:start
partno erro : can't find partition Reserve0
lcd 630 init ...............................
[00.709]LCD open finish
bad fb1_cfg[w=0,h=0,bpp=32,format=0]
[00.757]boot_gui_init:finish
partno erro : can't find partition bootloader
[00.764]bmp_name=bootlogo.bmp size 38454
root_partition is rootfs
set root to /dev/mtdblock5
[00.781]update part info
[00.784]update bootcmd
[00.796]change working_fdt 0x4bef8e68 to 0x4bed8e68
[00.824]update dts
Hit any key to stop autoboot: 0
[01.537]no vendor_boot partition is found
Android's image name: sun8i_arm
ERROR: reserving fdt memory region failed (addr=41b00000 size=100000)
ERROR: reserving fdt memory region failed (addr=4bf43000 size=384000)
[01.578]Starting kernel ...
[01.580]total: 1580 ms
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61 (ubuntu@ubuntu) (arm-linux-gnueabi-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412, GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02) #1 SMP PREEMPT Fri May 16 17:43:52 CST 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created DMA memory pool at 0x42200000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42200000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42244000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node dsp0_rpbuf@42244000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x42900000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@42900000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 32 MiB at 0x4e000000
[ 0.000000] On node 0 totalpages: 63600
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 63600 pages, LIFO batch:15
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 15 pages/cpu s30848 r8192 d22400 u61440
[ 0.000000] pcpu-alloc: s30848 r8192 d22400 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 63088
[ 0.000000] Kernel command line: earlyprintk= clk_ignore_unused initcall_debug=0 console=ttyS4,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs rootwait init=/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=32M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.07-gce06dac-dirty(05/24/2025-22:57:27) mbr_offset=1032192 disp_reserve=3686400,0x4bf43000 androidboot.dramfreq=792 androidboot.dramsize=256 uboot_backup=ubootA
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 197340K/254400K available (6144K kernel code, 384K rwdata, 2128K rodata, 1024K init, 166K bss, 24292K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x254/0x3d0 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008018] Switching to timer-based delay loop, resolution 41ns
[ 0.014212] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.024062] Console: colour dummy device 80x30
[ 0.028561] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.038941] pid_max: default: 32768 minimum: 301
[ 0.043717] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.051055] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.059425] CPU: Testing write buffer coherency: ok
[ 0.064680] /cpus/cpu@0 missing clock-frequency property
[ 0.070000] /cpus/cpu@1 missing clock-frequency property
[ 0.075353] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.081621] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.088312] rcu: Hierarchical SRCU implementation.
[ 0.093595] smp: Bringing up secondary CPUs ...
[ 0.099422] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.099578] smp: Brought up 1 node, 2 CPUs
[ 0.109413] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.115592] CPU: All CPU(s) started in SVC mode.
[ 0.120724] devtmpfs: initialized
[ 0.137076] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.145280] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.155177] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.163533] pinctrl core: initialized pinctrl subsystem
[ 0.170135] NET: Registered protocol family 16
[ 0.176417] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.222596] rtc_ccu: sunxi ccu init OK
[ 0.228880] ccu: sunxi ccu init OK
[ 0.232823] r_ccu: sunxi ccu init OK
[ 0.273847] sun6i-dma 3002000.dma-controller: sunxi dma probed
[ 0.282609] iommu: Default domain type: Translated
[ 0.287756] sunxi iommu: irq = 24
[ 0.292313] SCSI subsystem initialized
[ 0.296489] usbcore: registered new interface driver usbfs
[ 0.302144] usbcore: registered new interface driver hub
[ 0.307599] usbcore: registered new device driver usb
[ 0.314156] Advanced Linux Sound Architecture Driver Initialized.
[ 0.321268] pwm module init!
[ 0.334687] g2d 5410000.g2d: Adding to iommu group 0
[ 0.340148] G2D: rcq version initialized.major:251
[ 0.345727] input: sunxi-keyboard as /devices/virtual/input/input0
[ 0.353390] clocksource: Switched to clocksource arch_sys_counter
[ 0.368671] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.390033] thermal_sys: Registered thermal governor 'step_wise'
[ 0.390595] NET: Registered protocol family 2
[ 0.401698] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.410787] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.418524] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.426143] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.432637] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.439218] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.446453] NET: Registered protocol family 1
[ 0.451953] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.462351] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.469303] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[ 0.475513] sunxi_spi_resource_get()2198 - sample_mode:1 sample_delay:28
[ 0.482282] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[ 0.488752] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base d0821000, irq 40
[ 0.498834] Initialise system trusted keyrings
[ 0.503582] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.518453] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.524761] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.529571] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.566253] Key type asymmetric registered
[ 0.570361] Asymmetric key parser 'x509' registered
[ 0.575304] io scheduler mq-deadline registered
[ 0.579839] io scheduler kyber registered
[ 0.583964] atomic64_test: passed
[ 0.588803] [DISP]disp_module_init
[ 0.592801] disp 5000000.disp: Adding to iommu group 0
[ 0.598639] [DISP] disp_init,line:2372:
[ 0.598645] smooth display screen:0 type:1 mode:4
[ 0.624412] display_fb_request,fb_id:0
[ 0.638390] disp_al_manager_apply ouput_type:1
[ 0.643156] [DISP] lcd_clk_config,line:777:
[ 0.643167] disp 0, clk: pll(432000000),clk(432000000),dclk(72000000) dsi_rate(72000000)
[ 0.643167] clk real:pll(432000000),clk(432000000),dclk(108000000) dsi_rate(150000000)
[ 0.644024] [DISP]disp_module_init finish
[ 0.648057] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
[ 0.664997] sunxi_sid_init()783 - insmod ok
[ 0.682724] pwm-regulator: supplied by regulator-dummy
[ 0.685698] Freeing logo buffer memory: 3600K
[ 0.690299] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 0.702591] uart uart3: uart3 supply uart not found, using dummy regulator
[ 0.709972] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.718654] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.728939] uart uart4: uart4 supply uart not found, using dummy regulator
[ 0.736234] uart4: ttyS4 at MMIO 0x2501000 (irq = 35, base_baud = 1500000) is a SUNXI
[ 0.744122] sw_console_setup()1831 - console setup baud 115200 parity n bits 8, flow n
▒[ 0.752102] printk: console [ttyS4] enabled
[ 0.752102] printk: console [ttyS4] enabled
[ 0.761034] printk: bootconsole [earlycon0] disabled
[ 0.761034] printk: bootconsole [earlycon0] disabled
[ 0.772905] misc dump reg init
[ 0.776961] deinterlace 5400000.deinterlace: Adding to iommu group 0
[ 0.784699] deinterlace 5400000.deinterlace: version[1.0.0], ip=0x110
[ 0.793492] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.800744] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.808118] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.815567] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.822112] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.829079] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.836829] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=207 assert=1
[ 0.844703] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=204 assert=1
[ 0.852826] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.860547] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.867352] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.874916] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=38 assert=0
[ 0.883105] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ 0.890413] [ADDR_MGT] addr_mgt_probe: success.
[ 0.897147] spi-nor spi0.0: w25q256 (32768 Kbytes)
[ 0.903528] 7 sunxipart partitions found on MTD device spi0.0
[ 0.909980] Creating 7 MTD partitions on "spi0.0":
[ 0.915417] 0x000000000000-0x000000100000 : "uboot"
[ 0.924554] 0x000000100000-0x000000120000 : "boot-resource"
[ 0.934606] 0x000000120000-0x000000140000 : "env"
[ 0.944575] 0x000000140000-0x000000160000 : "env-redund"
[ 0.954541] 0x000000160000-0x0000005a0000 : "boot"
[ 0.964579] 0x0000005a0000-0x000001050000 : "rootfs"
[ 0.974620] 0x000001050000-0x000002000000 : "UDISK"
[ 0.985638] libphy: Fixed MDIO Bus: probed
[ 0.990244] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.997673] sunxi-ehci: EHCI SUNXI driver
[ 1.002695] get drvvbus-en is fail, 22
[ 1.006959] get ehci0-controller wakeup-source is fail.
[ 1.012944] sunxi ehci0-controller don't init wakeup source
[ 1.019318] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b82920, 0x:d083a000, irq_no:35
[ 1.031337] [sunxi-ehci0]: Not init ehci0
[ 1.036191] get drvvbus-en is fail, 22
[ 1.040400] get ehci1-controller wakeup-source is fail.
[ 1.046403] sunxi ehci1-controller don't init wakeup source
[ 1.052687] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b82e80, 0x:d083e000, irq_no:37
[ 1.064983] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 1.077410] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 1.084725] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 1.094818] sunxi-ehci 4200000.ehci1-controller: irq 55, io mem 0x04200000
[ 1.123416] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 1.132224] hub 1-0:1.0: USB hub found
[ 1.136520] hub 1-0:1.0: 1 port detected
[ 1.141714] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.148708] sunxi-ohci: OHCI SUNXI driver
[ 1.153716] get drvvbus-en is fail, 22
[ 1.157928] get ohci0-controller wakeup-source is fail.
[ 1.163973] sunxi ohci0-controller don't init wakeup source
[ 1.170234] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b82bd0
[ 1.179930] [sunxi-ohci0]: Not init ohci0
[ 1.184827] get drvvbus-en is fail, 22
[ 1.189039] get ohci1-controller wakeup-source is fail.
[ 1.195037] sunxi ohci1-controller don't init wakeup source
[ 1.201297] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b83130
[ 1.211238] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 1.223694] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 1.230955] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 1.240924] sunxi-ohci 4200400.ohci1-controller: irq 56, io mem 0x04200400
[ 1.318396] hub 2-0:1.0: USB hub found
[ 1.322653] hub 2-0:1.0: 1 port detected
[ 1.327977] usbcore: registered new interface driver usb-storage
[ 1.335350] sunxi_gpadc_init,2228, success
[ 1.341290] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.352050] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.363339] sunxi-rtc 7090000.rtc: registered as rtc0
[ 1.369088] sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
[ 1.379759] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:51:20 UTC (3080)
[ 1.388957] sunxi-rtc 7090000.rtc: Fail to read dts property 'gpr_bootcount_pos'
[ 1.397289] reasonbase NULL
[ 1.400420] reason large than max, fix to hot reboot, save boot reason
[ 1.407754] invalid reason or reasonbase NULL
[ 1.412649] sunxi-rtc 7090000.rtc: sunxi rtc probed
[ 1.418635] i2c /dev entries driver
[ 1.422682] IR NEC protocol handler initialized
[ 1.428202] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.439607] sunxi-rc-recv 7040000.s_cir: sunxi_irrx_resource_get: get ir protocol failed
[ 1.448813] Registered IR keymap rc_map_sunxi
[ 1.453890] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0
[ 1.462613] rc rc0: lirc_dev: driver sunxi-rc-recv registered at minor = 0, raw IR receiver, no transmitter
[ 1.473797] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx
[ 1.484160] sunxi cedar version 1.1
[ 1.488266] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 1.494577] VE: sunxi_cedar_probe power-domain init!!!
[ 1.500350] VE: install start!!!
[ 1.500350]
[ 1.505946] VE: cedar-ve the get irq is 41
[ 1.505946]
[ 1.512422] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval)
[ 1.512422]
[ 1.521733] VE: install end!!!
[ 1.521733]
[ 1.526829] VE: sunxi_cedar_probe
[ 1.531880] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.544010] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 1.553957] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 1.560178] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 1.566547] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 1.572994] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 1.579453] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 1.586007] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 1.592550] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 1.599107] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 1.606152] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 1.611561] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 1.618280] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.629461] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 1.649625] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.674102] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 1.679807] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 1.684049] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
[ 1.700899] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 1.707143] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 1.713514] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 1.719977] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 1.726439] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 1.732992] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 1.739550] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 1.746107] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 1.752707] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 1.762273] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.773506] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 1.793411] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.817697] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 1.825405] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 1.832555] usbcore: registered new interface driver usbhid
[ 1.838843] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 1.845731] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.853399] usbhid: USB HID core driver
[ 1.860440] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.861639] exFAT: Version 1.3.0
[ 1.875422] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 1.879969] NET: Registered protocol family 10
[ 1.885255] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 1.889937] Segment Routing with IPv6
[ 1.896302] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 1.899704] NET: Registered protocol family 17
[ 1.907249] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 1.911414] 8021q: 802.1Q VLAN Support v1.8
[ 1.918158] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 1.923541] Registering SWP/SWPB emulation handler
[ 1.939707] Loading compiled-in X.509 certificates
[ 1.964564] sunxi-thermal 2009400.ths: sun8iw20 chip id: 29184
[ 1.971120] sunxi-thermal 2009400.ths: sun8iw20 t1: 8000
[ 1.977245] sunxi-thermal 2009400.ths: sun8iw20 cp version:22
[ 1.988375] otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
[ 2.004786] debugfs: Directory 'soc@3000000:codec_plat' with parent 'audiocodec' already present!
[ 2.015423] sunxi-snd-mach soc@3000000:codec_mach: 2030000.codec <-> soc@3000000:codec_plat mapping ok
[ 2.027256] input: audiocodec Headphones as /devices/platform/soc@3000000/soc@3000000:codec_mach/sound/card0/input2
[ 2.039843] [sound 403][MACH simple_parse_of] simple_dai_link_of failed
[ 2.047540] [sound 403][MACH simple_parse_of] simple_dai_link_of failed
[ 2.055263] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.066752] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.074404] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.083643] clk: Not disabling unused clocks
[ 2.084216] cfg80211: failed to load regulatory.db
[ 2.088847] ALSA device list:
[ 2.097533] #0: audiocodec
[ 2.100769] alloc_fd: slot 0 not NULL!
[ 2.167895] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 2.179929] Freeing unused kernel memory: 1024K
[ 2.203685] Run /init as init process
[ 2.258703] random: fast init done
[ 5.500231] random: fgrep: uninitialized urandom read (4 bytes read)
[ 5.516774] random: mkdir: uninitialized urandom read (4 bytes read)
[ 5.534743] random: sed: uninitialized urandom read (4 bytes read)
[ 5.603539]
[ 5.603539] insmod_device_driver
[ 5.603539]
[ 5.614281] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 7.469946] random: crng init done
[ 7.473780] random: 7 urandom warning(s) missed due to ratelimiting
[ 15.470764] jffs2: notice: (1009) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (7 unchecked, 13 orphan) and 22 of xref (13 dead, 0 orphan) found.
[ 15.685674] overlayfs: upper fs does not support tmpfile.
mount: mounting proc on /proc failed: Device or resource busy
[ 17.656374] file system registered
[ 17.695166] configfs-gadget 4100000.udc-controller: failed to start g1: -19
sh: write error: No such device
init adb main
[ 17.887423] read descriptors
Handling main()
[ 17.890967] read strings
[5]+ Done echo /sbin/mdev 1>/proc/sys/kernel/hotplug
#
[4] Done mkdir -p /mnt/addon2/
#
#
# WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 4
[5] Done /bin/setusbconfig adb
[3] Done tinymix set "HPOUT Switch" 1
[1] Done mdev -s
# [1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
WARNING: awplayer <DlOpenPlugin:114>: Invalid plugin,function CedarPluginVDInit not found.
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
ERROR : awplayer <DlOpenPlugin:105>: dlopen 'libawwmv3.so' fail: libawwmv3.so: cannot open shared object file: No such file or directory
[1970-01-01 08:51:42] INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
INFO : awplayer <AwParserInit:452>: aw parser init...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
#
#
#
#
# xplayer:process message XPLAYER_COMMAND_SET_AUDIOSINK.
xplayer:process message XPLAYER_COMMAND_SET_SURFACE.
xplayer:process message XPLAYER_COMMAND_SET_SUBCTRL.
xplayer:process message XPLAYER_COMMAND_SET_DI.
# WARNING: awplayer <XPlayerReset:1005>: reset...
xplayer:process message XPLAYER_COMMAND_RESET.
ERROR : awplayer <PlayerStop:994>: invalid stop operation, player already in stopped status.
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# wh=800x1280, vwh=800x2560, bpp=32, rotated=0
Turn on double buffering.
Turn on 2d hardware acceleration.
Turn on 2d hardware acceleration blit.
Turn on 2d hardware acceleration rotate.
finfo.line_length=3200, vinfo.yres=1280
sinfo.rotatefbp_w=800, sinfo.rotatefbp_h=1280
------> sunxifb_alloc=b41ee000
lvgl width=800, height=1280, rotated=0
#
#
#
#
#
# unable to open evdev interface:: No such file or directory
# ccode = 7
now play: /mnt/addon2/test1.mp4
WARNING: awplayer <XPlayerReset:1005>: reset...
xplayer:process message XPLAYER_COMMAND_RESET.
ERROR : awplayer <PlayerStop:994>: invalid stop operation, player already in stopped status.
INFO : awplayer <XPlayerThread:1838>: process message XPLAYER_COMMAND_SET_SOURCE.
xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
xplayer:process message XPLAYER_COMMAND_PREPARE.
ERROR : awplayer <__FileStreamConnect:385>: open file failure, errno(2)
ERROR : awplayer <CdxParserPrepare:840>: open stream fail, uri(file:///mnt/addon2/test1.mp4)
ERROR : demuxComponent <DemuxThread:2119>: DEMUX_ERROR_IO
ERROR : awplayer <XPlayerSetDataSourceUrl:544>: prepare failure, ret(-1004)
TPlayerSetDataSource() return fail.
not prepared!
Screen Width: 800px, Screen Height: 1280px
-/bin/sh: c: not found
[6]- Done modprobe xr819 && wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf 1>/dev/null 2>&1
#
#
#
#
#
# cat /sys/class/disp/disp/attr/sys
screen 0:
de_rate 300000000 hz, ref_fps:60
mgr0: 800x1280 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1]
dmabuf: cache[0] cache max[0] umap skip[0] umap skip max[6]
lcd output backlight(255) fps:60.6 800x1280
err:0 skip:29 irq:1864 vsync:0 vsync_skip:0
BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[ 800,1280; 800,1280; 800,1280] crop[ 0,1280, 800,1280] frame[ 0, 0, 720,1280] addr[ 0, 0, 0] flags[0x 0] trd[0,0]
depth[ 0]
#
#
#
#@BlinkWee
不是不支持png,是严格校验后缀名和文件格式,大概率你的文件其实是jpg文件,估计是QQ截图吧。
烧录 spi nand 简易用 xfel 试一试
/usr/sbin/check_network_connectivity.sh
#!/bin/sh
while [ 1 ]; do
success=0
for site in www.qq.com www.163.com www.baidu.com www.taobao.com; do
if ping -c 1 -s 4 -t 32 "$site" > /dev/null 2>&1; then
echo `date +"%Y-%m-%d %H:%M:%S"` "$site is reachable." >> /tmp/network_status.log
success=1
break
else
echo `date +"%Y-%m-%d %H:%M:%S"` "$site is not reachable." >> /tmp/network_status.log
fi
done
if [ $success -eq 1 ]; then
echo `date +"%Y-%m-%d %H:%M:%S"` "网络连接成功" >> /tmp/network_status.log
else
echo `date +"%Y-%m-%d %H:%M:%S"` "网络连接失败,请检查您的网络设置" >> /tmp/network_status.log
killall udhcpc &
wpa_cli -i wlan0 reconnect
udhcpc -i wlan0 &
fi
sleep 5
done;单片机注册IO类型的按键输入设备Demo:
将Wakeup作为LEFT键,Tamper作为RIGHT键,USER作为ENTER键。
7.1 初始化
static void keypad_init(void)
{
/*Your code comes here*/
gpio_mode_set(IO_KEY_WAKEUP, GPIO_MODE_INPUT, GPIO_PUPD_NONE, ((uint32_t)1 << PIN_KEY_WAKEUP));
gpio_mode_set(IO_KEY_TAMPER, GPIO_MODE_INPUT, GPIO_PUPD_NONE, ((uint32_t)1 << PIN_KEY_TAMPER));
gpio_mode_set(IO_KEY_USER, GPIO_MODE_INPUT, GPIO_PUPD_NONE, ((uint32_t)1 << PIN_KEY_USER));
}初始化按键对应IO为输入。
7.2 读入键值
static uint32_t keypad_get_key(void)
{
/*Your code comes here*/
if(RESET == gpio_input_bit_get(IO_KEY_WAKEUP, (uint32_t)1 << PIN_KEY_WAKEUP))
{
return 1;
}
else if(RESET == gpio_input_bit_get(IO_KEY_TAMPER, (uint32_t)1 << PIN_KEY_TAMPER))
{
return 2;
}
else if(RESET == gpio_input_bit_get(IO_KEY_USER, (uint32_t)1 << PIN_KEY_USER))
{
return 3;
}
return 0;
}7.3 读键处理
static void keypad_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data)
{
static uint32_t last_key = 0;
/*Get whether the a key is pressed and save the pressed key*/
uint32_t act_key = keypad_get_key();
if(act_key != 0) {
data->state = LV_INDEV_STATE_PR;
/*Translate the keys to LVGL control characters according to your key definitions*/
switch(act_key) {
case 1:
act_key = LV_KEY_PREV;
break;
case 2:
act_key = LV_KEY_NEXT;
break;
case 3:
act_key = LV_KEY_ENTER;
break;
}
last_key = act_key;
}
else {
data->state = LV_INDEV_STATE_REL;
}
data->key = last_key;
}这里键值1,2对应按键PREV和NEXT,不是LEFT和RIGHT。这样才能左右选择Group的对象。
https://blog.csdn.net/pq113_6/article/details/125276494

linux 终端列出目录下所有.mp4文件:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h> // POSIX 目录遍历库
// 存储文件名的结构体
typedef struct {
char *filename;
} FileEntry;
// 全局文件列表
FileEntry *file_list = NULL;
int file_count = 0;
// 扩展名匹配
int is_media_file(const char *filename) {
const char *ext = strrchr(filename, '.');
if (!ext) return 0;
return (strcmp(ext, ".mp3") == 0 || strcmp(ext, ".mp4") == 0);
}
// 递归查找媒体文件
void find_media_files(const char *path) {
DIR *dir = opendir(path);
if (!dir) {
fprintf(stderr, "无法打开目录: %s\n", path);
return;
}
struct dirent *entry;
while ((entry = readdir(dir)) != NULL) {
// 跳过当前目录和父目录
if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0)
continue;
// 构造完整路径
char full_path[256];
snprintf(full_path, sizeof(full_path), "%s/%s", path, entry->d_name);
// 如果是目录,则递归处理
if (entry->d_type == DT_DIR) {
find_media_files(full_path);
} else if (is_media_file(entry->d_name)) {
// 分配内存并保存文件名
file_list = realloc(file_list, (file_count + 1) * sizeof(FileEntry));
file_list[file_count].filename = strdup(entry->d_name);
file_count++;
}
}
closedir(dir);
}
void display_file_list() {
for (int i = 0; i < file_count; i++) {
printf("%s\n", file_list[i].filename);
}
}
int main() {
// 查找文件
find_media_files("/mnt/hgfs/D/1122/"); // 注意使用正斜杠路径
// 显示文件列表
display_file_list();
// 清理资源
for (int i = 0; i < file_count; i++) {
free(file_list[i].filename);
}
free(file_list);
return 0;
}添加触摸声音:
lvgl/src/core/lv_obj.c
static void lv_obj_event(const lv_obj_class_t * class_p, lv_event_t * e)
{
LV_UNUSED(class_p);
lv_event_code_t code = lv_event_get_code(e);
lv_obj_t * obj = lv_event_get_current_target(e);
if(code == LV_EVENT_PRESSED) {
lv_obj_add_state(obj, LV_STATE_PRESSED);
//这里添加触摸声音输出
}
else if(code == LV_EVENT_RELEASED)
...运行 bloziplayer 日志:
WARNING: awplayer <log_set_level:30>: Set log level to 7
warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' success.
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' success.
warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' success.
bloziplayer Version: 1.2.0
product_sn = AA:BB:CC:DD:EE:FF
, len = 18
sn = AA:BB:CC:DD:EE:FF
, g_product_sn = 5000003676
g_http_server_url:http://192.168.200.2:8189
/dev/urandom = 572566787
-------------------rand_num: 572566787 ----------------
-------------------wifi on start delay 16 S----------------
dd: writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
http_get(1) json data array size = 3
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=400
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=168942_818h1521068339_s5000003676_23382587.jpg
http_get(1) json img[0] file[0].md5=b064d460f95d4eace82e5f70c3e23abf
------------------img[1]--------------------
http_get(1) json img[1] time = 0
http_get(1) json img[1] data area left=0, top=880, weith=800, height=400
http_get(1) json img[1] file num = 1
http_get(1) json img[1] file[0].name=168531_818h1521068339_s5000003676_1526018229.jpg
http_get(1) json img[1] file[0].md5=ee2984e2ae69b2e077fba9c514598941
-------------video_player_read_conf ret=0-----------
video player read conf sucess!
http_get(1) json data array size = 3
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=400
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=168942_818h1521068339_s5000003676_23382587.jpg
http_get(1) json img[0] file[0].md5=b064d460f95d4eace82e5f70c3e23abf
------------------img[1]--------------------
http_get(1) json img[1] time = 0
http_get(1) json img[1] data area left=0, top=880, weith=800, height=400
http_get(1) json img[1] file num = 1
http_get(1) json img[1] file[0].name=168531_818h1521068339_s5000003676_1526018229.jpg
http_get(1) json img[1] file[0].md5=ee2984e2ae69b2e077fba9c514598941
player not init.
opt_alpha = 0, x_size = 800, y_size = 400, file=/mnt/UDISK/bloziplayer/168942_818h1521068339_s5000003676_23382587.jpg
display img[0]: /mnt/UDISK/bloziplayer/168942_818h1521068339_s5000003676_23382587.jpg 0 480
opt_alpha = 0, x_size = 800, y_size = 400, file=/mnt/UDISK/bloziplayer/168531_818h1521068339_s5000003676_1526018229.jpg
display img[1]: /mnt/UDISK/bloziplayer/168531_818h1521068339_s5000003676_1526018229.jpg 0 880
player_conf.video.num = 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559[ 106.171619] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
>: *** set ve fr[ 106.181229] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
eq to 300 Mhz **[ 106.191082] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
*
debug : ceda[ 106.200899] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
rc <VeInitialize[ 106.210812] sid_get_vir_base()215 - Failed to find "allwinner,sunxi-chipid" in dts.
:1198>: ve init ok
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug : cedarc <VeGetChipId:1385>: 00000000
debug : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
setDataSource end
TPLAYER_NOTIFY_PREPARED,has prepared.
prepare
prepared ok
debug : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
debug : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
[ 115.275018] twi_start()387 - [i2c0] START can't sendout!
[ 115.281320] twi_start()387 - [i2c0] START can't sendout!
[ 115.287513] twi_start()387 - [i2c0] START can't sendout!
[ 115.293541] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=19
[ 115.309776] twi_start()387 - [i2c0] START can't sendout!
[ 115.315973] twi_start()387 - [i2c0] START can't sendout!
[ 115.322232] twi_start()387 - [i2c0] START can't sendout!
[ 115.328320] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[ 115.346879] twi_start()387 - [i2c0] START can't sendout!
[ 115.353090] twi_start()387 - [i2c0] START can't sendout!
[ 115.359292] twi_start()387 - [i2c0] START can't sendout!
[ 115.365359] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=20
[ 115.389389] twi_start()387 - [i2c0] START can't sendout!
[ 115.395566] twi_start()387 - [i2c0] START can't sendout!
[ 115.401882] twi_start()387 - [i2c0] START can't sendout!
[ 115.408044] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
wifimanager Version: 18.10.31
wpa_supplicant :process exist
connect to wpa_supplicant ok!
do cmd STATUS
Wifi already connect to whycan
event_label:249285976
--->WMG_EVENT: WSE_STARTUP_AUTO_CONNECT
--->WMG_STATE: NETWORK_CONNECTED
event_label 0xedbcd58
Successful network connection(whycan)
aw wifi on success!
do cmd DISCONNECT
[ 121.199999] [TXRX_WRN] drop=1440, fctl=0x00d0.
[ 121.289493] wlan0: deauthenticating from c8:bf:4c:d5:43:88 by local choice (reason=3)
[ 121.300733] [WSM_WRN] Issue unjoin command(TX).
[ 121.330649] cfg80211: Calling CRDA for country: CN
Network disconnected!
event_label:249285977
--->WMG_EVENT: WSE_AUTO_DISCONNECTED
--->WMG_STATE: DISCONNECTED
event_label 0xedbcd59
Disconnected,the reason:WSE_AUTO_DISCONNECTED
do cmd LIST_NETWORKS
do cmd REMOVE_NETWORK 0
do cmd SAVE_CONFIG
clear data 2
do cmd SCAN
[ 124.082107] [BH_WRN] miss interrupt!
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88 2417 -26 [WPA2-PSK+FT/PSK-CCMP][WPS][ESS] whycan
fe:ba:6d:1a:ee:48 2472 -37 [WPA2-PSK-CCMP][ESS] blozi-lcd-1
fa:f7:b9:9f:64:2c 2437 -56 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
fa:f7:b9:9f:86:d4 2412 -60 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
f8:f7:b9:af:54:1c 2462 -52 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
08:40:f3:21:52:f1 2417 -80 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] Tenda_ksK6J9
98:1e:89:3e:f0:a1 2437 -82 [WPA2-PSK-CCMP][WPS][ESS] \xe6\x94\xb6\xe9\x93\xb6\xe7\xb3\xbb\xe7\xbb\x9f
ec:31:4a:2f:e1:b7 2437 -82 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] \xe5\x9c\xa3\xe5\x8b\xa4\xe6\x95\x99\xe8\x82\xb2\xe5\xa4\xa7\xe5\x8e\x85
98:1e:89:46:d4:b1 2437 -83 [WPA2-PSK-CCMP][WPS][ESS] \xe6\x94\xb6\xe9\x93\xb6\xe7\xb3\xbb\xe7\xbb\x9f
d8:6d:17:d2:20:8d 2432 -77 [ESS] aWiFi
b2:fd:77:84:3a:50 2412 -81 [ESS] RHX-8W4m#123456
48:2f:d7:d1:f8:a8 2412 -80 [WPA2-PSK-CCMP][WPS][ESS] DTB1602
fc:7c:02:61:eb:7b 2412 -82 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS] @PHICOMM_79
68:77:da:f7:e0:10 2452 -83 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] zhangwei
50:d2:f5:7d:46:cb 2457 -83 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Xiaomi_46CA
d8:6d:17:ae:a5:95 2412 -65 [ESS] aWiFi
******************************
Wifi get_scan_results: Success!
******************************
find ssid blozi-lcd-1 in line 2 ssid= blozi-lcd-1, rssi= -37
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_info[0]: ssid = blozi-lcd-1, psk= blozi567lcd, rssi = -37
Wifi connect wifi_info[0]:blozi-lcd-1
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_CONNECT
--->WMG_STATE: CONNECTING
event_label 0xedbcd5b
Connecting to the network(blozi-lcd-1)......
do cmd LIST_NETWORKS
do cmd ADD_NETWORK
do cmd SET_NETWORK 0 ssid "blozi-lcd-1"
do cmd SET_NETWORK 0 key_mgmt WPA-PSK
do cmd SET_NETWORK 0 psk "blozi567lcd"
do cmd SET_NETWORK 0 scan_ssid 1
do cmd LIST_NETWORKS
do cmd GET_NETWORK 0 priority
do cmd SET_NETWORK 0 priority 1
[ 124.644984] [STA_WRN] Freq 2472 (wsm ch: 13) prev: 2.
net id connecting 0
start reading WPA EVENT!
[ 124.654484] wlan0: authenticate with fe:ba:6d:1a:ee:48 (try 1)
[ 124.804891] wlan0: authenticated
[ 124.814415] wlan0: associate with fe:ba:6d:1a:ee:48 (try 1)
[ 124.852000] wlan0: RX AssocResp from fe:ba:6d:1a:ee:48 (capab=0x411 status=0 aid=1)
[ 124.860657] wlan0: associated
[ 124.880790] [AP_WRN] [STA] ASSOC HTCAP 11N 58
read event 1
reading WPA EVENT is over!
do cmd SAVE_CONFIG
wifi connected in inner!
do cmd LIST_NETWORKS
do cmd ENABLE_NETWORK 0
do cmd SAVE_CONFIG
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_CONNECT
--->WMG_STATE: CONNECTED
event_label 0xedbcd5b
Connected to the AP(blozi-lcd-1)
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_OBTAINED_IP
--->WMG_STATE: OBTAINING_IP
event_label 0xedbcd5b
Getting ip address(blozi-lcd-1)......
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 192.168.243.210
[ 125.612291] [TXRX_WRN] drop=1440, fctl=0x00d0.
udhcpc: lease of 192.168.243.210 obtained, lease time 3599
vflag= 4
event_label:249285979
--->WMG_EVENT: WSE_ACTIVE_OBTAINED_IP
--->WMG_STATE: NETWORK_CONNECTED
event_label 0xedbcd5b
Successful network connection(blozi-lcd-1)
connected Successful !!!!
Wifi connect ap : Success! ssid = blozi-lcd-1, psk= blozi567lcd, rssi = -37
do cmd STATUS
do cmd SIGNAL_POLL
get_connection_info: ip= 192.168.243.210 mac_addr= 34:e9:8b:e1:06:43 rssi=-30db
wifi_connect_state_check = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi4.png
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
[ 148.300999] twi_start()387 - [i2c0] START can't sendout!
[ 148.307206] twi_start()387 - [i2c0] START can't sendout!
[ 148.313451] twi_start()387 - [i2c0] START can't sendout!
[ 148.319530] rtc-pcf8563 0-0051: pcf8563_set_datetime: err=-121 addr=02, data=52
[ 148.334995] twi_start()387 - [i2c0] START can't sendout!
[ 148.341467] twi_start()387 - [i2c0] START can't sendout!
[ 148.347636] twi_start()387 - [i2c0] START can't sendout!
[ 148.353750] rtc-pcf8563 0-0051: pcf8563_get_datetime: read error
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
wifi_connect_state_check = 0
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0
[HTTPC][ERR]Send Header failed,849
[HTTPC][ERR]HTTP Send Request failed..
http get error, ret=8
http_get(1) url=http://192.168.200.2:8189/alive?ver=1.2.0&scrn=10.1c800x1280v&sn=AA:BB:CC:DD:EE:FF
&model=bz-lcd-101-b&rssi=-30
wifi_connect_state_check = 0/etc/blozi/network.conf
[server] ip = 192.168.200.2 port = 8189 [wifi] set = 0 ssid = blozi-lcd- password = blozi567lcd这个联网要怎么才能玩呢?
基站ssid和password套出来了:
root@TinaLinux:/# bloziplayer
WARNING: awplayer <log_set_level:30>: Set log level to 7
warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' success.
warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' success.
warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' success.
warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' success.
warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success.
warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' success.
bloziplayer Version: 1.2.0
product_sn = 5000003737, len = 10
sn = 5000003737, g_product_sn = 5000003737
g_http_server_url:http://192.168.200.2:8189
/dev/urandom = 286908823
-------------------rand_num: 286908823 ----------------
-------------------wifi on start delay 3 S----------------
tr: write error: Broken pipe
head: standard output: Broken pipe
dd: writing '/dev/fb0': No space left on device
16001+0 records in
16000+0 records out
http_get(1) json data array size = 2
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=800
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=167975_926h884195844_s5000003737_1005396016.jpg
http_get(1) json img[0] file[0].md5=7b881fddce123f5732b422853de09db0
-------------video_player_read_conf ret=0-----------
video player read conf sucess!
http_get(1) json data array size = 2
------------------video--------------------
http_get(1) json video time = 0
http_get(1) json video data area left=0, top=0, weith=800, height=480
http_get(1) json video data files num = 1
http_get(1) json video file[0].name=cmedia1654149294544.mp4
http_get(1) json video file[0].md5=93060ff49b09e6d971b4f17ce3395292
------------------img[0]--------------------
http_get(1) json img[0] time = 0
http_get(1) json img[0] data area left=0, top=480, weith=800, height=800
http_get(1) json img[0] file num = 1
http_get(1) json img[0] file[0].name=167975_926h884195844_s5000003737_1005396016.jpg
http_get(1) json img[0] file[0].md5=7b881fddce123f5732b422853de09db0
player not init.
opt_alpha = 0, x_size = 800, y_size = 800, file=/mnt/UDISK/bloziplayer/167975_926h884195844_s5000003737_1005396016.jpg
display img[0]: /mnt/UDISK/bloziplayer/167975_926h884195844_s5000003737_1005396016.jpg 0 480
player_conf.video.num = 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0
debug : cedarc <VeGetChipId:1385>: 00000000
debug : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264'
debug : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0
setDataSource end
TPLAYER_NOTIFY_PREPARED,has prepared.
prepare
prepared ok
debug : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
opt_alpha = 1, x_size = 24, y_size = 24, file=/etc/img/wifi0.png
debug : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1
wifimanager Version: 18.10.31
wpa_supplicant :process exist
connect to wpa_supplicant ok!
do cmd STATUS
event_label:354508771
--->WMG_EVENT: WSE_STARTUP_AUTO_CONNECT
--->WMG_STATE: DISCONNECTED
event_label 0x15215fe3
Disconnected,the reason:WSE_STARTUP_AUTO_CONNECT
aw wifi on success!
The network has been disconnected
do cmd LIST_NETWORKS
do cmd SAVE_CONFIG
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88 2417 -22 [WPA2-PSK+FT/PSK-CCMP][WPS][ESS] whycan
96:5f:f5:86:51:21 2467 -41 [WPA2-PSK-CCMP][ESS] bloziwifi
fa:f7:b9:9f:64:2c 2437 -50 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
f8:f7:b9:af:54:1c 2462 -56 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
fa:f7:b9:9f:86:d4 2412 -61 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
68:77:da:f7:e0:10 2452 -78 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] zhangwei
8c:74:a0:81:cf:30 2462 -82 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] CMCC-5jwS
d8:68:52:84:40:ed 2462 -79 [ESS] aWiFi
d8:6d:17:ae:a5:94 2412 -74 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
4e:10:d5:7d:5d:9d 2437 -84 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f6:84:8d:ed:7d:b9 2412 -81 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f4:84:8d:fd:7d:b9 2412 -82 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] 1302room
d8:68:52:84:40:ec 2462 -81 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Z
fc:ab:90:d7:32:31 2437 -85 [WPA2-PSK-CCMP][ESS] \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95 2412 -77 [ESS] aWiFi
d8:6d:17:d2:20:8d 2432 -82 [ESS] aWiFi
d8:6d:17:d2:20:8c 2432 -82 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
b2:fd:77:84:3a:50 2412 -79 [ESS] RHX-8W4m#123456
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_connect_state_check = 0
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88 2417 -22 [WPA2-PSK+FT/PSK-CCMP][WPS][ESS] whycan
96:5f:f5:86:51:21 2467 -41 [WPA2-PSK-CCMP][ESS] bloziwifi
fa:f7:b9:9f:64:2c 2437 -50 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
f8:f7:b9:af:54:1c 2462 -56 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
fa:f7:b9:9f:86:d4 2412 -61 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
68:77:da:f7:e0:10 2452 -78 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] zhangwei
8c:74:a0:81:cf:30 2462 -80 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] CMCC-5jwS
d8:68:52:84:40:ed 2462 -79 [ESS] aWiFi
d8:6d:17:ae:a5:94 2412 -75 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
d8:68:52:84:40:ec 2462 -80 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Z
fc:ab:90:d7:32:31 2437 -84 [WPA2-PSK-CCMP][ESS] \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95 2412 -76 [ESS] aWiFi
d8:6d:17:d2:20:8c 2432 -82 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
b2:fd:77:84:3a:50 2412 -79 [ESS] RHX-8W4m#123456
fc:7c:02:61:eb:7b 2412 -83 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS] @PHICOMM_79
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10
wifi_connect_state_check = 0
do cmd SCAN
read event 5
do cmd SCAN_RESULTS
ret of get_scan_results is 0
bssid / frequency / signal level / flags / ssid
c8:bf:4c:d5:43:88 2417 -23 [WPA2-PSK+FT/PSK-CCMP][WPS][ESS] whycan
96:5f:f5:86:51:21 2467 -41 [WPA2-PSK-CCMP][ESS] bloziwifi
fa:f7:b9:9f:64:2c 2437 -50 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
f8:f7:b9:af:54:1c 2462 -56 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
fa:f7:b9:9f:86:d4 2412 -61 [WPA2-PSK-CCMP][WPS][ESS] ChinaNet-SZZH
68:77:da:f7:e0:10 2452 -78 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] zhangwei
8c:74:a0:81:cf:30 2462 -80 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] CMCC-5jwS
d8:68:52:84:40:ed 2462 -79 [ESS] aWiFi
d8:6d:17:ae:a5:94 2412 -75 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
d8:68:52:84:40:ec 2462 -80 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Z
fc:ab:90:d7:32:31 2437 -84 [WPA2-PSK-CCMP][ESS] \x00\x00\x00\x00\x00\x00\x00\x00
d8:6d:17:ae:a5:95 2412 -76 [ESS] aWiFi
d8:6d:17:d2:20:8c 2432 -82 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS] Nader
b2:fd:77:84:3a:50 2412 -79 [ESS] RHX-8W4m#123456
fc:7c:02:61:eb:7b 2412 -83 [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS] @PHICOMM_79
f6:84:8d:ed:7d:b9 2412 -81 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]
f4:84:8d:fd:7d:b9 2412 -82 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] 1302room
ec:31:4a:2f:e1:b7 2437 -83 [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS] \xe5\x9c\xa3\xe5\x8b\xa4\xe6\x95\x99\xe8\x82\xb2\xe5\xa4\xa7\xe5\x8e\x85
fc:ab:90:d7:32:2d 2437 -83 [WPA2-PSK-CCMP][ESS] \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
******************************
Wifi get_scan_results: Success!
******************************
not find ssid blozi-lcd-1
not find ssid blozi-lcd-2
not find ssid blozi-lcd-3
not find ssid blozi-lcd-4
not find ssid blozi-lcd-5
not find ssid blozi-lcd-6
not find ssid blozi-lcd-7
not find ssid blozi-lcd-8
not find ssid blozi-lcd-9
not find ssid blozi-lcd-10ssid: blozi-lcd-1
ssid: blozi-lcd-2
...
ssid: blozi-lcd-10
password: blozi567lcd
原因: http://blog.chinaunix.net/uid-27057175-id-4913812.html
解决overlayfs删除文件遗留overlay-whiteout链接的问题
分类: LINUX2015-03-24 15:07:03
之前在openwrt上为了支持broadcom的一款芯片,替换掉了内核版本,这样overlayfs的补丁自己改的,openwrt overlayfs 2.6.36内核补丁
结果出来有问题,overlay的好处就是提供一个jffs2层把用户针对rootfs只读区的修改同步过去,包括删除和替换操作。
而我这个版本有个问题,就是删除只读层的文件时,提示删除失败,并且还留下一个非常难看的overlay-whiteout链接。
用strace跟踪,strace -f -F -o strace.log rm /etc/config/ddns
确认是unlink系统调用返回错误
unlink("ddns") = -1 EOPNOTSUPP (Operation not supported)
就从overlayfs的ovl_unlink()入手,逐步跟踪到底,在__vfs_setxattr_noperm()中
inode->i_op->setxattr 回调指向为NULL,这个有点问题,于是把inode->i_op的回调地址打出来,查找system.map
i_op指向了
const struct inode_operations jffs2_file_inode_operations =
{
.check_acl = jffs2_check_acl,
.setattr = jffs2_setattr,
.setxattr = jffs2_setxattr,
.getxattr = jffs2_getxattr,
.listxattr = jffs2_listxattr,
.removexattr = jffs2_removexattr
};再查代码,jffs2_setxattr被CONFIG_JFFS2_FS_XATTR宏给控制了,未定义时jffs2 xattr的接口全部被define为NULL。
这就是问题的根源了。
make kernel_menuconfig中把JFFS2_FS_XATTR 打开。
编译验证删除OK。多坑爹的问题,还是对fs不懂,只能靠这种土办法排查。
$ lsusb
Bus 001 Device 003: ID a69c:88dc hostapd.conf
interface=wlx8800a1017a94
driver=nl80211
ssid=aaa_test
channel=0
hw_mode=g
macaddr_acl=0
ignore_broadcast_ssid=0
auth_algs=1
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP固件复制到:/lib/firmware/aic8800DC/
sudo insmod ./aic_load_fw/aic_load_fw.ko
sudo insmod ./aic8800_fdrv/aic8800_fdrv.koubuntu@ubuntu:/opt/hostapd$ sudo ifconfig wlx8800a1017a94 192.168.88.1
ubuntu@ubuntu:/opt/hostapd$
ubuntu@ubuntu:/opt/hostapd$ sudo killall wpa_supplicant
ubuntu@ubuntu:/opt/hostapd$
ubuntu@ubuntu:/opt/hostapd$ sudo hostapd -d hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: hostapd.conf
rfkill: initial event: idx=14 type=2 op=0 soft=1 hard=0
rfkill: initial event: idx=15 type=1 op=0 soft=0 hard=0
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supported cipher 00-14-72:1
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5632
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5633
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5123
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4105
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4110
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5121
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=4106
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5126
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5124
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5120
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5125
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5133
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=6144
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5130
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5131
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=5132
nl80211: Supported vendor command: vendor_id=0x1a11 subcmd=6
nl80211: Supported vendor command: vendor_id=0x1018 subcmd=6
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Enable multi-channel concurrent (driver advertised support)
nl80211: use P2P_DEVICE support
nl80211: interface wlx8800a1017a94 in phy phy4
nl80211: Set mode ifindex 4 iftype 3 (AP)
nl80211: Setup AP(wlx8800a1017a94) - device_ap_sme=0 use_monitor=0
nl80211: Subscribe to mgmt frames with AP handle 0x556d845470e0
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x556d845470e0 match=
nl80211: Register frame type=0x40 (WLAN_FC_STYPE_PROBE_REQ) nl_handle=0x556d845470e0 match=
nl80211: Add own interface ifindex 4
nl80211: if_indices[16]: 4
phy: phy4
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
ACS: Automatic channel selection started, this may take a bit
ACS: Scanning 1 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
wlx8800a1017a94: interface state UNINITIALIZED->ACS
wlx8800a1017a94: ACS-STARTED
Interface initialization will be completed in a callback (ACS)
ctrl_iface not configured!
random: Got 20/20 bytes from /dev/random
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=32 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=29 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=29 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=36 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=18 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=6 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=48 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 2 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=24 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=13 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=25 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=30 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=19 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=4 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 3 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=28 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=28 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=6 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=14 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=5 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=34 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 4 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=11 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=30 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=24 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=4 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=21 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=17 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=31 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Scanning 5 / 5
wlx8800a1017a94: nl80211: scan request
Scan requested (ret=0) - scan timeout 30 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: Scan trigger
wlx8800a1017a94: Event SCAN_STARTED (47) received
Unknown event 47
RTM_NEWLINK: ifi_index=4 ifname= wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlx8800a1017a94
wlx8800a1017a94: nl80211: New scan results available
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484
wlx8800a1017a94: Event SCAN_RESULTS (3) received
ACS: Using survey based algorithm (acs_num_scans=5)
nl80211: Fetch survey data
nl80211: Freq survey dump event (freq=2412 MHz noise=-89 channel_time=50 busy_time=49 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2417 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2422 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2427 MHz noise=-89 channel_time=30 busy_time=8 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2432 MHz noise=-89 channel_time=30 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2437 MHz noise=-89 channel_time=50 busy_time=47 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2442 MHz noise=-89 channel_time=30 busy_time=18 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2447 MHz noise=-89 channel_time=30 busy_time=12 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2452 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2457 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2462 MHz noise=-89 channel_time=50 busy_time=3 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2467 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2472 MHz noise=-89 channel_time=50 busy_time=0 tx_time=0 rx_time=0 filled=0007)
nl80211: Freq survey dump event (freq=2484 MHz noise=-89 channel_time=30 busy_time=0 tx_time=0 rx_time=0 filled=0007)
wlx8800a1017a94: Event SURVEY (46) received
ACS: Trying survey-based ACS
ACS: Survey analysis for channel 1 (2412 MHz)
ACS: 1: min_nf=-89 interference_factor=0.64 nf=-89 time=50 busy=32 rx=0
ACS: 2: min_nf=-89 interference_factor=0.24 nf=-89 time=50 busy=12 rx=0
ACS: 3: min_nf=-89 interference_factor=0.06 nf=-89 time=50 busy=3 rx=0
ACS: 4: min_nf=-89 interference_factor=0.22 nf=-89 time=50 busy=11 rx=0
ACS: 5: min_nf=-89 interference_factor=0.98 nf=-89 time=50 busy=49 rx=0
ACS: * interference factor average: 0.428
ACS: Survey analysis for channel 2 (2417 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=0.8 nf=-89 time=30 busy=24 rx=0
ACS: 3: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS: 4: min_nf=-89 interference_factor=1 nf=-89 time=30 busy=30 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 0.38
ACS: Survey analysis for channel 3 (2422 MHz)
ACS: 1: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS: 2: min_nf=-89 interference_factor=0.433333 nf=-89 time=30 busy=13 rx=0
ACS: 3: min_nf=-89 interference_factor=0.933333 nf=-89 time=30 busy=28 rx=0
ACS: 4: min_nf=-89 interference_factor=0.7 nf=-89 time=30 busy=21 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 0.433333
ACS: Survey analysis for channel 4 (2427 MHz)
ACS: 1: min_nf=-89 interference_factor=0.966667 nf=-89 time=30 busy=29 rx=0
ACS: 2: min_nf=-89 interference_factor=0.833333 nf=-89 time=30 busy=25 rx=0
ACS: 3: min_nf=-89 interference_factor=0.933333 nf=-89 time=30 busy=28 rx=0
ACS: 4: min_nf=-89 interference_factor=0.8 nf=-89 time=30 busy=24 rx=0
ACS: 5: min_nf=-89 interference_factor=0.266667 nf=-89 time=30 busy=8 rx=0
ACS: * interference factor average: 0.76
ACS: Survey analysis for channel 5 (2432 MHz)
ACS: 1: min_nf=-89 interference_factor=0.966667 nf=-89 time=30 busy=29 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=0.2 nf=-89 time=30 busy=6 rx=0
ACS: 4: min_nf=-89 interference_factor=0.133333 nf=-89 time=30 busy=4 rx=0
ACS: 5: min_nf=-89 interference_factor=0.1 nf=-89 time=30 busy=3 rx=0
ACS: * interference factor average: 0.406667
ACS: Survey analysis for channel 6 (2437 MHz)
ACS: 1: min_nf=-89 interference_factor=0.72 nf=-89 time=50 busy=36 rx=0
ACS: 2: min_nf=-89 interference_factor=0.24 nf=-89 time=50 busy=12 rx=0
ACS: 3: min_nf=-89 interference_factor=0.1 nf=-89 time=50 busy=5 rx=0
ACS: 4: min_nf=-89 interference_factor=0.42 nf=-89 time=50 busy=21 rx=0
ACS: 5: min_nf=-89 interference_factor=0.94 nf=-89 time=50 busy=47 rx=0
ACS: * interference factor average: 0.484
ACS: Survey analysis for channel 7 (2442 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1 nf=-89 time=30 busy=30 rx=0
ACS: 3: min_nf=-89 interference_factor=0.466667 nf=-89 time=30 busy=14 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=0.6 nf=-89 time=30 busy=18 rx=0
ACS: * interference factor average: 0.413333
ACS: Survey analysis for channel 8 (2447 MHz)
ACS: 1: min_nf=-89 interference_factor=0.6 nf=-89 time=30 busy=18 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=0.166667 nf=-89 time=30 busy=5 rx=0
ACS: 4: min_nf=-89 interference_factor=0.566667 nf=-89 time=30 busy=17 rx=0
ACS: 5: min_nf=-89 interference_factor=0.4 nf=-89 time=30 busy=12 rx=0
ACS: * interference factor average: 0.473333
ACS: Survey analysis for channel 9 (2452 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 1.58489e-18
ACS: Survey analysis for channel 10 (2457 MHz)
ACS: 1: min_nf=-89 interference_factor=0.2 nf=-89 time=30 busy=6 rx=0
ACS: 2: min_nf=-89 interference_factor=0.633333 nf=-89 time=30 busy=19 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 0.166667
ACS: Survey analysis for channel 11 (2462 MHz)
ACS: 1: min_nf=-89 interference_factor=0.1 nf=-89 time=50 busy=5 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=0.06 nf=-89 time=50 busy=3 rx=0
ACS: * interference factor average: 0.032
ACS: Survey analysis for channel 12 (2467 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=0.133333 nf=-89 time=30 busy=4 rx=0
ACS: 3: min_nf=-89 interference_factor=1.13333 nf=-89 time=30 busy=34 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 0.253333
ACS: Survey analysis for channel 13 (2472 MHz)
ACS: 1: min_nf=-89 interference_factor=0.96 nf=-89 time=50 busy=48 rx=0
ACS: 2: min_nf=-89 interference_factor=0.42 nf=-89 time=50 busy=21 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=50 busy=0 rx=0
ACS: * interference factor average: 0.276
ACS: Survey analysis for channel 14 (2484 MHz)
ACS: 1: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 2: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 3: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: 4: min_nf=-89 interference_factor=1.03333 nf=-89 time=30 busy=31 rx=0
ACS: 5: min_nf=-89 interference_factor=1.58489e-18 nf=-89 time=30 busy=0 rx=0
ACS: * interference factor average: 0.206667
ACS: Survey analysis for selected bandwidth 20 MHz
ACS: * channel 1: total interference = 0.329778 (0.800000 bias)
ACS: * channel 2: total interference = 0.47081
ACS: * channel 3: total interference = 0.489842
ACS: * channel 4: total interference = 0.512947
ACS: * channel 5: total interference = 0.507825
ACS: * channel 6: total interference = 0.391439 (0.800000 bias)
ACS: * channel 7: total interference = 0.381772
ACS: * channel 8: total interference = 0.311193
ACS: * channel 9: total interference = 0.207614
ACS: * channel 10: total interference = 0.156193
ACS: * channel 11: total interference = 0.113853 (0.800000 bias)
ACS: * channel 12: total interference = 0.186708
ACS: * channel 13: total interference = 0.212056
ACS: * channel 14: total interference = 0.206667
ACS: Ideal channel is 11 (2462 MHz) with total interference factor of 0.113853
wlx8800a1017a94: ACS-COMPLETED freq=2462 channel=11
Completing interface initialization
Mode: IEEE 802.11g Channel: 11 Frequency: 2462 MHz
DFS 0 channels required radar detection
nl80211: Set freq 2462 (ht_enabled=0, vht_enabled=0, bandwidth=20 MHz, cf1=2462 MHz, cf2=0 MHz)
* freq=2462
* vht_enabled=0
* ht_enabled=0
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
hostapd_setup_bss(hapd=0x556d84547900 (wlx8800a1017a94), first=1)
wlx8800a1017a94: Flushing old station entries
nl80211: flush -> DEL_STATION wlx8800a1017a94 (all)
wlx8800a1017a94: Deauthenticate all stations
nl80211: send_mlme - da= ff:ff:ff:ff:ff:ff noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xc0 (WLAN_FC_STYPE_DEAUTH) nlmode=3
nl80211: send_mlme -> send_frame
nl80211: send_frame - Use bss->freq=2462
nl80211: send_frame -> send_frame_cmd
nl80211: Frame command failed: ret=-16 (Device or resource busy) (freq=2462 wait=0)
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
Using interface wlx8800a1017a94 with hwaddr 88:00:a1:01:7a:94 and ssid "aaa_test"
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=8):
61 61 61 5f 74 65 73 74 aaa_test
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
GMK - hexdump(len=32): [REMOVED]
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
nl80211: Set beacon (beacon_set=0)
nl80211: Beacon head - hexdump(len=59): 80 00 00 00 ff ff ff ff ff ff 88 00 a1 01 7a 94 88 00 a1 01 7a 94 00 00 00 00 00 00 00 00 00 00 64 00 11 04 00 08 61 61 61 5f 74 65 73 74 01 08 82 84 8b 96 0c 12 18 24 03 01 0b
nl80211: Beacon tail - hexdump(len=65): 2a 01 04 32 04 30 48 60 6c 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 7f 08 04 00 00 02 00 00 00 40
nl80211: ifindex=4
nl80211: beacon_int=100
nl80211: dtim_period=2
nl80211: ssid - hexdump_ascii(len=8):
61 61 61 5f 74 65 73 74 aaa_test
* beacon_int=100
nl80211: hidden SSID not in use
nl80211: privacy=1
nl80211: auth_algs=0x1
nl80211: wpa_version=0x3
nl80211: key_mgmt_suites=0x2
nl80211: pairwise_ciphers=0x18
nl80211: group_cipher=0x8
nl80211: SMPS mode - off
nl80211: beacon_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
nl80211: proberesp_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
nl80211: assocresp_ies - hexdump(len=10): 7f 08 04 00 00 02 00 00 00 40
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wpa_driver_nl80211_set_key: ifindex=4 (wlx8800a1017a94) alg=2 addr=0x556d829c08db key_idx=1 set_tx=1 seq_len=0 key_len=32
nl80211: KEY_DATA - hexdump(len=32): [REMOVED]
broadcast key
nl80211: Set wlx8800a1017a94 operstate 0->1 (UP)
netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
wlx8800a1017a94: interface state ACS->ENABLED
wlx8800a1017a94: AP-ENABLED
wlx8800a1017a94: Setup of interface done.
RTM_NEWLINK: ifi_index=4 ifname= operstate=6 linkmode=0 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
VLAN: RTM_NEWLINK: ifi_index=4 ifname=wlx8800a1017a94 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
VLAN: vlan_newlink(wlx8800a1017a94)
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-49 fc=0x40 seq_ctrl=0x1920 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-50 fc=0x40 seq_ctrl=0x1930 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-50 fc=0x40 seq_ctrl=0x1aa0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-51 fc=0x40 seq_ctrl=0x1ab0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-58 fc=0x40 seq_ctrl=0x1d10 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x1d30 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x1d40 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-43 fc=0x40 seq_ctrl=0x1d60 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=12
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-43 fc=0x40 seq_ctrl=0x1d70 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=12
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=88:78:73:19:67:61 freq=2462 ssi_signal=-34 fc=0x40 seq_ctrl=0xd10 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=79
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=88:78:73:19:67:61 freq=2462 ssi_signal=-33 fc=0x40 seq_ctrl=0xd20 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=79
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x2180 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x2190 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
Ignore Probe Request due to DS Params mismatch: chan=11 != ds.chan=10
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x21b0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-45 fc=0x40 seq_ctrl=0x21c0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=85
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx8800a1017a94
nl80211: RX frame sa=92:a0:22:8c:72:28 freq=2462 ssi_signal=-46 fc=0x40 seq_ctrl=0x24e0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=88ACS: Ideal channel is 11 (2462 MHz) with total interference factor of 0.113853
wlx8800a1017a94: ACS-COMPLETED freq=2462 channel=11
Completing interface initialization
Mode: IEEE 802.11g Channel: 11 Frequency: 2462 MHz
DFS 0 channels required radar detection选中了11信道

[3657]fes begin commit:1417090655
[3660]set pll start
[3662]fix vccio detect value:0xc0
[3669]periph0 has been enabled
[3672]set pll end
[3674][pmu]: bus read error
[3676]board init ok
[3678]beign to init dram
[3680]get_pmu_exist() = -1
[3683]ddr_efuse_type: 0x0
[3685]trefi:7.8ms
[3688][AUTO DEBUG] two rank and full DQ!
[3691]ddr_efuse_type: 0x0
[3694]trefi:7.8ms
[3696][AUTO DEBUG] rank 0 row = 15
[3699][AUTO DEBUG] rank 0 bank = 8
[3703][AUTO DEBUG] rank 0 page size = 2 KB
[3706][AUTO DEBUG] rank 1 row = 15
[3710][AUTO DEBUG] rank 1 bank = 8
[3713][AUTO DEBUG] rank 1 page size = 2 KB
[3717]rank1 config same as rank0
[3720]DRAM BOOT DRIVE INFO: V0.33
[3723]DRAM CLK = 792 MHz
[3725]DRAM Type = 3 (2:DDR2,3:DDR3)
[3728]DRAMC ZQ value: 0x7b7bfb
[3731]DRAM ODT value: 0x42.
[3734]ddr_efuse_type: 0x0
[3737]DRAM SIZE =1024 M
[3739]dram_tpr4:0x0
[3741]PLL_DDR_CTRL_REG:0xf8004100
[3744]DRAM_CLK_REG:0xc0000000
[3747][TIMING DEBUG] MR2= 0x18
[3751]DRAM simple test OK.
[3753]rtc standby flag is 0x0, super standby flag is 0x0
[3758]init dram ok
U-Boot 2018.07-gd9e6718-dirty (Apr 10 2025 - 18:07:08 +0800) Allwinner Technology
[06.291]CPU: Allwinner Family
[06.294]Model: sun8iw20
[06.296]DRAM: 512 MiB
[06.300]Relocation Offset is: 1ceb2000
[06.328]secure enable bit: 0
[06.331]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[06.337]gic: normal mode
sunxi flash map init
SPI ALL: ready
[06.344]flash init start
[06.346]workmode = 16,storage type = 0
try card 0
set card number 0
get card number 0
[06.354][mmc]: mmc driver ver uboot2018:2022-12-07 18:56:00
[06.359][mmc]: get sdc_type fail and use default host:tm1.
[06.365][mmc]: can't find node "mmc0",will add new node
[06.370][mmc]: fdt err returned <no error>
[06.374][mmc]: Using default timing para
[06.377][mmc]: SUNXI SDMMC Controller Version:0x50310
[06.391][mmc]: mmc 0 cmd timeout 100 status 100
[06.395][mmc]: smc 0 err, cmd 8, RTO
[06.399][mmc]: mmc 0 close bus gating and reset
[06.404][mmc]: mmc 0 cmd timeout 100 status 100
[06.408][mmc]: smc 0 err, cmd 55, RTO
[06.411][mmc]: mmc 0 close bus gating and reset
[06.420][mmc]: mmc 0 cmd timeout 100 status 100
[06.424][mmc]: smc 0 err, cmd 1, RTO
[06.427][mmc]: mmc 0 close bus gating and reset
[06.432][mmc]: Card did not respond to voltage select!
[06.436][mmc]: mmc_init: -95, time 54
[06.440][mmc]: mmc_init: mmc init fail, err -95
MMC init failed
try emmc fail
[06.447]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106
[06.453]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217
[06.461]sunxi-spinand-phy: request spi0 gpio ok
[06.465]sunxi-spinand-phy: request general tx dma channel ok!
[06.470]sunxi-spinand-phy: request general rx dma channel ok!
[06.476]sunxi-spinand-phy: set spic0 clk to 20 Mhz
[06.480]sunxi-spinand-phy: init spic0 clk ok
[06.484]sunxi-spinand-phy: detect munufacture from id table: Winbond
[06.490]sunxi-spinand-phy: detect spinand id: ff22aaef ffffffff
[06.496]sunxi-spinand-phy: ========== arch info ==========
[06.501]sunxi-spinand-phy: Model: W25N02KVZEIR
[06.507]sunxi-spinand-phy: Munufacture: Winbond
[06.511]sunxi-spinand-phy: DieCntPerChip: 1
[06.516]sunxi-spinand-phy: BlkCntPerDie: 2048
[06.521]sunxi-spinand-phy: PageCntPerBlk: 64
[06.525]sunxi-spinand-phy: SectCntPerPage: 4
[06.529]sunxi-spinand-phy: OobSizePerPage: 64
[06.534]sunxi-spinand-phy: BadBlockFlag: 0x0
[06.539]sunxi-spinand-phy: OperationOpt: 0xf
[06.543]sunxi-spinand-phy: MaxEraseTimes: 60000
[06.548]sunxi-spinand-phy: EccFlag: 0x0
[06.553]sunxi-spinand-phy: EccType: 4
[06.557]sunxi-spinand-phy: EccProtectedType: 2
[06.561]sunxi-spinand-phy: ========================================
[06.567]sunxi-spinand-phy:
[06.570]sunxi-spinand-phy: ========== physical info ==========
[06.575]sunxi-spinand-phy: TotalSize: 256 M
[06.580]sunxi-spinand-phy: SectorSize: 512 B
[06.584]sunxi-spinand-phy: PageSize: 2 K
[06.588]sunxi-spinand-phy: BlockSize: 128 K
[06.592]sunxi-spinand-phy: OOBSize: 64 B
[06.596]sunxi-spinand-phy: ========================================
[06.602]sunxi-spinand-phy:
[06.604]sunxi-spinand-phy: ========== logical info ==========
[06.610]sunxi-spinand-phy: TotalSize: 256 M
[06.614]sunxi-spinand-phy: SectorSize: 512 B
[06.618]sunxi-spinand-phy: PageSize: 4 K
[06.622]sunxi-spinand-phy: BlockSize: 256 K
[06.626]sunxi-spinand-phy: OOBSize: 128 B
[06.631]sunxi-spinand-phy: ========================================
[06.637]sunxi-spinand-phy: W25N02KVZEIR reset rx bit width to 1
[06.642]sunxi-spinand-phy: W25N02KVZEIR reset tx bit width to 1
[06.648]sunxi-spinand-phy: block lock register: 0x00
[06.653]sunxi-spinand-phy: feature register: 0x00
[06.657]sunxi-spinand-phy: sunxi physic nand init end
[07.662]sunxi-spinand: read single page failed: -110
[08.667]sunxi-spinand-phy: set spic0 clk to 100 Mhz
[73.748]sunxi-spinand: read single page failed: -110
[74.754]sunxi-spinand: read single page failed: -110SDK不支持 W25N02KVZEIR
Linux源码位置:
kernel/linux-5.10-origin/
bsp位置:
kernel/linux-5.10-origin/bsp/
bsp实际存放位置:
bsp/
源码版本:
Linux 5.10.198
单独下载官方源码:
https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.198.tar.xz
build/bsp.sh 在这里合并SDK:
export LICHEE_BSP_DIR=${LICHEE_TOP_DIR}/bsp
BSP_DIR=${LICHEE_BSP_DIR}
function merge_bsp()
{
LOGV "${FUNCNAME[0]}() BEGIN"
LOGD "Remove BSP files"
pushd ${KER_DIR} >/dev/null
rm $VERBOSE -rf bsp
cp $VERBOSE -ar ${BSP_DIR} ./
popd >/dev/null
LOGV "${FUNCNAME[0]}() END"
}$ ./build.sh kernel
04-22 17:07:44.416 88561 D mkcommon : ========ACTION List: build_kernel ;========
04-22 17:07:44.417 88561 D mkcommon : options :
04-22 17:07:44.418 88561 I mkcommon : build kernel ...
04-22 17:07:44.419 88561 I mkcommon : prepare_buildserver
04-22 17:07:44.428 88561 I mkcommon : Prepare toolchain ...
04-22 17:07:44.464 88605 D bsp : Setup BSP files
04-22 17:07:45.589 88617 D mkkernel : 2 ,/opt/T113-Tina5.0-V1.2_linux5.10/kernel/linux-5.10-origin, /opt/T113-Tina5.0-V1.2_linux5.10/kernel/linux-5.10-origin
04-22 17:07:45.652 88617 D mkkernel : sunxi power version is 1.0.1
04-22 17:07:46.710 88617 D mkkernel : Building kernelfunction setup_bsp()
{
LOGV "${FUNCNAME[0]}() BEGIN"
LOGD "Setup BSP files"
pushd "${KER_DIR}" >/dev/null
rm $VERBOSE -rf bsp
ln $VERBOSE -sr ${BSP_DIR} bsp
popd >/dev/null
LOGV "${FUNCNAME[0]}() END"
}SDK 1.2 版本支持 linux5.10,这样顺便解决了2038千年虫问题
顺手测试一下:
# cat /proc/version
Linux version 5.10.198 (ubuntu@ubuntu) (arm-linux-gnueabihf-gcc (GCC) 11.3.1 20220604 [releases/gcc-11 revision 591c0f4b92548e3ae2e8173f4f93984b1c7f62bb], GNU ld (Linaro_Binutils-2022.06) 2.37.20220122) #1 SMP PREEMPT Tue Apr 22 13:16:51 CST 2025
#
#
#
# date -s '2039-1-1'
Sat Jan 1 00:00:00 UTC 2039
#
# date
Sat Jan 1 00:00:01 UTC 2039
##
# df
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0_5 29864 29864 0 100% /
df: /dev/shm: No such file or directory
tmpfs 116820 28 116792 0% /tmp
tmpfs 116820 20 116800 0% /run
devtmpfs 106116 0 106116 0% /dev
/dev/by-name/UDISK 38156 4748 31420 13% /mnt/UDISK
##
# mount
ubi0_5 on / type ubifs (rw,relatime,assert=read-only,ubi=0,vol=5)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=106116k,nr_inodes=26529,mode=755)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
none on /sys/kernel/config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/by-name/UDISK on /mnt/UDISK type ubifs (rw,relatime,assert=read-only,ubi=0,vol=8)
none on /sys/kernel/debug type debugfs (rw,relatime)
#默认没有实现 overlayfs 文件系统
可惜了,ubifs 不支持swap:A failed attempt:ubifs+swap
# dd if=/dev/zero of=/mnt/swap/swapfile bs=1M count=32
32+0 records in
32+0 records out
33554432 bytes (32.0MB) copied, 0.341635 seconds, 93.7MB/s
# mkswap /mnt/swap/swapfile
Setting up swapspace version 1, size = 33550336 bytes
UUID=79052343-2d79-4423-925b-455c7e328917
# chmod 0600 //mnt/swap/swapfile
# swapon /mnt/swap/swapfile
[ 1984.581859] swapon: swapfile has holes
swapon: /root/swapfile: swapon failed: Invalid argument能想到的方法都想到了,最后一招就只能是看内核的代码了。其中过程略过,只讲最后的发现。
本次遇到的"swapfile has holes"这个错误信息是由下述代码导致的!
int bmap(struct inode *inode, sector_t *block)
{
if (!inode->i_mapping->a_ops->bmap)
return -EINVAL;
*block = inode->i_mapping->a_ops->bmap(inode->i_mapping, *block);
return 0;
}
EXPORT_SYMBOL(bmap);-EINVAL就是invalid argument!,看来是没有bmap操作!进一步阅读内核UBIFS的代码,得到如下:
const struct address_space_operations ubifs_file_address_operations = {
.readpage = ubifs_readpage,
.writepage = ubifs_writepage,
.write_begin = ubifs_write_begin,
.write_end = ubifs_write_end,
.invalidatepage = ubifs_invalidatepage,
.set_page_dirty = ubifs_set_page_dirty,
#ifdef CONFIG_MIGRATION
.migratepage = ubifs_migrate_page,
#endif
.releasepage = ubifs_releasepage,
};可见,这里的确没有设置bmap操作,所以无论如何都会返回EINVAL。
UBIFS不支持文件方式的swap功能。同时,因为UBI本身(注意和UBIFS的区别)不是块设备(/dev/ubix是字符设备),因此也不能支持块设备的swap功能!
为了在使用UBI/UBIFS的系统里面支持swap功能,需要单独一个MTD分区(MTD有块设备支持),通过块设备的方式来支持swap功能!
# cat /proc/mtd
dev: size erasesize name
mtd0: 00180000 00010000 "uboot"
mtd1: 00020000 00010000 "boot-resource"
mtd2: 00020000 00010000 "env"
mtd3: 00020000 00010000 "env-redund"
mtd4: 00780000 00010000 "boot"
mtd5: 007e0000 00010000 "rootfs"
mtd6: 00ec0000 00010000 "UDISK"
mtd7: 08000000 00020000 "spi0.1"
##
# ubiformat /dev/mtd7
ubiformat: mtd7 (nand), size 134217728 bytes (128.0 MiB), 1024 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 byt es
libscan: scanning eraseblock 1023 -- 100 % complete
ubiformat: 1024 eraseblocks are supposedly empty
ubiformat: formatting eraseblock 1023 -- 100 % complete
#
#
# ubiattach -m 7
ubi0: attaching mtd7
ubi0: scanning is finished
ubi0: attached mtd7 (name "spi0.1", size 128 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 1024, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 1346078118
ubi0: available PEBs: 1000, total reserved PEBs: 24, PEBs reserved for bad PEB handling: 20
ubi0: background thread "ubi_bgt0d" started, PID 1306
UBI device number 0, total 1024 LEBs (130023424 bytes, 124.0 MiB), available 1000 LEBs (126976000 bytes, 121.0 MiB), LEB size 126976 bytes (124.0 KiB)
#
## ubimkvol /dev/ubi0 -N my_volume -s 120MiB
Volume ID 0, size 991 LEBs (125833216 bytes, 120.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "my_volume", alignment 1
#
#
# mkdir /mnt/addon
#
# mount -t ubifs ubi0:my_volume /mnt/addon
UBIFS (ubi0:0): default file-system created
UBIFS (ubi0:0): Mounting in unauthenticated mode
UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1556
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "my_volume"
UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS (ubi0:0): FS size: 124436480 bytes (118 MiB, 980 LEBs), journal size 6221824 bytes (5 MiB, 49 LEBs)
UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 9052DCCC-6CB7-46AC-8C19-D7589BB974F3, small LPT model
## dd if=/dev/urandom of=/mnt/addon/x1.bin bs=1M count=20
20+0 records in
20+0 records out
#
# dd if=/dev/urandom of=/mnt/addon/x2.bin bs=1M count=20
20+0 records in
20+0 records out
#
#
# dd if=/dev/urandom of=/mnt/addon/x3.bin bs=1M count=70
70+0 records in
70+0 records out
## md5sum /mnt/addon/*
e6b65f9c308d919a9fd15df47ce8f938 /mnt/addon/x1.bin
ec0d0d20e1ca4937638570313959467d /mnt/addon/x2.bin
875826b16155aed227790c07d0bcee66 /mnt/addon/x3.bin
#Detect comp none
[01.642]
Starting kernel ...
Linux version 5.4.61 (ubuntu@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #50 PREEMPT 2025-04-03 20:46:44
Zone ranges:
DMA32 [mem 0x0000000040000000-0x0000000043ffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x0000000043ffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
On node 0 totalpages: 16384Detect comp none
[00.525]
Starting kernel ...
▒** 9 printk messages dropped **
On node 0 totalpages: 16384T113 SDK V1.2 t113_i/evb1_auto_nor 修改调试串口就能在哪吒开发板跑起来:
/opt/T113-Tina5.0-V1.2/device/config/chips/t113_i/configs/evb1_auto_nor
ubuntu@ubuntu:/opt/T113-Tina5.0-V1.2/device/config/chips/t113_i/configs/evb1_auto_nor$ git diff
diff --git a/configs/evb1_auto_nor/linux-5.4/board.dts b/configs/evb1_auto_nor/linux-5.4/board.dts
index 581b30c..63417bb 100644
--- a/configs/evb1_auto_nor/linux-5.4/board.dts
+++ b/configs/evb1_auto_nor/linux-5.4/board.dts
@@ -382,17 +382,17 @@
};
uart0_pins_a: uart0_pins@0 { /* For EVB1 board */
- pins = "PG17", "PG18";
+ pins = "PB8", "PB9";
function = "uart0";
drive-strength = <10>;
bias-pull-up;
};
uart0_pins_b: uart0_pins@1 { /* For EVB1 board */
- pins = "PG17", "PG18";
+ pins = "PB8", "PB9";
function = "gpio_in";
};
-
+
uart1_pins_a: uart1_pins@0 { /* For EVB1 board */
pins = "PG6", "PG7", "PG8", "PG9";
function = "uart1";
diff --git a/configs/evb1_auto_nor/sys_config.fex b/configs/evb1_auto_nor/sys_config.fex
index 9a33241..b5dac6b 100755
--- a/configs/evb1_auto_nor/sys_config.fex
+++ b/configs/evb1_auto_nor/sys_config.fex
@@ -734,8 +734,8 @@ twi_sda = port:PC1<3><1><default><default>
;----------------------------------------------------------------------------------
[uart_para]
uart_debug_port = 0
-uart_debug_tx = port:PG17<7><1><default><default>
-uart_debug_rx = port:PG18<7><1><default><default>
+uart_debug_tx = port:PB8<6><1><default><default>
+uart_debug_rx = port:PB9<6><1><default><default>
;----------------------------------------------------------------------------------
diff --git a/configs/evb1_auto_nor/sys_partition_nor.fex b/configs/evb1_auto_nor/sys_partition_nor.fex
index fa4114e..c560454 100755
--- a/configs/evb1_auto_nor/sys_partition_nor.fex
+++ b/configs/evb1_auto_nor/sys_partition_nor.fex
@@ -59,6 +59,6 @@ size = 16
[partition]
name = rootfs
- size = 13312
+ size = 14312
downloadfile = "rootfs_nor.fex"
user_type = 0x8000
nor flash的buildroot配置:
buildroot/buildroot-201902/configs/sun8iw20p1_t113_nor_defconfig
其他存储器的buildroot配置:
buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig
buildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig 内容:
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABI=y
BR2_SVN="svn"
BR2_JLEVEL=16
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_HOSTNAME="kunos"
BR2_TARGET_GENERIC_ISSUE="Welcome to Allwinner KunoOS Platform"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_BASH=y
# BR2_TARGET_GENERIC_GETTY is not set
BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../config/buildroot/post_build.sh"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_SDK_MEMORY_TEST=y
BR2_PACKAGE_ALPHA_TEST=y
BR2_PACKAGE_LCD_BRIGHT_TEST=y
BR2_PACKAGE_MEM_TEST_DE=y
BR2_PACKAGE_YUV_TEST=y
BR2_PACKAGE_SDK_G2D_TEST=y
BR2_PACKAGE_SDK_COMMON=y
BR2_PACKAGE_CSI_TEST=y
BR2_PACKAGE_FBINIT_TEST=y
BR2_PACKAGE_GPIO_TEST=y
BR2_PACKAGE_MULTISCREEN_TEST=y
BR2_PACKAGE_TPADC_TEST=y
BR2_PACKAGE_SDK_ENDEC=y
BR2_PACKAGE_SDK_DECODER_TEST=y
BR2_PACKAGE_SDK_ENCODER_TEST=y
BR2_PACKAGE_SDK_GIF2RGB_TEST=y
BR2_PACKAGE_SDK_CAMERA=y
BR2_PACKAGE_AUDIO_ENC_TEST=y
BR2_PACKAGE_DVR_TEST=y
BR2_PACKAGE_RECORD_TEST=y
BR2_PACKAGE_TVD_TEST=y
BR2_PACKAGE_USB_CAMERA_TEST=y
BR2_PACKAGE_SDK_PLAYER=y
BR2_PACKAGE_AUTPLAYER_TEST=y
BR2_PACKAGE_STREAM_LAYER_TEST=y
LUAPI_LAYER_ALLOC_LAY=y
BR2_PACKAGE_PQD=y
BR2_PACKAGE_TPLAYERDEMO=y
BR2_PACKAGE_TRECORDERDEMO=y
BR2_PACKAGE_BACKPLAYDEMO=y
BR2_PACKAGE_JPEGDECODEDEMO=y
BR2_PACKAGE_ENCODERTEST=y
BR2_PACKAGE_TPLAYER=y
BR2_PACKAGE_TRECORDER=y
BR2_PACKAGE_AEENC_COMP_DEMO=y
BR2_PACKAGE_RECORDER_DEMO=y
BR2_PACKAGE_VENC_COMP_DEMO=y
BR2_PACKAGE_LIBCEDARSE=y
BR2_PACKAGE_AMP_SHELL=y
BR2_PACKAGE_BUSYBOX_INIT_BASE_FILES=y
BR2_PACKAGE_OTA_BURNBOOT=y
BR2_PACKAGE_RPBUF=y
BR2_PACKAGE_RPBUF_DEMO=y
BR2_PACKAGE_RPBUF_TEST=y
BR2_PACKAGE_RPMSG=y
BR2_PACKAGE_RPMSG_DEMO=y
BR2_PACKAGE_RPMSG_TEST=y
BR2_PACKAGE_ADBD=y
BR2_PACKAGE_CPU_MONITOR=y
BR2_PACKAGE_MTOP=y
BR2_PACKAGE_BTMANAGER=y
BR2_PACKAGE_BTMG_DEMO=y
BR2_PACKAGE_WIFI_FIRMWARE=y
BR2_PACKAGE_XR829_FIRMWARE=y
BR2_PACKAGE_XR829_USE_40M=y
BR2_PACKAGE_WIFIMANAGER=y
BR2_PACKAGE_WIFIMANAGER_LIB=y
BR2_PACKAGE_WIFIMANAGER_DEMO=y
BR2_PACKAGE_LV_G2D_TEST=y
BR2_PACKAGE_ALSA_UTILS=y
BR2_PACKAGE_ALSA_UTILS_AMIXER=y
BR2_PACKAGE_ALSA_UTILS_APLAY=y
BR2_PACKAGE_BLUEZ_ALSA_HCITOP=y
BR2_PACKAGE_BLUEZ_ALSA_RFCOMM=y
BR2_PACKAGE_FAAD2=y
BR2_PACKAGE_FLAC=y
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_PLUGINS_GOOD=y
BR2_PACKAGE_GST1_PLUGINS_BAD=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX=y
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y
BR2_PACKAGE_GST_OMX=y
BR2_PACKAGE_LAME=y
BR2_PACKAGE_MPG123=y
BR2_PACKAGE_MUSEPACK=y
BR2_PACKAGE_WAVPACK=y
BR2_PACKAGE_LIBTOOL=y
BR2_PACKAGE_DOSFSTOOLS=y
BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y
BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_EXFAT=y
BR2_PACKAGE_EXFAT_UTILS=y
BR2_PACKAGE_MTD=y
BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_NTFS_3G_ENCRYPTED=y
BR2_PACKAGE_NTFS_3G_NTFSPROGS=y
BR2_PACKAGE_DIRECTFB=y
BR2_PACKAGE_FREERDP=y
# BR2_PACKAGE_FREERDP_CLIENT_WL is not set
BR2_PACKAGE_DTV_SCAN_TABLES=y
BR2_PACKAGE_I2C_TOOLS=y
BR2_PACKAGE_LIBUMP=y
BR2_PACKAGE_MEMTESTER=y
BR2_PACKAGE_MINICOM=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_UBOOT_TOOLS_HAVEREDUNDENV=y
BR2_PACKAGE_PYTHON3=y
BR2_PACKAGE_FDK_AAC=y
BR2_PACKAGE_LIBMAD=y
BR2_PACKAGE_LIBSAMPLERATE=y
BR2_PACKAGE_OPUS=y
BR2_PACKAGE_SPEEX=y
BR2_PACKAGE_TAGLIB=y
BR2_PACKAGE_TREMOR=y
BR2_PACKAGE_VO_AACENC=y
BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y
BR2_PACKAGE_MYSQL=y
BR2_PACKAGE_POSTGRESQL=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBJPEG=y
BR2_PACKAGE_LIBRSVG=y
BR2_PACKAGE_LIBVA=y
BR2_PACKAGE_OPENJPEG=y
BR2_PACKAGE_WAYLAND=y
BR2_PACKAGE_WAYLAND_PROTOCOLS=y
BR2_PACKAGE_WEBP=y
BR2_PACKAGE_LIBINPUT=y
BR2_PACKAGE_LIBUSB=y
BR2_PACKAGE_LIBV4L=y
BR2_PACKAGE_LIBV4L_UTILS=y
BR2_PACKAGE_LIBXKBCOMMON=y
BR2_PACKAGE_LIBASS=y
BR2_PACKAGE_LIBDVDREAD=y
BR2_PACKAGE_LIBMMS=y
BR2_PACKAGE_LIBMPEG2=y
BR2_PACKAGE_LIBOPENH264=y
BR2_PACKAGE_LIBTHEORA=y
BR2_PACKAGE_LIBVPX=y
BR2_PACKAGE_X264=y
BR2_PACKAGE_X265=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBRSYNC=y
BR2_PACKAGE_LIBSOCKETCAN=y
BR2_PACKAGE_LIBSOUP=y
BR2_PACKAGE_LIBSRTP=y
BR2_PACKAGE_NEON=y
BR2_PACKAGE_RTMPDUMP=y
BR2_PACKAGE_LIBICAL=y
BR2_PACKAGE_LIBUCI=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
BR2_PACKAGE_PCRE2=y
BR2_PACKAGE_PCRE2_16=y
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
BR2_PACKAGE_BLUEZ5_UTILS_MONITOR=y
BR2_PACKAGE_BLUEZ5_UTILS_TOOLS=y
BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED=y
# BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK is not set
BR2_PACKAGE_CAN_UTILS=y
BR2_PACKAGE_DNSMASQ=y
BR2_PACKAGE_DNSMASQ_DNSSEC=y
BR2_PACKAGE_DNSMASQ_IDN=y
BR2_PACKAGE_DNSMASQ_CONNTRACK=y
BR2_PACKAGE_HOSTAPD=y
BR2_PACKAGE_HOSTAPD_EAP=y
BR2_PACKAGE_HOSTAPD_WPS=y
BR2_PACKAGE_IPERF=y
BR2_PACKAGE_IPERF3=y
BR2_PACKAGE_IPROUTE2=y
BR2_PACKAGE_IPTABLES=y
BR2_PACKAGE_IPTABLES_BPF_NFSYNPROXY=y
BR2_PACKAGE_IPTABLES_NFTABLES=y
BR2_PACKAGE_IW=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY=y
BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING=y
BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT=y
BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_ANDROID_TOOLS=y
BR2_PACKAGE_SWUPDATE=y
SWUPDATE_CONFIG_DOWNLOAD=y
BR2_PACKAGE_VIM=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="512M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_DTC=y
BR2_PACKAGE_HOST_GENEXT2FS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=ybuildroot/buildroot-201902/configs/sun8iw20p1_t113_defconfig 内容:
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_EABI=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_HOSTNAME="kunos"
BR2_TARGET_GENERIC_ISSUE="Welcome to Allwinner KunoOS Platform"
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
BR2_PACKAGE_SDK_MEMORY_TEST=y
BR2_PACKAGE_ALPHA_TEST=y
BR2_PACKAGE_LCD_BRIGHT_TEST=y
BR2_PACKAGE_MEM_TEST_DE=y
BR2_PACKAGE_TVD_TEST=y
BR2_PACKAGE_YUV_TEST=y
BR2_PACKAGE_SDK_G2D_TEST=y
BR2_PACKAGE_SDK_COMMON=y
BR2_PACKAGE_CSI_TEST=y
BR2_PACKAGE_FBINIT_TEST=y
BR2_PACKAGE_GPIO_TEST=y
BR2_PACKAGE_MULTISCREEN_TEST=y
BR2_PACKAGE_TPADC_TEST=y
BR2_PACKAGE_SDK_ENDEC=y
BR2_PACKAGE_SDK_DECODER_TEST=y
BR2_PACKAGE_SDK_ENCODER_TEST=y
BR2_PACKAGE_SDK_GIF2RGB_TEST=y
BR2_PACKAGE_SDK_CAMERA=y
BR2_PACKAGE_AUDIO_ENC_TEST=y
BR2_PACKAGE_DVR_TEST=y
BR2_PACKAGE_RECORD_TEST=y
BR2_PACKAGE_USB_CAMERA_TEST=y
BR2_PACKAGE_SDK_PLAYER=y
BR2_PACKAGE_AUTPLAYER_TEST=y
BR2_PACKAGE_STREAM_LAYER_TEST=y
BR2_PACKAGE_BUSYBOX_INIT_BASE_FILES=y
BR2_PACKAGE_OTA_BURNBOOT=y
BR2_PACKAGE_ADBD=y
# LVGL8_USE_SUNXIFB_DOUBLE_BUFFER is not set
# LVGL8_USE_SUNXIFB_CACHE is not set
BR2_PACKAGE_MTD=y
BR2_PACKAGE_MTD_MKFSJFFS2=y
BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBCURL=y
BR2_PACKAGE_LIBLDNS=y
BR2_PACKAGE_LIBRSYNC=y
BR2_PACKAGE_NCURSES=y
BR2_PACKAGE_ANDROID_TOOLS=yubuntu 106929 105940 0 11:14 pts/1 00:00:00 /bin/bash ./build.sh
ubuntu 106933 106929 0 11:14 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu 108878 106933 0 11:14 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu 108879 108878 0 11:14 pts/1 00:00:00 /bin/bash ./build.sh -p sun8iw20p1_auto_t113_i -b t113_i -o all
ubuntu 108880 108878 1 11:14 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
root 114896 1 0 08:11 ? 00:00:00 /usr/sbin/cupsd -l
root 114897 1 0 08:11 ? 00:00:00 /usr/sbin/cups-browsed
ubuntu 115002 1471 0 08:13 ? 00:00:00 /usr/lib/gvfs/gvfsd-network --spawner :1.22 /org/gtk/gvfs/exec_spaw/2
root 115068 2 0 08:14 ? 00:00:00 [kworker/6:3-eve]
ubuntu 115084 1471 0 08:14 ? 00:00:00 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.22 /org/gtk/gvfs/exec_spaw/13
root 115107 2 0 08:14 ? 00:00:01 [kworker/5:0-eve]
root 115117 2 0 08:15 ? 00:00:01 [kworker/0:0-eve]
ubuntu 120995 108879 0 11:14 pts/1 00:00:00 /bin/bash ./build.sh -p sun8iw20p1_auto_t113_i -b t113_i -o all
ubuntu 123803 120995 1 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make CROSS_COMPILE=/opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro
ubuntu 128124 123803 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make -f ./scripts/Makefile.build obj=drivers/mtd/spi
ubuntu 128145 128124 0 11:14 pts/1 00:00:00 /bin/sh -c set -e; ? echo ' CC drivers/mtd/spi/spi-nor-core.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-
ubuntu 128153 128145 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/mtd/s
ubuntu 128156 128153 56 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1
ubuntu 128159 128153 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu 128612 123803 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/make_dir/make4.1/bin/make -f ./scripts/Makefile.build obj=drivers/serial
ubuntu 128627 128612 0 11:14 pts/1 00:00:00 /bin/sh -c set -e; ? echo ' CC drivers/serial/serial.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_
ubuntu 128629 128612 0 11:14 pts/1 00:00:00 /bin/sh -c set -e; ? echo ' CC drivers/serial/serial_ns16550.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11
ubuntu 128630 128627 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu 128633 128629 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu 128635 128612 0 11:14 pts/1 00:00:00 /bin/sh -c set -e; ? echo ' CC drivers/serial/ns16550.o'; /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64
ubuntu 128637 128630 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1
ubuntu 128638 128630 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu 128639 128635 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc -Wp,-MD,drivers/seria
ubuntu 128640 128633 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1
ubuntu 128642 128633 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu 128643 128639 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../libexec/gcc/arm-linux-gnueabi/7.2.1/cc1
ubuntu 128645 128639 0 11:14 pts/1 00:00:00 /opt/T113-Tina5.0-V1.2/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabi/7.2.1/../../..
ubuntu 128668 1819 0 11:14 pts/0 00:00:00 ps -Afubuntu 16907 105940 0 10:35 pts/1 00:00:00 /bin/bash ./build.sh
ubuntu 16911 16907 0 10:35 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
root 26876 2 0 07:43 ? 00:00:10 [kworker/7:0-mm_]
ubuntu 35550 1 0 10:41 tty1 00:00:00 /usr/bin/python3 /usr/share/apport/apport-gtk
root 72545 2 0 10:45 ? 00:00:00 [kworker/7:1-eve]
root 73898 2 0 10:45 ? 00:00:00 [kworker/u256:0-]
root 78794 2 0 10:49 ? 00:00:00 [kworker/4:0-mm_]
root 79887 2 0 10:49 ? 00:00:00 [kworker/1:0-eve]
ubuntu 88238 16911 0 10:38 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu 88239 88238 0 10:38 pts/1 00:00:00 /bin/bash /opt/T113-Tina5.0-V1.2/build/mkcommon.sh
ubuntu 88240 88239 0 10:38 pts/1 00:00:00 make O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902
ubuntu 88249 88240 1 10:38 pts/1 00:00:13 make -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902 --no-print-directory O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot
ubuntu 92898 88249 0 10:49 pts/1 00:00:00 /usr/bin/make -j9 -C /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/build/host-ncurses-6.1/progs tic
ubuntu 92903 92898 0 10:49 pts/1 00:00:00 /bin/bash -c cd ../ncurses; /usr/bin/make - -j --jobserver-fds=3,4 --no-print-directory
ubuntu 92906 92903 4 10:49 pts/1 00:00:00 /usr/bin/make - -j --jobserver-fds=3,4 --no-print-directory
ubuntu 93718 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93720 93718 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93751 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93754 93751 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93767 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93780 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93781 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93783 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93784 93781 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93785 93783 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93786 93780 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93788 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93790 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93791 92906 0 10:49 pts/1 00:00:00 /usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I../include -I/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/include -D_GNU_SOURCE
ubuntu 93792 93790 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93793 93788 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93794 93791 0 10:49 pts/1 00:00:00 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -I ../ncurses -I . -I ../include -I /opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot/host/incl
ubuntu 93795 1819 0 10:49 pts/0 00:00:00 ps -Af看下脚本调用关系
./build.sh
->
/opt/T113-Tina5.0-V1.2/build/mkcommon.sh
->
/opt/T113-Tina5.0-V1.2/build/mkcommon.sh
->
make O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902
->
make -C /opt/T113-Tina5.0-V1.2/buildroot/buildroot-201902 --no-print-directory O=/opt/T113-Tina5.0-V1.2/out/t113/evb1_auto_nor/buildroot/buildroot
如何找到 buildroot 的配置文件:
device/config/chips/t113/configs/evb1_auto_nor/BoardConfig.mk
LICHEE_CHIP:=sun8iw20p1
LICHEE_ARCH:=arm
LICHEE_PRODUCT:=t113_evb1_auto_nor
LICHEE_BRANDY_VER:=2.0
LICHEE_FLASH:=nor
LICHEE_BRANDY_DEFCONF:=sun8iw20p1_auto_defconfig
LICHEE_KERN_VER:=5.4
LICHEE_KERN_DEFCONF:=config-5.4
LICHEE_COMPILER_TAR:=arm/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz
LICHEE_BUILDING_SYSTEM:=buildroot
LICHEE_BR_VER:=201902
LICHEE_BR_DEFCONF:=sun8iw20p1_t113_nor_defconfig
LICHEE_BR_RAMFS_CONF=sun8iw20p1_ramfs_defconfig
LICHEE_COMPRESS:=gzip
LICHEE_NO_RAMDISK_NEEDED:=y
LICHEE_REDUNDANT_ENV_SIZE:=0x20000那么 LICHEE_BR_DEFCONF:=sun8iw20p1_t113_nor_defconfig
这个 sun8iw20p1_t113_nor_defconfig 就是 buildroot的配置文件了:
buildroot/buildroot-201902/configs/sun8iw20p1_t113_nor_defconfig
build/mkcommon.sh
################ Parse other arguments ###################
while [ $# -gt 0 ]; do
case "$1" in
config*)
opt=${1##*_};
if [ "${opt}" == "all" ]; then
export CONFIG_ALL=${FLAGS_TRUE};
else
export CONFIG_ALL=${FLAGS_FALSE};
fi
FLAGS_config=${FLAGS_TRUE};
break;
;;
autoconfig)
ACTION="mk_autoconfig;"
FLAGS_config=${FLAGS_TRUE};
break;
;;
loadconfig|menuconfig|saveconfig|mergeconfig) # support t113 compile(linux5.4)
ACTION="kernel_config $@;"
module=""
;;
gen*)
opt=${1##*_};
if [ "${opt}" == "config" ]; then
cd kernel/${LICHEE_KERN_VER}/
printf "\033[47;41mPrepare to use script to generate the android defconfig.\033[0m\n"
ARCH=${LICHEE_ARCH} ./scripts/kconfig/merge_config.sh \
arch/${LICHEE_ARCH}/configs/${LICHEE_CHIP}smp_defconfig \
kernel/configs/android-base.config \
kernel/configs/android-recommended.config \
kernel/configs/sunxi-recommended.config
if [ -f .config ]; then
printf "\033[47;41mComplete the build config,save to ${LICHEE_KERN_VER}/.config !!!\033[0m\n"
cp .config arch/${LICHEE_ARCH}/configs/${LICHEE_CHIP}smp_android_defconfig
fi
cd ..
exit 0
else
echo "Do not support this command!!"
exit 1
fi
break;
;;
pack*)
optlist=$(echo ${1#pack} | sed 's/_/ /g')
mode=""
for opt in $optlist; do
case "$opt" in
debug)
mode="$mode -d card0"
;;
dump)
mode="$mode -m dump"
;;
prvt)
mode="$mode -f prvt"
;;
secure)
mode="$mode -s secure"
;;
prev)
mode="$mode -s prev_refurbish"
;;
crash)
mode="$mode -m crashdump"
;;
vsp)
mode="$mode -t vsp"
;;
raw)
mode="$mode -w programmer"
;;
verity)
mode="$mode --verity"
;;
signfel)
mode="$mode --signfel"
;;
*)
mk_error "Invalid pack option $opt"
exit 1
;;
esac
done
######### Don't build other module, if pack firmware ########
ACTION="mkpack ${mode};";
module="";
break;
;;
buildroot)
ACTION="mkbr;";
module=buildroot;
break;
;;
ramfs)
ACTION="mkramfs;";
module=ramfs;
break;
;;
clean|distclean|rootfs)
ACTION="mk${1};";
module="";
break;
;;
bootloader)
ACTION="mk${1};";
module="bootloader";
break;
;;
brandy)
ACTION="mk${1};";
module="brandy";
break;
;;
kernel)
ACTION="mkkernel;";
module="kernel";
break;
;;
recovery)
ACTION="mkrecovery;";
module="recovery";
break;
;;
dts)
ACTION="mkdts;";
module="";
break
;;
*) ;;
esac;
shift;
done编译buildroot:
./build.sh buildroot
编译uboot:
./build.sh brandy
./build.sh bootloader
编译Linux:
./build.sh kernel
编译dts:
./build.sh dts
打包文件系统:
./build.sh rootfs
./build.sh buildroot_rootfs
配置buildroot package:
./build.sh buildroot_menuconfig
配置openwrt package:
./build.sh openwrt_menuconfig
配置Linux:
./build.sh menuconfig
编译其指定的包 g2d-sample:
./build.sh buildroot_package g2d-sample
删除并重新编译其指定的包 busybox:
rm out/t113/XXXXX/buildroot/buildroot/build/busybox-1.33.2/ -rf
./build.sh buildroot_package busybox
删除并重新编译其指定的包 tplayerdemo:
rm out/t113/XXXXX/buildroot/buildroot/build/tplayerdemo/ -rf
./build.sh buildroot_package tplayerdemo
这个就是我们需要的二进制文件:
out/t113/XXXXX/buildroot/buildroot/target/usr/bin/tplayerdemo
build/mkcmd.sh
function make_ext4()
{
}
function pack_rootfs()
{
...
case ${LICHEE_BOARD} in
*nor*)
make_squashfs ${ROOTFS}
;;
*nand*)
make_ubifs ${ROOTFS}
;;
*)
if [ "x${LICHEE_FLASH}" = "xnor" ]; then
echo "build spi nor flash rootfs"
make_squashfs ${ROOTFS}
elif [ "x${LICHEE_FLASH}" = "xnand" ];then
echo "build spi nand flash rootfs"
make_ubifs ${ROOTFS}
else
echo "build emmc rootfs"
make_ext4 ${ROOTFS}
fi
;;
esac
...
}
function mkrootfs()
{
...
pack_rootfs $1
...
}
function mklichee()
{
...
mkrootfs $1
...
}longan 如何检查端口复用:
mount -t debugfs none /sys/kernel/debug;
看 PB/PC/PD/PE/PF/PG/PH/PI/PJ/PK:
cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins
看PL/PM组:
cat /sys/kernel/debug/pinctrl/7025000.pinctrl/pinmux-pins
root@dragonboard:~# cat /sys/kernel/debug/pinctrl/2000000.pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner|gpio_owner (strict) hog?
pin 32 (PB0): GPIO 2000000.pinctrl:32
pin 33 (PB1): GPIO 2000000.pinctrl:33
pin 34 (PB2): UNCLAIMED
pin 35 (PB3): UNCLAIMED
pin 36 (PB4): device 2532000.i2s0_plat function i2s0_mclk group PB4
pin 37 (PB5): device 2532000.i2s0_plat function i2s0_bclk group PB5
pin 38 (PB6): device 2532000.i2s0_plat function i2s0_lrck group PB6
pin 39 (PB7): device 2532000.i2s0_plat function i2s0_dout0 group PB7
pin 40 (PB8): device 2532000.i2s0_plat function i2s0_din0 group PB8
pin 41 (PB9): UNCLAIMED
pin 42 (PB10): UNCLAIMED
pin 64 (PC0): UNCLAIMED
pin 65 (PC1): UNCLAIMED
pin 66 (PC2): UNCLAIMED
pin 67 (PC3): UNCLAIMED
pin 68 (PC4): UNCLAIMED
pin 69 (PC5): UNCLAIMED
pin 70 (PC6): UNCLAIMED
pin 71 (PC7): UNCLAIMED
pin 72 (PC8): UNCLAIMED
pin 73 (PC9): UNCLAIMED
pin 74 (PC10): UNCLAIMED
pin 75 (PC11): UNCLAIMED
pin 76 (PC12): UNCLAIMED
pin 77 (PC13): UNCLAIMED
pin 78 (PC14): UNCLAIMED
pin 79 (PC15): UNCLAIMED
pin 80 (PC16): UNCLAIMED
pin 96 (PD0): UNCLAIMED
pin 97 (PD1): UNCLAIMED
pin 98 (PD2): UNCLAIMED
pin 99 (PD3): UNCLAIMED
pin 100 (PD4): UNCLAIMED
pin 101 (PD5): UNCLAIMED
pin 102 (PD6): UNCLAIMED
pin 103 (PD7): UNCLAIMED
pin 104 (PD8): UNCLAIMED
pin 105 (PD9): UNCLAIMED
pin 106 (PD10): UNCLAIMED
pin 107 (PD11): UNCLAIMED
pin 108 (PD12): UNCLAIMED
pin 109 (PD13): UNCLAIMED
pin 110 (PD14): UNCLAIMED
pin 111 (PD15): UNCLAIMED
pin 112 (PD16): UNCLAIMED
pin 113 (PD17): UNCLAIMED
pin 114 (PD18): UNCLAIMED
pin 115 (PD19): UNCLAIMED
pin 116 (PD20): UNCLAIMED
pin 117 (PD21): UNCLAIMED
pin 118 (PD22): UNCLAIMED
pin 119 (PD23): UNCLAIMED
pin 128 (PE0): UNCLAIMED
pin 129 (PE1): UNCLAIMED
pin 130 (PE2): GPIO 2000000.pinctrl:130
pin 131 (PE3): UNCLAIMED
pin 132 (PE4): UNCLAIMED
pin 133 (PE5): UNCLAIMED
pin 134 (PE6): GPIO 2000000.pinctrl:134
pin 135 (PE7): GPIO 2000000.pinctrl:135
pin 136 (PE8): GPIO 2000000.pinctrl:136
pin 137 (PE9): GPIO 2000000.pinctrl:137
pin 138 (PE10): UNCLAIMED
pin 139 (PE11): UNCLAIMED
pin 140 (PE12): UNCLAIMED
pin 141 (PE13): UNCLAIMED
pin 142 (PE14): UNCLAIMED
pin 143 (PE15): GPIO 2000000.pinctrl:143
pin 160 (PF0): device 4020000.sdmmc function jtag group PF0
pin 161 (PF1): device 4020000.sdmmc function jtag group PF1
pin 162 (PF2): device 4020000.sdmmc function uart0 group PF2
pin 163 (PF3): device 4020000.sdmmc function jtag group PF3
pin 164 (PF4): device 4020000.sdmmc function uart0 group PF4
pin 165 (PF5): device 4020000.sdmmc function jtag group PF5
pin 166 (PF6): GPIO 2000000.pinctrl:166
pin 192 (PG0): device 4021000.sdmmc function gpio_in group PG0
pin 193 (PG1): device 4021000.sdmmc function gpio_in group PG1
pin 194 (PG2): device 4021000.sdmmc function gpio_in group PG2
pin 195 (PG3): device 4021000.sdmmc function gpio_in group PG3
pin 196 (PG4): device 4021000.sdmmc function gpio_in group PG4
pin 197 (PG5): device 4021000.sdmmc function gpio_in group PG5
pin 198 (PG6): device 2501000.uart function uart1 group PG6
pin 199 (PG7): device 2501000.uart function uart1 group PG7
pin 200 (PG8): device 2501000.uart function uart1 group PG8
pin 201 (PG9): device 2501000.uart function uart1 group PG9
pin 202 (PG10): UNCLAIMED
pin 203 (PG11): device 2533000.i2s1_plat function io_disabled group PG11
pin 204 (PG12): device 2533000.i2s1_plat function io_disabled group PG12
pin 205 (PG13): device 2533000.i2s1_plat function io_disabled group PG13
pin 206 (PG14): device 2533000.i2s1_plat function io_disabled group PG14
pin 224 (PH0): UNCLAIMED
pin 225 (PH1): UNCLAIMED
pin 226 (PH2): UNCLAIMED
pin 227 (PH3): UNCLAIMED
pin 228 (PH4): UNCLAIMED
pin 229 (PH5): UNCLAIMED
pin 230 (PH6): UNCLAIMED
pin 231 (PH7): UNCLAIMED
pin 232 (PH8): UNCLAIMED
pin 233 (PH9): UNCLAIMED
pin 234 (PH10): UNCLAIMED
pin 235 (PH11): UNCLAIMED
pin 236 (PH12): UNCLAIMED
pin 237 (PH13): UNCLAIMED
pin 238 (PH14): GPIO 2000000.pinctrl:238
pin 239 (PH15): UNCLAIMED
pin 240 (PH16): UNCLAIMED
pin 241 (PH17): UNCLAIMED
pin 242 (PH18): UNCLAIMED
pin 243 (PH19): UNCLAIMED
pin 256 (PI0): UNCLAIMED
pin 257 (PI1): UNCLAIMED
pin 258 (PI2): UNCLAIMED
pin 259 (PI3): UNCLAIMED
pin 260 (PI4): UNCLAIMED
pin 261 (PI5): UNCLAIMED
pin 262 (PI6): UNCLAIMED
pin 263 (PI7): UNCLAIMED
pin 264 (PI8): UNCLAIMED
pin 265 (PI9): UNCLAIMED
pin 266 (PI10): UNCLAIMED
pin 267 (PI11): UNCLAIMED
pin 268 (PI12): UNCLAIMED
pin 269 (PI13): UNCLAIMED
pin 270 (PI14): UNCLAIMED
pin 271 (PI15): UNCLAIMED
pin 272 (PI16): UNCLAIMED
pin 288 (PJ0): UNCLAIMED
pin 289 (PJ1): UNCLAIMED
pin 290 (PJ2): UNCLAIMED
pin 291 (PJ3): UNCLAIMED
pin 292 (PJ4): UNCLAIMED
pin 293 (PJ5): UNCLAIMED
pin 294 (PJ6): UNCLAIMED
pin 295 (PJ7): UNCLAIMED
pin 296 (PJ8): UNCLAIMED
pin 297 (PJ9): UNCLAIMED
pin 298 (PJ10): UNCLAIMED
pin 299 (PJ11): UNCLAIMED
pin 300 (PJ12): UNCLAIMED
pin 301 (PJ13): UNCLAIMED
pin 302 (PJ14): UNCLAIMED
pin 303 (PJ15): UNCLAIMED
pin 304 (PJ16): UNCLAIMED
pin 305 (PJ17): UNCLAIMED
pin 306 (PJ18): UNCLAIMED
pin 307 (PJ19): UNCLAIMED
pin 308 (PJ20): UNCLAIMED
pin 309 (PJ21): UNCLAIMED
pin 310 (PJ22): UNCLAIMED
pin 311 (PJ23): UNCLAIMED
pin 312 (PJ24): UNCLAIMED
pin 313 (PJ25): UNCLAIMED
pin 314 (PJ26): UNCLAIMED
pin 315 (PJ27): UNCLAIMED
pin 320 (PK0): UNCLAIMED
pin 321 (PK1): UNCLAIMED
pin 322 (PK2): UNCLAIMED
pin 323 (PK3): UNCLAIMED
pin 324 (PK4): UNCLAIMED
pin 325 (PK5): UNCLAIMED
pin 326 (PK6): UNCLAIMED
pin 327 (PK7): UNCLAIMED
pin 328 (PK8): UNCLAIMED
pin 329 (PK9): UNCLAIMED
pin 330 (PK10): UNCLAIMED
pin 331 (PK11): UNCLAIMED
pin 332 (PK12): UNCLAIMED
pin 333 (PK13): UNCLAIMED
pin 334 (PK14): UNCLAIMED
pin 335 (PK15): UNCLAIMED
pin 336 (PK16): UNCLAIMED
pin 337 (PK17): UNCLAIMED
pin 338 (PK18): UNCLAIMED
pin 339 (PK19): UNCLAIMED
pin 340 (PK20): UNCLAIMED
pin 341 (PK21): UNCLAIMED
pin 342 (PK22): UNCLAIMED
pin 343 (PK23): UNCLAIMED
pin 344 (PK24): UNCLAIMED
pin 345 (PK25): UNCLAIMEDroot@dragonboard:~# cat /sys/kernel/debug/pinctrl/7025000.pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner|gpio_owner (strict) hog?
pin 352 (PL0): device 7083000.twi function s_twi0 group PL0
pin 353 (PL1): device 7083000.twi function s_twi0 group PL1
pin 354 (PL2): UNCLAIMED
pin 355 (PL3): UNCLAIMED
pin 356 (PL4): UNCLAIMED
pin 357 (PL5): UNCLAIMED
pin 358 (PL6): UNCLAIMED
pin 359 (PL7): GPIO 7025000.pinctrl:359
pin 360 (PL8): UNCLAIMED
pin 361 (PL9): UNCLAIMED
pin 362 (PL10): UNCLAIMED
pin 363 (PL11): UNCLAIMED
pin 364 (PL12): UNCLAIMED
pin 365 (PL13): UNCLAIMED
pin 384 (PM0): GPIO 7025000.pinctrl:384
pin 385 (PM1): GPIO 7025000.pinctrl:385
pin 386 (PM2): GPIO 7025000.pinctrl:386
pin 387 (PM3): UNCLAIMED
pin 388 (PM4): UNCLAIMED
pin 389 (PM5): UNCLAIMED手动切换 otg 为 device,为了进入adb:
find / -name usb_device |xargs catscrcpy 3.1 也控制不了A733:
scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (usb) 7c00161172038721ecc device A733_AG863109VCB
E:\downloads\scrcpy-win64-v3.1\scrcpy-server: 1 file pushed, 0 skipped. 44.3 MB/s (90640 bytes in 0.002s)
[server] INFO: Device: [Allwinner] Allwinner A733 AG863109VCB (Android 15)
[server] ERROR: Attempt to invoke virtual method 'android.view.InputDevice android.hardware.input.InputManagerGlobal.getInputDevice(int)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.InputDevice android.hardware.input.InputManagerGlobal.getInputDevice(int)' on a null object reference
at android.view.KeyCharacterMap.load(KeyCharacterMap.java:364)
at com.genymobile.scrcpy.control.Controller.<init>(Controller.java:86)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:115)
at com.genymobile.scrcpy.Server.internalMain(Server.java:251)
at com.genymobile.scrcpy.Server.main(Server.java:201)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)
ERROR: Could not retrieve device information
ERROR: Server connection failed
Press Enter to continue...build/pack
boot_resource_list=(
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource:${LICHEE_PACK_OUT_DIR}
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource.ini:${LICHEE_PACK_OUT_DIR}
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/*.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/bootlogo.bmp:${LICHEE_PACK_OUT_DIR}/bootlogo.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/wavefile/*:${LICHEE_PACK_OUT_DIR}/boot-resource/wavefile/
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/${PACK_TYPE}/*.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource/bat/bempty.bmp:${LICHEE_PACK_OUT_DIR}/bempty.bmp
${LICHEE_CHIP_CONFIG_DIR}/boot-resource/boot-resource/bat/battery_charge.bmp:${LICHEE_PACK_OUT_DIR}/battery_charge.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/bat0.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/bat/bat0.bmp
${LICHEE_CHIP_CONFIG_DIR}/configs/${PACK_BOARD}/battery_charge.bmp:${LICHEE_PACK_OUT_DIR}/boot-resource/bat/battery_charge.bmp
) LOGD "copying boot resource"
for file in ${boot_resource_list[@]} ; do
cp -rf $(echo $file | sed -e 's/:/ /g') 2>/dev/null
doneout/a733/ag863109vcb/pack_out/sys_partition.fex
;---------------------------------------------------------------------------------------------------
; 说明: 脚本中的字符串区分大小写,用户可以修改"="后面的数值,但是不要修改前面的字符串
;---------------------------------------------------------------------------------------------------
;---------------------------------------------------------------------------------------------------
; 固件下载参数配置
;---------------------------------------------------------------------------------------------------
;***************************************************************************************************
; mbr的大小, 以Kbyte为单位
;***************************************************************************************************
[mbr]
size = 16384
;***************************************************************************************************
; 分区配置
;
;
; partition 定义范例:
; [partition] ; //表示是一个分区
; name = USERFS2 ; //分区名称
; size = 16384 ; //分区大小,单位:默认为扇区,可支持B/K/M/G容量单位
; downloadfile= "123.fex" ; //下载文件的路径和名称,可以使用相对路径,相对是指相对于image.cfg文件所在分区。也可以使用绝对路径
; keydata = 1 ; //私有数据分区,重新量产数据将不丢失
; encrypt = 1 ; //采用加密方式烧录,将提供数据加密,但损失烧录速度
; user_type = ? ; //私有用法
; verify = 1 ; //要求量产完成后校验是否正确
;
; 注:1、name唯一, 不允许同名
; 2、name最大12个字符
; 3、size = 0, 将创建一个无大小的空分区
; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
;***************************************************************************************************
[partition_start]
;------------------------------>bootloader resource
[partition]
name = bootloader_a
size = 65536
downloadfile = "boot-resource.fex"
user_type = 0x8000
[partition]
name = bootloader_b
size = 65536
user_type = 0x8000
;------------------------------>uboot env
[partition]
name = env_a
size = 512
downloadfile = "env.fex"
user_type = 0x8000
[partition]
name = env_b
size = 512
user_type = 0x8000
;------------------------------>boot
[partition]
name = boot_a
size = 131072
downloadfile = "boot.fex"
user_type = 0x8000
[partition]
name = boot_b
size = 131072
user_type = 0x8000
[partition]
name = vendor_boot_a
size = 65536
downloadfile = "vendor_boot.fex"
user_type = 0x8000
[partition]
name = vendor_boot_b
size = 65536
user_type = 0x8000
[partition]
name = init_boot_a
size = 16384
downloadfile = "init_boot.fex"
user_type = 0x8000
[partition]
name = init_boot_b
size = 16384
user_type = 0x8000
;------------------------------>super
[partition]
name = super
size = 9437184
downloadfile = "super.fex"
user_type = 0x8000
;------------------------------>misc
[partition]
name = misc
size = 32768
downloadfile = "misc.fex"
user_type = 0x8000
;------------------------------>store encryptable
[partition]
name = vbmeta_a
size = 256
downloadfile = "vbmeta.fex"
user_type = 0x8000
[partition]
name = vbmeta_b
size = 256
user_type = 0x8000
[partition]
name = vbmeta_system_a
size = 128
downloadfile = "vbmeta_system.fex"
user_type = 0x8000
[partition]
name = vbmeta_system_b
size = 128
user_type = 0x8000
[partition]
name = vbmeta_vendor_a
size = 128
downloadfile = "vbmeta_vendor.fex"
user_type = 0x8000
[partition]
name = vbmeta_vendor_b
size = 128
user_type = 0x8000
;------------------------------>frp + empty
[partition]
name = frp
size = 1024
ro = 0
user_type = 0x8000
keydata = 0x8000
[partition]
name = empty
size = 30720
ro = 0
user_type = 0x8000
;------------------------------>metadata
[partition]
name = metadata
size = 32768
user_type = 0x8000
;------------------------------>treadahead
[partition]
name = treadahead
size = 196608
user_type = 0x8000
;------------------------------>data image private
[partition]
name = private
size = 32768
ro = 0
user_type = 0x8000
;------------------------------>device tree overlay
[partition]
name = dtbo_a
size = 4096
downloadfile = "dtbo.fex"
user_type = 0x8000
[partition]
name = dtbo_b
size = 4096
user_type = 0x8000
;------------------------------>media_data
[partition]
name = media_data
size = 32768
user_type = 0x8000
;------------------------------>pstore
[partition]
name = pstore
size = 65536
user_type = 0x8000
;------------------------------>UDISK
[partition]
name = UDISK
user_type = 0x8100从这里看:bootloader_a 对应 "boot-resource.fex"
......
[458]HELLO! BOOT0 is starting!
[461]BOOT0 commit : {a2135868}
[467]PMU: AXP8191
[468]pmu_chip_id = 14
[471]set pll start
[473]cpul clk 0xf8802700!
[476]cpub clk 0xf8802700!
[479]dsu clk 0xf8801e00!
[483]set pll end
[484]dram return write ok
[487]board init ok
[489]rtc[3] value = 0xb00f
[491]rtc[7] value = 0x1
[494]enable_jtag
[495]Driver version 0.0.9 2024.11.20 10:19
[515]Cal words efuse addr 0x60 value 0x915a0000, addr 0x64 value 0x4f1f8496
[573]Device up at:[574][RX, TX]: gear=[4, 4], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[582]sc st 2
[583]Read blk size 4096,capacity 31240191
[587]DRAM BOOT DRIVE INFO: V0.581
[592]DRAM_VCC set to 560 mv
[595]DRAM CLK =1800 MHZ
[597]DRAM Type =9 (8:LPDDR4,9:LPDDR5)
[744]Training result is = 7
[747]DRAM Pstate 1 training, frequency is 1200 Mhz
[924]Training result is = 7
[927]DRAM Pstate 2 training, frequency is 800 Mhz
[1271]Training result is = 7
[1273]DRAM Pstate 3 training, frequency is 400 Mhz
[1376]Training result is = 7
[1379]DRAM Pstate 0 training, frequency is 1800 Mhz
[1388]Actual DRAM SIZE =6144 M
[1391]DRAM SIZE =6144 MBytes, para1 = a10a, para2 = 18001001, dram_tpr13 = 10065
[1406]DRAM simple test OK.
[1408]dram size = 6144
[1454]Loading boot-pkg Succeed(index=0).
[1458]Entry_name = u-boot
[1468]Entry_name = monitor
[1471]Entry_name = scp
[1474]error: dtb not found for scp
[1479]Jump to ATF: monitor_base = 0x48000000, uboot_base = 0x4a000000, optee_base = 0x0
NOTICE: BL31: OP-TEE 32bit detected
NOTICE: BL31: U-BOOT 32bit detected
NOTICE: BL31: v2.5(debug):b08f3ffb2
NOTICE: BL31: Built : 17:44:29, Nov 22 2024
NOTICE: hardware check error1
BACKTRACE: START: bl31_platform_setup
0: EL3: 0x48003c9c
1: EL3: 0x4800407c
2: EL3: 0x48003f78
3: EL3: 0x480001f0
BACKTRACE: END: bl31_platform_setup
PANIC in EL3.
x30 = 0x0000000048004088
x0 = 0x0000000002500000
x1 = 0x0000000000000060
x2 = 0x0000000000000060
x3 = 0x00000000ffffffc8
x4 = 0x0000000000000034
x5 = 0x0000000000000034
x6 = 0x0000000000000004
x7 = 0x0000000000000000
x8 = 0x000000023fffffff
x9 = 0x0000000048013000
x10 = 0x0000000000000000
x11 = 0x0000000000000000
x12 = 0x0000000000000000
x13 = 0x0000000000000000
x14 = 0x0000000000000000
x15 = 0x0000000000000000
x16 = 0x0000000000000000
x17 = 0x0000000000048c00
x18 = 0x0000000000000020
x19 = 0x000000004800f4b4
x20 = 0x0000000000000000
x21 = 0x0000000000001903
x22 = 0x0000000000000000
x23 = 0x0000000000000000
x24 = 0x0000000000000000
x25 = 0x0000000000000000
x26 = 0x0000000000000000
x27 = 0x0000000000000000
x28 = 0x0000000000000000
x29 = 0x00000000480142c0
scr_el3 = 0x0000000000000238
sctlr_el3 = 0x0000000030cd183f
cptr_el3 = 0x0000000000000000
tcr_el3 = 0x000000008081351e
daif = 0x00000000000002c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000000001cd
elr_el3 = 0x0000000000000000
ttbr0_el3 = 0x0000000048041081
esr_el3 = 0x00000000ef6cffff
far_el3 = 0x08888c7dffffffcc
spsr_el1 = 0x00000000000001cd
elr_el1 = 0x0000000000000000
spsr_abt = 0x00000000200e3d4d
spsr_und = 0x00000000128d3e4d
spsr_irq = 0x0000000002073c4d
spsr_fiq = 0x0000000002013c5d
sctlr_el1 = 0x0000000000c50838
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000000000
csselr_el1 = 0x0000000000000000
sp_el1 = 0x0000000000000000
esr_el1 = 0x00000000fffffdff
ttbr0_el1 = 0x0000c0fcf2fefff8
ttbr1_el1 = 0x0000ff5ced00c0a0
mair_el1 = 0x44e048e000098aa4
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x807fff7ffcfffffb
tpidr_el0 = 0xff8cffff7ffffeff
tpidrro_el0 = 0xff4c18fffe66feff
par_el1 = 0xff00000048000980
mpidr_el1 = 0x0000000081000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000000
cntp_cval_el0 = 0xff7f7fffffff7fff
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0xffffff3fff3f7fff
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x00000000480142c0
isr_el1 = 0x0000000000000000
cpuectlr_el1 = 0x000000002808bc00
icc_hppir0_el1 = 0x00000000000003ff
icc_hppir1_el1 = 0x00000000000003ff
icc_ctlr_el3 = 0x0000000000028400
gicd_ispendr regs (Offsets 0x200-0x278)
Offset Value
0x200: 0x0000000000000000
0x208: 0x0000000000000000
0x210: 0x0000000000000000
0x218: 0x0000000000000000
0x220: 0x0000000000000000
0x228: 0x0000000000000000
0x230: 0x0000000000000000
0x238: 0x0000000000000000
0x240: 0x0000000000000000
0x248: 0x0000000000000000
0x250: 0x0000000000000000
0x258: 0x0000000000000000
0x260: 0x0000000000000000
0x268: 0x0000000000000000
0x270: 0x0000000000000000
0x278: 0x0000000000000000换了一个正常的固件,只烧BOOTLOADER_A后能正常启动:

发现我的Ubuntu24.04无故退出到登录界面,
打开日志看看 /var/log/syslog
Mar 15 21:20:09 ubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="922" x-info="https://www.rsyslog.com"] exiting on signal 15.
Mar 15 21:20:09 ubuntu systemd[1]: rsyslog.service: Deactivated successfully.
Mar 15 21:20:09 ubuntu systemd[1]: Stopped System Logging Service.
Mar 15 21:20:09 ubuntu systemd[1]: Starting System Logging Service...
Mar 15 21:20:09 ubuntu rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.2112.0]
Mar 15 21:20:09 ubuntu systemd[1]: Started System Logging Service.
Mar 15 21:20:09 ubuntu rsyslogd: rsyslogd's groupid changed to 111
Mar 15 21:20:09 ubuntu rsyslogd: rsyslogd's userid changed to 104
Mar 15 21:20:09 ubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.2112.0" x-pid="247145" x-info="https://www.rsyslog.com"] start
Mar 15 21:20:24 ubuntu geoclue[246080]: Service not used for 60 seconds. Shutting down..
Mar 15 21:20:24 ubuntu systemd[1]: geoclue.service: Deactivated successfully.
Mar 15 21:20:35 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:20:36 ubuntu kernel: [107318.951396] workqueue: vmballoon_work [vmw_balloon] hogged CPU for >10000us 128 times, consider switching to WQ_UNBOUND
Mar 15 21:20:38 ubuntu kernel: [107321.282685] workqueue: hub_event hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND
Mar 15 21:20:35 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:20:45 ubuntu ubuntu-appindicators@ubuntu.com[246541]: unable to update icon for software-update-available
Mar 15 21:20:45 ubuntu ubuntu-appindicators@ubuntu.com[246541]: unable to update icon for livepatch
Mar 15 21:21:36 ubuntu systemd[246313]: Started Application launched by gnome-session-binary.
Mar 15 21:21:53 ubuntu kernel: [107396.174829] workqueue: blk_mq_run_work_fn hogged CPU for >10000us 256 times, consider switching to WQ_UNBOUND
Mar 15 21:21:59 ubuntu gnome-shell[246541]: libinput error: event2 - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 64ms, your system is too slow
Mar 15 21:22:29 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-329ms), your system is too slow
Mar 15 21:22:29 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-318ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-342ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-313ms), your system is too slow
Mar 15 21:22:30 ubuntu gnome-shell[246541]: libinput error: event2 - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 330ms, your system is too slow
Mar 15 21:22:53 ubuntu gnome-shell[246541]: libinput error: client bug: timer event3 wheel scroll: scheduled expiry is in the past (-1166ms), your system is too slow
Mar 15 21:22:55 ubuntu gnome-shell[246541]: libinput error: WARNING: log rate limit exceeded (5 msgs per 3600000ms). Discarding future messages.
Mar 15 21:24:12 ubuntu gnome-shell[246541]: libinput error: event2 - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 4001ms, your system is too slow
Mar 15 21:24:38 ubuntu systemd[1]: snapd.service: Watchdog timeout (limit 5min)!
Mar 15 21:24:40 ubuntu systemd[1]: snapd.service: Killing process 934 (snapd) with signal SIGABRT.
Mar 15 21:24:50 ubuntu snapd[934]: SIGABRT: abort
Mar 15 21:25:12 ubuntu snapd[934]: PC=0x643ab792c9a1 m=0 sigcode=0
Mar 15 21:25:22 ubuntu gnome-shell[246541]: libinput error: event3 - VirtualPS/2 VMware VMMouse: client bug: event processing lagging behind by 1306ms, your system is too slow
Mar 15 21:25:23 ubuntu systemd[246313]: app-gnome-org.gnome.DejaDup.Monitor-262372.scope: Consumed 24.209s CPU time.
Mar 15 21:25:28 ubuntu snapd[934]: goroutine 0 [idle]:
Mar 15 21:25:50 ubuntu kernel: [107631.332422] cc1 invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
Mar 15 21:25:50 ubuntu kernel: [107631.332430] CPU: 1 PID: 262940 Comm: cc1 Not tainted 6.8.0-51-generic #52~22.04.1-Ubuntu
Mar 15 21:25:50 ubuntu kernel: [107631.332433] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11/12/2020
Mar 15 21:25:50 ubuntu kernel: [107631.332435] Call Trace:
Mar 15 21:25:50 ubuntu kernel: [107631.332437] <TASK>
Mar 15 21:25:50 ubuntu kernel: [107631.332439] dump_stack_lvl+0x76/0xa0
Mar 15 21:25:50 ubuntu kernel: [107631.332445] dump_stack+0x10/0x20
Mar 15 21:25:50 ubuntu kernel: [107631.332447] dump_header+0x47/0x1f0
Mar 15 21:25:50 ubuntu kernel: [107631.332451] oom_kill_process+0x118/0x280
Mar 15 21:25:50 ubuntu kernel: [107631.332453] ? oom_evaluate_task+0x143/0x1e0
Mar 15 21:25:50 ubuntu kernel: [107631.332456] out_of_memory+0x103/0x340
Mar 15 21:25:50 ubuntu kernel: [107631.332459] __alloc_pages_may_oom+0x112/0x1e0
Mar 15 21:25:50 ubuntu kernel: [107631.332463] __alloc_pages_slowpath.constprop.0+0x41f/0x9e0
Mar 15 21:25:50 ubuntu kernel: [107631.791543] __alloc_pages+0x31d/0x350
Mar 15 21:25:50 ubuntu kernel: [107631.791549] alloc_pages_mpol+0x91/0x210
Mar 15 21:25:50 ubuntu kernel: [107631.791554] ? filemap_get_entry+0xf0/0x180
Mar 15 21:25:50 ubuntu kernel: [107631.791561] folio_alloc+0x64/0x120
Mar 15 21:25:50 ubuntu kernel: [107631.791564] filemap_alloc_folio+0x31/0x40是内存不足? 打开vmware设置一看,原来只给了2G内存,一脸懵逼问号???
https://ftp.gnu.org/gnu/make/make-3.81.tar.gz
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I. -I./glob -g -O2 -c vpath.c
source='hash.c' object='hash.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ./config/depcomp \
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I. -I. -I./glob -g -O2 -c hash.c
gcc -g -O2 -o make ar.o arscan.o commands.o default.o dir.o expand.o file.o function.o getopt.o getopt1.o implicit.o job.o main.o misc.o read.o remake.o remote-stub.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o glob/libglob.a
glob/libglob.a(glob.o): In function `glob_in_dir':
/opt/make/make-3.81/glob/glob.c:1361: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1336: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1277: undefined reference to `__alloca'
/opt/make/make-3.81/glob/glob.c:1250: undefined reference to `__alloca'
glob/libglob.a(glob.o): In function `glob':
/opt/make/make-3.81/glob/glob.c:575: undefined reference to `__alloca'
glob/libglob.a(glob.o):/opt/make/make-3.81/glob/glob.c:726: more undefined references to `__alloca' follow
collect2: error: ld returned 1 exit status
Makefile:410: recipe for target 'make' failed
make[2]: *** [make] Error 1
make[2]: Leaving directory '/opt/make/make-3.81'
Makefile:603: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/make/make-3.81'
Makefile:326: recipe for target 'all' failed
make: *** [all] Error 2glob/glob.c
# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
# define ELIDE_CODE
# endif
#endif修改为:
# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
# define ELIDE_CODE
# endif
#endifsudo apt-get install \
libtool openssh-server samba git-core g++ make diffstat subversion gawk chrpath libsm6 libxrender1 \
gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev \
lib32z1 lib32ncurses5 x11proto-core-dev libx11-dev libreadline-gplv2-dev lib32z1-dev libelf-dev -y
另外我分区这里我发现这个ubi0_5分区剩余空间过小会造成机器重新启动,比如只有剩余空间1MB什么
tem Page Pool Info............................................................................................
. Pages number = 7dc0
. Pages free = 6104
rat_open: pDir=f: media_type=3 OnceCnt=0
hxf:gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535 new frame
hxf:player_phy.mode:0 1280 720
rat_open: pDir=f: media_type=3 OnceCnt=0
..lcd_height:720,lcd_width:1280 fmt.type:0 mode:0
..src_win.height:720,src_win.width:1024
..scn_win.height:720,scn_win.width:1280
..scn_win.x:0,scn_win.y:0
Open cedar module!
************************************
**** ****
*** CEDAR-VERSION:V2.0-202210201125 ***
**** ****
************************************
.Memory info.........................................................................................................
. System Page Pool Info............................................................................................
. Pages number = 7dc0
. Pages free = 60d4
=================
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Play file:f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4
*** AVS-DRV-VERSION:V2.0-202210201552 ***
*** VPSR-VERSION:V2.0-202210201552 ***
[YG] g_cedar_encrytp_mod:0
debug : Cedarx <CdxParserPrepare:426>: source uri 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
debug : Cedarx <__FileStreamCreate:500>: local file 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
fopen line 11, filename - f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4.
OSAL_CEDAR_fopen line 200,wraning.video_encrypt config information error
debug : Cedarx <__FileStreamConnect:411>: impl->size1:253a0da
debug : Cedarx <__FileStreamConnect:412>: impl->size2:0
debug : Cedarx <__FileStreamConnect:417>: impl->filePath=file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4 impl->fddebug : CdxMovParser <__CdxMovParserProbe:1275>: --- probe: it is mov parser
debug : Cedarx <CdxParserCreate:357>: Good, it's 'mov'
debug : CdxMovParser <__CdxMovParserOpen:1212>: --- c->bSeekAble = 1
debug : Cedarx <CdxParserCreate:366>: parser type(0)
debug : Cedarx <MovTop:5763>: ---- compatible = isomiso2avc1mp41
debug : Cedarx <MovParseTkhd:3185>: tkhd width = 640, height = 480
debug : Cedarx <MovParseMdhd:3336>: -- language = und
debug : Cedarx <MovParseStsd:4134>: stsd width = 640, height = 480
debug : Cedarx <MovParseCtts:4580>: track[0].ctts.entries = 30897
debug : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug : Cedarx <MovParseTkhd:3185>: tkhd width = 0, height = 0
debug : Cedarx <MovParseMdhd:3336>: -- language = und
debug : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug : Cedarx <MovParseStbl:4810>: ============ sbgp
debug : CdxMovParser <__CdxMovParserInit:1155>: ***** mov open success!!
debug : CdxMovParser <__CdxMovParserGetMediaInfo:783>: pMediaInfo->psr_audio_id3_info = [0]
debug : CdxMovParser <__CdxMovParserGetMediaInfo:798>: --- codecformat = 115
debug : CdxMovParser <__CdxMovParserGetMediaInfo:804>: ---- frame rate = 62500, st->time_scale: 90000, st->sample_duration: 144debug : CdxMovParser <__CdxMovParserGetMediaInfo:813>: width = 640, height = 480
debug : CdxMovParser <__CdxMovParserGetMediaInfo:816>: extradataSize = 43
debug : CdxMovParser <__CdxMovParserGetMediaInfo:845>: ********* audio 0************
debug : CdxMovParser <__CdxMovParserGetMediaInfo:846>: ****eCodecFormat: 4
debug : CdxMovParser <__CdxMovParserGetMediaInfo:847>: ****eSubCodecFormat: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:848>: ****nChannelNum: 2
debug : CdxMovParser <__CdxMovParserGetMediaInfo:849>: ****nBitsPerSample: 16
debug : CdxMovParser <__CdxMovParserGetMediaInfo:850>: ****nSampleRate: 32000
debug : CdxMovParser <__CdxMovParserGetMediaInfo:851>: ****nAvgBitrate: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:852>: ****nMaxBitRate: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:853>: ****extradataSize 5
debug : CdxMovParser <__CdxMovParserGetMediaInfo:854>: ***************************
debug : CdxMovParser <__CdxMovParserGetMediaInfo:895>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
debug : Cedarx <CdxMovSetStream:6546>: == stss_size: 132
debug : Cedarx <CdxMovSetStream:6633>: mvhd = 527968,
debug : CdxMovParser <__CdxMovParserGetMediaInfo:910>: -- mov duration = 527968
debug : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2
debug : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2
parser type:4104
programNum: 1 videoNum: 1 audio Num:1 subtitle Num:0
out OpenMediaFile:687
enter PsrVideo_MIoctrl:2403 cmd:2e aux:0
enter set:0 1
Set MediaTpe=0x1
enter SetFFRRSpeed:2192,nSpeed:64
enter GetLbsFormat:764
enter PsrVideo_MIoctrl:2403 cmd:53 aux:0
*** ADEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** ADRV-VERSION:V2.0-202210201552 ***
enter SetProcMode:912 nMode:3 uParam:0
ABsInf,samplerate:32000 channels:2
*** AAC-DRV-VERSION:V2.0-202210201552 ***
VBPS:591476, cedar max limit:0
frmrate is 62500 and limite is 65100
video height:480, sel max ref:0
audio channel:2, max channel number:0
*** VDEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** VDRV-VERSION:V2.0-202210201552 ***
enter SetFFRRPicShowTime:2206,nTime:30
Decode info:4 5 0 640 480 62500 0debug : Cedarv <vdecoder_set_video_bitstream_info:1710>: Video Stream Information:
debug : Cedarv <vdecoder_set_video_bitstream_info:1711>: codec = H264
debug : Cedarv <vdecoder_set_video_bitstream_info:1712>: width = 640 pixels
debug : Cedarv <vdecoder_set_video_bitstream_info:1713>: height = 480 pixels
debug : Cedarv <vdecoder_set_video_bitstream_info:1714>: frame rate = 62500
debug : Cedarv <vdecoder_set_video_bitstream_info:1715>: frame duration = 0 us
debug : Cedarv <vdecoder_set_video_bitstream_info:1716>: aspect ratio = 1000
debug : Cedarv <vdecoder_set_video_bitstream_info:1717>: is 3D stream = no
debug : Cedarv <vdecoder_set_video_bitstream_info:1718>: csd data len = 43
debug : Cedarv <vdecoder_set_video_bitstream_info:1719>: container = MOV
vdeclib frame buf = [18860032]bytes, reserved[524288]bytes
debug : Cedarv <vdecoder_open:304>: veVersion: 0x1663
buffersize:6 MByte
debug : Cedarv <vdecoder_open:310>: nMaxMemoryAvailable: 12568576
debug : Cedarv <H264DecoderInit:223>: H264 VDECLIB_GIT_VERSION: b2aa05625a7db42b1141ccdf1d490311b7e052c6.
debug : Cedarv <H264DecodePictureScanType:2698>: here3:hCtx->bProgressice=1
debug : fbm.c <FbmCreateBuffer:144>: FbmCreate, total fbm number: 9, decoder needed: 5, nWidth=640, nHeight=480
*** VPLY-PLG-VERSION:V2.0-202210201552 ***
*** ARDR-PLG-VERSION:V2.0-202210201552 ***
*** APLY-PLG-VERSION:V2.0-202210201552 ***
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535 new frame
player_phy.mode:1 400 40MAX_SUPPORT_FRAMERATE
60100 改为 65100 搞定。
[ miscellaneous ]
DelayBeforePlay = 200
AUDIO_RUN_ONLY_BUF_SIZE = 128
AUDIO_WITH_VIDEO_BUF_SIZE = 128
AACSBR = 0
MAX_SUPPORT_HEIGHT = 1088
MAX_SUPPORT_FRAMERATE = 65100
MAX_0_TO_480_SUPPORT_NUM_REF_FRAMES = 0
MAX_480_TO_720_SUPPORT_NUM_REF_FRAMES = 0
MAX_720_TO_1080_SUPPORT_NUM_REF_FRAMES = 0
MAX_1080_TO_ALL_SUPPORT_NUM_REF_FRAMES = 0
MAX_SUPPORT_VBS_FOR_AVC = 0
MAX_SUPPORT_VBS_FOR_OTH = 0
MAX_SUPPORT_AUD_CHAN_NUM = 0
ARDR_SW_AUX_BUF = 900
AUDIO_SEAMLESS_SWITCH_CACHE = 2097152rat_open: pDir=f: media_type=3 OnceCnt=0
..lcd_height:720,lcd_width:1280 fmt.type:0 mode:0
..src_win.height:720,src_win.width:1024
..scn_win.height:720,scn_win.width:1280
..scn_win.x:0,scn_win.y:0
Open cedar module!
************************************
**** ****
*** CEDAR-VERSION:V2.0-202210201125 ***
**** ****
************************************
.Memory info.........................................................................................................
. System Page Pool Info............................................................................................
. Pages number = 7dc0
. Pages free = 5fd1
=================
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Play file:f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4
*** AVS-DRV-VERSION:V2.0-202210201552 ***
*** VPSR-VERSION:V2.0-202210201552 ***
[YG] g_cedar_encrytp_mod:0
debug : Cedarx <CdxParserPrepare:426>: source uri 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
debug : Cedarx <__FileStreamCreate:500>: local file 'file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4'
fopen line 11, filename - f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4.
OSAL_CEDAR_fopen line 200,wraning.video_encrypt config information error
debug : Cedarx <__FileStreamConnect:411>: impl->size1:253a0da
debug : Cedarx <__FileStreamConnect:412>: impl->size2:0
debug : Cedarx <__FileStreamConnect:417>: impl->filePath=file://f:\测试视频二0177e414df15b449cfd7c2309763dce1.mp4 impl->fddebug : CdxMovParser <__CdxMovParserProbe:1275>: --- probe: it is mov parser
debug : Cedarx <CdxParserCreate:357>: Good, it's 'mov'
debug : CdxMovParser <__CdxMovParserOpen:1212>: --- c->bSeekAble = 1
debug : Cedarx <CdxParserCreate:366>: parser type(0)
debug : Cedarx <MovTop:5763>: ---- compatible = isomiso2avc1mp41
debug : Cedarx <MovParseTkhd:3185>: tkhd width = 640, height = 480
debug : Cedarx <MovParseMdhd:3336>: -- language = und
debug : Cedarx <MovParseStsd:4134>: stsd width = 640, height = 480
debug : Cedarx <MovParseCtts:4580>: track[0].ctts.entries = 30897
debug : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug : Cedarx <MovParseTkhd:3185>: tkhd width = 0, height = 0
debug : Cedarx <MovParseMdhd:3336>: -- language = und
debug : Cedarx <MovParseStsz:4513>: -- sample_size = 0
debug : Cedarx <MovParseStbl:4810>: ============ sbgp
debug : CdxMovParser <__CdxMovParserInit:1155>: ***** mov open success!!
debug : CdxMovParser <__CdxMovParserGetMediaInfo:783>: pMediaInfo->psr_audio_id3_info = [0]
debug : CdxMovParser <__CdxMovParserGetMediaInfo:798>: --- codecformat = 115
debug : CdxMovParser <__CdxMovParserGetMediaInfo:804>: ---- frame rate = 62500, st->time_scale: 90000, st->sample_duration: 144debug : CdxMovParser <__CdxMovParserGetMediaInfo:813>: width = 640, height = 480
debug : CdxMovParser <__CdxMovParserGetMediaInfo:816>: extradataSize = 43
debug : CdxMovParser <__CdxMovParserGetMediaInfo:845>: ********* audio 0************
debug : CdxMovParser <__CdxMovParserGetMediaInfo:846>: ****eCodecFormat: 4
debug : CdxMovParser <__CdxMovParserGetMediaInfo:847>: ****eSubCodecFormat: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:848>: ****nChannelNum: 2
debug : CdxMovParser <__CdxMovParserGetMediaInfo:849>: ****nBitsPerSample: 16
debug : CdxMovParser <__CdxMovParserGetMediaInfo:850>: ****nSampleRate: 32000
debug : CdxMovParser <__CdxMovParserGetMediaInfo:851>: ****nAvgBitrate: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:852>: ****nMaxBitRate: 0
debug : CdxMovParser <__CdxMovParserGetMediaInfo:853>: ****extradataSize 5
debug : CdxMovParser <__CdxMovParserGetMediaInfo:854>: ***************************
debug : CdxMovParser <__CdxMovParserGetMediaInfo:895>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
debug : Cedarx <CdxMovSetStream:6546>: == stss_size: 132
debug : Cedarx <CdxMovSetStream:6633>: mvhd = 527968,
debug : CdxMovParser <__CdxMovParserGetMediaInfo:910>: -- mov duration = 527968
debug : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2
debug : CdxMovParser <__CdxMovParserGetMediaInfo:926>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2
parser type:4104
programNum: 1 videoNum: 1 audio Num:1 subtitle Num:0
out OpenMediaFile:687
enter PsrVideo_MIoctrl:2403 cmd:2e aux:0
enter set:0 1
Set MediaTpe=0x1
enter SetFFRRSpeed:2192,nSpeed:64
enter GetLbsFormat:764
enter PsrVideo_MIoctrl:2403 cmd:53 aux:0
*** ADEC-COMM-PLG-VERSION:V2.0-202210201552 ***
*** ADRV-VERSION:V2.0-202210201552 ***
enter SetProcMode:912 nMode:3 uParam:0
ABsInf,samplerate:32000 channels:2
*** AAC-DRV-VERSION:V2.0-202210201552 ***
VBPS:591476, cedar max limit:0
frmrate is 62500 and limite is 60100
[>_<]ERROR PLAYFILE!!![-40]enter CloseMediaFile:695
debug : Cedarx <CdxMovClose:6208>: mov close stream = 0xc406c030
out CloseMediaFile:727
Cedar: try play media file failed!
SYN_OP_RET_CEDAR_FEEDBACK_ERR
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535 new frame
player_phy.mode:1 400 40
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535 new frame
player_phy.mode:0 191 101
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar module access CEDAR_CMD_STOP command!
stop done!
Cedar:mclose:cedar module close complete!
.Memory info.........................................................................................................
. System Page Pool Info............................................................................................
. Pages number = 7dc0
. Pages free = 6001
rat_open: pDir=f: media_type=3 OnceCnt=0
gui/win/lyrwin/logiclayer.c GUI_LogicLayerRequest 535 new frame
player_phy.mode:0 1280 720F1C100s 安装 AIC8800D80 USB aic_load_fw.ko驱动出错:
root@TinaLinux:/# insmod aic_load_fw.ko
[ 66.469670] aic_bluetooth_mod_init
[ 66.473733] RELEASE DATE:2024_0712_e2a932c1
[ 66.478577] AICWFDBG(LOGINFO) aicwf_prealloc_init enter
[ 66.585161] AICWFDBG(LOGINFO) pre alloc rxbuff list len: 1000
[ 66.591842] AICWFDBG(LOGINFO) aicwf_usb_probe vid:0xA69C pid:0x8D80 icl:0x0 isc:0x0 ipr:0x0
[ 66.601445] AICWFDBG(LOGINFO) aicloadfw_chipmatch USE AIC8800D80
[ 66.608302] Aic high speed USB device detected
[ 66.615508] chip_id=7, chip_mcu_id = 0
[ 66.619773] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_patch_table_8800d80_u02.bin
[ 66.636235] file md5:2a860bc9f2ec72ed45ed20c464ec66ba
[ 66.641964] ### Upload fw_patch_table_8800d80_u02.bin fw_patch_table, size=1240
[ 66.652703] addr_adid 0x201940, addr_patch 0x1e0000
[ 66.658156] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_adid_8800d80_u02.bin
[ 66.672282] file md5:f546881a81b960d89a672578eb45a809
[ 66.678141] ### Upload fw_adid_8800d80_u02.bin firmware, @ = 201940 size=1708
[ 66.688323] fw download complete
[ 66.688323]
[ 66.693744] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fw_patch_8800d80_u02.bin
[ 66.744028] file md5:6ef0dc3eb798477555461169a77ed4f8
[ 66.749759] ### Upload fw_patch_8800d80_u02.bin firmware, @ = 1e0000 size=31044
[ 66.772886] fw download complete
[ 66.772886]
[ 66.794956] aicbt_patch_table_load bt btmode[4]:5
[ 66.800397] aicbt_patch_table_load bt uart_baud[4]:1500000
[ 66.806824] aicbt_patch_table_load bt uart_flowctrl[4]:1
[ 66.812977] aicbt_patch_table_load bt lpm_enable[4]:0
[ 66.818772] aicbt_patch_table_load bt tx_pwr[4]:28463
[ 66.839865] patch version - Nov 18 2024 16:37:52 - git 1a301b6
[ 66.847191] aic_load_firmware :firmware path = /lib/firmware/aic8800D80/fmacfw_8800d80_u02.bin
[ 67.269298] file md5:7de19f9eeee36c4d48f0a060caf433d3
[ 67.275171] ### Upload fmacfw_8800d80_u02.bin firmware, @ = 120000 size=350820
[ 67.432097] fw download complete
[ 67.432097]
[ 67.437528] AICWFDBG(LOGERROR) Read FW mem: 00120198
[ 67.445549] AICWFDBG(LOGERROR) 120198=175504
[ 67.450696] AICWFDBG(LOGERROR) 1201a0=176000
[ 67.456905] AICWFDBG(LOGINFO) rd_version_val=06090101
[ 67.463825] AICWFDBG(LOGINFO) 1201a4=17ed7c
[ 67.471273] Unable to handle kernel NULL pointer dereference at virtual address 00000c04
[ 67.480438] pgd = c33a0000
[ 67.483505] [00000c04] *pgd=833d2831, *pte=00000000, *ppte=00000000
[ 67.490565] Internal error: Oops: 817 [#1] ARM
[ 67.495493] Modules linked in: aic_load_fw(+) snd_pcm_oss snd_mixer_oss snd_seq_device
[ 67.504312] CPU: 0 PID: 152 Comm: insmod Not tainted 3.10.65 #155
[ 67.511076] task: c32eb340 ti: c33e2000 task.ti: c33e2000
[ 67.517172] PC is at aicwf_usb_probe+0x9bc/0xb58 [aic_load_fw]
[ 67.523647] LR is at 0x1
[ 67.526465] pc : [<bf01a508>] lr : [<00000001>] psr: 60000013
[ 67.526465] sp : c33e3cb0 ip : c06a3030 fp : c33e3d04
[ 67.539195] r10: c32e1bec r9 : 00000000 r8 : c32e1084
[ 67.544990] r7 : c2406100 r6 : 0020b43c r5 : 00000000 r4 : 00000001
[ 67.552227] r3 : 00000001 r2 : bf020260 r1 : 00000001 r0 : 00000000
[ 67.559467] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 67.567382] Control: 0005317f Table: 833a0000 DAC: 00000015
[ 67.573750]
[ 67.573750] SP: 0xc33e3c30:
[ 67.578484] 3c30 c32e1000 c483d000 c33e3c9c c33e3c48 bf01c454 bf01bbac bf01a508 60000013
[ 67.587598] 3c50 ffffffff c33e3c9c c33e3d04 c33e3c68 c000f4b8 c000a1a0 00000000 00000001
[ 67.596710] 3c70 bf020260 00000001 00000001 00000000 0020b43c c2406100 c32e1084 00000000
[ 67.605819] 3c90 c32e1bec c33e3d04 c06a3030 c33e3cb0 00000001 bf01a508 60000013 ffffffff
[ 67.614930] 3cb0 00000000 00000000 00000000 c33e3cc8 c3162080 c33e0600 c32fe468 bf020260
[ 67.624037] 3cd0 c03bb908 c03bc64c c311c800 c33e0620 c32fe468 bf01fea0 c32fe400 bf01fe2c
[ 67.633150] 3cf0 00000000 c33e0600 c33e3d34 c33e3d08 c021f994 bf019b5c c021f820 c33e0620
[ 67.642260] 3d10 c05f77a4 00000000 bf01fe2c 00000002 00000001 c337cfe4 c33e3d5c c33e3d38
[ 67.651373]
[ 67.651373] IP: 0xc06a2fb0:
[ 67.656108] 2fb0 9c01665d 7b044d95 2be21d25 4e40075d 4e3168b0 259f674e 0596723e 434d677c
[ 67.665216] 2fd0 651c2102 1d7f601c 015e84f0 056c6ce5 5c70005d 41ad2200 d0184df8 6c221b4c
[ 67.674327] 2ff0 20046edf 121c5c21 223031c1 1a00878f c30007e0 00000042 c0671000 00000000
[ 67.683437] 3010 c3191100 00000043 c0674220 00000000 c33bcba0 00006390 c0678780 00000000
[ 67.692544] 3030 c2406880 00006228 c06590c0 c0677f80 c3300ba0 000007aa c0677000 c06743e0
[ 67.701653] 3050 c33f0480 00000405 c0678e00 00000000 c33a4600 00000b41 c0678480 c06742a0
[ 67.710765] 3070 c3220a00 00000741 c0675400 00000000 c33e0e00 00000c7f c0678c00 c06781e0
[ 67.719875] 3090 c32fec00 000007f1 c0676fc0 00000000 c2ba0000 000005b4 c0668400 00000000
[ 67.728985]
[ 67.728985] FP: 0xc33e3c84:
[ 67.733718] 3c84 c2406100 c32e1084 00000000 c32e1bec c33e3d04 c06a3030 c33e3cb0 00000001
[ 67.742827] 3ca4 bf01a508 60000013 ffffffff 00000000 00000000 00000000 c33e3cc8 c3162080
[ 67.751937] 3cc4 c33e0600 c32fe468 bf020260 c03bb908 c03bc64c c311c800 c33e0620 c32fe468
[ 67.761047] 3ce4 bf01fea0 c32fe400 bf01fe2c 00000000 c33e0600 c33e3d34 c33e3d08 c021f994
[ 67.770160] 3d04 bf019b5c c021f820 c33e0620 c05f77a4 00000000 bf01fe2c 00000002 00000001
[ 67.779267] 3d24 c337cfe4 c33e3d5c c33e3d38 c01e4a28 c021f830 c33e0620 c33e0654 bf01fe2c
[ 67.788380] 3d44 00000000 00000000 00000001 c33e3d7c c33e3d60 c01e4b7c c01e48f4 00000000
[ 67.797488] 3d64 bf01fe2c c01e4b28 00000000 c33e3da4 c33e3d80 c01e3078 c01e4b38 c307670c
[ 67.806604]
[ 67.806604] R7: 0xc2406080:
[ 67.811337] 6080 00000003 00000000 c308b900 c33bc620 c3160450 00000000 00000000 00000000
[ 67.820443] 60a0 00000000 57834f41 c3300c00 00000000 c2406050 41ed0001 00001765 00000000
[ 67.829551] 60c0 00000001 00000000 c31aa900 c33bc660 c33e6c90 00000000 00000000 00000000
[ 67.838659] 60e0 00000000 3ccb37e1 c2406080 00000000 00000000 a1ff0008 00001767 00000000
[ 67.847764] 6100 c32e1000 c32fe468 bf01fce4 00000001 c319b800 00000000 c2a17f00 c2a17f00
[ 67.856873] 6120 00000000 c3713f08 c3713f08 c32ebb80 c3082dc0 00000000 00000000 00000000
[ 67.865983] 6140 c4837000 c483b000 00000004 c33a7ecd c240624c c337cc4c c2406258 c337cc58
[ 67.875093] 6160 00081b1c 0000f4d4 c33bc680 0000f4d8 00078902 0000f4f0 0008df1c 0000f524
[ 67.884200]
[ 67.884200] R8: 0xc32e1004:
[ 67.888933] 1004 00000207 00000000 00000008 c32e1000 c32e1014 c32e1014 bf01b5dc 00000000
[ 67.898042] 1024 bf01b370 bf01b2b0 bf01b1f4 00000000 00000000 00000000 00000000 00000000
[ 67.907149] 1044 c2406100 c32fe400 c32fe468 c33a49c0 00000001 c322291c c322289c c32e1060
[ 67.916260] 1064 c32e1060 00000000 00000000 c32e1070 c32e1070 bf019174 c32e107c c32e107c
[ 67.925370] 1084 c32e10ac c32e19f4 c32e108c c32e108c c0010280 c0008200 00000000 00000000
[ 67.934482] 10a4 00000064 00000000 c32e10c4 c32e1084 c32e1000 c3222980 00000000 00000000
[ 67.943587] 10c4 c32e10dc c32e10ac c32e1000 c3222180 00000000 00000000 c32e10f4 c32e10c4
[ 67.952698] 10e4 c32e1000 c3222200 00000000 00000000 c32e110c c32e10dc c32e1000 c3222e80
[ 67.961811]
[ 67.961811] R10: 0xc32e1b6c:
[ 67.966642] 1b6c c33a4480 00000000 c32e1b74 c32e1b74 c32e1000 c3222080 c33a43c0 00000000
[ 67.975753] 1b8c c32e1b8c c32e1b8c c32e1000 c3222000 c33a4300 00000000 c32e1ba4 c32e1ba4
[ 67.984862] 1bac c32e1000 c3222100 c33a4180 00000000 c32e1bbc c32e1bbc c32e1000 c3222880
[ 67.993971] 1bcc c33a46c0 00000000 c32e1bd4 c32e1bd4 c32e1000 c3222900 c3195a80 00000000
[ 68.003079] 1bec 00000001 c32e1bf0 c32e1bf0 00000000 c33f0400 00000004 06090101 00000000
[ 68.012184] 1c0c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.021287] 1c2c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.030392] 1c4c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.039510] Process insmod (pid: 152, stack limit = 0xc33e21b8)
[ 68.046074] Stack: (0xc33e3cb0 to 0xc33e4000)
[ 68.051385] 3ca0: 00000000 00000000 00000000 c33e3cc8
[ 68.060661] 3cc0: c3162080 c33e0600 c32fe468 bf020260 c03bb908 c03bc64c c311c800 c33e0620
[ 68.069873] 3ce0: c32fe468 bf01fea0 c32fe400 bf01fe2c 00000000 c33e0600 c33e3d34 c33e3d08
[ 68.079024] 3d00: c021f994 bf019b5c c021f820 c33e0620 c05f77a4 00000000 bf01fe2c 00000002
[ 68.088190] 3d20: 00000001 c337cfe4 c33e3d5c c33e3d38 c01e4a28 c021f830 c33e0620 c33e0654
[ 68.097419] 3d40: bf01fe2c 00000000 00000000 00000001 c33e3d7c c33e3d60 c01e4b7c c01e48f4
[ 68.106579] 3d60: 00000000 bf01fe2c c01e4b28 00000000 c33e3da4 c33e3d80 c01e3078 c01e4b38
[ 68.115737] 3d80: c307670c c3300990 c3300c34 bf01fe2c c3300c00 c05cec00 c33e3db4 c33e3da8
[ 68.124880] 3da0: c01e44d8 c01e3000 c33e3de4 c33e3db8 c01e4108 c01e44c8 bf01efea bf01ffd0
[ 68.134038] 3dc0: c33e3de4 bf01fe2c bf01fe2c c05cec00 bf01ffd0 00000000 c33e3e0c c33e3de8
[ 68.143176] 3de0: c01e512c c01e3fd0 bf01fdfc bf01fe2c c05cec00 bf01ffd0 00000000 00000001
[ 68.152334] 3e00: c33e3e34 c33e3e10 c021f05c c01e5094 c33e2000 bf023000 c05e1d80 bf020018
[ 68.161419] 3e20: 00000000 00000001 c33e3e44 c33e3e38 bf01a6c0 c021f000 c33e3e54 c33e3e48
[ 68.170568] 3e40: bf02302c bf01a6b4 c33e3e94 c33e3e58 c000a4d4 bf023010 c33e3e84 bf01ffd0
[ 68.179698] 3e60: c33e3f48 00000001 bf020018 bf01ffd0 c33e3f48 00000001 bf020018 c337cfc0
[ 68.188849] 3e80: 00000001 c337cfe4 c33e3f44 c33e3e98 c0054e5c c000a3c8 bf01ffdc 00007fff
[ 68.197982] 3ea0: c0051fc8 00000000 c33e3ecc b6f5dab0 bf020110 c483565c c00529c0 00000028
[ 68.207137] 3ec0: c33e2000 bf01ffdc c008ada8 c008a4e0 ff000000 000000d2 c0055498 bf01da28
[ 68.216283] 3ee0: 0000000c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.225419] 3f00: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 00fa1010
[ 68.234568] 3f20: b6f5dab0 0000f6ac 00000080 c000fa28 c33e2000 00000000 c33e3fa4 c33e3f48
[ 68.243699] 3f40: c0055518 c0053a1c c4826000 0000f6ac c483524c c4835150 c4831944 000092d4
[ 68.252848] 3f60: 0000a194 00000000 00000000 00000000 0000001a 0000001b 00000013 00000000
[ 68.261929] 3f80: 0000000c 00000000 00000000 00000000 00000000 00000003 00000000 c33e3fa8
[ 68.271080] 3fa0: c000f8a0 c0055458 00000000 00000000 00fa1010 0000f6ac b6f5dab0 00001f08
[ 68.280211] 3fc0: 00000000 00000000 00000003 00000080 0000f6ac 00000000 00000020 00000000
[ 68.289363] 3fe0: be933c4c be933c30 00011ae8 b6fb04cc 60000010 00fa1010 00000000 00000000
[ 68.298464] Backtrace:
[ 68.301367] [<bf019b4c>] (aicwf_usb_probe+0x0/0xb58 [aic_load_fw]) from [<c021f994>] (usb_probe_interface+0x174/0x1a4)
[ 68.313340] [<c021f820>] (usb_probe_interface+0x0/0x1a4) from [<c01e4a28>] (driver_probe_device+0x144/0x1f8)
[ 68.324337] [<c01e48e4>] (driver_probe_device+0x0/0x1f8) from [<c01e4b7c>] (__driver_attach+0x54/0x94)
[ 68.334716] r9:00000001 r8:00000000 r7:00000000 r6:bf01fe2c r5:c33e0654
r4:c33e0620
[ 68.343529] [<c01e4b28>] (__driver_attach+0x0/0x94) from [<c01e3078>] (bus_for_each_dev+0x88/0x98)
[ 68.353530] r7:00000000 r6:c01e4b28 r5:bf01fe2c r4:00000000
[ 68.359869] [<c01e2ff0>] (bus_for_each_dev+0x0/0x98) from [<c01e44d8>] (driver_attach+0x20/0x28)
[ 68.369678] r6:c05cec00 r5:c3300c00 r4:bf01fe2c
[ 68.374900] [<c01e44b8>] (driver_attach+0x0/0x28) from [<c01e4108>] (bus_add_driver+0x148/0x220)
[ 68.384741] [<c01e3fc0>] (bus_add_driver+0x0/0x220) from [<c01e512c>] (driver_register+0xa8/0x124)
[ 68.394720] r8:00000000 r7:bf01ffd0 r6:c05cec00 r5:bf01fe2c r4:bf01fe2c
[ 68.402229] [<c01e5084>] (driver_register+0x0/0x124) from [<c021f05c>] (usb_register_driver+0x6c/0x118)
[ 68.412692] r9:00000001 r8:00000000 r7:bf01ffd0 r6:c05cec00 r5:bf01fe2c
r4:bf01fdfc
[ 68.421549] [<c021eff0>] (usb_register_driver+0x0/0x118) from [<bf01a6c0>] (aicwf_usb_register+0x1c/0x50 [aic_load_fw])
[ 68.433643] r9:00000001 r8:00000000 r7:bf020018 r6:c05e1d80 r5:bf023000
r4:c33e2000
[ 68.442572] [<bf01a6a4>] (aicwf_usb_register+0x0/0x50 [aic_load_fw]) from [<bf02302c>] (aic_bluetooth_mod_init+0x2c/0x44 [aic_load_fw])
[ 68.456249] [<bf023000>] (aic_bluetooth_mod_init+0x0/0x44 [aic_load_fw]) from [<c000a4d4>] (do_one_initcall+0x11c/0x148)
[ 68.468426] [<c000a3b8>] (do_one_initcall+0x0/0x148) from [<c0054e5c>] (load_module+0x1450/0x1a3c)
[ 68.478439] [<c0053a0c>] (load_module+0x0/0x1a3c) from [<c0055518>] (SyS_init_module+0xd0/0xd4)
[ 68.488190] [<c0055448>] (SyS_init_module+0x0/0xd4) from [<c000f8a0>] (ret_fast_syscall+0x0/0x2c)
[ 68.498072] r6:00000003 r5:00000000 r4:00000000
[ 68.503374] Code: e2505000 1affff43 e3a03001 e51b2038 (e5c43c03)
[ 68.510141] ---[ end trace aec3e9bd3f9d8f80 ]---
Segmentation fault
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#跟踪代码lichee/linux-3.10/drivers/mtd/devices/m25p80.c,发现 > 16M 地址,MX和Winbond就进入了4Bytes地址模式
/*
* Enable/disable 4-byte addressing mode.
*/
static inline int set_4byte(struct m25p *flash, u32 jedec_id, int enable)
{
printk("jedec_id=%x,JEDEC_MFR(jedec_id)=%x,CFI_MFR_MACRONIX=%x\n", jedec_id, JEDEC_MFR(jedec_id), CFI_MFR_MACRONIX);
switch (JEDEC_MFR(jedec_id)) {
case CFI_MFR_MACRONIX:
case 0xEF /* winbond */:
if(enable) {
printk("mx enter 4bytes mode\n");
} else {
printk("mx exit 4bytes mode\n");
}
flash->command[0] = enable ? OPCODE_EN4B : OPCODE_EX4B;
return spi_write(flash->spi, flash->command, 1);
default:
/* Spansion style */
flash->command[0] = OPCODE_BRWR;
flash->command[1] = enable << 7;
return spi_write(flash->spi, flash->command, 2);
}
}static int m25p_probe(struct spi_device *spi)
{
....
if (info->addr_width)
flash->addr_width = info->addr_width;
else {
/* enable 4-byte addressing if the device exceeds 16MiB */
if (flash->mtd.size > 0x1000000) {
flash->addr_width = 4;
set_4byte(flash, info->jedec_id, 1);
} else
flash->addr_width = 3;
}
....
}static void m25p_shutdown(struct spi_device *spi)
{
struct m25p *flash = dev_get_drvdata(&spi->dev);
pr_info("m25p: spinor shutdown\n");
if (flash->addr_width == 4) {
const struct spi_device_id *id = spi_get_device_id(spi);
struct flash_info *info = (void *)id->driver_data;
if (info->jedec_id) {
const struct spi_device_id *jid;
jid = jedec_probe(spi);
if (IS_ERR(jid)) {
pr_debug("IS_ERR(jid)\n");
return;
} else if (jid != id) {
id = jid;
info = (void *)id->driver_data;
}
}
set_4byte(flash, info->jedec_id, 0);
}
}
logic 2.4.7 抓取的数据:RTL8723DS蓝牙初始化.sal.7z
旧版本btstack克隆代码:
git clone https://github.com/bluekitchen/btstack && (cd btstack && git checkout 3c07636cece7e6169032e080b1d76e9475bb59d7)需要修改的代码:
port/posix-h5$ git diff .
diff --git a/port/posix-h5/Makefile b/port/posix-h5/Makefile
index 30cef9888..cd3e2cf5b 100644
--- a/port/posix-h5/Makefile
+++ b/port/posix-h5/Makefile
@@ -29,7 +29,7 @@ include ${BTSTACK_ROOT}/example/Makefile.inc
# fetch and convert TI init scripts
include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
-CFLAGS += -g -Wall -Werror \
+CFLAGS += -g -Wall -Wall \
-I$(BTSTACK_ROOT)/platform/embedded \
-I$(BTSTACK_ROOT)/platform/posix \
-I$(BTSTACK_ROOT)/chipset/cc256x \
diff --git a/port/posix-h5/main.c b/port/posix-h5/main.c
index 9bfe63f63..cd64d7132 100644
--- a/port/posix-h5/main.c
+++ b/port/posix-h5/main.c
@@ -86,7 +86,7 @@ static bool shutdown_triggered;
static hci_transport_config_uart_t config = {
HCI_TRANSPORT_CONFIG_UART,
- 115200,
+ 1500000,
0, // main baudrate
1, // flow control
NULL,编译指令:
$cd port/posix-h5
$STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32运行:
root@TinaLinux:/#
root@TinaLinux:/# /tmp/gatt_counter -u /dev/ttyAS1
Packet Log: /tmp/hci_dump.pklg
H5 device: /dev/ttyAS1
BTstack counter 0001
Local version information:
- HCI Version 0x0007
- HCI Revision 0xbab7
- LMP Version 0x0007
- LMP Revision 0x6f72
- Manufacturer 0x005d
Unknown manufacturer / manufacturer not supported yet.
Local name: RTK_BT_4.1
BTstack up and running on 00:BF:AF:61:1A:09.连手机测试 gatt_counter :
旧版本btstack克隆代码:
git clone https://github.com/bluekitchen/btstack && (cd btstack && git checkout 62abb699839330d8f329e6c9ff2d317460d5555a)需要修改的代码:
$ git diff port/posix-h5
diff --git a/port/posix-h5/Makefile b/port/posix-h5/Makefile
index 24d30a97..1470a5d6 100644
--- a/port/posix-h5/Makefile
+++ b/port/posix-h5/Makefile
@@ -26,7 +26,7 @@ include ${BTSTACK_ROOT}/example/Makefile.inc
# fetch and convert TI init scripts
include ${BTSTACK_ROOT}/chipset/cc256x/Makefile.inc
-CFLAGS += -g -Wall -Werror \
+CFLAGS += -g -Wall \
-I$(BTSTACK_ROOT)/platform/embedded \
-I$(BTSTACK_ROOT)/platform/posix \
-I$(BTSTACK_ROOT)/chipset/cc256x \
diff --git a/port/posix-h5/main.c b/port/posix-h5/main.c
index 527846fd..c653ea7b 100644
--- a/port/posix-h5/main.c
+++ b/port/posix-h5/main.c
@@ -73,7 +73,7 @@ int btstack_main(int argc, const char * argv[]);
static hci_transport_config_uart_t config = {
HCI_TRANSPORT_CONFIG_UART,
- 115200,
+ 1500000,
0, // main baudrate
1, // flow control
NULL,
@@ -184,13 +184,14 @@ int main(int argc, const char * argv[]){
// use logger: format HCI_DUMP_PACKETLOGGER, HCI_DUMP_BLUEZ or HCI_DUMP_STDOUT
const char * pklg_path = "/tmp/hci_dump.pklg";
hci_dump_open(pklg_path, HCI_DUMP_PACKETLOGGER);
+// hci_dump_open(NULL, HCI_DUMP_STDOUT);
printf("Packet Log: %s\n", pklg_path);
// pick serial port
// config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT
// config.device_name = "/dev/tty.usbserial-A50285BI"; // BOOST-CC2564MODA New
// config.device_name = "/dev/tty.usbserial-A9OVNX5P"; // RedBear IoT pHAT breakout board
- config.device_name = "/dev/tty.usbserial-A900K0VK"; // CSR8811 breakout board
+ config.device_name = "/dev/ttyAS1"; // CSR8811 breakout board
// init HCI
const btstack_uart_block_t * uart_driver = btstack_uart_block_posix_instance();
@@ -200,7 +201,7 @@ int main(int argc, const char * argv[]){
hci_set_link_key_db(link_key_db);
// enable BCSP mode for CSR chipsets - auto detect might not work
- // hci_transport_h5_enable_bcsp_mode();
+ hci_transport_h5_enable_bcsp_mode();
// set BD_ADDR for CSR without Flash/unique address
// bd_addr_t own_address = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66};旧版本btstack编译指令:
$cd port/posix-h5
$
$
$STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32日志:
$ STAGING_DIR=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/out/t113_s4/sw113_uart4_pb2_pb3/openwrt/staging_dir CC=/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc make -j32
Extracting cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_bt_spec_4.1.bts
Extracting cc256xb_bt_sp_v1.6/initscripts-TIInit_6.7.16_ble_add-on.bts
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -c -o main.o main.c
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/att_delayed_read_response.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o att_delayed_read_response
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o avdtp_util.o avdtp.o avdtp_initiator.o avdtp_acceptor.o avdtp_source.o avdtp_sink.o a2dp_source.o a2dp_sink.o btstack_ring_buffer.o avrcp.o avrcp_controller.o ../../example/a2dp_sink_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o a2dp_sink_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o avdtp_util.o avdtp.o avdtp_initiator.o avdtp_acceptor.o avdtp_source.o avdtp_sink.o a2dp_source.o a2dp_sink.o btstack_ring_buffer.o ../../3rd-party/hxcmod-player/hxcmod.o ../../3rd-party/hxcmod-player/mods/nao-deceased_by_disease.o avrcp.o avrcp_target.o ../../example/a2dp_source_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o a2dp_source_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o gatt_client.o sm.o ../../src/ble/ancs_client.c ../../example/ancs_client_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o ancs_client_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/dut_mode_classic.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o dut_mode_classic
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_dedicated_bonding.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_dedicated_bonding
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_inquiry.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_inquiry
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o sm.o ../../example/gap_le_advertisements.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_le_advertisements
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/gap_link_keys.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gap_link_keys
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o att_db.o att_server.o sm.o ../../example/gatt_battery_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_battery_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o att_db.o att_server.o sm.o ../../example/gatt_browser.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_browser
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o sm.o ../../example/gatt_heart_rate_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o gatt_heart_rate_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_gsm_model.o hfp_ag.o ../../example/hfp_ag_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hfp_ag_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hfp.o hfp_hf.o ../../example/hfp_hf_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hfp_hf_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_hid_parser.o hid_host_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_host_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_ring_buffer.o hid_device.o hid_keyboard_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_keyboard_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o btstack_ring_buffer.o hid_device.o hid_mouse_demo.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hid_mouse_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o device_information_service_server.o hids_device.o btstack_ring_buffer.o ../../example/hog_keyboard_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hog_keyboard_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o device_information_service_server.o hids_device.o ../../example/hog_mouse_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hog_mouse_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hsp_ag.o ../../example/hsp_ag_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hsp_ag_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o alloc.o bitalloc.o bitalloc-sbc.o bitstream-decode.o decoder-oina.o decoder-private.o decoder-sbc.o dequant.o framing.o framing-sbc.o oi_codec_version.o synthesis-sbc.o synthesis-dct8.o synthesis-8-generated.o btstack_sbc_plc.o btstack_sbc_decoder_bluedroid.o sbc_analysis.o sbc_dct.o sbc_dct_coeffs.o sbc_enc_bit_alloc_mono.o sbc_enc_bit_alloc_ste.o sbc_enc_coeffs.o sbc_encoder.o sbc_packing.o btstack_sbc_encoder_bluedroid.o hfp_msbc.o btstack_cvsd_plc.o sco_demo_util.o btstack_ring_buffer.o hsp_hs.o ../../example/hsp_hs_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o hsp_hs_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o battery_service_server.o ../../example/le_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o sm.o ../../example/le_data_channel_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_data_channel_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/le_data_channel_server.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_data_channel_server
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/le_streamer.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o gatt_client.o sm.o ../../example/le_streamer_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o le_streamer_client
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o ../../example/led_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o led_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../src/classic/obex_iterator.c ../../src/classic/goep_client.c ../../src/classic/pbap_client.c ../../example/pbap_client_demo.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o pbap_client_demo
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_bnep_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_bnep_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_general_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_general_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o pan.o sdp_client.o sdp_client_rfcomm.o ../../example/sdp_rfcomm_query.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sdp_rfcomm_query
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o sm_pairing_central.o -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sm_pairing_central
../../example/att_delayed_read_response.c:119:13: warning: 'att_invalidate_value' defined but not used [-Wunused-function]
static void att_invalidate_value(struct btstack_timer_source *ts){
^~~~~~~~~~~~~~~~~~~~
../../example/att_delayed_read_response.c:73:25: warning: 'con_handle' defined but not used [-Wunused-variable]
static hci_con_handle_t con_handle;
^~~~~~~~~~
../../example/att_delayed_read_response.c:72:31: warning: 'att_timer' defined but not used [-Wunused-variable]
static btstack_timer_source_t att_timer;
^~~~~~~~~
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o att_dispatch.o att_db.o att_server.o sm.o ../../example/sm_pairing_peripheral.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o sm_pairing_peripheral
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o att_dispatch.o att_db.o att_server.o sm.o ../../example/spp_and_le_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_and_le_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o att_dispatch.o att_db.o att_server.o sm.o ../../example/spp_and_le_streamer.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_and_le_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/spp_counter.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_counter
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o sdp_client.o sdp_client_rfcomm.o ../../example/spp_streamer.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_streamer
/opt/T113-S3P_S4_S4P_Tina5.0-V1.0/tina/prebuilt/rootfsbuilt/arm/toolchain-sunxi-glibc-gcc-830/toolchain/bin/arm-openwrt-linux-gcc bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o btstack_chipset_cc256x.o btstack_chipset_csr.o btstack_chipset_em9301.o btstack_chipset_stlc2500d.o btstack_chipset_tc3566x.o btstack_link_key_db_fs.o btstack_run_loop_posix.o btstack_uart_block_posix.o btstack_slip.o hci_transport_h5.o le_device_db_fs.o main.o wav_util.o btstack_stdin_posix.o btstack_memory.o btstack_linked_list.o btstack_memory_pool.o btstack_run_loop.o btstack_util.o ad_parser.o hci.o hci_cmd.o hci_dump.o l2cap.o l2cap_signaling.o btstack_tlv.o btstack_crypto.o uECC.o btstack_link_key_db_memory.o sdp_util.o spp_server.o rfcomm.o bnep.o sdp_server.o device_id_server.o ../../example/spp_streamer_client.c -I. -I../../src/ble -I../../src/classic -I../../src -I../../3rd-party/hxcmod-player -I../../3rd-party/micro-ecc -I../../3rd-party/bluedroid/decoder/include -I../../3rd-party/bluedroid/encoder/include -g -Wall -I../../platform/embedded -I../../platform/posix -I../../chipset/cc256x -I../../chipset/csr -I../../chipset/em9301 -I../../chipset/stlc2500d -I../../chipset/tc3566x -I../../3rd-party/tinydir -lm -o spp_streamer_client小智的T113-S4开发板
首先运行命令初始化RTL8723DS,初始化之后就干掉rtk_hciattach :
(killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -q bluetoothd) || true \
sleep 1 && \
echo 0 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 2 && \
(killall -q rtk_hciattach)直接运行 btstack 的 le_counter demo:
root@TinaLinux:/# (killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -
q bluetoothd) || true \
> sleep 1 && \
> echo 0 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
> echo 1 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
> (rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 2 && \
> (killall -q rtk_hciattach)
[ 806.614463] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
[ 806.620778] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 807.636635] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 807.652968] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 3.1
Realtek Bluetooth :Use epoll
Realtek Bluetooth :[SYNC] Get SYNC Resp Pkt
Realtek Bluetooth :[CONFIG] Get SYNC pkt
Realtek Bluetooth :[CONFIG] Get CONFG pkt
Realtek Bluetooth :[CONFIG] Get CONFG resp pkt
Realtek Bluetooth :dic is 1, cfg field 0x14
Realtek Bluetooth :H5 init finished
Realtek Bluetooth :Realtek H5 IC
Realtek Bluetooth :Receive cmd complete event of command: 1001
Realtek Bluetooth :HCI Version 0x08
Realtek Bluetooth :HCI Revision 0x000d
Realtek Bluetooth :LMP Subversion 0x8723
Realtek Bluetooth :Receive cmd complete event of command: fc6d
Realtek Bluetooth :Read ROM version 02
Realtek Bluetooth :LMP Subversion 0x8723
Realtek Bluetooth :EVersion 2
Realtek Bluetooth :IC: RTL8723DS
Realtek Bluetooth :Firmware/config: rtl8723d_fw, rtl8723d_config
Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory
Realtek Bluetooth :Couldnt access customer BT MAC file /opt/bdaddr
Realtek Bluetooth :Origin cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Config baudrate: 04928002
Realtek Bluetooth :uart flow ctrl: 1
Realtek Bluetooth :Vendor baud from Config file: 04928002
Realtek Bluetooth :New cfg len 41
Realtek Bluetooth :55 ab 23 87 23 00 0c 00 10 02 80 92 04 50 c5 ea
Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
Realtek Bluetooth :08 8d 00 01 fa 8f 00 01 bf
Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8723d_fw OK, size 58800
Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 9
Realtek Bluetooth :FW version 0xbab76f72, Patch num 3
Realtek Bluetooth :Chip id 0x0001
Realtek Bluetooth :Chip id 0x0002
Realtek Bluetooth :Chip id 0x0003
Realtek Bluetooth :Patch length 0x9be8
Realtek Bluetooth :Start offset 0x00004980
Realtek Bluetooth :Svn version: 316555887
Realtek Bluetooth :Coexistence: BTCOEX_20210106-3b3b
Realtek Bluetooth :FW exists, Config file exists
Realtek Bluetooth :Total len 39953 for fwc
Realtek Bluetooth :baudrate in change speed command: 0x02 0x80 0x92 0x04
Realtek Bluetooth :Receive cmd complete event of command: fc17
Realtek Bluetooth :Received cc of vendor change baud
Realtek Bluetooth :Final speed 1500000
Realtek Bluetooth :end_idx: 158, lp_len: 137, additional pkts: 5
Realtek Bluetooth :Start downloading...
Realtek Bluetooth :Send additional packet 32
Realtek Bluetooth :Send additional packet 33
Realtek Bluetooth :Send additional packet 34
Realtek Bluetooth :Send additional packet 35
Realtek Bluetooth :Last packet 164
Realtek Bluetooth :Send last pkt
Realtek Bluetooth :Enable host hw flow control
Realtek Bluetooth :h5_hci_reset: Issue hci reset cmd
Realtek Bluetooth :Receive cmd complete event of command: 0c03
Realtek Bluetooth :Received cc of hci reset cmd
Realtek Bluetooth :Init Process finished
[ 809.381273] Bluetooth: h5_open
Realtek Bluetooth :Realtek Bluetooth post process
Realtek Bluetooth :Device setup complete
Realtek Bluetooth :signal term.
Realtek Bluetooth :Got EINTR.
Realtek Bluetooth :err -1, p->revents 0000
Realtek Bluetooth :Restore TTY line discipline
root@TinaLinux:/# [ 810.751960] Bluetooth: h5_close
root@TinaLinux:/#
root@TinaLinux:/# chmod +x /tmp/le_counter
root@TinaLinux:/#
root@TinaLinux:/# /tmp/le_counter
Packet Log: /tmp/hci_dump.pklg
BTstack counter 0001
Local name: RTK_BT_4.1
BTstack up and running at 00:BF:AF:61:1A:09
battery = 63
battery = 62
battery = 61
battery = 60
battery = 5f
battery = 5e
battery = 5d
battery = 5c
battery = 5b
battery = 5a
battery = 59
battery = 58

小智的T113-S4开发板固件:t113_s4_linux_sw113_uart4_pb2_pb3_uart0_20250222A.7z (仅可以蓝牙BLE通讯获取配网数据,不能真用此命令联网)
测试apk:Blink.apk.7z(Android8.0测试可以用,高版本可能不能用)
首先运行命令:
(killall -q rtk_hciattach ; killall -q dbus-daemon ; killall -q bluetoothd) || true \
echo 0 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 1 && \
(mkdir -p /var/run/dbus/ && dbus-daemon --system &) && sleep 1 && \
(bluetoothd -n &) && sleep 1 && \
hciconfig hci0 up && hcitool lescanctrl + c 后运行blink_test命令(blink_test有bug,只能connect一次,disconnect之后就不能被scan到了):
root@TinaLinux:/# /usr/bin/blink_test
blink example start...
[blink_bt_app_init]
1740192401.153998: [BTMGbt_manager_enable:423]: bt manager version:Version:3.0.1.202107161945,builed time:Jul 16 2021-11:51:03
Bluetooth init has been completed!!
Bluetooth init has been completed!!
Bluetooth init has been completed!!
the ble random_address has been set.
1740192402.283109: [BTMGbt_adv_set_adv_parameters:381]: advertising channel map: 0x7
1740192402.284967: BTMG[bt_adv_enable:573]: set adv enable:1
attrib_char_write_cb:test id:1
5A 6E 3C 6F 10 01 0B 01 FF 04 74 65 73 74 08 31 32 33 34 35
36 37 38
ssdi = 'test';password = '12345678'
[ 1406.567865] deinit:macaddr:94,3b,85,dc,95,e9
[ 1406.572831] reord_mac:94,3b,85,dc,95,e9
connect_cmd=networkd_client -c -s "test" -p "12345678"root@TinaLinux:/# [ 1408.282891] debugfs: Directory '76:90:65:67:7a:14' with parent 'rc' already present!
[ 1408.291707] usb 3-1: Error while (un)registering debug entry for sta 6
[ 1409.292818] need cfm ethertype: 8e88,user_idx=13, skb=a6dcbd35
[ 1409.300320] aicwf_usb_host_tx_cfm_handler enter
[ 1409.306378] need cfm ethertype: 8e88,user_idx=14, skb=72527cf9
[ 1409.313822] aicwf_usb_host_tx_cfm_handler enter
[ 1409.575114] DHCP disc/req
[ 1409.592693] DHCP offset/ack
[ 1409.675129] DHCP disc/req
[ 1409.689194] DHCP offset/ack
[ 1409.692393] paired=fac04, should=fac04
[ 1411.932314] reord_init_sta:94:3b:85:dc:95:e9
root@TinaLinux:/#
root@TinaLinux:/#手机安装 blink.apk(好不容易找到运行Android8.0的小米5手机),打开执行:




root@TinaLinux:/#
root@TinaLinux:/# bt_test -p gatt-server
root@TinaLinux:/# [ACT D][ring_buff_init,27]enter
[ACT D][ring_buff_start,173]ring buffer start enter
[ACT D][ring_buff_start,187]ring buffer start quit
[ACT D][ring_buff_init,27]enter
[ACT D][ring_buff_start,173]ring buffer start enter
[ACT D][ring_buff_start,187]ring buffer start quit
Bluetooth init has been completed!!
[ 676.659974] Bluetooth: hu 9e07aaa3 retransmitting 1 pkts
add service,uuid:1112
add service handle: 11, handle max number: 10
add char,uuid: 2223,chr handle is 0x000d
desc handle is 0x000e
add char,uuid: 3334,chr handle is 0x0010
desc handle is 0x0011
add char,uuid: 5555,chr handle is 0x0013
add service,uuid:6e400001-b5a3-f393-e0a9-e50e24dcca9e
add service handle: 21, handle max number: 10
add char,uuid: 6e400002-b5a3-f393-e0a9-e50e24dcca9e,chr handle is 0x0017
add char,uuid: 6e400003-b5a3-f393-e0a9-e50e24dcca9e,chr handle is 0x0019
desc handle is 0x001a
1970-01-01 06:05:15:147: BTMG[bt_le_set_advertising_params:150]: advertising channel map: 0x7
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:297]: *************************************************
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:298]: [RandomAddress 3F:17:7F:BB:A1:6D ]
1970-01-01 06:05:15:150: BTMG[bt_le_set_random_address:299]: *************************************************
1970-01-01 06:05:15:150: BTMG[le_set_adv_data:262]: ble name = [aw-ble-test-007]
1970-01-01 06:05:15:153: BTMG[bt_le_advertising_enable:341]: set adv enable:1
1970-01-01 06:06:08:110: BTMG[l2cap_le_att_accept:127]: Connect from 5E:B0:64:18:CB:5E
1970-01-01 06:06:08:111: BTMG[server_listen_cb:182]: gatt connected
gatt server Connected: 5E:B0:64:18:CB:5E.
1970-01-01 06:06:33:460: BTMG[bt_test_gatt_char_write_request_cb:158]: write need rsp: 1
1970-01-01 06:06:33:460: BTMG[bt_test_gatt_char_write_request_cb:160]: attr_handle: 0x0017, tran_id: 1, len: 10
30 31 32 33 34 35 36 37 38 39
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# 1970-01-01 06:07:18:260: BTMG[bt_test_gatt_char_write_request_cb:158]: write need rsp: 1
1970-01-01 06:07:18:260: BTMG[bt_test_gatt_char_write_request_cb:160]: attr_handle: 0x0017, tran_id: 2, len: 10
30 31 32 33 34 35 36 37 38 39
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# 1970-01-01 06:08:17:539: BTMG[bt_test_gatt_char_write_request_cb:158]: write need rsp: 0
1970-01-01 06:08:17:539: BTMG[bt_test_gatt_char_write_request_cb:160]: attr_handle: 0x0017, tran_id: 25, len: 396
30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37
38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35
36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34
35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32
33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30
31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38
39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36
37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35
35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33
34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31
32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39
30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37
38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35
36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34
35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32
33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39 30
31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36 37 38
39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35 35 36
37 38 39 30 31 32 33 34 35 35 36 37 38 39 30 31 32 33 34 35
35 36 37 38 39 30 31 32 33 34 35 35 36 37 38 39
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!
enter
desc_write->need_rsp: 1
desc_write->attr_handle: 0x001a
send write response success!#RTL8723DS蓝牙测试
#开启蓝牙电源
killall rtk_hciattach || killall dbus-daemon || killall bluetoothd || \
echo 0 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
echo 1 > /sys/class/rfkill/rfkill0/state && sleep 1 && \
(rtk_hciattach -n -s 115200 /dev/ttyAS1 rtk_h5 &) && sleep 1 && \
(mkdir -p /var/run/dbus/ && dbus-daemon --system &) && sleep 1 && \
(bluetoothd -n &) && sleep 1 && \
hciconfig hci0 up && hcitool lescan
bt_test -p gatt-server手机测试软件是 nRF Connect:



出现这个就连不上了:
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 B7 2C D7 32 89 7F 00 00 00 00 00
00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 13 05 01 06 00 01 00再试一试:
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 45 91 4B D9 97 59 00 00 00 00 00
00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 5F 35 47
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[ 101.430410] usb 3-1 wlan1: AP Stopped
[ 108.869608] need cfm ethertype: 8e88,user_idx=1, skb=64b9f36a
[ 108.876985] aicwf_usb_host_tx_cfm_handler enter
[ 108.893899] need cfm ethertype: 8e88,user_idx=2, skb=2d2eda91
[ 108.901357] aicwf_usb_host_tx_cfm_handler enter
[ 109.259383] DHCP disc/req
[ 109.324028] DHCP offset/ack
[ 109.359368] DHCP disc/req
[ 109.528115] DHCP offset/ack
[ 109.531354] paired=fac04, should=fac04
[ 110.096633] reord_init_sta:94:3b:85:dc:95:e9
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
22 77 68 79 63 61 6E 5F 35 47 22 2C 22 77 69 66 69 5F 73 74
61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[ 113.259264] DHCP disc/req
[ 116.879326] DHCP disc/req
[ 116.900773] DHCP offset/ack
[ 116.939337] DHCP disc/req
[ 117.105644] DHCP offset/ack
> 02 06 20 0B 00 07 00 04 00 10 [ 117.108994] paired=fac04, should=fac04
01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 08 C6 7D C1 94 3B
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00再试一次:
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 45 91 4B D9 97 59 00 00 00 00 00
00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 32 32 32
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[ 58.920144] usb 3-1 wlan1: AP Stopped
[ 65.648675] need cfm ethertype: 8e88,user_idx=1, skb=6547133d
[ 65.656030] aicwf_usb_host_tx_cfm_handler enter
[ 65.670709] need cfm ethertype: 8e88,user_idx=2, skb=55a95211
[ 65.678067] aicwf_usb_host_tx_cfm_handler enter
[ 66.039422] DHCP disc/req
[ 66.061528] reord_init_sta:94:3b:85:dc:95:e9
[ 66.066740] DHCP offset/ack
[ 66.119410] DHCP disc/req
[ 66.135064] DHCP offset/ack
[ 66.139433] paired=fac04, should=fac04
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
22 77 68 79 63 61 6E 32 32 32 22 2C 22 77 69 66 69 5F 73 74
61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[ 70.059296] DHCP disc/req
[ 70.074060] DHCP offset/ack
[ 70.159302] DHCP disc/req
[ 70.171063] DHCP offset/ack
[ 70.174283] paired=fac04, should=fac04
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 8A 50 AD 7B BF 23
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00用 hcidump --raw -i hci0命令抓微信小程序蓝牙配网包:
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# hcidump --raw -i hci0
HCI sniffer - Bluetooth packet analyzer ver 5.54
device: hci0 snap_len: 1500 filter: 0xffffffff
> 04 3E 1F 0A 00 06 00 01 01 FC A4 9D F0 93 63 00 00 00 00 00
00 00 00 00 00 00 00 27 00 00 00 F4 01 01
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 10 0B 00 FF FF 00 28
< 02 06 00 09 00 05 00 04 00 01 10 0B 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 02 28
< 02 06 00 09 00 05 00 04 00 01 08 01 00 0A
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 02 06 20 0B 00 07 00 04 00 08 01 00 0A 00 03 28
< 02 06 00 14 00 10 00 04 00 09 07 02 00 4A 03 00 02 FF 04 00
3A 05 00 03 FF
> 04 13 05 01 06 00 01 00
> 02 06 20 0B 00 07 00 04 00 08 05 00 0A 00 03 28
< 02 06 00 09 00 05 00 04 00 01 08 05 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 06 00 0A 00
< 02 06 00 0A 00 06 00 04 00 05 01 06 00 02 29
> 04 13 05 01 06 00 01 00
> 02 06 20 09 00 05 00 04 00 04 07 00 0A 00
< 02 06 00 09 00 05 00 04 00 01 04 07 00 0A
> 04 13 05 01 06 00 01 00
> 02 06 20 07 00 03 00 04 00 02 05 02
< 02 06 00 07 00 03 00 04 00 03 05 02
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 02 06 20 09 00 05 00 04 00 12 06 00 02 00
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
> 02 06 20 18 00 1A 00 04 00 12 05 00 31 31 31 31 33 38 30 30
31 33 38 30 30 30 77 68 79
> 02 06 10 06 00 63 61 6E 32 32 32
< 02 06 00 05 00 01 00 04 00 13
> 04 13 05 01 06 00 01 00
[ 33.342063] usb 3-1 wlan1: AP Stopped
[ 40.085939] need cfm ethertype: 8e88,user_idx=1, skb=f3b6ca47
[ 40.093438] aicwf_usb_host_tx_cfm_handler enter
[ 40.100209] need cfm ethertype: 8e88,user_idx=2, skb=d289fb56
[ 40.107618] aicwf_usb_host_tx_cfm_handler enter
[ 40.461464] DHCP disc/req
[ 40.482601] reord_init_sta:94:3b:85:dc:95:e9
[ 40.487565] DHCP offset/ack
[ 40.541471] DHCP disc/req
[ 40.557980] DHCP offset/ack
[ 40.561848] paired=fac04, should=fac04
< 02 06 00 2B 00 27 00 04 00 1D 05 00 7B 22 73 73 69 64 22 3A
22 77 68 79 63 61 6E 32 32 32 22 2C 22 77 69 66 69 5F 73 74
61 74 75 73 22 3A 31 7D
> 04 13 05 01 06 00 01 00
> 02 06 20 05 00 01 00 04 00 1E
[ 44.491380] DHCP disc/req
[ 44.505200] DHCP offset/ack
[ 44.571415] DHCP disc/req
[ 44.585322] DHCP offset/ack
[ 44.588490] paired=fac04, should=fac04
> 02 06 20 0B 00 07 00 04 00 10 01 00 FF FF 00 28
< 02 06 00 0C 00 08 00 04 00 11 06 01 00 0A 00 01 FF
> 04 13 05 01 06 00 01 00
> 04 3E 0A 03 00 06 00 06 00 00 00 F4 01
> 04 3E 0A 03 00 06 00 27 00 00 00 F4 01
> 04 05 04 00 06 00 13
< 01 0A 20 01 00
> 04 0E 04 05 0A 20 0C
< 01 1A 0C 01 00
> 04 0E 04 05 1A 0C 00
< 01 05 20 06 03 BE 9F 6F A4 D0
> 04 0E 04 05 05 20 00
< 01 06 20 0F 20 00 E0 01 00 01 00 00 00 00 00 00 00 07 00
> 04 0E 04 05 06 20 00
< 01 05 20 06 37 69 D7 20 E8 10
> 04 0E 04 05 05 20 00
< 01 08 20 20 18 02 01 1A 10 09 43 49 54 49 66 75 74 75 72 65
2D 39 35 45 39 03 03 01 FF 00 00 00 00 00 00 00
> 04 0E 04 05 08 20 00
< 01 0A 20 01 01
> 04 0E 04 05 0A 20 00`timescale 1ns / 1ps
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer: 特权
//
// Create Date:
// Design Name:
// Module Name:
// Project Name:
// Target Device:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
//说明:当三个独立按键的某一个被按下后,相应的LED被点亮;
// 再次按下后,LED熄灭,按键控制LED亮灭
module sw_debounce(
clk,rst_n,
sw1_n,sw2_n,sw3_n,sw4_n,
led_d1,led_d2,led_d3,led_d4,
);
input clk; //主时钟信号,50MHz
input rst_n; //复位信号,低有效
input sw1_n,sw2_n,sw3_n,sw4_n; //三个独立按键,低表示按下
output led_d1,led_d2,led_d3,led_d4; //发光二极管,分别由按键控制
//---------------------------------------------------------------------------
reg[3:0] key_rst;
always @(posedge clk or negedge rst_n)
if (!rst_n) key_rst <= 3'b111;
else key_rst <= {sw4_n,sw3_n,sw2_n,sw1_n};
reg[3:0] key_rst_r; //每个时钟周期的上升沿将low_sw信号锁存到low_sw_r中
always @ ( posedge clk or negedge rst_n )
if (!rst_n) key_rst_r <= 3'b111;
else key_rst_r <= key_rst;
//当寄存器key_rst由1变为0时,led_an的值变为高,维持一个时钟周期
wire[3:0] key_an = key_rst_r & ( ~key_rst);
//---------------------------------------------------------------------------
reg[19:0] cnt; //计数寄存器
always @ (posedge clk or negedge rst_n)
if (!rst_n) cnt <= 20'd0; //异步复位
else if(key_an) cnt <=20'd0;
else cnt <= cnt + 1'b1;
reg[3:0] low_sw;
always @(posedge clk or negedge rst_n)
if (!rst_n) low_sw <= 3'b111;
else if (cnt == 20'hfffff) //满20ms,将按键值锁存到寄存器low_sw中 cnt == 20'hfffff
low_sw <= {sw4_n,sw3_n,sw2_n,sw1_n};
//---------------------------------------------------------------------------
reg [3:0] low_sw_r; //每个时钟周期的上升沿将low_sw信号锁存到low_sw_r中
always @ ( posedge clk or negedge rst_n )
if (!rst_n) low_sw_r <= 3'b111;
else low_sw_r <= low_sw;
//当寄存器low_sw由1变为0时,led_ctrl的值变为高,维持一个时钟周期
wire[3:0] led_ctrl = low_sw_r[3:0] & ( ~low_sw[3:0]);
reg d1;
reg d2;
reg d3;
reg d4;
always @ (posedge clk or negedge rst_n)
if (!rst_n) begin
d1 <= 1'b0;
d2 <= 1'b0;
d3 <= 1'b0;
d4 <= 1'b0;
end
else begin //某个按键值变化时,LED将做亮灭翻转
if ( led_ctrl[0] ) d1 <= ~d1;
if ( led_ctrl[1] ) d2 <= ~d2;
if ( led_ctrl[2] ) d3 <= ~d3;
if ( led_ctrl[3] ) d4 <= ~d4;
end
assign led_d4 = d4 ? 1'b1 : 1'b0;
assign led_d3 = d1 ? 1'b1 : 1'b0; //LED翻转输出
assign led_d2 = d2 ? 1'b1 : 1'b0;
assign led_d1 = d3 ? 1'b1 : 1'b0;
endmoduleMAX II CPLD EPM240T100C5 Intel Altera 核心板 开发板:
https://detail.tmall.com/item.htm?id=730945837320
USB Blaster下载器 TYPE-C口:
https://detail.tmall.com/item.htm?id=822737685769
如果电脑没有Nvidia显卡,那么就可能会这样:
PS C:\Users\> ollama run deepseek-r1:1.5b
pulling manifest
pulling aabd4debf0c8... 100% ▕████████████████████████████████████████████████████████▏ 1.1 GB
pulling 369ca498f347... 100% ▕████████████████████████████████████████████████████████▏ 387 B
pulling 6e4c38e1172f... 100% ▕████████████████████████████████████████████████████████▏ 1.1 KB
pulling f4d24e9138dd... 100% ▕████████████████████████████████████████████████████████▏ 148 B
Error: Post "http://127.0.0.1:11434/api/show": dial tcp 127.0.0.1:11434: connectex: No connection could be made because the target machine actively refused it.
PS C:\Users\>
PS C:\Users\>
PS C:\Users\>server.log
2025/02/02 10:20:44 routes.go:1187: INFO server config env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:C:\\Users\\86135\\.ollama\\models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:0 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES:]"
time=2025-02-02T10:20:44.486+08:00 level=INFO source=images.go:432 msg="total blobs: 4"
time=2025-02-02T10:20:44.561+08:00 level=INFO source=images.go:439 msg="total unused blobs removed: 4"
time=2025-02-02T10:20:44.561+08:00 level=INFO source=routes.go:1238 msg="Listening on 127.0.0.1:11434 (version 0.5.7)"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=routes.go:1267 msg="Dynamic LLM libraries" runners="[cpu cpu_avx cpu_avx2 cuda_v11_avx cuda_v12_avx rocm_avx]"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu.go:226 msg="looking for compatible GPUs"
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu_windows.go:167 msg=packages count=1
time=2025-02-02T10:20:44.562+08:00 level=INFO source=gpu_windows.go:214 msg="" package=0 cores=8 efficiency=0 threads=16
time=2025-02-02T10:20:44.572+08:00 level=INFO source=gpu.go:392 msg="no compatible GPUs were discovered"
time=2025-02-02T10:20:44.572+08:00 level=INFO source=types.go:131 msg="inference compute" id=0 library=cpu variant=avx2 compute="" driver=0.0 name="" total="63.8 GiB" available="36.5 GiB"① 打开 ollama download 下载对应的版本,直接安装到电脑
② Windows打开PowerShell,输入 ollama run deepseek-r1:1.5b,等待模型下载完,就可以直接在PowerShell提问了!
就是这么简单!
ubuntu 说:dgtg 说:请问下,这模块可以搭配C100或君正 使用吗?使用usb接口
F1C100s据说因为USB端点数量不够,可能不行。如果不行的话,可以走UART。
请教大佬,这是什么意思?第一次听说端点数量不足的?
https://cn.bing.com/search?q=usb%20%E7%AB%AF%E7%82%B9%20site:whycan.com
https://www.openwrt.pro/post-672.html
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
old mode 100644
new mode 100755
--- a/drivers/mtd/nand/spi/core.c
+++ b/drivers/mtd/nand/spi/core.c
@@ -48,6 +48,33 @@ static int spinand_read_status(struct spinand_device *spinand, u8 *status)
return spinand_read_reg_op(spinand, REG_STATUS, status);
}
+static int spinand_read_status_reg2(struct spinand_device *spinand, u8 *status)
+{
+ return spinand_read_reg_op(spinand, REG_CFG, status);
+}
+
+static int spinand_read_write_status_reg2(struct spinand_device *spinand, int otp_en_flag)
+{
+ u8 val = 0;
+
+ spinand_read_status_reg2(spinand, &val);
+
+ if (otp_en_flag == 0)
+ val &= CFG_OTP_DISABLE;
+ else
+ val |= CFG_OTP_ENABLE;
+
+ spinand_write_reg_op(spinand, REG_CFG, val);
+
+ // reset val
+ val = 0;
+ spinand_read_status_reg2(spinand, &val);
+
+ return 0;
+}
+
static int spinand_get_cfg(struct spinand_device *spinand, u8 *cfg)
{
struct nand_device *nand = spinand_to_nand(spinand);
@@ -1048,6 +1075,105 @@ static const struct mtd_ooblayout_ops spinand_noecc_ooblayout = {
.free = spinand_noecc_ooblayout_free,
};
+static int spinand_unique_id_read(void *priv, u8 *buf, int readlen) {
+ int ret;
+ u8 status;
+ struct spinand_device *spinand = (struct spinand_device *)priv;
+ struct device *dev = &spinand->spimem->spi->dev;
+ u32 addr[5]= {0x00,0x00,0x00,0x00,0x00};
+ int addrlen = 5;
+
+ typedef struct nand_pos my_pos;
+ my_pos pos;
+ typedef struct nand_page_io_req my_req;
+ my_req req;
+
+ if(addrlen != sizeof(struct nand_addr)/sizeof(unsigned int)) {
+ dev_err(dev, "Must provide correct addr(length) for spinand calibration\n");
+ return -EINVAL;
+ }
+
+
+ if (ret)
+ return ret;
+
+ /* We should store our golden data in first target because
+ * we can't switch target at this moment.
+ */
+ pos = (my_pos){
+ .target = 0,
+ .lun = *addr,
+ .plane = *(addr+1),
+ .eraseblock = *(addr+2),
+ .page = *(addr+3),
+ };
+
+ req = (my_req){
+ .type = NAND_PAGE_READ,
+ .pos = pos,
+ .dataoffs = *(addr+4),
+ .datalen = readlen,
+ .databuf.in = buf,
+ .mode = MTD_OPS_AUTO_OOB,
+ };
+
+ ret = spinand_load_page_op(spinand, &req);
+ if (ret)
+ return ret;
+
+ ret = spinand_wait(spinand, &status);
+ if (ret < 0)
+ return ret;
+
+ {
+ //struct spi_mem_op op = SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, buf, readlen);
+ struct spi_mem_op op = SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, buf, readlen);
+ ret = spi_mem_exec_op(spinand->spimem, &op);
+ }
+
+ return 0;
+}
+
+static int spi_nand_unique_id(struct spinand_device *spinand)
+{
+ int ret = 0;
+ u8 *buf;
+ int readlen = 32;
+
+ buf = kzalloc(readlen, GFP_KERNEL);
+ if(!buf){
+ printk("%s-%d; ERROR - kzalloc func: Insufficient memory allocation failed;\n", __func__, __LINE__);
+ return -ENOMEM;
+ }
+
+ // set Status Register-2, open OTP mode
+ spinand_read_write_status_reg2(spinand, 1);
+
+ spinand_unique_id_read(spinand, buf, readlen);
+
+ // copy spinand->uid from buf
+ memcpy(spinand->uid, buf, sizeof(spinand->uid));
+
+ // reset Status Register-2, close OTP mode
+ spinand_read_write_status_reg2(spinand, 0);
+
+ kfree(buf);
+
+ return 0;
+}
+
static int spinand_init(struct spinand_device *spinand)
{
struct device *dev = &spinand->spimem->spi->dev;
@@ -1094,6 +1220,16 @@ static int spinand_init(struct spinand_device *spinand)
if (ret)
goto err_free_bufs;
+ // init spinand->uid
+ memset(spinand->uid, 0, sizeof(spinand->uid));
+ // try read flash-chip unique ID
+ if(spi_nand_unique_id(spinand) == 0){
+ // sync uniqiue id
+ mtd->chip_uid = spinand->uid;
+ }
+
ret = spinand_upd_cfg(spinand, CFG_OTP_ENABLE, 0);
if (ret)
goto err_free_bufs;
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h
old mode 100644
new mode 100755
index fabd98fe69ad2eeeed2e0b4bec0c5f39a7534320..61531db9ae2c4cd886a1e5863ed7146b8ed48337
--- a/include/linux/mtd/spinand.h
+++ b/include/linux/mtd/spinand.h
@@ -155,6 +155,7 @@
#define CFG_OTP_ENABLE BIT(6)
#define CFG_ECC_ENABLE BIT(4)
#define CFG_QUAD_ENABLE BIT(0)
+#define CFG_OTP_DISABLE (~(BIT(6)))
/* status register */
#define REG_STATUS 0xc0
@@ -361,6 +362,14 @@ struct spinand_dirmap {
struct spi_mem_dirmap_desc *rdesc;
};
+/*
+ * SPINAND unique ID length and number of repetitions. The full unique ID is the
+ * manufacturer ID (1B) plus the unique device ID (16B). Also count the '-'
+ * between both IDs and the '\0' at the end in the 'STRING_LEN'.
+ */
+#define SPINAND_UNIQUEID_LEN 16
+
/**
* struct spinand_device - SPI NAND device instance
* @base: NAND device instance
@@ -386,6 +395,7 @@ struct spinand_dirmap {
* the stack
* @manufacturer: SPI NAND manufacturer information
* @priv: manufacturer private data
+ * @uid: Unique ID of the flash chip (add by IKUAI)
*/
struct spinand_device {
struct nand_device base;
@@ -414,6 +424,9 @@ struct spinand_device {
u8 *scratchbuf;
const struct spinand_manufacturer *manufacturer;
void *priv;
+ u8 uid[SPINAND_UNIQUEID_LEN];
};
/**