mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-19 09:52:31 +01:00
project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.
project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
This commit is contained in:
@@ -107,7 +107,7 @@ static int rxrpc_call_seq_show(struct seq_file *seq, void *v)
|
||||
call->cid,
|
||||
call->call_id,
|
||||
rxrpc_is_service_call(call) ? "Svc" : "Clt",
|
||||
atomic_read(&call->usage),
|
||||
refcount_read(&call->ref),
|
||||
rxrpc_call_states[call->state],
|
||||
call->abort_code,
|
||||
call->debug_id,
|
||||
@@ -189,7 +189,7 @@ print:
|
||||
conn->service_id,
|
||||
conn->proto.cid,
|
||||
rxrpc_conn_is_service(conn) ? "Svc" : "Clt",
|
||||
atomic_read(&conn->usage),
|
||||
refcount_read(&conn->ref),
|
||||
rxrpc_conn_states[conn->state],
|
||||
key_serial(conn->params.key),
|
||||
atomic_read(&conn->serial),
|
||||
@@ -239,7 +239,7 @@ static int rxrpc_peer_seq_show(struct seq_file *seq, void *v)
|
||||
" %3u %5u %6llus %8u %8u\n",
|
||||
lbuff,
|
||||
rbuff,
|
||||
atomic_read(&peer->usage),
|
||||
refcount_read(&peer->ref),
|
||||
peer->cong_cwnd,
|
||||
peer->mtu,
|
||||
now - peer->last_tx_at,
|
||||
@@ -334,3 +334,72 @@ const struct seq_operations rxrpc_peer_seq_ops = {
|
||||
.stop = rxrpc_peer_seq_stop,
|
||||
.show = rxrpc_peer_seq_show,
|
||||
};
|
||||
|
||||
/*
|
||||
* Generate a list of extant virtual local endpoints in /proc/net/rxrpc/locals
|
||||
*/
|
||||
static int rxrpc_local_seq_show(struct seq_file *seq, void *v)
|
||||
{
|
||||
struct rxrpc_local *local;
|
||||
char lbuff[50];
|
||||
|
||||
if (v == SEQ_START_TOKEN) {
|
||||
seq_puts(seq,
|
||||
"Proto Local "
|
||||
" Use Act\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
local = hlist_entry(v, struct rxrpc_local, link);
|
||||
|
||||
sprintf(lbuff, "%pISpc", &local->srx.transport);
|
||||
|
||||
seq_printf(seq,
|
||||
"UDP %-47.47s %3u %3u\n",
|
||||
lbuff,
|
||||
refcount_read(&local->ref),
|
||||
atomic_read(&local->active_users));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void *rxrpc_local_seq_start(struct seq_file *seq, loff_t *_pos)
|
||||
__acquires(rcu)
|
||||
{
|
||||
struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq));
|
||||
unsigned int n;
|
||||
|
||||
rcu_read_lock();
|
||||
|
||||
if (*_pos >= UINT_MAX)
|
||||
return NULL;
|
||||
|
||||
n = *_pos;
|
||||
if (n == 0)
|
||||
return SEQ_START_TOKEN;
|
||||
|
||||
return seq_hlist_start_rcu(&rxnet->local_endpoints, n - 1);
|
||||
}
|
||||
|
||||
static void *rxrpc_local_seq_next(struct seq_file *seq, void *v, loff_t *_pos)
|
||||
{
|
||||
struct rxrpc_net *rxnet = rxrpc_net(seq_file_net(seq));
|
||||
|
||||
if (*_pos >= UINT_MAX)
|
||||
return NULL;
|
||||
|
||||
return seq_hlist_next_rcu(v, &rxnet->local_endpoints, _pos);
|
||||
}
|
||||
|
||||
static void rxrpc_local_seq_stop(struct seq_file *seq, void *v)
|
||||
__releases(rcu)
|
||||
{
|
||||
rcu_read_unlock();
|
||||
}
|
||||
|
||||
const struct seq_operations rxrpc_local_seq_ops = {
|
||||
.start = rxrpc_local_seq_start,
|
||||
.next = rxrpc_local_seq_next,
|
||||
.stop = rxrpc_local_seq_stop,
|
||||
.show = rxrpc_local_seq_show,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user