页次: 1
今天刷遍全网的全志名片pcb,楼主有没有考虑华芯微特做一个。这东西实用价值不大,但是第一次看到确实眼前一亮。
#define USHRT_MAX ((u16)(~0U))
#define SHRT_MAX ((s16)(USHRT_MAX>>1))
/**
* simple_strtoll - convert a string to a signed long long
* @cp: The start of the string
* @endp: A pointer to the end of the parsed string will be placed here
* @base: The number base to use
*/
long long simple_strtoll(const char *cp, char **endp, unsigned int base)
{
if (*cp == '-')
return -simple_strtoull(cp + 1, endp, base);
return simple_strtoull(cp, endp, base);
}
/* Convert a character to lower case */
__inline__ static char
_tolower (char c)
{
if ((c >= 'A') && (c <= 'Z'))
{
c = (c - 'A') + 'a';
}
return c;
}
/**
* vsscanf - Unformat a buffer into a list of arguments
* @buf: input buffer
* @fmt: format of buffer
* @args: arguments
*/
int vsscanf(const char *buf, const char *fmt, va_list args)
{
const char *str = buf;
char *next;
char digit;
int num = 0;
u8 qualifier;
u8 base;
s16 field_width;
char is_sign;
while (*fmt && *str) {
/* skip any white space in format */
/* white space in format matchs any amount of
* white space, including none, in the input.
*/
if (isspace(*fmt)) {
fmt = skip_spaces(++fmt);
str = skip_spaces(str);
}
/* anything that is not a conversion must match exactly */
if (*fmt != '%' && *fmt) {
if (*fmt++ != *str++)
break;
continue;
}
if (!*fmt)
break;
++fmt;
/* skip this conversion.
* advance both strings to next white space
*/
if (*fmt == '*') {
while (!isspace(*fmt) && *fmt != '%' && *fmt)
fmt++;
while (!isspace(*str) && *str)
str++;
continue;
}
/* get field width */
field_width = -1;
if (isdigit(*fmt))
field_width = skip_atoi(&fmt);
/* get conversion qualifier */
qualifier = -1;
if (*fmt == 'h' || _tolower(*fmt) == 'l' ||
_tolower(*fmt) == 'z') {
qualifier = *fmt++;
if (unlikely(qualifier == *fmt)) {
if (qualifier == 'h') {
qualifier = 'H';
fmt++;
} else if (qualifier == 'l') {
qualifier = 'L';
fmt++;
}
}
}
if (!*fmt || !*str)
break;
base = 10;
is_sign = 0;
switch (*fmt++) {
case 'c':
{
char *s = (char *)va_arg(args, char*);
if (field_width == -1)
field_width = 1;
do {
*s++ = *str++;
} while (--field_width > 0 && *str);
num++;
}
continue;
case 's':
{
char *s = (char *)va_arg(args, char *);
if (field_width == -1)
field_width = SHRT_MAX;
/* first, skip leading white space in buffer */
str = skip_spaces(str);
/* now copy until next white space */
while (*str && !isspace(*str) && field_width--)
*s++ = *str++;
*s = '\0';
num++;
}
continue;
case 'n':
/* return number of characters read so far */
{
int *i = (int *)va_arg(args, int*);
*i = str - buf;
}
continue;
case 'o':
base = 8;
break;
case 'x':
case 'X':
base = 16;
break;
case 'i':
base = 0;
case 'd':
is_sign = 1;
case 'u':
break;
case '%':
/* looking for '%' in str */
if (*str++ != '%')
return num;
continue;
default:
/* invalid format; stop here */
return num;
}
/* have some sort of integer conversion.
* first, skip white space in buffer.
*/
str = skip_spaces(str);
digit = *str;
if (is_sign && digit == '-')
digit = *(str + 1);
if (!digit
|| (base == 16 && !isxdigit(digit))
|| (base == 10 && !isdigit(digit))
|| (base == 8 && (!isdigit(digit) || digit > '7'))
|| (base == 0 && !isdigit(digit)))
break;
switch (qualifier) {
case 'H': /* that's 'hh' in format */
if (is_sign) {
signed char *s = (signed char *)va_arg(args, signed char *);
*s = (signed char)simple_strtol(str, &next, base);
} else {
unsigned char *s = (unsigned char *)va_arg(args, unsigned char *);
*s = (unsigned char)simple_strtoul(str, &next, base);
}
break;
case 'h':
if (is_sign) {
short *s = (short *)va_arg(args, short *);
*s = (short)simple_strtol(str, &next, base);
} else {
unsigned short *s = (unsigned short *)va_arg(args, unsigned short *);
*s = (unsigned short)simple_strtoul(str, &next, base);
}
break;
case 'l':
if (is_sign) {
long *l = (long *)va_arg(args, long *);
*l = simple_strtol(str, &next, base);
} else {
unsigned long *l = (unsigned long *)va_arg(args, unsigned long *);
*l = simple_strtoul(str, &next, base);
}
break;
case 'L':
if (is_sign) {
long long *l = (long long *)va_arg(args, long long *);
*l = simple_strtoll(str, &next, base);
} else {
unsigned long long *l = (unsigned long long *)va_arg(args, unsigned long long *);
*l = simple_strtoull(str, &next, base);
}
break;
case 'Z':
case 'z':
{
size_t *s = (size_t *)va_arg(args, size_t *);
*s = (size_t)simple_strtoul(str, &next, base);
}
break;
default:
if (is_sign) {
int *i = (int *)va_arg(args, int *);
*i = (int)simple_strtol(str, &next, base);
} else {
unsigned int *i = (unsigned int *)va_arg(args, unsigned int*);
*i = (unsigned int)simple_strtoul(str, &next, base);
}
break;
}
num++;
if (!next)
break;
str = next;
}
/*
* Now we've come all the way through so either the input string or the
* format ended. In the former case, there can be a %n at the current
* position in the format that needs to be filled.
*/
if (*fmt == '%' && *(fmt + 1) == 'n') {
int *p = (int *)va_arg(args, int *);
*p = str - buf;
}
return num;
}
/**
* sscanf - Unformat a buffer into a list of arguments
* @buf: input buffer
* @fmt: formatting of buffer
* @...: resulting arguments
*/
int sscanf(const char *buf, const char *fmt, ...)
{
va_list args;
int i;
va_start(args, fmt);
i = vsscanf(buf, fmt, args);
va_end(args);
return i;
}
终于找到一个 http://blog.csdn.net/jiangdou88/article/details/46865797,
加到 lib/vsprintf.c 可以用上,
然后继续搜了一下, 应该是从Linux里面拷过来的: lib/vsprintf.c
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <sys/mman.h>struct tar {
char name[100]; char _unused[24];
char size[12]; char _padding[376];
} *tar;int is_file_in_tar(struct tar *tar, char *name, char **start, int *length )
{
for( ; tar->name[0]; tar+=1+(*length+511)/512 )
{
sscanf(tar->size, "%o", length);
if( !strcmp(tar->name,name) ){ *start = (char*)(tar+1); return 1; }
}return 0;
}int main()
{
int fd=open("/mnt/hgfs/F/gif.tar", O_RDONLY );
tar=mmap(NULL, 9348608, PROT_READ, MAP_PRIVATE, fd, 0);char *start; int length;
char name[32];
for(int i=0;i<25;i++)
{
snprintf(name, sizeof(name), "gif/xoApQkbkFnCkrao-%d.bmp", i);
if( is_file_in_tar(tar,name,&start,&length) )
{
printf("%s.%d.%x\n", name, length, start);
}
}
}
编译指令:
gcc -o test test.c --std c99
运行结果:
bugfix@ubuntu:/$ ./test
gif/xoApQkbkFnCkrao-0.bmp.332986.4cd36400
gif/xoApQkbkFnCkrao-1.bmp.332986.4cd87c00
gif/xoApQkbkFnCkrao-2.bmp.332986.4d108400
gif/xoApQkbkFnCkrao-3.bmp.332986.4d3e5c00
gif/xoApQkbkFnCkrao-4.bmp.332986.4d437400
gif/xoApQkbkFnCkrao-5.bmp.332986.4d488c00
gif/xoApQkbkFnCkrao-6.bmp.332986.4d4da400
gif/xoApQkbkFnCkrao-7.bmp.332986.4d52bc00
gif/xoApQkbkFnCkrao-8.bmp.332986.4d57d400
gif/xoApQkbkFnCkrao-9.bmp.332986.4d5cec00
gif/xoApQkbkFnCkrao-10.bmp.332986.4cdd9400
gif/xoApQkbkFnCkrao-11.bmp.332986.4ce2ac00
gif/xoApQkbkFnCkrao-12.bmp.332986.4ce7c400
gif/xoApQkbkFnCkrao-13.bmp.332986.4cecdc00
gif/xoApQkbkFnCkrao-14.bmp.332986.4cf1f400
gif/xoApQkbkFnCkrao-15.bmp.332986.4cf70c00
gif/xoApQkbkFnCkrao-16.bmp.332986.4cfc2400
gif/xoApQkbkFnCkrao-17.bmp.332986.4d013c00
gif/xoApQkbkFnCkrao-18.bmp.332986.4d065400
gif/xoApQkbkFnCkrao-19.bmp.332986.4d0b6c00
gif/xoApQkbkFnCkrao-20.bmp.332986.4d159c00
gif/xoApQkbkFnCkrao-21.bmp.332986.4d1ab400
gif/xoApQkbkFnCkrao-22.bmp.332986.4d1fcc00
gif/xoApQkbkFnCkrao-23.bmp.332986.4d24e400
gif/xoApQkbkFnCkrao-24.bmp.332986.4d29fc00
参考连接: u-boot占用多少DRAM?
不知道这个有没有参考意义?
用谷歌找一张酷炫gif图
比如
用在线 gif转bmp网站,转成一组bmp图片文件。
用sunxi-fel把前面9帧写入 spi nor flash:
sudo sunxi-fel -p spiflash-write 0x0600000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-0.bmp
sudo sunxi-fel -p spiflash-write 0x0660000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-1.bmp
sudo sunxi-fel -p spiflash-write 0x06C0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-2.bmp
sudo sunxi-fel -p spiflash-write 0x0720000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-3.bmp
sudo sunxi-fel -p spiflash-write 0x0780000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-4.bmp
sudo sunxi-fel -p spiflash-write 0x07E0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-5.bmp
sudo sunxi-fel -p spiflash-write 0x0840000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-6.bmp
sudo sunxi-fel -p spiflash-write 0x08A0000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-7.bmp
sudo sunxi-fel -p spiflash-write 0x0900000 /mnt/hgfs/F/gif/xoApQkbkFnCkrao-8.bmp
敲回车键进入u-boot命令行,
输入命令: sf probe 0 1080000000; sf read 0x41000000 0x0600000 0x60000;sf read 0x41600000 0x0660000 0x60000;sf read 0x41C00000 0x06C0000 0x60000;sf read 0x42200000 0x0720000 0x60000;sf read 0x42800000 0x0780000 0x60000;sf read 0x42E00000 0x07E0000 0x60000;sf read 0x43400000 0x0840000 0x60000;bmp display 0x41000000 0 0;sleep 0.1;bmp display 0x41600000 0 0;sleep 0.1;bmp display 0x41C00000 0 0;sleep 0.1;bmp display 0x42200000 0 0;sleep 0.1;bmp display 0x42800000 0 0;sleep 0.1;bmp display 0x42E00000 0 0;sleep 0.1;bmp display 0x43400000 0 0;
sf probe 0 1080000000;
sf read 0x41000000 0x0600000 0x60000;
sf read 0x41600000 0x0660000 0x60000;
sf read 0x41C00000 0x06C0000 0x60000;
sf read 0x42200000 0x0720000 0x60000;
sf read 0x42800000 0x0780000 0x60000;
sf read 0x42E00000 0x07E0000 0x60000;
sf read 0x43400000 0x0840000 0x60000;
bmp display 0x41000000 0 0;sleep 0.1;
bmp display 0x41600000 0 0;sleep 0.1;
bmp display 0x41C00000 0 0;sleep 0.1;
bmp display 0x42200000 0 0;sleep 0.1;
bmp display 0x42800000 0 0;sleep 0.1;
bmp display 0x42E00000 0 0;sleep 0.1;
bmp display 0x43400000 0 0;
现在u-boot的屏幕可以动起来了
表达式:
printf("%d\n", position*100/len);
错误信息:
cmd/sf.c:313: undefined reference to `__aeabi_ldivmod'
arm-linux-gnueabihf-ld.bfd: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail ../../bfd/elf32-arm.c:7696
arm-linux-gnueabihf-ld.bfd: error: required section '.rel.plt' not found in the linker script
arm-linux-gnueabihf-ld.bfd: final link failed: Invalid operation
make: *** [u-boot] Error 1
bmp display 不能显示gz压缩的图片,
貌似在gunzip分配内存就出错了?
=> sf probe 0 1080000000; sf read 0x41000000 0x600000 149510;bmp display 0x41000000 0 0
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x600000, size 0x149510
SF: 1348880 bytes @ 0x600000 Read: OK
Error: malloc in gunzip failed!
There is no valid bmp file at the given address
先烧一个 bmp 到 spi flash:
$ sudo sunxi-fel -p spiflash-write 0x600000 LOGO3.bmp
首先把 LOGO3.bmp 读到内存地址 0x600000:
=> sf probe 0 50000000; sf read 0x41000000 0x600000 0x100000;
SF: Detected mx25l25635f with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x600000, size 0x100000
SF: 1048576 bytes @ 0x600000 Read: OK
查看图片信息:
=> bmp info 0x41000000
Image size : 800 x 480
Bits per pixel: 16
Compression : 3
卧槽,居然显示不了:
=> bmp display 0x41000000 0 0
Error: compression type 3 not supported
修改 arch/arm/boot/compressed/misc.c:
static inline uint32_t read32(uint32_t addr)
{
return( *((volatile uint32_t *)(addr)) );
}static inline void write32(uint32_t addr, uint32_t value)
{
*((volatile uint32_t *)(addr)) = value;
}void sys_uart_putc(char c)
{
unsigned int addr = 0x01c28000;while((read32(addr + 0x7c) & (0x1 << 1)) == 0);
write32(addr + 0x00, c);
}static void putstr(const char *ptr)
{
char c;while ((c = *ptr++) != '\0') {
if (c == '\n')
sys_uart_putc('\r');
sys_uart_putc(c);
}flush();
}
把xboot的sys_uart_putc( ) 弄上去之后,
终于输出了 Uncompressing Linux... done
有图有真相!
我是用这个bootz命令启动 zImage 的, 理论上要先执行 arch/arm/boot/compressed/misc.c 里面的解压缩吧?
#define CONFIG_BOOTCOMMAND "sf probe 0 50000000; " \
"sf read 0x41000000 0x0F0000 0x10000; " \
"sf read 0x41010000 0x100000 0x600000; " \
"bootz 0x41010000 - 0x41000000"
那就应该先输出 Uncompressing Linux... done 才对,但是现在根本不输出了。
下面是大神的讨论:
【活跃】XBOOT
https://github.com/ma6174/fmpi
【活跃】XBOOT 2018/1/30 14:15:55
这里有个有意思的开源工程
【活跃】XBOOT 2018/1/30 14:16:11
用树莓派的pwm管脚实现fm发射
14:16:40
【活跃】XBOOT 2018/1/30 14:16:40
估计得加个功率放大器吧
【吐槽】深圳-dgtg 2018/1/30 14:17:05
pwm口能发送FM ?
【活跃】XBOOT 2018/1/30 14:17:09
pwm管脚,扯个线是不是就能发射出去了
【吐槽】深圳-dgtg 2018/1/30 14:17:22
FM收音机那种哦?
【唠叨】书 2018/1/30 14:17:23
只要I/O频率足够,任何单片机都可以实现FM.
【活跃】XBOOT 2018/1/30 14:17:35
原理可以讲得通,调频而已
【活跃】XBOOT 2018/1/30 14:17:59
但是,发射需要开环
【吐槽】深圳-dgtg 2018/1/30 14:18:28
牛
【唠叨】书 2018/1/30 14:18:38
需要加个天线接口.
14:20:54
【冒泡】明月心惜 2018/1/30 14:20:54
玩过,接跟杜邦线,能发射个几米,效果还不错。
【活跃】XBOOT 2018/1/30 14:21:21
pwm加个杜邦线,就能发射?14:21:59
【唠叨】书 2018/1/30 14:21:59
用手指当天线都可以,就是发射距离近了点.
14:22:21
【活跃】XBOOT 2018/1/30 14:22:21
这功率估计得,0。001w吧
【冒泡】明月心惜 2018/1/30 14:22:37
没看怎么实现的,我只是把别人的代码跑了跑。射频没那么复杂,稍微有点天线它就发射出去了。
【活跃】XBOOT 2018/1/30 14:24:08
用数字方式实现调频控制,这背后没想象那么容易吧
【吐槽】。 2018/1/30 14:26:06
把吧杜邦线剪成你设定频率波长的四分之一
14:26:13
【吐槽】。 2018/1/30 14:26:13
发射距离还行
【冒泡】明月心惜 2018/1/30 14:27:07
发射频率都有100M io的响应速度需要更快,应该被作者优化过
【吐槽】坚定前行
擦,模拟的频率设定这么容易?
【吐槽】坚定前行 2018/1/30 14:29:43
在pwm的范围内65536分频?
【吐槽】坚定前行 2018/1/30 14:29:53
得怎么分啊
https://github.com/ma6174/fmpi
树莓派FM广播点歌系统
简介
前段时间有人发贴说用树莓派可以发射FM收音机信号, 于是便整来玩玩,发现效果还不错,于是想扩充一下功能。
网上实现的FM发射功能是有局限性的:
只能播放wav格式文件,并且wav文件必须是16 bit 22.5kHz Mono格式的。
只支持播放本地音频文件,或者使用-从终端读取音频
我设想的或已经实现的功能是这样的:
支持mp3格式
支持流媒体,或者说支持直接播放网络上的音乐
可以添加音乐,方便管理
可以批量添加歌曲
可以播放局域网内电脑上的音乐
自动根据歌名在线搜索歌曲并播放
有一个web页面,允许任何人添加自己喜欢的歌曲
web页面显示当前正在播放的歌曲和将要播放的歌曲列表
当播放列表里面没有歌曲的时候自动随机播放一首歌曲,保证连续播放
可以跳过正在播放的歌曲播放下一曲
安装我做的系统之后你就可以用树莓派做服务器, 发送广播,播放流行歌曲或者英语听力(或者法律允许播放的东西) 告诉亲朋好友一个网址,然后他们就能在上面点歌。 四六级没过的朋友可以添加四六级听力,模拟真实考试环境。 或者放到敬老院里面,给老年人播放戏曲。 除此之外,只要程序运行着,你就能用收音机听到音乐, 不用天天费神去网上找歌了。 这样也为你的手机节省好多存储歌曲的空间,因为有了树莓派和我的点歌系统, 你用手机上的收音机就能听到想听的歌曲。 我的系统不会给树莓派增加任何垃圾,所有网络歌曲不缓存, 不用担心歌曲过多而将存储卡填满。
关键技术与原理
因为树莓派只支持wav格式音乐,所以要将mp3格式转换成wav格式。
但是一般软件转换效率比较低,树莓派CPU比较差,转换时间更长。
后来我找到一个比较好的解决方案,用mpg123这个软件进行解码, 解码之后输出到终端上,这时就已经转换成wav格式了。 然后树莓派的pifm程序设置成从终端读取音频, 这样再通过一个管道将两个程序连起来,就能实现一边解码一边播放
另外,mpg123的功能比较强,支持直接播放网络音乐, 也就是说,只要给mpg123传递一个歌曲url,就能实现边下载边播放
上面的文字用一条命令总结就是:
mpg123 -m -C -q -s 歌曲地址或url | sudo pifm - 频率 歌曲采样率
例如
mpg123 -m -C -q -s /home/pi/aaa.mp3 | sudo pifm - 98.5 44100
mpg123 -m -C -q -s http://abc.com/123.mp3 | sudo pifm - 98.5 44100
上面的命令看起来很简单,费了半天劲才鼓捣好,因为命令的参数很多, 组合起来让他们协调工作就需要不断尝试!
解决了这个技术难题,下面的任务就简单了,对于pythoner来说, 下面提到的东西都不叫事!^_^
简单列一下:
歌曲是从搜狗mp3抓的,只要输入歌曲的名字,自动搜索,返回歌曲url
web管理界面用web.py实现,实时显示正在播放的歌曲和歌曲列表
数据库用sqlite3,用来保存用户输入的歌曲信息,方便日后数据分析
如果列表为空则从本地播放列表(文本文件)随机选一个播放
安装部署方法
为了简化安装部署,我专门写了一个安装脚本,就是setup.sh, 直接执行就能安装。(注意,本系统树莓派专用,请不要在电脑上执行此脚本)
wget https://github.com/ma6174/fmpi/archive/master.zip
unzip master.zip
cd fmpi-master
sudo bash setup.sh
这样就自动安装依赖的软件
使用方法
运行的话可以直接执行程序里面的start.sh:
sudo bash start.sh
然后在树莓派的GPIO4这个引脚上插上一根杜邦线当天线
用ifconfig命令察看你的ip地址,然后在浏览器上打开:http://树莓派IP:8000/, 可以看到正在播放的歌曲,然后你可以添加你想要收听的歌曲。
打开收音机,调到FM 98.5频道,你就能听到正在播放的歌曲了!
如果感觉这首歌不好听,可以直接按树莓派的键盘的q键,自动播放下一曲
想终止程序的话按Ctrl + c
可以修改config.py修改默认的98.5这个播放频率。
其他
对本系统感兴趣的话可以去github上查看源码,扩充系统功能: https://github.com/ma6174/fmpi
任何问题和建议可以留言或email联系我:ma6174#163.com
gtalk:ma617495#gmail.com
更诡异的事情来了, 我就ubuntu14.04LTS 自带mkfs.jffs2建立4M的jffs2也搞定了,正常了.
那难道是mkfs.jffs2不能建立8M的jffs2文件,但是可以建立4M的jffs2文件?
mkfs.jffs2 -s 0x1000 -e 0x10000 -p 0x400000 -d rootfs_buildroot_lite/ -n -o jffs2.img
ubuntu@ubuntu:$ mkfs.jffs2 -V
mkfs.jffs2: error!: revision 1.60hexing@ubuntu:$ mtd-utils-6766178/mkfs.jffs2 -V
mkfs.jffs2 (mtd-utils) 2.0.1
我重新下载了 mtd-utils 最新的源码,编译
wget http://git.infradead.org/mtd-utils.git/snapshot/6766178412934e29db12ff5e6663604c6e909c6e.tar.gz
tar xvf 6766178412934e29db12ff5e6663604c6e909c6e.tar.gz
cd mtd-utils-6766178/
./configure
./autogen.sh
sudo apt-get install liblzo2-dev
make -j2
生成了新的 mkfs.jffs2,
用这个命令产生4M的jffs2文件镜像
mtd-utils-6766178/mkfs.jffs2 -s 0x1000 -e 0x10000 -p 0x400000 -d rootfs_buildroot_lite/ -n -o jffs2.img
发现启动后基本正常。
我用mkfs.jffs2制作根文件系统, 用sunxi-fel烧到指定的flash地址后,linux启动出现了下面的错误
[ 0.982462] hub 1-0:1.0: USB hub found
[ 0.986400] hub 1-0:1.0: 1 port detected
[ 0.990907] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.997230] ohci-platform: OHCI generic platform driver
[ 1.002777] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.009527] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.017468] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[ 1.090404] hub 2-0:1.0: USB hub found
[ 1.094232] hub 2-0:1.0: 1 port detected
[ 1.101418] usbcore: registered new interface driver usb-storage
[ 1.108074] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 1.117639] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.126575] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.133368] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.138045] i2c /dev entries driver
[ 1.142917] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.152397] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.215374] sunxi-mmc 1c0f000.mmc: base:0xc4257000 irq:23
[ 1.221854] usbcore: registered new interface driver usbhid
[ 1.227512] usbhid: USB HID core driver
[ 1.232948] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.240997] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.248531] NET: Registered protocol family 17
[ 1.253147] Registering SWP/SWPB emulation handler
[ 1.265560] params->width = 0 000
[ 1.268933] params->width = 800 111
[ 1.272416] params->height = 0 111
[ 1.275864] params->height = 480 222
[ 1.279444] drivers/video/fbdev/simplefb.c.436: 22222222222222222
[ 1.285813] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4400000
[ 1.296365] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[ 1.312531] Console: switching to colour frame buffer device 100x30
[ 1.324993] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[ 1.337744] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.349176] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.354944] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.364116] hub 3-0:1.0: USB hub found
[ 1.368090] hub 3-0:1.0: 1 port detected
[ 1.373107] using random self ethernet address
[ 1.377653] using random host ethernet address
[ 1.383120] usb0: HOST MAC 0e:ed:36:25:f7:7d
[ 1.387553] usb0: MAC c6:6a:cd:ea:66:d3
[ 1.391452] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.398974] g_cdc gadget: g_cdc ready
[ 1.405193] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.414837] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-03 20:45:52 UTC (247552)
[ 1.423517] vcc3v3: disabling
[ 1.426546] vcc5v0: disabling
[ 1.429513] ALSA device list:
[ 1.432477] #0: V3s Audio Codec
[ 1.541952] random: crng init done
[ 1.555398] musb-hdrc musb-hdrc.1.auto: VBUS_ERROR in b_idle (80, <SessEnd), retry #0, port1 00000100
[ 1.888644] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420000: 0x7808 instead
[ 1.898166] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420004: 0x0002 instead
[ 1.907649] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0042000c: 0x77e8 instead
[ 1.917128] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420010: 0x0003 instead
[ 1.926603] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420018: 0x7c94 instead
[ 1.936108] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0042001c: 0x0006 instead
[ 1.945591] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420030: 0x3f28 instead
[ 1.955056] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0042003c: 0x3f30 instead
[ 1.964532] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420040: 0x0001 instead
[ 1.974008] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00420048: 0x77a0 instead
[ 1.983480] jffs2: Further such events for this erase block will not be printed
[ 1.993278] jffs2: Empty flash at 0x00422d9c ends at 0x00422da0
[ 1.999738] jffs2: Empty flash at 0x00422db8 ends at 0x00422dc0
[ 2.009488] jffs2: Empty flash at 0x004281f0 ends at 0x004281f4
[ 2.015986] jffs2: Empty flash at 0x00428798 ends at 0x0042879c
[ 2.022431] jffs2: Empty flash at 0x004289b0 ends at 0x004289b4
[ 2.028362] jffs2: Empty flash at 0x004289b8 ends at 0x004289bc
[ 2.034894] jffs2: Empty flash at 0x00429540 ends at 0x00429548
[ 2.041344] jffs2: Empty flash at 0x00429588 ends at 0x0042958c
[ 2.047272] jffs2: Empty flash at 0x00429590 ends at 0x00429594
[ 2.053702] jffs2: Empty flash at 0x004295c4 ends at 0x004295c8
[ 2.062139] jffs2: Empty flash at 0x0042caf4 ends at 0x0042caf8
[ 2.068668] jffs2: Empty flash at 0x0042d468 ends at 0x0042d46c
[ 2.075790] jffs2: Empty flash at 0x0042e710 ends at 0x0042e714
[ 2.082429] jffs2: Empty flash at 0x0042f940 ends at 0x0042f944
[ 2.088380] jffs2: Empty flash at 0x0042f948 ends at 0x0042f94c
[ 2.094529] jffs2: Empty flash at 0x0042fa38 ends at 0x0042fa3c
[ 2.100459] jffs2: Empty flash at 0x0042fa40 ends at 0x0042fa44
[ 2.106597] jffs2: Empty flash at 0x0042fbbc ends at 0x0042fbc4
[ 2.112666] jffs2: Empty flash at 0x0042fd38 ends at 0x0042fd3c
[ 2.118726] jffs2: Empty flash at 0x0042fde4 ends at 0x0042fde8
[ 2.124806] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430000: 0x7fdc instead
[ 2.134295] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430004: 0x7fcc instead
[ 2.143773] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0043000c: 0xddc4 instead
[ 2.153266] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430010: 0x01a4 instead
[ 2.162751] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430014: 0xf31c instead
[ 2.172229] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430018: 0xfe00 instead
[ 2.181704] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0043001c: 0xddd0 instead
[ 2.191179] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430020: 0x0124 instead
[ 2.200653] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00430024: 0xf814 instead
[ 2.210127] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0043002c: 0x26e0 instead
[ 2.219599] jffs2: Further such events for this erase block will not be printed
[ 2.230648] jffs2: Empty flash at 0x00434a1c ends at 0x00434a20
[ 2.237120] jffs2: Empty flash at 0x00434c48 ends at 0x00434c4c
[ 2.244329] jffs2: Empty flash at 0x00436a94 ends at 0x00436a98
[ 2.251485] jffs2: Empty flash at 0x00438198 ends at 0x0043819c
[ 2.258702] jffs2: Empty flash at 0x00439f0c ends at 0x00439f10
[ 2.268352] jffs2: Empty flash at 0x0043f314 ends at 0x0043f32c
[ 2.274585] jffs2: Empty flash at 0x0043f870 ends at 0x0043f874
[ 2.282023] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442040: 0x0600 instead
[ 2.291507] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442044: 0xf730 instead
[ 2.300984] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442048: 0x00fe instead
[ 2.310458] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0044204c: 0x87a0 instead
[ 2.319933] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442050: 0x0753 instead
[ 2.329407] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442054: 0x0134 instead
[ 2.338881] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442058: 0x89b8 instead
[ 2.348355] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0044205c: 0x0753 instead
[ 2.357846] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442060: 0x011a instead
[ 2.367339] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00442064: 0x941c instead
[ 2.376814] jffs2: Further such events for this erase block will not be printed
[ 2.387390] jffs2: Old JFFS2 bitmask found at 0x00446bb8
[ 2.392695] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 2.400895] jffs2: Empty flash at 0x004477dc ends at 0x00448000
[ 2.411965] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450000: 0x1e70 instead
[ 2.421453] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450004: 0x355e instead
[ 2.430929] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450008: 0x5818 instead
[ 2.440404] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0045000c: 0x2332 instead
[ 2.449878] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450010: 0x555f instead
[ 2.459353] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450014: 0xef50 instead
[ 2.468827] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450018: 0x9a5e instead
[ 2.478301] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0045001c: 0x3f87 instead
[ 2.487842] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450020: 0x3fec instead
[ 2.497322] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00450024: 0x7c39 instead
[ 2.506795] jffs2: Further such events for this erase block will not be printed
[ 2.524798] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460000: 0xc03e instead
[ 2.534298] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460004: 0xd652 instead
[ 2.543778] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460008: 0x47a8 instead
[ 2.553282] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0046000c: 0x1eaa instead
[ 2.562788] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460010: 0x47b2 instead
[ 2.573345] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460014: 0x92bc instead
[ 2.584882] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460018: 0xb34f instead
[ 2.594383] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0046001c: 0x2c33 instead
[ 2.603876] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460020: 0xcb2c instead
[ 2.613364] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00460024: 0xf8e3 instead
[ 2.622843] jffs2: Further such events for this erase block will not be printed
[ 2.642005] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470000: 0x150c instead
[ 2.651504] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470004: 0x2792 instead
[ 2.660985] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470008: 0x43b2 instead
[ 2.670461] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0047000c: 0x5b79 instead
[ 2.679937] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470010: 0xf69c instead
[ 2.689412] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470014: 0xb493 instead
[ 2.698887] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470018: 0x7ad9 instead
[ 2.708361] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0047001c: 0xb654 instead
[ 2.717835] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470020: 0xba63 instead
[ 2.727310] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00470024: 0x9476 instead
[ 2.736781] jffs2: Further such events for this erase block will not be printed
[ 2.749260] jffs2: Old JFFS2 bitmask found at 0x00477418
[ 2.754565] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 2.767121] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480000: 0x0eed instead
[ 2.776632] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480004: 0xe3a4 instead
[ 2.786112] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480008: 0xb1aa instead
[ 2.795589] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0048000c: 0xf18e instead
[ 2.805054] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480010: 0x8c46 instead
[ 2.814530] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480014: 0x4630 instead
[ 2.824005] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480018: 0xc04d instead
[ 2.833479] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0048001c: 0x8631 instead
[ 2.842953] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480020: 0xa38f instead
[ 2.852427] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00480024: 0xe018 instead
[ 2.861898] jffs2: Further such events for this erase block will not be printed
[ 2.879816] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490000: 0xffe0 instead
[ 2.889322] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490004: 0xd4f2 instead
[ 2.898803] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490008: 0x8eaa instead
[ 2.908279] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0049000c: 0x5681 instead
[ 2.917756] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490010: 0xc7b4 instead
[ 2.927230] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490014: 0xd76b instead
[ 2.936704] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490018: 0xf6fd instead
[ 2.946178] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0049001c: 0xaeb8 instead
[ 2.955652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490020: 0x7b5d instead
[ 2.965117] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00490024: 0x6a95 instead
[ 2.974580] jffs2: Further such events for this erase block will not be printed
[ 2.992491] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0000: 0x96f6 instead
[ 3.001982] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0004: 0x9726 instead
[ 3.011460] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0008: 0xc7f1 instead
[ 3.020936] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a000c: 0xa687 instead
[ 3.030411] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0010: 0x6d6d instead
[ 3.039886] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0014: 0xde87 instead
[ 3.049360] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0018: 0x26cf instead
[ 3.058835] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a001c: 0x1fb4 instead
[ 3.068309] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0020: 0xa8fd instead
[ 3.077783] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004a0024: 0xff91 instead
[ 3.087254] jffs2: Further such events for this erase block will not be printed
[ 3.105125] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0000: 0x25bb instead
[ 3.114611] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0004: 0xc682 instead
[ 3.124088] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0008: 0x4aa4 instead
[ 3.133584] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b000c: 0x13ea instead
[ 3.143063] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0010: 0x5f82 instead
[ 3.152554] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0014: 0xd21e instead
[ 3.162032] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0018: 0xab13 instead
[ 3.171507] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b001c: 0x7d54 instead
[ 3.180981] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0020: 0x3695 instead
[ 3.190455] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004b0024: 0x1fa2 instead
[ 3.199932] jffs2: Further such events for this erase block will not be printed
[ 3.218023] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0000: 0xc8c2 instead
[ 3.227556] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0004: 0x56ec instead
[ 3.237061] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0008: 0xc14a instead
[ 3.246541] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c000c: 0x70ce instead
[ 3.256017] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0010: 0x04eb instead
[ 3.265492] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0014: 0xae7c instead
[ 3.274957] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0018: 0x62aa instead
[ 3.284432] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c001c: 0xca3c instead
[ 3.293906] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0020: 0x13c4 instead
[ 3.303380] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004c0024: 0x3a86 instead
[ 3.312851] jffs2: Further such events for this erase block will not be printed
[ 3.330767] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0000: 0x9b2d instead
[ 3.340254] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0004: 0xcd03 instead
[ 3.349731] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0008: 0x1758 instead
[ 3.359205] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d000c: 0xae36 instead
[ 3.368680] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0010: 0x4ba8 instead
[ 3.378154] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0014: 0x75fe instead
[ 3.387628] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0018: 0x0945 instead
[ 3.397103] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d001c: 0xbcf6 instead
[ 3.406608] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0020: 0x9f4f instead
[ 3.416089] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004d0024: 0xfbf7 instead
[ 3.425562] jffs2: Further such events for this erase block will not be printed
[ 3.443468] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0000: 0xdace instead
[ 3.452956] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0004: 0xb5f7 instead
[ 3.462434] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0008: 0xe875 instead
[ 3.471910] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e000c: 0x2f5c instead
[ 3.481386] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0010: 0xb79d instead
[ 3.490861] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0014: 0x0170 instead
[ 3.500335] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0018: 0xde61 instead
[ 3.509809] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e001c: 0xce15 instead
[ 3.519283] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0020: 0xbe5c instead
[ 3.528757] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004e0024: 0xc42e instead
[ 3.538228] jffs2: Further such events for this erase block will not be printed
[ 3.556116] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0000: 0x3863 instead
[ 3.565601] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0004: 0x661a instead
[ 3.575067] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0008: 0x2b45 instead
[ 3.584544] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f000c: 0xe794 instead
[ 3.594019] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0010: 0x90f6 instead
[ 3.603493] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0014: 0xa679 instead
[ 3.612968] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0018: 0xf364 instead
[ 3.622460] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f001c: 0xd3a5 instead
[ 3.631938] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0020: 0xdf6c instead
[ 3.641414] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x004f0024: 0x9d6f instead
[ 3.650885] jffs2: Further such events for this erase block will not be printed
[ 3.668791] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500000: 0x3dc4 instead
[ 3.678278] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500004: 0xd611 instead
[ 3.687816] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500008: 0xe3de instead
[ 3.697297] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0050000c: 0xd4a6 instead
[ 3.706773] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500010: 0xde24 instead
[ 3.716303] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500014: 0x6621 instead
[ 3.725784] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500018: 0x5319 instead
[ 3.735249] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0050001c: 0x7d7b instead
[ 3.744724] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500020: 0x21c0 instead
[ 3.754221] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00500024: 0x9fd9 instead
[ 3.763708] jffs2: Further such events for this erase block will not be printed
[ 3.780791] jffs2: Old JFFS2 bitmask found at 0x00509db0
[ 3.786130] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 3.797428] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510000: 0xfc1f instead
[ 3.807967] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510004: 0xe214 instead
[ 3.817451] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510008: 0xd4a2 instead
[ 3.826948] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0051000c: 0x5396 instead
[ 3.836427] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510010: 0xdab2 instead
[ 3.845902] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510014: 0x11b3 instead
[ 3.855378] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510018: 0xf217 instead
[ 3.864842] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0051001c: 0xc3c5 instead
[ 3.874317] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510020: 0x2b29 instead
[ 3.883791] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00510024: 0xbba7 instead
[ 3.893262] jffs2: Further such events for this erase block will not be printed
[ 3.911179] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520000: 0xde7f instead
[ 3.920670] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520004: 0xb0e9 instead
[ 3.930172] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520008: 0xd81b instead
[ 3.939652] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0052000c: 0xd630 instead
[ 3.949128] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520010: 0x89fd instead
[ 3.958602] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520014: 0x9b95 instead
[ 3.968077] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520018: 0x3f6e instead
[ 3.977551] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0052001c: 0x5b4b instead
[ 3.987025] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520020: 0xfd14 instead
[ 3.996499] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00520024: 0x5ad4 instead
[ 4.005970] jffs2: Further such events for this erase block will not be printed
[ 4.023639] jffs2: Old JFFS2 bitmask found at 0x0052f5a4
[ 4.028961] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.036277] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530000: 0xd8cb instead
[ 4.045764] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530004: 0xb4d7 instead
[ 4.055230] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530008: 0xaafa instead
[ 4.064708] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0053000c: 0x37cc instead
[ 4.074185] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530010: 0x34ae instead
[ 4.083659] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530014: 0x66df instead
[ 4.093156] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530018: 0x3367 instead
[ 4.102628] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0053001c: 0x6c48 instead
[ 4.112104] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530020: 0xf26b instead
[ 4.121578] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00530024: 0x3721 instead
[ 4.131049] jffs2: Further such events for this erase block will not be printed
[ 4.141526] jffs2: Old JFFS2 bitmask found at 0x005343e4
[ 4.146846] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.161309] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540000: 0x1be2 instead
[ 4.170793] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540004: 0x3bf8 instead
[ 4.180269] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540008: 0xc75c instead
[ 4.189765] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0054000c: 0xbe00 instead
[ 4.199243] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540010: 0x7a0c instead
[ 4.208718] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540014: 0xc3ef instead
[ 4.218194] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540018: 0xca8e instead
[ 4.227669] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0054001c: 0xb22b instead
[ 4.237143] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540020: 0x1657 instead
[ 4.246633] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00540024: 0x8c27 instead
[ 4.256109] jffs2: Further such events for this erase block will not be printed
[ 4.274004] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550000: 0x2947 instead
[ 4.283490] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550004: 0x93b5 instead
[ 4.292967] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550008: 0x11dc instead
[ 4.302442] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0055000c: 0xe06f instead
[ 4.311918] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550010: 0xd612 instead
[ 4.321392] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550014: 0x6460 instead
[ 4.330866] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550018: 0x21de instead
[ 4.340340] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0055001c: 0xab5a instead
[ 4.349815] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550020: 0x1607 instead
[ 4.359289] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00550024: 0xd31f instead
[ 4.368760] jffs2: Further such events for this erase block will not be printed
[ 4.385208] jffs2: Old JFFS2 bitmask found at 0x0055e084
[ 4.390528] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.399013] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560000: 0xacbb instead
[ 4.408497] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560004: 0x48fb instead
[ 4.417973] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560008: 0x7ada instead
[ 4.427448] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0056000c: 0xaf5d instead
[ 4.436922] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560010: 0x7b8b instead
[ 4.446414] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560014: 0xaf70 instead
[ 4.455908] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560018: 0xe781 instead
[ 4.465384] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0056001c: 0x6e95 instead
[ 4.474849] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560020: 0xe91e instead
[ 4.484324] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00560024: 0xbead instead
[ 4.493797] jffs2: Further such events for this erase block will not be printed
[ 4.505596] jffs2: Old JFFS2 bitmask found at 0x00566424
[ 4.510902] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 4.524053] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570000: 0x85a3 instead
[ 4.533537] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570004: 0xa2b7 instead
[ 4.543013] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570008: 0x2aab instead
[ 4.552489] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0057000c: 0xe620 instead
[ 4.561964] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570010: 0x0780 instead
[ 4.571440] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570014: 0x08e4 instead
[ 4.580914] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570018: 0x8d42 instead
[ 4.590388] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0057001c: 0x44bd instead
[ 4.599862] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570020: 0x4bb3 instead
[ 4.609336] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00570024: 0x7be6 instead
[ 4.618807] jffs2: Further such events for this erase block will not be printed
[ 4.636705] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580000: 0xbbf2 instead
[ 4.646196] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580004: 0x558c instead
[ 4.655673] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580008: 0x388f instead
[ 4.665138] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0058000c: 0xded2 instead
[ 4.674633] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580010: 0x303f instead
[ 4.684112] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580014: 0x75b4 instead
[ 4.693589] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580018: 0x1de5 instead
[ 4.703064] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0058001c: 0xdff1 instead
[ 4.712556] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580020: 0x0f76 instead
[ 4.722033] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00580024: 0xfe8e instead
[ 4.731505] jffs2: Further such events for this erase block will not be printed
[ 4.749414] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590000: 0xf0df instead
[ 4.758900] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590004: 0xbf47 instead
[ 4.768377] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590008: 0xf5c8 instead
[ 4.777851] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0059000c: 0xea86 instead
[ 4.787326] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590010: 0x90c3 instead
[ 4.796800] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590014: 0x3573 instead
[ 4.806275] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590018: 0x548d instead
[ 4.815750] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0059001c: 0xdbdc instead
[ 4.825214] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590020: 0x1e71 instead
[ 4.834688] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00590024: 0xe90d instead
[ 4.844159] jffs2: Further such events for this erase block will not be printed
[ 4.862049] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0000: 0x0f3a instead
[ 4.871534] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0004: 0xd083 instead
[ 4.881029] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0008: 0x76f9 instead
[ 4.890566] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a000c: 0x1cbe instead
[ 4.900046] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0010: 0x78d4 instead
[ 4.909522] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0014: 0xd53e instead
[ 4.919054] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0018: 0x190e instead
[ 4.928536] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a001c: 0xfe10 instead
[ 4.938012] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0020: 0xc8a6 instead
[ 4.947509] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a0024: 0x21fb instead
[ 4.956998] jffs2: Further such events for this erase block will not be printed
[ 4.978092] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0000: 0x3f03 instead
[ 4.987613] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0004: 0x804f instead
[ 4.997115] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0008: 0x6939 instead
[ 5.006609] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b000c: 0x1f4f instead
[ 5.016104] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0010: 0x896e instead
[ 5.025638] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0014: 0x61fb instead
[ 5.036148] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0018: 0xdf45 instead
[ 5.045632] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b001c: 0x94fc instead
[ 5.055097] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0020: 0xe742 instead
[ 5.064573] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005b0024: 0x5e3f instead
[ 5.074045] jffs2: Further such events for this erase block will not be printed
[ 5.091980] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0000: 0x0bd6 instead
[ 5.101469] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0004: 0xdf12 instead
[ 5.110947] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0008: 0xe5f0 instead
[ 5.120424] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c000c: 0xfc67 instead
[ 5.129921] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0010: 0xb682 instead
[ 5.139401] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0014: 0xa1ac instead
[ 5.148876] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0018: 0xcbef instead
[ 5.158350] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c001c: 0x6871 instead
[ 5.167824] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0020: 0xc3b4 instead
[ 5.177299] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005c0024: 0x727d instead
[ 5.186770] jffs2: Further such events for this erase block will not be printed
[ 5.241105] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00608044: 0x0001 instead
[ 5.250592] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060804c: 0x66c0 instead
[ 5.261994] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060ad40: 0x8ad0 instead
[ 5.272002] jffs2: Empty flash at 0x0060ae0c ends at 0x0060ae10
[ 5.278058] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bcdc: 0xd73b instead
[ 5.287534] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bce0: 0x03e8 instead
[ 5.297026] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bcec: 0x0020 instead
[ 5.306504] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bcf4: 0xa120 instead
[ 5.315979] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bcfc: 0x000a instead
[ 5.325454] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bd0c: 0x4e20 instead
[ 5.334921] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0060bd3c: 0x0015 instead
[ 5.344392] jffs2: Further such events for this erase block will not be printed
[ 5.352821] jffs2: Empty flash at 0x0060c790 ends at 0x0060c798
[ 5.358751] jffs2: Empty flash at 0x0060c7ac ends at 0x0060c7b0
[ 5.365178] jffs2: Empty flash at 0x0060c7b4 ends at 0x0060c7b8
[ 5.372924] jffs2: Empty flash at 0x0060f378 ends at 0x0060f390
[ 5.378853] jffs2: Empty flash at 0x0060f394 ends at 0x0060f398
[ 5.385179] jffs2: Empty flash at 0x0060f39c ends at 0x0060f3a8
[ 5.391520] jffs2: Empty flash at 0x0060f3c0 ends at 0x0060f3d0
[ 5.397851] jffs2: Empty flash at 0x0060f3f0 ends at 0x0060f3f8
[ 5.404085] jffs2: Empty flash at 0x0060f82c ends at 0x0060f830
[ 5.410272] jffs2: Empty flash at 0x0060f968 ends at 0x0060f96c
[ 5.416444] jffs2: Empty flash at 0x0060f9b4 ends at 0x0060f9b8
[ 5.422552] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610000: 0x0007 instead
[ 5.432036] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610008: 0x29d8 instead
[ 5.441514] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0061000c: 0x20c8 instead
[ 5.450988] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610010: 0x000b instead
[ 5.460463] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610014: 0x0001 instead
[ 5.469937] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610018: 0x2818 instead
[ 5.479411] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0061001c: 0x1f80 instead
[ 5.488906] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610020: 0x0007 instead
[ 5.498387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00610028: 0x2830 instead
[ 5.507879] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0061002c: 0x1f80 instead
[ 5.517354] jffs2: Further such events for this erase block will not be printed
[ 5.525753] jffs2: Empty flash at 0x0061045c ends at 0x00610460
[ 5.532920] jffs2: Empty flash at 0x00611e8c ends at 0x00611e90
[ 5.540036] jffs2: Empty flash at 0x00612fd4 ends at 0x00612fd8
[ 5.546484] jffs2: Empty flash at 0x00613014 ends at 0x00613018
[ 5.552915] jffs2: Empty flash at 0x00613054 ends at 0x00613058
[ 5.559361] jffs2: Empty flash at 0x00613094 ends at 0x00613098
[ 5.565814] jffs2: Empty flash at 0x006131c8 ends at 0x006131cc
[ 5.571726] jffs2: Empty flash at 0x006131d0 ends at 0x006131d4
[ 5.578211] jffs2: Empty flash at 0x00613698 ends at 0x0061369c
[ 5.584123] jffs2: Empty flash at 0x006136a0 ends at 0x006136a4
[ 5.590047] jffs2: Empty flash at 0x006136a8 ends at 0x006136ac
[ 5.596577] jffs2: Empty flash at 0x006140d4 ends at 0x006140d8
[ 5.603037] jffs2: Empty flash at 0x00614498 ends at 0x006144a0
[ 5.609553] jffs2: Empty flash at 0x00614d14 ends at 0x00614d1c
[ 5.616013] jffs2: Empty flash at 0x00614f38 ends at 0x00614f3c
[ 5.622460] jffs2: Empty flash at 0x00615170 ends at 0x00615174
[ 5.628930] jffs2: Empty flash at 0x00615498 ends at 0x0061549c
[ 5.635375] jffs2: Empty flash at 0x006154e0 ends at 0x006154e4
[ 5.641287] jffs2: Empty flash at 0x006154f0 ends at 0x006154f4
[ 5.647735] jffs2: Empty flash at 0x006155bc ends at 0x006155c0
[ 5.654300] jffs2: Empty flash at 0x00616560 ends at 0x00616564
[ 5.660798] jffs2: Empty flash at 0x00616b8c ends at 0x00616b90
[ 5.667936] jffs2: Empty flash at 0x00618034 ends at 0x00618038
[ 5.678702] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620000: 0x7808 instead
[ 5.688187] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620004: 0x0002 instead
[ 5.697664] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0062000c: 0x77e8 instead
[ 5.707138] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620010: 0x0003 instead
[ 5.716632] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620018: 0x7c94 instead
[ 5.726110] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0062001c: 0x0006 instead
[ 5.735587] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620030: 0x3f28 instead
[ 5.745053] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0062003c: 0x3f30 instead
[ 5.754545] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620040: 0x0001 instead
[ 5.764025] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00620048: 0x77a0 instead
[ 5.773498] jffs2: Further such events for this erase block will not be printed
[ 5.783270] jffs2: Empty flash at 0x00622d9c ends at 0x00622da0
[ 5.789719] jffs2: Empty flash at 0x00622db8 ends at 0x00622dc0
[ 5.799463] jffs2: Empty flash at 0x006281f0 ends at 0x006281f4
[ 5.805957] jffs2: Empty flash at 0x00628798 ends at 0x0062879c
[ 5.812402] jffs2: Empty flash at 0x006289b0 ends at 0x006289b4
[ 5.818328] jffs2: Empty flash at 0x006289b8 ends at 0x006289bc
[ 5.824860] jffs2: Empty flash at 0x00629540 ends at 0x00629548
[ 5.831306] jffs2: Empty flash at 0x00629588 ends at 0x0062958c
[ 5.837233] jffs2: Empty flash at 0x00629590 ends at 0x00629594
[ 5.843663] jffs2: Empty flash at 0x006295c4 ends at 0x006295c8
[ 5.852095] jffs2: Empty flash at 0x0062caf4 ends at 0x0062caf8
[ 5.858624] jffs2: Empty flash at 0x0062d468 ends at 0x0062d46c
[ 5.865742] jffs2: Empty flash at 0x0062e710 ends at 0x0062e714
[ 5.872382] jffs2: Empty flash at 0x0062f940 ends at 0x0062f944
[ 5.878308] jffs2: Empty flash at 0x0062f948 ends at 0x0062f94c
[ 5.884454] jffs2: Empty flash at 0x0062fa38 ends at 0x0062fa3c
[ 5.890380] jffs2: Empty flash at 0x0062fa40 ends at 0x0062fa44
[ 5.896497] jffs2: Empty flash at 0x0062fbbc ends at 0x0062fbc4
[ 5.902558] jffs2: Empty flash at 0x0062fd38 ends at 0x0062fd3c
[ 5.908612] jffs2: Empty flash at 0x0062fde4 ends at 0x0062fde8
[ 5.914690] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630000: 0x7fdc instead
[ 5.924176] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630004: 0x7fcc instead
[ 5.933672] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0063000c: 0xddc4 instead
[ 5.943150] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630010: 0x01a4 instead
[ 5.952625] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630014: 0xf31c instead
[ 5.962099] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630018: 0xfe00 instead
[ 5.971573] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0063001c: 0xddd0 instead
[ 5.981047] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630020: 0x0124 instead
[ 5.990521] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00630024: 0xf814 instead
[ 5.999995] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0063002c: 0x26e0 instead
[ 6.009472] jffs2: Further such events for this erase block will not be printed
[ 6.020533] jffs2: Empty flash at 0x00634a1c ends at 0x00634a20
[ 6.027002] jffs2: Empty flash at 0x00634c48 ends at 0x00634c4c
[ 6.034210] jffs2: Empty flash at 0x00636a94 ends at 0x00636a98
[ 6.041367] jffs2: Empty flash at 0x00638198 ends at 0x0063819c
[ 6.048583] jffs2: Empty flash at 0x00639f0c ends at 0x00639f10
[ 6.058231] jffs2: Empty flash at 0x0063f314 ends at 0x0063f32c
[ 6.064462] jffs2: Empty flash at 0x0063f870 ends at 0x0063f874
[ 6.071903] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642040: 0x0600 instead
[ 6.081387] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642044: 0xf730 instead
[ 6.090943] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642048: 0x00fe instead
[ 6.100430] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064204c: 0x87a0 instead
[ 6.109907] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642050: 0x0753 instead
[ 6.119437] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642054: 0x0134 instead
[ 6.128919] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642058: 0x89b8 instead
[ 6.138416] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0064205c: 0x0753 instead
[ 6.147914] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642060: 0x011a instead
[ 6.157421] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00642064: 0x941c instead
[ 6.166907] jffs2: Further such events for this erase block will not be printed
[ 6.178453] jffs2: Old JFFS2 bitmask found at 0x00646bb8
[ 6.183759] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[ 6.203292] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 6.220171] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 6.227171] devtmpfs: mounted
[ 6.231436] Freeing unused kernel memory: 1024K
mount: mounting proc on /proc failed: No such file or directory
mount: can't read '/proc/mounts': No such file or directory
mount: mounting proc on /proc failed: No such file or directory
mount: mounting tmpfs on /dev/shm failed: Invalid argument
mount: mounting tmpfs on /tmp failed: No such file or directory
mount: mounting tmpfs on /run failed: No such file or directory
mount: mounting sysfs on /sys failed: No such file or directory
--------------------------->rcS
[ 6.728708] jffs2: Write of 68 bytes at 0x0041b298 failed. returned -30, retlen 0
[ 6.736350] jffs2: Not marking the space at 0x0041b298 as dirty because the flash driver returned retlen zero
[ 6.746310] jffs2: Write of 68 bytes at 0x0041b298 failed. returned -30, retlen 0
[ 6.753781] jffs2: Not marking the space at 0x0041b298 as dirty because the flash driver returned retlen zero
read-only file system detected...done
/etc/init.d/rcS: line 27: /etc/init.d/S70initdir: not found
-/bin/sh: cd: line 20: can't cd to /mnt/data/app/
Sat Jan 3 20:45:57 UTC 1970
File update_ok not found!
oops! /mnt/data/app/Running not exists./mnt/udisk/FCZ740V3/force_update.txt is not exits. exit now.
#
#
# [ 30.135377] jffs2: Erase at 0x004f0000 failed immediately: -EROFS. Is the sector locked?
[ 30.143475] jffs2: Erase at 0x004e0000 failed immediately: -EROFS. Is the sector locked?
[ 30.151584] jffs2: Erase at 0x004d0000 failed immediately: -EROFS. Is the sector locked?
[ 30.159678] jffs2: Erase at 0x004c0000 failed immediately: -EROFS. Is the sector locked?
[ 30.167770] jffs2: Erase at 0x004b0000 failed immediately: -EROFS. Is the sector locked?
[ 30.175859] jffs2: Erase at 0x004a0000 failed immediately: -EROFS. Is the sector locked?
[ 30.183938] jffs2: Erase at 0x00490000 failed immediately: -EROFS. Is the sector locked?
[ 30.192027] jffs2: Erase at 0x00480000 failed immediately: -EROFS. Is the sector locked?
[ 30.200150] jffs2: Erase at 0x00470000 failed immediately: -EROFS. Is the sector locked?
[ 30.208248] jffs2: Erase at 0x00460000 failed immediately: -EROFS. Is the sector locked?
[ 30.216339] jffs2: Erase at 0x00450000 failed immediately: -EROFS. Is the sector locked?
[ 30.224417] jffs2: Erase at 0x00440000 failed immediately: -EROFS. Is the sector locked?
[ 30.232507] jffs2: Erase at 0x00430000 failed immediately: -EROFS. Is the sector locked?
[ 30.240597] jffs2: Erase at 0x00420000 failed immediately: -EROFS. Is the sector locked?
[ 30.248687] jffs2: Erase at 0x00640000 failed immediately: -EROFS. Is the sector locked?
[ 30.256776] jffs2: Erase at 0x00630000 failed immediately: -EROFS. Is the sector locked?
[ 30.264855] jffs2: Erase at 0x00620000 failed immediately: -EROFS. Is the sector locked?
[ 30.272945] jffs2: Erase at 0x00610000 failed immediately: -EROFS. Is the sector locked?
[ 30.281035] jffs2: Erase at 0x00600000 failed immediately: -EROFS. Is the sector locked?
[ 30.289147] jffs2: Erase at 0x005f0000 failed immediately: -EROFS. Is the sector locked?
[ 30.297241] jffs2: Erase at 0x005e0000 failed immediately: -EROFS. Is the sector locked?
[ 30.305332] jffs2: Erase at 0x005d0000 failed immediately: -EROFS. Is the sector locked?
[ 30.313411] jffs2: Erase at 0x005c0000 failed immediately: -EROFS. Is the sector locked?
[ 30.321499] jffs2: Erase at 0x005b0000 failed immediately: -EROFS. Is the sector locked?
[ 30.329589] jffs2: Erase at 0x005a0000 failed immediately: -EROFS. Is the sector locked?
[ 30.337678] jffs2: Erase at 0x00590000 failed immediately: -EROFS. Is the sector locked?
[ 30.345767] jffs2: Erase at 0x00580000 failed immediately: -EROFS. Is the sector locked?
[ 30.353846] jffs2: Erase at 0x00570000 failed immediately: -EROFS. Is the sector locked?
[ 30.361935] jffs2: Erase at 0x00560000 failed immediately: -EROFS. Is the sector locked?
[ 30.370024] jffs2: Erase at 0x00550000 failed immediately: -EROFS. Is the sector locked?
[ 30.378113] jffs2: Erase at 0x00540000 failed immediately: -EROFS. Is the sector locked?
[ 30.386202] jffs2: Erase at 0x00530000 failed immediately: -EROFS. Is the sector locked?
[ 30.394279] jffs2: Erase at 0x00520000 failed immediately: -EROFS. Is the sector locked?
[ 30.402368] jffs2: Erase at 0x00510000 failed immediately: -EROFS. Is the sector locked?
[ 30.410456] jffs2: Erase at 0x00500000 failed immediately: -EROFS. Is the sector locked?
[ 30.418564] jffs2: Erase at 0x00050000 failed immediately: -EROFS. Is the sector locked?
[ 30.426668] jffs2: Erase at 0x00040000 failed immediately: -EROFS. Is the sector locked?
[ 30.434757] jffs2: Erase at 0x00030000 failed immediately: -EROFS. Is the sector locked?
[ 30.442856] jffs2: Erase at 0x00020000 failed immediately: -EROFS. Is the sector locked?
[ 30.450955] jffs2: Erase at 0x00010000 failed immediately: -EROFS. Is the sector locked?
[ 30.459086] jffs2: Erase at 0x00000000 failed immediately: -EROFS. Is the sector locked?
[ 30.467202] jffs2: Erase at 0x00060000 failed immediately: -EROFS. Is the sector locked?
[ 30.475304] jffs2: Erase at 0x00070000 failed immediately: -EROFS. Is the sector locked?
[ 30.483398] jffs2: Erase at 0x000d0000 failed immediately: -EROFS. Is the sector locked?
[ 30.491500] jffs2: Erase at 0x000c0000 failed immediately: -EROFS. Is the sector locked?
[ 30.499625] jffs2: Erase at 0x000b0000 failed immediately: -EROFS. Is the sector locked?
[ 30.507731] jffs2: Erase at 0x000a0000 failed immediately: -EROFS. Is the sector locked?
[ 30.515830] jffs2: Erase at 0x00090000 failed immediately: -EROFS. Is the sector locked?
[ 30.523917] jffs2: Erase at 0x00080000 failed immediately: -EROFS. Is the sector locked?
[ 30.532017] jffs2: Erase at 0x000e0000 failed immediately: -EROFS. Is the sector locked?
[ 30.545210] jffs2: Write of 1664 bytes at 0x0041b298 failed. returned -30, retlen 0
[ 30.552961] jffs2: Not marking the space at 0x0041b298 as dirty because the flash driver returned retlen zero
[ 30.562888] jffs2: Write of 1664 bytes at 0x0041b298 failed. returned -30, retlen 0
[ 30.570547] jffs2: Not marking the space at 0x0041b298 as dirty because the flash driver returned retlen zero
[ 30.580455] jffs2: Error writing new dnode: -30
[ 30.584987] jffs2: Error garbage collecting node at 00350000!
[ 30.590736] jffs2: No space for garbage collection. Aborting GC thread
bootcmd,bootargs分别是:
bootcmd=sf probe 0 50000000; sf read 0x41000000 0x0F0000 0x10000; sf read 0x41010000 0x100000 0x600000; bootz 0x41010000 - 0x41000000
bootargs=console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:960k(uboot)ro,64k(dtb)ro,6M(kernel)ro,8M(rootfs)ro,-(appendfs) root=/dev/mtdblock3 rw rootfstype=jffs2 vt.global_cursor_default=0
请问这样有什么问题吗?
arm-linux-objcopy -O binary vmlinux vmlinux.bin
mkimage -A arm -O linux -T kernel -C none -a 0x40008000 -e 0x40008000 -d vmlinux.bin uImage
sudo sunxi-fel -p spiflash-write 0x110000 uImage
u-boot的bootcmd命令:
bootcmd=sf probe 0 108000000; sf read 0x40004000 0x100000 0x4000; sf read 0x40008000 0x110000 0xD00000; bootm 0x40008000
仍然没什么用,看来还是洗洗睡吧
根据 @晕哥 在二楼的转帖,
我把uImage 地址改到 0x40008000, 还是没有什么用.
生成并烧录uImage
arm-linux-objcopy -O binary vmlinux vmlinux.bin
mkimage -A arm -O linux -T kernel -C none -a 0x40007fc0 -e 0x40008000 -d vmlinux.bin uImage
sudo sunxi-fel -p spiflash-write 0x110000 uImage
u-boot的bootcmd命令:
bootcmd=sf probe 0 108000000; sf read 0x40004000 0x100000 0x4000; sf read 0x40008000 0x110000 0xD00000; bootm 0x40007fc0 - 0x40004000
启动:
=> bootm 0x40008000
## Booting kernel from Legacy Image at 40008000 ...
Image Name:
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 10712988 Bytes = 10.2 MiB
Load Address: 40007fc0
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OKStarting kernel ...
然后就没有然后了...
奇怪了,用 arch/arm/boot/zImage生成uImage, 可以用u-boot的bootm命令启动,但是vmlinux这个文件生成的uImage却不能启动
下面这个生成的uImage可以启动:
mkimage -A arm -O linux -T kernel -C none -a 0x41010000 -e 0x41010040 -d arch/arm/boot/zImage uImage
下面这种方法不行
arm-linux-objcopy -O binary vmlinux vmlinux.bin;
mkimage -A arm -O linux -T kernel -C none -a 0x41010000 -e 0x41010040 -d vmlinux.bin uImage
I2C使用方法可以参考荔枝派zero板载的NS2009 电阻触摸屏
Allwinner全志V3s板子用ns2009驱动电阻触摸屏
如果是V3s, 那么只有一组SPI, 如果你用了SPI Flash那就不能再用SPI外设了。
如果你用TF卡启动,可以参考这个: 荔枝派Zero V3s开发板驱动 ili9341 摆拍
https://whycan.cn/files/members/418/TIM20180124154945.png
换个有颜色的,工程里面的例程比较详细
怎么做到的?
能不能用汉字?
求汉字demo
楼主你好,在编译过程中报一堆的找不到该目录,是为什么呀:
sh: E:\Program: No such file or directory
sh: E:\Program: No such file or directory
sh: E:\Program: No such file or directory
sh: E:\Program: No such file or directory
CC lv_drivers/indev/XPT2046.c
你把mingw 或者 littlevgl代码放在 "E:\Program Files" 下面吗?
可能是有空格的路径导致的!
应该是板子打件的问题吧,结果出来吧?
解决了, 是烧错了dtb文件。
看对比文件就知道了, 我另外新增的dtb文件启用了串口1、2, 启用了spi flash.
Linux设备树启用spi flash方法:
&spi0 {
status ="okay";mx25l25635e:mx25l25635e@0 {
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-max-frequency = <50000000>;
#address-cells = <1>;
#size-cells = <1>;
};};
用JLink连接,
1号板经常这样:
SEGGER J-Link Commander V4.96l ('?' for help)
Compiled Feb 25 2015 10:24:24
DLL version V4.96l, compiled Feb 25 2015 10:24:11
Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
Hardware: V8.00
S/N: -1
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.274V
Info: Could not measure total IR len. TDO is constant high.
Info: Could not measure total IR len. TDO is constant high.
No devices found on JTAG chain. Trying to find device on SWD.
No device found on SWD.
Failed to identify target. Trying again with slow (4 kHz) speed.
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x64770001, AHB-AP
Info: ARM AP[1]: 0x44770002, APB-AP
Info: ROMTbl 0 [0]: 00001003, CID: FFFFFF00, PID:00-00000000****** Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0xF (TAP Co
mmand : 10) @ Off 0x5.
Cortex-A/R-JTAG (connect): Could not determine address of core debug registers.
Incorrect CoreSight ROM table in device?
No devices found on JTAG chain. Trying to find device on SWD.
No device found on SWD.
No device found at all. Selecting JTAG as default target interface.
J-Link>
但是偶尔也能连上:
SEGGER J-Link Commander V4.96l ('?' for help)
Compiled Feb 25 2015 10:24:24
DLL version V4.96l, compiled Feb 25 2015 10:24:11
Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
Hardware: V8.00
S/N: -1
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.274V
Info: Could not measure total IR len. TDO is constant high.
Info: Could not measure total IR len. TDO is constant high.
No devices found on JTAG chain. Trying to find device on SWD.
No device found on SWD.
Failed to identify target. Trying again with slow (4 kHz) speed.
Info: TotalIRLen = 4, IRPrint = 0x01
Info: ARM AP[0]: 0x64770001, AHB-AP
Info: ARM AP[1]: 0x44770002, APB-AP
Info: ROMTbl 0 [0]: 00001003, CID: 00000000, PID:00-00000000
Info: ROMTbl 0 [1]: 00100003, CID: B105100D, PID:04-000BB4A7 ROM Table
Info: ROMTbl 1 [0]: 00010003, CID: B105900D, PID:04-005BBC07 Cortex-A7
Info: Found Cortex-A7 r0p5
Info: 6 code breakpoints, 4 data breakpoints
Info: Debug architecture ARMv7.1
Info: Data endian: little
Info: Main ID register: 0x410FC075
Info: I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way
Info: D-Cache L1: 32 KB, 128 Sets, 64 Bytes/Line, 4-Way
Info: Unified-Cache L2: 128 KB, 256 Sets, 64 Bytes/Line, 8-Way
Info: System control register:
Info: Instruction endian: little
Info: Level-1 instruction cache enabled
Info: Level-1 data cache disabled
Info: MMU disabled
Info: Branch prediction enabled
Found 1 JTAG device, Total IRLen = 4:
#0 Id: 0x5BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
Cortex-A7 identified.
J-Link>
我没有看到源码,原理应该是这样:
本次使用到的命令,先了解这写就可以应对
adb start-server 开启进程
adb decives 找到设备
adb shell screencap -p /sdcard/t.png 对手机进行截屏保存到sdcard的目录下面。
adb pull /sdcard/t.png . 将sdcard目录下的i.png传送到当前目录下面
adb pull /adcard/t.png D://注意这些命令在adb下 而不是在shell下面。
adb shell screencap -p /sdcard/1.png adb pull /sdcard/t.png .用adb工具点击屏幕蓄力一跳。
adb shell input swipe x y x y time
4号一直乱码:
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16)
DRAM: 64 MiB
Trying to boot from sunxi SPIU-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentSetting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentSetting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0 0
=> MC: SUNXI SD/MMC: 0SF: Detected w獖瑟?翰ゲ巡〔伈偛叢丮C: 歁C: C: 镸C: 昅C: 丮C: 扢C: 狹C: 睲C: 偛MC: S偛MC: (偛MC: '偛MC: H偛MC: 悅睲C: 偛MC: S偛MC: U偛MC: N偛MC: X偛MC: I偛MC: 偛MC: S偛MC: 睲C: S睲C: S睲C: (睲C: '睲C: H睲C: 槻MC: S睲C: F睲C: :睲C: 睲C: D睲C: e睲C: t睲C: 巡MC: 暡MC: 懖MC: 伈MC: 翰MC: ┎MC: S睲C: 柌MC: N睲C: M睲C: 睲C: !睲C: 7睲C: 6睲C: B睲C: 椴MC: '睲C: M睲C: `睲C: 膊MC: 俨MC: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: B睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: B睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: !睲C: 睲C: 璨MC: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 炔MC: 睲C: 睲C: 睲C: !睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: B睲C: 睲C: 睲C: 睲C: 埐MC: 睲C: 劜MC: 睲C: 炔MC: 睲C: 睲C: 埐MC: 睲C: B睲C: 睲C: B睲C: 睲C: 璨MC: 睲C: !睲C: 睲C: 璨MC: 睲C: B睲C: 睲C: 牟MC: !睲C: 睲C: 睲C: 睲C: N睲C: [睲C: j睲C: 敳MC: '睲C: H睲C: B睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 埐MC: 膊MC: j睲C: 敳MC: '睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 璨MC: z睲C: 俨MC: M睲C: 睲C: 睲C: 睲C: 睲C: O睲C: [睲C: j睲C: 敳MC: '睲C: H睲C: 睲C: 睲C: 睲C: H睲C: 睲C: B睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 璨MC: B睲C: 劜MC: 睲C: 睲C: 睲C: 睲C: 埐MC: 睲C: B睲C: 劜MC: 睲C: 睲C: 睲C: B睲C: 睲C: 璨MC: 睲C: 劜MC: 睲C: 睲C: 炔MC: !睲C: 睲C: 睲C: $睲C: J睲C: 睲C: MC: 睲C: 睲C: 睲C: 睲C: B睲C: 膊MC: M睲C: 睲C: 睲C: 睲C: 埐MC: 睲C: 炔MC: 膊MC: M睲C: C睲C: 睲C: 睲C: $睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 璨MC: 睲C: 睲C: B睲C: 劜MC: 睲C: 睲C: 璨MC: 睲C: B睲C: 膊MC: M睲C: 睲C: 睲C: 睲C: L睲C: 睲C: 炔MC: 膊MC: M睲C: C睲C: :睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 璨MC: B睲C: 睲C: 睲C: 睲C: B睲C: 睲C: 睲C: 睲C: 睲C: 睲C: 虏MC: 睲C: 璨MC: 膊MC: M睲C: 貌MC: B睲貌MC: 睲貌MC: 睲貌MC: B睲貌MC: 睲貌MC: 睲貌MC: 璨M貌MC: b睲貌MC: %睲貌MC: k睲貌MC: 5睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 璨M貌MC: 睲貌MC: 炔M貌MC: !睲貌MC: 睲貌MC: 睲貌MC: 劜M貌MC: 睲貌MC: 璨M貌MC: 睲貌MC: H睲貌MC: 湶M貌MC: 恫M貌MC: S睲貌MC: (睲貌MC: '睲貌MC: H睲貌MC: 惒M貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: O睲貌MC: 鄄M貌MC: 劜M貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 璨M貌MC: B睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: O睲貌MC: 睲貌MC: B睲貌MC: 睲貌MC: 炔M貌MC: 睲貌MC: l睲貌MC: S睲貌MC: 8睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 璨M貌MC: 膊M貌MC: 睲貌MC: 睲貌MC: 埐M貌MC: 睲貌MC: 睲貌MC: 劜M貌MC: 睲貌MC: 劜M貌MC: 睲貌MC: B睲貌MC: 睲貌MC: 睲貌MC: O睲貌MC: 膊M貌MC: 睲貌MC: 睲貌MC: H睲貌MC: 睲貌MC: 炔M貌MC: 膊M貌MC: M睲貌MC: 貌M貌MC: 膊M貌MC: M睲貌MC: C睲貌MC: B睲貌MC: 劜M貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: B睲貌MC: 璨M貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: 睲貌MC: ?睲貌MC: 睲貌MC: 璨M貌MC: 睲貌MC: 劜M貌MC: 膊M貌MC: M睲貌MC: 貌M貌MC:
Unknown command '劜M? - try 'help'
=> ?B?$?J?[?j?滈堕S?(?'???????勯???'???????B???勯????栝?蜷J蜷蜷 B蜷轵?*?栭殚? ! ? B ? ¢ 块 ? 锽糸 蜷 圝_=B? *?栭/! ( B ? ¢ 鄤 圞 ?勯B糸 ?? 圝_=B H *?栭鐸Q$H ? ? ? B ¢ 鄤 (X=(}zH? 圝_=B HH┵%Y=zRT? ??H ? B ↓ 鄤 (X=(}zH? 鼒J_=B HH┵%鵒絉T? ?B B ? 鄤 (X=(}!H 鼒J_=B~HH┵%鵒絉T !"H 劜M盲u ? B ? 帼 ?X=(}!H 鼒=B~HH┵%鵒絉T 琚H慚盲 ! B 帼 ? ?X=(}!H??B?W)O絉B =4RdS8i夵 ! B ?饎睲盲 B ? 帼 ?X=(}!H 鼒睲盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒 劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒 瑒睲盲 B ? 帼 ?X=(}!H 鼒=劜M盲 B ? 帼 ?X=(}!H 鼒(劜M盲 B ? 帼 ?X=(}!H 鼒}劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒!劜M盲 B ? 帼 ?X=(}!H 鼒H劜M盲 B ? 帼 ?X=(}!H 鼒瑒睲盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒鍎睲盲 B ? 帼 ?X=(}!H 鼒!劜M盲 B ? 帼 ?X=(}!H 鼒劜M盲 B ? 帼 ?X=(}!H 鼒K劜M盲 B ? 帼 ?X=(}!H 鼒U劜M盲 B ? 帼 ?X=(}!H 鼒?劜M盲 B ? 帼 ?X=(}!H 鼒?劜M盲 B ? 帼 ?X=(}!H 鼒?劜M盲 B ? 帼 ?X=(}!H 鼒%劜M盲 B ? 帼 ?X=(}!H 鼒
Unknown command '劜M? - try 'help'
=> !? ?NZb? ? B ? ! ? B > !? ?NZb? ?麭 B ? ! ? !H凚 > !? ?NZb? !H? ?麭? B 鼊 B? !H? ?I!H H ?*NZb? R?漫 ?????h?B?傀?$?匎? ??B? ? ?侢恂匎 ? ?? ?? ?? ?B?慆 ? ??!?慆 ???揀??I??H? ??H? ???!?B?Z?b? ??!?匎?????????????????????????????????????????!??????????????????棹?????匎????????????????????????? 劜M? B B ? ~ 鐱 ? ? ? 禕 B B? ? 鐱 ? ? ? 銪? 禕 B B H ? ? 鐱 ? ? 郆? ? !?H B H? 怘? O!H H? 郆 B? ? !?H ? BB剨 ? 怘? ?) ~ H? 郆 B BBB B B BB $BBiB咮
Unknown command '禕' - try 'help'
=> = BB剨 怘? ? ?)? ?B??? ?剴?? ??鄴B? ??B?B?悞B??
Unknown command '=' - try 'help'
=> 払 BBBB > =B!HBB剨 怘?!d ?) = BB剨 怘剱?) ICJ 拻 拻拕拻? 敀拻 ?? BB?H> =B!HBB浔D? )a?d ?? IC ?22a蓲? 敀拁 ?? BB箩R?=B!HBB浔D!H a?d ??爅B ?22a蓲? 敀? ?? BB箩R?=J=?(=y=l=?!=H= = == == == a=?!=d= = = == =?*=?=?j== == ? =2=2=a=?= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ?= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ?= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ?= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ?= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D I= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D $= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D = BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D B= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D B= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ? BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D ? BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D R= BB剨 怘剱?) IC拻拻剴挃拻??BB?H> =B!HBB浔D
3号板子u-boot启动信息都显示不全:
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiB
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET th
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiB
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET th
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiB
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RES
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiB
Trying to boot from sunxi SPI-------
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiBU-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 16 2018 - 15:46:55)
DRAM: 64 MiB
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET t
2号板子,每次都能显示u-boot的logo,输出完下面的就没有然后了:
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16)
DRAM: 64 MiB
Trying to boot from sunxi SPIU-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentSetting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentSetting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
=> MC: SUNXI SD/MMC: 0
Unknown command 'MC:' - try 'help'
=>
Unknown command 'MC:' - try 'help'
=> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page size 256 0> MC: SUNXI SD/MMC: >> SF: Detected w25q256 with page siz
1号板,uboot开机logo偶尔可以显示, 输出完下面就没有然后了:
DRAM: 64 MiB
Trying to boot from sunxi SPIU-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Jan 19 2018 - 14:40:16 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentError compiling regex: RE is too long (code overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (code overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Error compiling regex: RE is too long (data overflow)
Setting up a 800x480 lcd console (overscan 0x0)
下次再碰到这种情况试一下这样: how-to-remove-network-manager-access-from-lightdm
To remove the network manager from LightDM I did the following...
1) I added the following line to /etc/rc.local
sudo service network-manager stop
2) I created a script in /usr/bin named network-manager-start that runs the following command:
sudo service network-manager start
3) I created another script in /usr/bin named network-manager-stop that runs the following command:
sudo service network-manager stop
4) I added the following two lines to /etc/lightdm/lightdm.conf:
session-setup-script=network-manager-start session-cleanup-script=network-manager-stop
https://my.oschina.net/u/115346/blog/480854
在arm平台交叉编译ZBar开源软件, 并将显示改成直接在Framebuffer设备显示
git clone https://github.com/ZBar/ZBar.git
cd ZBar
libtoolize --copy --force --install
aclocal
autoconf
autoheader
automake -a -c -f --foreign
# 请根据实际情况修改CC和--prefix
CC=/path/to/arm-linux-gnueabi-gcc ./configure --host=arm-linux --without-imagemagick --without-python --without-qt --without-java --without-gtk --prefix=/path/to/rootfs
make
make install
正好我也在用V3s 主线Linux 4.13-y,
顺便帮你试了一下,修改 drivers/video/fbdev/simplefb.c 函数 simplefb_probe
添加:char* addr;
addr = info->screen_base;
do
{
//整屏刷成蓝色
*addr = 0xFF;addr++;
*addr = 0x00;addr++;
*addr = 0x00;addr++;
*addr = 0x00;addr++;
}
while(addr < (info->screen_base + info->fix.smem_len));
果然可以了,谢谢!!!
突然发现widora neo MT7688开发板的网卡没有隔离变压器?
bugfix 说:Devil月哥 说:你可以弄个微信公众号,然后公众号识别你发送的消息,再用模板消息转发给你
还是要先解决微信的登陆问题,
我有个朋友用VC应用程序模拟了一个微信网页端,
仍然要扫码登陆,
感觉还是很不爽。并不用啊,需要公众号,硬件直发消息给公众号,然后转发给你
http://iot.weixin.qq.com/
还有这种操作,涨姿势,谢谢月哥
U-Boot SPL 2017.01-rc2-00071-gf03c1f5-dirty (Nov 18 2017 - 22:15:31)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Nov 18 2017 - 22:15:31 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
*** Warning - bad CRC, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Nov 18 2017 - 22:15:31 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR
*** Warning - bad CRC, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading zImage
3898688 bytes read in 625 ms (5.9 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11931 bytes read in 29 ms (401.4 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dffe9a ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.0-licheepi-zero+ (hexing@ubuntu) (gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)) #35 SMP Sat Nov 18 22:21:37 CST 2017
[ 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: Lichee Pi Zero with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 16 pages/cpu @c3de6000 s33920 r8192 d23424 u65536
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 15883
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,6M(kernel)ro,-(rootfs) root=/dev/mmcblk0p2 earlyprintk rw
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53580K/64036K available (6144K kernel code, 217K rwdata, 1432K rodata, 1024K init, 262K bss, 10456K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4000000 - 0xff800000 ( 952 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc3e89000 ( 62 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a367c0 ( 218 kB)
[ 0.000000] .bss : 0xc0a3d874 - 0xc0a7f1bc ( 263 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU event tracing is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000181] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000414] Console: colour dummy device 80x30
[ 0.000455] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000471] pid_max: default: 32768 minimum: 301
[ 0.000590] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000604] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001214] CPU: Testing write buffer coherency: ok
[ 0.001599] /cpus/cpu@0 missing clock-frequency property
[ 0.001624] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002071] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002250] Hierarchical SRCU implementation.
[ 0.002731] smp: Bringing up secondary CPUs ...
[ 0.002745] smp: Brought up 1 node, 1 CPU
[ 0.002755] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002762] CPU: All CPU(s) started in SVC mode.
[ 0.003532] devtmpfs: initialized
[ 0.006754] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.007049] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.007075] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.007240] pinctrl core: initialized pinctrl subsystem
[ 0.008101] random: get_random_u32 called from bucket_table_alloc+0xf0/0x250 with crng_init=0
[ 0.008239] NET: Registered protocol family 16
[ 0.008706] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009842] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009861] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.023881] SCSI subsystem initialized
[ 0.024197] usbcore: registered new interface driver usbfs
[ 0.024269] usbcore: registered new interface driver hub
[ 0.024367] usbcore: registered new device driver usb
[ 0.024633] pps_core: LinuxPPS API ver. 1 registered
[ 0.024646] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.024668] PTP clock support registered
[ 0.024907] Advanced Linux Sound Architecture Driver Initialized.
[ 0.026763] clocksource: Switched to clocksource arch_sys_counter
[ 0.037438] NET: Registered protocol family 2
[ 0.038036] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038069] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.038092] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.038228] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.038277] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.038503] NET: Registered protocol family 1
[ 0.039115] RPC: Registered named UNIX socket transport module.
[ 0.039137] RPC: Registered udp transport module.
[ 0.039143] RPC: Registered tcp transport module.
[ 0.039149] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.041044] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.050076] NFS: Registering the id_resolver key type
[ 0.050132] Key type id_resolver registered
[ 0.050140] Key type id_legacy registered
[ 0.051147] random: fast init done
[ 0.053914] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.053939] io scheduler noop registered
[ 0.053947] io scheduler deadline registered
[ 0.054216] io scheduler cfq registered (default)
[ 0.054227] io scheduler mq-deadline registered
[ 0.054234] io scheduler kyber registered
[ 0.058702] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.127066] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.130364] console [ttyS0] disabled
[ 0.150631] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.733337] console [ttyS0] enabled
[ 0.758409] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 0.788958] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 38, base_baud = 1500000) is a U6_16550A
[ 0.802637] m25p80 spi32766.0: w25q256 (32768 Kbytes)
[ 0.807845] 4 cmdlinepart partitions found on MTD device spi32766.0
[ 0.814105] Creating 4 MTD partitions on "spi32766.0":
[ 0.819279] 0x000000000000-0x000000100000 : "uboot"
[ 0.824789] 0x000000100000-0x000000110000 : "dtb"
[ 0.830059] 0x000000110000-0x000000710000 : "kernel"
[ 0.835404] 0x000000710000-0x000002000000 : "rootfs"
[ 0.841242] libphy: Fixed MDIO Bus: probed
[ 0.845881] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.851774] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.857522] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 0.863669] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.869367] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.876582] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.882249] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.889473] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.894431] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.901406] libphy: stmmac: probed
[ 0.906865] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.913405] ehci-platform: EHCI generic platform driver
[ 0.918957] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.924576] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.932556] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.966779] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.974030] hub 1-0:1.0: USB hub found
[ 0.977974] hub 1-0:1.0: 1 port detected
[ 0.982528] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.988829] ohci-platform: OHCI generic platform driver
[ 0.994406] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.001141] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.009092] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 1.081921] hub 2-0:1.0: USB hub found
[ 1.085743] hub 2-0:1.0: 1 port detected
[ 1.093399] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 1.103024] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.111953] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.118856] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.123409] i2c /dev entries driver
[ 1.128333] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.137853] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.206811] sunxi-mmc 1c0f000.mmc: base:0xc41fe000 irq:23
[ 1.253898] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.263883] mmc0: new high speed SD card at address b368
[ 1.269757] sunxi-mmc 1c10000.mmc: base:0xc4303000 irq:24
[ 1.276186] usbcore: registered new interface driver usbhid
[ 1.281854] usbhid: USB HID core driver
[ 1.286441] mmcblk0: mmc0:b368 FFFFF 1.85 GiB
[ 1.293085] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.301138] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.307648] mmcblk0: p1 p2
[ 1.315776] NET: Registered protocol family 17
[ 1.320472] Key type dns_resolver registered
[ 1.324880] Registering SWP/SWPB emulation handler
[ 1.334182] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4380000
[ 1.344893] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[ 1.361253] Console: switching to colour frame buffer device 100x30
[ 1.373683] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[ 1.382296] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.393689] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.399536] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.408726] hub 3-0:1.0: USB hub found
[ 1.412599] hub 3-0:1.0: 1 port detected
[ 1.417965] using random self ethernet address
[ 1.422459] using random host ethernet address
[ 1.429121] usb0: HOST MAC 3e:e5:e0:37:fa:fd
[ 1.433437] usb0: MAC d2:75:c8:19:03:50
[ 1.437431] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.444909] g_cdc gadget: g_cdc ready
[ 1.451231] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.459734] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:11 UTC (11)
[ 1.468071] vcc5v0: disabling
[ 1.471048] ALSA device list:
[ 1.474011] #0: V3s Audio Codec
[ 1.479892] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.489232] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.737567] EXT4-fs (mmcblk0p2): recovery complete
[ 1.745266] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.753526] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.761786] devtmpfs: mounted
[ 1.766058] Freeing unused kernel memory: 1024K
[ 1.919527] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
页次: 1