页次: 1
我写的按键库
key.c:
#include "library/sys.h"
#include "library/key.h"
struct KEY gKey;
void ReadKeyState(union KeyState *keyList, uint8_t v1)
{
static union KeyState oldKeyList[Key_Num];
static uint8_t i = 0;
static uint8_t j = 0;
static uint8_t auto_adj_cnt = 0;
static uint16_t down_cnt[Key_Num];
static uint16_t up_cnt[Key_Num];
static uint16_t max_jiange_cnt[Key_Num];
static uint16_t lianan_cnt[Key_Num];
static uint16_t chang_down_cnt[Key_Num];
static uint8_t key_Filt_all = 0;
static uint16_t old_v1 = 0;
for (i = 0; i < Key_Num; i++)
{
if (down_cnt[i])
down_cnt[i]--;
if (up_cnt[i])
up_cnt[i]--;
if (max_jiange_cnt[i])
max_jiange_cnt[i]--;
else
lianan_cnt[i] = 0, keyList[i].Bits.Double = 0;
}
#if Key_Filt_Cnt == 8
key_Filt_all = key_Filt_all << 1;
if (v1 == old_v1)
key_Filt_all |= 0x01;
#elif Key_Filt_Cnt == 4
key_Filt_all = key_Filt_all << 2;
if (v1 == old_v1)
key_Filt_all |= 0x03;
#elif Key_Filt_Cnt == 2
key_Filt_all = key_Filt_all << 4;
if (v1 == old_v1)
key_Filt_all |= 0x0F;
#elif Key_Filt_Cnt == 1
key_Filt_all = key_Filt_all << 8;
if (v1 == old_v1)
key_Filt_all |= 0xFF;
#endif
old_v1 = v1;
if (key_Filt_all != 0xFF)
{
return;
}
if ((v1 == 0x00) && (old_v1 == 0x00))
{
for (i = 0; i < Key_Num; i++)
{
keyList[i].Bits.State = 0;
keyList[i].Bits.Duan = 0;
keyList[i].Bits.Double = 0;
keyList[i].Bits.Long = 0;
}
}
if (v1 == 0x00)
{
if (auto_adj_cnt)
auto_adj_cnt--;
else
{
auto_adj_cnt = 100;
// TouchSensor_init_Fun();
}
}
else
{
auto_adj_cnt = 100;
}
for (i = 0; i < Key_Num; i++)
{
if (Read16Bit(v1, i))
{
up_cnt[i] = 100 / Key_Task_Time;
keyList[i].Bits.State = 1;
keyList[i].Bits.Rise = 0;
if (chang_down_cnt[i] < KeyState_LongTime / Key_Task_Time)
chang_down_cnt[i]++, keyList[i].Bits.Long = 0;
else
keyList[i].Bits.Duan = 0, keyList[i].Bits.Long = 1;
}
else
{
keyList[i].Bits.State = 0;
chang_down_cnt[i] = 0;
keyList[i].Bits.Fall = 0;
if (up_cnt[i] == 0) // 按键抬起超过100ms
{
keyList[i].Bits.Duan = 0; // 清掉短按标记位
keyList[i].Bits.Rise = 0;
}
}
if ((keyList[i].Bits.State == 0) && (oldKeyList[i].Bits.State == 1)) // 按键抬起
{
keyList[i].Bits.Rise = 1;
if (down_cnt[i])
{
keyList[i].Bits.Duan = 1;
}
keyList[i].Bits.Long = 0;
down_cnt[i] = KeyState_LongTime / Key_Task_Time;
chang_down_cnt[i] = 0;
for (j = 0; j < Key_Num; j++)
{
down_cnt[j] = KeyState_LongTime / Key_Task_Time;
chang_down_cnt[j] = 0;
keyList[j].Bits.Double = 0;
keyList[j].Bits.Long = 0;
}
}
if ((keyList[i].Bits.State == 1) && (oldKeyList[i].Bits.State == 0)) // 按键按下
{
keyList[i].Bits.Fall = 1;
max_jiange_cnt[i] = KeyState_DoubleTime / Key_Task_Time;
lianan_cnt[i]++;
if (lianan_cnt[i] > 1)
keyList[i].Bits.Double = 1;
chang_down_cnt[i] = 0;
for (j = 0; j < Key_Num; j++)
{
chang_down_cnt[j] = 0;
keyList[j].Bits.Duan = 0;
keyList[j].Bits.Long = 0;
}
}
oldKeyList[i] = keyList[i];
}
}
void Key_Deal(void)
{
ReadKeyState(&gKey.Value, gKey.key_value);
}
key.h:
#ifndef _H_Lib_TouchKey_
#define _H_Lib_TouchKey_
#include "mcu_library/mcu_library.h"
#define Key_Task_Time 10
enum Key_Name
{
TKey1, // 上左
TKey2, // 上右
Lock_Key, // 下左,童锁键
Out_Key, // 下中,出水键
Menu_Key, // 下右
Key_Num,
};
/**
* Key_Filt_Cnt 按键滤波次数
* 可选:
* 8:滤波8次,80ms
* 4:滤波4次,40ms
* 2:滤波2次,20ms
* 1:滤波1次,即不滤波,10ms
**/
#define Key_Filt_Cnt 2
#define KeyState_LongTime 2000 // 长按判定时间, 3秒
#define KeyState_DoubleTime 500 // 双击间隔时间,
union KeyState
{
struct
{
uint8_t State : 1; // 当前状态
uint8_t Duan : 1; // 单机
uint8_t Double : 1; // 双击
uint8_t Long : 1; // 长按
uint8_t Fall : 1; // 下降沿
uint8_t Rise : 1; // 上升沿
uint8_t NA1 : 1; // 占位
uint8_t NA2 : 1; // 占位
} Bits;
uint8_t All_Byte;
};
struct KEY
{
union KeyState Value[Key_Num];
uint8_t key_value;
};
extern struct KEY gKey;
extern void Key_Deal(void);
#endif
还在调,没把主控画上去,坑网的大佬帮忙看看板子和原理图有没有啥问题
CowDrive_PCB.zip
https://www.bilibili.com/video/BV1Pi4y1P773/
主控:smt32f401ccu6
电机驱动:drv8301
MOS:TO-252
https://github.com/jerryjianjun/cherrypi-v3s
搜到有个叫樱桃派的项目,里面是v3s+AXP203的方案
KICAD的项目,里面原理图似乎是全的,但是pcb layout几乎弄
看了下最后一次commit是2018年1月5日
在他的github主页里找到了他的qq号,不知道能不能加上
看到蓝莓派issue里有个大佬搞过AXP203,问问看能不能要到啥有用的信息
这个大佬的github主页没有任何的联系方式,搜索引擎上搜他的ID也没有啥结果
https://github.com/petit-miner/Blueberry-PI/issues/3#issuecomment-643274448
前段时间看到迪大的帖子,跟着也在搞axp173,原先是用迪大画的那个板子调试的
最后还是自己画了板子,自己写了程序
想通过代理商找原厂定片,代理商的客服小姐姐也不懂技术。。。都只有库存片,还没有默认输出电压的那个表
暂时弃坑了
AXP173评估板_v1_1.zip
AXP173-Arduino.zip
可喜可贺,我也调通了
生成了一个大的空文件来测试速度
PC:
sudo dd if=/dev/zero of=./zero.bin bs=1G seek=100 count=0
python3 -m http.server
板子里:
root@OpenWrt:~# curl -o /dev/null "http://192.168.43.234:8000/a.zip"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
26 286M 26 76.5M 0 0 972k 0 0:05:01 0:01:20 0:03:41 967k^C
root@OpenWrt:~# curl -o /dev/null "http://192.168.43.234:8000/zero.bin"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 10.0G 0 7451k 0 0 964k 0 3:01:06 0:00:07 3:00:59 978k^C
有进展,起码有数据了,改了spi设备树的interrupts,感觉哪里还没配置好,板子是荔枝zero
root@OpenWrt:~# uname -a
Linux OpenWrt 4.14.14-licheepi-zero+ #3 SMP Fri May 8 21:46:55 CST 2020 armv7l GNU/Linux
root@OpenWrt:~# insmod esp8089-spi.ko esp_reset_gpio=33 esp_interrupt=32
[ 41.873059] esp8089_spi: loading out-of-tree module taints kernel.
[ 41.881785] esp8089_spi: EAGLE DRIVER VER bdf5087c3deb
[ 42.487522] esp8089_spi: esp_spi_dummy_probe enter
[ 42.492375] esp8089_spi: register board OK
[ 42.496540] esp8089_spi: sem_timeout = 0
[ 42.714973] esp8089_spi: ESP8089 power up OK
[ 42.719538] esp8089_spi: esp_spi_probe ENTER
[ 42.723810] esp8089_spi: esp_setup_spi
[ 42.727645] esp8089_spi: sif_spi_protocol_init
[ 42.732088] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 42.738716] esp8089_spi: fail_count = 0
[ 42.844994] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 42.853177] eagle spi0.0: SPI transfer failed: -110
[ 42.858111] spi_master spi0: failed to transfer one message from queue
[ 42.864634] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 43.074977] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 43.083239] eagle spi0.0: SPI transfer failed: -110
[ 43.088162] spi_master spi0: failed to transfer one message from queue
[ 43.094685] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 43.102355] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 43.210101] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 43.216712] esp8089_spi: fail_count = 1
[ 43.324968] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 43.333144] eagle spi0.0: SPI transfer failed: -110
[ 43.338055] spi_master spi0: failed to transfer one message from queue
[ 43.344575] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 43.554974] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 43.563239] eagle spi0.0: SPI transfer failed: -110
[ 43.568164] spi_master spi0: failed to transfer one message from queue
[ 43.574684] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 43.582350] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 43.690095] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 43.696708] esp8089_spi: fail_count = 2
[ 43.804981] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 43.813171] eagle spi0.0: SPI transfer failed: -110
[ 43.818106] spi_master spi0: failed to transfer one message from queue
[ 43.824630] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 44.034994] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 44.043258] eagle spi0.0: SPI transfer failed: -110
[ 44.048179] spi_master spi0: failed to transfer one message from queue
[ 44.054698] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 44.062377] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 44.170128] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 44.176743] esp8089_spi: fail_count = 3
[ 44.284972] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 44.293146] eagle spi0.0: SPI transfer failed: -110
[ 44.298061] spi_master spi0: failed to transfer one message from queue
[ 44.304580] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 44.514977] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 44.523239] eagle spi0.0: SPI transfer failed: -110
[ 44.528157] spi_master spi0: failed to transfer one message from queue
[ 44.534676] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 44.542341] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 44.650086] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 44.656700] esp8089_spi: fail_count = 4
[ 44.764974] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 44.773151] eagle spi0.0: SPI transfer failed: -110
[ 44.778069] spi_master spi0: failed to transfer one message from queue
[ 44.784589] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 44.994972] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 45.003235] eagle spi0.0: SPI transfer failed: -110
[ 45.008152] spi_master spi0: failed to transfer one message from queue
[ 45.014673] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 45.022336] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 45.130081] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 45.136698] esp8089_spi: fail_count = 5
[ 45.244965] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 45.253140] eagle spi0.0: SPI transfer failed: -110
[ 45.258051] spi_master spi0: failed to transfer one message from queue
[ 45.264570] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 45.475002] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 45.483259] eagle spi0.0: SPI transfer failed: -110
[ 45.488171] spi_master spi0: failed to transfer one message from queue
[ 45.494691] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 45.502358] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 45.610110] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 45.616722] esp8089_spi: fail_count = 6
[ 45.724980] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 45.733156] eagle spi0.0: SPI transfer failed: -110
[ 45.738080] spi_master spi0: failed to transfer one message from queue
[ 45.744601] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 45.955006] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 45.963266] eagle spi0.0: SPI transfer failed: -110
[ 45.968179] spi_master spi0: failed to transfer one message from queue
[ 45.974699] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 45.982365] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 46.090110] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 46.096726] esp8089_spi: fail_count = 7
[ 46.205025] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 46.213210] eagle spi0.0: SPI transfer failed: -110
[ 46.218159] spi_master spi0: failed to transfer one message from queue
[ 46.224681] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 46.434985] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 46.443251] eagle spi0.0: SPI transfer failed: -110
[ 46.448179] spi_master spi0: failed to transfer one message from queue
[ 46.454700] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 46.462369] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 46.570113] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 46.576726] esp8089_spi: fail_count = 8
[ 46.684971] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 46.693149] eagle spi0.0: SPI transfer failed: -110
[ 46.698069] spi_master spi0: failed to transfer one message from queue
[ 46.704590] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 46.914970] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 46.923236] eagle spi0.0: SPI transfer failed: -110
[ 46.928156] spi_master spi0: failed to transfer one message from queue
[ 46.934677] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 46.942346] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 47.050092] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 47.056706] esp8089_spi: fail_count = 9
[ 47.164964] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 47.173139] eagle spi0.0: SPI transfer failed: -110
[ 47.178049] spi_master spi0: failed to transfer one message from queue
[ 47.184567] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 47.394978] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 47.403233] eagle spi0.0: SPI transfer failed: -110
[ 47.408148] spi_master spi0: failed to transfer one message from queue
[ 47.414669] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 47.422336] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 47.530080] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 47.536693] esp8089_spi: fail_count = 10
[ 47.644974] spi_master spi0: spi0.0: timeout transferring 6 bytes@100000Hz for 110(100)ms
[ 47.653147] eagle spi0.0: SPI transfer failed: -110
[ 47.658057] spi_master spi0: failed to transfer one message from queue
[ 47.664578] esp8089_spi: sif_spi_write_raw_proto: failed, error: -110
[ 47.874976] spi_master spi0: spi0.0: timeout transferring 10 bytes@100000Hz for 110(100)ms
[ 47.883240] eagle spi0.0: SPI transfer failed: -110
[ 47.888155] spi_master spi0: failed to transfer one message from queue
[ 47.894675] esp8089_spi: spierr sif_spi_write_async_read_proto: failed, error: -110
[ 47.902341] rx:[0x00],[0xbf],[0xc0],[0xab],[0x03],[0xbf],[0x0b],[0x00],[0x00],[0x00]
[ 48.010096] esp8089_spi: first error exit
[ 48.014102] esp8089_spi: esp_spi_probe EXIT
[ 48.018330] eagle: probe of spi0.0 failed with error -110
[ 48.023868] esp8089_spi: sem_timeout = 0
[ 48.027830] esp8089_spi: esp_spi_init err 0
root@OpenWrt:~#
spi0: spi@1c68000 {
compatible = "allwinner,sun8i-h3-spi";
reg = <0x01c68000 0x1000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
clock-names = "ahb", "mod";
resets = <&ccu RST_BUS_SPI0>;
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
};
那你算一下PB5是多少呀
A是0
B是32
32+5
感谢迪大大的回复,原来还可以这样算的,我基础知识太差了
之前直接接排针容易掉,找了个nodemcu的板子给焊上去了,但是rx输出还是一样的,一直是00
root@OpenWrt:~# insmod esp8089-spi.ko esp_reset_gpio=36 esp_interrupt=37
[ 35.284414] esp8089_spi: loading out-of-tree module taints kernel.
[ 35.293242] esp8089_spi: EAGLE DRIVER VER bdf5087c3deb
[ 35.898977] esp8089_spi: esp_spi_dummy_probe enter
[ 35.903832] esp8089_spi: register board OK
[ 35.907996] esp8089_spi: sem_timeout = 0
[ 36.125445] esp8089_spi: ESP8089 power up OK
[ 36.130047] esp8089_spi: esp_spi_probe ENTER
[ 36.134346] esp8089_spi: esp_setup_spi
[ 36.138168] esp8089_spi: sif_spi_protocol_init
[ 36.142609] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 36.149234] esp8089_spi: fail_count = 0
[ 36.255791] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 36.363546] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 36.370163] esp8089_spi: fail_count = 1
[ 36.475697] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 36.583461] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 36.590079] esp8089_spi: fail_count = 2
[ 36.697425] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 36.805183] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 36.811798] esp8089_spi: fail_count = 3
[ 36.917287] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 37.025043] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 37.031662] esp8089_spi: fail_count = 4
[ 37.137145] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 37.244897] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 37.251512] esp8089_spi: fail_count = 5
[ 37.356994] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 37.464749] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 37.471366] esp8089_spi: fail_count = 6
[ 37.577472] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 37.685211] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 37.691827] esp8089_spi: fail_count = 7
[ 37.797296] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 37.905036] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 37.911651] esp8089_spi: fail_count = 8
[ 38.017126] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 38.124866] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 38.131481] esp8089_spi: fail_count = 9
[ 38.236956] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 38.344697] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 38.351312] esp8089_spi: fail_count = 10
[ 38.456870] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 38.564619] esp8089_spi: first error exit
[ 38.568638] esp8089_spi: esp_spi_probe EXIT
[ 38.572852] eagle: probe of spi0.0 failed with error -110
[ 38.578399] esp8089_spi: sem_timeout = 0
[ 38.582322] esp8089_spi: esp_spi_init err 0
我看到加载驱动的时候可以指定参数,比如说中断口
我的板子是荔枝zero,想用PB5作为中断口,但是他对应的参数是int型的
/* *** *** Interrupt *** *** */
static int esp_interrupt = 26;
module_param(esp_interrupt, int, 0);
MODULE_PARM_DESC(esp_interrupt, "Interrupt pin");
root@OpenWrt:~# insmod esp8089-spi.ko esp_interrupt=PB5
[ 25.373115] esp8089_spi: loading out-of-tree module taints kernel.
[ 25.381419] esp8089_spi: `PB5' invalid for parameter `esp_interrupt'
迪神,我搞到这里了,接下去怎么搞,要搞中断口或者EN口吗?
root@OpenWrt:~# insmod esp8089-spi.ko
[ 19.267713] esp8089_spi: loading out-of-tree module taints kernel.
[ 19.276448] esp8089_spi: EAGLE DRIVER VER bdf5087c3deb
[ 19.882064] esp8089_spi: esp_spi_dummy_probe enter
[ 19.886991] esp8089_spi: register board OK
[ 19.891086] esp8089_spi: sem_timeout = 0
[ 20.105470] esp8089_spi: ESP8089 power up OK
[ 20.110065] esp8089_spi: esp_spi_probe ENTER
[ 20.114338] esp8089_spi: esp_setup_spi
[ 20.118173] esp8089_spi: sif_spi_protocol_init
[ 20.122617] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 20.129245] esp8089_spi: fail_count = 0
[ 20.234938] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 20.342720] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 20.349337] esp8089_spi: fail_count = 1
[ 20.454818] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 20.562585] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 20.569200] esp8089_spi: fail_count = 2
[ 20.674696] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 20.782472] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 20.789088] esp8089_spi: fail_count = 3
[ 20.894560] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 21.002336] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 21.008951] esp8089_spi: fail_count = 4
[ 21.114433] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 21.222210] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 21.228827] esp8089_spi: fail_count = 5
[ 21.334298] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 21.442086] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 21.448703] esp8089_spi: fail_count = 6
[ 21.556023] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 21.663783] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 21.670398] esp8089_spi: fail_count = 7
[ 21.775866] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 21.883617] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 21.890231] esp8089_spi: fail_count = 8
[ 21.995690] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 22.103444] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 22.110060] esp8089_spi: fail_count = 9
[ 22.215553] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 22.323312] esp8089_spi: /home/mjc/test/ESP8089-SPI/spi_sif_esp.c, 1559
[ 22.329926] esp8089_spi: fail_count = 10
[ 22.437331] rx:[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00],[0x00]
[ 22.545097] esp8089_spi: first error exit
[ 22.549127] esp8089_spi: esp_spi_probe EXIT
[ 22.553342] eagle: probe of spi0.0 failed with error -110
[ 22.558887] esp8089_spi: sem_timeout = 0
[ 22.562811] esp8089_spi: esp_spi_init err 0
root@OpenWrt:~#
我修改了tds,屏蔽了设备树里的mmc1,然后再编译
当尝试加载r8723be的ko文件时,发生了错误
应该是makefile里根据git的commit生成了新的kernel-release
该如何操作修改,让r8723bs.ko的modinfo跟commit走,或者修改内核强制release version为licheepi-zero+
# ls
r8723bs.ko
# insmod ./
.ash_history .config/ r8723bs.ko
# insmod ./r8723bs.ko
[ 320.810509] r8723bs: version magic '4.14.14-licheepi-zero+ SMP mod_unload ARMv7 p2v8 ' should be '4.14.14-gcda44c14-dirty SMP mod_unload ARMv7 p2v8 '
insmod: ERROR: could not insert module ./r8723bs.ko: Invalid module format
# uname -a
Linux buildroot 4.14.14-gcda44c14-dirty #3 SMP Sat Dec 28 13:57:47 CST 2019 armv7l GNU/Linux
# ^C
# modinfo ./
.ash_history .config/ r8723bs.ko
# modinfo ./r8723bs.ko
filename: /root/./r8723bs.ko
version: v4.3.5.5_12290.20140916_BTCOEX20140507-4E40
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: A187F58F9C9DFAB18974255
alias: sdio:c*v024CdB723*
alias: sdio:c*v024Cd0626*
alias: sdio:c*v024Cd0623*
alias: sdio:c*v024Cd0523*
alias: acpi*:OBDA8723:*
depends:
staging: Y
intree: Y
name: r8723bs
vermagic: 4.14.14-licheepi-zero+ SMP mod_unload ARMv7 p2v8
parm: rtw_ips_mode:The default IPS mode (int)
parm: rtw_usb_rxagg_mode:int
parm: rtw_btcoex_enable:Enable BT co-existence mechanism (int)
parm: rtw_ant_num:Antenna number setting (int)
parm: rtw_qos_opt_enable:int
parm: ifname:The default name to allocate for first interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_bw_mode:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_smart_ps:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_antdiv_cfg:int
parm: rtw_antdiv_type:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_mc2u_disable:int
parm: rtw_80211d:Enable 802.11d mechanism (int)
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm: rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm: rtw_tx_pwr_lmt_enable:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm: rtw_phy_file_path:The path of phy parameter (charp)
parm: rtw_load_phy_file:PHY File Bit Map (int)
parm: rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
#
我也遇到这种情况了
怎么屏蔽PGx呢?在源码或者menuconfig的哪个位置?
我的第二个TF卡槽上什么都没有,荔枝zero的板子
U-Boot SPL 2017.01-rc2-g32ab180-dirty (Dec 27 2019 - 15:12:57)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2-g32ab180-dirty (Dec 27 2019 - 15:12:57 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-g32ab180-dirty (Dec 27 2019 - 15:12:57 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
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
3925752 bytes read in 211 ms (17.7 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11856 bytes read in 27 ms (428.7 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dffe4f ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.13.16-licheepi-zero+ (mjc@mjc-VirtualBox) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #1 SMP Fri Dec 27 15:48:03 CST 2019
[ 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 @c3f5f000 s33868 r8192 d23476 u65536
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[ 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: 55096K/65536K available (6144K kernel code, 217K rwdata, 1436K rodata, 1024K init, 261K bss, 10440K 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 : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 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 - 0xc0a366c0 ( 218 kB)
[ 0.000000] .bss : 0xc0a3d79c - 0xc0a7ec9c ( 262 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.000177] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000401] Console: colour dummy device 80x30
[ 0.000436] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000452] pid_max: default: 32768 minimum: 301
[ 0.000579] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000594] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001176] CPU: Testing write buffer coherency: ok
[ 0.001534] /cpus/cpu@0 missing clock-frequency property
[ 0.001558] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001986] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.002159] Hierarchical SRCU implementation.
[ 0.002637] smp: Bringing up secondary CPUs ...
[ 0.002652] smp: Brought up 1 node, 1 CPU
[ 0.002661] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.002668] CPU: All CPU(s) started in SVC mode.
[ 0.003430] devtmpfs: initialized
[ 0.006467] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.006754] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.006779] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.006934] pinctrl core: initialized pinctrl subsystem
[ 0.007779] random: get_random_u32 called from bucket_table_alloc+0xfc/0x228 with crng_init=0
[ 0.007908] NET: Registered protocol family 16
[ 0.008342] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.009402] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.009420] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.022493] SCSI subsystem initialized
[ 0.022790] usbcore: registered new interface driver usbfs
[ 0.022857] usbcore: registered new interface driver hub
[ 0.022950] usbcore: registered new device driver usb
[ 0.023213] pps_core: LinuxPPS API ver. 1 registered
[ 0.023223] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.023243] PTP clock support registered
[ 0.023450] Advanced Linux Sound Architecture Driver Initialized.
[ 0.025237] clocksource: Switched to clocksource arch_sys_counter
[ 0.035535] NET: Registered protocol family 2
[ 0.036113] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.036145] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.036168] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.036295] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.036342] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.036550] NET: Registered protocol family 1
[ 0.037120] RPC: Registered named UNIX socket transport module.
[ 0.037140] RPC: Registered udp transport module.
[ 0.037145] RPC: Registered tcp transport module.
[ 0.037151] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.039176] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.048079] NFS: Registering the id_resolver key type
[ 0.048129] Key type id_resolver registered
[ 0.048137] Key type id_legacy registered
[ 0.049142] random: fast init done
[ 0.052009] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.052030] io scheduler noop registered
[ 0.052037] io scheduler deadline registered
[ 0.052288] io scheduler cfq registered (default)
[ 0.052300] io scheduler mq-deadline registered
[ 0.052306] io scheduler kyber registered
[ 0.056696] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.125066] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.128503] console [ttyS0] disabled
[ 0.148768] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.728067] console [ttyS0] enabled
[ 0.734807] libphy: Fixed MDIO Bus: probed
[ 0.739471] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.745341] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.751045] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 0.757252] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.762915] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.770168] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.775838] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.783051] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.788024] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.794976] libphy: stmmac: probed
[ 0.800216] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.806874] ehci-platform: EHCI generic platform driver
[ 0.812374] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.818053] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.825997] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.855254] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.862385] hub 1-0:1.0: USB hub found
[ 0.866353] hub 1-0:1.0: 1 port detected
[ 0.870832] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.877126] ohci-platform: OHCI generic platform driver
[ 0.882657] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.889380] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.897334] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 0.970309] hub 2-0:1.0: USB hub found
[ 0.974127] hub 2-0:1.0: 1 port detected
[ 0.981643] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 0.991211] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.000161] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[ 1.007069] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.011607] i2c /dev entries driver
[ 1.016574] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[ 1.026065] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.095291] sunxi-mmc 1c0f000.mmc: base:0xc4981000 irq:23
[ 1.146279] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.155270] sunxi-mmc 1c10000.mmc: base:0xc4985000 irq:24
[ 1.161773] usbcore: registered new interface driver usbhid
[ 1.167429] usbhid: USB HID core driver
[ 1.171979] mmc0: new high speed SD card at address e624
[ 1.178081] mmcblk0: mmc0:e624 SU02G 1.84 GiB
[ 1.184535] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[ 1.192578] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.200121] mmcblk0: p1 p2
[ 1.207160] NET: Registered protocol family 17
[ 1.211728] Key type dns_resolver registered
[ 1.216245] Registering SWP/SWPB emulation handler
[ 1.226580] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.237959] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.243726] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.252840] hub 3-0:1.0: USB hub found
[ 1.256844] hub 3-0:1.0: 1 port detected
[ 1.261966] using random self ethernet address
[ 1.266521] using random host ethernet address
[ 1.271991] usb0: HOST MAC d2:7e:b3:06:f9:62
[ 1.276410] usb0: MAC 46:0a:9c:21:b1:5d
[ 1.280288] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.287798] g_cdc gadget: g_cdc ready
[ 1.293927] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.303592] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[ 1.311785] vcc5v0: disabling
[ 1.314760] ALSA device list:
[ 1.317779] #0: V3s Audio Codec
[ 1.329488] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 1.435607] EXT4-fs (mmcblk0p2): recovery complete
[ 1.442060] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.450279] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.464948] devtmpfs: mounted
[ 1.469422] Freeing unused kernel memory: 1024K
[ 1.610106] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
Welcome to Buildroot
buildroot login: [ 3.075222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 3.855227] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 4.635223] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 5.385209] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 6.135221] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 9.075228] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 9.855224] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 10.635225] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 11.385210] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 12.135222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 13.955225] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 14.735222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 15.515220] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 16.265218] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 17.015227] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 19.955223] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 20.735222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 21.515219] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 22.265209] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 23.015223] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 25.955222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 26.735222] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 27.515220] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 28.265210] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 29.015226] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 30.835227] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 31.615223] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 32.395220] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
[ 33.145210] sunxi-mmc 1c10000.mmc: fatal err update clk timeout
frp的官方群里有很多frp的公开节点还有二次开发啥的
https://natfrp.com/
http://freefrp.wlphp.com/
https://frp.fun/
页次: 1